Class RequestStats.Builder (2.16.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

clearField(Descriptors.FieldDescriptor field)

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

clearFullReadStatsView()

public RequestStats.Builder clearFullReadStatsView()

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

.google.bigtable.v2.FullReadStatsView full_read_stats_view = 1;

Returns
TypeDescription
RequestStats.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStatsView()

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

clone()

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

getDefaultInstanceForType()

public RequestStats getDefaultInstanceForType()
Returns
TypeDescription
RequestStats

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFullReadStatsView()

public FullReadStatsView getFullReadStatsView()

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

.google.bigtable.v2.FullReadStatsView full_read_stats_view = 1;

Returns
TypeDescription
FullReadStatsView

The fullReadStatsView.

getFullReadStatsViewBuilder()

public FullReadStatsView.Builder getFullReadStatsViewBuilder()

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

.google.bigtable.v2.FullReadStatsView full_read_stats_view = 1;

Returns
TypeDescription
FullReadStatsView.Builder

getFullReadStatsViewOrBuilder()

public FullReadStatsViewOrBuilder getFullReadStatsViewOrBuilder()

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

.google.bigtable.v2.FullReadStatsView full_read_stats_view = 1;

Returns
TypeDescription
FullReadStatsViewOrBuilder

getStatsViewCase()

public RequestStats.StatsViewCase getStatsViewCase()
Returns
TypeDescription
RequestStats.StatsViewCase

hasFullReadStatsView()

public boolean hasFullReadStatsView()

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

.google.bigtable.v2.FullReadStatsView full_read_stats_view = 1;

Returns
TypeDescription
boolean

Whether the fullReadStatsView field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

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

mergeFullReadStatsView(FullReadStatsView value)

public RequestStats.Builder mergeFullReadStatsView(FullReadStatsView value)

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

.google.bigtable.v2.FullReadStatsView full_read_stats_view = 1;

Parameter
NameDescription
valueFullReadStatsView
Returns
TypeDescription
RequestStats.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFullReadStatsView(FullReadStatsView value)

public RequestStats.Builder setFullReadStatsView(FullReadStatsView value)

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

.google.bigtable.v2.FullReadStatsView full_read_stats_view = 1;

Parameter
NameDescription
valueFullReadStatsView
Returns
TypeDescription
RequestStats.Builder

setFullReadStatsView(FullReadStatsView.Builder builderForValue)

public RequestStats.Builder setFullReadStatsView(FullReadStatsView.Builder builderForValue)

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

.google.bigtable.v2.FullReadStatsView full_read_stats_view = 1;

Parameter
NameDescription
builderForValueFullReadStatsView.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