Class HealthCheckEvent

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.data.core.v3.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: 13]
 
Protobuf type envoy.data.core.v3.HealthCheckEvent
See Also:
  • Field Details

    • HEALTH_CHECKER_TYPE_FIELD_NUMBER

      public static final int HEALTH_CHECKER_TYPE_FIELD_NUMBER
      See Also:
    • HOST_FIELD_NUMBER

      public static final int HOST_FIELD_NUMBER
      See Also:
    • CLUSTER_NAME_FIELD_NUMBER

      public static final int CLUSTER_NAME_FIELD_NUMBER
      See Also:
    • EJECT_UNHEALTHY_EVENT_FIELD_NUMBER

      public static final int EJECT_UNHEALTHY_EVENT_FIELD_NUMBER
      See Also:
    • ADD_HEALTHY_EVENT_FIELD_NUMBER

      public static final int ADD_HEALTHY_EVENT_FIELD_NUMBER
      See Also:
    • SUCCESSFUL_HEALTH_CHECK_EVENT_FIELD_NUMBER

      public static final int SUCCESSFUL_HEALTH_CHECK_EVENT_FIELD_NUMBER
      See Also:
    • HEALTH_CHECK_FAILURE_EVENT_FIELD_NUMBER

      public static final int HEALTH_CHECK_FAILURE_EVENT_FIELD_NUMBER
      See Also:
    • DEGRADED_HEALTHY_HOST_FIELD_NUMBER

      public static final int DEGRADED_HEALTHY_HOST_FIELD_NUMBER
      See Also:
    • NO_LONGER_DEGRADED_HOST_FIELD_NUMBER

      public static final int NO_LONGER_DEGRADED_HOST_FIELD_NUMBER
      See Also:
    • TIMESTAMP_FIELD_NUMBER

      public static final int TIMESTAMP_FIELD_NUMBER
      See Also:
    • METADATA_FIELD_NUMBER

      public static final int METADATA_FIELD_NUMBER
      See Also:
    • LOCALITY_FIELD_NUMBER

      public static final int LOCALITY_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance 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
    • getEventCase

      public HealthCheckEvent.EventCase getEventCase()
      Specified by:
      getEventCase in interface HealthCheckEventOrBuilder
    • 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.
    • getHealthCheckerType

      public HealthCheckerType getHealthCheckerType()
      .envoy.data.core.v3.HealthCheckerType health_checker_type = 1 [(.validate.rules) = { ... }
      Specified by:
      getHealthCheckerType in interface HealthCheckEventOrBuilder
      Returns:
      The 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.
    • getHost

      public Address getHost()
      .envoy.config.core.v3.Address host = 2;
      Specified by:
      getHost in interface HealthCheckEventOrBuilder
      Returns:
      The host.
    • getHostOrBuilder

      public AddressOrBuilder getHostOrBuilder()
      .envoy.config.core.v3.Address host = 2;
      Specified by:
      getHostOrBuilder in interface HealthCheckEventOrBuilder
    • getClusterName

      public String getClusterName()
      string cluster_name = 3 [(.validate.rules) = { ... }
      Specified by:
      getClusterName in interface HealthCheckEventOrBuilder
      Returns:
      The clusterName.
    • 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.
    • getEjectUnhealthyEvent

      public HealthCheckEjectUnhealthy getEjectUnhealthyEvent()
       Host ejection.
       
      .envoy.data.core.v3.HealthCheckEjectUnhealthy eject_unhealthy_event = 4;
      Specified by:
      getEjectUnhealthyEvent in interface HealthCheckEventOrBuilder
      Returns:
      The ejectUnhealthyEvent.
    • getEjectUnhealthyEventOrBuilder

      public HealthCheckEjectUnhealthyOrBuilder getEjectUnhealthyEventOrBuilder()
       Host ejection.
       
      .envoy.data.core.v3.HealthCheckEjectUnhealthy eject_unhealthy_event = 4;
      Specified by:
      getEjectUnhealthyEventOrBuilder in interface HealthCheckEventOrBuilder
    • 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.
    • getAddHealthyEvent

      public HealthCheckAddHealthy getAddHealthyEvent()
       Host addition.
       
      .envoy.data.core.v3.HealthCheckAddHealthy add_healthy_event = 5;
      Specified by:
      getAddHealthyEvent in interface HealthCheckEventOrBuilder
      Returns:
      The addHealthyEvent.
    • getAddHealthyEventOrBuilder

      public HealthCheckAddHealthyOrBuilder getAddHealthyEventOrBuilder()
       Host addition.
       
      .envoy.data.core.v3.HealthCheckAddHealthy add_healthy_event = 5;
      Specified by:
      getAddHealthyEventOrBuilder in interface HealthCheckEventOrBuilder
    • hasSuccessfulHealthCheckEvent

      public boolean hasSuccessfulHealthCheckEvent()
       A health check was successful. Note: a host will be considered healthy either if it is
       the first ever health check, or if the healthy threshold is reached. This kind of event
       indicate that a health check was successful, but does not indicates that the host is
       considered healthy. A host is considered healthy if HealthCheckAddHealthy kind of event is sent.
       
      .envoy.data.core.v3.HealthCheckSuccessful successful_health_check_event = 12;
      Specified by:
      hasSuccessfulHealthCheckEvent in interface HealthCheckEventOrBuilder
      Returns:
      Whether the successfulHealthCheckEvent field is set.
    • getSuccessfulHealthCheckEvent

      public HealthCheckSuccessful getSuccessfulHealthCheckEvent()
       A health check was successful. Note: a host will be considered healthy either if it is
       the first ever health check, or if the healthy threshold is reached. This kind of event
       indicate that a health check was successful, but does not indicates that the host is
       considered healthy. A host is considered healthy if HealthCheckAddHealthy kind of event is sent.
       
      .envoy.data.core.v3.HealthCheckSuccessful successful_health_check_event = 12;
      Specified by:
      getSuccessfulHealthCheckEvent in interface HealthCheckEventOrBuilder
      Returns:
      The successfulHealthCheckEvent.
    • getSuccessfulHealthCheckEventOrBuilder

      public HealthCheckSuccessfulOrBuilder getSuccessfulHealthCheckEventOrBuilder()
       A health check was successful. Note: a host will be considered healthy either if it is
       the first ever health check, or if the healthy threshold is reached. This kind of event
       indicate that a health check was successful, but does not indicates that the host is
       considered healthy. A host is considered healthy if HealthCheckAddHealthy kind of event is sent.
       
      .envoy.data.core.v3.HealthCheckSuccessful successful_health_check_event = 12;
      Specified by:
      getSuccessfulHealthCheckEventOrBuilder in interface HealthCheckEventOrBuilder
    • 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.
    • getHealthCheckFailureEvent

      public HealthCheckFailure getHealthCheckFailureEvent()
       Host failure.
       
      .envoy.data.core.v3.HealthCheckFailure health_check_failure_event = 7;
      Specified by:
      getHealthCheckFailureEvent in interface HealthCheckEventOrBuilder
      Returns:
      The healthCheckFailureEvent.
    • getHealthCheckFailureEventOrBuilder

      public HealthCheckFailureOrBuilder getHealthCheckFailureEventOrBuilder()
       Host failure.
       
      .envoy.data.core.v3.HealthCheckFailure health_check_failure_event = 7;
      Specified by:
      getHealthCheckFailureEventOrBuilder in interface HealthCheckEventOrBuilder
    • 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.
    • getDegradedHealthyHost

      public DegradedHealthyHost getDegradedHealthyHost()
       Healthy host became degraded.
       
      .envoy.data.core.v3.DegradedHealthyHost degraded_healthy_host = 8;
      Specified by:
      getDegradedHealthyHost in interface HealthCheckEventOrBuilder
      Returns:
      The degradedHealthyHost.
    • getDegradedHealthyHostOrBuilder

      public DegradedHealthyHostOrBuilder getDegradedHealthyHostOrBuilder()
       Healthy host became degraded.
       
      .envoy.data.core.v3.DegradedHealthyHost degraded_healthy_host = 8;
      Specified by:
      getDegradedHealthyHostOrBuilder in interface HealthCheckEventOrBuilder
    • 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.
    • getNoLongerDegradedHost

      public NoLongerDegradedHost getNoLongerDegradedHost()
       A degraded host returned to being healthy.
       
      .envoy.data.core.v3.NoLongerDegradedHost no_longer_degraded_host = 9;
      Specified by:
      getNoLongerDegradedHost in interface HealthCheckEventOrBuilder
      Returns:
      The noLongerDegradedHost.
    • getNoLongerDegradedHostOrBuilder

      public NoLongerDegradedHostOrBuilder getNoLongerDegradedHostOrBuilder()
       A degraded host returned to being healthy.
       
      .envoy.data.core.v3.NoLongerDegradedHost no_longer_degraded_host = 9;
      Specified by:
      getNoLongerDegradedHostOrBuilder in interface HealthCheckEventOrBuilder
    • 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
    • hasMetadata

      public boolean hasMetadata()
       Host metadata
       
      .envoy.config.core.v3.Metadata metadata = 10;
      Specified by:
      hasMetadata in interface HealthCheckEventOrBuilder
      Returns:
      Whether the metadata field is set.
    • getMetadata

      public Metadata getMetadata()
       Host metadata
       
      .envoy.config.core.v3.Metadata metadata = 10;
      Specified by:
      getMetadata in interface HealthCheckEventOrBuilder
      Returns:
      The metadata.
    • getMetadataOrBuilder

      public MetadataOrBuilder getMetadataOrBuilder()
       Host metadata
       
      .envoy.config.core.v3.Metadata metadata = 10;
      Specified by:
      getMetadataOrBuilder in interface HealthCheckEventOrBuilder
    • hasLocality

      public boolean hasLocality()
       Host locality
       
      .envoy.config.core.v3.Locality locality = 11;
      Specified by:
      hasLocality in interface HealthCheckEventOrBuilder
      Returns:
      Whether the locality field is set.
    • getLocality

      public Locality getLocality()
       Host locality
       
      .envoy.config.core.v3.Locality locality = 11;
      Specified by:
      getLocality in interface HealthCheckEventOrBuilder
      Returns:
      The locality.
    • getLocalityOrBuilder

      public LocalityOrBuilder getLocalityOrBuilder()
       Host locality
       
      .envoy.config.core.v3.Locality locality = 11;
      Specified by:
      getLocalityOrBuilder 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(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static HealthCheckEvent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static HealthCheckEvent parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static HealthCheckEvent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static HealthCheckEvent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • 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
    • newBuilder

      public static HealthCheckEvent.Builder newBuilder()
    • newBuilder

      public static HealthCheckEvent.Builder newBuilder(HealthCheckEvent prototype)
    • 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
    • getDefaultInstance

      public static HealthCheckEvent getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<HealthCheckEvent> parser()
    • 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