Package io.grpc.lb.v1
Interface ClientStatsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ClientStats
,ClientStats.Builder
public interface ClientStatsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCallsFinishedWithDrop
(int index) The list of dropped calls.int
The list of dropped calls.The list of dropped calls.getCallsFinishedWithDropOrBuilder
(int index) The list of dropped calls.List
<? extends ClientStatsPerTokenOrBuilder> The list of dropped calls.long
The total number of RPCs that finished.long
The total number of RPCs that finished and are known to have been received by a server.long
The total number of RPCs that failed to reach a server except dropped RPCs.long
The total number of RPCs that started.com.google.protobuf.Timestamp
The timestamp of generating the report.com.google.protobuf.TimestampOrBuilder
The timestamp of generating the report.boolean
The timestamp of generating the report.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasTimestamp
boolean hasTimestamp()The timestamp of generating the report.
.google.protobuf.Timestamp timestamp = 1;
- Returns:
- Whether the timestamp field is set.
-
getTimestamp
com.google.protobuf.Timestamp getTimestamp()The timestamp of generating the report.
.google.protobuf.Timestamp timestamp = 1;
- Returns:
- The timestamp.
-
getTimestampOrBuilder
com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()The timestamp of generating the report.
.google.protobuf.Timestamp timestamp = 1;
-
getNumCallsStarted
long getNumCallsStarted()The total number of RPCs that started.
int64 num_calls_started = 2;
- Returns:
- The numCallsStarted.
-
getNumCallsFinished
long getNumCallsFinished()The total number of RPCs that finished.
int64 num_calls_finished = 3;
- Returns:
- The numCallsFinished.
-
getNumCallsFinishedWithClientFailedToSend
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;
- Returns:
- The numCallsFinishedWithClientFailedToSend.
-
getNumCallsFinishedKnownReceived
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;
- Returns:
- The numCallsFinishedKnownReceived.
-
getCallsFinishedWithDropList
List<ClientStatsPerToken> getCallsFinishedWithDropList()The list of dropped calls.
repeated .grpc.lb.v1.ClientStatsPerToken calls_finished_with_drop = 8;
-
getCallsFinishedWithDrop
The list of dropped calls.
repeated .grpc.lb.v1.ClientStatsPerToken calls_finished_with_drop = 8;
-
getCallsFinishedWithDropCount
int getCallsFinishedWithDropCount()The list of dropped calls.
repeated .grpc.lb.v1.ClientStatsPerToken calls_finished_with_drop = 8;
-
getCallsFinishedWithDropOrBuilderList
List<? extends ClientStatsPerTokenOrBuilder> getCallsFinishedWithDropOrBuilderList()The list of dropped calls.
repeated .grpc.lb.v1.ClientStatsPerToken calls_finished_with_drop = 8;
-
getCallsFinishedWithDropOrBuilder
The list of dropped calls.
repeated .grpc.lb.v1.ClientStatsPerToken calls_finished_with_drop = 8;
-