Class RowSet.Builder (2.17.1)

public static final class RowSet.Builder extends GeneratedMessageV3.Builder<RowSet.Builder> implements RowSetOrBuilder

Specifies a non-contiguous set of rows.

Protobuf type google.bigtable.v2.RowSet

Implements

RowSetOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllRowKeys(Iterable<? extends ByteString> values)

public RowSet.Builder addAllRowKeys(Iterable<? extends ByteString> values)

Single rows included in the set.

repeated bytes row_keys = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.protobuf.ByteString>

The rowKeys to add.

Returns
TypeDescription
RowSet.Builder

This builder for chaining.

addAllRowRanges(Iterable<? extends RowRange> values)

public RowSet.Builder addAllRowRanges(Iterable<? extends RowRange> values)

Contiguous row ranges included in the set.

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

Parameter
NameDescription
valuesIterable<? extends com.google.bigtable.v2.RowRange>
Returns
TypeDescription
RowSet.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addRowKeys(ByteString value)

public RowSet.Builder addRowKeys(ByteString value)

Single rows included in the set.

repeated bytes row_keys = 1;

Parameter
NameDescription
valueByteString

The rowKeys to add.

Returns
TypeDescription
RowSet.Builder

This builder for chaining.

addRowRanges(RowRange value)

public RowSet.Builder addRowRanges(RowRange value)

Contiguous row ranges included in the set.

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

Parameter
NameDescription
valueRowRange
Returns
TypeDescription
RowSet.Builder

addRowRanges(RowRange.Builder builderForValue)

public RowSet.Builder addRowRanges(RowRange.Builder builderForValue)

Contiguous row ranges included in the set.

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

Parameter
NameDescription
builderForValueRowRange.Builder
Returns
TypeDescription
RowSet.Builder

addRowRanges(int index, RowRange value)

public RowSet.Builder addRowRanges(int index, RowRange value)

Contiguous row ranges included in the set.

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

Parameters
NameDescription
indexint
valueRowRange
Returns
TypeDescription
RowSet.Builder

addRowRanges(int index, RowRange.Builder builderForValue)

public RowSet.Builder addRowRanges(int index, RowRange.Builder builderForValue)

Contiguous row ranges included in the set.

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

Parameters
NameDescription
indexint
builderForValueRowRange.Builder
Returns
TypeDescription
RowSet.Builder

addRowRangesBuilder()

public RowRange.Builder addRowRangesBuilder()

Contiguous row ranges included in the set.

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

Returns
TypeDescription
RowRange.Builder

addRowRangesBuilder(int index)

public RowRange.Builder addRowRangesBuilder(int index)

Contiguous row ranges included in the set.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RowRange.Builder

build()

public RowSet build()
Returns
TypeDescription
RowSet

buildPartial()

public RowSet buildPartial()
Returns
TypeDescription
RowSet

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRowKeys()

public RowSet.Builder clearRowKeys()

Single rows included in the set.

repeated bytes row_keys = 1;

Returns
TypeDescription
RowSet.Builder

This builder for chaining.

clearRowRanges()

public RowSet.Builder clearRowRanges()

Contiguous row ranges included in the set.

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

Returns
TypeDescription
RowSet.Builder

clone()

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

getDefaultInstanceForType()

public RowSet getDefaultInstanceForType()
Returns
TypeDescription
RowSet

getDescriptorForType()

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

getRowRangesBuilder(int index)

public RowRange.Builder getRowRangesBuilder(int index)

Contiguous row ranges included in the set.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RowRange.Builder

getRowRangesBuilderList()

public List<RowRange.Builder> getRowRangesBuilderList()

Contiguous row ranges included in the set.

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

Returns
TypeDescription
List<Builder>

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RowSet other)

public RowSet.Builder mergeFrom(RowSet other)
Parameter
NameDescription
otherRowSet
Returns
TypeDescription
RowSet.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeRowRanges(int index)

public RowSet.Builder removeRowRanges(int index)

Contiguous row ranges included in the set.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RowSet.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRowKeys(int index, ByteString value)

public RowSet.Builder setRowKeys(int index, ByteString value)

Single rows included in the set.

repeated bytes row_keys = 1;

Parameters
NameDescription
indexint

The index to set the value at.

valueByteString

The rowKeys to set.

Returns
TypeDescription
RowSet.Builder

This builder for chaining.

setRowRanges(int index, RowRange value)

public RowSet.Builder setRowRanges(int index, RowRange value)

Contiguous row ranges included in the set.

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

Parameters
NameDescription
indexint
valueRowRange
Returns
TypeDescription
RowSet.Builder

setRowRanges(int index, RowRange.Builder builderForValue)

public RowSet.Builder setRowRanges(int index, RowRange.Builder builderForValue)

Contiguous row ranges included in the set.

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

Parameters
NameDescription
indexint
builderForValueRowRange.Builder
Returns
TypeDescription
RowSet.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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