Interface ClusterStatsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ClusterStats,ClusterStats.Builder
public interface ClusterStatsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetClusterName()The name of the cluster.com.google.protobuf.ByteStringgetClusterNameBytes()The name of the cluster.StringgetClusterServiceName()The eds_cluster_config service_name of the cluster.com.google.protobuf.ByteStringgetClusterServiceNameBytes()The eds_cluster_config service_name of the cluster.ClusterStats.DroppedRequestsgetDroppedRequests(int index)Information about deliberately dropped requests for each category specified in the DropOverload policy.intgetDroppedRequestsCount()Information about deliberately dropped requests for each category specified in the DropOverload policy.List<ClusterStats.DroppedRequests>getDroppedRequestsList()Information about deliberately dropped requests for each category specified in the DropOverload policy.ClusterStats.DroppedRequestsOrBuildergetDroppedRequestsOrBuilder(int index)Information about deliberately dropped requests for each category specified in the DropOverload policy.List<? extends ClusterStats.DroppedRequestsOrBuilder>getDroppedRequestsOrBuilderList()Information about deliberately dropped requests for each category specified in the DropOverload policy.com.google.protobuf.DurationgetLoadReportInterval()Period over which the actual load report occurred.com.google.protobuf.DurationOrBuildergetLoadReportIntervalOrBuilder()Period over which the actual load report occurred.longgetTotalDroppedRequests()Cluster-level stats such as total_successful_requests may be computed by summing upstream_locality_stats.UpstreamLocalityStatsgetUpstreamLocalityStats(int index)Need at least one.intgetUpstreamLocalityStatsCount()Need at least one.List<UpstreamLocalityStats>getUpstreamLocalityStatsList()Need at least one.UpstreamLocalityStatsOrBuildergetUpstreamLocalityStatsOrBuilder(int index)Need at least one.List<? extends UpstreamLocalityStatsOrBuilder>getUpstreamLocalityStatsOrBuilderList()Need at least one.booleanhasLoadReportInterval()Period over which the actual load report occurred.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getClusterName
String getClusterName()
The name of the cluster.
string cluster_name = 1 [(.validate.rules) = { ... }- Returns:
- The clusterName.
-
getClusterNameBytes
com.google.protobuf.ByteString getClusterNameBytes()
The name of the cluster.
string cluster_name = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for clusterName.
-
getClusterServiceName
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;- Returns:
- The clusterServiceName.
-
getClusterServiceNameBytes
com.google.protobuf.ByteString getClusterServiceNameBytes()
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;- Returns:
- The bytes for clusterServiceName.
-
getUpstreamLocalityStatsList
List<UpstreamLocalityStats> getUpstreamLocalityStatsList()
Need at least one.
repeated .envoy.api.v2.endpoint.UpstreamLocalityStats upstream_locality_stats = 2 [(.validate.rules) = { ... }
-
getUpstreamLocalityStats
UpstreamLocalityStats getUpstreamLocalityStats(int index)
Need at least one.
repeated .envoy.api.v2.endpoint.UpstreamLocalityStats upstream_locality_stats = 2 [(.validate.rules) = { ... }
-
getUpstreamLocalityStatsCount
int getUpstreamLocalityStatsCount()
Need at least one.
repeated .envoy.api.v2.endpoint.UpstreamLocalityStats upstream_locality_stats = 2 [(.validate.rules) = { ... }
-
getUpstreamLocalityStatsOrBuilderList
List<? extends UpstreamLocalityStatsOrBuilder> getUpstreamLocalityStatsOrBuilderList()
Need at least one.
repeated .envoy.api.v2.endpoint.UpstreamLocalityStats upstream_locality_stats = 2 [(.validate.rules) = { ... }
-
getUpstreamLocalityStatsOrBuilder
UpstreamLocalityStatsOrBuilder getUpstreamLocalityStatsOrBuilder(int index)
Need at least one.
repeated .envoy.api.v2.endpoint.UpstreamLocalityStats upstream_locality_stats = 2 [(.validate.rules) = { ... }
-
getTotalDroppedRequests
long getTotalDroppedRequests()
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;- Returns:
- The totalDroppedRequests.
-
getDroppedRequestsList
List<ClusterStats.DroppedRequests> getDroppedRequestsList()
Information about deliberately dropped requests for each category specified in the DropOverload policy.
repeated .envoy.api.v2.endpoint.ClusterStats.DroppedRequests dropped_requests = 5;
-
getDroppedRequests
ClusterStats.DroppedRequests getDroppedRequests(int index)
Information about deliberately dropped requests for each category specified in the DropOverload policy.
repeated .envoy.api.v2.endpoint.ClusterStats.DroppedRequests dropped_requests = 5;
-
getDroppedRequestsCount
int getDroppedRequestsCount()
Information about deliberately dropped requests for each category specified in the DropOverload policy.
repeated .envoy.api.v2.endpoint.ClusterStats.DroppedRequests dropped_requests = 5;
-
getDroppedRequestsOrBuilderList
List<? extends ClusterStats.DroppedRequestsOrBuilder> getDroppedRequestsOrBuilderList()
Information about deliberately dropped requests for each category specified in the DropOverload policy.
repeated .envoy.api.v2.endpoint.ClusterStats.DroppedRequests dropped_requests = 5;
-
getDroppedRequestsOrBuilder
ClusterStats.DroppedRequestsOrBuilder getDroppedRequestsOrBuilder(int index)
Information about deliberately dropped requests for each category specified in the DropOverload policy.
repeated .envoy.api.v2.endpoint.ClusterStats.DroppedRequests dropped_requests = 5;
-
hasLoadReportInterval
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;- Returns:
- Whether the loadReportInterval field is set.
-
getLoadReportInterval
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;- Returns:
- The loadReportInterval.
-
getLoadReportIntervalOrBuilder
com.google.protobuf.DurationOrBuilder getLoadReportIntervalOrBuilder()
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;
-
-