Class ReadIterationStats.Builder (2.16.0)

public static final class ReadIterationStats.Builder extends GeneratedMessageV3.Builder<ReadIterationStats.Builder> implements ReadIterationStatsOrBuilder

ReadIterationStats captures information about the iteration of rows or cells over the course of a read, e.g. how many results were scanned in a read operation versus the results returned.

Protobuf type google.bigtable.v2.ReadIterationStats

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReadIterationStats build()
Returns
TypeDescription
ReadIterationStats

buildPartial()

public ReadIterationStats buildPartial()
Returns
TypeDescription
ReadIterationStats

clear()

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

clearCellsReturnedCount()

public ReadIterationStats.Builder clearCellsReturnedCount()

The cells returned as part of the request.

int64 cells_returned_count = 4;

Returns
TypeDescription
ReadIterationStats.Builder

This builder for chaining.

clearCellsSeenCount()

public ReadIterationStats.Builder clearCellsSeenCount()

The cells seen (scanned) as part of the request. This includes the count of cells returned, as captured below.

int64 cells_seen_count = 3;

Returns
TypeDescription
ReadIterationStats.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRowsReturnedCount()

public ReadIterationStats.Builder clearRowsReturnedCount()

The rows returned as part of the request.

int64 rows_returned_count = 2;

Returns
TypeDescription
ReadIterationStats.Builder

This builder for chaining.

clearRowsSeenCount()

public ReadIterationStats.Builder clearRowsSeenCount()

The rows seen (scanned) as part of the request. This includes the count of rows returned, as captured below.

int64 rows_seen_count = 1;

Returns
TypeDescription
ReadIterationStats.Builder

This builder for chaining.

clone()

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

getCellsReturnedCount()

public long getCellsReturnedCount()

The cells returned as part of the request.

int64 cells_returned_count = 4;

Returns
TypeDescription
long

The cellsReturnedCount.

getCellsSeenCount()

public long getCellsSeenCount()

The cells seen (scanned) as part of the request. This includes the count of cells returned, as captured below.

int64 cells_seen_count = 3;

Returns
TypeDescription
long

The cellsSeenCount.

getDefaultInstanceForType()

public ReadIterationStats getDefaultInstanceForType()
Returns
TypeDescription
ReadIterationStats

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRowsReturnedCount()

public long getRowsReturnedCount()

The rows returned as part of the request.

int64 rows_returned_count = 2;

Returns
TypeDescription
long

The rowsReturnedCount.

getRowsSeenCount()

public long getRowsSeenCount()

The rows seen (scanned) as part of the request. This includes the count of rows returned, as captured below.

int64 rows_seen_count = 1;

Returns
TypeDescription
long

The rowsSeenCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReadIterationStats other)

public ReadIterationStats.Builder mergeFrom(ReadIterationStats other)
Parameter
NameDescription
otherReadIterationStats
Returns
TypeDescription
ReadIterationStats.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCellsReturnedCount(long value)

public ReadIterationStats.Builder setCellsReturnedCount(long value)

The cells returned as part of the request.

int64 cells_returned_count = 4;

Parameter
NameDescription
valuelong

The cellsReturnedCount to set.

Returns
TypeDescription
ReadIterationStats.Builder

This builder for chaining.

setCellsSeenCount(long value)

public ReadIterationStats.Builder setCellsSeenCount(long value)

The cells seen (scanned) as part of the request. This includes the count of cells returned, as captured below.

int64 cells_seen_count = 3;

Parameter
NameDescription
valuelong

The cellsSeenCount to set.

Returns
TypeDescription
ReadIterationStats.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRowsReturnedCount(long value)

public ReadIterationStats.Builder setRowsReturnedCount(long value)

The rows returned as part of the request.

int64 rows_returned_count = 2;

Parameter
NameDescription
valuelong

The rowsReturnedCount to set.

Returns
TypeDescription
ReadIterationStats.Builder

This builder for chaining.

setRowsSeenCount(long value)

public ReadIterationStats.Builder setRowsSeenCount(long value)

The rows seen (scanned) as part of the request. This includes the count of rows returned, as captured below.

int64 rows_seen_count = 1;

Parameter
NameDescription
valuelong

The rowsSeenCount to set.

Returns
TypeDescription
ReadIterationStats.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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