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
Nested ClassesModifier and TypeClassDescriptionstatic final classRequest 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThis value specifies routing for replication.com.google.protobuf.ByteStringThis value specifies routing for replication.Optional.com.google.protobuf.ByteStringOptional.static CheckAndMutateRowRequeststatic final com.google.protobuf.Descriptors.DescriptorgetFalseMutations(int index) Changes to be atomically applied to the specified row if `predicate_filter` does not yield any cells when applied to `row_key`.intChanges 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.ByteStringRequired.intOptional.com.google.protobuf.ByteStringOptional.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`.intChanges 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`.inthashCode()booleanThe filter to be applied to the contents of the specified row.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(CheckAndMutateRowRequest prototype) protected CheckAndMutateRowRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static CheckAndMutateRowRequestparseDelimitedFrom(InputStream input) static CheckAndMutateRowRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CheckAndMutateRowRequestparseFrom(byte[] data) static CheckAndMutateRowRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CheckAndMutateRowRequestparseFrom(com.google.protobuf.ByteString data) static CheckAndMutateRowRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CheckAndMutateRowRequestparseFrom(com.google.protobuf.CodedInputStream input) static CheckAndMutateRowRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CheckAndMutateRowRequestparseFrom(InputStream input) static CheckAndMutateRowRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CheckAndMutateRowRequestparseFrom(ByteBuffer data) static CheckAndMutateRowRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CheckAndMutateRowRequest>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods 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:
-
AUTHORIZED_VIEW_NAME_FIELD_NUMBER
public static final int AUTHORIZED_VIEW_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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getTableName
Optional. 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) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getTableNamein interfaceCheckAndMutateRowRequestOrBuilder- Returns:
- The tableName.
-
getTableNameBytes
public com.google.protobuf.ByteString getTableNameBytes()Optional. 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) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getTableNameBytesin interfaceCheckAndMutateRowRequestOrBuilder- Returns:
- The bytes for tableName.
-
getAuthorizedViewName
Optional. The unique name of the AuthorizedView to which the conditional mutation should be applied. Values are of the form `projects/<project>/instances/<instance>/tables/<table>/authorizedViews/<authorized_view>`.
string authorized_view_name = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getAuthorizedViewNamein interfaceCheckAndMutateRowRequestOrBuilder- Returns:
- The authorizedViewName.
-
getAuthorizedViewNameBytes
public com.google.protobuf.ByteString getAuthorizedViewNameBytes()Optional. The unique name of the AuthorizedView to which the conditional mutation should be applied. Values are of the form `projects/<project>/instances/<instance>/tables/<table>/authorizedViews/<authorized_view>`.
string authorized_view_name = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getAuthorizedViewNameBytesin interfaceCheckAndMutateRowRequestOrBuilder- Returns:
- The bytes for authorizedViewName.
-
getAppProfileId
This value specifies routing for replication. If not specified, the "default" application profile will be used.
string app_profile_id = 7;- Specified by:
getAppProfileIdin 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:
getAppProfileIdBytesin 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:
getRowKeyin 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:
hasPredicateFilterin 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:
getPredicateFilterin 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:
getPredicateFilterOrBuilderin 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:
getTrueMutationsListin 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:
getTrueMutationsOrBuilderListin 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:
getTrueMutationsCountin 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:
getTrueMutationsin 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:
getTrueMutationsOrBuilderin 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:
getFalseMutationsListin 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:
getFalseMutationsOrBuilderListin 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:
getFalseMutationsCountin 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:
getFalseMutationsin 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:
getFalseMutationsOrBuilderin interfaceCheckAndMutateRowRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CheckAndMutateRowRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-