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

FULL_READ_STATS_VIEW_FIELD_NUMBER

public static final int FULL_READ_STATS_VIEW_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

getDefaultInstanceForType()

public RequestStats getDefaultInstanceForType()
Returns
TypeDescription
RequestStats

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.

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

getParserForType()

public Parser<RequestStats> getParserForType()
Returns
TypeDescription
Parser<RequestStats>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStatsViewCase()

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

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