Class Column.Builder (2.9.0)

public static final class Column.Builder extends GeneratedMessageV3.Builder<Column.Builder> implements ColumnOrBuilder

Specifies (some of) the contents of a single row/column intersection of a table.

Protobuf type google.bigtable.v2.Column

Implements

ColumnOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllCells(Iterable<? extends Cell> values)

public Column.Builder addAllCells(Iterable<? extends Cell> values)

Must not be empty. Sorted in order of decreasing "timestamp_micros".

repeated .google.bigtable.v2.Cell cells = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.bigtable.v2.Cell>
Returns
TypeDescription
Column.Builder

addCells(Cell value)

public Column.Builder addCells(Cell value)

Must not be empty. Sorted in order of decreasing "timestamp_micros".

repeated .google.bigtable.v2.Cell cells = 2;

Parameter
NameDescription
valueCell
Returns
TypeDescription
Column.Builder

addCells(Cell.Builder builderForValue)

public Column.Builder addCells(Cell.Builder builderForValue)

Must not be empty. Sorted in order of decreasing "timestamp_micros".

repeated .google.bigtable.v2.Cell cells = 2;

Parameter
NameDescription
builderForValueCell.Builder
Returns
TypeDescription
Column.Builder

addCells(int index, Cell value)

public Column.Builder addCells(int index, Cell value)

Must not be empty. Sorted in order of decreasing "timestamp_micros".

repeated .google.bigtable.v2.Cell cells = 2;

Parameters
NameDescription
indexint
valueCell
Returns
TypeDescription
Column.Builder

addCells(int index, Cell.Builder builderForValue)

public Column.Builder addCells(int index, Cell.Builder builderForValue)

Must not be empty. Sorted in order of decreasing "timestamp_micros".

repeated .google.bigtable.v2.Cell cells = 2;

Parameters
NameDescription
indexint
builderForValueCell.Builder
Returns
TypeDescription
Column.Builder

addCellsBuilder()

public Cell.Builder addCellsBuilder()

Must not be empty. Sorted in order of decreasing "timestamp_micros".

repeated .google.bigtable.v2.Cell cells = 2;

Returns
TypeDescription
Cell.Builder

addCellsBuilder(int index)

public Cell.Builder addCellsBuilder(int index)

Must not be empty. Sorted in order of decreasing "timestamp_micros".

repeated .google.bigtable.v2.Cell cells = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Cell.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Column build()
Returns
TypeDescription
Column

buildPartial()

public Column buildPartial()
Returns
TypeDescription
Column

clear()

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

clearCells()

public Column.Builder clearCells()

Must not be empty. Sorted in order of decreasing "timestamp_micros".

repeated .google.bigtable.v2.Cell cells = 2;

Returns
TypeDescription
Column.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearQualifier()

public Column.Builder clearQualifier()

The unique key which identifies this column within its family. This is the same key that's used to identify the column in, for example, a RowFilter which sets its column_qualifier_regex_filter field. May contain any byte string, including the empty string, up to 16kiB in length.

bytes qualifier = 1;

Returns
TypeDescription
Column.Builder

This builder for chaining.

clone()

public Column.Builder clone()
Returns
TypeDescription
Column.Builder
Overrides

getCells(int index)

public Cell getCells(int index)

Must not be empty. Sorted in order of decreasing "timestamp_micros".

repeated .google.bigtable.v2.Cell cells = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Cell

getCellsBuilder(int index)

public Cell.Builder getCellsBuilder(int index)

Must not be empty. Sorted in order of decreasing "timestamp_micros".

repeated .google.bigtable.v2.Cell cells = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Cell.Builder

getCellsBuilderList()

public List<Cell.Builder> getCellsBuilderList()

Must not be empty. Sorted in order of decreasing "timestamp_micros".

repeated .google.bigtable.v2.Cell cells = 2;

Returns
TypeDescription
List<Builder>

getCellsCount()

public int getCellsCount()

Must not be empty. Sorted in order of decreasing "timestamp_micros".

repeated .google.bigtable.v2.Cell cells = 2;

Returns
TypeDescription
int

getCellsList()

public List<Cell> getCellsList()

Must not be empty. Sorted in order of decreasing "timestamp_micros".

repeated .google.bigtable.v2.Cell cells = 2;

Returns
TypeDescription
List<Cell>

getCellsOrBuilder(int index)

public CellOrBuilder getCellsOrBuilder(int index)

Must not be empty. Sorted in order of decreasing "timestamp_micros".

repeated .google.bigtable.v2.Cell cells = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
CellOrBuilder

getCellsOrBuilderList()

public List<? extends CellOrBuilder> getCellsOrBuilderList()

Must not be empty. Sorted in order of decreasing "timestamp_micros".

repeated .google.bigtable.v2.Cell cells = 2;

Returns
TypeDescription
List<? extends com.google.bigtable.v2.CellOrBuilder>

getDefaultInstanceForType()

public Column getDefaultInstanceForType()
Returns
TypeDescription
Column

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getQualifier()

public ByteString getQualifier()

The unique key which identifies this column within its family. This is the same key that's used to identify the column in, for example, a RowFilter which sets its column_qualifier_regex_filter field. May contain any byte string, including the empty string, up to 16kiB in length.

bytes qualifier = 1;

Returns
TypeDescription
ByteString

The qualifier.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Column other)

public Column.Builder mergeFrom(Column other)
Parameter
NameDescription
otherColumn
Returns
TypeDescription
Column.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCells(int index)

public Column.Builder removeCells(int index)

Must not be empty. Sorted in order of decreasing "timestamp_micros".

repeated .google.bigtable.v2.Cell cells = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Column.Builder

setCells(int index, Cell value)

public Column.Builder setCells(int index, Cell value)

Must not be empty. Sorted in order of decreasing "timestamp_micros".

repeated .google.bigtable.v2.Cell cells = 2;

Parameters
NameDescription
indexint
valueCell
Returns
TypeDescription
Column.Builder

setCells(int index, Cell.Builder builderForValue)

public Column.Builder setCells(int index, Cell.Builder builderForValue)

Must not be empty. Sorted in order of decreasing "timestamp_micros".

repeated .google.bigtable.v2.Cell cells = 2;

Parameters
NameDescription
indexint
builderForValueCell.Builder
Returns
TypeDescription
Column.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setQualifier(ByteString value)

public Column.Builder setQualifier(ByteString value)

The unique key which identifies this column within its family. This is the same key that's used to identify the column in, for example, a RowFilter which sets its column_qualifier_regex_filter field. May contain any byte string, including the empty string, up to 16kiB in length.

bytes qualifier = 1;

Parameter
NameDescription
valueByteString

The qualifier to set.

Returns
TypeDescription
Column.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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