Interface UpstreamLocalityStatsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpstreamLocalityStats,UpstreamLocalityStats.Builder
public interface UpstreamLocalityStatsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.intgetPriority()[#not-implemented-hide:] The priority of the endpoint group these metrics were collected from.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.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.booleanhasLocality()Name of zone, region and optionally endpoint group these metrics were collected from.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasLocality
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;- Returns:
- Whether the locality field is set.
-
getLocality
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;- Returns:
- The locality.
-
getLocalityOrBuilder
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;
-
getTotalSuccessfulRequests
long getTotalSuccessfulRequests()
The total number of requests successfully completed by the endpoints in the locality.
uint64 total_successful_requests = 2;- Returns:
- The totalSuccessfulRequests.
-
getTotalRequestsInProgress
long getTotalRequestsInProgress()
The total number of unfinished requests
uint64 total_requests_in_progress = 3;- Returns:
- The totalRequestsInProgress.
-
getTotalErrorRequests
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;- Returns:
- The totalErrorRequests.
-
getTotalIssuedRequests
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;- Returns:
- The totalIssuedRequests.
-
getLoadMetricStatsList
List<EndpointLoadMetricStats> getLoadMetricStatsList()
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
getLoadMetricStats
EndpointLoadMetricStats getLoadMetricStats(int index)
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
getLoadMetricStatsCount
int getLoadMetricStatsCount()
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
getLoadMetricStatsOrBuilderList
List<? extends EndpointLoadMetricStatsOrBuilder> getLoadMetricStatsOrBuilderList()
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
getLoadMetricStatsOrBuilder
EndpointLoadMetricStatsOrBuilder getLoadMetricStatsOrBuilder(int index)
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
getUpstreamEndpointStatsList
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;
-
getUpstreamEndpointStats
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;
-
getUpstreamEndpointStatsCount
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;
-
getUpstreamEndpointStatsOrBuilderList
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;
-
getUpstreamEndpointStatsOrBuilder
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;
-
getPriority
int getPriority()
[#not-implemented-hide:] The priority of the endpoint group these metrics were collected from.
uint32 priority = 6;- Returns:
- The priority.
-
-