public static final class MetastorePartitionValues.Builder extends GeneratedMessage.Builder<MetastorePartitionValues.Builder> implements MetastorePartitionValuesOrBuilderRepresents the values of a metastore partition.
Protobuf type google.cloud.bigquery.storage.v1beta.MetastorePartitionValues
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MetastorePartitionValues.BuilderImplements
MetastorePartitionValuesOrBuilderStatic 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. |
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 |
StringThe 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 |
ByteStringThe 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 |
|
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. |
getDefaultInstanceForType()
public MetastorePartitionValues getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MetastorePartitionValues |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
intThe 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 |
intThe 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MetastorePartitionValues.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MetastorePartitionValues.Builder |
|
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 |
intThe index to set the value at. |
value |
StringThe values to set. |
| Returns | |
|---|---|
| Type | Description |
MetastorePartitionValues.Builder |
This builder for chaining. |