Class RequestStats.Builder (2.15.0)

public static final class RequestStats.Builder extends GeneratedMessageV3.Builder<RequestStats.Builder> implements RequestStatsOrBuilder

RequestStats is the container for additional information pertaining to a single request, helpful for evaluating the performance of the sent request. Currently, there are the following supported methods:

  • google.bigtable.v2.ReadRows

Protobuf type google.bigtable.v2.RequestStats

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RequestStats build()
Returns
TypeDescription
RequestStats

buildPartial()

public RequestStats buildPartial()
Returns
TypeDescription
RequestStats

clear()

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

clearAllReadStats()

public RequestStats.Builder clearAllReadStats()

Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL view, see package google.bigtable.v2.

.google.bigtable.v2.AllReadStats all_read_stats = 2;

Returns
TypeDescription
RequestStats.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReadEfficiencyStats()

public RequestStats.Builder clearReadEfficiencyStats()

Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see package google.bigtable.v2.

.google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1;

Returns
TypeDescription
RequestStats.Builder

clearStats()

public RequestStats.Builder clearStats()
Returns
TypeDescription
RequestStats.Builder

clone()

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

getAllReadStats()

public AllReadStats getAllReadStats()

Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL view, see package google.bigtable.v2.

.google.bigtable.v2.AllReadStats all_read_stats = 2;

Returns
TypeDescription
AllReadStats

The allReadStats.

getAllReadStatsBuilder()

public AllReadStats.Builder getAllReadStatsBuilder()

Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL view, see package google.bigtable.v2.

.google.bigtable.v2.AllReadStats all_read_stats = 2;

Returns
TypeDescription
AllReadStats.Builder

getAllReadStatsOrBuilder()

public AllReadStatsOrBuilder getAllReadStatsOrBuilder()

Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL view, see package google.bigtable.v2.

.google.bigtable.v2.AllReadStats all_read_stats = 2;

Returns
TypeDescription
AllReadStatsOrBuilder

getDefaultInstanceForType()

public RequestStats getDefaultInstanceForType()
Returns
TypeDescription
RequestStats

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getReadEfficiencyStats()

public ReadEfficiencyStats getReadEfficiencyStats()

Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see package google.bigtable.v2.

.google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1;

Returns
TypeDescription
ReadEfficiencyStats

The readEfficiencyStats.

getReadEfficiencyStatsBuilder()

public ReadEfficiencyStats.Builder getReadEfficiencyStatsBuilder()

Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see package google.bigtable.v2.

.google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1;

Returns
TypeDescription
ReadEfficiencyStats.Builder

getReadEfficiencyStatsOrBuilder()

public ReadEfficiencyStatsOrBuilder getReadEfficiencyStatsOrBuilder()

Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see package google.bigtable.v2.

.google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1;

Returns
TypeDescription
ReadEfficiencyStatsOrBuilder

getStatsCase()

public RequestStats.StatsCase getStatsCase()
Returns
TypeDescription
RequestStats.StatsCase

hasAllReadStats()

public boolean hasAllReadStats()

Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL view, see package google.bigtable.v2.

.google.bigtable.v2.AllReadStats all_read_stats = 2;

Returns
TypeDescription
boolean

Whether the allReadStats field is set.

hasReadEfficiencyStats()

public boolean hasReadEfficiencyStats()

Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see package google.bigtable.v2.

.google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1;

Returns
TypeDescription
boolean

Whether the readEfficiencyStats field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAllReadStats(AllReadStats value)

public RequestStats.Builder mergeAllReadStats(AllReadStats value)

Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL view, see package google.bigtable.v2.

.google.bigtable.v2.AllReadStats all_read_stats = 2;

Parameter
NameDescription
valueAllReadStats
Returns
TypeDescription
RequestStats.Builder

mergeFrom(RequestStats other)

public RequestStats.Builder mergeFrom(RequestStats other)
Parameter
NameDescription
otherRequestStats
Returns
TypeDescription
RequestStats.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeReadEfficiencyStats(ReadEfficiencyStats value)

public RequestStats.Builder mergeReadEfficiencyStats(ReadEfficiencyStats value)

Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see package google.bigtable.v2.

.google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1;

Parameter
NameDescription
valueReadEfficiencyStats
Returns
TypeDescription
RequestStats.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAllReadStats(AllReadStats value)

public RequestStats.Builder setAllReadStats(AllReadStats value)

Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL view, see package google.bigtable.v2.

.google.bigtable.v2.AllReadStats all_read_stats = 2;

Parameter
NameDescription
valueAllReadStats
Returns
TypeDescription
RequestStats.Builder

setAllReadStats(AllReadStats.Builder builderForValue)

public RequestStats.Builder setAllReadStats(AllReadStats.Builder builderForValue)

Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL view, see package google.bigtable.v2.

.google.bigtable.v2.AllReadStats all_read_stats = 2;

Parameter
NameDescription
builderForValueAllReadStats.Builder
Returns
TypeDescription
RequestStats.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setReadEfficiencyStats(ReadEfficiencyStats value)

public RequestStats.Builder setReadEfficiencyStats(ReadEfficiencyStats value)

Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see package google.bigtable.v2.

.google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1;

Parameter
NameDescription
valueReadEfficiencyStats
Returns
TypeDescription
RequestStats.Builder

setReadEfficiencyStats(ReadEfficiencyStats.Builder builderForValue)

public RequestStats.Builder setReadEfficiencyStats(ReadEfficiencyStats.Builder builderForValue)

Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see package google.bigtable.v2.

.google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1;

Parameter
NameDescription
builderForValueReadEfficiencyStats.Builder
Returns
TypeDescription
RequestStats.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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