Class ReadModifyWriteRowRequest (2.12.0)

public final class ReadModifyWriteRowRequest extends GeneratedMessageV3 implements ReadModifyWriteRowRequestOrBuilder

Request message for Bigtable.ReadModifyWriteRow.

Protobuf type google.bigtable.v2.ReadModifyWriteRowRequest

Static Fields

APP_PROFILE_ID_FIELD_NUMBER

public static final int APP_PROFILE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

ROW_KEY_FIELD_NUMBER

public static final int ROW_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

RULES_FIELD_NUMBER

public static final int RULES_FIELD_NUMBER
Field Value
TypeDescription
int

TABLE_NAME_FIELD_NUMBER

public static final int TABLE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReadModifyWriteRowRequest getDefaultInstance()
Returns
TypeDescription
ReadModifyWriteRowRequest

getDescriptor()

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

newBuilder()

public static ReadModifyWriteRowRequest.Builder newBuilder()
Returns
TypeDescription
ReadModifyWriteRowRequest.Builder

newBuilder(ReadModifyWriteRowRequest prototype)

public static ReadModifyWriteRowRequest.Builder newBuilder(ReadModifyWriteRowRequest prototype)
Parameter
NameDescription
prototypeReadModifyWriteRowRequest
Returns
TypeDescription
ReadModifyWriteRowRequest.Builder

parseDelimitedFrom(InputStream input)

public static ReadModifyWriteRowRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReadModifyWriteRowRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReadModifyWriteRowRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReadModifyWriteRowRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ReadModifyWriteRowRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ReadModifyWriteRowRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReadModifyWriteRowRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReadModifyWriteRowRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReadModifyWriteRowRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ReadModifyWriteRowRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReadModifyWriteRowRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReadModifyWriteRowRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReadModifyWriteRowRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ReadModifyWriteRowRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReadModifyWriteRowRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReadModifyWriteRowRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ReadModifyWriteRowRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReadModifyWriteRowRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReadModifyWriteRowRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReadModifyWriteRowRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ReadModifyWriteRowRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ReadModifyWriteRowRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReadModifyWriteRowRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReadModifyWriteRowRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ReadModifyWriteRowRequest> parser()
Returns
TypeDescription
Parser<ReadModifyWriteRowRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

getParserForType()

public Parser<ReadModifyWriteRowRequest> getParserForType()
Returns
TypeDescription
Parser<ReadModifyWriteRowRequest>
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

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>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ReadModifyWriteRowRequest.Builder newBuilderForType()
Returns
TypeDescription
ReadModifyWriteRowRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReadModifyWriteRowRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ReadModifyWriteRowRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ReadModifyWriteRowRequest.Builder toBuilder()
Returns
TypeDescription
ReadModifyWriteRowRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException