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
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
Name | Description |
values | Iterable<? extends com.google.protobuf.ByteString>
The rowKeys to add.
|
Returns
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
Name | Description |
values | Iterable<? extends com.google.bigtable.v2.RowRange>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RowSet.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addRowKeys(ByteString value)
public RowSet.Builder addRowKeys(ByteString value)
Single rows included in the set.
repeated bytes row_keys = 1;
Parameter
Returns
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
Returns
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
Returns
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
Returns
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
Returns
addRowRangesBuilder()
public RowRange.Builder addRowRangesBuilder()
Contiguous row ranges included in the set.
repeated .google.bigtable.v2.RowRange row_ranges = 2;
Returns
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
Returns
build()
Returns
buildPartial()
public RowSet buildPartial()
Returns
clear()
public RowSet.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public RowSet.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RowSet.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRowKeys()
public RowSet.Builder clearRowKeys()
Single rows included in the set.
repeated bytes row_keys = 1;
Returns
clearRowRanges()
public RowSet.Builder clearRowRanges()
Contiguous row ranges included in the set.
repeated .google.bigtable.v2.RowRange row_ranges = 2;
Returns
clone()
public RowSet.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public RowSet getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getRowKeys(int index)
public ByteString getRowKeys(int index)
Single rows included in the set.
repeated bytes row_keys = 1;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
ByteString | The rowKeys at the given index.
|
getRowKeysCount()
public int getRowKeysCount()
Single rows included in the set.
repeated bytes row_keys = 1;
Returns
Type | Description |
int | The count of rowKeys.
|
getRowKeysList()
public List<ByteString> getRowKeysList()
Single rows included in the set.
repeated bytes row_keys = 1;
Returns
getRowRanges(int index)
public RowRange getRowRanges(int index)
Contiguous row ranges included in the set.
repeated .google.bigtable.v2.RowRange row_ranges = 2;
Parameter
Returns
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
Returns
getRowRangesBuilderList()
public List<RowRange.Builder> getRowRangesBuilderList()
Contiguous row ranges included in the set.
repeated .google.bigtable.v2.RowRange row_ranges = 2;
Returns
getRowRangesCount()
public int getRowRangesCount()
Contiguous row ranges included in the set.
repeated .google.bigtable.v2.RowRange row_ranges = 2;
Returns
getRowRangesList()
public List<RowRange> getRowRangesList()
Contiguous row ranges included in the set.
repeated .google.bigtable.v2.RowRange row_ranges = 2;
Returns
getRowRangesOrBuilder(int index)
public RowRangeOrBuilder getRowRangesOrBuilder(int index)
Contiguous row ranges included in the set.
repeated .google.bigtable.v2.RowRange row_ranges = 2;
Parameter
Returns
getRowRangesOrBuilderList()
public List<? extends RowRangeOrBuilder> getRowRangesOrBuilderList()
Contiguous row ranges included in the set.
repeated .google.bigtable.v2.RowRange row_ranges = 2;
Returns
Type | Description |
List<? extends com.google.bigtable.v2.RowRangeOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(RowSet other)
public RowSet.Builder mergeFrom(RowSet other)
Parameter
Returns
public RowSet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RowSet.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RowSet.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public RowSet.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RowSet.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Name | Description |
index | int
The index to set the value at.
|
value | ByteString
The rowKeys to set.
|
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final RowSet.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides