Class Mutation (2.15.0)

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

Implements

MutationOrBuilder

Static Fields

DELETE_FROM_COLUMN_FIELD_NUMBER

public static final int DELETE_FROM_COLUMN_FIELD_NUMBER
Field Value
TypeDescription
int

DELETE_FROM_FAMILY_FIELD_NUMBER

public static final int DELETE_FROM_FAMILY_FIELD_NUMBER
Field Value
TypeDescription
int

DELETE_FROM_ROW_FIELD_NUMBER

public static final int DELETE_FROM_ROW_FIELD_NUMBER
Field Value
TypeDescription
int

SET_CELL_FIELD_NUMBER

public static final int SET_CELL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Mutation getDefaultInstance()
Returns
TypeDescription
Mutation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Mutation.Builder newBuilder()
Returns
TypeDescription
Mutation.Builder

newBuilder(Mutation prototype)

public static Mutation.Builder newBuilder(Mutation prototype)
Parameter
NameDescription
prototypeMutation
Returns
TypeDescription
Mutation.Builder

parseDelimitedFrom(InputStream input)

public static Mutation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Mutation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Mutation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Mutation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Mutation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Mutation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Mutation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Mutation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Mutation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Mutation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Mutation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Mutation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Mutation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Mutation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Mutation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Mutation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Mutation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Mutation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Mutation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Mutation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Mutation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Mutation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Mutation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Mutation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Mutation> parser()
Returns
TypeDescription
Parser<Mutation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Mutation getDefaultInstanceForType()
Returns
TypeDescription
Mutation

getDeleteFromColumn()

public Mutation.DeleteFromColumn getDeleteFromColumn()

Deletes cells from a column.

.google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2;

Returns
TypeDescription
Mutation.DeleteFromColumn

The deleteFromColumn.

getDeleteFromColumnOrBuilder()

public Mutation.DeleteFromColumnOrBuilder getDeleteFromColumnOrBuilder()

Deletes cells from a column.

.google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2;

Returns
TypeDescription
Mutation.DeleteFromColumnOrBuilder

getDeleteFromFamily()

public Mutation.DeleteFromFamily getDeleteFromFamily()

Deletes cells from a column family.

.google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3;

Returns
TypeDescription
Mutation.DeleteFromFamily

The deleteFromFamily.

getDeleteFromFamilyOrBuilder()

public Mutation.DeleteFromFamilyOrBuilder getDeleteFromFamilyOrBuilder()

Deletes cells from a column family.

.google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3;

Returns
TypeDescription
Mutation.DeleteFromFamilyOrBuilder

getDeleteFromRow()

public Mutation.DeleteFromRow getDeleteFromRow()

Deletes cells from the entire row.

.google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4;

Returns
TypeDescription
Mutation.DeleteFromRow

The deleteFromRow.

getDeleteFromRowOrBuilder()

public Mutation.DeleteFromRowOrBuilder getDeleteFromRowOrBuilder()

Deletes cells from the entire row.

.google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4;

Returns
TypeDescription
Mutation.DeleteFromRowOrBuilder

getMutationCase()

public Mutation.MutationCase getMutationCase()
Returns
TypeDescription
Mutation.MutationCase

getParserForType()

public Parser<Mutation> getParserForType()
Returns
TypeDescription
Parser<Mutation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSetCell()

public Mutation.SetCell getSetCell()

Set a cell's value.

.google.bigtable.v2.Mutation.SetCell set_cell = 1;

Returns
TypeDescription
Mutation.SetCell

The setCell.

getSetCellOrBuilder()

public Mutation.SetCellOrBuilder getSetCellOrBuilder()

Set a cell's value.

.google.bigtable.v2.Mutation.SetCell set_cell = 1;

Returns
TypeDescription
Mutation.SetCellOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasDeleteFromColumn()

public boolean hasDeleteFromColumn()

Deletes cells from a column.

.google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the setCell field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Mutation.Builder newBuilderForType()
Returns
TypeDescription
Mutation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Mutation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Mutation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Mutation.Builder toBuilder()
Returns
TypeDescription
Mutation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException