public static final class MetastorePartitionValues.Builder extends GeneratedMessageV3.Builder<MetastorePartitionValues.Builder> implements MetastorePartitionValuesOrBuilder
Represents the values of a metastore partition.
Protobuf type google.cloud.bigquery.storage.v1alpha.MetastorePartitionValues
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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];
public MetastorePartitionValues.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
Parameter |
Name |
Description |
value |
String
The values to add.
|
public MetastorePartitionValues.Builder addValuesBytes(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];
Parameter |
Name |
Description |
value |
ByteString
The bytes of the values to add.
|
public MetastorePartitionValues build()
public MetastorePartitionValues buildPartial()
public MetastorePartitionValues.Builder clear()
Overrides
public MetastorePartitionValues.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public MetastorePartitionValues.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
public MetastorePartitionValues.Builder clone()
Overrides
public MetastorePartitionValues getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The values at the given index.
|
public 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];
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the values at the given index.
|
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];
Returns |
Type |
Description |
int |
The count of values.
|
public 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];
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public MetastorePartitionValues.Builder mergeFrom(MetastorePartitionValues other)
public MetastorePartitionValues.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public MetastorePartitionValues.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final MetastorePartitionValues.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public MetastorePartitionValues.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public MetastorePartitionValues.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final MetastorePartitionValues.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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 |
Name |
Description |
index |
int
The index to set the value at.
|
value |
String
The values to set.
|