public final class ClientStats extends com.google.protobuf.GeneratedMessageV3 implements ClientStatsOrBuilder
Contains client level statistics that are useful to load balancing. Each count except the timestamp should be reset to zero after reporting the stats.Protobuf type
grpc.lb.v1.ClientStats| Modifier and Type | Class and Description |
|---|---|
static class |
ClientStats.Builder
Contains client level statistics that are useful to load balancing.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CALLS_FINISHED_WITH_DROP_FIELD_NUMBER |
static int |
NUM_CALLS_FINISHED_FIELD_NUMBER |
static int |
NUM_CALLS_FINISHED_KNOWN_RECEIVED_FIELD_NUMBER |
static int |
NUM_CALLS_FINISHED_WITH_CLIENT_FAILED_TO_SEND_FIELD_NUMBER |
static int |
NUM_CALLS_STARTED_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ClientStatsPerToken |
getCallsFinishedWithDrop(int index)
The list of dropped calls.
|
int |
getCallsFinishedWithDropCount()
The list of dropped calls.
|
List<ClientStatsPerToken> |
getCallsFinishedWithDropList()
The list of dropped calls.
|
ClientStatsPerTokenOrBuilder |
getCallsFinishedWithDropOrBuilder(int index)
The list of dropped calls.
|
List<? extends ClientStatsPerTokenOrBuilder> |
getCallsFinishedWithDropOrBuilderList()
The list of dropped calls.
|
static ClientStats |
getDefaultInstance() |
ClientStats |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getNumCallsFinished()
The total number of RPCs that finished.
|
long |
getNumCallsFinishedKnownReceived()
The total number of RPCs that finished and are known to have been received
by a server.
|
long |
getNumCallsFinishedWithClientFailedToSend()
The total number of RPCs that failed to reach a server except dropped RPCs.
|
long |
getNumCallsStarted()
The total number of RPCs that started.
|
com.google.protobuf.Parser<ClientStats> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getTimestamp()
The timestamp of generating the report.
|
com.google.protobuf.TimestampOrBuilder |
getTimestampOrBuilder()
The timestamp of generating the report.
|
int |
hashCode() |
boolean |
hasTimestamp()
The timestamp of generating the report.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ClientStats.Builder |
newBuilder() |
static ClientStats.Builder |
newBuilder(ClientStats prototype) |
ClientStats.Builder |
newBuilderForType() |
protected ClientStats.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ClientStats |
parseDelimitedFrom(InputStream input) |
static ClientStats |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientStats |
parseFrom(byte[] data) |
static ClientStats |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientStats |
parseFrom(ByteBuffer data) |
static ClientStats |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientStats |
parseFrom(com.google.protobuf.ByteString data) |
static ClientStats |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientStats |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ClientStats |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientStats |
parseFrom(InputStream input) |
static ClientStats |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ClientStats> |
parser() |
ClientStats.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TIMESTAMP_FIELD_NUMBER
public static final int NUM_CALLS_STARTED_FIELD_NUMBER
public static final int NUM_CALLS_FINISHED_FIELD_NUMBER
public static final int NUM_CALLS_FINISHED_WITH_CLIENT_FAILED_TO_SEND_FIELD_NUMBER
public static final int NUM_CALLS_FINISHED_KNOWN_RECEIVED_FIELD_NUMBER
public static final int CALLS_FINISHED_WITH_DROP_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasTimestamp()
The timestamp of generating the report.
.google.protobuf.Timestamp timestamp = 1;hasTimestamp in interface ClientStatsOrBuilderpublic com.google.protobuf.Timestamp getTimestamp()
The timestamp of generating the report.
.google.protobuf.Timestamp timestamp = 1;getTimestamp in interface ClientStatsOrBuilderpublic com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
The timestamp of generating the report.
.google.protobuf.Timestamp timestamp = 1;getTimestampOrBuilder in interface ClientStatsOrBuilderpublic long getNumCallsStarted()
The total number of RPCs that started.
int64 num_calls_started = 2;getNumCallsStarted in interface ClientStatsOrBuilderpublic long getNumCallsFinished()
The total number of RPCs that finished.
int64 num_calls_finished = 3;getNumCallsFinished in interface ClientStatsOrBuilderpublic long getNumCallsFinishedWithClientFailedToSend()
The total number of RPCs that failed to reach a server except dropped RPCs.
int64 num_calls_finished_with_client_failed_to_send = 6;getNumCallsFinishedWithClientFailedToSend in interface ClientStatsOrBuilderpublic long getNumCallsFinishedKnownReceived()
The total number of RPCs that finished and are known to have been received by a server.
int64 num_calls_finished_known_received = 7;getNumCallsFinishedKnownReceived in interface ClientStatsOrBuilderpublic List<ClientStatsPerToken> getCallsFinishedWithDropList()
The list of dropped calls.
repeated .grpc.lb.v1.ClientStatsPerToken calls_finished_with_drop = 8;getCallsFinishedWithDropList in interface ClientStatsOrBuilderpublic List<? extends ClientStatsPerTokenOrBuilder> getCallsFinishedWithDropOrBuilderList()
The list of dropped calls.
repeated .grpc.lb.v1.ClientStatsPerToken calls_finished_with_drop = 8;getCallsFinishedWithDropOrBuilderList in interface ClientStatsOrBuilderpublic int getCallsFinishedWithDropCount()
The list of dropped calls.
repeated .grpc.lb.v1.ClientStatsPerToken calls_finished_with_drop = 8;getCallsFinishedWithDropCount in interface ClientStatsOrBuilderpublic ClientStatsPerToken getCallsFinishedWithDrop(int index)
The list of dropped calls.
repeated .grpc.lb.v1.ClientStatsPerToken calls_finished_with_drop = 8;getCallsFinishedWithDrop in interface ClientStatsOrBuilderpublic ClientStatsPerTokenOrBuilder getCallsFinishedWithDropOrBuilder(int index)
The list of dropped calls.
repeated .grpc.lb.v1.ClientStatsPerToken calls_finished_with_drop = 8;getCallsFinishedWithDropOrBuilder in interface ClientStatsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ClientStats parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientStats parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientStats parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientStats parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientStats parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientStats parseFrom(InputStream input) throws IOException
IOExceptionpublic static ClientStats parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientStats parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ClientStats parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientStats parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ClientStats parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ClientStats.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ClientStats.Builder newBuilder()
public static ClientStats.Builder newBuilder(ClientStats prototype)
public ClientStats.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ClientStats.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ClientStats getDefaultInstance()
public static com.google.protobuf.Parser<ClientStats> parser()
public com.google.protobuf.Parser<ClientStats> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ClientStats getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder