public static final class Cell.Builder extends GeneratedMessageV3.Builder<Cell.Builder> 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.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Cell.BuilderImplements
CellOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllLabels(Iterable<String> values)
public Cell.Builder addAllLabels(Iterable<String> values)
Labels applied to the cell by a RowFilter.
repeated string labels = 3;
Name | Description |
values | Iterable<String> The labels to add. |
Type | Description |
Cell.Builder | This builder for chaining. |
addLabels(String value)
public Cell.Builder addLabels(String value)
Labels applied to the cell by a RowFilter.
repeated string labels = 3;
Name | Description |
value | String The labels to add. |
Type | Description |
Cell.Builder | This builder for chaining. |
addLabelsBytes(ByteString value)
public Cell.Builder addLabelsBytes(ByteString value)
Labels applied to the cell by a RowFilter.
repeated string labels = 3;
Name | Description |
value | ByteString The bytes of the labels to add. |
Type | Description |
Cell.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Cell.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Cell.Builder |
build()
public Cell build()
Type | Description |
Cell |
buildPartial()
public Cell buildPartial()
Type | Description |
Cell |
clear()
public Cell.Builder clear()
Type | Description |
Cell.Builder |
clearField(Descriptors.FieldDescriptor field)
public Cell.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Cell.Builder |
clearLabels()
public Cell.Builder clearLabels()
Labels applied to the cell by a RowFilter.
repeated string labels = 3;
Type | Description |
Cell.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Cell.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Cell.Builder |
clearTimestampMicros()
public Cell.Builder clearTimestampMicros()
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 |
Cell.Builder | This builder for chaining. |
clearValue()
public Cell.Builder clearValue()
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 |
Cell.Builder | This builder for chaining. |
clone()
public Cell.Builder clone()
Type | Description |
Cell.Builder |
getDefaultInstanceForType()
public Cell getDefaultInstanceForType()
Type | Description |
Cell |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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. |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Cell other)
public Cell.Builder mergeFrom(Cell other)
Name | Description |
other | Cell |
Type | Description |
Cell.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Cell.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Cell.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Cell.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Cell.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Cell.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Cell.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Cell.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Cell.Builder |
setLabels(int index, String value)
public Cell.Builder setLabels(int index, String value)
Labels applied to the cell by a RowFilter.
repeated string labels = 3;
Name | Description |
index | int The index to set the value at. |
value | String The labels to set. |
Type | Description |
Cell.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Cell.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Cell.Builder |
setTimestampMicros(long value)
public Cell.Builder setTimestampMicros(long value)
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;
Name | Description |
value | long The timestampMicros to set. |
Type | Description |
Cell.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Cell.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Cell.Builder |
setValue(ByteString value)
public Cell.Builder setValue(ByteString value)
The value stored in the cell. May contain any byte string, including the empty string, up to 100MiB in length.
bytes value = 2;
Name | Description |
value | ByteString The value to set. |
Type | Description |
Cell.Builder | This builder for chaining. |