public static final class Cell.Builder extends com.google.protobuf.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(Iterable<String> values)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
|
Cell.Builder |
addLabels(String value)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
|
Cell.Builder |
addLabelsBytes(com.google.protobuf.ByteString value)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
|
Cell.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Cell |
build() |
Cell |
buildPartial() |
Cell.Builder |
clear() |
Cell.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Cell.Builder |
clearLabels()
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
|
Cell.Builder |
clearOneof(com.google.protobuf.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 com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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].
|
com.google.protobuf.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.
|
com.google.protobuf.ByteString |
getValue()
The value stored in the cell.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Cell.Builder |
mergeFrom(Cell other) |
Cell.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Cell.Builder |
mergeFrom(com.google.protobuf.Message other) |
Cell.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Cell.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Cell.Builder |
setLabels(int index,
String value)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
|
Cell.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Cell.Builder |
setTimestampMicros(long value)
The cell's stored timestamp, which also uniquely identifies it within
its column.
|
Cell.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Cell.Builder |
setValue(com.google.protobuf.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
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Cell.Builder>
public Cell.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Cell.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Cell.Builder>
public Cell getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Cell build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Cell buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Cell.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Cell.Builder>
public Cell.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Cell.Builder>
public Cell.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Cell.Builder>
public Cell.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Cell.Builder>
public Cell.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Cell.Builder>
public Cell.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Cell.Builder>
public Cell.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Cell.Builder>
public Cell.Builder mergeFrom(Cell other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Cell.Builder>
public Cell.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Cell.Builder>
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;
value
- The timestampMicros to set.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 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;
getValue
in interface CellOrBuilder
public Cell.Builder setValue(com.google.protobuf.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;
value
- The value to set.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 com.google.protobuf.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 String getLabels(int index)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
repeated string labels = 3;
getLabels
in interface CellOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getLabelsBytes(int index)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
repeated string labels = 3;
getLabelsBytes
in interface CellOrBuilder
index
- The index of the value to return.public Cell.Builder setLabels(int index, String value)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
repeated string labels = 3;
index
- The index to set the value at.value
- The labels to set.public Cell.Builder addLabels(String value)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
repeated string labels = 3;
value
- The labels to add.public Cell.Builder addAllLabels(Iterable<String> values)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
repeated string labels = 3;
values
- The labels to add.public Cell.Builder clearLabels()
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
repeated string labels = 3;
public Cell.Builder addLabelsBytes(com.google.protobuf.ByteString value)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
repeated string labels = 3;
value
- The bytes of the labels to add.public final Cell.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Cell.Builder>
public final Cell.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Cell.Builder>
Copyright © 2021 Google LLC. All rights reserved.