Class UpstreamEndpointStats
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.envoyproxy.envoy.config.endpoint.v3.UpstreamEndpointStats
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,UpstreamEndpointStatsOrBuilder,Serializable
@Generated
public final class UpstreamEndpointStats
extends com.google.protobuf.GeneratedMessage
implements UpstreamEndpointStatsOrBuilder
[#next-free-field: 8]Protobuf type
envoy.config.endpoint.v3.UpstreamEndpointStats- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class[#next-free-field: 8]Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Addressstatic final intprivate intprivate static final UpstreamEndpointStatsstatic final intprivate List<EndpointLoadMetricStats> private byteprivate com.google.protobuf.Structstatic final intprivate static final com.google.protobuf.Parser<UpstreamEndpointStats> private static final longstatic final intstatic final intstatic final intstatic final intprivate longprivate longprivate longprivate longFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateprivateUpstreamEndpointStats(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionbooleanUpstream host address.Upstream host address.static UpstreamEndpointStatsstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetLoadMetricStats(int index) Stats for multi-dimensional load balancing.intStats for multi-dimensional load balancing.Stats for multi-dimensional load balancing.getLoadMetricStatsOrBuilder(int index) Stats for multi-dimensional load balancing.List<? extends EndpointLoadMetricStatsOrBuilder> Stats for multi-dimensional load balancing.com.google.protobuf.StructOpaque and implementation dependent metadata of the endpoint.com.google.protobuf.StructOrBuilderOpaque and implementation dependent metadata of the endpoint.com.google.protobuf.Parser<UpstreamEndpointStats> intlongThe total number of requests that failed due to errors at the endpoint.longThe total number of requests that were issued to this endpoint since the last report.longThe total number of unfinished requests for this endpoint.longThe total number of requests successfully completed by the endpoints in the locality.booleanUpstream host address.inthashCode()booleanOpaque and implementation dependent metadata of the endpoint.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(UpstreamEndpointStats prototype) protected UpstreamEndpointStats.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static UpstreamEndpointStatsparseDelimitedFrom(InputStream input) static UpstreamEndpointStatsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpstreamEndpointStatsparseFrom(byte[] data) static UpstreamEndpointStatsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpstreamEndpointStatsparseFrom(com.google.protobuf.ByteString data) static UpstreamEndpointStatsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpstreamEndpointStatsparseFrom(com.google.protobuf.CodedInputStream input) static UpstreamEndpointStatsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpstreamEndpointStatsparseFrom(InputStream input) static UpstreamEndpointStatsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpstreamEndpointStatsparseFrom(ByteBuffer data) static UpstreamEndpointStatsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<UpstreamEndpointStats> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
bitField0_
private int bitField0_ -
ADDRESS_FIELD_NUMBER
public static final int ADDRESS_FIELD_NUMBER- See Also:
-
address_
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
metadata_
private com.google.protobuf.Struct metadata_ -
TOTAL_SUCCESSFUL_REQUESTS_FIELD_NUMBER
public static final int TOTAL_SUCCESSFUL_REQUESTS_FIELD_NUMBER- See Also:
-
totalSuccessfulRequests_
private long totalSuccessfulRequests_ -
TOTAL_REQUESTS_IN_PROGRESS_FIELD_NUMBER
public static final int TOTAL_REQUESTS_IN_PROGRESS_FIELD_NUMBER- See Also:
-
totalRequestsInProgress_
private long totalRequestsInProgress_ -
TOTAL_ERROR_REQUESTS_FIELD_NUMBER
public static final int TOTAL_ERROR_REQUESTS_FIELD_NUMBER- See Also:
-
totalErrorRequests_
private long totalErrorRequests_ -
TOTAL_ISSUED_REQUESTS_FIELD_NUMBER
public static final int TOTAL_ISSUED_REQUESTS_FIELD_NUMBER- See Also:
-
totalIssuedRequests_
private long totalIssuedRequests_ -
LOAD_METRIC_STATS_FIELD_NUMBER
public static final int LOAD_METRIC_STATS_FIELD_NUMBER- See Also:
-
loadMetricStats_
-
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
UpstreamEndpointStats
private UpstreamEndpointStats(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
UpstreamEndpointStats
private UpstreamEndpointStats()
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasAddress
public boolean hasAddress()Upstream host address.
.envoy.config.core.v3.Address address = 1;- Specified by:
hasAddressin interfaceUpstreamEndpointStatsOrBuilder- Returns:
- Whether the address field is set.
-
getAddress
Upstream host address.
.envoy.config.core.v3.Address address = 1;- Specified by:
getAddressin interfaceUpstreamEndpointStatsOrBuilder- Returns:
- The address.
-
getAddressOrBuilder
Upstream host address.
.envoy.config.core.v3.Address address = 1;- Specified by:
getAddressOrBuilderin interfaceUpstreamEndpointStatsOrBuilder
-
hasMetadata
public boolean hasMetadata()Opaque and implementation dependent metadata of the endpoint. Envoy will pass this directly to the management server.
.google.protobuf.Struct metadata = 6;- Specified by:
hasMetadatain interfaceUpstreamEndpointStatsOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
public com.google.protobuf.Struct getMetadata()Opaque and implementation dependent metadata of the endpoint. Envoy will pass this directly to the management server.
.google.protobuf.Struct metadata = 6;- Specified by:
getMetadatain interfaceUpstreamEndpointStatsOrBuilder- Returns:
- The metadata.
-
getMetadataOrBuilder
public com.google.protobuf.StructOrBuilder getMetadataOrBuilder()Opaque and implementation dependent metadata of the endpoint. Envoy will pass this directly to the management server.
.google.protobuf.Struct metadata = 6;- Specified by:
getMetadataOrBuilderin interfaceUpstreamEndpointStatsOrBuilder
-
getTotalSuccessfulRequests
public long getTotalSuccessfulRequests()The total number of requests successfully completed by the endpoints in the locality. These include non-5xx responses for HTTP, where errors originate at the client and the endpoint responded successfully. For gRPC, the grpc-status values are those not covered by total_error_requests below.
uint64 total_successful_requests = 2;- Specified by:
getTotalSuccessfulRequestsin interfaceUpstreamEndpointStatsOrBuilder- Returns:
- The totalSuccessfulRequests.
-
getTotalRequestsInProgress
public long getTotalRequestsInProgress()The total number of unfinished requests for this endpoint.
uint64 total_requests_in_progress = 3;- Specified by:
getTotalRequestsInProgressin interfaceUpstreamEndpointStatsOrBuilder- Returns:
- The totalRequestsInProgress.
-
getTotalErrorRequests
public long getTotalErrorRequests()The total number of requests that failed due to errors at the endpoint. For HTTP these are responses with 5xx status codes and for gRPC the grpc-status values: - DeadlineExceeded - Unimplemented - Internal - Unavailable - Unknown - DataLoss
uint64 total_error_requests = 4;- Specified by:
getTotalErrorRequestsin interfaceUpstreamEndpointStatsOrBuilder- Returns:
- The totalErrorRequests.
-
getTotalIssuedRequests
public long getTotalIssuedRequests()The total number of requests that were issued to this endpoint since the last report. A single TCP connection, HTTP or gRPC request or stream is counted as one request.
uint64 total_issued_requests = 7;- Specified by:
getTotalIssuedRequestsin interfaceUpstreamEndpointStatsOrBuilder- Returns:
- The totalIssuedRequests.
-
getLoadMetricStatsList
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsListin interfaceUpstreamEndpointStatsOrBuilder
-
getLoadMetricStatsOrBuilderList
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsOrBuilderListin interfaceUpstreamEndpointStatsOrBuilder
-
getLoadMetricStatsCount
public int getLoadMetricStatsCount()Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsCountin interfaceUpstreamEndpointStatsOrBuilder
-
getLoadMetricStats
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsin interfaceUpstreamEndpointStatsOrBuilder
-
getLoadMetricStatsOrBuilder
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsOrBuilderin interfaceUpstreamEndpointStatsOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static UpstreamEndpointStats parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpstreamEndpointStats parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpstreamEndpointStats parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpstreamEndpointStats parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpstreamEndpointStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpstreamEndpointStats parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static UpstreamEndpointStats parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static UpstreamEndpointStats parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static UpstreamEndpointStats parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static UpstreamEndpointStats parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UpstreamEndpointStats.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-