Class Row (2.17.1)

public final class Row extends GeneratedMessageV3 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

Static Fields

FAMILIES_FIELD_NUMBER

public static final int FAMILIES_FIELD_NUMBER
Field Value
TypeDescription
int

KEY_FIELD_NUMBER

public static final int KEY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Row getDefaultInstance()
Returns
TypeDescription
Row

getDescriptor()

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

newBuilder()

public static Row.Builder newBuilder()
Returns
TypeDescription
Row.Builder

newBuilder(Row prototype)

public static Row.Builder newBuilder(Row prototype)
Parameter
NameDescription
prototypeRow
Returns
TypeDescription
Row.Builder

parseDelimitedFrom(InputStream input)

public static Row parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Row
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Row parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Row
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Row parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Row
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Row parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Row
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Row parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Row
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Row parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Row
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Row parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Row
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Row parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Row
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Row parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Row
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Row parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Row
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Row parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Row
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Row parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Row
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Row> parser()
Returns
TypeDescription
Parser<Row>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Row getDefaultInstanceForType()
Returns
TypeDescription
Row

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

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.

getParserForType()

public Parser<Row> getParserForType()
Returns
TypeDescription
Parser<Row>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Row.Builder newBuilderForType()
Returns
TypeDescription
Row.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Row.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Row.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Row.Builder toBuilder()
Returns
TypeDescription
Row.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException