public static final class CheckAndMutateRowRequest.Builder extends GeneratedMessageV3.Builder<CheckAndMutateRowRequest.Builder> implements CheckAndMutateRowRequestOrBuilder
Request message for Bigtable.CheckAndMutateRow.
Protobuf type google.bigtable.v2.CheckAndMutateRowRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CheckAndMutateRowRequest.BuilderImplements
CheckAndMutateRowRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllFalseMutations(Iterable<? extends Mutation> values)
public CheckAndMutateRowRequest.Builder addAllFalseMutations(Iterable<? extends Mutation> values)
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;
Name | Description |
values | Iterable<? extends com.google.bigtable.v2.Mutation> |
Type | Description |
CheckAndMutateRowRequest.Builder |
addAllTrueMutations(Iterable<? extends Mutation> values)
public CheckAndMutateRowRequest.Builder addAllTrueMutations(Iterable<? extends Mutation> values)
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;
Name | Description |
values | Iterable<? extends com.google.bigtable.v2.Mutation> |
Type | Description |
CheckAndMutateRowRequest.Builder |
addFalseMutations(Mutation value)
public CheckAndMutateRowRequest.Builder addFalseMutations(Mutation value)
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;
Name | Description |
value | Mutation |
Type | Description |
CheckAndMutateRowRequest.Builder |
addFalseMutations(Mutation.Builder builderForValue)
public CheckAndMutateRowRequest.Builder addFalseMutations(Mutation.Builder builderForValue)
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;
Name | Description |
builderForValue | Mutation.Builder |
Type | Description |
CheckAndMutateRowRequest.Builder |
addFalseMutations(int index, Mutation value)
public CheckAndMutateRowRequest.Builder addFalseMutations(int index, Mutation value)
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;
Name | Description |
index | int |
value | Mutation |
Type | Description |
CheckAndMutateRowRequest.Builder |
addFalseMutations(int index, Mutation.Builder builderForValue)
public CheckAndMutateRowRequest.Builder addFalseMutations(int index, Mutation.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | Mutation.Builder |
Type | Description |
CheckAndMutateRowRequest.Builder |
addFalseMutationsBuilder()
public Mutation.Builder addFalseMutationsBuilder()
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;
Type | Description |
Mutation.Builder |
addFalseMutationsBuilder(int index)
public Mutation.Builder addFalseMutationsBuilder(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;
Name | Description |
index | int |
Type | Description |
Mutation.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CheckAndMutateRowRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CheckAndMutateRowRequest.Builder |
addTrueMutations(Mutation value)
public CheckAndMutateRowRequest.Builder addTrueMutations(Mutation value)
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;
Name | Description |
value | Mutation |
Type | Description |
CheckAndMutateRowRequest.Builder |
addTrueMutations(Mutation.Builder builderForValue)
public CheckAndMutateRowRequest.Builder addTrueMutations(Mutation.Builder builderForValue)
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;
Name | Description |
builderForValue | Mutation.Builder |
Type | Description |
CheckAndMutateRowRequest.Builder |
addTrueMutations(int index, Mutation value)
public CheckAndMutateRowRequest.Builder addTrueMutations(int index, Mutation value)
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;
Name | Description |
index | int |
value | Mutation |
Type | Description |
CheckAndMutateRowRequest.Builder |
addTrueMutations(int index, Mutation.Builder builderForValue)
public CheckAndMutateRowRequest.Builder addTrueMutations(int index, Mutation.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | Mutation.Builder |
Type | Description |
CheckAndMutateRowRequest.Builder |
addTrueMutationsBuilder()
public Mutation.Builder addTrueMutationsBuilder()
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;
Type | Description |
Mutation.Builder |
addTrueMutationsBuilder(int index)
public Mutation.Builder addTrueMutationsBuilder(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;
Name | Description |
index | int |
Type | Description |
Mutation.Builder |
build()
public CheckAndMutateRowRequest build()
Type | Description |
CheckAndMutateRowRequest |
buildPartial()
public CheckAndMutateRowRequest buildPartial()
Type | Description |
CheckAndMutateRowRequest |
clear()
public CheckAndMutateRowRequest.Builder clear()
Type | Description |
CheckAndMutateRowRequest.Builder |
clearAppProfileId()
public CheckAndMutateRowRequest.Builder clearAppProfileId()
This value specifies routing for replication. If not specified, the "default" application profile will be used.
string app_profile_id = 7;
Type | Description |
CheckAndMutateRowRequest.Builder | This builder for chaining. |
clearFalseMutations()
public CheckAndMutateRowRequest.Builder clearFalseMutations()
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;
Type | Description |
CheckAndMutateRowRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CheckAndMutateRowRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CheckAndMutateRowRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CheckAndMutateRowRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CheckAndMutateRowRequest.Builder |
clearPredicateFilter()
public CheckAndMutateRowRequest.Builder clearPredicateFilter()
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;
Type | Description |
CheckAndMutateRowRequest.Builder |
clearRowKey()
public CheckAndMutateRowRequest.Builder clearRowKey()
Required. The key of the row to which the conditional mutation should be applied.
bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
CheckAndMutateRowRequest.Builder | This builder for chaining. |
clearTableName()
public CheckAndMutateRowRequest.Builder clearTableName()
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) = { ... }
Type | Description |
CheckAndMutateRowRequest.Builder | This builder for chaining. |
clearTrueMutations()
public CheckAndMutateRowRequest.Builder clearTrueMutations()
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;
Type | Description |
CheckAndMutateRowRequest.Builder |
clone()
public CheckAndMutateRowRequest.Builder clone()
Type | Description |
CheckAndMutateRowRequest.Builder |
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;
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;
Type | Description |
ByteString | The bytes for appProfileId. |
getDefaultInstanceForType()
public CheckAndMutateRowRequest getDefaultInstanceForType()
Type | Description |
CheckAndMutateRowRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
Name | Description |
index | int |
Type | Description |
Mutation |
getFalseMutationsBuilder(int index)
public Mutation.Builder getFalseMutationsBuilder(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;
Name | Description |
index | int |
Type | Description |
Mutation.Builder |
getFalseMutationsBuilderList()
public List<Mutation.Builder> getFalseMutationsBuilderList()
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;
Type | Description |
List<Builder> |
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;
Type | Description |
int |
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;
Type | Description |
List<Mutation> |
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;
Name | Description |
index | int |
Type | Description |
MutationOrBuilder |
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;
Type | Description |
List<? extends com.google.bigtable.v2.MutationOrBuilder> |
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;
Type | Description |
RowFilter | The predicateFilter. |
getPredicateFilterBuilder()
public RowFilter.Builder getPredicateFilterBuilder()
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;
Type | Description |
RowFilter.Builder |
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;
Type | Description |
RowFilterOrBuilder |
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];
Type | Description |
ByteString | The rowKey. |
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) = { ... }
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) = { ... }
Type | Description |
ByteString | The bytes for tableName. |
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;
Name | Description |
index | int |
Type | Description |
Mutation |
getTrueMutationsBuilder(int index)
public Mutation.Builder getTrueMutationsBuilder(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;
Name | Description |
index | int |
Type | Description |
Mutation.Builder |
getTrueMutationsBuilderList()
public List<Mutation.Builder> getTrueMutationsBuilderList()
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;
Type | Description |
List<Builder> |
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;
Type | Description |
int |
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;
Type | Description |
List<Mutation> |
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;
Name | Description |
index | int |
Type | Description |
MutationOrBuilder |
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;
Type | Description |
List<? extends com.google.bigtable.v2.MutationOrBuilder> |
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;
Type | Description |
boolean | Whether the predicateFilter field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CheckAndMutateRowRequest other)
public CheckAndMutateRowRequest.Builder mergeFrom(CheckAndMutateRowRequest other)
Name | Description |
other | CheckAndMutateRowRequest |
Type | Description |
CheckAndMutateRowRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CheckAndMutateRowRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CheckAndMutateRowRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CheckAndMutateRowRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CheckAndMutateRowRequest.Builder |
mergePredicateFilter(RowFilter value)
public CheckAndMutateRowRequest.Builder mergePredicateFilter(RowFilter value)
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;
Name | Description |
value | RowFilter |
Type | Description |
CheckAndMutateRowRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CheckAndMutateRowRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CheckAndMutateRowRequest.Builder |
removeFalseMutations(int index)
public CheckAndMutateRowRequest.Builder removeFalseMutations(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;
Name | Description |
index | int |
Type | Description |
CheckAndMutateRowRequest.Builder |
removeTrueMutations(int index)
public CheckAndMutateRowRequest.Builder removeTrueMutations(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;
Name | Description |
index | int |
Type | Description |
CheckAndMutateRowRequest.Builder |
setAppProfileId(String value)
public CheckAndMutateRowRequest.Builder setAppProfileId(String value)
This value specifies routing for replication. If not specified, the "default" application profile will be used.
string app_profile_id = 7;
Name | Description |
value | String The appProfileId to set. |
Type | Description |
CheckAndMutateRowRequest.Builder | This builder for chaining. |
setAppProfileIdBytes(ByteString value)
public CheckAndMutateRowRequest.Builder setAppProfileIdBytes(ByteString value)
This value specifies routing for replication. If not specified, the "default" application profile will be used.
string app_profile_id = 7;
Name | Description |
value | ByteString The bytes for appProfileId to set. |
Type | Description |
CheckAndMutateRowRequest.Builder | This builder for chaining. |
setFalseMutations(int index, Mutation value)
public CheckAndMutateRowRequest.Builder setFalseMutations(int index, Mutation value)
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;
Name | Description |
index | int |
value | Mutation |
Type | Description |
CheckAndMutateRowRequest.Builder |
setFalseMutations(int index, Mutation.Builder builderForValue)
public CheckAndMutateRowRequest.Builder setFalseMutations(int index, Mutation.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | Mutation.Builder |
Type | Description |
CheckAndMutateRowRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CheckAndMutateRowRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CheckAndMutateRowRequest.Builder |
setPredicateFilter(RowFilter value)
public CheckAndMutateRowRequest.Builder setPredicateFilter(RowFilter value)
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;
Name | Description |
value | RowFilter |
Type | Description |
CheckAndMutateRowRequest.Builder |
setPredicateFilter(RowFilter.Builder builderForValue)
public CheckAndMutateRowRequest.Builder setPredicateFilter(RowFilter.Builder builderForValue)
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;
Name | Description |
builderForValue | RowFilter.Builder |
Type | Description |
CheckAndMutateRowRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CheckAndMutateRowRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CheckAndMutateRowRequest.Builder |
setRowKey(ByteString value)
public CheckAndMutateRowRequest.Builder setRowKey(ByteString value)
Required. The key of the row to which the conditional mutation should be applied.
bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The rowKey to set. |
Type | Description |
CheckAndMutateRowRequest.Builder | This builder for chaining. |
setTableName(String value)
public CheckAndMutateRowRequest.Builder setTableName(String value)
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) = { ... }
Name | Description |
value | String The tableName to set. |
Type | Description |
CheckAndMutateRowRequest.Builder | This builder for chaining. |
setTableNameBytes(ByteString value)
public CheckAndMutateRowRequest.Builder setTableNameBytes(ByteString value)
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) = { ... }
Name | Description |
value | ByteString The bytes for tableName to set. |
Type | Description |
CheckAndMutateRowRequest.Builder | This builder for chaining. |
setTrueMutations(int index, Mutation value)
public CheckAndMutateRowRequest.Builder setTrueMutations(int index, Mutation value)
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;
Name | Description |
index | int |
value | Mutation |
Type | Description |
CheckAndMutateRowRequest.Builder |
setTrueMutations(int index, Mutation.Builder builderForValue)
public CheckAndMutateRowRequest.Builder setTrueMutations(int index, Mutation.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | Mutation.Builder |
Type | Description |
CheckAndMutateRowRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CheckAndMutateRowRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CheckAndMutateRowRequest.Builder |