Package com.google.bigtable.v2
Interface CellOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Cell
,Cell.Builder
public interface CellOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getLabels(int index)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].com.google.protobuf.ByteString
getLabelsBytes(int index)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].int
getLabelsCount()
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].List<String>
getLabelsList()
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].long
getTimestampMicros()
The cell's stored timestamp, which also uniquely identifies it within its column.com.google.protobuf.ByteString
getValue()
The value stored in the cell.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTimestampMicros
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:
- The timestampMicros.
-
getValue
com.google.protobuf.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:
- The value.
-
getLabelsList
List<String> getLabelsList()
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
repeated string labels = 3;
- Returns:
- A list containing the labels.
-
getLabelsCount
int getLabelsCount()
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
repeated string labels = 3;
- Returns:
- The count of labels.
-
getLabels
String getLabels(int index)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
repeated string labels = 3;
- Parameters:
index
- The index of the element to return.- Returns:
- The labels at the given index.
-
getLabelsBytes
com.google.protobuf.ByteString getLabelsBytes(int index)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
repeated string labels = 3;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the labels at the given index.
-
-