// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/data/cluster/v2alpha/outlier_detection_event.proto
package io.envoyproxy.envoy.data.cluster.v2alpha;
public interface OutlierDetectionEventOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.data.cluster.v2alpha.OutlierDetectionEvent)
com.google.protobuf.MessageOrBuilder {
/**
*
* In case of eject represents type of ejection that took place.
*
*
* .envoy.data.cluster.v2alpha.OutlierEjectionType type = 1 [(.validate.rules) = { ... }
*/
int getTypeValue();
/**
*
* In case of eject represents type of ejection that took place.
*
*
* .envoy.data.cluster.v2alpha.OutlierEjectionType type = 1 [(.validate.rules) = { ... }
*/
io.envoyproxy.envoy.data.cluster.v2alpha.OutlierEjectionType getType();
/**
*
* Timestamp for event.
*
*
* .google.protobuf.Timestamp timestamp = 2;
*/
boolean hasTimestamp();
/**
*
* Timestamp for event.
*
*
* .google.protobuf.Timestamp timestamp = 2;
*/
com.google.protobuf.Timestamp getTimestamp();
/**
*
* Timestamp for event.
*
*
* .google.protobuf.Timestamp timestamp = 2;
*/
com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder();
/**
*
* The time in seconds since the last action (either an ejection or unejection) took place.
*
*
* .google.protobuf.UInt64Value secs_since_last_action = 3;
*/
boolean hasSecsSinceLastAction();
/**
*
* The time in seconds since the last action (either an ejection or unejection) took place.
*
*
* .google.protobuf.UInt64Value secs_since_last_action = 3;
*/
com.google.protobuf.UInt64Value getSecsSinceLastAction();
/**
*
* The time in seconds since the last action (either an ejection or unejection) took place.
*
*
* .google.protobuf.UInt64Value secs_since_last_action = 3;
*/
com.google.protobuf.UInt64ValueOrBuilder getSecsSinceLastActionOrBuilder();
/**
*
* The :ref:`cluster <envoy_api_msg_Cluster>` that owns the ejected host.
*
*
* string cluster_name = 4 [(.validate.rules) = { ... }
*/
java.lang.String getClusterName();
/**
*
* The :ref:`cluster <envoy_api_msg_Cluster>` that owns the ejected host.
*
*
* string cluster_name = 4 [(.validate.rules) = { ... }
*/
com.google.protobuf.ByteString
getClusterNameBytes();
/**
*
* The URL of the ejected host. E.g., ``tcp://1.2.3.4:80``.
*
*
* string upstream_url = 5 [(.validate.rules) = { ... }
*/
java.lang.String getUpstreamUrl();
/**
*
* The URL of the ejected host. E.g., ``tcp://1.2.3.4:80``.
*
*
* string upstream_url = 5 [(.validate.rules) = { ... }
*/
com.google.protobuf.ByteString
getUpstreamUrlBytes();
/**
*
* The action that took place.
*
*
* .envoy.data.cluster.v2alpha.Action action = 6 [(.validate.rules) = { ... }
*/
int getActionValue();
/**
*
* The action that took place.
*
*
* .envoy.data.cluster.v2alpha.Action action = 6 [(.validate.rules) = { ... }
*/
io.envoyproxy.envoy.data.cluster.v2alpha.Action getAction();
/**
*
* If ``action`` is ``eject``, specifies the number of times the host has been ejected (local to
* that Envoy and gets reset if the host gets removed from the upstream cluster for any reason and
* then re-added).
*
*
* uint32 num_ejections = 7;
*/
int getNumEjections();
/**
*
* If ``action`` is ``eject``, specifies if the ejection was enforced. ``true`` means the host was
* ejected. ``false`` means the event was logged but the host was not actually ejected.
*
*
* bool enforced = 8;
*/
boolean getEnforced();
/**
* .envoy.data.cluster.v2alpha.OutlierEjectSuccessRate eject_success_rate_event = 9;
*/
boolean hasEjectSuccessRateEvent();
/**
* .envoy.data.cluster.v2alpha.OutlierEjectSuccessRate eject_success_rate_event = 9;
*/
io.envoyproxy.envoy.data.cluster.v2alpha.OutlierEjectSuccessRate getEjectSuccessRateEvent();
/**
* .envoy.data.cluster.v2alpha.OutlierEjectSuccessRate eject_success_rate_event = 9;
*/
io.envoyproxy.envoy.data.cluster.v2alpha.OutlierEjectSuccessRateOrBuilder getEjectSuccessRateEventOrBuilder();
/**
* .envoy.data.cluster.v2alpha.OutlierEjectConsecutive eject_consecutive_event = 10;
*/
boolean hasEjectConsecutiveEvent();
/**
* .envoy.data.cluster.v2alpha.OutlierEjectConsecutive eject_consecutive_event = 10;
*/
io.envoyproxy.envoy.data.cluster.v2alpha.OutlierEjectConsecutive getEjectConsecutiveEvent();
/**
* .envoy.data.cluster.v2alpha.OutlierEjectConsecutive eject_consecutive_event = 10;
*/
io.envoyproxy.envoy.data.cluster.v2alpha.OutlierEjectConsecutiveOrBuilder getEjectConsecutiveEventOrBuilder();
/**
* .envoy.data.cluster.v2alpha.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;
*/
boolean hasEjectFailurePercentageEvent();
/**
* .envoy.data.cluster.v2alpha.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;
*/
io.envoyproxy.envoy.data.cluster.v2alpha.OutlierEjectFailurePercentage getEjectFailurePercentageEvent();
/**
* .envoy.data.cluster.v2alpha.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;
*/
io.envoyproxy.envoy.data.cluster.v2alpha.OutlierEjectFailurePercentageOrBuilder getEjectFailurePercentageEventOrBuilder();
public io.envoyproxy.envoy.data.cluster.v2alpha.OutlierDetectionEvent.EventCase getEventCase();
}