io.envoyproxy.envoy.service.load_stats.v3.LoadStatsResponseOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/service/load_stats/v3/lrs.proto
package io.envoyproxy.envoy.service.load_stats.v3;
public interface LoadStatsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.service.load_stats.v3.LoadStatsResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* Clusters to report stats for.
* Not populated if ``send_all_clusters`` is true.
*
*
* repeated string clusters = 1;
* @return A list containing the clusters.
*/
java.util.List
getClustersList();
/**
*
* Clusters to report stats for.
* Not populated if ``send_all_clusters`` is true.
*
*
* repeated string clusters = 1;
* @return The count of clusters.
*/
int getClustersCount();
/**
*
* Clusters to report stats for.
* Not populated if ``send_all_clusters`` is true.
*
*
* repeated string clusters = 1;
* @param index The index of the element to return.
* @return The clusters at the given index.
*/
java.lang.String getClusters(int index);
/**
*
* Clusters to report stats for.
* Not populated if ``send_all_clusters`` is true.
*
*
* repeated string clusters = 1;
* @param index The index of the value to return.
* @return The bytes of the clusters at the given index.
*/
com.google.protobuf.ByteString
getClustersBytes(int index);
/**
*
* If true, the client should send all clusters it knows about.
* Only clients that advertise the "envoy.lrs.supports_send_all_clusters" capability in their
* :ref:`client_features<envoy_v3_api_field_config.core.v3.Node.client_features>` field will honor this field.
*
*
* bool send_all_clusters = 4;
* @return The sendAllClusters.
*/
boolean getSendAllClusters();
/**
*
* The minimum interval of time to collect stats over. This is only a minimum for two reasons:
* 1. There may be some delay from when the timer fires until stats sampling occurs.
* 2. For clusters that were already feature in the previous ``LoadStatsResponse``, any traffic
* that is observed in between the corresponding previous ``LoadStatsRequest`` and this
* ``LoadStatsResponse`` will also be accumulated and billed to the cluster. This avoids a period
* of inobservability that might otherwise exists between the messages. New clusters are not
* subject to this consideration.
*
*
* .google.protobuf.Duration load_reporting_interval = 2;
* @return Whether the loadReportingInterval field is set.
*/
boolean hasLoadReportingInterval();
/**
*
* The minimum interval of time to collect stats over. This is only a minimum for two reasons:
* 1. There may be some delay from when the timer fires until stats sampling occurs.
* 2. For clusters that were already feature in the previous ``LoadStatsResponse``, any traffic
* that is observed in between the corresponding previous ``LoadStatsRequest`` and this
* ``LoadStatsResponse`` will also be accumulated and billed to the cluster. This avoids a period
* of inobservability that might otherwise exists between the messages. New clusters are not
* subject to this consideration.
*
*
* .google.protobuf.Duration load_reporting_interval = 2;
* @return The loadReportingInterval.
*/
com.google.protobuf.Duration getLoadReportingInterval();
/**
*
* The minimum interval of time to collect stats over. This is only a minimum for two reasons:
* 1. There may be some delay from when the timer fires until stats sampling occurs.
* 2. For clusters that were already feature in the previous ``LoadStatsResponse``, any traffic
* that is observed in between the corresponding previous ``LoadStatsRequest`` and this
* ``LoadStatsResponse`` will also be accumulated and billed to the cluster. This avoids a period
* of inobservability that might otherwise exists between the messages. New clusters are not
* subject to this consideration.
*
*
* .google.protobuf.Duration load_reporting_interval = 2;
*/
com.google.protobuf.DurationOrBuilder getLoadReportingIntervalOrBuilder();
/**
*
* Set to ``true`` if the management server supports endpoint granularity
* report.
*
*
* bool report_endpoint_granularity = 3;
* @return The reportEndpointGranularity.
*/
boolean getReportEndpointGranularity();
}