public static final class Messages.LoadBalancerAccumulatedStatsResponse extends com.google.protobuf.GeneratedMessageV3 implements Messages.LoadBalancerAccumulatedStatsResponseOrBuilder
Accumulated stats for RPCs sent by a test client.Protobuf type
grpc.testing.LoadBalancerAccumulatedStatsResponse| Modifier and Type | Class and Description |
|---|---|
static class |
Messages.LoadBalancerAccumulatedStatsResponse.Builder
Accumulated stats for RPCs sent by a test client.
|
static class |
Messages.LoadBalancerAccumulatedStatsResponse.MethodStats
Protobuf type
grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats |
static interface |
Messages.LoadBalancerAccumulatedStatsResponse.MethodStatsOrBuilder |
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 |
NUM_RPCS_FAILED_BY_METHOD_FIELD_NUMBER |
static int |
NUM_RPCS_STARTED_BY_METHOD_FIELD_NUMBER |
static int |
NUM_RPCS_SUCCEEDED_BY_METHOD_FIELD_NUMBER |
static int |
STATS_PER_METHOD_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, 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 NUM_RPCS_STARTED_BY_METHOD_FIELD_NUMBER
public static final int NUM_RPCS_SUCCEEDED_BY_METHOD_FIELD_NUMBER
public static final int NUM_RPCS_FAILED_BY_METHOD_FIELD_NUMBER
public static final int STATS_PER_METHOD_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.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3@Deprecated public int getNumRpcsStartedByMethodCount()
Messages.LoadBalancerAccumulatedStatsResponseOrBuilderThe total number of RPCs have ever issued for each type. Deprecated: use stats_per_method.rpcs_started instead.
map<string, int32> num_rpcs_started_by_method = 1 [deprecated = true];getNumRpcsStartedByMethodCount in interface Messages.LoadBalancerAccumulatedStatsResponseOrBuilder@Deprecated public boolean containsNumRpcsStartedByMethod(String key)
The total number of RPCs have ever issued for each type. Deprecated: use stats_per_method.rpcs_started instead.
map<string, int32> num_rpcs_started_by_method = 1 [deprecated = true];containsNumRpcsStartedByMethod in interface Messages.LoadBalancerAccumulatedStatsResponseOrBuilder@Deprecated public Map<String,Integer> getNumRpcsStartedByMethod()
getNumRpcsStartedByMethodMap() instead.getNumRpcsStartedByMethod in interface Messages.LoadBalancerAccumulatedStatsResponseOrBuilder@Deprecated public Map<String,Integer> getNumRpcsStartedByMethodMap()
The total number of RPCs have ever issued for each type. Deprecated: use stats_per_method.rpcs_started instead.
map<string, int32> num_rpcs_started_by_method = 1 [deprecated = true];getNumRpcsStartedByMethodMap in interface Messages.LoadBalancerAccumulatedStatsResponseOrBuilder@Deprecated public int getNumRpcsStartedByMethodOrDefault(String key, int defaultValue)
The total number of RPCs have ever issued for each type. Deprecated: use stats_per_method.rpcs_started instead.
map<string, int32> num_rpcs_started_by_method = 1 [deprecated = true];getNumRpcsStartedByMethodOrDefault in interface Messages.LoadBalancerAccumulatedStatsResponseOrBuilder@Deprecated public int getNumRpcsStartedByMethodOrThrow(String key)
The total number of RPCs have ever issued for each type. Deprecated: use stats_per_method.rpcs_started instead.
map<string, int32> num_rpcs_started_by_method = 1 [deprecated = true];getNumRpcsStartedByMethodOrThrow in interface Messages.LoadBalancerAccumulatedStatsResponseOrBuilder@Deprecated public int getNumRpcsSucceededByMethodCount()
Messages.LoadBalancerAccumulatedStatsResponseOrBuilderThe total number of RPCs have ever completed successfully for each type. Deprecated: use stats_per_method.result instead.
map<string, int32> num_rpcs_succeeded_by_method = 2 [deprecated = true];getNumRpcsSucceededByMethodCount in interface Messages.LoadBalancerAccumulatedStatsResponseOrBuilder@Deprecated public boolean containsNumRpcsSucceededByMethod(String key)
The total number of RPCs have ever completed successfully for each type. Deprecated: use stats_per_method.result instead.
map<string, int32> num_rpcs_succeeded_by_method = 2 [deprecated = true];containsNumRpcsSucceededByMethod in interface Messages.LoadBalancerAccumulatedStatsResponseOrBuilder@Deprecated public Map<String,Integer> getNumRpcsSucceededByMethod()
getNumRpcsSucceededByMethodMap() instead.getNumRpcsSucceededByMethod in interface Messages.LoadBalancerAccumulatedStatsResponseOrBuilder@Deprecated public Map<String,Integer> getNumRpcsSucceededByMethodMap()
The total number of RPCs have ever completed successfully for each type. Deprecated: use stats_per_method.result instead.
map<string, int32> num_rpcs_succeeded_by_method = 2 [deprecated = true];getNumRpcsSucceededByMethodMap in interface Messages.LoadBalancerAccumulatedStatsResponseOrBuilder@Deprecated public int getNumRpcsSucceededByMethodOrDefault(String key, int defaultValue)
The total number of RPCs have ever completed successfully for each type. Deprecated: use stats_per_method.result instead.
map<string, int32> num_rpcs_succeeded_by_method = 2 [deprecated = true];getNumRpcsSucceededByMethodOrDefault in interface Messages.LoadBalancerAccumulatedStatsResponseOrBuilder@Deprecated public int getNumRpcsSucceededByMethodOrThrow(String key)
The total number of RPCs have ever completed successfully for each type. Deprecated: use stats_per_method.result instead.
map<string, int32> num_rpcs_succeeded_by_method = 2 [deprecated = true];getNumRpcsSucceededByMethodOrThrow in interface Messages.LoadBalancerAccumulatedStatsResponseOrBuilder@Deprecated public int getNumRpcsFailedByMethodCount()
Messages.LoadBalancerAccumulatedStatsResponseOrBuilderThe total number of RPCs have ever failed for each type. Deprecated: use stats_per_method.result instead.
map<string, int32> num_rpcs_failed_by_method = 3 [deprecated = true];getNumRpcsFailedByMethodCount in interface Messages.LoadBalancerAccumulatedStatsResponseOrBuilder@Deprecated public boolean containsNumRpcsFailedByMethod(String key)
The total number of RPCs have ever failed for each type. Deprecated: use stats_per_method.result instead.
map<string, int32> num_rpcs_failed_by_method = 3 [deprecated = true];containsNumRpcsFailedByMethod in interface Messages.LoadBalancerAccumulatedStatsResponseOrBuilder@Deprecated public Map<String,Integer> getNumRpcsFailedByMethod()
getNumRpcsFailedByMethodMap() instead.getNumRpcsFailedByMethod in interface Messages.LoadBalancerAccumulatedStatsResponseOrBuilder@Deprecated public Map<String,Integer> getNumRpcsFailedByMethodMap()
The total number of RPCs have ever failed for each type. Deprecated: use stats_per_method.result instead.
map<string, int32> num_rpcs_failed_by_method = 3 [deprecated = true];getNumRpcsFailedByMethodMap in interface Messages.LoadBalancerAccumulatedStatsResponseOrBuilder@Deprecated public int getNumRpcsFailedByMethodOrDefault(String key, int defaultValue)
The total number of RPCs have ever failed for each type. Deprecated: use stats_per_method.result instead.
map<string, int32> num_rpcs_failed_by_method = 3 [deprecated = true];getNumRpcsFailedByMethodOrDefault in interface Messages.LoadBalancerAccumulatedStatsResponseOrBuilder@Deprecated public int getNumRpcsFailedByMethodOrThrow(String key)
The total number of RPCs have ever failed for each type. Deprecated: use stats_per_method.result instead.
map<string, int32> num_rpcs_failed_by_method = 3 [deprecated = true];getNumRpcsFailedByMethodOrThrow in interface Messages.LoadBalancerAccumulatedStatsResponseOrBuilderpublic int getStatsPerMethodCount()
Messages.LoadBalancerAccumulatedStatsResponseOrBuilderPer-method RPC statistics. The key is the RpcType in string form; e.g. 'EMPTY_CALL' or 'UNARY_CALL'
map<string, .grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats> stats_per_method = 4;getStatsPerMethodCount in interface Messages.LoadBalancerAccumulatedStatsResponseOrBuilderpublic boolean containsStatsPerMethod(String key)
Per-method RPC statistics. The key is the RpcType in string form; e.g. 'EMPTY_CALL' or 'UNARY_CALL'
map<string, .grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats> stats_per_method = 4;containsStatsPerMethod in interface Messages.LoadBalancerAccumulatedStatsResponseOrBuilder@Deprecated public Map<String,Messages.LoadBalancerAccumulatedStatsResponse.MethodStats> getStatsPerMethod()
getStatsPerMethodMap() instead.getStatsPerMethod in interface Messages.LoadBalancerAccumulatedStatsResponseOrBuilderpublic Map<String,Messages.LoadBalancerAccumulatedStatsResponse.MethodStats> getStatsPerMethodMap()
Per-method RPC statistics. The key is the RpcType in string form; e.g. 'EMPTY_CALL' or 'UNARY_CALL'
map<string, .grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats> stats_per_method = 4;getStatsPerMethodMap in interface Messages.LoadBalancerAccumulatedStatsResponseOrBuilderpublic Messages.LoadBalancerAccumulatedStatsResponse.MethodStats getStatsPerMethodOrDefault(String key, Messages.LoadBalancerAccumulatedStatsResponse.MethodStats defaultValue)
Per-method RPC statistics. The key is the RpcType in string form; e.g. 'EMPTY_CALL' or 'UNARY_CALL'
map<string, .grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats> stats_per_method = 4;getStatsPerMethodOrDefault in interface Messages.LoadBalancerAccumulatedStatsResponseOrBuilderpublic Messages.LoadBalancerAccumulatedStatsResponse.MethodStats getStatsPerMethodOrThrow(String key)
Per-method RPC statistics. The key is the RpcType in string form; e.g. 'EMPTY_CALL' or 'UNARY_CALL'
map<string, .grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats> stats_per_method = 4;getStatsPerMethodOrThrow in interface Messages.LoadBalancerAccumulatedStatsResponseOrBuilderpublic 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 Messages.LoadBalancerAccumulatedStatsResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.LoadBalancerAccumulatedStatsResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.LoadBalancerAccumulatedStatsResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.LoadBalancerAccumulatedStatsResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.LoadBalancerAccumulatedStatsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.LoadBalancerAccumulatedStatsResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.LoadBalancerAccumulatedStatsResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static Messages.LoadBalancerAccumulatedStatsResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Messages.LoadBalancerAccumulatedStatsResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Messages.LoadBalancerAccumulatedStatsResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Messages.LoadBalancerAccumulatedStatsResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Messages.LoadBalancerAccumulatedStatsResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Messages.LoadBalancerAccumulatedStatsResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Messages.LoadBalancerAccumulatedStatsResponse.Builder newBuilder()
public static Messages.LoadBalancerAccumulatedStatsResponse.Builder newBuilder(Messages.LoadBalancerAccumulatedStatsResponse prototype)
public Messages.LoadBalancerAccumulatedStatsResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Messages.LoadBalancerAccumulatedStatsResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Messages.LoadBalancerAccumulatedStatsResponse getDefaultInstance()
public static com.google.protobuf.Parser<Messages.LoadBalancerAccumulatedStatsResponse> parser()
public com.google.protobuf.Parser<Messages.LoadBalancerAccumulatedStatsResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Messages.LoadBalancerAccumulatedStatsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder