Class SampleRowKeysResponse.Builder (2.12.0)

public static final class SampleRowKeysResponse.Builder extends GeneratedMessageV3.Builder<SampleRowKeysResponse.Builder> implements SampleRowKeysResponseOrBuilder

Response message for Bigtable.SampleRowKeys.

Protobuf type google.bigtable.v2.SampleRowKeysResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SampleRowKeysResponse build()
Returns
TypeDescription
SampleRowKeysResponse

buildPartial()

public SampleRowKeysResponse buildPartial()
Returns
TypeDescription
SampleRowKeysResponse

clear()

public SampleRowKeysResponse.Builder clear()
Returns
TypeDescription
SampleRowKeysResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SampleRowKeysResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SampleRowKeysResponse.Builder
Overrides

clearOffsetBytes()

public SampleRowKeysResponse.Builder clearOffsetBytes()

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
SampleRowKeysResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRowKey()

public SampleRowKeysResponse.Builder clearRowKey()

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
SampleRowKeysResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SampleRowKeysResponse getDefaultInstanceForType()
Returns
TypeDescription
SampleRowKeysResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SampleRowKeysResponse other)

public SampleRowKeysResponse.Builder mergeFrom(SampleRowKeysResponse other)
Parameter
NameDescription
otherSampleRowKeysResponse
Returns
TypeDescription
SampleRowKeysResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SampleRowKeysResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SampleRowKeysResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setOffsetBytes(long value)

public SampleRowKeysResponse.Builder setOffsetBytes(long value)

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;

Parameter
NameDescription
valuelong

The offsetBytes to set.

Returns
TypeDescription
SampleRowKeysResponse.Builder

This builder for chaining.

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

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

setRowKey(ByteString value)

public SampleRowKeysResponse.Builder setRowKey(ByteString value)

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;

Parameter
NameDescription
valueByteString

The rowKey to set.

Returns
TypeDescription
SampleRowKeysResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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