Class ReadModifyWriteRule (2.10.3)

public final class ReadModifyWriteRule extends GeneratedMessageV3 implements ReadModifyWriteRuleOrBuilder

Specifies an atomic read/modify/write operation on the latest value of the specified column.

Protobuf type google.bigtable.v2.ReadModifyWriteRule

Static Fields

APPEND_VALUE_FIELD_NUMBER

public static final int APPEND_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

COLUMN_QUALIFIER_FIELD_NUMBER

public static final int COLUMN_QUALIFIER_FIELD_NUMBER
Field Value
TypeDescription
int

FAMILY_NAME_FIELD_NUMBER

public static final int FAMILY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

INCREMENT_AMOUNT_FIELD_NUMBER

public static final int INCREMENT_AMOUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReadModifyWriteRule getDefaultInstance()
Returns
TypeDescription
ReadModifyWriteRule

getDescriptor()

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

newBuilder()

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

newBuilder(ReadModifyWriteRule prototype)

public static ReadModifyWriteRule.Builder newBuilder(ReadModifyWriteRule prototype)
Parameter
NameDescription
prototypeReadModifyWriteRule
Returns
TypeDescription
ReadModifyWriteRule.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAppendValue()

public ByteString getAppendValue()

Rule specifying that append_value be appended to the existing value. If the targeted cell is unset, it will be treated as containing the empty string.

bytes append_value = 3;

Returns
TypeDescription
ByteString

The appendValue.

getColumnQualifier()

public ByteString getColumnQualifier()

The qualifier of the column to which the read/modify/write should be applied. Can be any byte string, including the empty string.

bytes column_qualifier = 2;

Returns
TypeDescription
ByteString

The columnQualifier.

getDefaultInstanceForType()

public ReadModifyWriteRule getDefaultInstanceForType()
Returns
TypeDescription
ReadModifyWriteRule

getFamilyName()

public String getFamilyName()

The name of the family to which the read/modify/write should be applied. Must match [-_.a-zA-Z0-9]+

string family_name = 1;

Returns
TypeDescription
String

The familyName.

getFamilyNameBytes()

public ByteString getFamilyNameBytes()

The name of the family to which the read/modify/write should be applied. Must match [-_.a-zA-Z0-9]+

string family_name = 1;

Returns
TypeDescription
ByteString

The bytes for familyName.

getIncrementAmount()

public long getIncrementAmount()

Rule specifying that increment_amount be added to the existing value. If the targeted cell is unset, it will be treated as containing a zero. Otherwise, the targeted cell must contain an 8-byte value (interpreted as a 64-bit big-endian signed integer), or the entire request will fail.

int64 increment_amount = 4;

Returns
TypeDescription
long

The incrementAmount.

getParserForType()

public Parser<ReadModifyWriteRule> getParserForType()
Returns
TypeDescription
Parser<ReadModifyWriteRule>
Overrides

getRuleCase()

public ReadModifyWriteRule.RuleCase getRuleCase()
Returns
TypeDescription
ReadModifyWriteRule.RuleCase

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasAppendValue()

public boolean hasAppendValue()

Rule specifying that append_value be appended to the existing value. If the targeted cell is unset, it will be treated as containing the empty string.

bytes append_value = 3;

Returns
TypeDescription
boolean

Whether the appendValue field is set.

hasIncrementAmount()

public boolean hasIncrementAmount()

Rule specifying that increment_amount be added to the existing value. If the targeted cell is unset, it will be treated as containing a zero. Otherwise, the targeted cell must contain an 8-byte value (interpreted as a 64-bit big-endian signed integer), or the entire request will fail.

int64 increment_amount = 4;

Returns
TypeDescription
boolean

Whether the incrementAmount field is set.

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 ReadModifyWriteRule.Builder newBuilderForType()
Returns
TypeDescription
ReadModifyWriteRule.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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