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
Fields
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value
TIMESTAMP_MICROS_FIELD_NUMBER
public static final int TIMESTAMP_MICROS_FIELD_NUMBER
Field Value
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static Cell getDefaultInstance()
Returns
getDefaultInstanceForType()
public Cell getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getLabels(int index)
public String getLabels(int index)
Labels applied to the cell by a RowFilter.
repeated string labels = 3;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
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
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
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
Type | Description |
int | The count of labels.
|
getLabelsList()
public ProtocolStringList getLabelsList()
Labels applied to the cell by a RowFilter.
repeated string labels = 3;
Returns
getParserForType()
public Parser<Cell> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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
Type | Description |
long | The timestampMicros.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static Cell.Builder newBuilder()
Returns
newBuilder(Cell prototype)
public static Cell.Builder newBuilder(Cell prototype)
Parameter
Name | Description |
prototype | Cell
|
Returns
newBuilderForType()
public Cell.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Cell.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static Cell parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Cell parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Cell parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Cell parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Cell parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Cell parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Cell parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Cell parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Cell parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Cell parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Cell parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Cell parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Cell> parser()
Returns
toBuilder()
public Cell.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions