Class MetastorePartitionValues.Builder (3.9.1)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllValues(Iterable<String> values)

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];

Parameter
Name Description
values Iterable<String>

The values to add.

Returns
Type Description
MetastorePartitionValues.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MetastorePartitionValues.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MetastorePartitionValues.Builder
Overrides

addValues(String value)

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.

Returns
Type Description
MetastorePartitionValues.Builder

This builder for chaining.

addValuesBytes(ByteString value)

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.

Returns
Type Description
MetastorePartitionValues.Builder

This builder for chaining.

build()

public MetastorePartitionValues build()
Returns
Type Description
MetastorePartitionValues

buildPartial()

public MetastorePartitionValues buildPartial()
Returns
Type Description
MetastorePartitionValues

clear()

public MetastorePartitionValues.Builder clear()
Returns
Type Description
MetastorePartitionValues.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public MetastorePartitionValues.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MetastorePartitionValues.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MetastorePartitionValues.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MetastorePartitionValues.Builder
Overrides

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
Type Description
MetastorePartitionValues.Builder

This builder for chaining.

clone()

public MetastorePartitionValues.Builder clone()
Returns
Type Description
MetastorePartitionValues.Builder
Overrides

getDefaultInstanceForType()

public MetastorePartitionValues getDefaultInstanceForType()
Returns
Type Description
MetastorePartitionValues

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getValues(int index)

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.

getValuesBytes(int 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.

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];

Returns
Type Description
int

The count of values.

getValuesList()

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];

Returns
Type Description
ProtocolStringList

A list containing the values.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MetastorePartitionValues other)

public MetastorePartitionValues.Builder mergeFrom(MetastorePartitionValues other)
Parameter
Name Description
other MetastorePartitionValues
Returns
Type Description
MetastorePartitionValues.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MetastorePartitionValues.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetastorePartitionValues.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MetastorePartitionValues.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MetastorePartitionValues.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MetastorePartitionValues.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MetastorePartitionValues.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public MetastorePartitionValues.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MetastorePartitionValues.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MetastorePartitionValues.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MetastorePartitionValues.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MetastorePartitionValues.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MetastorePartitionValues.Builder
Overrides

setValues(int index, String value)

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.

Returns
Type Description
MetastorePartitionValues.Builder

This builder for chaining.