Class BulkReplaceDataTableRowsRequest.Builder (0.29.0)

public static final class BulkReplaceDataTableRowsRequest.Builder extends GeneratedMessage.Builder<BulkReplaceDataTableRowsRequest.Builder> implements BulkReplaceDataTableRowsRequestOrBuilder

Request to replace data table rows in bulk.

Protobuf type google.cloud.chronicle.v1.BulkReplaceDataTableRowsRequest

Static Methods

getDescriptor()

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

Methods

addAllRequests(Iterable<? extends CreateDataTableRowRequest> values)

public BulkReplaceDataTableRowsRequest.Builder addAllRequests(Iterable<? extends CreateDataTableRowRequest> values)

Required. Data table rows to replace the existing data table rows. A maximum of 1000 rows (for sync requests) or 2000 rows (for async requests) can be replaced in a single request. Total size of the rows should be less than 4MB.

repeated .google.cloud.chronicle.v1.CreateDataTableRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.chronicle.v1.CreateDataTableRowRequest>
Returns
Type Description
BulkReplaceDataTableRowsRequest.Builder

addRequests(CreateDataTableRowRequest value)

public BulkReplaceDataTableRowsRequest.Builder addRequests(CreateDataTableRowRequest value)

Required. Data table rows to replace the existing data table rows. A maximum of 1000 rows (for sync requests) or 2000 rows (for async requests) can be replaced in a single request. Total size of the rows should be less than 4MB.

repeated .google.cloud.chronicle.v1.CreateDataTableRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CreateDataTableRowRequest
Returns
Type Description
BulkReplaceDataTableRowsRequest.Builder

addRequests(CreateDataTableRowRequest.Builder builderForValue)

public BulkReplaceDataTableRowsRequest.Builder addRequests(CreateDataTableRowRequest.Builder builderForValue)

Required. Data table rows to replace the existing data table rows. A maximum of 1000 rows (for sync requests) or 2000 rows (for async requests) can be replaced in a single request. Total size of the rows should be less than 4MB.

repeated .google.cloud.chronicle.v1.CreateDataTableRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue CreateDataTableRowRequest.Builder
Returns
Type Description
BulkReplaceDataTableRowsRequest.Builder

addRequests(int index, CreateDataTableRowRequest value)

public BulkReplaceDataTableRowsRequest.Builder addRequests(int index, CreateDataTableRowRequest value)

Required. Data table rows to replace the existing data table rows. A maximum of 1000 rows (for sync requests) or 2000 rows (for async requests) can be replaced in a single request. Total size of the rows should be less than 4MB.

repeated .google.cloud.chronicle.v1.CreateDataTableRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value CreateDataTableRowRequest
Returns
Type Description
BulkReplaceDataTableRowsRequest.Builder

addRequests(int index, CreateDataTableRowRequest.Builder builderForValue)

public BulkReplaceDataTableRowsRequest.Builder addRequests(int index, CreateDataTableRowRequest.Builder builderForValue)

Required. Data table rows to replace the existing data table rows. A maximum of 1000 rows (for sync requests) or 2000 rows (for async requests) can be replaced in a single request. Total size of the rows should be less than 4MB.

repeated .google.cloud.chronicle.v1.CreateDataTableRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue CreateDataTableRowRequest.Builder
Returns
Type Description
BulkReplaceDataTableRowsRequest.Builder

addRequestsBuilder()

public CreateDataTableRowRequest.Builder addRequestsBuilder()

Required. Data table rows to replace the existing data table rows. A maximum of 1000 rows (for sync requests) or 2000 rows (for async requests) can be replaced in a single request. Total size of the rows should be less than 4MB.

repeated .google.cloud.chronicle.v1.CreateDataTableRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateDataTableRowRequest.Builder

addRequestsBuilder(int index)

public CreateDataTableRowRequest.Builder addRequestsBuilder(int index)

Required. Data table rows to replace the existing data table rows. A maximum of 1000 rows (for sync requests) or 2000 rows (for async requests) can be replaced in a single request. Total size of the rows should be less than 4MB.

repeated .google.cloud.chronicle.v1.CreateDataTableRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateDataTableRowRequest.Builder

build()

public BulkReplaceDataTableRowsRequest build()
Returns
Type Description
BulkReplaceDataTableRowsRequest

buildPartial()

public BulkReplaceDataTableRowsRequest buildPartial()
Returns
Type Description
BulkReplaceDataTableRowsRequest

clear()

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

clearParent()

public BulkReplaceDataTableRowsRequest.Builder clearParent()

Required. The resource id of the data table. Format: /projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
BulkReplaceDataTableRowsRequest.Builder

This builder for chaining.

clearRequests()

public BulkReplaceDataTableRowsRequest.Builder clearRequests()

Required. Data table rows to replace the existing data table rows. A maximum of 1000 rows (for sync requests) or 2000 rows (for async requests) can be replaced in a single request. Total size of the rows should be less than 4MB.

repeated .google.cloud.chronicle.v1.CreateDataTableRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BulkReplaceDataTableRowsRequest.Builder

getDefaultInstanceForType()

public BulkReplaceDataTableRowsRequest getDefaultInstanceForType()
Returns
Type Description
BulkReplaceDataTableRowsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Required. The resource id of the data table. Format: /projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource id of the data table. Format: /projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_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 CreateDataTableRowRequest getRequests(int index)

Required. Data table rows to replace the existing data table rows. A maximum of 1000 rows (for sync requests) or 2000 rows (for async requests) can be replaced in a single request. Total size of the rows should be less than 4MB.

repeated .google.cloud.chronicle.v1.CreateDataTableRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateDataTableRowRequest

getRequestsBuilder(int index)

public CreateDataTableRowRequest.Builder getRequestsBuilder(int index)

Required. Data table rows to replace the existing data table rows. A maximum of 1000 rows (for sync requests) or 2000 rows (for async requests) can be replaced in a single request. Total size of the rows should be less than 4MB.

repeated .google.cloud.chronicle.v1.CreateDataTableRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateDataTableRowRequest.Builder

getRequestsBuilderList()

public List<CreateDataTableRowRequest.Builder> getRequestsBuilderList()

Required. Data table rows to replace the existing data table rows. A maximum of 1000 rows (for sync requests) or 2000 rows (for async requests) can be replaced in a single request. Total size of the rows should be less than 4MB.

repeated .google.cloud.chronicle.v1.CreateDataTableRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getRequestsCount()

public int getRequestsCount()

Required. Data table rows to replace the existing data table rows. A maximum of 1000 rows (for sync requests) or 2000 rows (for async requests) can be replaced in a single request. Total size of the rows should be less than 4MB.

repeated .google.cloud.chronicle.v1.CreateDataTableRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getRequestsList()

public List<CreateDataTableRowRequest> getRequestsList()

Required. Data table rows to replace the existing data table rows. A maximum of 1000 rows (for sync requests) or 2000 rows (for async requests) can be replaced in a single request. Total size of the rows should be less than 4MB.

repeated .google.cloud.chronicle.v1.CreateDataTableRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<CreateDataTableRowRequest>

getRequestsOrBuilder(int index)

public CreateDataTableRowRequestOrBuilder getRequestsOrBuilder(int index)

Required. Data table rows to replace the existing data table rows. A maximum of 1000 rows (for sync requests) or 2000 rows (for async requests) can be replaced in a single request. Total size of the rows should be less than 4MB.

repeated .google.cloud.chronicle.v1.CreateDataTableRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateDataTableRowRequestOrBuilder

getRequestsOrBuilderList()

public List<? extends CreateDataTableRowRequestOrBuilder> getRequestsOrBuilderList()

Required. Data table rows to replace the existing data table rows. A maximum of 1000 rows (for sync requests) or 2000 rows (for async requests) can be replaced in a single request. Total size of the rows should be less than 4MB.

repeated .google.cloud.chronicle.v1.CreateDataTableRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.chronicle.v1.CreateDataTableRowRequestOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BulkReplaceDataTableRowsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeRequests(int index)

public BulkReplaceDataTableRowsRequest.Builder removeRequests(int index)

Required. Data table rows to replace the existing data table rows. A maximum of 1000 rows (for sync requests) or 2000 rows (for async requests) can be replaced in a single request. Total size of the rows should be less than 4MB.

repeated .google.cloud.chronicle.v1.CreateDataTableRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
BulkReplaceDataTableRowsRequest.Builder

setParent(String value)

public BulkReplaceDataTableRowsRequest.Builder setParent(String value)

Required. The resource id of the data table. Format: /projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_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
BulkReplaceDataTableRowsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BulkReplaceDataTableRowsRequest.Builder setParentBytes(ByteString value)

Required. The resource id of the data table. Format: /projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_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
BulkReplaceDataTableRowsRequest.Builder

This builder for chaining.

setRequests(int index, CreateDataTableRowRequest value)

public BulkReplaceDataTableRowsRequest.Builder setRequests(int index, CreateDataTableRowRequest value)

Required. Data table rows to replace the existing data table rows. A maximum of 1000 rows (for sync requests) or 2000 rows (for async requests) can be replaced in a single request. Total size of the rows should be less than 4MB.

repeated .google.cloud.chronicle.v1.CreateDataTableRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value CreateDataTableRowRequest
Returns
Type Description
BulkReplaceDataTableRowsRequest.Builder

setRequests(int index, CreateDataTableRowRequest.Builder builderForValue)

public BulkReplaceDataTableRowsRequest.Builder setRequests(int index, CreateDataTableRowRequest.Builder builderForValue)

Required. Data table rows to replace the existing data table rows. A maximum of 1000 rows (for sync requests) or 2000 rows (for async requests) can be replaced in a single request. Total size of the rows should be less than 4MB.

repeated .google.cloud.chronicle.v1.CreateDataTableRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue CreateDataTableRowRequest.Builder
Returns
Type Description
BulkReplaceDataTableRowsRequest.Builder