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