Class ReadModifyWriteRowRequest

  • All Implemented Interfaces:
    ReadModifyWriteRowRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class ReadModifyWriteRowRequest
    extends com.google.protobuf.GeneratedMessageV3
    implements ReadModifyWriteRowRequestOrBuilder
     Request message for Bigtable.ReadModifyWriteRow.
     
    Protobuf type google.bigtable.v2.ReadModifyWriteRowRequest
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • getTableName

        public String getTableName()
         Required. The unique name of the table to which the read/modify/write rules
         should be applied. Values are of the form
         `projects/<project>/instances/<instance>/tables/<table>`.
         
        string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getTableName in interface ReadModifyWriteRowRequestOrBuilder
        Returns:
        The tableName.
      • getTableNameBytes

        public com.google.protobuf.ByteString getTableNameBytes()
         Required. The unique name of the table to which the read/modify/write rules
         should be applied. Values are of the form
         `projects/<project>/instances/<instance>/tables/<table>`.
         
        string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getTableNameBytes in interface ReadModifyWriteRowRequestOrBuilder
        Returns:
        The bytes for tableName.
      • getAppProfileId

        public String getAppProfileId()
         This value specifies routing for replication. If not specified, the
         "default" application profile will be used.
         
        string app_profile_id = 4;
        Specified by:
        getAppProfileId in interface ReadModifyWriteRowRequestOrBuilder
        Returns:
        The appProfileId.
      • getAppProfileIdBytes

        public com.google.protobuf.ByteString getAppProfileIdBytes()
         This value specifies routing for replication. If not specified, the
         "default" application profile will be used.
         
        string app_profile_id = 4;
        Specified by:
        getAppProfileIdBytes in interface ReadModifyWriteRowRequestOrBuilder
        Returns:
        The bytes for appProfileId.
      • getRowKey

        public com.google.protobuf.ByteString getRowKey()
         Required. The key of the row to which the read/modify/write rules should be
         applied.
         
        bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getRowKey in interface ReadModifyWriteRowRequestOrBuilder
        Returns:
        The rowKey.
      • getRulesList

        public List<ReadModifyWriteRule> getRulesList()
         Required. Rules specifying how the specified row's contents are to be
         transformed into writes. Entries are applied in order, meaning that earlier
         rules will affect the results of later ones.
         
        repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getRulesList in interface ReadModifyWriteRowRequestOrBuilder
      • getRulesOrBuilderList

        public List<? extends ReadModifyWriteRuleOrBuilder> getRulesOrBuilderList()
         Required. Rules specifying how the specified row's contents are to be
         transformed into writes. Entries are applied in order, meaning that earlier
         rules will affect the results of later ones.
         
        repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getRulesOrBuilderList in interface ReadModifyWriteRowRequestOrBuilder
      • getRulesCount

        public int getRulesCount()
         Required. Rules specifying how the specified row's contents are to be
         transformed into writes. Entries are applied in order, meaning that earlier
         rules will affect the results of later ones.
         
        repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getRulesCount in interface ReadModifyWriteRowRequestOrBuilder
      • getRules

        public ReadModifyWriteRule getRules​(int index)
         Required. Rules specifying how the specified row's contents are to be
         transformed into writes. Entries are applied in order, meaning that earlier
         rules will affect the results of later ones.
         
        repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getRules in interface ReadModifyWriteRowRequestOrBuilder
      • getRulesOrBuilder

        public ReadModifyWriteRuleOrBuilder getRulesOrBuilder​(int index)
         Required. Rules specifying how the specified row's contents are to be
         transformed into writes. Entries are applied in order, meaning that earlier
         rules will affect the results of later ones.
         
        repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getRulesOrBuilder in interface ReadModifyWriteRowRequestOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static ReadModifyWriteRowRequest parseFrom​(ByteBuffer data)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ReadModifyWriteRowRequest parseFrom​(ByteBuffer data,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ReadModifyWriteRowRequest parseFrom​(com.google.protobuf.ByteString data)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ReadModifyWriteRowRequest parseFrom​(com.google.protobuf.ByteString data,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ReadModifyWriteRowRequest parseFrom​(byte[] data)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ReadModifyWriteRowRequest parseFrom​(byte[] data,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public ReadModifyWriteRowRequest.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public ReadModifyWriteRowRequest.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected ReadModifyWriteRowRequest.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<ReadModifyWriteRowRequest> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public ReadModifyWriteRowRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder