Class Row.Builder (2.3.1)

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

Implements

RowOrBuilder

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
NameDescription
valuesIterable<? extends com.google.bigtable.v2.Family>
Returns
TypeDescription
Row.Builder

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
NameDescription
valueFamily
Returns
TypeDescription
Row.Builder

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
NameDescription
builderForValueFamily.Builder
Returns
TypeDescription
Row.Builder

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
NameDescription
indexint
valueFamily
Returns
TypeDescription
Row.Builder

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
NameDescription
indexint
builderForValueFamily.Builder
Returns
TypeDescription
Row.Builder

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
TypeDescription
Family.Builder

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
NameDescription
indexint
Returns
TypeDescription
Family.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Row.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Row.Builder
Overrides

build()

public Row build()
Returns
TypeDescription
Row

buildPartial()

public Row buildPartial()
Returns
TypeDescription
Row

clear()

public Row.Builder clear()
Returns
TypeDescription
Row.Builder
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
TypeDescription
Row.Builder

clearField(Descriptors.FieldDescriptor field)

public Row.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Row.Builder
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
TypeDescription
Row.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Row.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Row.Builder
Overrides

clone()

public Row.Builder clone()
Returns
TypeDescription
Row.Builder
Overrides

getDefaultInstanceForType()

public Row getDefaultInstanceForType()
Returns
TypeDescription
Row

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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
NameDescription
indexint
Returns
TypeDescription
Family

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
NameDescription
indexint
Returns
TypeDescription
Family.Builder

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
TypeDescription
List<Builder>

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
TypeDescription
int

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
TypeDescription
List<Family>

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
NameDescription
indexint
Returns
TypeDescription
FamilyOrBuilder

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
TypeDescription
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
TypeDescription
ByteString

The key.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Row other)

public Row.Builder mergeFrom(Row other)
Parameter
NameDescription
otherRow
Returns
TypeDescription
Row.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Row.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Row.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Row.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Row.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Row.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Row.Builder
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
NameDescription
indexint
Returns
TypeDescription
Row.Builder

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
NameDescription
indexint
valueFamily
Returns
TypeDescription
Row.Builder

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
NameDescription
indexint
builderForValueFamily.Builder
Returns
TypeDescription
Row.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Row.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Row.Builder
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
NameDescription
valueByteString

The key to set.

Returns
TypeDescription
Row.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Row.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Row.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Row.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Row.Builder
Overrides