Class CheckAndMutateRowRequest (2.11.0)

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
TypeDescription
int

FALSE_MUTATIONS_FIELD_NUMBER

public static final int FALSE_MUTATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

PREDICATE_FILTER_FIELD_NUMBER

public static final int PREDICATE_FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

ROW_KEY_FIELD_NUMBER

public static final int ROW_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

TABLE_NAME_FIELD_NUMBER

public static final int TABLE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

TRUE_MUTATIONS_FIELD_NUMBER

public static final int TRUE_MUTATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CheckAndMutateRowRequest getDefaultInstance()
Returns
TypeDescription
CheckAndMutateRowRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CheckAndMutateRowRequest.Builder newBuilder()
Returns
TypeDescription
CheckAndMutateRowRequest.Builder

newBuilder(CheckAndMutateRowRequest prototype)

public static CheckAndMutateRowRequest.Builder newBuilder(CheckAndMutateRowRequest prototype)
Parameter
NameDescription
prototypeCheckAndMutateRowRequest
Returns
TypeDescription
CheckAndMutateRowRequest.Builder

parseDelimitedFrom(InputStream input)

public static CheckAndMutateRowRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CheckAndMutateRowRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CheckAndMutateRowRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckAndMutateRowRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CheckAndMutateRowRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CheckAndMutateRowRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CheckAndMutateRowRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckAndMutateRowRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CheckAndMutateRowRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CheckAndMutateRowRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CheckAndMutateRowRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckAndMutateRowRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CheckAndMutateRowRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CheckAndMutateRowRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CheckAndMutateRowRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckAndMutateRowRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CheckAndMutateRowRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CheckAndMutateRowRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CheckAndMutateRowRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckAndMutateRowRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CheckAndMutateRowRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CheckAndMutateRowRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CheckAndMutateRowRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckAndMutateRowRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CheckAndMutateRowRequest> parser()
Returns
TypeDescription
Parser<CheckAndMutateRowRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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
TypeDescription
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
TypeDescription
ByteString

The bytes for appProfileId.

getDefaultInstanceForType()

public CheckAndMutateRowRequest getDefaultInstanceForType()
Returns
TypeDescription
CheckAndMutateRowRequest

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
NameDescription
indexint
Returns
TypeDescription
Mutation

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
TypeDescription
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;

Returns
TypeDescription
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;

Parameter
NameDescription
indexint
Returns
TypeDescription
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;

Returns
TypeDescription
List<? extends com.google.bigtable.v2.MutationOrBuilder>

getParserForType()

public Parser<CheckAndMutateRowRequest> getParserForType()
Returns
TypeDescription
Parser<CheckAndMutateRowRequest>
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
TypeDescription
RowFilter

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;

Returns
TypeDescription
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];

Returns
TypeDescription
ByteString

The rowKey.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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
TypeDescription
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
TypeDescription
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;

Parameter
NameDescription
indexint
Returns
TypeDescription
Mutation

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
TypeDescription
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;

Returns
TypeDescription
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;

Parameter
NameDescription
indexint
Returns
TypeDescription
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;

Returns
TypeDescription
List<? extends com.google.bigtable.v2.MutationOrBuilder>

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
boolean

Whether the predicateFilter field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CheckAndMutateRowRequest.Builder newBuilderForType()
Returns
TypeDescription
CheckAndMutateRowRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CheckAndMutateRowRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CheckAndMutateRowRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CheckAndMutateRowRequest.Builder toBuilder()
Returns
TypeDescription
CheckAndMutateRowRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException