Class OutlierDetectionEvent
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.data.cluster.v3.OutlierDetectionEvent
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,OutlierDetectionEventOrBuilder,Serializable
public final class OutlierDetectionEvent
extends com.google.protobuf.GeneratedMessageV3
implements OutlierDetectionEventOrBuilder
[#next-free-field: 12]Protobuf type
envoy.data.cluster.v3.OutlierDetectionEvent- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class[#next-free-field: 12]static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe action that took place.intThe action that took place.The :ref:`cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` that owns the ejected host.com.google.protobuf.ByteStringThe :ref:`cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` that owns the ejected host.static OutlierDetectionEventstatic final com.google.protobuf.Descriptors.Descriptor.envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;.envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;.envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;.envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;.envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;.envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;booleanIf ``action`` is ``eject``, specifies if the ejection was enforced.intIf ``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.Parser<OutlierDetectionEvent>com.google.protobuf.UInt64ValueThe time in seconds since the last action (either an ejection or unejection) took place.com.google.protobuf.UInt64ValueOrBuilderThe time in seconds since the last action (either an ejection or unejection) took place.intcom.google.protobuf.TimestampTimestamp for event.com.google.protobuf.TimestampOrBuilderTimestamp for event.getType()In case of eject represents type of ejection that took place.intIn case of eject represents type of ejection that took place.The URL of the ejected host.com.google.protobuf.ByteStringThe URL of the ejected host.boolean.envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;boolean.envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;boolean.envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;inthashCode()booleanThe time in seconds since the last action (either an ejection or unejection) took place.booleanTimestamp for event.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(OutlierDetectionEvent prototype) protected OutlierDetectionEvent.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static OutlierDetectionEventparseDelimitedFrom(InputStream input) static OutlierDetectionEventparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OutlierDetectionEventparseFrom(byte[] data) static OutlierDetectionEventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OutlierDetectionEventparseFrom(com.google.protobuf.ByteString data) static OutlierDetectionEventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OutlierDetectionEventparseFrom(com.google.protobuf.CodedInputStream input) static OutlierDetectionEventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OutlierDetectionEventparseFrom(InputStream input) static OutlierDetectionEventparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OutlierDetectionEventparseFrom(ByteBuffer data) static OutlierDetectionEventparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<OutlierDetectionEvent>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER- See Also:
-
SECS_SINCE_LAST_ACTION_FIELD_NUMBER
public static final int SECS_SINCE_LAST_ACTION_FIELD_NUMBER- See Also:
-
CLUSTER_NAME_FIELD_NUMBER
public static final int CLUSTER_NAME_FIELD_NUMBER- See Also:
-
UPSTREAM_URL_FIELD_NUMBER
public static final int UPSTREAM_URL_FIELD_NUMBER- See Also:
-
ACTION_FIELD_NUMBER
public static final int ACTION_FIELD_NUMBER- See Also:
-
NUM_EJECTIONS_FIELD_NUMBER
public static final int NUM_EJECTIONS_FIELD_NUMBER- See Also:
-
ENFORCED_FIELD_NUMBER
public static final int ENFORCED_FIELD_NUMBER- See Also:
-
EJECT_SUCCESS_RATE_EVENT_FIELD_NUMBER
public static final int EJECT_SUCCESS_RATE_EVENT_FIELD_NUMBER- See Also:
-
EJECT_CONSECUTIVE_EVENT_FIELD_NUMBER
public static final int EJECT_CONSECUTIVE_EVENT_FIELD_NUMBER- See Also:
-
EJECT_FAILURE_PERCENTAGE_EVENT_FIELD_NUMBER
public static final int EJECT_FAILURE_PERCENTAGE_EVENT_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getEventCase
- Specified by:
getEventCasein interfaceOutlierDetectionEventOrBuilder
-
getTypeValue
public int getTypeValue()In case of eject represents type of ejection that took place.
.envoy.data.cluster.v3.OutlierEjectionType type = 1 [(.validate.rules) = { ... }- Specified by:
getTypeValuein interfaceOutlierDetectionEventOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
In case of eject represents type of ejection that took place.
.envoy.data.cluster.v3.OutlierEjectionType type = 1 [(.validate.rules) = { ... }- Specified by:
getTypein interfaceOutlierDetectionEventOrBuilder- Returns:
- The type.
-
hasTimestamp
public boolean hasTimestamp()Timestamp for event.
.google.protobuf.Timestamp timestamp = 2;- Specified by:
hasTimestampin interfaceOutlierDetectionEventOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public com.google.protobuf.Timestamp getTimestamp()Timestamp for event.
.google.protobuf.Timestamp timestamp = 2;- Specified by:
getTimestampin interfaceOutlierDetectionEventOrBuilder- Returns:
- The timestamp.
-
getTimestampOrBuilder
public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()Timestamp for event.
.google.protobuf.Timestamp timestamp = 2;- Specified by:
getTimestampOrBuilderin interfaceOutlierDetectionEventOrBuilder
-
hasSecsSinceLastAction
public 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;- Specified by:
hasSecsSinceLastActionin interfaceOutlierDetectionEventOrBuilder- Returns:
- Whether the secsSinceLastAction field is set.
-
getSecsSinceLastAction
public 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;- Specified by:
getSecsSinceLastActionin interfaceOutlierDetectionEventOrBuilder- Returns:
- The secsSinceLastAction.
-
getSecsSinceLastActionOrBuilder
public 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;- Specified by:
getSecsSinceLastActionOrBuilderin interfaceOutlierDetectionEventOrBuilder
-
getClusterName
The :ref:`cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` that owns the ejected host.
string cluster_name = 4 [(.validate.rules) = { ... }- Specified by:
getClusterNamein interfaceOutlierDetectionEventOrBuilder- Returns:
- The clusterName.
-
getClusterNameBytes
public 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) = { ... }- Specified by:
getClusterNameBytesin interfaceOutlierDetectionEventOrBuilder- Returns:
- The bytes for clusterName.
-
getUpstreamUrl
The URL of the ejected host. E.g., ``tcp://1.2.3.4:80``.
string upstream_url = 5 [(.validate.rules) = { ... }- Specified by:
getUpstreamUrlin interfaceOutlierDetectionEventOrBuilder- Returns:
- The upstreamUrl.
-
getUpstreamUrlBytes
public 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) = { ... }- Specified by:
getUpstreamUrlBytesin interfaceOutlierDetectionEventOrBuilder- Returns:
- The bytes for upstreamUrl.
-
getActionValue
public int getActionValue()The action that took place.
.envoy.data.cluster.v3.Action action = 6 [(.validate.rules) = { ... }- Specified by:
getActionValuein interfaceOutlierDetectionEventOrBuilder- Returns:
- The enum numeric value on the wire for action.
-
getAction
The action that took place.
.envoy.data.cluster.v3.Action action = 6 [(.validate.rules) = { ... }- Specified by:
getActionin interfaceOutlierDetectionEventOrBuilder- Returns:
- The action.
-
getNumEjections
public 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;- Specified by:
getNumEjectionsin interfaceOutlierDetectionEventOrBuilder- Returns:
- The numEjections.
-
getEnforced
public 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;- Specified by:
getEnforcedin interfaceOutlierDetectionEventOrBuilder- Returns:
- The enforced.
-
hasEjectSuccessRateEvent
public boolean hasEjectSuccessRateEvent().envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;- Specified by:
hasEjectSuccessRateEventin interfaceOutlierDetectionEventOrBuilder- Returns:
- Whether the ejectSuccessRateEvent field is set.
-
getEjectSuccessRateEvent
.envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;- Specified by:
getEjectSuccessRateEventin interfaceOutlierDetectionEventOrBuilder- Returns:
- The ejectSuccessRateEvent.
-
getEjectSuccessRateEventOrBuilder
.envoy.data.cluster.v3.OutlierEjectSuccessRate eject_success_rate_event = 9;- Specified by:
getEjectSuccessRateEventOrBuilderin interfaceOutlierDetectionEventOrBuilder
-
hasEjectConsecutiveEvent
public boolean hasEjectConsecutiveEvent().envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;- Specified by:
hasEjectConsecutiveEventin interfaceOutlierDetectionEventOrBuilder- Returns:
- Whether the ejectConsecutiveEvent field is set.
-
getEjectConsecutiveEvent
.envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;- Specified by:
getEjectConsecutiveEventin interfaceOutlierDetectionEventOrBuilder- Returns:
- The ejectConsecutiveEvent.
-
getEjectConsecutiveEventOrBuilder
.envoy.data.cluster.v3.OutlierEjectConsecutive eject_consecutive_event = 10;- Specified by:
getEjectConsecutiveEventOrBuilderin interfaceOutlierDetectionEventOrBuilder
-
hasEjectFailurePercentageEvent
public boolean hasEjectFailurePercentageEvent().envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;- Specified by:
hasEjectFailurePercentageEventin interfaceOutlierDetectionEventOrBuilder- Returns:
- Whether the ejectFailurePercentageEvent field is set.
-
getEjectFailurePercentageEvent
.envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;- Specified by:
getEjectFailurePercentageEventin interfaceOutlierDetectionEventOrBuilder- Returns:
- The ejectFailurePercentageEvent.
-
getEjectFailurePercentageEventOrBuilder
.envoy.data.cluster.v3.OutlierEjectFailurePercentage eject_failure_percentage_event = 11;- Specified by:
getEjectFailurePercentageEventOrBuilderin interfaceOutlierDetectionEventOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static OutlierDetectionEvent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OutlierDetectionEvent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OutlierDetectionEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OutlierDetectionEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OutlierDetectionEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OutlierDetectionEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static OutlierDetectionEvent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static OutlierDetectionEvent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static OutlierDetectionEvent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static OutlierDetectionEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OutlierDetectionEvent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-