Class UpstreamLocalityStats
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.config.endpoint.v3.UpstreamLocalityStats
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,UpstreamLocalityStatsOrBuilder,Serializable
public final class UpstreamLocalityStats extends com.google.protobuf.GeneratedMessageV3 implements UpstreamLocalityStatsOrBuilder
These are stats Envoy reports to the management server at a frequency defined by :ref:`LoadStatsResponse.load_reporting_interval<envoy_v3_api_field_service.load_stats.v3.LoadStatsResponse.load_reporting_interval>`. Stats per upstream region/zone and optionally per subzone. [#next-free-field: 9]
Protobuf typeenvoy.config.endpoint.v3.UpstreamLocalityStats- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpstreamLocalityStats.BuilderThese are stats Envoy reports to the management server at a frequency defined by :ref:`LoadStatsResponse.load_reporting_interval<envoy_v3_api_field_service.load_stats.v3.LoadStatsResponse.load_reporting_interval>`.-
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 intLOAD_METRIC_STATS_FIELD_NUMBERstatic intLOCALITY_FIELD_NUMBERstatic intPRIORITY_FIELD_NUMBERstatic intTOTAL_ERROR_REQUESTS_FIELD_NUMBERstatic intTOTAL_ISSUED_REQUESTS_FIELD_NUMBERstatic intTOTAL_REQUESTS_IN_PROGRESS_FIELD_NUMBERstatic intTOTAL_SUCCESSFUL_REQUESTS_FIELD_NUMBERstatic intUPSTREAM_ENDPOINT_STATS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static UpstreamLocalityStatsgetDefaultInstance()UpstreamLocalityStatsgetDefaultInstanceForType()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.LocalitygetLocality()Name of zone, region and optionally endpoint group these metrics were collected from.LocalityOrBuildergetLocalityOrBuilder()Name of zone, region and optionally endpoint group these metrics were collected from.com.google.protobuf.Parser<UpstreamLocalityStats>getParserForType()intgetPriority()[#not-implemented-hide:] The priority of the endpoint group these metrics were collected from.intgetSerializedSize()longgetTotalErrorRequests()The total number of requests that failed due to errors at the endpoint, aggregated over all endpoints in the locality.longgetTotalIssuedRequests()The total number of requests that were issued by this Envoy since the last report.longgetTotalRequestsInProgress()The total number of unfinished requestslonggetTotalSuccessfulRequests()The total number of requests successfully completed by the endpoints in the locality.com.google.protobuf.UnknownFieldSetgetUnknownFields()UpstreamEndpointStatsgetUpstreamEndpointStats(int index)Endpoint granularity stats information for this locality.intgetUpstreamEndpointStatsCount()Endpoint granularity stats information for this locality.List<UpstreamEndpointStats>getUpstreamEndpointStatsList()Endpoint granularity stats information for this locality.UpstreamEndpointStatsOrBuildergetUpstreamEndpointStatsOrBuilder(int index)Endpoint granularity stats information for this locality.List<? extends UpstreamEndpointStatsOrBuilder>getUpstreamEndpointStatsOrBuilderList()Endpoint granularity stats information for this locality.inthashCode()booleanhasLocality()Name of zone, region and optionally endpoint group these metrics were collected from.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static UpstreamLocalityStats.BuildernewBuilder()static UpstreamLocalityStats.BuildernewBuilder(UpstreamLocalityStats prototype)UpstreamLocalityStats.BuildernewBuilderForType()protected UpstreamLocalityStats.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static UpstreamLocalityStatsparseDelimitedFrom(InputStream input)static UpstreamLocalityStatsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UpstreamLocalityStatsparseFrom(byte[] data)static UpstreamLocalityStatsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UpstreamLocalityStatsparseFrom(com.google.protobuf.ByteString data)static UpstreamLocalityStatsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UpstreamLocalityStatsparseFrom(com.google.protobuf.CodedInputStream input)static UpstreamLocalityStatsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UpstreamLocalityStatsparseFrom(InputStream input)static UpstreamLocalityStatsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UpstreamLocalityStatsparseFrom(ByteBuffer data)static UpstreamLocalityStatsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<UpstreamLocalityStats>parser()UpstreamLocalityStats.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
-
LOCALITY_FIELD_NUMBER
public static final int LOCALITY_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
-
UPSTREAM_ENDPOINT_STATS_FIELD_NUMBER
public static final int UPSTREAM_ENDPOINT_STATS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_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
-
hasLocality
public boolean hasLocality()
Name of zone, region and optionally endpoint group these metrics were collected from. Zone and region names could be empty if unknown.
.envoy.config.core.v3.Locality locality = 1;- Specified by:
hasLocalityin interfaceUpstreamLocalityStatsOrBuilder- Returns:
- Whether the locality field is set.
-
getLocality
public Locality getLocality()
Name of zone, region and optionally endpoint group these metrics were collected from. Zone and region names could be empty if unknown.
.envoy.config.core.v3.Locality locality = 1;- Specified by:
getLocalityin interfaceUpstreamLocalityStatsOrBuilder- Returns:
- The locality.
-
getLocalityOrBuilder
public LocalityOrBuilder getLocalityOrBuilder()
Name of zone, region and optionally endpoint group these metrics were collected from. Zone and region names could be empty if unknown.
.envoy.config.core.v3.Locality locality = 1;- Specified by:
getLocalityOrBuilderin interfaceUpstreamLocalityStatsOrBuilder
-
getTotalSuccessfulRequests
public long getTotalSuccessfulRequests()
The total number of requests successfully completed by the endpoints in the locality.
uint64 total_successful_requests = 2;- Specified by:
getTotalSuccessfulRequestsin interfaceUpstreamLocalityStatsOrBuilder- Returns:
- The totalSuccessfulRequests.
-
getTotalRequestsInProgress
public long getTotalRequestsInProgress()
The total number of unfinished requests
uint64 total_requests_in_progress = 3;- Specified by:
getTotalRequestsInProgressin interfaceUpstreamLocalityStatsOrBuilder- Returns:
- The totalRequestsInProgress.
-
getTotalErrorRequests
public long getTotalErrorRequests()
The total number of requests that failed due to errors at the endpoint, aggregated over all endpoints in the locality.
uint64 total_error_requests = 4;- Specified by:
getTotalErrorRequestsin interfaceUpstreamLocalityStatsOrBuilder- Returns:
- The totalErrorRequests.
-
getTotalIssuedRequests
public long getTotalIssuedRequests()
The total number of requests that were issued by this Envoy since the last report. This information is aggregated over all the upstream endpoints in the locality.
uint64 total_issued_requests = 8;- Specified by:
getTotalIssuedRequestsin interfaceUpstreamLocalityStatsOrBuilder- Returns:
- The totalIssuedRequests.
-
getLoadMetricStatsList
public List<EndpointLoadMetricStats> getLoadMetricStatsList()
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsListin interfaceUpstreamLocalityStatsOrBuilder
-
getLoadMetricStatsOrBuilderList
public List<? extends EndpointLoadMetricStatsOrBuilder> getLoadMetricStatsOrBuilderList()
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsOrBuilderListin interfaceUpstreamLocalityStatsOrBuilder
-
getLoadMetricStatsCount
public int getLoadMetricStatsCount()
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsCountin interfaceUpstreamLocalityStatsOrBuilder
-
getLoadMetricStats
public EndpointLoadMetricStats getLoadMetricStats(int index)
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsin interfaceUpstreamLocalityStatsOrBuilder
-
getLoadMetricStatsOrBuilder
public EndpointLoadMetricStatsOrBuilder getLoadMetricStatsOrBuilder(int index)
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsOrBuilderin interfaceUpstreamLocalityStatsOrBuilder
-
getUpstreamEndpointStatsList
public List<UpstreamEndpointStats> getUpstreamEndpointStatsList()
Endpoint granularity stats information for this locality. This information is populated if the Server requests it by setting :ref:`LoadStatsResponse.report_endpoint_granularity<envoy_v3_api_field_service.load_stats.v3.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.config.endpoint.v3.UpstreamEndpointStats upstream_endpoint_stats = 7;- Specified by:
getUpstreamEndpointStatsListin interfaceUpstreamLocalityStatsOrBuilder
-
getUpstreamEndpointStatsOrBuilderList
public List<? extends UpstreamEndpointStatsOrBuilder> getUpstreamEndpointStatsOrBuilderList()
Endpoint granularity stats information for this locality. This information is populated if the Server requests it by setting :ref:`LoadStatsResponse.report_endpoint_granularity<envoy_v3_api_field_service.load_stats.v3.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.config.endpoint.v3.UpstreamEndpointStats upstream_endpoint_stats = 7;- Specified by:
getUpstreamEndpointStatsOrBuilderListin interfaceUpstreamLocalityStatsOrBuilder
-
getUpstreamEndpointStatsCount
public int getUpstreamEndpointStatsCount()
Endpoint granularity stats information for this locality. This information is populated if the Server requests it by setting :ref:`LoadStatsResponse.report_endpoint_granularity<envoy_v3_api_field_service.load_stats.v3.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.config.endpoint.v3.UpstreamEndpointStats upstream_endpoint_stats = 7;- Specified by:
getUpstreamEndpointStatsCountin interfaceUpstreamLocalityStatsOrBuilder
-
getUpstreamEndpointStats
public UpstreamEndpointStats getUpstreamEndpointStats(int index)
Endpoint granularity stats information for this locality. This information is populated if the Server requests it by setting :ref:`LoadStatsResponse.report_endpoint_granularity<envoy_v3_api_field_service.load_stats.v3.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.config.endpoint.v3.UpstreamEndpointStats upstream_endpoint_stats = 7;- Specified by:
getUpstreamEndpointStatsin interfaceUpstreamLocalityStatsOrBuilder
-
getUpstreamEndpointStatsOrBuilder
public UpstreamEndpointStatsOrBuilder getUpstreamEndpointStatsOrBuilder(int index)
Endpoint granularity stats information for this locality. This information is populated if the Server requests it by setting :ref:`LoadStatsResponse.report_endpoint_granularity<envoy_v3_api_field_service.load_stats.v3.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.config.endpoint.v3.UpstreamEndpointStats upstream_endpoint_stats = 7;- Specified by:
getUpstreamEndpointStatsOrBuilderin interfaceUpstreamLocalityStatsOrBuilder
-
getPriority
public int getPriority()
[#not-implemented-hide:] The priority of the endpoint group these metrics were collected from.
uint32 priority = 6;- Specified by:
getPriorityin interfaceUpstreamLocalityStatsOrBuilder- Returns:
- The priority.
-
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 UpstreamLocalityStats parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpstreamLocalityStats parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpstreamLocalityStats parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpstreamLocalityStats parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpstreamLocalityStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpstreamLocalityStats parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpstreamLocalityStats parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static UpstreamLocalityStats parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static UpstreamLocalityStats parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static UpstreamLocalityStats parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static UpstreamLocalityStats parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static UpstreamLocalityStats parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public UpstreamLocalityStats.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static UpstreamLocalityStats.Builder newBuilder()
-
newBuilder
public static UpstreamLocalityStats.Builder newBuilder(UpstreamLocalityStats prototype)
-
toBuilder
public UpstreamLocalityStats.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UpstreamLocalityStats.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static UpstreamLocalityStats getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<UpstreamLocalityStats> parser()
-
getParserForType
public com.google.protobuf.Parser<UpstreamLocalityStats> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public UpstreamLocalityStats getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-