Class BatchDeleteMetastorePartitionsRequest.Builder (3.9.0)

public static final class BatchDeleteMetastorePartitionsRequest.Builder extends GeneratedMessageV3.Builder<BatchDeleteMetastorePartitionsRequest.Builder> implements BatchDeleteMetastorePartitionsRequestOrBuilder

Request message for BatchDeleteMetastorePartitions. The MetastorePartition is uniquely identified by values, which is an ordered list. Hence, there is no separate name or partition id field.

Protobuf type google.cloud.bigquery.storage.v1alpha.BatchDeleteMetastorePartitionsRequest

Static Methods

getDescriptor()

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

Methods

addAllPartitionValues(Iterable<? extends MetastorePartitionValues> values)

public BatchDeleteMetastorePartitionsRequest.Builder addAllPartitionValues(Iterable<? extends MetastorePartitionValues> values)

Required. The list of metastore partitions (identified by its values) to be deleted. A maximum of 100 partitions can be deleted in a batch.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.bigquery.storage.v1alpha.MetastorePartitionValues>
Returns
Type Description
BatchDeleteMetastorePartitionsRequest.Builder

addPartitionValues(MetastorePartitionValues value)

public BatchDeleteMetastorePartitionsRequest.Builder addPartitionValues(MetastorePartitionValues value)

Required. The list of metastore partitions (identified by its values) to be deleted. A maximum of 100 partitions can be deleted in a batch.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value MetastorePartitionValues
Returns
Type Description
BatchDeleteMetastorePartitionsRequest.Builder

addPartitionValues(MetastorePartitionValues.Builder builderForValue)

public BatchDeleteMetastorePartitionsRequest.Builder addPartitionValues(MetastorePartitionValues.Builder builderForValue)

Required. The list of metastore partitions (identified by its values) to be deleted. A maximum of 100 partitions can be deleted in a batch.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue MetastorePartitionValues.Builder
Returns
Type Description
BatchDeleteMetastorePartitionsRequest.Builder

addPartitionValues(int index, MetastorePartitionValues value)

public BatchDeleteMetastorePartitionsRequest.Builder addPartitionValues(int index, MetastorePartitionValues value)

Required. The list of metastore partitions (identified by its values) to be deleted. A maximum of 100 partitions can be deleted in a batch.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value MetastorePartitionValues
Returns
Type Description
BatchDeleteMetastorePartitionsRequest.Builder

addPartitionValues(int index, MetastorePartitionValues.Builder builderForValue)

public BatchDeleteMetastorePartitionsRequest.Builder addPartitionValues(int index, MetastorePartitionValues.Builder builderForValue)

Required. The list of metastore partitions (identified by its values) to be deleted. A maximum of 100 partitions can be deleted in a batch.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue MetastorePartitionValues.Builder
Returns
Type Description
BatchDeleteMetastorePartitionsRequest.Builder

addPartitionValuesBuilder()

public MetastorePartitionValues.Builder addPartitionValuesBuilder()

Required. The list of metastore partitions (identified by its values) to be deleted. A maximum of 100 partitions can be deleted in a batch.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MetastorePartitionValues.Builder

addPartitionValuesBuilder(int index)

public MetastorePartitionValues.Builder addPartitionValuesBuilder(int index)

Required. The list of metastore partitions (identified by its values) to be deleted. A maximum of 100 partitions can be deleted in a batch.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
MetastorePartitionValues.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchDeleteMetastorePartitionsRequest build()
Returns
Type Description
BatchDeleteMetastorePartitionsRequest

buildPartial()

public BatchDeleteMetastorePartitionsRequest buildPartial()
Returns
Type Description
BatchDeleteMetastorePartitionsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public BatchDeleteMetastorePartitionsRequest.Builder clearParent()

Required. Reference to the table to which these metastore partitions belong, in the format of projects/{project}/locations/{location}/datasets/{dataset}/tables/{table}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
BatchDeleteMetastorePartitionsRequest.Builder

This builder for chaining.

clearPartitionValues()

public BatchDeleteMetastorePartitionsRequest.Builder clearPartitionValues()

Required. The list of metastore partitions (identified by its values) to be deleted. A maximum of 100 partitions can be deleted in a batch.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BatchDeleteMetastorePartitionsRequest.Builder

clone()

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

getDefaultInstanceForType()

public BatchDeleteMetastorePartitionsRequest getDefaultInstanceForType()
Returns
Type Description
BatchDeleteMetastorePartitionsRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. Reference to the table to which these metastore partitions belong, in the format of projects/{project}/locations/{location}/datasets/{dataset}/tables/{table}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Reference to the table to which these metastore partitions belong, in the format of projects/{project}/locations/{location}/datasets/{dataset}/tables/{table}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getPartitionValues(int index)

public MetastorePartitionValues getPartitionValues(int index)

Required. The list of metastore partitions (identified by its values) to be deleted. A maximum of 100 partitions can be deleted in a batch.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
MetastorePartitionValues

getPartitionValuesBuilder(int index)

public MetastorePartitionValues.Builder getPartitionValuesBuilder(int index)

Required. The list of metastore partitions (identified by its values) to be deleted. A maximum of 100 partitions can be deleted in a batch.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
MetastorePartitionValues.Builder

getPartitionValuesBuilderList()

public List<MetastorePartitionValues.Builder> getPartitionValuesBuilderList()

Required. The list of metastore partitions (identified by its values) to be deleted. A maximum of 100 partitions can be deleted in a batch.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getPartitionValuesCount()

public int getPartitionValuesCount()

Required. The list of metastore partitions (identified by its values) to be deleted. A maximum of 100 partitions can be deleted in a batch.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getPartitionValuesList()

public List<MetastorePartitionValues> getPartitionValuesList()

Required. The list of metastore partitions (identified by its values) to be deleted. A maximum of 100 partitions can be deleted in a batch.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<MetastorePartitionValues>

getPartitionValuesOrBuilder(int index)

public MetastorePartitionValuesOrBuilder getPartitionValuesOrBuilder(int index)

Required. The list of metastore partitions (identified by its values) to be deleted. A maximum of 100 partitions can be deleted in a batch.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
MetastorePartitionValuesOrBuilder

getPartitionValuesOrBuilderList()

public List<? extends MetastorePartitionValuesOrBuilder> getPartitionValuesOrBuilderList()

Required. The list of metastore partitions (identified by its values) to be deleted. A maximum of 100 partitions can be deleted in a batch.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.bigquery.storage.v1alpha.MetastorePartitionValuesOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchDeleteMetastorePartitionsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removePartitionValues(int index)

public BatchDeleteMetastorePartitionsRequest.Builder removePartitionValues(int index)

Required. The list of metastore partitions (identified by its values) to be deleted. A maximum of 100 partitions can be deleted in a batch.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
BatchDeleteMetastorePartitionsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public BatchDeleteMetastorePartitionsRequest.Builder setParent(String value)

Required. Reference to the table to which these metastore partitions belong, in the format of projects/{project}/locations/{location}/datasets/{dataset}/tables/{table}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
BatchDeleteMetastorePartitionsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchDeleteMetastorePartitionsRequest.Builder setParentBytes(ByteString value)

Required. Reference to the table to which these metastore partitions belong, in the format of projects/{project}/locations/{location}/datasets/{dataset}/tables/{table}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
BatchDeleteMetastorePartitionsRequest.Builder

This builder for chaining.

setPartitionValues(int index, MetastorePartitionValues value)

public BatchDeleteMetastorePartitionsRequest.Builder setPartitionValues(int index, MetastorePartitionValues value)

Required. The list of metastore partitions (identified by its values) to be deleted. A maximum of 100 partitions can be deleted in a batch.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value MetastorePartitionValues
Returns
Type Description
BatchDeleteMetastorePartitionsRequest.Builder

setPartitionValues(int index, MetastorePartitionValues.Builder builderForValue)

public BatchDeleteMetastorePartitionsRequest.Builder setPartitionValues(int index, MetastorePartitionValues.Builder builderForValue)

Required. The list of metastore partitions (identified by its values) to be deleted. A maximum of 100 partitions can be deleted in a batch.

repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue MetastorePartitionValues.Builder
Returns
Type Description
BatchDeleteMetastorePartitionsRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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