Package com.google.bigtable.v2
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 typegoogle.bigtable.v2.CheckAndMutateRowRequest
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CheckAndMutateRowRequest.Builder
Request message for Bigtable.CheckAndMutateRow.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
APP_PROFILE_ID_FIELD_NUMBER
static int
FALSE_MUTATIONS_FIELD_NUMBER
static int
PREDICATE_FILTER_FIELD_NUMBER
static int
ROW_KEY_FIELD_NUMBER
static int
TABLE_NAME_FIELD_NUMBER
static int
TRUE_MUTATIONS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getAppProfileId()
This value specifies routing for replication.com.google.protobuf.ByteString
getAppProfileIdBytes()
This value specifies routing for replication.static CheckAndMutateRowRequest
getDefaultInstance()
CheckAndMutateRowRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
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`.int
getFalseMutationsCount()
Changes to be atomically applied to the specified row if `predicate_filter` does not yield any cells when applied to `row_key`.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`.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`.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`.com.google.protobuf.Parser<CheckAndMutateRowRequest>
getParserForType()
RowFilter
getPredicateFilter()
The filter to be applied to the contents of the specified row.RowFilterOrBuilder
getPredicateFilterOrBuilder()
The filter to be applied to the contents of the specified row.com.google.protobuf.ByteString
getRowKey()
Required.int
getSerializedSize()
String
getTableName()
Required.com.google.protobuf.ByteString
getTableNameBytes()
Required.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`.int
getTrueMutationsCount()
Changes to be atomically applied to the specified row if `predicate_filter` yields at least one cell when applied to `row_key`.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`.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`.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`.int
hashCode()
boolean
hasPredicateFilter()
The filter to be applied to the contents of the specified row.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static CheckAndMutateRowRequest.Builder
newBuilder()
static CheckAndMutateRowRequest.Builder
newBuilder(CheckAndMutateRowRequest prototype)
CheckAndMutateRowRequest.Builder
newBuilderForType()
protected CheckAndMutateRowRequest.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static CheckAndMutateRowRequest
parseDelimitedFrom(InputStream input)
static CheckAndMutateRowRequest
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CheckAndMutateRowRequest
parseFrom(byte[] data)
static CheckAndMutateRowRequest
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CheckAndMutateRowRequest
parseFrom(com.google.protobuf.ByteString data)
static CheckAndMutateRowRequest
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CheckAndMutateRowRequest
parseFrom(com.google.protobuf.CodedInputStream input)
static CheckAndMutateRowRequest
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CheckAndMutateRowRequest
parseFrom(InputStream input)
static CheckAndMutateRowRequest
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CheckAndMutateRowRequest
parseFrom(ByteBuffer data)
static CheckAndMutateRowRequest
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<CheckAndMutateRowRequest>
parser()
CheckAndMutateRowRequest.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TABLE_NAME_FIELD_NUMBER
public static final int TABLE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APP_PROFILE_ID_FIELD_NUMBER
public static final int APP_PROFILE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROW_KEY_FIELD_NUMBER
public static final int ROW_KEY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PREDICATE_FILTER_FIELD_NUMBER
public static final int PREDICATE_FILTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRUE_MUTATIONS_FIELD_NUMBER
public static final int TRUE_MUTATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FALSE_MUTATIONS_FIELD_NUMBER
public static final int FALSE_MUTATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.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 classcom.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 interfaceCheckAndMutateRowRequestOrBuilder
- 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 interfaceCheckAndMutateRowRequestOrBuilder
- 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 interfaceCheckAndMutateRowRequestOrBuilder
- 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 interfaceCheckAndMutateRowRequestOrBuilder
- 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 interfaceCheckAndMutateRowRequestOrBuilder
- 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 interfaceCheckAndMutateRowRequestOrBuilder
- 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 interfaceCheckAndMutateRowRequestOrBuilder
- 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 interfaceCheckAndMutateRowRequestOrBuilder
-
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 interfaceCheckAndMutateRowRequestOrBuilder
-
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 interfaceCheckAndMutateRowRequestOrBuilder
-
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 interfaceCheckAndMutateRowRequestOrBuilder
-
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 interfaceCheckAndMutateRowRequestOrBuilder
-
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 interfaceCheckAndMutateRowRequestOrBuilder
-
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 interfaceCheckAndMutateRowRequestOrBuilder
-
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 interfaceCheckAndMutateRowRequestOrBuilder
-
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 interfaceCheckAndMutateRowRequestOrBuilder
-
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 interfaceCheckAndMutateRowRequestOrBuilder
-
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 interfaceCheckAndMutateRowRequestOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.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 interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static CheckAndMutateRowRequest.Builder newBuilder()
-
newBuilder
public static CheckAndMutateRowRequest.Builder newBuilder(CheckAndMutateRowRequest prototype)
-
toBuilder
public CheckAndMutateRowRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CheckAndMutateRowRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.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 interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public CheckAndMutateRowRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-