io.envoyproxy.envoy.api.v2.endpoint.UpstreamLocalityStatsOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/api/v2/endpoint/load_report.proto
package io.envoyproxy.envoy.api.v2.endpoint;
public interface UpstreamLocalityStatsOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.api.v2.endpoint.UpstreamLocalityStats)
com.google.protobuf.MessageOrBuilder {
/**
*
* Name of zone, region and optionally endpoint group these metrics were
* collected from. Zone and region names could be empty if unknown.
*
*
* .envoy.api.v2.core.Locality locality = 1;
* @return Whether the locality field is set.
*/
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.api.v2.core.Locality locality = 1;
* @return The locality.
*/
io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Locality locality = 1;
*/
io.envoyproxy.envoy.api.v2.core.LocalityOrBuilder getLocalityOrBuilder();
/**
*
* The total number of requests successfully completed by the endpoints in the
* locality.
*
*
* uint64 total_successful_requests = 2;
* @return The totalSuccessfulRequests.
*/
long getTotalSuccessfulRequests();
/**
*
* The total number of unfinished requests
*
*
* uint64 total_requests_in_progress = 3;
* @return The totalRequestsInProgress.
*/
long getTotalRequestsInProgress();
/**
*
* 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;
* @return The totalErrorRequests.
*/
long getTotalErrorRequests();
/**
*
* 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;
* @return The totalIssuedRequests.
*/
long getTotalIssuedRequests();
/**
*
* Stats for multi-dimensional load balancing.
*
*
* repeated .envoy.api.v2.endpoint.EndpointLoadMetricStats load_metric_stats = 5;
*/
java.util.List
getLoadMetricStatsList();
/**
*
* Stats for multi-dimensional load balancing.
*
*
* repeated .envoy.api.v2.endpoint.EndpointLoadMetricStats load_metric_stats = 5;
*/
io.envoyproxy.envoy.api.v2.endpoint.EndpointLoadMetricStats getLoadMetricStats(int index);
/**
*
* Stats for multi-dimensional load balancing.
*
*
* repeated .envoy.api.v2.endpoint.EndpointLoadMetricStats load_metric_stats = 5;
*/
int getLoadMetricStatsCount();
/**
*
* Stats for multi-dimensional load balancing.
*
*
* repeated .envoy.api.v2.endpoint.EndpointLoadMetricStats load_metric_stats = 5;
*/
java.util.List extends io.envoyproxy.envoy.api.v2.endpoint.EndpointLoadMetricStatsOrBuilder>
getLoadMetricStatsOrBuilderList();
/**
*
* Stats for multi-dimensional load balancing.
*
*
* repeated .envoy.api.v2.endpoint.EndpointLoadMetricStats load_metric_stats = 5;
*/
io.envoyproxy.envoy.api.v2.endpoint.EndpointLoadMetricStatsOrBuilder getLoadMetricStatsOrBuilder(
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_api_field_service.load_stats.v2.LoadStatsResponse.report_endpoint_granularity>`.
*
*
* repeated .envoy.api.v2.endpoint.UpstreamEndpointStats upstream_endpoint_stats = 7;
*/
java.util.List
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_api_field_service.load_stats.v2.LoadStatsResponse.report_endpoint_granularity>`.
*
*
* repeated .envoy.api.v2.endpoint.UpstreamEndpointStats upstream_endpoint_stats = 7;
*/
io.envoyproxy.envoy.api.v2.endpoint.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_api_field_service.load_stats.v2.LoadStatsResponse.report_endpoint_granularity>`.
*
*
* repeated .envoy.api.v2.endpoint.UpstreamEndpointStats upstream_endpoint_stats = 7;
*/
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_api_field_service.load_stats.v2.LoadStatsResponse.report_endpoint_granularity>`.
*
*
* repeated .envoy.api.v2.endpoint.UpstreamEndpointStats upstream_endpoint_stats = 7;
*/
java.util.List extends io.envoyproxy.envoy.api.v2.endpoint.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_api_field_service.load_stats.v2.LoadStatsResponse.report_endpoint_granularity>`.
*
*
* repeated .envoy.api.v2.endpoint.UpstreamEndpointStats upstream_endpoint_stats = 7;
*/
io.envoyproxy.envoy.api.v2.endpoint.UpstreamEndpointStatsOrBuilder getUpstreamEndpointStatsOrBuilder(
int index);
/**
*
* [#not-implemented-hide:] The priority of the endpoint group these metrics
* were collected from.
*
*
* uint32 priority = 6;
* @return The priority.
*/
int getPriority();
}