Class Cell (2.14.0)

public final class Cell extends GeneratedMessageV3 implements CellOrBuilder

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

Protobuf type google.bigtable.v2.Cell

Implements

CellOrBuilder

Static Fields

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
TypeDescription
int

TIMESTAMP_MICROS_FIELD_NUMBER

public static final int TIMESTAMP_MICROS_FIELD_NUMBER
Field Value
TypeDescription
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Cell getDefaultInstance()
Returns
TypeDescription
Cell

getDescriptor()

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

newBuilder()

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

newBuilder(Cell prototype)

public static Cell.Builder newBuilder(Cell prototype)
Parameter
NameDescription
prototypeCell
Returns
TypeDescription
Cell.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Cell getDefaultInstanceForType()
Returns
TypeDescription
Cell

getLabels(int index)

public String getLabels(int index)

Labels applied to the cell by a RowFilter.

repeated string labels = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The labels at the given index.

getLabelsBytes(int index)

public ByteString getLabelsBytes(int index)

Labels applied to the cell by a RowFilter.

repeated string labels = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the labels at the given index.

getLabelsCount()

public int getLabelsCount()

Labels applied to the cell by a RowFilter.

repeated string labels = 3;

Returns
TypeDescription
int

The count of labels.

getLabelsList()

public ProtocolStringList getLabelsList()

Labels applied to the cell by a RowFilter.

repeated string labels = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the labels.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTimestampMicros()

public long getTimestampMicros()

The cell's stored timestamp, which also uniquely identifies it within its column. Values are always expressed in microseconds, but individual tables may set a coarser granularity to further restrict the allowed values. For example, a table which specifies millisecond granularity will only allow values of timestamp_micros which are multiples of 1000.

int64 timestamp_micros = 1;

Returns
TypeDescription
long

The timestampMicros.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getValue()

public ByteString getValue()

The value stored in the cell. May contain any byte string, including the empty string, up to 100MiB in length.

bytes value = 2;

Returns
TypeDescription
ByteString

The value.

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 Cell.Builder newBuilderForType()
Returns
TypeDescription
Cell.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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