public final class CheckAndMutateRowRequest extends GeneratedMessageV3 implements CheckAndMutateRowRequestOrBuilder
Request message for Bigtable.CheckAndMutateRow.
Protobuf type google.bigtable.v2.CheckAndMutateRowRequest
Static Fields
APP_PROFILE_ID_FIELD_NUMBER
public static final int APP_PROFILE_ID_FIELD_NUMBER
Field Value
FALSE_MUTATIONS_FIELD_NUMBER
public static final int FALSE_MUTATIONS_FIELD_NUMBER
Field Value
PREDICATE_FILTER_FIELD_NUMBER
public static final int PREDICATE_FILTER_FIELD_NUMBER
Field Value
ROW_KEY_FIELD_NUMBER
public static final int ROW_KEY_FIELD_NUMBER
Field Value
TABLE_NAME_FIELD_NUMBER
public static final int TABLE_NAME_FIELD_NUMBER
Field Value
TRUE_MUTATIONS_FIELD_NUMBER
public static final int TRUE_MUTATIONS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CheckAndMutateRowRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CheckAndMutateRowRequest.Builder newBuilder()
Returns
newBuilder(CheckAndMutateRowRequest prototype)
public static CheckAndMutateRowRequest.Builder newBuilder(CheckAndMutateRowRequest prototype)
Parameter
Returns
public static CheckAndMutateRowRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CheckAndMutateRowRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CheckAndMutateRowRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CheckAndMutateRowRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CheckAndMutateRowRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CheckAndMutateRowRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CheckAndMutateRowRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CheckAndMutateRowRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CheckAndMutateRowRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CheckAndMutateRowRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CheckAndMutateRowRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CheckAndMutateRowRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CheckAndMutateRowRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
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;
Returns
Type | Description |
String | The appProfileId.
|
getAppProfileIdBytes()
public ByteString getAppProfileIdBytes()
This value specifies routing for replication. If not specified, the
"default" application profile will be used.
string app_profile_id = 7;
Returns
Type | Description |
ByteString | The bytes for appProfileId.
|
getDefaultInstanceForType()
public CheckAndMutateRowRequest getDefaultInstanceForType()
Returns
getFalseMutations(int index)
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;
Parameter
Returns
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;
Returns
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;
Returns
getFalseMutationsOrBuilder(int index)
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;
Parameter
Returns
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;
Returns
Type | Description |
List<? extends com.google.bigtable.v2.MutationOrBuilder> | |
getParserForType()
public Parser<CheckAndMutateRowRequest> getParserForType()
Returns
Overrides
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;
Returns
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;
Returns
getRowKey()
public 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];
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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) = { ... }
Returns
Type | Description |
String | The tableName.
|
getTableNameBytes()
public 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) = { ... }
Returns
getTrueMutations(int index)
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;
Parameter
Returns
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;
Returns
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;
Returns
getTrueMutationsOrBuilder(int index)
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;
Parameter
Returns
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;
Returns
Type | Description |
List<? extends com.google.bigtable.v2.MutationOrBuilder> | |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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;
Returns
Type | Description |
boolean | Whether the predicateFilter field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CheckAndMutateRowRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CheckAndMutateRowRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CheckAndMutateRowRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions