Class HealthCheckEvent

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, HealthCheckEventOrBuilder, Serializable

    public final class HealthCheckEvent
    extends com.google.protobuf.GeneratedMessageV3
    implements HealthCheckEventOrBuilder
     [#next-free-field: 10]
     
    Protobuf type envoy.data.core.v3.HealthCheckEvent
    See Also:
    Serialized Form
    • Field Detail

      • HEALTH_CHECKER_TYPE_FIELD_NUMBER

        public static final int HEALTH_CHECKER_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CLUSTER_NAME_FIELD_NUMBER

        public static final int CLUSTER_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • EJECT_UNHEALTHY_EVENT_FIELD_NUMBER

        public static final int EJECT_UNHEALTHY_EVENT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ADD_HEALTHY_EVENT_FIELD_NUMBER

        public static final int ADD_HEALTHY_EVENT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • HEALTH_CHECK_FAILURE_EVENT_FIELD_NUMBER

        public static final int HEALTH_CHECK_FAILURE_EVENT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DEGRADED_HEALTHY_HOST_FIELD_NUMBER

        public static final int DEGRADED_HEALTHY_HOST_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NO_LONGER_DEGRADED_HOST_FIELD_NUMBER

        public static final int NO_LONGER_DEGRADED_HOST_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getHealthCheckerTypeValue

        public int getHealthCheckerTypeValue()
        .envoy.data.core.v3.HealthCheckerType health_checker_type = 1 [(.validate.rules) = { ... }
        Specified by:
        getHealthCheckerTypeValue in interface HealthCheckEventOrBuilder
        Returns:
        The enum numeric value on the wire for healthCheckerType.
      • hasHost

        public boolean hasHost()
        .envoy.config.core.v3.Address host = 2;
        Specified by:
        hasHost in interface HealthCheckEventOrBuilder
        Returns:
        Whether the host field is set.
      • getClusterNameBytes

        public com.google.protobuf.ByteString getClusterNameBytes()
        string cluster_name = 3 [(.validate.rules) = { ... }
        Specified by:
        getClusterNameBytes in interface HealthCheckEventOrBuilder
        Returns:
        The bytes for clusterName.
      • hasEjectUnhealthyEvent

        public boolean hasEjectUnhealthyEvent()
         Host ejection.
         
        .envoy.data.core.v3.HealthCheckEjectUnhealthy eject_unhealthy_event = 4;
        Specified by:
        hasEjectUnhealthyEvent in interface HealthCheckEventOrBuilder
        Returns:
        Whether the ejectUnhealthyEvent field is set.
      • hasAddHealthyEvent

        public boolean hasAddHealthyEvent()
         Host addition.
         
        .envoy.data.core.v3.HealthCheckAddHealthy add_healthy_event = 5;
        Specified by:
        hasAddHealthyEvent in interface HealthCheckEventOrBuilder
        Returns:
        Whether the addHealthyEvent field is set.
      • hasHealthCheckFailureEvent

        public boolean hasHealthCheckFailureEvent()
         Host failure.
         
        .envoy.data.core.v3.HealthCheckFailure health_check_failure_event = 7;
        Specified by:
        hasHealthCheckFailureEvent in interface HealthCheckEventOrBuilder
        Returns:
        Whether the healthCheckFailureEvent field is set.
      • hasDegradedHealthyHost

        public boolean hasDegradedHealthyHost()
         Healthy host became degraded.
         
        .envoy.data.core.v3.DegradedHealthyHost degraded_healthy_host = 8;
        Specified by:
        hasDegradedHealthyHost in interface HealthCheckEventOrBuilder
        Returns:
        Whether the degradedHealthyHost field is set.
      • hasNoLongerDegradedHost

        public boolean hasNoLongerDegradedHost()
         A degraded host returned to being healthy.
         
        .envoy.data.core.v3.NoLongerDegradedHost no_longer_degraded_host = 9;
        Specified by:
        hasNoLongerDegradedHost in interface HealthCheckEventOrBuilder
        Returns:
        Whether the noLongerDegradedHost field is set.
      • hasTimestamp

        public boolean hasTimestamp()
         Timestamp for event.
         
        .google.protobuf.Timestamp timestamp = 6;
        Specified by:
        hasTimestamp in interface HealthCheckEventOrBuilder
        Returns:
        Whether the timestamp field is set.
      • getTimestamp

        public com.google.protobuf.Timestamp getTimestamp()
         Timestamp for event.
         
        .google.protobuf.Timestamp timestamp = 6;
        Specified by:
        getTimestamp in interface HealthCheckEventOrBuilder
        Returns:
        The timestamp.
      • getTimestampOrBuilder

        public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
         Timestamp for event.
         
        .google.protobuf.Timestamp timestamp = 6;
        Specified by:
        getTimestampOrBuilder in interface HealthCheckEventOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static HealthCheckEvent parseFrom​(ByteBuffer data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static HealthCheckEvent parseFrom​(ByteBuffer data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static HealthCheckEvent parseFrom​(com.google.protobuf.ByteString data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static HealthCheckEvent parseFrom​(com.google.protobuf.ByteString data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static HealthCheckEvent parseFrom​(byte[] data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static HealthCheckEvent parseFrom​(byte[] data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static HealthCheckEvent parseFrom​(com.google.protobuf.CodedInputStream input,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws IOException
        Throws:
        IOException
      • newBuilderForType

        public HealthCheckEvent.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public HealthCheckEvent.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected HealthCheckEvent.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<HealthCheckEvent> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public HealthCheckEvent getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder