Class MetastorePartition

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.cloud.bigquery.storage.v1alpha.MetastorePartition
All Implemented Interfaces:
MetastorePartitionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class MetastorePartition extends com.google.protobuf.GeneratedMessageV3 implements MetastorePartitionOrBuilder
 Information about a Hive partition.
 
Protobuf type google.cloud.bigquery.storage.v1alpha.MetastorePartition
See Also:
  • Field Details

    • VALUES_FIELD_NUMBER

      public static final int VALUES_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • STORAGE_DESCRIPTOR_FIELD_NUMBER

      public static final int STORAGE_DESCRIPTOR_FIELD_NUMBER
      See Also:
    • PARAMETERS_FIELD_NUMBER

      public static final int PARAMETERS_FIELD_NUMBER
      See Also:
    • FIELDS_FIELD_NUMBER

      public static final int FIELDS_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()
    • internalGetMapFieldReflection

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getValuesList

      public com.google.protobuf.ProtocolStringList getValuesList()
       Required. Represents the values of the partition keys, where each value
       corresponds to a specific partition key in the order in which the keys are
       defined. Each value is limited to 1024 characters.
       
      repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getValuesList in interface MetastorePartitionOrBuilder
      Returns:
      A list containing the values.
    • getValuesCount

      public int getValuesCount()
       Required. Represents the values of the partition keys, where each value
       corresponds to a specific partition key in the order in which the keys are
       defined. Each value is limited to 1024 characters.
       
      repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getValuesCount in interface MetastorePartitionOrBuilder
      Returns:
      The count of values.
    • getValues

      public String getValues(int index)
       Required. Represents the values of the partition keys, where each value
       corresponds to a specific partition key in the order in which the keys are
       defined. Each value is limited to 1024 characters.
       
      repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getValues in interface MetastorePartitionOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The values at the given index.
    • getValuesBytes

      public com.google.protobuf.ByteString getValuesBytes(int index)
       Required. Represents the values of the partition keys, where each value
       corresponds to a specific partition key in the order in which the keys are
       defined. Each value is limited to 1024 characters.
       
      repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getValuesBytes in interface MetastorePartitionOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the values at the given index.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The creation time of the partition.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface MetastorePartitionOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The creation time of the partition.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface MetastorePartitionOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The creation time of the partition.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface MetastorePartitionOrBuilder
    • hasStorageDescriptor

      public boolean hasStorageDescriptor()
       Optional. Contains information about the physical storage of the data in
       the partition.
       
      .google.cloud.bigquery.storage.v1alpha.StorageDescriptor storage_descriptor = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasStorageDescriptor in interface MetastorePartitionOrBuilder
      Returns:
      Whether the storageDescriptor field is set.
    • getStorageDescriptor

      public StorageDescriptor getStorageDescriptor()
       Optional. Contains information about the physical storage of the data in
       the partition.
       
      .google.cloud.bigquery.storage.v1alpha.StorageDescriptor storage_descriptor = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStorageDescriptor in interface MetastorePartitionOrBuilder
      Returns:
      The storageDescriptor.
    • getStorageDescriptorOrBuilder

      public StorageDescriptorOrBuilder getStorageDescriptorOrBuilder()
       Optional. Contains information about the physical storage of the data in
       the partition.
       
      .google.cloud.bigquery.storage.v1alpha.StorageDescriptor storage_descriptor = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStorageDescriptorOrBuilder in interface MetastorePartitionOrBuilder
    • getParametersCount

      public int getParametersCount()
      Description copied from interface: MetastorePartitionOrBuilder
       Optional. Additional parameters or metadata associated with the partition.
       Maximum size 10 KiB.
       
      map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParametersCount in interface MetastorePartitionOrBuilder
    • containsParameters

      public boolean containsParameters(String key)
       Optional. Additional parameters or metadata associated with the partition.
       Maximum size 10 KiB.
       
      map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsParameters in interface MetastorePartitionOrBuilder
    • getParameters

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

      public Map<String,String> getParametersMap()
       Optional. Additional parameters or metadata associated with the partition.
       Maximum size 10 KiB.
       
      map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParametersMap in interface MetastorePartitionOrBuilder
    • getParametersOrDefault

      public String getParametersOrDefault(String key, String defaultValue)
       Optional. Additional parameters or metadata associated with the partition.
       Maximum size 10 KiB.
       
      map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParametersOrDefault in interface MetastorePartitionOrBuilder
    • getParametersOrThrow

      public String getParametersOrThrow(String key)
       Optional. Additional parameters or metadata associated with the partition.
       Maximum size 10 KiB.
       
      map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParametersOrThrow in interface MetastorePartitionOrBuilder
    • getFieldsList

      public List<FieldSchema> getFieldsList()
       Optional. List of columns.
       
      repeated .google.cloud.bigquery.storage.v1alpha.FieldSchema fields = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFieldsList in interface MetastorePartitionOrBuilder
    • getFieldsOrBuilderList

      public List<? extends FieldSchemaOrBuilder> getFieldsOrBuilderList()
       Optional. List of columns.
       
      repeated .google.cloud.bigquery.storage.v1alpha.FieldSchema fields = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFieldsOrBuilderList in interface MetastorePartitionOrBuilder
    • getFieldsCount

      public int getFieldsCount()
       Optional. List of columns.
       
      repeated .google.cloud.bigquery.storage.v1alpha.FieldSchema fields = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFieldsCount in interface MetastorePartitionOrBuilder
    • getFields

      public FieldSchema getFields(int index)
       Optional. List of columns.
       
      repeated .google.cloud.bigquery.storage.v1alpha.FieldSchema fields = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFields in interface MetastorePartitionOrBuilder
    • getFieldsOrBuilder

      public FieldSchemaOrBuilder getFieldsOrBuilder(int index)
       Optional. List of columns.
       
      repeated .google.cloud.bigquery.storage.v1alpha.FieldSchema fields = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFieldsOrBuilder in interface MetastorePartitionOrBuilder
    • 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 MetastorePartition parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static MetastorePartition.Builder newBuilder()
    • newBuilder

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

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

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

      public static MetastorePartition getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<MetastorePartition> 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 MetastorePartition getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder