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 type
google.bigtable.v2.CheckAndMutateRowRequest
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
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 Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
This value specifies routing for replication.com.google.protobuf.ByteString
This value specifies routing for replication.static CheckAndMutateRowRequest
static final com.google.protobuf.Descriptors.Descriptor
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
Changes to be atomically applied to the specified row if `predicate_filter` does not yield any cells when applied to `row_key`.Changes to be atomically applied to the specified row if `predicate_filter` does not yield any cells when applied to `row_key`.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>
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>
The filter to be applied to the contents of the specified row.The filter to be applied to the contents of the specified row.com.google.protobuf.ByteString
Required.int
Required.com.google.protobuf.ByteString
Required.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
Changes to be atomically applied to the specified row if `predicate_filter` yields at least one cell when applied to `row_key`.Changes to be atomically applied to the specified row if `predicate_filter` yields at least one cell when applied to `row_key`.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>
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
The filter to be applied to the contents of the specified row.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
newBuilder
(CheckAndMutateRowRequest prototype) 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()
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
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
- 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
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
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
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
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
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
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
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
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
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
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
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
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
- 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
- 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
- Throws:
IOException
-
parseFrom
public static CheckAndMutateRowRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
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
-
parser
-
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
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-