Class MetastorePartitionValues.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<MetastorePartitionValues.Builder>
com.google.cloud.bigquery.storage.v1alpha.MetastorePartitionValues.Builder
All Implemented Interfaces:
MetastorePartitionValuesOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
MetastorePartitionValues

public static final class MetastorePartitionValues.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MetastorePartitionValues.Builder> implements MetastorePartitionValuesOrBuilder
 Represents the values of a metastore partition.
 
Protobuf type google.cloud.bigquery.storage.v1alpha.MetastorePartitionValues
  • Method Details

    • 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.Builder<MetastorePartitionValues.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<MetastorePartitionValues.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MetastorePartitionValues.Builder>
    • getDefaultInstanceForType

      public MetastorePartitionValues getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public MetastorePartitionValues build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public MetastorePartitionValues buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<MetastorePartitionValues.Builder>
    • setField

      public MetastorePartitionValues.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<MetastorePartitionValues.Builder>
    • clearField

      public MetastorePartitionValues.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<MetastorePartitionValues.Builder>
    • clearOneof

      public MetastorePartitionValues.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MetastorePartitionValues.Builder>
    • setRepeatedField

      public MetastorePartitionValues.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MetastorePartitionValues.Builder>
    • addRepeatedField

      public MetastorePartitionValues.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MetastorePartitionValues.Builder>
    • mergeFrom

      public MetastorePartitionValues.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MetastorePartitionValues.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MetastorePartitionValues.Builder>
    • mergeFrom

      public MetastorePartitionValues.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MetastorePartitionValues.Builder>
      Throws:
      IOException
    • getValuesList

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

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

      public String getValues(int index)
       Required. The values of the partition keys, where each value corresponds to
       a specific partition key in the order in which the keys are defined.
       
      repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getValues in interface MetastorePartitionValuesOrBuilder
      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. The values of the partition keys, where each value corresponds to
       a specific partition key in the order in which the keys are defined.
       
      repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getValuesBytes in interface MetastorePartitionValuesOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the values at the given index.
    • setValues

      public MetastorePartitionValues.Builder setValues(int index, String value)
       Required. The values of the partition keys, where each value corresponds to
       a specific partition key in the order in which the keys are defined.
       
      repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      index - The index to set the value at.
      value - The values to set.
      Returns:
      This builder for chaining.
    • addValues

      public MetastorePartitionValues.Builder addValues(String value)
       Required. The values of the partition keys, where each value corresponds to
       a specific partition key in the order in which the keys are defined.
       
      repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The values to add.
      Returns:
      This builder for chaining.
    • addAllValues

      public MetastorePartitionValues.Builder addAllValues(Iterable<String> values)
       Required. The values of the partition keys, where each value corresponds to
       a specific partition key in the order in which the keys are defined.
       
      repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      values - The values to add.
      Returns:
      This builder for chaining.
    • clearValues

      public MetastorePartitionValues.Builder clearValues()
       Required. The values of the partition keys, where each value corresponds to
       a specific partition key in the order in which the keys are defined.
       
      repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • addValuesBytes

      public MetastorePartitionValues.Builder addValuesBytes(com.google.protobuf.ByteString value)
       Required. The values of the partition keys, where each value corresponds to
       a specific partition key in the order in which the keys are defined.
       
      repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes of the values to add.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final MetastorePartitionValues.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MetastorePartitionValues.Builder>
    • mergeUnknownFields

      public final MetastorePartitionValues.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MetastorePartitionValues.Builder>