Class BatchDeletePartitionsRequest.Builder (0.76.0)

public static final class BatchDeletePartitionsRequest.Builder extends GeneratedMessage.Builder<BatchDeletePartitionsRequest.Builder> implements BatchDeletePartitionsRequestOrBuilder

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

Protobuf type google.cloud.biglake.hive.v1beta.BatchDeletePartitionsRequest

Static Methods

getDescriptor()

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

Methods

addAllPartitionValues(Iterable<? extends PartitionValues> values)

public BatchDeletePartitionsRequest.Builder addAllPartitionValues(Iterable<? extends PartitionValues> values)

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

repeated .google.cloud.biglake.hive.v1beta.PartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.biglake.hive.v1beta.PartitionValues>
Returns
Type Description
BatchDeletePartitionsRequest.Builder

addPartitionValues(PartitionValues value)

public BatchDeletePartitionsRequest.Builder addPartitionValues(PartitionValues value)

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

repeated .google.cloud.biglake.hive.v1beta.PartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PartitionValues
Returns
Type Description
BatchDeletePartitionsRequest.Builder

addPartitionValues(PartitionValues.Builder builderForValue)

public BatchDeletePartitionsRequest.Builder addPartitionValues(PartitionValues.Builder builderForValue)

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

repeated .google.cloud.biglake.hive.v1beta.PartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue PartitionValues.Builder
Returns
Type Description
BatchDeletePartitionsRequest.Builder

addPartitionValues(int index, PartitionValues value)

public BatchDeletePartitionsRequest.Builder addPartitionValues(int index, PartitionValues value)

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

repeated .google.cloud.biglake.hive.v1beta.PartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value PartitionValues
Returns
Type Description
BatchDeletePartitionsRequest.Builder

addPartitionValues(int index, PartitionValues.Builder builderForValue)

public BatchDeletePartitionsRequest.Builder addPartitionValues(int index, PartitionValues.Builder builderForValue)

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

repeated .google.cloud.biglake.hive.v1beta.PartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue PartitionValues.Builder
Returns
Type Description
BatchDeletePartitionsRequest.Builder

addPartitionValuesBuilder()

public PartitionValues.Builder addPartitionValuesBuilder()

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

repeated .google.cloud.biglake.hive.v1beta.PartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PartitionValues.Builder

addPartitionValuesBuilder(int index)

public PartitionValues.Builder addPartitionValuesBuilder(int index)

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

repeated .google.cloud.biglake.hive.v1beta.PartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
PartitionValues.Builder

build()

public BatchDeletePartitionsRequest build()
Returns
Type Description
BatchDeletePartitionsRequest

buildPartial()

public BatchDeletePartitionsRequest buildPartial()
Returns
Type Description
BatchDeletePartitionsRequest

clear()

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

clearParent()

public BatchDeletePartitionsRequest.Builder clearParent()

Required. Reference to the table to which these partitions belong, in the format of projects/{project}/catalogs/{catalogs}/databases/{database}/tables/{table}.

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

Returns
Type Description
BatchDeletePartitionsRequest.Builder

This builder for chaining.

clearPartitionValues()

public BatchDeletePartitionsRequest.Builder clearPartitionValues()

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

repeated .google.cloud.biglake.hive.v1beta.PartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BatchDeletePartitionsRequest.Builder

getDefaultInstanceForType()

public BatchDeletePartitionsRequest getDefaultInstanceForType()
Returns
Type Description
BatchDeletePartitionsRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. Reference to the table to which these partitions belong, in the format of projects/{project}/catalogs/{catalogs}/databases/{database}/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 partitions belong, in the format of projects/{project}/catalogs/{catalogs}/databases/{database}/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 PartitionValues getPartitionValues(int index)

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

repeated .google.cloud.biglake.hive.v1beta.PartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
PartitionValues

getPartitionValuesBuilder(int index)

public PartitionValues.Builder getPartitionValuesBuilder(int index)

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

repeated .google.cloud.biglake.hive.v1beta.PartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
PartitionValues.Builder

getPartitionValuesBuilderList()

public List<PartitionValues.Builder> getPartitionValuesBuilderList()

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

repeated .google.cloud.biglake.hive.v1beta.PartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getPartitionValuesCount()

public int getPartitionValuesCount()

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

repeated .google.cloud.biglake.hive.v1beta.PartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getPartitionValuesList()

public List<PartitionValues> getPartitionValuesList()

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

repeated .google.cloud.biglake.hive.v1beta.PartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<PartitionValues>

getPartitionValuesOrBuilder(int index)

public PartitionValuesOrBuilder getPartitionValuesOrBuilder(int index)

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

repeated .google.cloud.biglake.hive.v1beta.PartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
PartitionValuesOrBuilder

getPartitionValuesOrBuilderList()

public List<? extends PartitionValuesOrBuilder> getPartitionValuesOrBuilderList()

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

repeated .google.cloud.biglake.hive.v1beta.PartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.biglake.hive.v1beta.PartitionValuesOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchDeletePartitionsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removePartitionValues(int index)

public BatchDeletePartitionsRequest.Builder removePartitionValues(int index)

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

repeated .google.cloud.biglake.hive.v1beta.PartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
BatchDeletePartitionsRequest.Builder

setParent(String value)

public BatchDeletePartitionsRequest.Builder setParent(String value)

Required. Reference to the table to which these partitions belong, in the format of projects/{project}/catalogs/{catalogs}/databases/{database}/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
BatchDeletePartitionsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchDeletePartitionsRequest.Builder setParentBytes(ByteString value)

Required. Reference to the table to which these partitions belong, in the format of projects/{project}/catalogs/{catalogs}/databases/{database}/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
BatchDeletePartitionsRequest.Builder

This builder for chaining.

setPartitionValues(int index, PartitionValues value)

public BatchDeletePartitionsRequest.Builder setPartitionValues(int index, PartitionValues value)

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

repeated .google.cloud.biglake.hive.v1beta.PartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value PartitionValues
Returns
Type Description
BatchDeletePartitionsRequest.Builder

setPartitionValues(int index, PartitionValues.Builder builderForValue)

public BatchDeletePartitionsRequest.Builder setPartitionValues(int index, PartitionValues.Builder builderForValue)

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

repeated .google.cloud.biglake.hive.v1beta.PartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue PartitionValues.Builder
Returns
Type Description
BatchDeletePartitionsRequest.Builder