Interface OutlierDetectionEventOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OutlierDetectionEvent,OutlierDetectionEvent.Builder
public interface OutlierDetectionEventOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActiongetAction()The action that took place.intgetActionValue()The action that took place.StringgetClusterName()The :ref:`cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` that owns the ejected host.com.google.protobuf.ByteStringgetClusterNameBytes()The :ref:`cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` that owns the ejected host.OutlierEjectConsecutivegetEjectConsecutiveEvent().envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;OutlierEjectConsecutiveOrBuildergetEjectConsecutiveEventOrBuilder().envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;OutlierEjectFailurePercentagegetEjectFailurePercentageEvent().envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;OutlierEjectFailurePercentageOrBuildergetEjectFailurePercentageEventOrBuilder().envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;OutlierEjectSuccessRategetEjectSuccessRateEvent().envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;OutlierEjectSuccessRateOrBuildergetEjectSuccessRateEventOrBuilder().envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;booleangetEnforced()If ``action`` is ``eject``, specifies if the ejection was enforced.OutlierDetectionEvent.EventCasegetEventCase()intgetNumEjections()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).com.google.protobuf.UInt64ValuegetSecsSinceLastAction()The time in seconds since the last action (either an ejection or unejection) took place.com.google.protobuf.UInt64ValueOrBuildergetSecsSinceLastActionOrBuilder()The time in seconds since the last action (either an ejection or unejection) took place.com.google.protobuf.TimestampgetTimestamp()Timestamp for event.com.google.protobuf.TimestampOrBuildergetTimestampOrBuilder()Timestamp for event.OutlierEjectionTypegetType()In case of eject represents type of ejection that took place.intgetTypeValue()In case of eject represents type of ejection that took place.StringgetUpstreamUrl()The URL of the ejected host.com.google.protobuf.ByteStringgetUpstreamUrlBytes()The URL of the ejected host.booleanhasEjectConsecutiveEvent().envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;booleanhasEjectFailurePercentageEvent().envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;booleanhasEjectSuccessRateEvent().envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;booleanhasSecsSinceLastAction()The time in seconds since the last action (either an ejection or unejection) took place.booleanhasTimestamp()Timestamp for event.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTypeValue
int getTypeValue()
In case of eject represents type of ejection that took place.
.envoy.data.cluster.v3.OutlierEjectionType type = 1 [(.validate.rules) = { ... }- Returns:
- The enum numeric value on the wire for type.
-
getType
OutlierEjectionType getType()
In case of eject represents type of ejection that took place.
.envoy.data.cluster.v3.OutlierEjectionType type = 1 [(.validate.rules) = { ... }- Returns:
- The type.
-
hasTimestamp
boolean hasTimestamp()
Timestamp for event.
.google.protobuf.Timestamp timestamp = 2;- Returns:
- Whether the timestamp field is set.
-
getTimestamp
com.google.protobuf.Timestamp getTimestamp()
Timestamp for event.
.google.protobuf.Timestamp timestamp = 2;- Returns:
- The timestamp.
-
getTimestampOrBuilder
com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
Timestamp for event.
.google.protobuf.Timestamp timestamp = 2;
-
hasSecsSinceLastAction
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;- Returns:
- Whether the secsSinceLastAction field is set.
-
getSecsSinceLastAction
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;- Returns:
- The secsSinceLastAction.
-
getSecsSinceLastActionOrBuilder
com.google.protobuf.UInt64ValueOrBuilder getSecsSinceLastActionOrBuilder()
The time in seconds since the last action (either an ejection or unejection) took place.
.google.protobuf.UInt64Value secs_since_last_action = 3;
-
getClusterName
String getClusterName()
The :ref:`cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` that owns the ejected host.
string cluster_name = 4 [(.validate.rules) = { ... }- Returns:
- The clusterName.
-
getClusterNameBytes
com.google.protobuf.ByteString getClusterNameBytes()
The :ref:`cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` that owns the ejected host.
string cluster_name = 4 [(.validate.rules) = { ... }- Returns:
- The bytes for clusterName.
-
getUpstreamUrl
String getUpstreamUrl()
The URL of the ejected host. E.g., ``tcp://1.2.3.4:80``.
string upstream_url = 5 [(.validate.rules) = { ... }- Returns:
- The upstreamUrl.
-
getUpstreamUrlBytes
com.google.protobuf.ByteString getUpstreamUrlBytes()
The URL of the ejected host. E.g., ``tcp://1.2.3.4:80``.
string upstream_url = 5 [(.validate.rules) = { ... }- Returns:
- The bytes for upstreamUrl.
-
getActionValue
int getActionValue()
The action that took place.
.envoy.data.cluster.v3.Action action = 6 [(.validate.rules) = { ... }- Returns:
- The enum numeric value on the wire for action.
-
getAction
Action getAction()
The action that took place.
.envoy.data.cluster.v3.Action action = 6 [(.validate.rules) = { ... }- Returns:
- The action.
-
getNumEjections
int getNumEjections()
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;- Returns:
- The numEjections.
-
getEnforced
boolean getEnforced()
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;- Returns:
- The enforced.
-
hasEjectSuccessRateEvent
boolean hasEjectSuccessRateEvent()
.envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;- Returns:
- Whether the ejectSuccessRateEvent field is set.
-
getEjectSuccessRateEvent
OutlierEjectSuccessRate getEjectSuccessRateEvent()
.envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;- Returns:
- The ejectSuccessRateEvent.
-
getEjectSuccessRateEventOrBuilder
OutlierEjectSuccessRateOrBuilder getEjectSuccessRateEventOrBuilder()
.envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;
-
hasEjectConsecutiveEvent
boolean hasEjectConsecutiveEvent()
.envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;- Returns:
- Whether the ejectConsecutiveEvent field is set.
-
getEjectConsecutiveEvent
OutlierEjectConsecutive getEjectConsecutiveEvent()
.envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;- Returns:
- The ejectConsecutiveEvent.
-
getEjectConsecutiveEventOrBuilder
OutlierEjectConsecutiveOrBuilder getEjectConsecutiveEventOrBuilder()
.envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;
-
hasEjectFailurePercentageEvent
boolean hasEjectFailurePercentageEvent()
.envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;- Returns:
- Whether the ejectFailurePercentageEvent field is set.
-
getEjectFailurePercentageEvent
OutlierEjectFailurePercentage getEjectFailurePercentageEvent()
.envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;- Returns:
- The ejectFailurePercentageEvent.
-
getEjectFailurePercentageEventOrBuilder
OutlierEjectFailurePercentageOrBuilder getEjectFailurePercentageEventOrBuilder()
.envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;
-
getEventCase
OutlierDetectionEvent.EventCase getEventCase()
-
-