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