Class LocationMetadata.Builder (0.79.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class LocationMetadata.Builder extends GeneratedMessage.Builder<LocationMetadata.Builder> implements LocationMetadataOrBuilder
Metadata that helps discover which resources are available in a location.
Protobuf type google.cloud.storageinsights.v1.LocationMetadata
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public LocationMetadata build()
public LocationMetadata buildPartial()
public LocationMetadata.Builder clear()
Overrides
public LocationMetadata.Builder clearDatasetConfigAvailable()
If true, storageinsights.googleapis.com/DatasetConfig resource is
available at the location.
bool dataset_config_available = 2;
public LocationMetadata.Builder clearReportConfigAvailable()
If true, storageinsights.googleapis.com/ReportConfig resource is
available at the location.
bool report_config_available = 1;
public boolean getDatasetConfigAvailable()
If true, storageinsights.googleapis.com/DatasetConfig resource is
available at the location.
bool dataset_config_available = 2;
| Returns |
| Type |
Description |
boolean |
The datasetConfigAvailable.
|
public LocationMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public boolean getReportConfigAvailable()
If true, storageinsights.googleapis.com/ReportConfig resource is
available at the location.
bool report_config_available = 1;
| Returns |
| Type |
Description |
boolean |
The reportConfigAvailable.
|
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public LocationMetadata.Builder mergeFrom(LocationMetadata other)
public LocationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public LocationMetadata.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
public LocationMetadata.Builder setDatasetConfigAvailable(boolean value)
If true, storageinsights.googleapis.com/DatasetConfig resource is
available at the location.
bool dataset_config_available = 2;
| Parameter |
| Name |
Description |
value |
boolean
The datasetConfigAvailable to set.
|
public LocationMetadata.Builder setReportConfigAvailable(boolean value)
If true, storageinsights.googleapis.com/ReportConfig resource is
available at the location.
bool report_config_available = 1;
| Parameter |
| Name |
Description |
value |
boolean
The reportConfigAvailable to set.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-31 UTC.
[null,null,["Last updated 2026-07-31 UTC."],[],[]]