public static final class ReadModifyWriteRule.Builder extends GeneratedMessageV3.Builder<ReadModifyWriteRule.Builder> 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.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReadModifyWriteRule.BuilderImplements
ReadModifyWriteRuleOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReadModifyWriteRule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ReadModifyWriteRule.Builder |
build()
public ReadModifyWriteRule build()
Type | Description |
ReadModifyWriteRule |
buildPartial()
public ReadModifyWriteRule buildPartial()
Type | Description |
ReadModifyWriteRule |
clear()
public ReadModifyWriteRule.Builder clear()
Type | Description |
ReadModifyWriteRule.Builder |
clearAppendValue()
public ReadModifyWriteRule.Builder clearAppendValue()
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 |
ReadModifyWriteRule.Builder | This builder for chaining. |
clearColumnQualifier()
public ReadModifyWriteRule.Builder clearColumnQualifier()
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 |
ReadModifyWriteRule.Builder | This builder for chaining. |
clearFamilyName()
public ReadModifyWriteRule.Builder clearFamilyName()
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 |
ReadModifyWriteRule.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ReadModifyWriteRule.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ReadModifyWriteRule.Builder |
clearIncrementAmount()
public ReadModifyWriteRule.Builder clearIncrementAmount()
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 |
ReadModifyWriteRule.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ReadModifyWriteRule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ReadModifyWriteRule.Builder |
clearRule()
public ReadModifyWriteRule.Builder clearRule()
Type | Description |
ReadModifyWriteRule.Builder |
clone()
public ReadModifyWriteRule.Builder clone()
Type | Description |
ReadModifyWriteRule.Builder |
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 |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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. |
getRuleCase()
public ReadModifyWriteRule.RuleCase getRuleCase()
Type | Description |
ReadModifyWriteRule.RuleCase |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ReadModifyWriteRule other)
public ReadModifyWriteRule.Builder mergeFrom(ReadModifyWriteRule other)
Name | Description |
other | ReadModifyWriteRule |
Type | Description |
ReadModifyWriteRule.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReadModifyWriteRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReadModifyWriteRule.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ReadModifyWriteRule.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ReadModifyWriteRule.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReadModifyWriteRule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ReadModifyWriteRule.Builder |
setAppendValue(ByteString value)
public ReadModifyWriteRule.Builder setAppendValue(ByteString value)
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;
Name | Description |
value | ByteString The appendValue to set. |
Type | Description |
ReadModifyWriteRule.Builder | This builder for chaining. |
setColumnQualifier(ByteString value)
public ReadModifyWriteRule.Builder setColumnQualifier(ByteString value)
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;
Name | Description |
value | ByteString The columnQualifier to set. |
Type | Description |
ReadModifyWriteRule.Builder | This builder for chaining. |
setFamilyName(String value)
public ReadModifyWriteRule.Builder setFamilyName(String value)
The name of the family to which the read/modify/write should be applied.
Must match [-_.a-zA-Z0-9]+
string family_name = 1;
Name | Description |
value | String The familyName to set. |
Type | Description |
ReadModifyWriteRule.Builder | This builder for chaining. |
setFamilyNameBytes(ByteString value)
public ReadModifyWriteRule.Builder setFamilyNameBytes(ByteString value)
The name of the family to which the read/modify/write should be applied.
Must match [-_.a-zA-Z0-9]+
string family_name = 1;
Name | Description |
value | ByteString The bytes for familyName to set. |
Type | Description |
ReadModifyWriteRule.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ReadModifyWriteRule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ReadModifyWriteRule.Builder |
setIncrementAmount(long value)
public ReadModifyWriteRule.Builder setIncrementAmount(long value)
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;
Name | Description |
value | long The incrementAmount to set. |
Type | Description |
ReadModifyWriteRule.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReadModifyWriteRule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ReadModifyWriteRule.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ReadModifyWriteRule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ReadModifyWriteRule.Builder |