Package io.grpc.testing.integration
Interface Messages.LoadBalancerAccumulatedStatsResponse.MethodStatsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Messages.LoadBalancerAccumulatedStatsResponse.MethodStats,Messages.LoadBalancerAccumulatedStatsResponse.MethodStats.Builder
- Enclosing class:
- Messages.LoadBalancerAccumulatedStatsResponse
public static interface Messages.LoadBalancerAccumulatedStatsResponse.MethodStatsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsResult(int key)The number of RPCs that completed with each status for this method.java.util.Map<java.lang.Integer,java.lang.Integer>getResult()Deprecated.intgetResultCount()The number of RPCs that completed with each status for this method.java.util.Map<java.lang.Integer,java.lang.Integer>getResultMap()The number of RPCs that completed with each status for this method.intgetResultOrDefault(int key, int defaultValue)The number of RPCs that completed with each status for this method.intgetResultOrThrow(int key)The number of RPCs that completed with each status for this method.intgetRpcsStarted()The number of RPCs that were started for this method.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getRpcsStarted
int getRpcsStarted()
The number of RPCs that were started for this method.
int32 rpcs_started = 1;- Returns:
- The rpcsStarted.
-
getResultCount
int getResultCount()
The number of RPCs that completed with each status for this method. The key is the integral value of a google.rpc.Code; the value is the count.
map<int32, int32> result = 2;
-
containsResult
boolean containsResult(int key)
The number of RPCs that completed with each status for this method. The key is the integral value of a google.rpc.Code; the value is the count.
map<int32, int32> result = 2;
-
getResult
@Deprecated java.util.Map<java.lang.Integer,java.lang.Integer> getResult()
Deprecated.UsegetResultMap()instead.
-
getResultMap
java.util.Map<java.lang.Integer,java.lang.Integer> getResultMap()
The number of RPCs that completed with each status for this method. The key is the integral value of a google.rpc.Code; the value is the count.
map<int32, int32> result = 2;
-
getResultOrDefault
int getResultOrDefault(int key, int defaultValue)The number of RPCs that completed with each status for this method. The key is the integral value of a google.rpc.Code; the value is the count.
map<int32, int32> result = 2;
-
getResultOrThrow
int getResultOrThrow(int key)
The number of RPCs that completed with each status for this method. The key is the integral value of a google.rpc.Code; the value is the count.
map<int32, int32> result = 2;
-
-