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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RequestStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RequestStats build()
Returns
buildPartial()
public RequestStats buildPartial()
Returns
clear()
public RequestStats.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public RequestStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RequestStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clearStats()
public RequestStats.Builder clearStats()
Returns
clone()
public RequestStats.Builder clone()
Returns
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
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
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
getDefaultInstanceForType()
public RequestStats getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
getStatsCase()
public RequestStats.StatsCase getStatsCase()
Returns
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
Type | Description |
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
Type | Description |
boolean | Whether the readEfficiencyStats field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(RequestStats other)
public RequestStats.Builder mergeFrom(RequestStats other)
Parameter
Returns
public RequestStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RequestStats.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RequestStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public RequestStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RequestStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RequestStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides