Class BatchUpdatePartitionsRequest.Builder (0.76.0)

public static final class BatchUpdatePartitionsRequest.Builder extends GeneratedMessage.Builder<BatchUpdatePartitionsRequest.Builder> implements BatchUpdatePartitionsRequestOrBuilder

Request message for BatchUpdatePartitions.

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

Static Methods

getDescriptor()

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

Methods

addAllRequests(Iterable<? extends UpdatePartitionRequest> values)

public BatchUpdatePartitionsRequest.Builder addAllRequests(Iterable<? extends UpdatePartitionRequest> values)

Required. Requests to update partitions in the table.

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

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

addRequests(UpdatePartitionRequest value)

public BatchUpdatePartitionsRequest.Builder addRequests(UpdatePartitionRequest value)

Required. Requests to update partitions in the table.

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

Parameter
Name Description
value UpdatePartitionRequest
Returns
Type Description
BatchUpdatePartitionsRequest.Builder

addRequests(UpdatePartitionRequest.Builder builderForValue)

public BatchUpdatePartitionsRequest.Builder addRequests(UpdatePartitionRequest.Builder builderForValue)

Required. Requests to update partitions in the table.

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

Parameter
Name Description
builderForValue UpdatePartitionRequest.Builder
Returns
Type Description
BatchUpdatePartitionsRequest.Builder

addRequests(int index, UpdatePartitionRequest value)

public BatchUpdatePartitionsRequest.Builder addRequests(int index, UpdatePartitionRequest value)

Required. Requests to update partitions in the table.

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

Parameters
Name Description
index int
value UpdatePartitionRequest
Returns
Type Description
BatchUpdatePartitionsRequest.Builder

addRequests(int index, UpdatePartitionRequest.Builder builderForValue)

public BatchUpdatePartitionsRequest.Builder addRequests(int index, UpdatePartitionRequest.Builder builderForValue)

Required. Requests to update partitions in the table.

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

Parameters
Name Description
index int
builderForValue UpdatePartitionRequest.Builder
Returns
Type Description
BatchUpdatePartitionsRequest.Builder

addRequestsBuilder()

public UpdatePartitionRequest.Builder addRequestsBuilder()

Required. Requests to update partitions in the table.

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

Returns
Type Description
UpdatePartitionRequest.Builder

addRequestsBuilder(int index)

public UpdatePartitionRequest.Builder addRequestsBuilder(int index)

Required. Requests to update partitions in the table.

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

Parameter
Name Description
index int
Returns
Type Description
UpdatePartitionRequest.Builder

build()

public BatchUpdatePartitionsRequest build()
Returns
Type Description
BatchUpdatePartitionsRequest

buildPartial()

public BatchUpdatePartitionsRequest buildPartial()
Returns
Type Description
BatchUpdatePartitionsRequest

clear()

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

clearParent()

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

This builder for chaining.

clearRequests()

public BatchUpdatePartitionsRequest.Builder clearRequests()

Required. Requests to update partitions in the table.

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

Returns
Type Description
BatchUpdatePartitionsRequest.Builder

getDefaultInstanceForType()

public BatchUpdatePartitionsRequest getDefaultInstanceForType()
Returns
Type Description
BatchUpdatePartitionsRequest

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.

getRequests(int index)

public UpdatePartitionRequest getRequests(int index)

Required. Requests to update partitions in the table.

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

Parameter
Name Description
index int
Returns
Type Description
UpdatePartitionRequest

getRequestsBuilder(int index)

public UpdatePartitionRequest.Builder getRequestsBuilder(int index)

Required. Requests to update partitions in the table.

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

Parameter
Name Description
index int
Returns
Type Description
UpdatePartitionRequest.Builder

getRequestsBuilderList()

public List<UpdatePartitionRequest.Builder> getRequestsBuilderList()

Required. Requests to update partitions in the table.

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

Returns
Type Description
List<Builder>

getRequestsCount()

public int getRequestsCount()

Required. Requests to update partitions in the table.

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

Returns
Type Description
int

getRequestsList()

public List<UpdatePartitionRequest> getRequestsList()

Required. Requests to update partitions in the table.

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

Returns
Type Description
List<UpdatePartitionRequest>

getRequestsOrBuilder(int index)

public UpdatePartitionRequestOrBuilder getRequestsOrBuilder(int index)

Required. Requests to update partitions in the table.

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

Parameter
Name Description
index int
Returns
Type Description
UpdatePartitionRequestOrBuilder

getRequestsOrBuilderList()

public List<? extends UpdatePartitionRequestOrBuilder> getRequestsOrBuilderList()

Required. Requests to update partitions in the table.

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

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchUpdatePartitionsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeRequests(int index)

public BatchUpdatePartitionsRequest.Builder removeRequests(int index)

Required. Requests to update partitions in the table.

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

Parameter
Name Description
index int
Returns
Type Description
BatchUpdatePartitionsRequest.Builder

setParent(String value)

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

This builder for chaining.

setParentBytes(ByteString value)

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

This builder for chaining.

setRequests(int index, UpdatePartitionRequest value)

public BatchUpdatePartitionsRequest.Builder setRequests(int index, UpdatePartitionRequest value)

Required. Requests to update partitions in the table.

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

Parameters
Name Description
index int
value UpdatePartitionRequest
Returns
Type Description
BatchUpdatePartitionsRequest.Builder

setRequests(int index, UpdatePartitionRequest.Builder builderForValue)

public BatchUpdatePartitionsRequest.Builder setRequests(int index, UpdatePartitionRequest.Builder builderForValue)

Required. Requests to update partitions in the table.

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

Parameters
Name Description
index int
builderForValue UpdatePartitionRequest.Builder
Returns
Type Description
BatchUpdatePartitionsRequest.Builder