public static final class Row.Builder extends GeneratedMessageV3.Builder<Row.Builder> implements RowOrBuilder
Specifies the complete (requested) contents of a single row of a table.
Rows which exceed 256MiB in size cannot be read in full.
Protobuf type google.bigtable.v2.Row
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllFamilies(Iterable<? extends Family> values)
public Row.Builder addAllFamilies(Iterable<? extends Family> values)
May be empty, but only if the entire row is empty.
The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.bigtable.v2.Family>
|
Returns
addFamilies(Family value)
public Row.Builder addFamilies(Family value)
May be empty, but only if the entire row is empty.
The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
Parameter
Returns
addFamilies(Family.Builder builderForValue)
public Row.Builder addFamilies(Family.Builder builderForValue)
May be empty, but only if the entire row is empty.
The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
Parameter
Returns
addFamilies(int index, Family value)
public Row.Builder addFamilies(int index, Family value)
May be empty, but only if the entire row is empty.
The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
Parameters
Returns
addFamilies(int index, Family.Builder builderForValue)
public Row.Builder addFamilies(int index, Family.Builder builderForValue)
May be empty, but only if the entire row is empty.
The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
Parameters
Returns
addFamiliesBuilder()
public Family.Builder addFamiliesBuilder()
May be empty, but only if the entire row is empty.
The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
Returns
addFamiliesBuilder(int index)
public Family.Builder addFamiliesBuilder(int index)
May be empty, but only if the entire row is empty.
The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Row.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public Row buildPartial()
Returns
clear()
public Row.Builder clear()
Returns
Overrides
clearFamilies()
public Row.Builder clearFamilies()
May be empty, but only if the entire row is empty.
The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public Row.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearKey()
public Row.Builder clearKey()
The unique key which identifies this row within its table. This is the same
key that's used to identify the row in, for example, a MutateRowRequest.
May contain any non-empty byte string up to 4KiB in length.
bytes key = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Row.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Row.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Row getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFamilies(int index)
public Family getFamilies(int index)
May be empty, but only if the entire row is empty.
The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
Parameter
Returns
getFamiliesBuilder(int index)
public Family.Builder getFamiliesBuilder(int index)
May be empty, but only if the entire row is empty.
The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
Parameter
Returns
getFamiliesBuilderList()
public List<Family.Builder> getFamiliesBuilderList()
May be empty, but only if the entire row is empty.
The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
Returns
getFamiliesCount()
public int getFamiliesCount()
May be empty, but only if the entire row is empty.
The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
Returns
getFamiliesList()
public List<Family> getFamiliesList()
May be empty, but only if the entire row is empty.
The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
Returns
getFamiliesOrBuilder(int index)
public FamilyOrBuilder getFamiliesOrBuilder(int index)
May be empty, but only if the entire row is empty.
The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
Parameter
Returns
getFamiliesOrBuilderList()
public List<? extends FamilyOrBuilder> getFamiliesOrBuilderList()
May be empty, but only if the entire row is empty.
The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
Returns
Type | Description |
List<? extends com.google.bigtable.v2.FamilyOrBuilder> | |
getKey()
public ByteString getKey()
The unique key which identifies this row within its table. This is the same
key that's used to identify the row in, for example, a MutateRowRequest.
May contain any non-empty byte string up to 4KiB in length.
bytes key = 1;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Row other)
public Row.Builder mergeFrom(Row other)
Parameter
Returns
public Row.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Row.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Row.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeFamilies(int index)
public Row.Builder removeFamilies(int index)
May be empty, but only if the entire row is empty.
The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
Parameter
Returns
setFamilies(int index, Family value)
public Row.Builder setFamilies(int index, Family value)
May be empty, but only if the entire row is empty.
The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
Parameters
Returns
setFamilies(int index, Family.Builder builderForValue)
public Row.Builder setFamilies(int index, Family.Builder builderForValue)
May be empty, but only if the entire row is empty.
The mutual ordering of column families is not specified.
repeated .google.bigtable.v2.Family families = 2;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Row.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setKey(ByteString value)
public Row.Builder setKey(ByteString value)
The unique key which identifies this row within its table. This is the same
key that's used to identify the row in, for example, a MutateRowRequest.
May contain any non-empty byte string up to 4KiB in length.
bytes key = 1;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Row.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Row.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides