// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/data/cluster/v3/outlier_detection_event.proto
package io.envoyproxy.envoy.data.cluster.v3;
public interface OutlierDetectionEventOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.data.cluster.v3.OutlierDetectionEvent)
com.google.protobuf.MessageOrBuilder {
/**
*
* In case of eject represents type of ejection that took place.
*
*
* .envoy.data.cluster.v3.OutlierEjectionType type = 1 [(.validate.rules) = { ... }
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
*
* In case of eject represents type of ejection that took place.
*
*
* .envoy.data.cluster.v3.OutlierEjectionType type = 1 [(.validate.rules) = { ... }
* @return The type.
*/
io.envoyproxy.envoy.data.cluster.v3.OutlierEjectionType getType();
/**
*
* Timestamp for event.
*
*
* .google.protobuf.Timestamp timestamp = 2;
* @return Whether the timestamp field is set.
*/
boolean hasTimestamp();
/**
*
* Timestamp for event.
*
*
* .google.protobuf.Timestamp timestamp = 2;
* @return The timestamp.
*/
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;
* @return Whether the secsSinceLastAction field is set.
*/
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;
* @return The secsSinceLastAction.
*/
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_v3_api_msg_config.cluster.v3.Cluster>` that owns the ejected host.
*
*
* string cluster_name = 4 [(.validate.rules) = { ... }
* @return The clusterName.
*/
java.lang.String getClusterName();
/**
*
* The :ref:`cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` that owns the ejected host.
*
*
* string cluster_name = 4 [(.validate.rules) = { ... }
* @return The bytes for clusterName.
*/
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) = { ... }
* @return The upstreamUrl.
*/
java.lang.String getUpstreamUrl();
/**
*
* The URL of the ejected host. E.g., ``tcp://1.2.3.4:80``.
*
*
* string upstream_url = 5 [(.validate.rules) = { ... }
* @return The bytes for upstreamUrl.
*/
com.google.protobuf.ByteString
getUpstreamUrlBytes();
/**
*
* The action that took place.
*
*
* .envoy.data.cluster.v3.Action action = 6 [(.validate.rules) = { ... }
* @return The enum numeric value on the wire for action.
*/
int getActionValue();
/**
*
* The action that took place.
*
*
* .envoy.data.cluster.v3.Action action = 6 [(.validate.rules) = { ... }
* @return The action.
*/
io.envoyproxy.envoy.data.cluster.v3.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;
* @return The numEjections.
*/
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;
* @return The enforced.
*/
boolean getEnforced();
/**
* .envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;
* @return Whether the ejectSuccessRateEvent field is set.
*/
boolean hasEjectSuccessRateEvent();
/**
* .envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;
* @return The ejectSuccessRateEvent.
*/
io.envoyproxy.envoy.data.cluster.v3.OutlierEjectSuccessRate getEjectSuccessRateEvent();
/**
* .envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;
*/
io.envoyproxy.envoy.data.cluster.v3.OutlierEjectSuccessRateOrBuilder getEjectSuccessRateEventOrBuilder();
/**
* .envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;
* @return Whether the ejectConsecutiveEvent field is set.
*/
boolean hasEjectConsecutiveEvent();
/**
* .envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;
* @return The ejectConsecutiveEvent.
*/
io.envoyproxy.envoy.data.cluster.v3.OutlierEjectConsecutive getEjectConsecutiveEvent();
/**
* .envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;
*/
io.envoyproxy.envoy.data.cluster.v3.OutlierEjectConsecutiveOrBuilder getEjectConsecutiveEventOrBuilder();
/**
* .envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;
* @return Whether the ejectFailurePercentageEvent field is set.
*/
boolean hasEjectFailurePercentageEvent();
/**
* .envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;
* @return The ejectFailurePercentageEvent.
*/
io.envoyproxy.envoy.data.cluster.v3.OutlierEjectFailurePercentage getEjectFailurePercentageEvent();
/**
* .envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;
*/
io.envoyproxy.envoy.data.cluster.v3.OutlierEjectFailurePercentageOrBuilder getEjectFailurePercentageEventOrBuilder();
public io.envoyproxy.envoy.data.cluster.v3.OutlierDetectionEvent.EventCase getEventCase();
}