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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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>
|
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];
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];
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];
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];
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];
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
|
public BatchDeleteMetastorePartitionsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BatchDeleteMetastorePartitionsRequest build()
public BatchDeleteMetastorePartitionsRequest buildPartial()
public BatchDeleteMetastorePartitionsRequest.Builder clear()
Overrides
public BatchDeleteMetastorePartitionsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public BatchDeleteMetastorePartitionsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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) = { ... }
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];
public BatchDeleteMetastorePartitionsRequest.Builder clone()
Overrides
public BatchDeleteMetastorePartitionsRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
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
|
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
|
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];
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 |
|
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];
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
|
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> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public BatchDeleteMetastorePartitionsRequest.Builder mergeFrom(BatchDeleteMetastorePartitionsRequest other)
public BatchDeleteMetastorePartitionsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public BatchDeleteMetastorePartitionsRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final BatchDeleteMetastorePartitionsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
public BatchDeleteMetastorePartitionsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
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.
|
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];
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];
public BatchDeleteMetastorePartitionsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final BatchDeleteMetastorePartitionsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides