io.envoyproxy.envoy.config.endpoint.v3.ClusterStatsOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/config/endpoint/v3/load_report.proto
package io.envoyproxy.envoy.config.endpoint.v3;
public interface ClusterStatsOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.config.endpoint.v3.ClusterStats)
com.google.protobuf.MessageOrBuilder {
/**
*
* The name of the cluster.
*
*
* string cluster_name = 1 [(.validate.rules) = { ... }
* @return The clusterName.
*/
java.lang.String getClusterName();
/**
*
* The name of the cluster.
*
*
* string cluster_name = 1 [(.validate.rules) = { ... }
* @return The bytes for clusterName.
*/
com.google.protobuf.ByteString
getClusterNameBytes();
/**
*
* The eds_cluster_config service_name of the cluster.
* It's possible that two clusters send the same service_name to EDS,
* in that case, the management server is supposed to do aggregation on the load reports.
*
*
* string cluster_service_name = 6;
* @return The clusterServiceName.
*/
java.lang.String getClusterServiceName();
/**
*
* The eds_cluster_config service_name of the cluster.
* It's possible that two clusters send the same service_name to EDS,
* in that case, the management server is supposed to do aggregation on the load reports.
*
*
* string cluster_service_name = 6;
* @return The bytes for clusterServiceName.
*/
com.google.protobuf.ByteString
getClusterServiceNameBytes();
/**
*
* Need at least one.
*
*
* repeated .envoy.config.endpoint.v3.UpstreamLocalityStats upstream_locality_stats = 2 [(.validate.rules) = { ... }
*/
java.util.List
getUpstreamLocalityStatsList();
/**
*
* Need at least one.
*
*
* repeated .envoy.config.endpoint.v3.UpstreamLocalityStats upstream_locality_stats = 2 [(.validate.rules) = { ... }
*/
io.envoyproxy.envoy.config.endpoint.v3.UpstreamLocalityStats getUpstreamLocalityStats(int index);
/**
*
* Need at least one.
*
*
* repeated .envoy.config.endpoint.v3.UpstreamLocalityStats upstream_locality_stats = 2 [(.validate.rules) = { ... }
*/
int getUpstreamLocalityStatsCount();
/**
*
* Need at least one.
*
*
* repeated .envoy.config.endpoint.v3.UpstreamLocalityStats upstream_locality_stats = 2 [(.validate.rules) = { ... }
*/
java.util.List extends io.envoyproxy.envoy.config.endpoint.v3.UpstreamLocalityStatsOrBuilder>
getUpstreamLocalityStatsOrBuilderList();
/**
*
* Need at least one.
*
*
* repeated .envoy.config.endpoint.v3.UpstreamLocalityStats upstream_locality_stats = 2 [(.validate.rules) = { ... }
*/
io.envoyproxy.envoy.config.endpoint.v3.UpstreamLocalityStatsOrBuilder getUpstreamLocalityStatsOrBuilder(
int index);
/**
*
* Cluster-level stats such as total_successful_requests may be computed by
* summing upstream_locality_stats. In addition, below there are additional
* cluster-wide stats.
* The total number of dropped requests. This covers requests
* deliberately dropped by the drop_overload policy and circuit breaking.
*
*
* uint64 total_dropped_requests = 3;
* @return The totalDroppedRequests.
*/
long getTotalDroppedRequests();
/**
*
* Information about deliberately dropped requests for each category specified
* in the DropOverload policy.
*
*
* repeated .envoy.config.endpoint.v3.ClusterStats.DroppedRequests dropped_requests = 5;
*/
java.util.List
getDroppedRequestsList();
/**
*
* Information about deliberately dropped requests for each category specified
* in the DropOverload policy.
*
*
* repeated .envoy.config.endpoint.v3.ClusterStats.DroppedRequests dropped_requests = 5;
*/
io.envoyproxy.envoy.config.endpoint.v3.ClusterStats.DroppedRequests getDroppedRequests(int index);
/**
*
* Information about deliberately dropped requests for each category specified
* in the DropOverload policy.
*
*
* repeated .envoy.config.endpoint.v3.ClusterStats.DroppedRequests dropped_requests = 5;
*/
int getDroppedRequestsCount();
/**
*
* Information about deliberately dropped requests for each category specified
* in the DropOverload policy.
*
*
* repeated .envoy.config.endpoint.v3.ClusterStats.DroppedRequests dropped_requests = 5;
*/
java.util.List extends io.envoyproxy.envoy.config.endpoint.v3.ClusterStats.DroppedRequestsOrBuilder>
getDroppedRequestsOrBuilderList();
/**
*
* Information about deliberately dropped requests for each category specified
* in the DropOverload policy.
*
*
* repeated .envoy.config.endpoint.v3.ClusterStats.DroppedRequests dropped_requests = 5;
*/
io.envoyproxy.envoy.config.endpoint.v3.ClusterStats.DroppedRequestsOrBuilder getDroppedRequestsOrBuilder(
int index);
/**
*
* Period over which the actual load report occurred. This will be guaranteed to include every
* request reported. Due to system load and delays between the ``LoadStatsRequest`` sent from Envoy
* and the ``LoadStatsResponse`` message sent from the management server, this may be longer than
* the requested load reporting interval in the ``LoadStatsResponse``.
*
*
* .google.protobuf.Duration load_report_interval = 4;
* @return Whether the loadReportInterval field is set.
*/
boolean hasLoadReportInterval();
/**
*
* Period over which the actual load report occurred. This will be guaranteed to include every
* request reported. Due to system load and delays between the ``LoadStatsRequest`` sent from Envoy
* and the ``LoadStatsResponse`` message sent from the management server, this may be longer than
* the requested load reporting interval in the ``LoadStatsResponse``.
*
*
* .google.protobuf.Duration load_report_interval = 4;
* @return The loadReportInterval.
*/
com.google.protobuf.Duration getLoadReportInterval();
/**
*
* Period over which the actual load report occurred. This will be guaranteed to include every
* request reported. Due to system load and delays between the ``LoadStatsRequest`` sent from Envoy
* and the ``LoadStatsResponse`` message sent from the management server, this may be longer than
* the requested load reporting interval in the ``LoadStatsResponse``.
*
*
* .google.protobuf.Duration load_report_interval = 4;
*/
com.google.protobuf.DurationOrBuilder getLoadReportIntervalOrBuilder();
}