Class ReadRowsRequest.Builder (2.16.0)

public static final class ReadRowsRequest.Builder extends GeneratedMessageV3.Builder<ReadRowsRequest.Builder> implements ReadRowsRequestOrBuilder

Request message for Bigtable.ReadRows.

Protobuf type google.bigtable.v2.ReadRowsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReadRowsRequest build()
Returns
TypeDescription
ReadRowsRequest

buildPartial()

public ReadRowsRequest buildPartial()
Returns
TypeDescription
ReadRowsRequest

clear()

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

clearAppProfileId()

public ReadRowsRequest.Builder clearAppProfileId()

This value specifies routing for replication. This API only accepts the empty value of app_profile_id.

string app_profile_id = 5;

Returns
TypeDescription
ReadRowsRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public ReadRowsRequest.Builder clearFilter()

The filter to apply to the contents of the specified row(s). If unset, reads the entirety of each row.

.google.bigtable.v2.RowFilter filter = 3;

Returns
TypeDescription
ReadRowsRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRequestStatsView()

public ReadRowsRequest.Builder clearRequestStatsView()

The view into RequestStats, as described above.

.google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6;

Returns
TypeDescription
ReadRowsRequest.Builder

This builder for chaining.

clearRows()

public ReadRowsRequest.Builder clearRows()

The row keys and/or ranges to read sequentially. If not specified, reads from all rows.

.google.bigtable.v2.RowSet rows = 2;

Returns
TypeDescription
ReadRowsRequest.Builder

clearRowsLimit()

public ReadRowsRequest.Builder clearRowsLimit()

The read will stop after committing to N rows' worth of results. The default (zero) is to return all results.

int64 rows_limit = 4;

Returns
TypeDescription
ReadRowsRequest.Builder

This builder for chaining.

clearTableName()

public ReadRowsRequest.Builder clearTableName()

Required. The unique name of the table from which to read. Values are of the form projects/<project>/instances/<instance>/tables/<table>.

string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ReadRowsRequest.Builder

This builder for chaining.

clone()

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

getAppProfileId()

public String getAppProfileId()

This value specifies routing for replication. This API only accepts the empty value of app_profile_id.

string app_profile_id = 5;

Returns
TypeDescription
String

The appProfileId.

getAppProfileIdBytes()

public ByteString getAppProfileIdBytes()

This value specifies routing for replication. This API only accepts the empty value of app_profile_id.

string app_profile_id = 5;

Returns
TypeDescription
ByteString

The bytes for appProfileId.

getDefaultInstanceForType()

public ReadRowsRequest getDefaultInstanceForType()
Returns
TypeDescription
ReadRowsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFilter()

public RowFilter getFilter()

The filter to apply to the contents of the specified row(s). If unset, reads the entirety of each row.

.google.bigtable.v2.RowFilter filter = 3;

Returns
TypeDescription
RowFilter

The filter.

getFilterBuilder()

public RowFilter.Builder getFilterBuilder()

The filter to apply to the contents of the specified row(s). If unset, reads the entirety of each row.

.google.bigtable.v2.RowFilter filter = 3;

Returns
TypeDescription
RowFilter.Builder

getFilterOrBuilder()

public RowFilterOrBuilder getFilterOrBuilder()

The filter to apply to the contents of the specified row(s). If unset, reads the entirety of each row.

.google.bigtable.v2.RowFilter filter = 3;

Returns
TypeDescription
RowFilterOrBuilder

getRequestStatsView()

public ReadRowsRequest.RequestStatsView getRequestStatsView()

The view into RequestStats, as described above.

.google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6;

Returns
TypeDescription
ReadRowsRequest.RequestStatsView

The requestStatsView.

getRequestStatsViewValue()

public int getRequestStatsViewValue()

The view into RequestStats, as described above.

.google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6;

Returns
TypeDescription
int

The enum numeric value on the wire for requestStatsView.

getRows()

public RowSet getRows()

The row keys and/or ranges to read sequentially. If not specified, reads from all rows.

.google.bigtable.v2.RowSet rows = 2;

Returns
TypeDescription
RowSet

The rows.

getRowsBuilder()

public RowSet.Builder getRowsBuilder()

The row keys and/or ranges to read sequentially. If not specified, reads from all rows.

.google.bigtable.v2.RowSet rows = 2;

Returns
TypeDescription
RowSet.Builder

getRowsLimit()

public long getRowsLimit()

The read will stop after committing to N rows' worth of results. The default (zero) is to return all results.

int64 rows_limit = 4;

Returns
TypeDescription
long

The rowsLimit.

getRowsOrBuilder()

public RowSetOrBuilder getRowsOrBuilder()

The row keys and/or ranges to read sequentially. If not specified, reads from all rows.

.google.bigtable.v2.RowSet rows = 2;

Returns
TypeDescription
RowSetOrBuilder

getTableName()

public String getTableName()

Required. The unique name of the table from which to read. Values are of the form projects/<project>/instances/<instance>/tables/<table>.

string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The tableName.

getTableNameBytes()

public ByteString getTableNameBytes()

Required. The unique name of the table from which to read. Values are of the form projects/<project>/instances/<instance>/tables/<table>.

string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for tableName.

hasFilter()

public boolean hasFilter()

The filter to apply to the contents of the specified row(s). If unset, reads the entirety of each row.

.google.bigtable.v2.RowFilter filter = 3;

Returns
TypeDescription
boolean

Whether the filter field is set.

hasRows()

public boolean hasRows()

The row keys and/or ranges to read sequentially. If not specified, reads from all rows.

.google.bigtable.v2.RowSet rows = 2;

Returns
TypeDescription
boolean

Whether the rows field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFilter(RowFilter value)

public ReadRowsRequest.Builder mergeFilter(RowFilter value)

The filter to apply to the contents of the specified row(s). If unset, reads the entirety of each row.

.google.bigtable.v2.RowFilter filter = 3;

Parameter
NameDescription
valueRowFilter
Returns
TypeDescription
ReadRowsRequest.Builder

mergeFrom(ReadRowsRequest other)

public ReadRowsRequest.Builder mergeFrom(ReadRowsRequest other)
Parameter
NameDescription
otherReadRowsRequest
Returns
TypeDescription
ReadRowsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRows(RowSet value)

public ReadRowsRequest.Builder mergeRows(RowSet value)

The row keys and/or ranges to read sequentially. If not specified, reads from all rows.

.google.bigtable.v2.RowSet rows = 2;

Parameter
NameDescription
valueRowSet
Returns
TypeDescription
ReadRowsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAppProfileId(String value)

public ReadRowsRequest.Builder setAppProfileId(String value)

This value specifies routing for replication. This API only accepts the empty value of app_profile_id.

string app_profile_id = 5;

Parameter
NameDescription
valueString

The appProfileId to set.

Returns
TypeDescription
ReadRowsRequest.Builder

This builder for chaining.

setAppProfileIdBytes(ByteString value)

public ReadRowsRequest.Builder setAppProfileIdBytes(ByteString value)

This value specifies routing for replication. This API only accepts the empty value of app_profile_id.

string app_profile_id = 5;

Parameter
NameDescription
valueByteString

The bytes for appProfileId to set.

Returns
TypeDescription
ReadRowsRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(RowFilter value)

public ReadRowsRequest.Builder setFilter(RowFilter value)

The filter to apply to the contents of the specified row(s). If unset, reads the entirety of each row.

.google.bigtable.v2.RowFilter filter = 3;

Parameter
NameDescription
valueRowFilter
Returns
TypeDescription
ReadRowsRequest.Builder

setFilter(RowFilter.Builder builderForValue)

public ReadRowsRequest.Builder setFilter(RowFilter.Builder builderForValue)

The filter to apply to the contents of the specified row(s). If unset, reads the entirety of each row.

.google.bigtable.v2.RowFilter filter = 3;

Parameter
NameDescription
builderForValueRowFilter.Builder
Returns
TypeDescription
ReadRowsRequest.Builder

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

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

setRequestStatsView(ReadRowsRequest.RequestStatsView value)

public ReadRowsRequest.Builder setRequestStatsView(ReadRowsRequest.RequestStatsView value)

The view into RequestStats, as described above.

.google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6;

Parameter
NameDescription
valueReadRowsRequest.RequestStatsView

The requestStatsView to set.

Returns
TypeDescription
ReadRowsRequest.Builder

This builder for chaining.

setRequestStatsViewValue(int value)

public ReadRowsRequest.Builder setRequestStatsViewValue(int value)

The view into RequestStats, as described above.

.google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6;

Parameter
NameDescription
valueint

The enum numeric value on the wire for requestStatsView to set.

Returns
TypeDescription
ReadRowsRequest.Builder

This builder for chaining.

setRows(RowSet value)

public ReadRowsRequest.Builder setRows(RowSet value)

The row keys and/or ranges to read sequentially. If not specified, reads from all rows.

.google.bigtable.v2.RowSet rows = 2;

Parameter
NameDescription
valueRowSet
Returns
TypeDescription
ReadRowsRequest.Builder

setRows(RowSet.Builder builderForValue)

public ReadRowsRequest.Builder setRows(RowSet.Builder builderForValue)

The row keys and/or ranges to read sequentially. If not specified, reads from all rows.

.google.bigtable.v2.RowSet rows = 2;

Parameter
NameDescription
builderForValueRowSet.Builder
Returns
TypeDescription
ReadRowsRequest.Builder

setRowsLimit(long value)

public ReadRowsRequest.Builder setRowsLimit(long value)

The read will stop after committing to N rows' worth of results. The default (zero) is to return all results.

int64 rows_limit = 4;

Parameter
NameDescription
valuelong

The rowsLimit to set.

Returns
TypeDescription
ReadRowsRequest.Builder

This builder for chaining.

setTableName(String value)

public ReadRowsRequest.Builder setTableName(String value)

Required. The unique name of the table from which to read. Values are of the form projects/<project>/instances/<instance>/tables/<table>.

string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The tableName to set.

Returns
TypeDescription
ReadRowsRequest.Builder

This builder for chaining.

setTableNameBytes(ByteString value)

public ReadRowsRequest.Builder setTableNameBytes(ByteString value)

Required. The unique name of the table from which to read. Values are of the form projects/<project>/instances/<instance>/tables/<table>.

string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for tableName to set.

Returns
TypeDescription
ReadRowsRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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