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
COLUMN_QUALIFIER_FIELD_NUMBER
public static final int COLUMN_QUALIFIER_FIELD_NUMBER
Field Value
FAMILY_NAME_FIELD_NUMBER
public static final int FAMILY_NAME_FIELD_NUMBER
Field Value
INCREMENT_AMOUNT_FIELD_NUMBER
public static final int INCREMENT_AMOUNT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ReadModifyWriteRule getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ReadModifyWriteRule.Builder newBuilder()
Returns
newBuilder(ReadModifyWriteRule prototype)
public static ReadModifyWriteRule.Builder newBuilder(ReadModifyWriteRule prototype)
Parameter
Returns
public static ReadModifyWriteRule parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ReadModifyWriteRule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ReadModifyWriteRule parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReadModifyWriteRule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ReadModifyWriteRule parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReadModifyWriteRule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReadModifyWriteRule parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ReadModifyWriteRule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReadModifyWriteRule parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ReadModifyWriteRule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ReadModifyWriteRule parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReadModifyWriteRule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ReadModifyWriteRule> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
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
getDefaultInstanceForType()
public ReadModifyWriteRule getDefaultInstanceForType()
Returns
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
Type | Description |
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
Type | Description |
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
Type | Description |
long | The incrementAmount.
|
getParserForType()
public Parser<ReadModifyWriteRule> getParserForType()
Returns
Overrides
getRuleCase()
public ReadModifyWriteRule.RuleCase getRuleCase()
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
Type | Description |
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
Type | Description |
boolean | Whether the incrementAmount field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ReadModifyWriteRule.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ReadModifyWriteRule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ReadModifyWriteRule.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions