Class RowSet (2.8.0)

public final class RowSet extends GeneratedMessageV3 implements RowSetOrBuilder

Specifies a non-contiguous set of rows.

Protobuf type google.bigtable.v2.RowSet

Implements

RowSetOrBuilder

Static Fields

ROW_KEYS_FIELD_NUMBER

public static final int ROW_KEYS_FIELD_NUMBER
Field Value
TypeDescription
int

ROW_RANGES_FIELD_NUMBER

public static final int ROW_RANGES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RowSet getDefaultInstance()
Returns
TypeDescription
RowSet

getDescriptor()

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

newBuilder()

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

newBuilder(RowSet prototype)

public static RowSet.Builder newBuilder(RowSet prototype)
Parameter
NameDescription
prototypeRowSet
Returns
TypeDescription
RowSet.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RowSet getDefaultInstanceForType()
Returns
TypeDescription
RowSet

getParserForType()

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

getRowKeys(int index)

public ByteString getRowKeys(int index)

Single rows included in the set.

repeated bytes row_keys = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
ByteString

The rowKeys at the given index.

getRowKeysCount()

public int getRowKeysCount()

Single rows included in the set.

repeated bytes row_keys = 1;

Returns
TypeDescription
int

The count of rowKeys.

getRowKeysList()

public List<ByteString> getRowKeysList()

Single rows included in the set.

repeated bytes row_keys = 1;

Returns
TypeDescription
List<ByteString>

A list containing the rowKeys.

getRowRanges(int index)

public RowRange getRowRanges(int index)

Contiguous row ranges included in the set.

repeated .google.bigtable.v2.RowRange row_ranges = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
RowRange

getRowRangesCount()

public int getRowRangesCount()

Contiguous row ranges included in the set.

repeated .google.bigtable.v2.RowRange row_ranges = 2;

Returns
TypeDescription
int

getRowRangesList()

public List<RowRange> getRowRangesList()

Contiguous row ranges included in the set.

repeated .google.bigtable.v2.RowRange row_ranges = 2;

Returns
TypeDescription
List<RowRange>

getRowRangesOrBuilder(int index)

public RowRangeOrBuilder getRowRangesOrBuilder(int index)

Contiguous row ranges included in the set.

repeated .google.bigtable.v2.RowRange row_ranges = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
RowRangeOrBuilder

getRowRangesOrBuilderList()

public List<? extends RowRangeOrBuilder> getRowRangesOrBuilderList()

Contiguous row ranges included in the set.

repeated .google.bigtable.v2.RowRange row_ranges = 2;

Returns
TypeDescription
List<? extends com.google.bigtable.v2.RowRangeOrBuilder>

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 RowSet.Builder newBuilderForType()
Returns
TypeDescription
RowSet.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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