Class StorageLayout

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.storage.control.v2.StorageLayout
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, StorageLayoutOrBuilder, Serializable

public final class StorageLayout extends com.google.protobuf.GeneratedMessageV3 implements StorageLayoutOrBuilder
 The storage layout configuration of a bucket.
 
Protobuf type google.storage.control.v2.StorageLayout
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • LOCATION_FIELD_NUMBER

      public static final int LOCATION_FIELD_NUMBER
      See Also:
    • LOCATION_TYPE_FIELD_NUMBER

      public static final int LOCATION_TYPE_FIELD_NUMBER
      See Also:
    • CUSTOM_PLACEMENT_CONFIG_FIELD_NUMBER

      public static final int CUSTOM_PLACEMENT_CONFIG_FIELD_NUMBER
      See Also:
    • HIERARCHICAL_NAMESPACE_FIELD_NUMBER

      public static final int HIERARCHICAL_NAMESPACE_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • 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];
      Specified by:
      getName in interface StorageLayoutOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.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];
      Specified by:
      getNameBytes in interface StorageLayoutOrBuilder
      Returns:
      The bytes for name.
    • getLocation

      public String getLocation()
       Output only. The location of the bucket.
       
      string location = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLocation in interface StorageLayoutOrBuilder
      Returns:
      The location.
    • getLocationBytes

      public com.google.protobuf.ByteString getLocationBytes()
       Output only. The location of the bucket.
       
      string location = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLocationBytes in interface StorageLayoutOrBuilder
      Returns:
      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];
      Specified by:
      getLocationType in interface StorageLayoutOrBuilder
      Returns:
      The locationType.
    • getLocationTypeBytes

      public com.google.protobuf.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];
      Specified by:
      getLocationTypeBytes in interface StorageLayoutOrBuilder
      Returns:
      The bytes for locationType.
    • 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];
      Specified by:
      hasCustomPlacementConfig in interface StorageLayoutOrBuilder
      Returns:
      Whether the customPlacementConfig field is set.
    • 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];
      Specified by:
      getCustomPlacementConfig in interface StorageLayoutOrBuilder
      Returns:
      The customPlacementConfig.
    • 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];
      Specified by:
      getCustomPlacementConfigOrBuilder in interface StorageLayoutOrBuilder
    • 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];
      Specified by:
      hasHierarchicalNamespace in interface StorageLayoutOrBuilder
      Returns:
      Whether the hierarchicalNamespace field is set.
    • 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];
      Specified by:
      getHierarchicalNamespace in interface StorageLayoutOrBuilder
      Returns:
      The hierarchicalNamespace.
    • 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];
      Specified by:
      getHierarchicalNamespaceOrBuilder in interface StorageLayoutOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static StorageLayout parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StorageLayout parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StorageLayout parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StorageLayout parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StorageLayout parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StorageLayout parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StorageLayout parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StorageLayout parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static StorageLayout parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static StorageLayout parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StorageLayout parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StorageLayout parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public StorageLayout.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static StorageLayout.Builder newBuilder()
    • newBuilder

      public static StorageLayout.Builder newBuilder(StorageLayout prototype)
    • toBuilder

      public StorageLayout.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected StorageLayout.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static StorageLayout getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<StorageLayout> parser()
    • getParserForType

      public com.google.protobuf.Parser<StorageLayout> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public StorageLayout getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder