public final class Mutation extends GeneratedMessageV3 implements MutationOrBuilder
Specifies a particular change to be made to the contents of a row.
Protobuf type google.bigtable.v2.Mutation
Static Fields
DELETE_FROM_COLUMN_FIELD_NUMBER
public static final int DELETE_FROM_COLUMN_FIELD_NUMBER
Field Value
DELETE_FROM_FAMILY_FIELD_NUMBER
public static final int DELETE_FROM_FAMILY_FIELD_NUMBER
Field Value
DELETE_FROM_ROW_FIELD_NUMBER
public static final int DELETE_FROM_ROW_FIELD_NUMBER
Field Value
SET_CELL_FIELD_NUMBER
public static final int SET_CELL_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Mutation getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Mutation.Builder newBuilder()
Returns
newBuilder(Mutation prototype)
public static Mutation.Builder newBuilder(Mutation prototype)
Parameter
Returns
public static Mutation parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Mutation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Mutation parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Mutation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Mutation parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Mutation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Mutation parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Mutation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Mutation parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Mutation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Mutation parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Mutation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Mutation> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Mutation getDefaultInstanceForType()
Returns
getDeleteFromColumn()
public Mutation.DeleteFromColumn getDeleteFromColumn()
Deletes cells from a column.
.google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2;
Returns
getDeleteFromColumnOrBuilder()
public Mutation.DeleteFromColumnOrBuilder getDeleteFromColumnOrBuilder()
Deletes cells from a column.
.google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2;
Returns
getDeleteFromFamily()
public Mutation.DeleteFromFamily getDeleteFromFamily()
Deletes cells from a column family.
.google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3;
Returns
getDeleteFromFamilyOrBuilder()
public Mutation.DeleteFromFamilyOrBuilder getDeleteFromFamilyOrBuilder()
Deletes cells from a column family.
.google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3;
Returns
getDeleteFromRow()
public Mutation.DeleteFromRow getDeleteFromRow()
Deletes cells from the entire row.
.google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4;
Returns
getDeleteFromRowOrBuilder()
public Mutation.DeleteFromRowOrBuilder getDeleteFromRowOrBuilder()
Deletes cells from the entire row.
.google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4;
Returns
getMutationCase()
public Mutation.MutationCase getMutationCase()
Returns
getParserForType()
public Parser<Mutation> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSetCell()
public Mutation.SetCell getSetCell()
Set a cell's value.
.google.bigtable.v2.Mutation.SetCell set_cell = 1;
Returns
getSetCellOrBuilder()
public Mutation.SetCellOrBuilder getSetCellOrBuilder()
Set a cell's value.
.google.bigtable.v2.Mutation.SetCell set_cell = 1;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasDeleteFromColumn()
public boolean hasDeleteFromColumn()
Deletes cells from a column.
.google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2;
Returns
Type | Description |
boolean | Whether the deleteFromColumn field is set.
|
hasDeleteFromFamily()
public boolean hasDeleteFromFamily()
Deletes cells from a column family.
.google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3;
Returns
Type | Description |
boolean | Whether the deleteFromFamily field is set.
|
hasDeleteFromRow()
public boolean hasDeleteFromRow()
Deletes cells from the entire row.
.google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4;
Returns
Type | Description |
boolean | Whether the deleteFromRow field is set.
|
hasSetCell()
public boolean hasSetCell()
Set a cell's value.
.google.bigtable.v2.Mutation.SetCell set_cell = 1;
Returns
Type | Description |
boolean | Whether the setCell field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Mutation.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Mutation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Mutation.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions