Class BatchUpdateMetastorePartitionsRequest.Builder (3.9.1)

public static final class BatchUpdateMetastorePartitionsRequest.Builder extends GeneratedMessageV3.Builder<BatchUpdateMetastorePartitionsRequest.Builder> implements BatchUpdateMetastorePartitionsRequestOrBuilder

Request message for BatchUpdateMetastorePartitions.

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

Static Methods

getDescriptor()

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

Methods

addAllRequests(Iterable<? extends UpdateMetastorePartitionRequest> values)

public BatchUpdateMetastorePartitionsRequest.Builder addAllRequests(Iterable<? extends UpdateMetastorePartitionRequest> values)

Required. Requests to update metastore partitions in the table.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addRequests(UpdateMetastorePartitionRequest value)

public BatchUpdateMetastorePartitionsRequest.Builder addRequests(UpdateMetastorePartitionRequest value)

Required. Requests to update metastore partitions in the table.

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

Parameter
Name Description
value UpdateMetastorePartitionRequest
Returns
Type Description
BatchUpdateMetastorePartitionsRequest.Builder

addRequests(UpdateMetastorePartitionRequest.Builder builderForValue)

public BatchUpdateMetastorePartitionsRequest.Builder addRequests(UpdateMetastorePartitionRequest.Builder builderForValue)

Required. Requests to update metastore partitions in the table.

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

Parameter
Name Description
builderForValue UpdateMetastorePartitionRequest.Builder
Returns
Type Description
BatchUpdateMetastorePartitionsRequest.Builder

addRequests(int index, UpdateMetastorePartitionRequest value)

public BatchUpdateMetastorePartitionsRequest.Builder addRequests(int index, UpdateMetastorePartitionRequest value)

Required. Requests to update metastore partitions in the table.

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

Parameters
Name Description
index int
value UpdateMetastorePartitionRequest
Returns
Type Description
BatchUpdateMetastorePartitionsRequest.Builder

addRequests(int index, UpdateMetastorePartitionRequest.Builder builderForValue)

public BatchUpdateMetastorePartitionsRequest.Builder addRequests(int index, UpdateMetastorePartitionRequest.Builder builderForValue)

Required. Requests to update metastore partitions in the table.

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

Parameters
Name Description
index int
builderForValue UpdateMetastorePartitionRequest.Builder
Returns
Type Description
BatchUpdateMetastorePartitionsRequest.Builder

addRequestsBuilder()

public UpdateMetastorePartitionRequest.Builder addRequestsBuilder()

Required. Requests to update metastore partitions in the table.

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

Returns
Type Description
UpdateMetastorePartitionRequest.Builder

addRequestsBuilder(int index)

public UpdateMetastorePartitionRequest.Builder addRequestsBuilder(int index)

Required. Requests to update metastore partitions in the table.

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

Parameter
Name Description
index int
Returns
Type Description
UpdateMetastorePartitionRequest.Builder

build()

public BatchUpdateMetastorePartitionsRequest build()
Returns
Type Description
BatchUpdateMetastorePartitionsRequest

buildPartial()

public BatchUpdateMetastorePartitionsRequest buildPartial()
Returns
Type Description
BatchUpdateMetastorePartitionsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public BatchUpdateMetastorePartitionsRequest.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
BatchUpdateMetastorePartitionsRequest.Builder

This builder for chaining.

clearRequests()

public BatchUpdateMetastorePartitionsRequest.Builder clearRequests()

Required. Requests to update metastore partitions in the table.

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

Returns
Type Description
BatchUpdateMetastorePartitionsRequest.Builder

clone()

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

getDefaultInstanceForType()

public BatchUpdateMetastorePartitionsRequest getDefaultInstanceForType()
Returns
Type Description
BatchUpdateMetastorePartitionsRequest

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.

getRequests(int index)

public UpdateMetastorePartitionRequest getRequests(int index)

Required. Requests to update metastore partitions in the table.

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

Parameter
Name Description
index int
Returns
Type Description
UpdateMetastorePartitionRequest

getRequestsBuilder(int index)

public UpdateMetastorePartitionRequest.Builder getRequestsBuilder(int index)

Required. Requests to update metastore partitions in the table.

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

Parameter
Name Description
index int
Returns
Type Description
UpdateMetastorePartitionRequest.Builder

getRequestsBuilderList()

public List<UpdateMetastorePartitionRequest.Builder> getRequestsBuilderList()

Required. Requests to update metastore partitions in the table.

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

Returns
Type Description
List<Builder>

getRequestsCount()

public int getRequestsCount()

Required. Requests to update metastore partitions in the table.

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

Returns
Type Description
int

getRequestsList()

public List<UpdateMetastorePartitionRequest> getRequestsList()

Required. Requests to update metastore partitions in the table.

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

Returns
Type Description
List<UpdateMetastorePartitionRequest>

getRequestsOrBuilder(int index)

public UpdateMetastorePartitionRequestOrBuilder getRequestsOrBuilder(int index)

Required. Requests to update metastore partitions in the table.

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

Parameter
Name Description
index int
Returns
Type Description
UpdateMetastorePartitionRequestOrBuilder

getRequestsOrBuilderList()

public List<? extends UpdateMetastorePartitionRequestOrBuilder> getRequestsOrBuilderList()

Required. Requests to update metastore partitions in the table.

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

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchUpdateMetastorePartitionsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeRequests(int index)

public BatchUpdateMetastorePartitionsRequest.Builder removeRequests(int index)

Required. Requests to update metastore partitions in the table.

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

Parameter
Name Description
index int
Returns
Type Description
BatchUpdateMetastorePartitionsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public BatchUpdateMetastorePartitionsRequest.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
BatchUpdateMetastorePartitionsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchUpdateMetastorePartitionsRequest.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
BatchUpdateMetastorePartitionsRequest.Builder

This builder for chaining.

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

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

setRequests(int index, UpdateMetastorePartitionRequest value)

public BatchUpdateMetastorePartitionsRequest.Builder setRequests(int index, UpdateMetastorePartitionRequest value)

Required. Requests to update metastore partitions in the table.

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

Parameters
Name Description
index int
value UpdateMetastorePartitionRequest
Returns
Type Description
BatchUpdateMetastorePartitionsRequest.Builder

setRequests(int index, UpdateMetastorePartitionRequest.Builder builderForValue)

public BatchUpdateMetastorePartitionsRequest.Builder setRequests(int index, UpdateMetastorePartitionRequest.Builder builderForValue)

Required. Requests to update metastore partitions in the table.

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

Parameters
Name Description
index int
builderForValue UpdateMetastorePartitionRequest.Builder
Returns
Type Description
BatchUpdateMetastorePartitionsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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