Package com.google.bigtable.v2
Class Mutation
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.bigtable.v2.Mutation
- All Implemented Interfaces:
MutationOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Mutation
extends com.google.protobuf.GeneratedMessageV3
implements MutationOrBuilder
Specifies a particular change to be made to the contents of a row.Protobuf type
google.bigtable.v2.Mutation- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA Mutation which incrementally updates a cell in an `Aggregate` family.static interfacestatic final classSpecifies a particular change to be made to the contents of a row.static final classA Mutation which deletes cells from the specified column, optionally restricting the deletions to a given timestamp range.static interfacestatic final classA Mutation which deletes all cells from the specified column family.static interfacestatic final classA Mutation which deletes all cells from the containing row.static interfacestatic final classA Mutation which merges accumulated state into a cell in an `Aggregate` family.static interfacestatic enumstatic final classA Mutation which sets the value of the specified cell.static interfaceNested 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 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 TypeMethodDescriptionbooleanIncrementally updates an `Aggregate` cell.Incrementally updates an `Aggregate` cell.static MutationDeletes cells from a column.Deletes cells from a column.Deletes cells from a column family.Deletes cells from a column family.Deletes cells from the entire row.Deletes cells from the entire row.static final com.google.protobuf.Descriptors.DescriptorMerges accumulated state to an `Aggregate` cell.Merges accumulated state to an `Aggregate` cell.com.google.protobuf.Parser<Mutation>intSet a cell's value.Set a cell's value.booleanIncrementally updates an `Aggregate` cell.booleanDeletes cells from a column.booleanDeletes cells from a column family.booleanDeletes cells from the entire row.inthashCode()booleanMerges accumulated state to an `Aggregate` cell.booleanSet a cell's value.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Mutation.Builderstatic Mutation.BuildernewBuilder(Mutation prototype) protected Mutation.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static MutationparseDelimitedFrom(InputStream input) static MutationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MutationparseFrom(byte[] data) static MutationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MutationparseFrom(com.google.protobuf.ByteString data) static MutationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MutationparseFrom(com.google.protobuf.CodedInputStream input) static MutationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MutationparseFrom(InputStream input) static MutationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MutationparseFrom(ByteBuffer data) static MutationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Mutation>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
-
SET_CELL_FIELD_NUMBER
public static final int SET_CELL_FIELD_NUMBER- See Also:
-
ADD_TO_CELL_FIELD_NUMBER
public static final int ADD_TO_CELL_FIELD_NUMBER- See Also:
-
MERGE_TO_CELL_FIELD_NUMBER
public static final int MERGE_TO_CELL_FIELD_NUMBER- See Also:
-
DELETE_FROM_COLUMN_FIELD_NUMBER
public static final int DELETE_FROM_COLUMN_FIELD_NUMBER- See Also:
-
DELETE_FROM_FAMILY_FIELD_NUMBER
public static final int DELETE_FROM_FAMILY_FIELD_NUMBER- See Also:
-
DELETE_FROM_ROW_FIELD_NUMBER
public static final int DELETE_FROM_ROW_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
-
getMutationCase
- Specified by:
getMutationCasein interfaceMutationOrBuilder
-
hasSetCell
public boolean hasSetCell()Set a cell's value.
.google.bigtable.v2.Mutation.SetCell set_cell = 1;- Specified by:
hasSetCellin interfaceMutationOrBuilder- Returns:
- Whether the setCell field is set.
-
getSetCell
Set a cell's value.
.google.bigtable.v2.Mutation.SetCell set_cell = 1;- Specified by:
getSetCellin interfaceMutationOrBuilder- Returns:
- The setCell.
-
getSetCellOrBuilder
Set a cell's value.
.google.bigtable.v2.Mutation.SetCell set_cell = 1;- Specified by:
getSetCellOrBuilderin interfaceMutationOrBuilder
-
hasAddToCell
public boolean hasAddToCell()Incrementally updates an `Aggregate` cell.
.google.bigtable.v2.Mutation.AddToCell add_to_cell = 5;- Specified by:
hasAddToCellin interfaceMutationOrBuilder- Returns:
- Whether the addToCell field is set.
-
getAddToCell
Incrementally updates an `Aggregate` cell.
.google.bigtable.v2.Mutation.AddToCell add_to_cell = 5;- Specified by:
getAddToCellin interfaceMutationOrBuilder- Returns:
- The addToCell.
-
getAddToCellOrBuilder
Incrementally updates an `Aggregate` cell.
.google.bigtable.v2.Mutation.AddToCell add_to_cell = 5;- Specified by:
getAddToCellOrBuilderin interfaceMutationOrBuilder
-
hasMergeToCell
public boolean hasMergeToCell()Merges accumulated state to an `Aggregate` cell.
.google.bigtable.v2.Mutation.MergeToCell merge_to_cell = 6;- Specified by:
hasMergeToCellin interfaceMutationOrBuilder- Returns:
- Whether the mergeToCell field is set.
-
getMergeToCell
Merges accumulated state to an `Aggregate` cell.
.google.bigtable.v2.Mutation.MergeToCell merge_to_cell = 6;- Specified by:
getMergeToCellin interfaceMutationOrBuilder- Returns:
- The mergeToCell.
-
getMergeToCellOrBuilder
Merges accumulated state to an `Aggregate` cell.
.google.bigtable.v2.Mutation.MergeToCell merge_to_cell = 6;- Specified by:
getMergeToCellOrBuilderin interfaceMutationOrBuilder
-
hasDeleteFromColumn
public boolean hasDeleteFromColumn()Deletes cells from a column.
.google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2;- Specified by:
hasDeleteFromColumnin interfaceMutationOrBuilder- Returns:
- Whether the deleteFromColumn field is set.
-
getDeleteFromColumn
Deletes cells from a column.
.google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2;- Specified by:
getDeleteFromColumnin interfaceMutationOrBuilder- Returns:
- The deleteFromColumn.
-
getDeleteFromColumnOrBuilder
Deletes cells from a column.
.google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2;- Specified by:
getDeleteFromColumnOrBuilderin interfaceMutationOrBuilder
-
hasDeleteFromFamily
public boolean hasDeleteFromFamily()Deletes cells from a column family.
.google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3;- Specified by:
hasDeleteFromFamilyin interfaceMutationOrBuilder- Returns:
- Whether the deleteFromFamily field is set.
-
getDeleteFromFamily
Deletes cells from a column family.
.google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3;- Specified by:
getDeleteFromFamilyin interfaceMutationOrBuilder- Returns:
- The deleteFromFamily.
-
getDeleteFromFamilyOrBuilder
Deletes cells from a column family.
.google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3;- Specified by:
getDeleteFromFamilyOrBuilderin interfaceMutationOrBuilder
-
hasDeleteFromRow
public boolean hasDeleteFromRow()Deletes cells from the entire row.
.google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4;- Specified by:
hasDeleteFromRowin interfaceMutationOrBuilder- Returns:
- Whether the deleteFromRow field is set.
-
getDeleteFromRow
Deletes cells from the entire row.
.google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4;- Specified by:
getDeleteFromRowin interfaceMutationOrBuilder- Returns:
- The deleteFromRow.
-
getDeleteFromRowOrBuilder
Deletes cells from the entire row.
.google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4;- Specified by:
getDeleteFromRowOrBuilderin interfaceMutationOrBuilder
-
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 Mutation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mutation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mutation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mutation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mutation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mutation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Mutation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Mutation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Mutation 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 Mutation.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
-