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 classCheckAndMutateRowRequest.BuilderRequest 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 intAPP_PROFILE_ID_FIELD_NUMBERstatic intFALSE_MUTATIONS_FIELD_NUMBERstatic intPREDICATE_FILTER_FIELD_NUMBERstatic intROW_KEY_FIELD_NUMBERstatic intTABLE_NAME_FIELD_NUMBERstatic intTRUE_MUTATIONS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetAppProfileId()This value specifies routing for replication.com.google.protobuf.ByteStringgetAppProfileIdBytes()This value specifies routing for replication.static CheckAndMutateRowRequestgetDefaultInstance()CheckAndMutateRowRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()MutationgetFalseMutations(int index)Changes to be atomically applied to the specified row if `predicate_filter` does not yield any cells when applied to `row_key`.intgetFalseMutationsCount()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`.MutationOrBuildergetFalseMutationsOrBuilder(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()RowFiltergetPredicateFilter()The filter to be applied to the contents of the specified row.RowFilterOrBuildergetPredicateFilterOrBuilder()The filter to be applied to the contents of the specified row.com.google.protobuf.ByteStringgetRowKey()Required.intgetSerializedSize()StringgetTableName()Required.com.google.protobuf.ByteStringgetTableNameBytes()Required.MutationgetTrueMutations(int index)Changes to be atomically applied to the specified row if `predicate_filter` yields at least one cell when applied to `row_key`.intgetTrueMutationsCount()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`.MutationOrBuildergetTrueMutationsOrBuilder(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`.inthashCode()booleanhasPredicateFilter()The filter to be applied to the contents of the specified row.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static CheckAndMutateRowRequest.BuildernewBuilder()static CheckAndMutateRowRequest.BuildernewBuilder(CheckAndMutateRowRequest prototype)CheckAndMutateRowRequest.BuildernewBuilderForType()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()CheckAndMutateRowRequest.BuildertoBuilder()voidwriteTo(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:
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
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:
getTableNamein 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:
getTableNameBytesin 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:
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
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:
getPredicateFilterin 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:
getPredicateFilterOrBuilderin 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:
getTrueMutationsListin 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:
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
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:
getTrueMutationsin 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:
getTrueMutationsOrBuilderin 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:
getFalseMutationsListin 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:
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
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:
getFalseMutationsin 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:
getFalseMutationsOrBuilderin interfaceCheckAndMutateRowRequestOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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
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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
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
public static CheckAndMutateRowRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<CheckAndMutateRowRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<CheckAndMutateRowRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public CheckAndMutateRowRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-