Class UpstreamEndpointStats
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.api.v2.endpoint.UpstreamEndpointStats
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,UpstreamEndpointStatsOrBuilder,Serializable
public final class UpstreamEndpointStats extends com.google.protobuf.GeneratedMessageV3 implements UpstreamEndpointStatsOrBuilder
[#not-implemented-hide:] Not configuration. TBD how to doc proto APIs. [#next-free-field: 8]
Protobuf typeenvoy.api.v2.endpoint.UpstreamEndpointStats- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpstreamEndpointStats.Builder[#not-implemented-hide:] Not configuration.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intADDRESS_FIELD_NUMBERstatic intLOAD_METRIC_STATS_FIELD_NUMBERstatic intMETADATA_FIELD_NUMBERstatic intTOTAL_ERROR_REQUESTS_FIELD_NUMBERstatic intTOTAL_ISSUED_REQUESTS_FIELD_NUMBERstatic intTOTAL_REQUESTS_IN_PROGRESS_FIELD_NUMBERstatic intTOTAL_SUCCESSFUL_REQUESTS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)AddressgetAddress()Upstream host address.AddressOrBuildergetAddressOrBuilder()Upstream host address.static UpstreamEndpointStatsgetDefaultInstance()UpstreamEndpointStatsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()EndpointLoadMetricStatsgetLoadMetricStats(int index)Stats for multi-dimensional load balancing.intgetLoadMetricStatsCount()Stats for multi-dimensional load balancing.List<EndpointLoadMetricStats>getLoadMetricStatsList()Stats for multi-dimensional load balancing.EndpointLoadMetricStatsOrBuildergetLoadMetricStatsOrBuilder(int index)Stats for multi-dimensional load balancing.List<? extends EndpointLoadMetricStatsOrBuilder>getLoadMetricStatsOrBuilderList()Stats for multi-dimensional load balancing.com.google.protobuf.StructgetMetadata()Opaque and implementation dependent metadata of the endpoint.com.google.protobuf.StructOrBuildergetMetadataOrBuilder()Opaque and implementation dependent metadata of the endpoint.com.google.protobuf.Parser<UpstreamEndpointStats>getParserForType()intgetSerializedSize()longgetTotalErrorRequests()The total number of requests that failed due to errors at the endpoint.longgetTotalIssuedRequests()The total number of requests that were issued to this endpoint since the last report.longgetTotalRequestsInProgress()The total number of unfinished requests for this endpoint.longgetTotalSuccessfulRequests()The total number of requests successfully completed by the endpoints in the locality.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAddress()Upstream host address.inthashCode()booleanhasMetadata()Opaque and implementation dependent metadata of the endpoint.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static UpstreamEndpointStats.BuildernewBuilder()static UpstreamEndpointStats.BuildernewBuilder(UpstreamEndpointStats prototype)UpstreamEndpointStats.BuildernewBuilderForType()protected UpstreamEndpointStats.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)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()UpstreamEndpointStats.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ADDRESS_FIELD_NUMBER
public static final int ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TOTAL_SUCCESSFUL_REQUESTS_FIELD_NUMBER
public static final int TOTAL_SUCCESSFUL_REQUESTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TOTAL_REQUESTS_IN_PROGRESS_FIELD_NUMBER
public static final int TOTAL_REQUESTS_IN_PROGRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TOTAL_ERROR_REQUESTS_FIELD_NUMBER
public static final int TOTAL_ERROR_REQUESTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TOTAL_ISSUED_REQUESTS_FIELD_NUMBER
public static final int TOTAL_ISSUED_REQUESTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOAD_METRIC_STATS_FIELD_NUMBER
public static final int LOAD_METRIC_STATS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasAddress
public boolean hasAddress()
Upstream host address.
.envoy.api.v2.core.Address address = 1;- Specified by:
hasAddressin interfaceUpstreamEndpointStatsOrBuilder- Returns:
- Whether the address field is set.
-
getAddress
public Address getAddress()
Upstream host address.
.envoy.api.v2.core.Address address = 1;- Specified by:
getAddressin interfaceUpstreamEndpointStatsOrBuilder- Returns:
- The address.
-
getAddressOrBuilder
public AddressOrBuilder getAddressOrBuilder()
Upstream host address.
.envoy.api.v2.core.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
public List<EndpointLoadMetricStats> getLoadMetricStatsList()
Stats for multi-dimensional load balancing.
repeated .envoy.api.v2.endpoint.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsListin interfaceUpstreamEndpointStatsOrBuilder
-
getLoadMetricStatsOrBuilderList
public List<? extends EndpointLoadMetricStatsOrBuilder> getLoadMetricStatsOrBuilderList()
Stats for multi-dimensional load balancing.
repeated .envoy.api.v2.endpoint.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsOrBuilderListin interfaceUpstreamEndpointStatsOrBuilder
-
getLoadMetricStatsCount
public int getLoadMetricStatsCount()
Stats for multi-dimensional load balancing.
repeated .envoy.api.v2.endpoint.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsCountin interfaceUpstreamEndpointStatsOrBuilder
-
getLoadMetricStats
public EndpointLoadMetricStats getLoadMetricStats(int index)
Stats for multi-dimensional load balancing.
repeated .envoy.api.v2.endpoint.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsin interfaceUpstreamEndpointStatsOrBuilder
-
getLoadMetricStatsOrBuilder
public EndpointLoadMetricStatsOrBuilder getLoadMetricStatsOrBuilder(int index)
Stats for multi-dimensional load balancing.
repeated .envoy.api.v2.endpoint.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.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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
public static UpstreamEndpointStats parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static UpstreamEndpointStats parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static UpstreamEndpointStats parseDelimitedFrom(InputStream input) throws IOException
- 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
public UpstreamEndpointStats.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static UpstreamEndpointStats.Builder newBuilder()
-
newBuilder
public static UpstreamEndpointStats.Builder newBuilder(UpstreamEndpointStats prototype)
-
toBuilder
public UpstreamEndpointStats.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UpstreamEndpointStats.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static UpstreamEndpointStats getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<UpstreamEndpointStats> parser()
-
getParserForType
public com.google.protobuf.Parser<UpstreamEndpointStats> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public UpstreamEndpointStats getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-