Class StorageDescriptor

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.biglake.hive.v1beta.StorageDescriptor
All Implemented Interfaces:
StorageDescriptorOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class StorageDescriptor extends com.google.protobuf.GeneratedMessage implements StorageDescriptorOrBuilder
 Contains information about the physical storage of the table data.
 
Protobuf type google.cloud.biglake.hive.v1beta.StorageDescriptor
See Also:
  • Field Details

    • COLUMNS_FIELD_NUMBER

      public static final int COLUMNS_FIELD_NUMBER
      See Also:
    • LOCATION_URI_FIELD_NUMBER

      public static final int LOCATION_URI_FIELD_NUMBER
      See Also:
    • INPUT_FORMAT_FIELD_NUMBER

      public static final int INPUT_FORMAT_FIELD_NUMBER
      See Also:
    • OUTPUT_FORMAT_FIELD_NUMBER

      public static final int OUTPUT_FORMAT_FIELD_NUMBER
      See Also:
    • COMPRESSED_FIELD_NUMBER

      public static final int COMPRESSED_FIELD_NUMBER
      See Also:
    • NUM_BUCKETS_FIELD_NUMBER

      public static final int NUM_BUCKETS_FIELD_NUMBER
      See Also:
    • SERDE_INFO_FIELD_NUMBER

      public static final int SERDE_INFO_FIELD_NUMBER
      See Also:
    • BUCKET_COLS_FIELD_NUMBER

      public static final int BUCKET_COLS_FIELD_NUMBER
      See Also:
    • SORT_COLS_FIELD_NUMBER

      public static final int SORT_COLS_FIELD_NUMBER
      See Also:
    • PARAMETERS_FIELD_NUMBER

      public static final int PARAMETERS_FIELD_NUMBER
      See Also:
    • SKEWED_INFO_FIELD_NUMBER

      public static final int SKEWED_INFO_FIELD_NUMBER
      See Also:
    • STORED_AS_SUB_DIRS_FIELD_NUMBER

      public static final int STORED_AS_SUB_DIRS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getColumnsList

      public List<FieldSchema> getColumnsList()
       Required. Specifies the columns of the table.
       
      repeated .google.cloud.biglake.hive.v1beta.FieldSchema columns = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getColumnsList in interface StorageDescriptorOrBuilder
    • getColumnsOrBuilderList

      public List<? extends FieldSchemaOrBuilder> getColumnsOrBuilderList()
       Required. Specifies the columns of the table.
       
      repeated .google.cloud.biglake.hive.v1beta.FieldSchema columns = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getColumnsOrBuilderList in interface StorageDescriptorOrBuilder
    • getColumnsCount

      public int getColumnsCount()
       Required. Specifies the columns of the table.
       
      repeated .google.cloud.biglake.hive.v1beta.FieldSchema columns = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getColumnsCount in interface StorageDescriptorOrBuilder
    • getColumns

      public FieldSchema getColumns(int index)
       Required. Specifies the columns of the table.
       
      repeated .google.cloud.biglake.hive.v1beta.FieldSchema columns = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getColumns in interface StorageDescriptorOrBuilder
    • getColumnsOrBuilder

      public FieldSchemaOrBuilder getColumnsOrBuilder(int index)
       Required. Specifies the columns of the table.
       
      repeated .google.cloud.biglake.hive.v1beta.FieldSchema columns = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getColumnsOrBuilder in interface StorageDescriptorOrBuilder
    • getLocationUri

      public String getLocationUri()
       Optional. The Cloud storage uri where the table is located.
       Defaults to `<database_location_uri>/<table_name>`. The maximum length is
       4000 characters.
       
      string location_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLocationUri in interface StorageDescriptorOrBuilder
      Returns:
      The locationUri.
    • getLocationUriBytes

      public com.google.protobuf.ByteString getLocationUriBytes()
       Optional. The Cloud storage uri where the table is located.
       Defaults to `<database_location_uri>/<table_name>`. The maximum length is
       4000 characters.
       
      string location_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLocationUriBytes in interface StorageDescriptorOrBuilder
      Returns:
      The bytes for locationUri.
    • getInputFormat

      public String getInputFormat()
       Optional. The fully qualified Java class name of the input format. The
       maximum length is 4000 characters.
       
      string input_format = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInputFormat in interface StorageDescriptorOrBuilder
      Returns:
      The inputFormat.
    • getInputFormatBytes

      public com.google.protobuf.ByteString getInputFormatBytes()
       Optional. The fully qualified Java class name of the input format. The
       maximum length is 4000 characters.
       
      string input_format = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInputFormatBytes in interface StorageDescriptorOrBuilder
      Returns:
      The bytes for inputFormat.
    • getOutputFormat

      public String getOutputFormat()
       Optional. The fully qualified Java class name of the output format. The
       maximum length is 4000 characters.
       
      string output_format = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOutputFormat in interface StorageDescriptorOrBuilder
      Returns:
      The outputFormat.
    • getOutputFormatBytes

      public com.google.protobuf.ByteString getOutputFormatBytes()
       Optional. The fully qualified Java class name of the output format. The
       maximum length is 4000 characters.
       
      string output_format = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOutputFormatBytes in interface StorageDescriptorOrBuilder
      Returns:
      The bytes for outputFormat.
    • hasCompressed

      public boolean hasCompressed()
       Optional. Whether the table is compressed.
       
      optional bool compressed = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasCompressed in interface StorageDescriptorOrBuilder
      Returns:
      Whether the compressed field is set.
    • getCompressed

      public boolean getCompressed()
       Optional. Whether the table is compressed.
       
      optional bool compressed = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCompressed in interface StorageDescriptorOrBuilder
      Returns:
      The compressed.
    • hasNumBuckets

      public boolean hasNumBuckets()
       Optional. The number of buckets in the table.
       
      optional int32 num_buckets = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasNumBuckets in interface StorageDescriptorOrBuilder
      Returns:
      Whether the numBuckets field is set.
    • getNumBuckets

      public int getNumBuckets()
       Optional. The number of buckets in the table.
       
      optional int32 num_buckets = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNumBuckets in interface StorageDescriptorOrBuilder
      Returns:
      The numBuckets.
    • hasSerdeInfo

      public boolean hasSerdeInfo()
       Optional. Serialization and deserialization information.
       
      .google.cloud.biglake.hive.v1beta.SerdeInfo serde_info = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasSerdeInfo in interface StorageDescriptorOrBuilder
      Returns:
      Whether the serdeInfo field is set.
    • getSerdeInfo

      public SerdeInfo getSerdeInfo()
       Optional. Serialization and deserialization information.
       
      .google.cloud.biglake.hive.v1beta.SerdeInfo serde_info = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSerdeInfo in interface StorageDescriptorOrBuilder
      Returns:
      The serdeInfo.
    • getSerdeInfoOrBuilder

      public SerdeInfoOrBuilder getSerdeInfoOrBuilder()
       Optional. Serialization and deserialization information.
       
      .google.cloud.biglake.hive.v1beta.SerdeInfo serde_info = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSerdeInfoOrBuilder in interface StorageDescriptorOrBuilder
    • getBucketColsList

      public com.google.protobuf.ProtocolStringList getBucketColsList()
       Optional. Reducer grouping columns and clustering columns and bucketing
       columns
       
      repeated string bucket_cols = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBucketColsList in interface StorageDescriptorOrBuilder
      Returns:
      A list containing the bucketCols.
    • getBucketColsCount

      public int getBucketColsCount()
       Optional. Reducer grouping columns and clustering columns and bucketing
       columns
       
      repeated string bucket_cols = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBucketColsCount in interface StorageDescriptorOrBuilder
      Returns:
      The count of bucketCols.
    • getBucketCols

      public String getBucketCols(int index)
       Optional. Reducer grouping columns and clustering columns and bucketing
       columns
       
      repeated string bucket_cols = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBucketCols in interface StorageDescriptorOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The bucketCols at the given index.
    • getBucketColsBytes

      public com.google.protobuf.ByteString getBucketColsBytes(int index)
       Optional. Reducer grouping columns and clustering columns and bucketing
       columns
       
      repeated string bucket_cols = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBucketColsBytes in interface StorageDescriptorOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the bucketCols at the given index.
    • getSortColsList

      public List<StorageDescriptor.Order> getSortColsList()
       Optional. Sort order of the data in each bucket
       
      repeated .google.cloud.biglake.hive.v1beta.StorageDescriptor.Order sort_cols = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSortColsList in interface StorageDescriptorOrBuilder
    • getSortColsOrBuilderList

      public List<? extends StorageDescriptor.OrderOrBuilder> getSortColsOrBuilderList()
       Optional. Sort order of the data in each bucket
       
      repeated .google.cloud.biglake.hive.v1beta.StorageDescriptor.Order sort_cols = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSortColsOrBuilderList in interface StorageDescriptorOrBuilder
    • getSortColsCount

      public int getSortColsCount()
       Optional. Sort order of the data in each bucket
       
      repeated .google.cloud.biglake.hive.v1beta.StorageDescriptor.Order sort_cols = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSortColsCount in interface StorageDescriptorOrBuilder
    • getSortCols

      public StorageDescriptor.Order getSortCols(int index)
       Optional. Sort order of the data in each bucket
       
      repeated .google.cloud.biglake.hive.v1beta.StorageDescriptor.Order sort_cols = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSortCols in interface StorageDescriptorOrBuilder
    • getSortColsOrBuilder

      public StorageDescriptor.OrderOrBuilder getSortColsOrBuilder(int index)
       Optional. Sort order of the data in each bucket
       
      repeated .google.cloud.biglake.hive.v1beta.StorageDescriptor.Order sort_cols = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSortColsOrBuilder in interface StorageDescriptorOrBuilder
    • getParametersCount

      public int getParametersCount()
      Description copied from interface: StorageDescriptorOrBuilder
       Optional. Key-value pairs for the storage descriptor. The maximum size is
       10Kib.
       
      map<string, string> parameters = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParametersCount in interface StorageDescriptorOrBuilder
    • containsParameters

      public boolean containsParameters(String key)
       Optional. Key-value pairs for the storage descriptor. The maximum size is
       10Kib.
       
      map<string, string> parameters = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsParameters in interface StorageDescriptorOrBuilder
    • getParameters

      @Deprecated public Map<String,String> getParameters()
      Deprecated.
      Use getParametersMap() instead.
      Specified by:
      getParameters in interface StorageDescriptorOrBuilder
    • getParametersMap

      public Map<String,String> getParametersMap()
       Optional. Key-value pairs for the storage descriptor. The maximum size is
       10Kib.
       
      map<string, string> parameters = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParametersMap in interface StorageDescriptorOrBuilder
    • getParametersOrDefault

      public String getParametersOrDefault(String key, String defaultValue)
       Optional. Key-value pairs for the storage descriptor. The maximum size is
       10Kib.
       
      map<string, string> parameters = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParametersOrDefault in interface StorageDescriptorOrBuilder
    • getParametersOrThrow

      public String getParametersOrThrow(String key)
       Optional. Key-value pairs for the storage descriptor. The maximum size is
       10Kib.
       
      map<string, string> parameters = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParametersOrThrow in interface StorageDescriptorOrBuilder
    • hasSkewedInfo

      public boolean hasSkewedInfo()
       Optional. Table data skew information.
       
      .google.cloud.biglake.hive.v1beta.StorageDescriptor.SkewedInfo skewed_info = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasSkewedInfo in interface StorageDescriptorOrBuilder
      Returns:
      Whether the skewedInfo field is set.
    • getSkewedInfo

      public StorageDescriptor.SkewedInfo getSkewedInfo()
       Optional. Table data skew information.
       
      .google.cloud.biglake.hive.v1beta.StorageDescriptor.SkewedInfo skewed_info = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSkewedInfo in interface StorageDescriptorOrBuilder
      Returns:
      The skewedInfo.
    • getSkewedInfoOrBuilder

      public StorageDescriptor.SkewedInfoOrBuilder getSkewedInfoOrBuilder()
       Optional. Table data skew information.
       
      .google.cloud.biglake.hive.v1beta.StorageDescriptor.SkewedInfo skewed_info = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSkewedInfoOrBuilder in interface StorageDescriptorOrBuilder
    • hasStoredAsSubDirs

      public boolean hasStoredAsSubDirs()
       Optional. Whether the table is stored as sub directories.
       
      optional bool stored_as_sub_dirs = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasStoredAsSubDirs in interface StorageDescriptorOrBuilder
      Returns:
      Whether the storedAsSubDirs field is set.
    • getStoredAsSubDirs

      public boolean getStoredAsSubDirs()
       Optional. Whether the table is stored as sub directories.
       
      optional bool stored_as_sub_dirs = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStoredAsSubDirs in interface StorageDescriptorOrBuilder
      Returns:
      The storedAsSubDirs.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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 StorageDescriptor parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static StorageDescriptor.Builder newBuilder()
    • newBuilder

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

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

      protected StorageDescriptor.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static StorageDescriptor getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<StorageDescriptor> 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.GeneratedMessage
    • getDefaultInstanceForType

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