Package io.envoyproxy.envoy.data.core.v3
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: 10]
Protobuf typeenvoy.data.core.v3.HealthCheckEvent- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHealthCheckEvent.Builder[#next-free-field: 10]static classHealthCheckEvent.EventCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intADD_HEALTHY_EVENT_FIELD_NUMBERstatic intCLUSTER_NAME_FIELD_NUMBERstatic intDEGRADED_HEALTHY_HOST_FIELD_NUMBERstatic intEJECT_UNHEALTHY_EVENT_FIELD_NUMBERstatic intHEALTH_CHECK_FAILURE_EVENT_FIELD_NUMBERstatic intHEALTH_CHECKER_TYPE_FIELD_NUMBERstatic intHOST_FIELD_NUMBERstatic intNO_LONGER_DEGRADED_HOST_FIELD_NUMBERstatic intTIMESTAMP_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)HealthCheckAddHealthygetAddHealthyEvent()Host addition.HealthCheckAddHealthyOrBuildergetAddHealthyEventOrBuilder()Host addition.StringgetClusterName()string cluster_name = 3 [(.validate.rules) = { ... }com.google.protobuf.ByteStringgetClusterNameBytes()string cluster_name = 3 [(.validate.rules) = { ... }static HealthCheckEventgetDefaultInstance()HealthCheckEventgetDefaultInstanceForType()DegradedHealthyHostgetDegradedHealthyHost()Healthy host became degraded.DegradedHealthyHostOrBuildergetDegradedHealthyHostOrBuilder()Healthy host became degraded.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()HealthCheckEjectUnhealthygetEjectUnhealthyEvent()Host ejection.HealthCheckEjectUnhealthyOrBuildergetEjectUnhealthyEventOrBuilder()Host ejection.HealthCheckEvent.EventCasegetEventCase()HealthCheckerTypegetHealthCheckerType().envoy.data.core.v3.HealthCheckerType health_checker_type = 1 [(.validate.rules) = { ... }intgetHealthCheckerTypeValue().envoy.data.core.v3.HealthCheckerType health_checker_type = 1 [(.validate.rules) = { ... }HealthCheckFailuregetHealthCheckFailureEvent()Host failure.HealthCheckFailureOrBuildergetHealthCheckFailureEventOrBuilder()Host failure.AddressgetHost().envoy.config.core.v3.Address host = 2;AddressOrBuildergetHostOrBuilder().envoy.config.core.v3.Address host = 2;NoLongerDegradedHostgetNoLongerDegradedHost()A degraded host returned to being healthy.NoLongerDegradedHostOrBuildergetNoLongerDegradedHostOrBuilder()A degraded host returned to being healthy.com.google.protobuf.Parser<HealthCheckEvent>getParserForType()intgetSerializedSize()com.google.protobuf.TimestampgetTimestamp()Timestamp for event.com.google.protobuf.TimestampOrBuildergetTimestampOrBuilder()Timestamp for event.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAddHealthyEvent()Host addition.booleanhasDegradedHealthyHost()Healthy host became degraded.booleanhasEjectUnhealthyEvent()Host ejection.inthashCode()booleanhasHealthCheckFailureEvent()Host failure.booleanhasHost().envoy.config.core.v3.Address host = 2;booleanhasNoLongerDegradedHost()A degraded host returned to being healthy.booleanhasTimestamp()Timestamp for event.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static HealthCheckEvent.BuildernewBuilder()static HealthCheckEvent.BuildernewBuilder(HealthCheckEvent prototype)HealthCheckEvent.BuildernewBuilderForType()protected HealthCheckEvent.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static HealthCheckEventparseDelimitedFrom(InputStream input)static HealthCheckEventparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HealthCheckEventparseFrom(byte[] data)static HealthCheckEventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HealthCheckEventparseFrom(com.google.protobuf.ByteString data)static HealthCheckEventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HealthCheckEventparseFrom(com.google.protobuf.CodedInputStream input)static HealthCheckEventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HealthCheckEventparseFrom(InputStream input)static HealthCheckEventparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HealthCheckEventparseFrom(ByteBuffer data)static HealthCheckEventparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<HealthCheckEvent>parser()HealthCheckEvent.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
HEALTH_CHECKER_TYPE_FIELD_NUMBER
public static final int HEALTH_CHECKER_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HOST_FIELD_NUMBER
public static final int HOST_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
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
public HealthCheckEvent.EventCase getEventCase()
- Specified by:
getEventCasein interfaceHealthCheckEventOrBuilder
-
getHealthCheckerTypeValue
public int getHealthCheckerTypeValue()
.envoy.data.core.v3.HealthCheckerType health_checker_type = 1 [(.validate.rules) = { ... }- Specified by:
getHealthCheckerTypeValuein interfaceHealthCheckEventOrBuilder- 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:
getHealthCheckerTypein interfaceHealthCheckEventOrBuilder- Returns:
- The healthCheckerType.
-
hasHost
public boolean hasHost()
.envoy.config.core.v3.Address host = 2;- Specified by:
hasHostin interfaceHealthCheckEventOrBuilder- Returns:
- Whether the host field is set.
-
getHost
public Address getHost()
.envoy.config.core.v3.Address host = 2;- Specified by:
getHostin interfaceHealthCheckEventOrBuilder- Returns:
- The host.
-
getHostOrBuilder
public AddressOrBuilder getHostOrBuilder()
.envoy.config.core.v3.Address host = 2;- Specified by:
getHostOrBuilderin interfaceHealthCheckEventOrBuilder
-
getClusterName
public String getClusterName()
string cluster_name = 3 [(.validate.rules) = { ... }- Specified by:
getClusterNamein interfaceHealthCheckEventOrBuilder- Returns:
- The clusterName.
-
getClusterNameBytes
public com.google.protobuf.ByteString getClusterNameBytes()
string cluster_name = 3 [(.validate.rules) = { ... }- Specified by:
getClusterNameBytesin interfaceHealthCheckEventOrBuilder- Returns:
- The bytes for clusterName.
-
hasEjectUnhealthyEvent
public boolean hasEjectUnhealthyEvent()
Host ejection.
.envoy.data.core.v3.HealthCheckEjectUnhealthy eject_unhealthy_event = 4;- Specified by:
hasEjectUnhealthyEventin interfaceHealthCheckEventOrBuilder- Returns:
- Whether the ejectUnhealthyEvent field is set.
-
getEjectUnhealthyEvent
public HealthCheckEjectUnhealthy getEjectUnhealthyEvent()
Host ejection.
.envoy.data.core.v3.HealthCheckEjectUnhealthy eject_unhealthy_event = 4;- Specified by:
getEjectUnhealthyEventin interfaceHealthCheckEventOrBuilder- Returns:
- The ejectUnhealthyEvent.
-
getEjectUnhealthyEventOrBuilder
public HealthCheckEjectUnhealthyOrBuilder getEjectUnhealthyEventOrBuilder()
Host ejection.
.envoy.data.core.v3.HealthCheckEjectUnhealthy eject_unhealthy_event = 4;- Specified by:
getEjectUnhealthyEventOrBuilderin interfaceHealthCheckEventOrBuilder
-
hasAddHealthyEvent
public boolean hasAddHealthyEvent()
Host addition.
.envoy.data.core.v3.HealthCheckAddHealthy add_healthy_event = 5;- Specified by:
hasAddHealthyEventin interfaceHealthCheckEventOrBuilder- Returns:
- Whether the addHealthyEvent field is set.
-
getAddHealthyEvent
public HealthCheckAddHealthy getAddHealthyEvent()
Host addition.
.envoy.data.core.v3.HealthCheckAddHealthy add_healthy_event = 5;- Specified by:
getAddHealthyEventin interfaceHealthCheckEventOrBuilder- Returns:
- The addHealthyEvent.
-
getAddHealthyEventOrBuilder
public HealthCheckAddHealthyOrBuilder getAddHealthyEventOrBuilder()
Host addition.
.envoy.data.core.v3.HealthCheckAddHealthy add_healthy_event = 5;- Specified by:
getAddHealthyEventOrBuilderin interfaceHealthCheckEventOrBuilder
-
hasHealthCheckFailureEvent
public boolean hasHealthCheckFailureEvent()
Host failure.
.envoy.data.core.v3.HealthCheckFailure health_check_failure_event = 7;- Specified by:
hasHealthCheckFailureEventin interfaceHealthCheckEventOrBuilder- 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:
getHealthCheckFailureEventin interfaceHealthCheckEventOrBuilder- Returns:
- The healthCheckFailureEvent.
-
getHealthCheckFailureEventOrBuilder
public HealthCheckFailureOrBuilder getHealthCheckFailureEventOrBuilder()
Host failure.
.envoy.data.core.v3.HealthCheckFailure health_check_failure_event = 7;- Specified by:
getHealthCheckFailureEventOrBuilderin interfaceHealthCheckEventOrBuilder
-
hasDegradedHealthyHost
public boolean hasDegradedHealthyHost()
Healthy host became degraded.
.envoy.data.core.v3.DegradedHealthyHost degraded_healthy_host = 8;- Specified by:
hasDegradedHealthyHostin interfaceHealthCheckEventOrBuilder- 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:
getDegradedHealthyHostin interfaceHealthCheckEventOrBuilder- Returns:
- The degradedHealthyHost.
-
getDegradedHealthyHostOrBuilder
public DegradedHealthyHostOrBuilder getDegradedHealthyHostOrBuilder()
Healthy host became degraded.
.envoy.data.core.v3.DegradedHealthyHost degraded_healthy_host = 8;- Specified by:
getDegradedHealthyHostOrBuilderin interfaceHealthCheckEventOrBuilder
-
hasNoLongerDegradedHost
public boolean hasNoLongerDegradedHost()
A degraded host returned to being healthy.
.envoy.data.core.v3.NoLongerDegradedHost no_longer_degraded_host = 9;- Specified by:
hasNoLongerDegradedHostin interfaceHealthCheckEventOrBuilder- 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:
getNoLongerDegradedHostin interfaceHealthCheckEventOrBuilder- 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:
getNoLongerDegradedHostOrBuilderin interfaceHealthCheckEventOrBuilder
-
hasTimestamp
public boolean hasTimestamp()
Timestamp for event.
.google.protobuf.Timestamp timestamp = 6;- Specified by:
hasTimestampin interfaceHealthCheckEventOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public com.google.protobuf.Timestamp getTimestamp()
Timestamp for event.
.google.protobuf.Timestamp timestamp = 6;- Specified by:
getTimestampin interfaceHealthCheckEventOrBuilder- Returns:
- The timestamp.
-
getTimestampOrBuilder
public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
Timestamp for event.
.google.protobuf.Timestamp timestamp = 6;- Specified by:
getTimestampOrBuilderin interfaceHealthCheckEventOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static HealthCheckEvent.Builder newBuilder()
-
newBuilder
public static HealthCheckEvent.Builder newBuilder(HealthCheckEvent prototype)
-
toBuilder
public HealthCheckEvent.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected HealthCheckEvent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public HealthCheckEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-