Send feedback
Class StorageLayout (2.34.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.34.0 keyboard_arrow_down
public final class StorageLayout extends GeneratedMessageV3 implements StorageLayoutOrBuilder
The storage layout configuration of a bucket.
Protobuf type google.storage.control.v2.StorageLayout
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CUSTOM_PLACEMENT_CONFIG_FIELD_NUMBER
public static final int CUSTOM_PLACEMENT_CONFIG_FIELD_NUMBER
Field Value
Type
Description
int
HIERARCHICAL_NAMESPACE_FIELD_NUMBER
public static final int HIERARCHICAL_NAMESPACE_FIELD_NUMBER
Field Value
Type
Description
int
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
Field Value
Type
Description
int
LOCATION_TYPE_FIELD_NUMBER
public static final int LOCATION_TYPE_FIELD_NUMBER
Field Value
Type
Description
int
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static StorageLayout getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static StorageLayout . Builder newBuilder ()
newBuilder(StorageLayout prototype)
public static StorageLayout . Builder newBuilder ( StorageLayout prototype )
public static StorageLayout parseDelimitedFrom ( InputStream input )
public static StorageLayout parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static StorageLayout parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StorageLayout parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static StorageLayout parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StorageLayout parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static StorageLayout parseFrom ( CodedInputStream input )
public static StorageLayout parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static StorageLayout parseFrom ( InputStream input )
public static StorageLayout parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static StorageLayout parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StorageLayout parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<StorageLayout> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
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];
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];
getDefaultInstanceForType()
public StorageLayout getDefaultInstanceForType ()
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];
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];
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()
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.
getParserForType()
public Parser<StorageLayout> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
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.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public StorageLayout . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StorageLayout . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public StorageLayout . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
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 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]