Class BatchCreateRowsRequest.Builder (0.27.0)

public static final class BatchCreateRowsRequest.Builder extends GeneratedMessageV3.Builder<BatchCreateRowsRequest.Builder> implements BatchCreateRowsRequestOrBuilder

Request message for TablesService.BatchCreateRows.

Protobuf type google.area120.tables.v1alpha1.BatchCreateRowsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllRequests(Iterable<? extends CreateRowRequest> values)

public BatchCreateRowsRequest.Builder addAllRequests(Iterable<? extends CreateRowRequest> values)

Required. The request message specifying the rows to create.

A maximum of 500 rows can be created in a single batch.

repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuesIterable<? extends com.google.area120.tables.v1alpha1.CreateRowRequest>
Returns
TypeDescription
BatchCreateRowsRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchCreateRowsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchCreateRowsRequest.Builder
Overrides

addRequests(CreateRowRequest value)

public BatchCreateRowsRequest.Builder addRequests(CreateRowRequest value)

Required. The request message specifying the rows to create.

A maximum of 500 rows can be created in a single batch.

repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueCreateRowRequest
Returns
TypeDescription
BatchCreateRowsRequest.Builder

addRequests(CreateRowRequest.Builder builderForValue)

public BatchCreateRowsRequest.Builder addRequests(CreateRowRequest.Builder builderForValue)

Required. The request message specifying the rows to create.

A maximum of 500 rows can be created in a single batch.

repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueCreateRowRequest.Builder
Returns
TypeDescription
BatchCreateRowsRequest.Builder

addRequests(int index, CreateRowRequest value)

public BatchCreateRowsRequest.Builder addRequests(int index, CreateRowRequest value)

Required. The request message specifying the rows to create.

A maximum of 500 rows can be created in a single batch.

repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueCreateRowRequest
Returns
TypeDescription
BatchCreateRowsRequest.Builder

addRequests(int index, CreateRowRequest.Builder builderForValue)

public BatchCreateRowsRequest.Builder addRequests(int index, CreateRowRequest.Builder builderForValue)

Required. The request message specifying the rows to create.

A maximum of 500 rows can be created in a single batch.

repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueCreateRowRequest.Builder
Returns
TypeDescription
BatchCreateRowsRequest.Builder

addRequestsBuilder()

public CreateRowRequest.Builder addRequestsBuilder()

Required. The request message specifying the rows to create.

A maximum of 500 rows can be created in a single batch.

repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateRowRequest.Builder

addRequestsBuilder(int index)

public CreateRowRequest.Builder addRequestsBuilder(int index)

Required. The request message specifying the rows to create.

A maximum of 500 rows can be created in a single batch.

repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
CreateRowRequest.Builder

build()

public BatchCreateRowsRequest build()
Returns
TypeDescription
BatchCreateRowsRequest

buildPartial()

public BatchCreateRowsRequest buildPartial()
Returns
TypeDescription
BatchCreateRowsRequest

clear()

public BatchCreateRowsRequest.Builder clear()
Returns
TypeDescription
BatchCreateRowsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchCreateRowsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BatchCreateRowsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchCreateRowsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BatchCreateRowsRequest.Builder
Overrides

clearParent()

public BatchCreateRowsRequest.Builder clearParent()

Required. The parent table where the rows will be created. Format: tables/{table}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
BatchCreateRowsRequest.Builder

This builder for chaining.

clearRequests()

public BatchCreateRowsRequest.Builder clearRequests()

Required. The request message specifying the rows to create.

A maximum of 500 rows can be created in a single batch.

repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
BatchCreateRowsRequest.Builder

clone()

public BatchCreateRowsRequest.Builder clone()
Returns
TypeDescription
BatchCreateRowsRequest.Builder
Overrides

getDefaultInstanceForType()

public BatchCreateRowsRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchCreateRowsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

Required. The parent table where the rows will be created. Format: tables/{table}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent table where the rows will be created. Format: tables/{table}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for parent.

getRequests(int index)

public CreateRowRequest getRequests(int index)

Required. The request message specifying the rows to create.

A maximum of 500 rows can be created in a single batch.

repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
CreateRowRequest

getRequestsBuilder(int index)

public CreateRowRequest.Builder getRequestsBuilder(int index)

Required. The request message specifying the rows to create.

A maximum of 500 rows can be created in a single batch.

repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
CreateRowRequest.Builder

getRequestsBuilderList()

public List<CreateRowRequest.Builder> getRequestsBuilderList()

Required. The request message specifying the rows to create.

A maximum of 500 rows can be created in a single batch.

repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Builder>

getRequestsCount()

public int getRequestsCount()

Required. The request message specifying the rows to create.

A maximum of 500 rows can be created in a single batch.

repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getRequestsList()

public List<CreateRowRequest> getRequestsList()

Required. The request message specifying the rows to create.

A maximum of 500 rows can be created in a single batch.

repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<CreateRowRequest>

getRequestsOrBuilder(int index)

public CreateRowRequestOrBuilder getRequestsOrBuilder(int index)

Required. The request message specifying the rows to create.

A maximum of 500 rows can be created in a single batch.

repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
CreateRowRequestOrBuilder

getRequestsOrBuilderList()

public List<? extends CreateRowRequestOrBuilder> getRequestsOrBuilderList()

Required. The request message specifying the rows to create.

A maximum of 500 rows can be created in a single batch.

repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.area120.tables.v1alpha1.CreateRowRequestOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchCreateRowsRequest other)

public BatchCreateRowsRequest.Builder mergeFrom(BatchCreateRowsRequest other)
Parameter
NameDescription
otherBatchCreateRowsRequest
Returns
TypeDescription
BatchCreateRowsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchCreateRowsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCreateRowsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BatchCreateRowsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BatchCreateRowsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchCreateRowsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchCreateRowsRequest.Builder
Overrides

removeRequests(int index)

public BatchCreateRowsRequest.Builder removeRequests(int index)

Required. The request message specifying the rows to create.

A maximum of 500 rows can be created in a single batch.

repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchCreateRowsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchCreateRowsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchCreateRowsRequest.Builder
Overrides

setParent(String value)

public BatchCreateRowsRequest.Builder setParent(String value)

Required. The parent table where the rows will be created. Format: tables/{table}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
BatchCreateRowsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchCreateRowsRequest.Builder setParentBytes(ByteString value)

Required. The parent table where the rows will be created. Format: tables/{table}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
BatchCreateRowsRequest.Builder

This builder for chaining.

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

public BatchCreateRowsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BatchCreateRowsRequest.Builder
Overrides

setRequests(int index, CreateRowRequest value)

public BatchCreateRowsRequest.Builder setRequests(int index, CreateRowRequest value)

Required. The request message specifying the rows to create.

A maximum of 500 rows can be created in a single batch.

repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueCreateRowRequest
Returns
TypeDescription
BatchCreateRowsRequest.Builder

setRequests(int index, CreateRowRequest.Builder builderForValue)

public BatchCreateRowsRequest.Builder setRequests(int index, CreateRowRequest.Builder builderForValue)

Required. The request message specifying the rows to create.

A maximum of 500 rows can be created in a single batch.

repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueCreateRowRequest.Builder
Returns
TypeDescription
BatchCreateRowsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchCreateRowsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchCreateRowsRequest.Builder
Overrides