Class SampleRowKeysResponse (2.14.0)

public final class SampleRowKeysResponse extends GeneratedMessageV3 implements SampleRowKeysResponseOrBuilder

Response message for Bigtable.SampleRowKeys.

Protobuf type google.bigtable.v2.SampleRowKeysResponse

Static Fields

OFFSET_BYTES_FIELD_NUMBER

public static final int OFFSET_BYTES_FIELD_NUMBER
Field Value
TypeDescription
int

ROW_KEY_FIELD_NUMBER

public static final int ROW_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SampleRowKeysResponse getDefaultInstance()
Returns
TypeDescription
SampleRowKeysResponse

getDescriptor()

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

newBuilder()

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

newBuilder(SampleRowKeysResponse prototype)

public static SampleRowKeysResponse.Builder newBuilder(SampleRowKeysResponse prototype)
Parameter
NameDescription
prototypeSampleRowKeysResponse
Returns
TypeDescription
SampleRowKeysResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SampleRowKeysResponse getDefaultInstanceForType()
Returns
TypeDescription
SampleRowKeysResponse

getOffsetBytes()

public long getOffsetBytes()

Approximate total storage space used by all rows in the table which precede row_key. Buffering the contents of all rows between two subsequent samples would require space roughly equal to the difference in their offset_bytes fields.

int64 offset_bytes = 2;

Returns
TypeDescription
long

The offsetBytes.

getParserForType()

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

getRowKey()

public ByteString getRowKey()

Sorted streamed sequence of sample row keys in the table. The table might have contents before the first row key in the list and after the last one, but a key containing the empty string indicates "end of table" and will be the last response given, if present. Note that row keys in this list may not have ever been written to or read from, and users should therefore not make any assumptions about the row key structure that are specific to their use case.

bytes row_key = 1;

Returns
TypeDescription
ByteString

The rowKey.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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