Class Mutation.Builder (2.17.1)

public static final class Mutation.Builder extends GeneratedMessageV3.Builder<Mutation.Builder> implements MutationOrBuilder

Specifies a particular change to be made to the contents of a row.

Protobuf type google.bigtable.v2.Mutation

Implements

MutationOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Mutation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Mutation.Builder
Overrides

build()

public Mutation build()
Returns
TypeDescription
Mutation

buildPartial()

public Mutation buildPartial()
Returns
TypeDescription
Mutation

clear()

public Mutation.Builder clear()
Returns
TypeDescription
Mutation.Builder
Overrides

clearDeleteFromColumn()

public Mutation.Builder clearDeleteFromColumn()

Deletes cells from a column.

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

Returns
TypeDescription
Mutation.Builder

clearDeleteFromFamily()

public Mutation.Builder clearDeleteFromFamily()

Deletes cells from a column family.

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

Returns
TypeDescription
Mutation.Builder

clearDeleteFromRow()

public Mutation.Builder clearDeleteFromRow()

Deletes cells from the entire row.

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

Returns
TypeDescription
Mutation.Builder

clearField(Descriptors.FieldDescriptor field)

public Mutation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Mutation.Builder
Overrides

clearMutation()

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Mutation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Mutation.Builder
Overrides

clearSetCell()

public Mutation.Builder clearSetCell()

Set a cell's value.

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

Returns
TypeDescription
Mutation.Builder

clone()

public Mutation.Builder clone()
Returns
TypeDescription
Mutation.Builder
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.

getDeleteFromColumnBuilder()

public Mutation.DeleteFromColumn.Builder getDeleteFromColumnBuilder()

Deletes cells from a column.

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

Returns
TypeDescription
Mutation.DeleteFromColumn.Builder

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.

getDeleteFromFamilyBuilder()

public Mutation.DeleteFromFamily.Builder getDeleteFromFamilyBuilder()

Deletes cells from a column family.

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

Returns
TypeDescription
Mutation.DeleteFromFamily.Builder

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.

getDeleteFromRowBuilder()

public Mutation.DeleteFromRow.Builder getDeleteFromRowBuilder()

Deletes cells from the entire row.

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

Returns
TypeDescription
Mutation.DeleteFromRow.Builder

getDeleteFromRowOrBuilder()

public Mutation.DeleteFromRowOrBuilder getDeleteFromRowOrBuilder()

Deletes cells from the entire row.

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

Returns
TypeDescription
Mutation.DeleteFromRowOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMutationCase()

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

getSetCell()

public Mutation.SetCell getSetCell()

Set a cell's value.

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

Returns
TypeDescription
Mutation.SetCell

The setCell.

getSetCellBuilder()

public Mutation.SetCell.Builder getSetCellBuilder()

Set a cell's value.

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

Returns
TypeDescription
Mutation.SetCell.Builder

getSetCellOrBuilder()

public Mutation.SetCellOrBuilder getSetCellOrBuilder()

Set a cell's value.

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

Returns
TypeDescription
Mutation.SetCellOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDeleteFromColumn(Mutation.DeleteFromColumn value)

public Mutation.Builder mergeDeleteFromColumn(Mutation.DeleteFromColumn value)

Deletes cells from a column.

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

Parameter
NameDescription
valueMutation.DeleteFromColumn
Returns
TypeDescription
Mutation.Builder

mergeDeleteFromFamily(Mutation.DeleteFromFamily value)

public Mutation.Builder mergeDeleteFromFamily(Mutation.DeleteFromFamily value)

Deletes cells from a column family.

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

Parameter
NameDescription
valueMutation.DeleteFromFamily
Returns
TypeDescription
Mutation.Builder

mergeDeleteFromRow(Mutation.DeleteFromRow value)

public Mutation.Builder mergeDeleteFromRow(Mutation.DeleteFromRow value)

Deletes cells from the entire row.

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

Parameter
NameDescription
valueMutation.DeleteFromRow
Returns
TypeDescription
Mutation.Builder

mergeFrom(Mutation other)

public Mutation.Builder mergeFrom(Mutation other)
Parameter
NameDescription
otherMutation
Returns
TypeDescription
Mutation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Mutation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Mutation.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Mutation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Mutation.Builder
Overrides

mergeSetCell(Mutation.SetCell value)

public Mutation.Builder mergeSetCell(Mutation.SetCell value)

Set a cell's value.

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

Parameter
NameDescription
valueMutation.SetCell
Returns
TypeDescription
Mutation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Mutation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Mutation.Builder
Overrides

setDeleteFromColumn(Mutation.DeleteFromColumn value)

public Mutation.Builder setDeleteFromColumn(Mutation.DeleteFromColumn value)

Deletes cells from a column.

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

Parameter
NameDescription
valueMutation.DeleteFromColumn
Returns
TypeDescription
Mutation.Builder

setDeleteFromColumn(Mutation.DeleteFromColumn.Builder builderForValue)

public Mutation.Builder setDeleteFromColumn(Mutation.DeleteFromColumn.Builder builderForValue)

Deletes cells from a column.

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

Parameter
NameDescription
builderForValueMutation.DeleteFromColumn.Builder
Returns
TypeDescription
Mutation.Builder

setDeleteFromFamily(Mutation.DeleteFromFamily value)

public Mutation.Builder setDeleteFromFamily(Mutation.DeleteFromFamily value)

Deletes cells from a column family.

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

Parameter
NameDescription
valueMutation.DeleteFromFamily
Returns
TypeDescription
Mutation.Builder

setDeleteFromFamily(Mutation.DeleteFromFamily.Builder builderForValue)

public Mutation.Builder setDeleteFromFamily(Mutation.DeleteFromFamily.Builder builderForValue)

Deletes cells from a column family.

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

Parameter
NameDescription
builderForValueMutation.DeleteFromFamily.Builder
Returns
TypeDescription
Mutation.Builder

setDeleteFromRow(Mutation.DeleteFromRow value)

public Mutation.Builder setDeleteFromRow(Mutation.DeleteFromRow value)

Deletes cells from the entire row.

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

Parameter
NameDescription
valueMutation.DeleteFromRow
Returns
TypeDescription
Mutation.Builder

setDeleteFromRow(Mutation.DeleteFromRow.Builder builderForValue)

public Mutation.Builder setDeleteFromRow(Mutation.DeleteFromRow.Builder builderForValue)

Deletes cells from the entire row.

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

Parameter
NameDescription
builderForValueMutation.DeleteFromRow.Builder
Returns
TypeDescription
Mutation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Mutation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Mutation.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Mutation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Mutation.Builder
Overrides

setSetCell(Mutation.SetCell value)

public Mutation.Builder setSetCell(Mutation.SetCell value)

Set a cell's value.

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

Parameter
NameDescription
valueMutation.SetCell
Returns
TypeDescription
Mutation.Builder

setSetCell(Mutation.SetCell.Builder builderForValue)

public Mutation.Builder setSetCell(Mutation.SetCell.Builder builderForValue)

Set a cell's value.

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

Parameter
NameDescription
builderForValueMutation.SetCell.Builder
Returns
TypeDescription
Mutation.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Mutation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Mutation.Builder
Overrides