Class RequestStats (2.14.0)

public final class RequestStats extends GeneratedMessageV3 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 Fields

ALL_READ_STATS_FIELD_NUMBER

public static final int ALL_READ_STATS_FIELD_NUMBER
Field Value
TypeDescription
int

READ_EFFICIENCY_STATS_FIELD_NUMBER

public static final int READ_EFFICIENCY_STATS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RequestStats getDefaultInstance()
Returns
TypeDescription
RequestStats

getDescriptor()

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

newBuilder()

public static RequestStats.Builder newBuilder()
Returns
TypeDescription
RequestStats.Builder

newBuilder(RequestStats prototype)

public static RequestStats.Builder newBuilder(RequestStats prototype)
Parameter
NameDescription
prototypeRequestStats
Returns
TypeDescription
RequestStats.Builder

parseDelimitedFrom(InputStream input)

public static RequestStats parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RequestStats
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RequestStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RequestStats
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RequestStats parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RequestStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RequestStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RequestStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RequestStats parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RequestStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RequestStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RequestStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RequestStats parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RequestStats
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RequestStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RequestStats
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RequestStats parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RequestStats
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RequestStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RequestStats
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RequestStats parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RequestStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RequestStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RequestStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RequestStats> parser()
Returns
TypeDescription
Parser<RequestStats>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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

getParserForType()

public Parser<RequestStats> getParserForType()
Returns
TypeDescription
Parser<RequestStats>
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.

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStatsCase()

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RequestStats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RequestStats.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException