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
Modifier and Type | Method and Description |
---|---|
Cell.Builder |
addAllLabels(java.lang.Iterable<java.lang.String> values)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
|
Cell.Builder |
addLabels(java.lang.String value)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
|
Cell.Builder |
addLabelsBytes(ByteString value)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
|
Cell.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Cell |
build() |
Cell |
buildPartial() |
Cell.Builder |
clear() |
Cell.Builder |
clearField(Descriptors.FieldDescriptor field) |
Cell.Builder |
clearLabels()
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
|
Cell.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Cell.Builder |
clearTimestampMicros()
The cell's stored timestamp, which also uniquely identifies it within
its column.
|
Cell.Builder |
clearValue()
The value stored in the cell.
|
Cell.Builder |
clone() |
Cell |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getLabels(int index)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
|
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].
|
ProtocolStringList |
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.
|
ByteString |
getValue()
The value stored in the cell.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Cell.Builder |
mergeFrom(Cell other) |
Cell.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Cell.Builder |
mergeFrom(Message other) |
Cell.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
Cell.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Cell.Builder |
setLabels(int index,
java.lang.String value)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
|
Cell.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Cell.Builder |
setTimestampMicros(long value)
The cell's stored timestamp, which also uniquely identifies it within
its column.
|
Cell.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
Cell.Builder |
setValue(ByteString value)
The value stored in the cell.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Cell.Builder>
public Cell.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Cell.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Cell.Builder>
public Cell getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Cell build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Cell buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Cell.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Cell.Builder>
public Cell.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Cell.Builder>
public Cell.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Cell.Builder>
public Cell.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Cell.Builder>
public Cell.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Cell.Builder>
public Cell.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Cell.Builder>
public Cell.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Cell.Builder>
public Cell.Builder mergeFrom(Cell other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Cell.Builder>
public Cell.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Cell.Builder>
java.io.IOException
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;
getTimestampMicros
in interface CellOrBuilder
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;
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;
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;
getValue
in interface CellOrBuilder
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;
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;
public ProtocolStringList getLabelsList()
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
repeated string labels = 3;
getLabelsList
in interface CellOrBuilder
public int getLabelsCount()
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
repeated string labels = 3;
getLabelsCount
in interface CellOrBuilder
public java.lang.String getLabels(int index)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
repeated string labels = 3;
getLabels
in interface CellOrBuilder
public ByteString getLabelsBytes(int index)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
repeated string labels = 3;
getLabelsBytes
in interface CellOrBuilder
public Cell.Builder setLabels(int index, java.lang.String value)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
repeated string labels = 3;
public Cell.Builder addLabels(java.lang.String value)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
repeated string labels = 3;
public Cell.Builder addAllLabels(java.lang.Iterable<java.lang.String> values)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
repeated string labels = 3;
public Cell.Builder clearLabels()
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
repeated string labels = 3;
public Cell.Builder addLabelsBytes(ByteString value)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
repeated string labels = 3;
public final Cell.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Cell.Builder>
public final Cell.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Cell.Builder>