- 2.59.0 (latest)
 - 2.58.1
 - 2.57.0
 - 2.56.0
 - 2.55.0
 - 2.54.0
 - 2.53.3
 - 2.52.3
 - 2.50.0
 - 2.49.0
 - 2.48.2
 - 2.47.0
 - 2.46.0
 - 2.45.0
 - 2.44.1
 - 2.43.2
 - 2.42.0
 - 2.41.0
 - 2.40.1
 - 2.39.0
 - 2.38.0
 - 2.37.0
 - 2.36.1
 - 2.34.0
 - 2.33.0
 - 2.32.1
 - 2.30.1
 - 2.29.1
 - 2.28.0
 - 2.27.1
 - 2.24.0
 - 2.23.0
 - 2.22.6
 - 2.21.0
 - 2.20.2
 - 2.19.0
 - 2.18.0
 - 2.17.2
 - 2.16.0
 - 2.15.1
 - 2.14.0
 - 2.13.1
 - 2.12.0
 - 2.11.3
 - 2.10.0
 - 2.9.3
 - 2.8.1
 - 2.7.1
 - 2.6.1
 - 2.5.1
 - 2.4.5
 - 2.3.0
 - 2.2.3
 - 2.1.10
 
public static final class StorageLayout.Builder extends GeneratedMessageV3.Builder<StorageLayout.Builder> implements StorageLayoutOrBuilderThe storage layout configuration of a bucket.
 Protobuf type google.storage.control.v2.StorageLayout
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StorageLayout.BuilderImplements
StorageLayoutOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StorageLayout.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        |
build()
public StorageLayout build()| Returns | |
|---|---|
| Type | Description | 
StorageLayout | 
        |
buildPartial()
public StorageLayout buildPartial()| Returns | |
|---|---|
| Type | Description | 
StorageLayout | 
        |
clear()
public StorageLayout.Builder clear()| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        |
clearCustomPlacementConfig()
public StorageLayout.Builder clearCustomPlacementConfig()Output only. The data placement configuration for custom dual region. If there is no configuration, this is not a custom dual region bucket.
 
 .google.storage.control.v2.StorageLayout.CustomPlacementConfig custom_placement_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        |
clearField(Descriptors.FieldDescriptor field)
public StorageLayout.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        |
clearHierarchicalNamespace()
public StorageLayout.Builder clearHierarchicalNamespace()Output only. The bucket's hierarchical namespace configuration. If there is no configuration, the hierarchical namespace is disabled.
 
 .google.storage.control.v2.StorageLayout.HierarchicalNamespace hierarchical_namespace = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        |
clearLocation()
public StorageLayout.Builder clearLocation()Output only. The location of the bucket.
 string location = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        This builder for chaining.  | 
      
clearLocationType()
public StorageLayout.Builder clearLocationType()Output only. The location type of the bucket (region, dual-region, multi-region, etc).
 string location_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        This builder for chaining.  | 
      
clearName()
public StorageLayout.Builder clearName() Output only. The name of the StorageLayout resource.
 Format: projects/{project}/buckets/{bucket}/storageLayout
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public StorageLayout.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        |
clone()
public StorageLayout.Builder clone()| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        |
getCustomPlacementConfig()
public StorageLayout.CustomPlacementConfig getCustomPlacementConfig()Output only. The data placement configuration for custom dual region. If there is no configuration, this is not a custom dual region bucket.
 
 .google.storage.control.v2.StorageLayout.CustomPlacementConfig custom_placement_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.CustomPlacementConfig | 
        The customPlacementConfig.  | 
      
getCustomPlacementConfigBuilder()
public StorageLayout.CustomPlacementConfig.Builder getCustomPlacementConfigBuilder()Output only. The data placement configuration for custom dual region. If there is no configuration, this is not a custom dual region bucket.
 
 .google.storage.control.v2.StorageLayout.CustomPlacementConfig custom_placement_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.CustomPlacementConfig.Builder | 
        |
getCustomPlacementConfigOrBuilder()
public StorageLayout.CustomPlacementConfigOrBuilder getCustomPlacementConfigOrBuilder()Output only. The data placement configuration for custom dual region. If there is no configuration, this is not a custom dual region bucket.
 
 .google.storage.control.v2.StorageLayout.CustomPlacementConfig custom_placement_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.CustomPlacementConfigOrBuilder | 
        |
getDefaultInstanceForType()
public StorageLayout getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
StorageLayout | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getHierarchicalNamespace()
public StorageLayout.HierarchicalNamespace getHierarchicalNamespace()Output only. The bucket's hierarchical namespace configuration. If there is no configuration, the hierarchical namespace is disabled.
 
 .google.storage.control.v2.StorageLayout.HierarchicalNamespace hierarchical_namespace = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.HierarchicalNamespace | 
        The hierarchicalNamespace.  | 
      
getHierarchicalNamespaceBuilder()
public StorageLayout.HierarchicalNamespace.Builder getHierarchicalNamespaceBuilder()Output only. The bucket's hierarchical namespace configuration. If there is no configuration, the hierarchical namespace is disabled.
 
 .google.storage.control.v2.StorageLayout.HierarchicalNamespace hierarchical_namespace = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.HierarchicalNamespace.Builder | 
        |
getHierarchicalNamespaceOrBuilder()
public StorageLayout.HierarchicalNamespaceOrBuilder getHierarchicalNamespaceOrBuilder()Output only. The bucket's hierarchical namespace configuration. If there is no configuration, the hierarchical namespace is disabled.
 
 .google.storage.control.v2.StorageLayout.HierarchicalNamespace hierarchical_namespace = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.HierarchicalNamespaceOrBuilder | 
        |
getLocation()
public String getLocation()Output only. The location of the bucket.
 string location = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The location.  | 
      
getLocationBytes()
public ByteString getLocationBytes()Output only. The location of the bucket.
 string location = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for location.  | 
      
getLocationType()
public String getLocationType()Output only. The location type of the bucket (region, dual-region, multi-region, etc).
 string location_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The locationType.  | 
      
getLocationTypeBytes()
public ByteString getLocationTypeBytes()Output only. The location type of the bucket (region, dual-region, multi-region, etc).
 string location_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for locationType.  | 
      
getName()
public String getName() Output only. The name of the StorageLayout resource.
 Format: projects/{project}/buckets/{bucket}/storageLayout
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The name.  | 
      
getNameBytes()
public ByteString getNameBytes() Output only. The name of the StorageLayout resource.
 Format: projects/{project}/buckets/{bucket}/storageLayout
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for name.  | 
      
hasCustomPlacementConfig()
public boolean hasCustomPlacementConfig()Output only. The data placement configuration for custom dual region. If there is no configuration, this is not a custom dual region bucket.
 
 .google.storage.control.v2.StorageLayout.CustomPlacementConfig custom_placement_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the customPlacementConfig field is set.  | 
      
hasHierarchicalNamespace()
public boolean hasHierarchicalNamespace()Output only. The bucket's hierarchical namespace configuration. If there is no configuration, the hierarchical namespace is disabled.
 
 .google.storage.control.v2.StorageLayout.HierarchicalNamespace hierarchical_namespace = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the hierarchicalNamespace field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeCustomPlacementConfig(StorageLayout.CustomPlacementConfig value)
public StorageLayout.Builder mergeCustomPlacementConfig(StorageLayout.CustomPlacementConfig value)Output only. The data placement configuration for custom dual region. If there is no configuration, this is not a custom dual region bucket.
 
 .google.storage.control.v2.StorageLayout.CustomPlacementConfig custom_placement_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StorageLayout.CustomPlacementConfig | 
      
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StorageLayout.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public StorageLayout.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        |
mergeFrom(StorageLayout other)
public StorageLayout.Builder mergeFrom(StorageLayout other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        StorageLayout | 
      
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        |
mergeHierarchicalNamespace(StorageLayout.HierarchicalNamespace value)
public StorageLayout.Builder mergeHierarchicalNamespace(StorageLayout.HierarchicalNamespace value)Output only. The bucket's hierarchical namespace configuration. If there is no configuration, the hierarchical namespace is disabled.
 
 .google.storage.control.v2.StorageLayout.HierarchicalNamespace hierarchical_namespace = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StorageLayout.HierarchicalNamespace | 
      
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StorageLayout.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        |
setCustomPlacementConfig(StorageLayout.CustomPlacementConfig value)
public StorageLayout.Builder setCustomPlacementConfig(StorageLayout.CustomPlacementConfig value)Output only. The data placement configuration for custom dual region. If there is no configuration, this is not a custom dual region bucket.
 
 .google.storage.control.v2.StorageLayout.CustomPlacementConfig custom_placement_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StorageLayout.CustomPlacementConfig | 
      
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        |
setCustomPlacementConfig(StorageLayout.CustomPlacementConfig.Builder builderForValue)
public StorageLayout.Builder setCustomPlacementConfig(StorageLayout.CustomPlacementConfig.Builder builderForValue)Output only. The data placement configuration for custom dual region. If there is no configuration, this is not a custom dual region bucket.
 
 .google.storage.control.v2.StorageLayout.CustomPlacementConfig custom_placement_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        StorageLayout.CustomPlacementConfig.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        |
setField(Descriptors.FieldDescriptor field, Object value)
public StorageLayout.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        |
setHierarchicalNamespace(StorageLayout.HierarchicalNamespace value)
public StorageLayout.Builder setHierarchicalNamespace(StorageLayout.HierarchicalNamespace value)Output only. The bucket's hierarchical namespace configuration. If there is no configuration, the hierarchical namespace is disabled.
 
 .google.storage.control.v2.StorageLayout.HierarchicalNamespace hierarchical_namespace = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StorageLayout.HierarchicalNamespace | 
      
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        |
setHierarchicalNamespace(StorageLayout.HierarchicalNamespace.Builder builderForValue)
public StorageLayout.Builder setHierarchicalNamespace(StorageLayout.HierarchicalNamespace.Builder builderForValue)Output only. The bucket's hierarchical namespace configuration. If there is no configuration, the hierarchical namespace is disabled.
 
 .google.storage.control.v2.StorageLayout.HierarchicalNamespace hierarchical_namespace = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        StorageLayout.HierarchicalNamespace.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        |
setLocation(String value)
public StorageLayout.Builder setLocation(String value)Output only. The location of the bucket.
 string location = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe location to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        This builder for chaining.  | 
      
setLocationBytes(ByteString value)
public StorageLayout.Builder setLocationBytes(ByteString value)Output only. The location of the bucket.
 string location = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for location to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        This builder for chaining.  | 
      
setLocationType(String value)
public StorageLayout.Builder setLocationType(String value)Output only. The location type of the bucket (region, dual-region, multi-region, etc).
 string location_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe locationType to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        This builder for chaining.  | 
      
setLocationTypeBytes(ByteString value)
public StorageLayout.Builder setLocationTypeBytes(ByteString value)Output only. The location type of the bucket (region, dual-region, multi-region, etc).
 string location_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for locationType to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        This builder for chaining.  | 
      
setName(String value)
public StorageLayout.Builder setName(String value) Output only. The name of the StorageLayout resource.
 Format: projects/{project}/buckets/{bucket}/storageLayout
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        This builder for chaining.  | 
      
setNameBytes(ByteString value)
public StorageLayout.Builder setNameBytes(ByteString value) Output only. The name of the StorageLayout resource.
 Format: projects/{project}/buckets/{bucket}/storageLayout
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StorageLayout.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        |
setUnknownFields(UnknownFieldSet unknownFields)
public final StorageLayout.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
StorageLayout.Builder | 
        |