Package com.google.bigtable.v2
Interface ReadModifyWriteRuleOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReadModifyWriteRule
,ReadModifyWriteRule.Builder
public interface ReadModifyWriteRuleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteString
Rule specifying that `append_value` be appended to the existing value.com.google.protobuf.ByteString
The qualifier of the column to which the read/modify/write should be applied.The name of the family to which the read/modify/write should be applied.com.google.protobuf.ByteString
The name of the family to which the read/modify/write should be applied.long
Rule specifying that `increment_amount` be added to the existing value.boolean
Rule specifying that `append_value` be appended to the existing value.boolean
Rule specifying that `increment_amount` be added to the existing value.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getFamilyName
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:
- The familyName.
-
getFamilyNameBytes
com.google.protobuf.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:
- The bytes for familyName.
-
getColumnQualifier
com.google.protobuf.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:
- The columnQualifier.
-
hasAppendValue
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:
- Whether the appendValue field is set.
-
getAppendValue
com.google.protobuf.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:
- The appendValue.
-
hasIncrementAmount
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:
- Whether the incrementAmount field is set.
-
getIncrementAmount
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:
- The incrementAmount.
-
getRuleCase
ReadModifyWriteRule.RuleCase getRuleCase()
-