public static final class BatchDeleteMetastorePartitionsRequest.Builder extends GeneratedMessage.Builder<BatchDeleteMetastorePartitionsRequest.Builder> implements BatchDeleteMetastorePartitionsRequestOrBuilderRequest 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BatchDeleteMetastorePartitionsRequest.BuilderStatic 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 900 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 900 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 900 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 900 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 900 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 900 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 900 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 |
|
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 |
|
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 900 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 |
|
clearTraceId()
public BatchDeleteMetastorePartitionsRequest.Builder clearTraceId() Optional. Optional trace id to be used for debugging. It is expected that
the client sets the same trace_id for all the batches in the same
operation, so that it is possible to tie together the logs to all the
batches in the same operation. This is expected, but not required, to be
globally unique.
string trace_id = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BatchDeleteMetastorePartitionsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public BatchDeleteMetastorePartitionsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BatchDeleteMetastorePartitionsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 900 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 900 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 900 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 900 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 900 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 900 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 900 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> |
|
getTraceId()
public String getTraceId() Optional. Optional trace id to be used for debugging. It is expected that
the client sets the same trace_id for all the batches in the same
operation, so that it is possible to tie together the logs to all the
batches in the same operation. This is expected, but not required, to be
globally unique.
string trace_id = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The traceId. |
getTraceIdBytes()
public ByteString getTraceIdBytes() Optional. Optional trace id to be used for debugging. It is expected that
the client sets the same trace_id for all the batches in the same
operation, so that it is possible to tie together the logs to all the
batches in the same operation. This is expected, but not required, to be
globally unique.
string trace_id = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for traceId. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BatchDeleteMetastorePartitionsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BatchDeleteMetastorePartitionsRequest.Builder |
|
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 900 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 |
|
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 |
StringThe 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 |
ByteStringThe 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 900 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 900 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 |
|
setTraceId(String value)
public BatchDeleteMetastorePartitionsRequest.Builder setTraceId(String value) Optional. Optional trace id to be used for debugging. It is expected that
the client sets the same trace_id for all the batches in the same
operation, so that it is possible to tie together the logs to all the
batches in the same operation. This is expected, but not required, to be
globally unique.
string trace_id = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe traceId to set. |
| Returns | |
|---|---|
| Type | Description |
BatchDeleteMetastorePartitionsRequest.Builder |
This builder for chaining. |
setTraceIdBytes(ByteString value)
public BatchDeleteMetastorePartitionsRequest.Builder setTraceIdBytes(ByteString value) Optional. Optional trace id to be used for debugging. It is expected that
the client sets the same trace_id for all the batches in the same
operation, so that it is possible to tie together the logs to all the
batches in the same operation. This is expected, but not required, to be
globally unique.
string trace_id = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for traceId to set. |
| Returns | |
|---|---|
| Type | Description |
BatchDeleteMetastorePartitionsRequest.Builder |
This builder for chaining. |