Class ReadModifyWriteRowRequest.Builder (2.13.0)

public static final class ReadModifyWriteRowRequest.Builder extends GeneratedMessageV3.Builder<ReadModifyWriteRowRequest.Builder> implements ReadModifyWriteRowRequestOrBuilder

Request message for Bigtable.ReadModifyWriteRow.

Protobuf type google.bigtable.v2.ReadModifyWriteRowRequest

Static Methods

getDescriptor()

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

Methods

addAllRules(Iterable<? extends ReadModifyWriteRule> values)

public ReadModifyWriteRowRequest.Builder addAllRules(Iterable<? extends ReadModifyWriteRule> values)

Required. Rules specifying how the specified row's contents are to be transformed into writes. Entries are applied in order, meaning that earlier rules will affect the results of later ones.

repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuesIterable<? extends com.google.bigtable.v2.ReadModifyWriteRule>
Returns
TypeDescription
ReadModifyWriteRowRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addRules(ReadModifyWriteRule value)

public ReadModifyWriteRowRequest.Builder addRules(ReadModifyWriteRule value)

Required. Rules specifying how the specified row's contents are to be transformed into writes. Entries are applied in order, meaning that earlier rules will affect the results of later ones.

repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueReadModifyWriteRule
Returns
TypeDescription
ReadModifyWriteRowRequest.Builder

addRules(ReadModifyWriteRule.Builder builderForValue)

public ReadModifyWriteRowRequest.Builder addRules(ReadModifyWriteRule.Builder builderForValue)

Required. Rules specifying how the specified row's contents are to be transformed into writes. Entries are applied in order, meaning that earlier rules will affect the results of later ones.

repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueReadModifyWriteRule.Builder
Returns
TypeDescription
ReadModifyWriteRowRequest.Builder

addRules(int index, ReadModifyWriteRule value)

public ReadModifyWriteRowRequest.Builder addRules(int index, ReadModifyWriteRule value)

Required. Rules specifying how the specified row's contents are to be transformed into writes. Entries are applied in order, meaning that earlier rules will affect the results of later ones.

repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueReadModifyWriteRule
Returns
TypeDescription
ReadModifyWriteRowRequest.Builder

addRules(int index, ReadModifyWriteRule.Builder builderForValue)

public ReadModifyWriteRowRequest.Builder addRules(int index, ReadModifyWriteRule.Builder builderForValue)

Required. Rules specifying how the specified row's contents are to be transformed into writes. Entries are applied in order, meaning that earlier rules will affect the results of later ones.

repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueReadModifyWriteRule.Builder
Returns
TypeDescription
ReadModifyWriteRowRequest.Builder

addRulesBuilder()

public ReadModifyWriteRule.Builder addRulesBuilder()

Required. Rules specifying how the specified row's contents are to be transformed into writes. Entries are applied in order, meaning that earlier rules will affect the results of later ones.

repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ReadModifyWriteRule.Builder

addRulesBuilder(int index)

public ReadModifyWriteRule.Builder addRulesBuilder(int index)

Required. Rules specifying how the specified row's contents are to be transformed into writes. Entries are applied in order, meaning that earlier rules will affect the results of later ones.

repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
ReadModifyWriteRule.Builder

build()

public ReadModifyWriteRowRequest build()
Returns
TypeDescription
ReadModifyWriteRowRequest

buildPartial()

public ReadModifyWriteRowRequest buildPartial()
Returns
TypeDescription
ReadModifyWriteRowRequest

clear()

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

clearAppProfileId()

public ReadModifyWriteRowRequest.Builder clearAppProfileId()

This value specifies routing for replication. If not specified, the "default" application profile will be used.

string app_profile_id = 4;

Returns
TypeDescription
ReadModifyWriteRowRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRowKey()

public ReadModifyWriteRowRequest.Builder clearRowKey()

Required. The key of the row to which the read/modify/write rules should be applied.

bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ReadModifyWriteRowRequest.Builder

This builder for chaining.

clearRules()

public ReadModifyWriteRowRequest.Builder clearRules()

Required. Rules specifying how the specified row's contents are to be transformed into writes. Entries are applied in order, meaning that earlier rules will affect the results of later ones.

repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ReadModifyWriteRowRequest.Builder

clearTableName()

public ReadModifyWriteRowRequest.Builder clearTableName()

Required. The unique name of the table to which the read/modify/write rules should be applied. Values are of the form projects/<project>/instances/<instance>/tables/<table>.

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

Returns
TypeDescription
ReadModifyWriteRowRequest.Builder

This builder for chaining.

clone()

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

getAppProfileId()

public String getAppProfileId()

This value specifies routing for replication. If not specified, the "default" application profile will be used.

string app_profile_id = 4;

Returns
TypeDescription
String

The appProfileId.

getAppProfileIdBytes()

public ByteString getAppProfileIdBytes()

This value specifies routing for replication. If not specified, the "default" application profile will be used.

string app_profile_id = 4;

Returns
TypeDescription
ByteString

The bytes for appProfileId.

getDefaultInstanceForType()

public ReadModifyWriteRowRequest getDefaultInstanceForType()
Returns
TypeDescription
ReadModifyWriteRowRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRowKey()

public ByteString getRowKey()

Required. The key of the row to which the read/modify/write rules should be applied.

bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The rowKey.

getRules(int index)

public ReadModifyWriteRule getRules(int index)

Required. Rules specifying how the specified row's contents are to be transformed into writes. Entries are applied in order, meaning that earlier rules will affect the results of later ones.

repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
ReadModifyWriteRule

getRulesBuilder(int index)

public ReadModifyWriteRule.Builder getRulesBuilder(int index)

Required. Rules specifying how the specified row's contents are to be transformed into writes. Entries are applied in order, meaning that earlier rules will affect the results of later ones.

repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
ReadModifyWriteRule.Builder

getRulesBuilderList()

public List<ReadModifyWriteRule.Builder> getRulesBuilderList()

Required. Rules specifying how the specified row's contents are to be transformed into writes. Entries are applied in order, meaning that earlier rules will affect the results of later ones.

repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Builder>

getRulesCount()

public int getRulesCount()

Required. Rules specifying how the specified row's contents are to be transformed into writes. Entries are applied in order, meaning that earlier rules will affect the results of later ones.

repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getRulesList()

public List<ReadModifyWriteRule> getRulesList()

Required. Rules specifying how the specified row's contents are to be transformed into writes. Entries are applied in order, meaning that earlier rules will affect the results of later ones.

repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<ReadModifyWriteRule>

getRulesOrBuilder(int index)

public ReadModifyWriteRuleOrBuilder getRulesOrBuilder(int index)

Required. Rules specifying how the specified row's contents are to be transformed into writes. Entries are applied in order, meaning that earlier rules will affect the results of later ones.

repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
ReadModifyWriteRuleOrBuilder

getRulesOrBuilderList()

public List<? extends ReadModifyWriteRuleOrBuilder> getRulesOrBuilderList()

Required. Rules specifying how the specified row's contents are to be transformed into writes. Entries are applied in order, meaning that earlier rules will affect the results of later ones.

repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder>

getTableName()

public String getTableName()

Required. The unique name of the table to which the read/modify/write rules should be applied. Values are of the form projects/<project>/instances/<instance>/tables/<table>.

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

Returns
TypeDescription
String

The tableName.

getTableNameBytes()

public ByteString getTableNameBytes()

Required. The unique name of the table to which the read/modify/write rules should be applied. Values are of the form projects/<project>/instances/<instance>/tables/<table>.

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

Returns
TypeDescription
ByteString

The bytes for tableName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReadModifyWriteRowRequest other)

public ReadModifyWriteRowRequest.Builder mergeFrom(ReadModifyWriteRowRequest other)
Parameter
NameDescription
otherReadModifyWriteRowRequest
Returns
TypeDescription
ReadModifyWriteRowRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeRules(int index)

public ReadModifyWriteRowRequest.Builder removeRules(int index)

Required. Rules specifying how the specified row's contents are to be transformed into writes. Entries are applied in order, meaning that earlier rules will affect the results of later ones.

repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
ReadModifyWriteRowRequest.Builder

setAppProfileId(String value)

public ReadModifyWriteRowRequest.Builder setAppProfileId(String value)

This value specifies routing for replication. If not specified, the "default" application profile will be used.

string app_profile_id = 4;

Parameter
NameDescription
valueString

The appProfileId to set.

Returns
TypeDescription
ReadModifyWriteRowRequest.Builder

This builder for chaining.

setAppProfileIdBytes(ByteString value)

public ReadModifyWriteRowRequest.Builder setAppProfileIdBytes(ByteString value)

This value specifies routing for replication. If not specified, the "default" application profile will be used.

string app_profile_id = 4;

Parameter
NameDescription
valueByteString

The bytes for appProfileId to set.

Returns
TypeDescription
ReadModifyWriteRowRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRowKey(ByteString value)

public ReadModifyWriteRowRequest.Builder setRowKey(ByteString value)

Required. The key of the row to which the read/modify/write rules should be applied.

bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The rowKey to set.

Returns
TypeDescription
ReadModifyWriteRowRequest.Builder

This builder for chaining.

setRules(int index, ReadModifyWriteRule value)

public ReadModifyWriteRowRequest.Builder setRules(int index, ReadModifyWriteRule value)

Required. Rules specifying how the specified row's contents are to be transformed into writes. Entries are applied in order, meaning that earlier rules will affect the results of later ones.

repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueReadModifyWriteRule
Returns
TypeDescription
ReadModifyWriteRowRequest.Builder

setRules(int index, ReadModifyWriteRule.Builder builderForValue)

public ReadModifyWriteRowRequest.Builder setRules(int index, ReadModifyWriteRule.Builder builderForValue)

Required. Rules specifying how the specified row's contents are to be transformed into writes. Entries are applied in order, meaning that earlier rules will affect the results of later ones.

repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueReadModifyWriteRule.Builder
Returns
TypeDescription
ReadModifyWriteRowRequest.Builder

setTableName(String value)

public ReadModifyWriteRowRequest.Builder setTableName(String value)

Required. The unique name of the table to which the read/modify/write rules should be applied. Values are of the form projects/<project>/instances/<instance>/tables/<table>.

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

Parameter
NameDescription
valueString

The tableName to set.

Returns
TypeDescription
ReadModifyWriteRowRequest.Builder

This builder for chaining.

setTableNameBytes(ByteString value)

public ReadModifyWriteRowRequest.Builder setTableNameBytes(ByteString value)

Required. The unique name of the table to which the read/modify/write rules should be applied. Values are of the form projects/<project>/instances/<instance>/tables/<table>.

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

Parameter
NameDescription
valueByteString

The bytes for tableName to set.

Returns
TypeDescription
ReadModifyWriteRowRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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