Class 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 Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ReadModifyWriteRule.Builder>
      • clear

        public ReadModifyWriteRule.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ReadModifyWriteRule.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ReadModifyWriteRule.Builder>
      • getDefaultInstanceForType

        public ReadModifyWriteRule getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ReadModifyWriteRule build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ReadModifyWriteRule buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public ReadModifyWriteRule.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ReadModifyWriteRule.Builder>
      • setField

        public ReadModifyWriteRule.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadModifyWriteRule.Builder>
      • clearField

        public ReadModifyWriteRule.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadModifyWriteRule.Builder>
      • clearOneof

        public ReadModifyWriteRule.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ReadModifyWriteRule.Builder>
      • setRepeatedField

        public ReadModifyWriteRule.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            int index,
                                                            Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadModifyWriteRule.Builder>
      • addRepeatedField

        public ReadModifyWriteRule.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadModifyWriteRule.Builder>
      • mergeFrom

        public ReadModifyWriteRule.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReadModifyWriteRule.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReadModifyWriteRule.Builder>
        Throws:
        IOException
      • 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;
        Specified by:
        getFamilyName in interface ReadModifyWriteRuleOrBuilder
        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:
        getFamilyNameBytes in interface ReadModifyWriteRuleOrBuilder
        Returns:
        The bytes for familyName.
      • setFamilyName

        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;
        Parameters:
        value - The familyName to set.
        Returns:
        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;
        Returns:
        This builder for chaining.
      • setFamilyNameBytes

        public ReadModifyWriteRule.Builder setFamilyNameBytes​(com.google.protobuf.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;
        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:
        getColumnQualifier in interface ReadModifyWriteRuleOrBuilder
        Returns:
        The columnQualifier.
      • setColumnQualifier

        public ReadModifyWriteRule.Builder setColumnQualifier​(com.google.protobuf.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;
        Parameters:
        value - The columnQualifier to set.
        Returns:
        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;
        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:
        hasAppendValue in interface ReadModifyWriteRuleOrBuilder
        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:
        getAppendValue in interface ReadModifyWriteRuleOrBuilder
        Returns:
        The appendValue.
      • setAppendValue

        public ReadModifyWriteRule.Builder setAppendValue​(com.google.protobuf.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;
        Parameters:
        value - The appendValue to set.
        Returns:
        This builder for chaining.
      • 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;
        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:
        hasIncrementAmount in interface ReadModifyWriteRuleOrBuilder
        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:
        getIncrementAmount in interface ReadModifyWriteRuleOrBuilder
        Returns:
        The incrementAmount.
      • setIncrementAmount

        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;
        Parameters:
        value - The incrementAmount to set.
        Returns:
        This builder for chaining.
      • 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;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ReadModifyWriteRule.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReadModifyWriteRule.Builder>
      • mergeUnknownFields

        public final ReadModifyWriteRule.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReadModifyWriteRule.Builder>