io.envoyproxy.envoy.admin.v2alpha.ClusterStatusOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/admin/v2alpha/clusters.proto
package io.envoyproxy.envoy.admin.v2alpha;
public interface ClusterStatusOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.admin.v2alpha.ClusterStatus)
com.google.protobuf.MessageOrBuilder {
/**
*
* Name of the cluster.
*
*
* string name = 1;
*/
java.lang.String getName();
/**
*
* Name of the cluster.
*
*
* string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* Denotes whether this cluster was added via API or configured statically.
*
*
* bool added_via_api = 2;
*/
boolean getAddedViaApi();
/**
*
* The success rate threshold used in the last interval.
* If
* :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>`
* is *false*, all errors: externally and locally generated were used to calculate the threshold.
* If
* :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>`
* is *true*, only externally generated errors were used to calculate the threshold.
* The threshold is used to eject hosts based on their success rate. See
* :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details.
* Note: this field may be omitted in any of the three following cases:
* 1. There were not enough hosts with enough request volume to proceed with success rate based
* outlier ejection.
* 2. The threshold is computed to be < 0 because a negative value implies that there was no
* threshold for that interval.
* 3. Outlier detection is not enabled for this cluster.
*
*
* .envoy.type.Percent success_rate_ejection_threshold = 3;
*/
boolean hasSuccessRateEjectionThreshold();
/**
*
* The success rate threshold used in the last interval.
* If
* :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>`
* is *false*, all errors: externally and locally generated were used to calculate the threshold.
* If
* :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>`
* is *true*, only externally generated errors were used to calculate the threshold.
* The threshold is used to eject hosts based on their success rate. See
* :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details.
* Note: this field may be omitted in any of the three following cases:
* 1. There were not enough hosts with enough request volume to proceed with success rate based
* outlier ejection.
* 2. The threshold is computed to be < 0 because a negative value implies that there was no
* threshold for that interval.
* 3. Outlier detection is not enabled for this cluster.
*
*
* .envoy.type.Percent success_rate_ejection_threshold = 3;
*/
io.envoyproxy.envoy.type.Percent getSuccessRateEjectionThreshold();
/**
*
* The success rate threshold used in the last interval.
* If
* :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>`
* is *false*, all errors: externally and locally generated were used to calculate the threshold.
* If
* :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>`
* is *true*, only externally generated errors were used to calculate the threshold.
* The threshold is used to eject hosts based on their success rate. See
* :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details.
* Note: this field may be omitted in any of the three following cases:
* 1. There were not enough hosts with enough request volume to proceed with success rate based
* outlier ejection.
* 2. The threshold is computed to be < 0 because a negative value implies that there was no
* threshold for that interval.
* 3. Outlier detection is not enabled for this cluster.
*
*
* .envoy.type.Percent success_rate_ejection_threshold = 3;
*/
io.envoyproxy.envoy.type.PercentOrBuilder getSuccessRateEjectionThresholdOrBuilder();
/**
*
* Mapping from host address to the host's current status.
*
*
* repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;
*/
java.util.List
getHostStatusesList();
/**
*
* Mapping from host address to the host's current status.
*
*
* repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;
*/
io.envoyproxy.envoy.admin.v2alpha.HostStatus getHostStatuses(int index);
/**
*
* Mapping from host address to the host's current status.
*
*
* repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;
*/
int getHostStatusesCount();
/**
*
* Mapping from host address to the host's current status.
*
*
* repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;
*/
java.util.List extends io.envoyproxy.envoy.admin.v2alpha.HostStatusOrBuilder>
getHostStatusesOrBuilderList();
/**
*
* Mapping from host address to the host's current status.
*
*
* repeated .envoy.admin.v2alpha.HostStatus host_statuses = 4;
*/
io.envoyproxy.envoy.admin.v2alpha.HostStatusOrBuilder getHostStatusesOrBuilder(
int index);
/**
*
* The success rate threshold used in the last interval when only locally originated failures were
* taken into account and externally originated errors were treated as success.
* This field should be interpretted only when
* :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>`
* is *true*. The threshold is used to eject hosts based on their success rate.
* See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
* details.
* Note: this field may be omitted in any of the three following cases:
* 1. There were not enough hosts with enough request volume to proceed with success rate based
* outlier ejection.
* 2. The threshold is computed to be < 0 because a negative value implies that there was no
* threshold for that interval.
* 3. Outlier detection is not enabled for this cluster.
*
*
* .envoy.type.Percent local_origin_success_rate_ejection_threshold = 5;
*/
boolean hasLocalOriginSuccessRateEjectionThreshold();
/**
*
* The success rate threshold used in the last interval when only locally originated failures were
* taken into account and externally originated errors were treated as success.
* This field should be interpretted only when
* :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>`
* is *true*. The threshold is used to eject hosts based on their success rate.
* See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
* details.
* Note: this field may be omitted in any of the three following cases:
* 1. There were not enough hosts with enough request volume to proceed with success rate based
* outlier ejection.
* 2. The threshold is computed to be < 0 because a negative value implies that there was no
* threshold for that interval.
* 3. Outlier detection is not enabled for this cluster.
*
*
* .envoy.type.Percent local_origin_success_rate_ejection_threshold = 5;
*/
io.envoyproxy.envoy.type.Percent getLocalOriginSuccessRateEjectionThreshold();
/**
*
* The success rate threshold used in the last interval when only locally originated failures were
* taken into account and externally originated errors were treated as success.
* This field should be interpretted only when
* :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>`
* is *true*. The threshold is used to eject hosts based on their success rate.
* See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
* details.
* Note: this field may be omitted in any of the three following cases:
* 1. There were not enough hosts with enough request volume to proceed with success rate based
* outlier ejection.
* 2. The threshold is computed to be < 0 because a negative value implies that there was no
* threshold for that interval.
* 3. Outlier detection is not enabled for this cluster.
*
*
* .envoy.type.Percent local_origin_success_rate_ejection_threshold = 5;
*/
io.envoyproxy.envoy.type.PercentOrBuilder getLocalOriginSuccessRateEjectionThresholdOrBuilder();
}