Class CheckAndMutateRowRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.bigtable.v2.CheckAndMutateRowRequest
All Implemented Interfaces:
CheckAndMutateRowRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class CheckAndMutateRowRequest extends com.google.protobuf.GeneratedMessageV3 implements CheckAndMutateRowRequestOrBuilder
 Request message for Bigtable.CheckAndMutateRow.
 
Protobuf type google.bigtable.v2.CheckAndMutateRowRequest
See Also:
  • Field Details

    • TABLE_NAME_FIELD_NUMBER

      public static final int TABLE_NAME_FIELD_NUMBER
      See Also:
    • APP_PROFILE_ID_FIELD_NUMBER

      public static final int APP_PROFILE_ID_FIELD_NUMBER
      See Also:
    • ROW_KEY_FIELD_NUMBER

      public static final int ROW_KEY_FIELD_NUMBER
      See Also:
    • PREDICATE_FILTER_FIELD_NUMBER

      public static final int PREDICATE_FILTER_FIELD_NUMBER
      See Also:
    • TRUE_MUTATIONS_FIELD_NUMBER

      public static final int TRUE_MUTATIONS_FIELD_NUMBER
      See Also:
    • FALSE_MUTATIONS_FIELD_NUMBER

      public static final int FALSE_MUTATIONS_FIELD_NUMBER
      See Also:
  • Method Details

    • 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 conditional mutation
       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 CheckAndMutateRowRequestOrBuilder
      Returns:
      The tableName.
    • getTableNameBytes

      public com.google.protobuf.ByteString getTableNameBytes()
       Required. The unique name of the table to which the conditional mutation
       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 CheckAndMutateRowRequestOrBuilder
      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 = 7;
      Specified by:
      getAppProfileId in interface CheckAndMutateRowRequestOrBuilder
      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 = 7;
      Specified by:
      getAppProfileIdBytes in interface CheckAndMutateRowRequestOrBuilder
      Returns:
      The bytes for appProfileId.
    • getRowKey

      public com.google.protobuf.ByteString getRowKey()
       Required. The key of the row to which the conditional mutation should be
       applied.
       
      bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRowKey in interface CheckAndMutateRowRequestOrBuilder
      Returns:
      The rowKey.
    • hasPredicateFilter

      public boolean hasPredicateFilter()
       The filter to be applied to the contents of the specified row. Depending
       on whether or not any results are yielded, either `true_mutations` or
       `false_mutations` will be executed. If unset, checks that the row contains
       any values at all.
       
      .google.bigtable.v2.RowFilter predicate_filter = 6;
      Specified by:
      hasPredicateFilter in interface CheckAndMutateRowRequestOrBuilder
      Returns:
      Whether the predicateFilter field is set.
    • getPredicateFilter

      public RowFilter getPredicateFilter()
       The filter to be applied to the contents of the specified row. Depending
       on whether or not any results are yielded, either `true_mutations` or
       `false_mutations` will be executed. If unset, checks that the row contains
       any values at all.
       
      .google.bigtable.v2.RowFilter predicate_filter = 6;
      Specified by:
      getPredicateFilter in interface CheckAndMutateRowRequestOrBuilder
      Returns:
      The predicateFilter.
    • getPredicateFilterOrBuilder

      public RowFilterOrBuilder getPredicateFilterOrBuilder()
       The filter to be applied to the contents of the specified row. Depending
       on whether or not any results are yielded, either `true_mutations` or
       `false_mutations` will be executed. If unset, checks that the row contains
       any values at all.
       
      .google.bigtable.v2.RowFilter predicate_filter = 6;
      Specified by:
      getPredicateFilterOrBuilder in interface CheckAndMutateRowRequestOrBuilder
    • getTrueMutationsList

      public List<Mutation> getTrueMutationsList()
       Changes to be atomically applied to the specified row if `predicate_filter`
       yields at least one cell when applied to `row_key`. Entries are applied in
       order, meaning that earlier mutations can be masked by later ones.
       Must contain at least one entry if `false_mutations` is empty, and at most
       100000.
       
      repeated .google.bigtable.v2.Mutation true_mutations = 4;
      Specified by:
      getTrueMutationsList in interface CheckAndMutateRowRequestOrBuilder
    • getTrueMutationsOrBuilderList

      public List<? extends MutationOrBuilder> getTrueMutationsOrBuilderList()
       Changes to be atomically applied to the specified row if `predicate_filter`
       yields at least one cell when applied to `row_key`. Entries are applied in
       order, meaning that earlier mutations can be masked by later ones.
       Must contain at least one entry if `false_mutations` is empty, and at most
       100000.
       
      repeated .google.bigtable.v2.Mutation true_mutations = 4;
      Specified by:
      getTrueMutationsOrBuilderList in interface CheckAndMutateRowRequestOrBuilder
    • getTrueMutationsCount

      public int getTrueMutationsCount()
       Changes to be atomically applied to the specified row if `predicate_filter`
       yields at least one cell when applied to `row_key`. Entries are applied in
       order, meaning that earlier mutations can be masked by later ones.
       Must contain at least one entry if `false_mutations` is empty, and at most
       100000.
       
      repeated .google.bigtable.v2.Mutation true_mutations = 4;
      Specified by:
      getTrueMutationsCount in interface CheckAndMutateRowRequestOrBuilder
    • getTrueMutations

      public Mutation getTrueMutations(int index)
       Changes to be atomically applied to the specified row if `predicate_filter`
       yields at least one cell when applied to `row_key`. Entries are applied in
       order, meaning that earlier mutations can be masked by later ones.
       Must contain at least one entry if `false_mutations` is empty, and at most
       100000.
       
      repeated .google.bigtable.v2.Mutation true_mutations = 4;
      Specified by:
      getTrueMutations in interface CheckAndMutateRowRequestOrBuilder
    • getTrueMutationsOrBuilder

      public MutationOrBuilder getTrueMutationsOrBuilder(int index)
       Changes to be atomically applied to the specified row if `predicate_filter`
       yields at least one cell when applied to `row_key`. Entries are applied in
       order, meaning that earlier mutations can be masked by later ones.
       Must contain at least one entry if `false_mutations` is empty, and at most
       100000.
       
      repeated .google.bigtable.v2.Mutation true_mutations = 4;
      Specified by:
      getTrueMutationsOrBuilder in interface CheckAndMutateRowRequestOrBuilder
    • getFalseMutationsList

      public List<Mutation> getFalseMutationsList()
       Changes to be atomically applied to the specified row if `predicate_filter`
       does not yield any cells when applied to `row_key`. Entries are applied in
       order, meaning that earlier mutations can be masked by later ones.
       Must contain at least one entry if `true_mutations` is empty, and at most
       100000.
       
      repeated .google.bigtable.v2.Mutation false_mutations = 5;
      Specified by:
      getFalseMutationsList in interface CheckAndMutateRowRequestOrBuilder
    • getFalseMutationsOrBuilderList

      public List<? extends MutationOrBuilder> getFalseMutationsOrBuilderList()
       Changes to be atomically applied to the specified row if `predicate_filter`
       does not yield any cells when applied to `row_key`. Entries are applied in
       order, meaning that earlier mutations can be masked by later ones.
       Must contain at least one entry if `true_mutations` is empty, and at most
       100000.
       
      repeated .google.bigtable.v2.Mutation false_mutations = 5;
      Specified by:
      getFalseMutationsOrBuilderList in interface CheckAndMutateRowRequestOrBuilder
    • getFalseMutationsCount

      public int getFalseMutationsCount()
       Changes to be atomically applied to the specified row if `predicate_filter`
       does not yield any cells when applied to `row_key`. Entries are applied in
       order, meaning that earlier mutations can be masked by later ones.
       Must contain at least one entry if `true_mutations` is empty, and at most
       100000.
       
      repeated .google.bigtable.v2.Mutation false_mutations = 5;
      Specified by:
      getFalseMutationsCount in interface CheckAndMutateRowRequestOrBuilder
    • getFalseMutations

      public Mutation getFalseMutations(int index)
       Changes to be atomically applied to the specified row if `predicate_filter`
       does not yield any cells when applied to `row_key`. Entries are applied in
       order, meaning that earlier mutations can be masked by later ones.
       Must contain at least one entry if `true_mutations` is empty, and at most
       100000.
       
      repeated .google.bigtable.v2.Mutation false_mutations = 5;
      Specified by:
      getFalseMutations in interface CheckAndMutateRowRequestOrBuilder
    • getFalseMutationsOrBuilder

      public MutationOrBuilder getFalseMutationsOrBuilder(int index)
       Changes to be atomically applied to the specified row if `predicate_filter`
       does not yield any cells when applied to `row_key`. Entries are applied in
       order, meaning that earlier mutations can be masked by later ones.
       Must contain at least one entry if `true_mutations` is empty, and at most
       100000.
       
      repeated .google.bigtable.v2.Mutation false_mutations = 5;
      Specified by:
      getFalseMutationsOrBuilder in interface CheckAndMutateRowRequestOrBuilder
    • 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 CheckAndMutateRowRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static CheckAndMutateRowRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CheckAndMutateRowRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CheckAndMutateRowRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CheckAndMutateRowRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CheckAndMutateRowRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CheckAndMutateRowRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static CheckAndMutateRowRequest.Builder newBuilder()
    • newBuilder

      public static CheckAndMutateRowRequest.Builder newBuilder(CheckAndMutateRowRequest prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected CheckAndMutateRowRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static CheckAndMutateRowRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<CheckAndMutateRowRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<CheckAndMutateRowRequest> 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 CheckAndMutateRowRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder