Package com.google.bigtable.v2
Class ReadModifyWriteRule.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ReadModifyWriteRule.Builder>
com.google.bigtable.v2.ReadModifyWriteRule.Builder
- All Implemented Interfaces:
ReadModifyWriteRuleOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ReadModifyWriteRule
public static final class ReadModifyWriteRule.Builder
extends com.google.protobuf.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-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Rule specifying that `append_value` be appended to the existing value.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.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Rule specifying that `increment_amount` be added to the existing value.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()com.google.protobuf.ByteStringRule specifying that `append_value` be appended to the existing value.com.google.protobuf.ByteStringThe qualifier of the column to which the read/modify/write should be applied.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe name of the family to which the read/modify/write should be applied.com.google.protobuf.ByteStringThe name of the family to which the read/modify/write should be applied.longRule specifying that `increment_amount` be added to the existing value.booleanRule specifying that `append_value` be appended to the existing value.booleanRule specifying that `increment_amount` be added to the existing value.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(ReadModifyWriteRule other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAppendValue(com.google.protobuf.ByteString value) Rule specifying that `append_value` be appended to the existing value.setColumnQualifier(com.google.protobuf.ByteString value) The qualifier of the column to which the read/modify/write should be applied.setFamilyName(String value) The name of the family to which the read/modify/write should be applied.setFamilyNameBytes(com.google.protobuf.ByteString value) The name of the family to which the read/modify/write should be applied.setIncrementAmount(long value) Rule specifying that `increment_amount` be added to the existing value.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ReadModifyWriteRule.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadModifyWriteRule.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ReadModifyWriteRule.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ReadModifyWriteRule.Builder>
-
setField
public ReadModifyWriteRule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadModifyWriteRule.Builder>
-
clearField
public ReadModifyWriteRule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadModifyWriteRule.Builder>
-
clearOneof
public ReadModifyWriteRule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadModifyWriteRule.Builder>
-
setRepeatedField
public ReadModifyWriteRule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadModifyWriteRule.Builder>
-
addRepeatedField
public ReadModifyWriteRule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadModifyWriteRule.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReadModifyWriteRule.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadModifyWriteRule.Builder>
-
mergeFrom
public ReadModifyWriteRule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReadModifyWriteRule.Builder>- Throws:
IOException
-
getRuleCase
- Specified by:
getRuleCasein interfaceReadModifyWriteRuleOrBuilder
-
clearRule
-
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;- Specified by:
getFamilyNamein interfaceReadModifyWriteRuleOrBuilder- Returns:
- The familyName.
-
getFamilyNameBytes
public 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;- Specified by:
getFamilyNameBytesin interfaceReadModifyWriteRuleOrBuilder- Returns:
- The bytes for familyName.
-
setFamilyName
The name of the family to which the read/modify/write should be applied. Must match `[-_.a-zA-Z0-9]+`
string family_name = 1;- Parameters:
value- The familyName to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setFamilyNameBytes
The name of the family to which the read/modify/write should be applied. Must match `[-_.a-zA-Z0-9]+`
string family_name = 1;- Parameters:
value- The bytes for familyName to set.- Returns:
- This builder for chaining.
-
getColumnQualifier
public 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;- Specified by:
getColumnQualifierin interfaceReadModifyWriteRuleOrBuilder- Returns:
- The columnQualifier.
-
setColumnQualifier
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;- Parameters:
value- The columnQualifier to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
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;- Specified by:
hasAppendValuein interfaceReadModifyWriteRuleOrBuilder- Returns:
- Whether the appendValue field is set.
-
getAppendValue
public 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;- Specified by:
getAppendValuein interfaceReadModifyWriteRuleOrBuilder- Returns:
- The appendValue.
-
setAppendValue
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;- Parameters:
value- The appendValue to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
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;- Specified by:
hasIncrementAmountin interfaceReadModifyWriteRuleOrBuilder- Returns:
- Whether the incrementAmount field is set.
-
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;- Specified by:
getIncrementAmountin interfaceReadModifyWriteRuleOrBuilder- Returns:
- The incrementAmount.
-
setIncrementAmount
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;- Parameters:
value- The incrementAmount to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setUnknownFields
public final ReadModifyWriteRule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadModifyWriteRule.Builder>
-
mergeUnknownFields
public final ReadModifyWriteRule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadModifyWriteRule.Builder>
-