public final class HealthCheck extends com.google.protobuf.GeneratedMessageV3 implements HealthCheckOrBuilder
[#next-free-field: 25]Protobuf type
envoy.config.core.v3.HealthCheck| Modifier and Type | Class and Description |
|---|---|
static class |
HealthCheck.Builder
[#next-free-field: 25]
Protobuf type
envoy.config.core.v3.HealthCheck |
static class |
HealthCheck.CustomHealthCheck
Custom health check.
|
static interface |
HealthCheck.CustomHealthCheckOrBuilder |
static class |
HealthCheck.GrpcHealthCheck
`grpc.health.v1.Health
<https://github.com/grpc/grpc/blob/master/src/proto/grpc/health/v1/health.proto>`_-based
healthcheck.
|
static interface |
HealthCheck.GrpcHealthCheckOrBuilder |
static class |
HealthCheck.HealthCheckerCase |
static class |
HealthCheck.HttpHealthCheck
[#next-free-field: 12]
Protobuf type
envoy.config.core.v3.HealthCheck.HttpHealthCheck |
static interface |
HealthCheck.HttpHealthCheckOrBuilder |
static class |
HealthCheck.Payload
Describes the encoding of the payload bytes in the payload.
|
static interface |
HealthCheck.PayloadOrBuilder |
static class |
HealthCheck.RedisHealthCheck
Protobuf type
envoy.config.core.v3.HealthCheck.RedisHealthCheck |
static interface |
HealthCheck.RedisHealthCheckOrBuilder |
static class |
HealthCheck.TcpHealthCheck
Protobuf type
envoy.config.core.v3.HealthCheck.TcpHealthCheck |
static interface |
HealthCheck.TcpHealthCheckOrBuilder |
static class |
HealthCheck.TlsOptions
Health checks occur over the transport socket specified for the cluster.
|
static interface |
HealthCheck.TlsOptionsOrBuilder |
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| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.UInt32Value |
getAltPort()
[#not-implemented-hide:] Non-serving port for health checking.
|
com.google.protobuf.UInt32ValueOrBuilder |
getAltPortOrBuilder()
[#not-implemented-hide:] Non-serving port for health checking.
|
boolean |
getAlwaysLogHealthCheckFailures()
If set to true, health check failure events will always be logged.
|
HealthCheck.CustomHealthCheck |
getCustomHealthCheck()
Custom health check.
|
HealthCheck.CustomHealthCheckOrBuilder |
getCustomHealthCheckOrBuilder()
Custom health check.
|
static HealthCheck |
getDefaultInstance() |
HealthCheck |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getEventLogPath()
Specifies the path to the :ref:`health check event log <arch_overview_health_check_logging>`.
|
com.google.protobuf.ByteString |
getEventLogPathBytes()
Specifies the path to the :ref:`health check event log <arch_overview_health_check_logging>`.
|
EventServiceConfig |
getEventService()
[#not-implemented-hide:]
The gRPC service for the health check event service.
|
EventServiceConfigOrBuilder |
getEventServiceOrBuilder()
[#not-implemented-hide:]
The gRPC service for the health check event service.
|
HealthCheck.GrpcHealthCheck |
getGrpcHealthCheck()
gRPC health check.
|
HealthCheck.GrpcHealthCheckOrBuilder |
getGrpcHealthCheckOrBuilder()
gRPC health check.
|
HealthCheck.HealthCheckerCase |
getHealthCheckerCase() |
com.google.protobuf.Duration |
getHealthyEdgeInterval()
The "healthy edge interval" is a special health check interval that is used for the first
health check right after a host is marked as healthy.
|
com.google.protobuf.DurationOrBuilder |
getHealthyEdgeIntervalOrBuilder()
The "healthy edge interval" is a special health check interval that is used for the first
health check right after a host is marked as healthy.
|
com.google.protobuf.UInt32Value |
getHealthyThreshold()
The number of healthy health checks required before a host is marked
healthy.
|
com.google.protobuf.UInt32ValueOrBuilder |
getHealthyThresholdOrBuilder()
The number of healthy health checks required before a host is marked
healthy.
|
HealthCheck.HttpHealthCheck |
getHttpHealthCheck()
HTTP health check.
|
HealthCheck.HttpHealthCheckOrBuilder |
getHttpHealthCheckOrBuilder()
HTTP health check.
|
com.google.protobuf.Duration |
getInitialJitter()
An optional jitter amount in milliseconds.
|
com.google.protobuf.DurationOrBuilder |
getInitialJitterOrBuilder()
An optional jitter amount in milliseconds.
|
com.google.protobuf.Duration |
getInterval()
The interval between health checks.
|
com.google.protobuf.Duration |
getIntervalJitter()
An optional jitter amount in milliseconds.
|
com.google.protobuf.DurationOrBuilder |
getIntervalJitterOrBuilder()
An optional jitter amount in milliseconds.
|
int |
getIntervalJitterPercent()
An optional jitter amount as a percentage of interval_ms.
|
com.google.protobuf.DurationOrBuilder |
getIntervalOrBuilder()
The interval between health checks.
|
com.google.protobuf.Duration |
getNoTrafficHealthyInterval()
The "no traffic healthy interval" is a special health check interval that
is used for hosts that are currently passing active health checking
(including new hosts) when the cluster has received no traffic.
|
com.google.protobuf.DurationOrBuilder |
getNoTrafficHealthyIntervalOrBuilder()
The "no traffic healthy interval" is a special health check interval that
is used for hosts that are currently passing active health checking
(including new hosts) when the cluster has received no traffic.
|
com.google.protobuf.Duration |
getNoTrafficInterval()
The "no traffic interval" is a special health check interval that is used when a cluster has
never had traffic routed to it.
|
com.google.protobuf.DurationOrBuilder |
getNoTrafficIntervalOrBuilder()
The "no traffic interval" is a special health check interval that is used when a cluster has
never had traffic routed to it.
|
com.google.protobuf.Parser<HealthCheck> |
getParserForType() |
com.google.protobuf.BoolValue |
getReuseConnection()
Reuse health check connection between health checks.
|
com.google.protobuf.BoolValueOrBuilder |
getReuseConnectionOrBuilder()
Reuse health check connection between health checks.
|
int |
getSerializedSize() |
HealthCheck.TcpHealthCheck |
getTcpHealthCheck()
TCP health check.
|
HealthCheck.TcpHealthCheckOrBuilder |
getTcpHealthCheckOrBuilder()
TCP health check.
|
com.google.protobuf.Duration |
getTimeout()
The time to wait for a health check response.
|
com.google.protobuf.DurationOrBuilder |
getTimeoutOrBuilder()
The time to wait for a health check response.
|
HealthCheck.TlsOptions |
getTlsOptions()
This allows overriding the cluster TLS settings, just for health check connections.
|
HealthCheck.TlsOptionsOrBuilder |
getTlsOptionsOrBuilder()
This allows overriding the cluster TLS settings, just for health check connections.
|
com.google.protobuf.Struct |
getTransportSocketMatchCriteria()
Optional key/value pairs that will be used to match a transport socket from those specified in the cluster's
:ref:`tranport socket matches <envoy_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
|
com.google.protobuf.StructOrBuilder |
getTransportSocketMatchCriteriaOrBuilder()
Optional key/value pairs that will be used to match a transport socket from those specified in the cluster's
:ref:`tranport socket matches <envoy_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
|
com.google.protobuf.Duration |
getUnhealthyEdgeInterval()
The "unhealthy edge interval" is a special health check interval that is used for the first
health check right after a host is marked as unhealthy.
|
com.google.protobuf.DurationOrBuilder |
getUnhealthyEdgeIntervalOrBuilder()
The "unhealthy edge interval" is a special health check interval that is used for the first
health check right after a host is marked as unhealthy.
|
com.google.protobuf.Duration |
getUnhealthyInterval()
The "unhealthy interval" is a health check interval that is used for hosts that are marked as
unhealthy.
|
com.google.protobuf.DurationOrBuilder |
getUnhealthyIntervalOrBuilder()
The "unhealthy interval" is a health check interval that is used for hosts that are marked as
unhealthy.
|
com.google.protobuf.UInt32Value |
getUnhealthyThreshold()
The number of unhealthy health checks required before a host is marked
unhealthy.
|
com.google.protobuf.UInt32ValueOrBuilder |
getUnhealthyThresholdOrBuilder()
The number of unhealthy health checks required before a host is marked
unhealthy.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAltPort()
[#not-implemented-hide:] Non-serving port for health checking.
|
boolean |
hasCustomHealthCheck()
Custom health check.
|
boolean |
hasEventService()
[#not-implemented-hide:]
The gRPC service for the health check event service.
|
boolean |
hasGrpcHealthCheck()
gRPC health check.
|
int |
hashCode() |
boolean |
hasHealthyEdgeInterval()
The "healthy edge interval" is a special health check interval that is used for the first
health check right after a host is marked as healthy.
|
boolean |
hasHealthyThreshold()
The number of healthy health checks required before a host is marked
healthy.
|
boolean |
hasHttpHealthCheck()
HTTP health check.
|
boolean |
hasInitialJitter()
An optional jitter amount in milliseconds.
|
boolean |
hasInterval()
The interval between health checks.
|
boolean |
hasIntervalJitter()
An optional jitter amount in milliseconds.
|
boolean |
hasNoTrafficHealthyInterval()
The "no traffic healthy interval" is a special health check interval that
is used for hosts that are currently passing active health checking
(including new hosts) when the cluster has received no traffic.
|
boolean |
hasNoTrafficInterval()
The "no traffic interval" is a special health check interval that is used when a cluster has
never had traffic routed to it.
|
boolean |
hasReuseConnection()
Reuse health check connection between health checks.
|
boolean |
hasTcpHealthCheck()
TCP health check.
|
boolean |
hasTimeout()
The time to wait for a health check response.
|
boolean |
hasTlsOptions()
This allows overriding the cluster TLS settings, just for health check connections.
|
boolean |
hasTransportSocketMatchCriteria()
Optional key/value pairs that will be used to match a transport socket from those specified in the cluster's
:ref:`tranport socket matches <envoy_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
|
boolean |
hasUnhealthyEdgeInterval()
The "unhealthy edge interval" is a special health check interval that is used for the first
health check right after a host is marked as unhealthy.
|
boolean |
hasUnhealthyInterval()
The "unhealthy interval" is a health check interval that is used for hosts that are marked as
unhealthy.
|
boolean |
hasUnhealthyThreshold()
The number of unhealthy health checks required before a host is marked
unhealthy.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static HealthCheck.Builder |
newBuilder() |
static HealthCheck.Builder |
newBuilder(HealthCheck prototype) |
HealthCheck.Builder |
newBuilderForType() |
protected HealthCheck.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static HealthCheck |
parseDelimitedFrom(InputStream input) |
static HealthCheck |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HealthCheck |
parseFrom(byte[] data) |
static HealthCheck |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HealthCheck |
parseFrom(ByteBuffer data) |
static HealthCheck |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HealthCheck |
parseFrom(com.google.protobuf.ByteString data) |
static HealthCheck |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HealthCheck |
parseFrom(com.google.protobuf.CodedInputStream input) |
static HealthCheck |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HealthCheck |
parseFrom(InputStream input) |
static HealthCheck |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<HealthCheck> |
parser() |
HealthCheck.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TIMEOUT_FIELD_NUMBER
public static final int INTERVAL_FIELD_NUMBER
public static final int INITIAL_JITTER_FIELD_NUMBER
public static final int INTERVAL_JITTER_FIELD_NUMBER
public static final int INTERVAL_JITTER_PERCENT_FIELD_NUMBER
public static final int UNHEALTHY_THRESHOLD_FIELD_NUMBER
public static final int HEALTHY_THRESHOLD_FIELD_NUMBER
public static final int ALT_PORT_FIELD_NUMBER
public static final int REUSE_CONNECTION_FIELD_NUMBER
public static final int HTTP_HEALTH_CHECK_FIELD_NUMBER
public static final int TCP_HEALTH_CHECK_FIELD_NUMBER
public static final int GRPC_HEALTH_CHECK_FIELD_NUMBER
public static final int CUSTOM_HEALTH_CHECK_FIELD_NUMBER
public static final int NO_TRAFFIC_INTERVAL_FIELD_NUMBER
public static final int NO_TRAFFIC_HEALTHY_INTERVAL_FIELD_NUMBER
public static final int UNHEALTHY_INTERVAL_FIELD_NUMBER
public static final int UNHEALTHY_EDGE_INTERVAL_FIELD_NUMBER
public static final int HEALTHY_EDGE_INTERVAL_FIELD_NUMBER
public static final int EVENT_LOG_PATH_FIELD_NUMBER
public static final int EVENT_SERVICE_FIELD_NUMBER
public static final int ALWAYS_LOG_HEALTH_CHECK_FAILURES_FIELD_NUMBER
public static final int TLS_OPTIONS_FIELD_NUMBER
public static final int TRANSPORT_SOCKET_MATCH_CRITERIA_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public HealthCheck.HealthCheckerCase getHealthCheckerCase()
getHealthCheckerCase in interface HealthCheckOrBuilderpublic boolean hasTimeout()
The time to wait for a health check response. If the timeout is reached the health check attempt will be considered a failure.
.google.protobuf.Duration timeout = 1 [(.validate.rules) = { ... }hasTimeout in interface HealthCheckOrBuilderpublic com.google.protobuf.Duration getTimeout()
The time to wait for a health check response. If the timeout is reached the health check attempt will be considered a failure.
.google.protobuf.Duration timeout = 1 [(.validate.rules) = { ... }getTimeout in interface HealthCheckOrBuilderpublic com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
The time to wait for a health check response. If the timeout is reached the health check attempt will be considered a failure.
.google.protobuf.Duration timeout = 1 [(.validate.rules) = { ... }getTimeoutOrBuilder in interface HealthCheckOrBuilderpublic boolean hasInterval()
The interval between health checks.
.google.protobuf.Duration interval = 2 [(.validate.rules) = { ... }hasInterval in interface HealthCheckOrBuilderpublic com.google.protobuf.Duration getInterval()
The interval between health checks.
.google.protobuf.Duration interval = 2 [(.validate.rules) = { ... }getInterval in interface HealthCheckOrBuilderpublic com.google.protobuf.DurationOrBuilder getIntervalOrBuilder()
The interval between health checks.
.google.protobuf.Duration interval = 2 [(.validate.rules) = { ... }getIntervalOrBuilder in interface HealthCheckOrBuilderpublic boolean hasInitialJitter()
An optional jitter amount in milliseconds. If specified, Envoy will start health checking after for a random time in ms between 0 and initial_jitter. This only applies to the first health check.
.google.protobuf.Duration initial_jitter = 20;hasInitialJitter in interface HealthCheckOrBuilderpublic com.google.protobuf.Duration getInitialJitter()
An optional jitter amount in milliseconds. If specified, Envoy will start health checking after for a random time in ms between 0 and initial_jitter. This only applies to the first health check.
.google.protobuf.Duration initial_jitter = 20;getInitialJitter in interface HealthCheckOrBuilderpublic com.google.protobuf.DurationOrBuilder getInitialJitterOrBuilder()
An optional jitter amount in milliseconds. If specified, Envoy will start health checking after for a random time in ms between 0 and initial_jitter. This only applies to the first health check.
.google.protobuf.Duration initial_jitter = 20;getInitialJitterOrBuilder in interface HealthCheckOrBuilderpublic boolean hasIntervalJitter()
An optional jitter amount in milliseconds. If specified, during every interval Envoy will add interval_jitter to the wait time.
.google.protobuf.Duration interval_jitter = 3;hasIntervalJitter in interface HealthCheckOrBuilderpublic com.google.protobuf.Duration getIntervalJitter()
An optional jitter amount in milliseconds. If specified, during every interval Envoy will add interval_jitter to the wait time.
.google.protobuf.Duration interval_jitter = 3;getIntervalJitter in interface HealthCheckOrBuilderpublic com.google.protobuf.DurationOrBuilder getIntervalJitterOrBuilder()
An optional jitter amount in milliseconds. If specified, during every interval Envoy will add interval_jitter to the wait time.
.google.protobuf.Duration interval_jitter = 3;getIntervalJitterOrBuilder in interface HealthCheckOrBuilderpublic int getIntervalJitterPercent()
An optional jitter amount as a percentage of interval_ms. If specified, during every interval Envoy will add interval_ms * interval_jitter_percent / 100 to the wait time. If interval_jitter_ms and interval_jitter_percent are both set, both of them will be used to increase the wait time.
uint32 interval_jitter_percent = 18;getIntervalJitterPercent in interface HealthCheckOrBuilderpublic boolean hasUnhealthyThreshold()
The number of unhealthy health checks required before a host is marked unhealthy. Note that for *http* health checking if a host responds with 503 this threshold is ignored and the host is considered unhealthy immediately.
.google.protobuf.UInt32Value unhealthy_threshold = 4 [(.validate.rules) = { ... }hasUnhealthyThreshold in interface HealthCheckOrBuilderpublic com.google.protobuf.UInt32Value getUnhealthyThreshold()
The number of unhealthy health checks required before a host is marked unhealthy. Note that for *http* health checking if a host responds with 503 this threshold is ignored and the host is considered unhealthy immediately.
.google.protobuf.UInt32Value unhealthy_threshold = 4 [(.validate.rules) = { ... }getUnhealthyThreshold in interface HealthCheckOrBuilderpublic com.google.protobuf.UInt32ValueOrBuilder getUnhealthyThresholdOrBuilder()
The number of unhealthy health checks required before a host is marked unhealthy. Note that for *http* health checking if a host responds with 503 this threshold is ignored and the host is considered unhealthy immediately.
.google.protobuf.UInt32Value unhealthy_threshold = 4 [(.validate.rules) = { ... }getUnhealthyThresholdOrBuilder in interface HealthCheckOrBuilderpublic boolean hasHealthyThreshold()
The number of healthy health checks required before a host is marked healthy. Note that during startup, only a single successful health check is required to mark a host healthy.
.google.protobuf.UInt32Value healthy_threshold = 5 [(.validate.rules) = { ... }hasHealthyThreshold in interface HealthCheckOrBuilderpublic com.google.protobuf.UInt32Value getHealthyThreshold()
The number of healthy health checks required before a host is marked healthy. Note that during startup, only a single successful health check is required to mark a host healthy.
.google.protobuf.UInt32Value healthy_threshold = 5 [(.validate.rules) = { ... }getHealthyThreshold in interface HealthCheckOrBuilderpublic com.google.protobuf.UInt32ValueOrBuilder getHealthyThresholdOrBuilder()
The number of healthy health checks required before a host is marked healthy. Note that during startup, only a single successful health check is required to mark a host healthy.
.google.protobuf.UInt32Value healthy_threshold = 5 [(.validate.rules) = { ... }getHealthyThresholdOrBuilder in interface HealthCheckOrBuilderpublic boolean hasAltPort()
[#not-implemented-hide:] Non-serving port for health checking.
.google.protobuf.UInt32Value alt_port = 6;hasAltPort in interface HealthCheckOrBuilderpublic com.google.protobuf.UInt32Value getAltPort()
[#not-implemented-hide:] Non-serving port for health checking.
.google.protobuf.UInt32Value alt_port = 6;getAltPort in interface HealthCheckOrBuilderpublic com.google.protobuf.UInt32ValueOrBuilder getAltPortOrBuilder()
[#not-implemented-hide:] Non-serving port for health checking.
.google.protobuf.UInt32Value alt_port = 6;getAltPortOrBuilder in interface HealthCheckOrBuilderpublic boolean hasReuseConnection()
Reuse health check connection between health checks. Default is true.
.google.protobuf.BoolValue reuse_connection = 7;hasReuseConnection in interface HealthCheckOrBuilderpublic com.google.protobuf.BoolValue getReuseConnection()
Reuse health check connection between health checks. Default is true.
.google.protobuf.BoolValue reuse_connection = 7;getReuseConnection in interface HealthCheckOrBuilderpublic com.google.protobuf.BoolValueOrBuilder getReuseConnectionOrBuilder()
Reuse health check connection between health checks. Default is true.
.google.protobuf.BoolValue reuse_connection = 7;getReuseConnectionOrBuilder in interface HealthCheckOrBuilderpublic boolean hasHttpHealthCheck()
HTTP health check.
.envoy.config.core.v3.HealthCheck.HttpHealthCheck http_health_check = 8;hasHttpHealthCheck in interface HealthCheckOrBuilderpublic HealthCheck.HttpHealthCheck getHttpHealthCheck()
HTTP health check.
.envoy.config.core.v3.HealthCheck.HttpHealthCheck http_health_check = 8;getHttpHealthCheck in interface HealthCheckOrBuilderpublic HealthCheck.HttpHealthCheckOrBuilder getHttpHealthCheckOrBuilder()
HTTP health check.
.envoy.config.core.v3.HealthCheck.HttpHealthCheck http_health_check = 8;getHttpHealthCheckOrBuilder in interface HealthCheckOrBuilderpublic boolean hasTcpHealthCheck()
TCP health check.
.envoy.config.core.v3.HealthCheck.TcpHealthCheck tcp_health_check = 9;hasTcpHealthCheck in interface HealthCheckOrBuilderpublic HealthCheck.TcpHealthCheck getTcpHealthCheck()
TCP health check.
.envoy.config.core.v3.HealthCheck.TcpHealthCheck tcp_health_check = 9;getTcpHealthCheck in interface HealthCheckOrBuilderpublic HealthCheck.TcpHealthCheckOrBuilder getTcpHealthCheckOrBuilder()
TCP health check.
.envoy.config.core.v3.HealthCheck.TcpHealthCheck tcp_health_check = 9;getTcpHealthCheckOrBuilder in interface HealthCheckOrBuilderpublic boolean hasGrpcHealthCheck()
gRPC health check.
.envoy.config.core.v3.HealthCheck.GrpcHealthCheck grpc_health_check = 11;hasGrpcHealthCheck in interface HealthCheckOrBuilderpublic HealthCheck.GrpcHealthCheck getGrpcHealthCheck()
gRPC health check.
.envoy.config.core.v3.HealthCheck.GrpcHealthCheck grpc_health_check = 11;getGrpcHealthCheck in interface HealthCheckOrBuilderpublic HealthCheck.GrpcHealthCheckOrBuilder getGrpcHealthCheckOrBuilder()
gRPC health check.
.envoy.config.core.v3.HealthCheck.GrpcHealthCheck grpc_health_check = 11;getGrpcHealthCheckOrBuilder in interface HealthCheckOrBuilderpublic boolean hasCustomHealthCheck()
Custom health check.
.envoy.config.core.v3.HealthCheck.CustomHealthCheck custom_health_check = 13;hasCustomHealthCheck in interface HealthCheckOrBuilderpublic HealthCheck.CustomHealthCheck getCustomHealthCheck()
Custom health check.
.envoy.config.core.v3.HealthCheck.CustomHealthCheck custom_health_check = 13;getCustomHealthCheck in interface HealthCheckOrBuilderpublic HealthCheck.CustomHealthCheckOrBuilder getCustomHealthCheckOrBuilder()
Custom health check.
.envoy.config.core.v3.HealthCheck.CustomHealthCheck custom_health_check = 13;getCustomHealthCheckOrBuilder in interface HealthCheckOrBuilderpublic boolean hasNoTrafficInterval()
The "no traffic interval" is a special health check interval that is used when a cluster has never had traffic routed to it. This lower interval allows cluster information to be kept up to date, without sending a potentially large amount of active health checking traffic for no reason. Once a cluster has been used for traffic routing, Envoy will shift back to using the standard health check interval that is defined. Note that this interval takes precedence over any other. The default value for "no traffic interval" is 60 seconds.
.google.protobuf.Duration no_traffic_interval = 12 [(.validate.rules) = { ... }hasNoTrafficInterval in interface HealthCheckOrBuilderpublic com.google.protobuf.Duration getNoTrafficInterval()
The "no traffic interval" is a special health check interval that is used when a cluster has never had traffic routed to it. This lower interval allows cluster information to be kept up to date, without sending a potentially large amount of active health checking traffic for no reason. Once a cluster has been used for traffic routing, Envoy will shift back to using the standard health check interval that is defined. Note that this interval takes precedence over any other. The default value for "no traffic interval" is 60 seconds.
.google.protobuf.Duration no_traffic_interval = 12 [(.validate.rules) = { ... }getNoTrafficInterval in interface HealthCheckOrBuilderpublic com.google.protobuf.DurationOrBuilder getNoTrafficIntervalOrBuilder()
The "no traffic interval" is a special health check interval that is used when a cluster has never had traffic routed to it. This lower interval allows cluster information to be kept up to date, without sending a potentially large amount of active health checking traffic for no reason. Once a cluster has been used for traffic routing, Envoy will shift back to using the standard health check interval that is defined. Note that this interval takes precedence over any other. The default value for "no traffic interval" is 60 seconds.
.google.protobuf.Duration no_traffic_interval = 12 [(.validate.rules) = { ... }getNoTrafficIntervalOrBuilder in interface HealthCheckOrBuilderpublic boolean hasNoTrafficHealthyInterval()
The "no traffic healthy interval" is a special health check interval that is used for hosts that are currently passing active health checking (including new hosts) when the cluster has received no traffic. This is useful for when we want to send frequent health checks with `no_traffic_interval` but then revert to lower frequency `no_traffic_healthy_interval` once a host in the cluster is marked as healthy. Once a cluster has been used for traffic routing, Envoy will shift back to using the standard health check interval that is defined. If no_traffic_healthy_interval is not set, it will default to the no traffic interval and send that interval regardless of health state.
.google.protobuf.Duration no_traffic_healthy_interval = 24 [(.validate.rules) = { ... }hasNoTrafficHealthyInterval in interface HealthCheckOrBuilderpublic com.google.protobuf.Duration getNoTrafficHealthyInterval()
The "no traffic healthy interval" is a special health check interval that is used for hosts that are currently passing active health checking (including new hosts) when the cluster has received no traffic. This is useful for when we want to send frequent health checks with `no_traffic_interval` but then revert to lower frequency `no_traffic_healthy_interval` once a host in the cluster is marked as healthy. Once a cluster has been used for traffic routing, Envoy will shift back to using the standard health check interval that is defined. If no_traffic_healthy_interval is not set, it will default to the no traffic interval and send that interval regardless of health state.
.google.protobuf.Duration no_traffic_healthy_interval = 24 [(.validate.rules) = { ... }getNoTrafficHealthyInterval in interface HealthCheckOrBuilderpublic com.google.protobuf.DurationOrBuilder getNoTrafficHealthyIntervalOrBuilder()
The "no traffic healthy interval" is a special health check interval that is used for hosts that are currently passing active health checking (including new hosts) when the cluster has received no traffic. This is useful for when we want to send frequent health checks with `no_traffic_interval` but then revert to lower frequency `no_traffic_healthy_interval` once a host in the cluster is marked as healthy. Once a cluster has been used for traffic routing, Envoy will shift back to using the standard health check interval that is defined. If no_traffic_healthy_interval is not set, it will default to the no traffic interval and send that interval regardless of health state.
.google.protobuf.Duration no_traffic_healthy_interval = 24 [(.validate.rules) = { ... }getNoTrafficHealthyIntervalOrBuilder in interface HealthCheckOrBuilderpublic boolean hasUnhealthyInterval()
The "unhealthy interval" is a health check interval that is used for hosts that are marked as unhealthy. As soon as the host is marked as healthy, Envoy will shift back to using the standard health check interval that is defined. The default value for "unhealthy interval" is the same as "interval".
.google.protobuf.Duration unhealthy_interval = 14 [(.validate.rules) = { ... }hasUnhealthyInterval in interface HealthCheckOrBuilderpublic com.google.protobuf.Duration getUnhealthyInterval()
The "unhealthy interval" is a health check interval that is used for hosts that are marked as unhealthy. As soon as the host is marked as healthy, Envoy will shift back to using the standard health check interval that is defined. The default value for "unhealthy interval" is the same as "interval".
.google.protobuf.Duration unhealthy_interval = 14 [(.validate.rules) = { ... }getUnhealthyInterval in interface HealthCheckOrBuilderpublic com.google.protobuf.DurationOrBuilder getUnhealthyIntervalOrBuilder()
The "unhealthy interval" is a health check interval that is used for hosts that are marked as unhealthy. As soon as the host is marked as healthy, Envoy will shift back to using the standard health check interval that is defined. The default value for "unhealthy interval" is the same as "interval".
.google.protobuf.Duration unhealthy_interval = 14 [(.validate.rules) = { ... }getUnhealthyIntervalOrBuilder in interface HealthCheckOrBuilderpublic boolean hasUnhealthyEdgeInterval()
The "unhealthy edge interval" is a special health check interval that is used for the first health check right after a host is marked as unhealthy. For subsequent health checks Envoy will shift back to using either "unhealthy interval" if present or the standard health check interval that is defined. The default value for "unhealthy edge interval" is the same as "unhealthy interval".
.google.protobuf.Duration unhealthy_edge_interval = 15 [(.validate.rules) = { ... }hasUnhealthyEdgeInterval in interface HealthCheckOrBuilderpublic com.google.protobuf.Duration getUnhealthyEdgeInterval()
The "unhealthy edge interval" is a special health check interval that is used for the first health check right after a host is marked as unhealthy. For subsequent health checks Envoy will shift back to using either "unhealthy interval" if present or the standard health check interval that is defined. The default value for "unhealthy edge interval" is the same as "unhealthy interval".
.google.protobuf.Duration unhealthy_edge_interval = 15 [(.validate.rules) = { ... }getUnhealthyEdgeInterval in interface HealthCheckOrBuilderpublic com.google.protobuf.DurationOrBuilder getUnhealthyEdgeIntervalOrBuilder()
The "unhealthy edge interval" is a special health check interval that is used for the first health check right after a host is marked as unhealthy. For subsequent health checks Envoy will shift back to using either "unhealthy interval" if present or the standard health check interval that is defined. The default value for "unhealthy edge interval" is the same as "unhealthy interval".
.google.protobuf.Duration unhealthy_edge_interval = 15 [(.validate.rules) = { ... }getUnhealthyEdgeIntervalOrBuilder in interface HealthCheckOrBuilderpublic boolean hasHealthyEdgeInterval()
The "healthy edge interval" is a special health check interval that is used for the first health check right after a host is marked as healthy. For subsequent health checks Envoy will shift back to using the standard health check interval that is defined. The default value for "healthy edge interval" is the same as the default interval.
.google.protobuf.Duration healthy_edge_interval = 16 [(.validate.rules) = { ... }hasHealthyEdgeInterval in interface HealthCheckOrBuilderpublic com.google.protobuf.Duration getHealthyEdgeInterval()
The "healthy edge interval" is a special health check interval that is used for the first health check right after a host is marked as healthy. For subsequent health checks Envoy will shift back to using the standard health check interval that is defined. The default value for "healthy edge interval" is the same as the default interval.
.google.protobuf.Duration healthy_edge_interval = 16 [(.validate.rules) = { ... }getHealthyEdgeInterval in interface HealthCheckOrBuilderpublic com.google.protobuf.DurationOrBuilder getHealthyEdgeIntervalOrBuilder()
The "healthy edge interval" is a special health check interval that is used for the first health check right after a host is marked as healthy. For subsequent health checks Envoy will shift back to using the standard health check interval that is defined. The default value for "healthy edge interval" is the same as the default interval.
.google.protobuf.Duration healthy_edge_interval = 16 [(.validate.rules) = { ... }getHealthyEdgeIntervalOrBuilder in interface HealthCheckOrBuilderpublic String getEventLogPath()
Specifies the path to the :ref:`health check event log <arch_overview_health_check_logging>`. If empty, no event log will be written.
string event_log_path = 17;getEventLogPath in interface HealthCheckOrBuilderpublic com.google.protobuf.ByteString getEventLogPathBytes()
Specifies the path to the :ref:`health check event log <arch_overview_health_check_logging>`. If empty, no event log will be written.
string event_log_path = 17;getEventLogPathBytes in interface HealthCheckOrBuilderpublic boolean hasEventService()
[#not-implemented-hide:] The gRPC service for the health check event service. If empty, health check events won't be sent to a remote endpoint.
.envoy.config.core.v3.EventServiceConfig event_service = 22;hasEventService in interface HealthCheckOrBuilderpublic EventServiceConfig getEventService()
[#not-implemented-hide:] The gRPC service for the health check event service. If empty, health check events won't be sent to a remote endpoint.
.envoy.config.core.v3.EventServiceConfig event_service = 22;getEventService in interface HealthCheckOrBuilderpublic EventServiceConfigOrBuilder getEventServiceOrBuilder()
[#not-implemented-hide:] The gRPC service for the health check event service. If empty, health check events won't be sent to a remote endpoint.
.envoy.config.core.v3.EventServiceConfig event_service = 22;getEventServiceOrBuilder in interface HealthCheckOrBuilderpublic boolean getAlwaysLogHealthCheckFailures()
If set to true, health check failure events will always be logged. If set to false, only the initial health check failure event will be logged. The default value is false.
bool always_log_health_check_failures = 19;getAlwaysLogHealthCheckFailures in interface HealthCheckOrBuilderpublic boolean hasTlsOptions()
This allows overriding the cluster TLS settings, just for health check connections.
.envoy.config.core.v3.HealthCheck.TlsOptions tls_options = 21;hasTlsOptions in interface HealthCheckOrBuilderpublic HealthCheck.TlsOptions getTlsOptions()
This allows overriding the cluster TLS settings, just for health check connections.
.envoy.config.core.v3.HealthCheck.TlsOptions tls_options = 21;getTlsOptions in interface HealthCheckOrBuilderpublic HealthCheck.TlsOptionsOrBuilder getTlsOptionsOrBuilder()
This allows overriding the cluster TLS settings, just for health check connections.
.envoy.config.core.v3.HealthCheck.TlsOptions tls_options = 21;getTlsOptionsOrBuilder in interface HealthCheckOrBuilderpublic boolean hasTransportSocketMatchCriteria()
Optional key/value pairs that will be used to match a transport socket from those specified in the cluster's
:ref:`tranport socket matches <envoy_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
For example, the following match criteria
.. code-block:: yaml
transport_socket_match_criteria:
useMTLS: true
Will match the following :ref:`cluster socket match <envoy_api_msg_config.cluster.v3.Cluster.TransportSocketMatch>`
.. code-block:: yaml
transport_socket_matches:
- name: "useMTLS"
match:
useMTLS: true
transport_socket:
name: envoy.transport_sockets.tls
config: { ... } # tls socket configuration
If this field is set, then for health checks it will supersede an entry of *envoy.transport_socket* in the
:ref:`LbEndpoint.Metadata <envoy_api_field_config.endpoint.v3.LbEndpoint.metadata>`.
This allows using different transport socket capabilities for health checking versus proxying to the
endpoint.
If the key/values pairs specified do not match any
:ref:`transport socket matches <envoy_api_field_config.cluster.v3.Cluster.transport_socket_matches>`,
the cluster's :ref:`transport socket <envoy_api_field_config.cluster.v3.Cluster.transport_socket>`
will be used for health check socket configuration.
.google.protobuf.Struct transport_socket_match_criteria = 23;hasTransportSocketMatchCriteria in interface HealthCheckOrBuilderpublic com.google.protobuf.Struct getTransportSocketMatchCriteria()
Optional key/value pairs that will be used to match a transport socket from those specified in the cluster's
:ref:`tranport socket matches <envoy_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
For example, the following match criteria
.. code-block:: yaml
transport_socket_match_criteria:
useMTLS: true
Will match the following :ref:`cluster socket match <envoy_api_msg_config.cluster.v3.Cluster.TransportSocketMatch>`
.. code-block:: yaml
transport_socket_matches:
- name: "useMTLS"
match:
useMTLS: true
transport_socket:
name: envoy.transport_sockets.tls
config: { ... } # tls socket configuration
If this field is set, then for health checks it will supersede an entry of *envoy.transport_socket* in the
:ref:`LbEndpoint.Metadata <envoy_api_field_config.endpoint.v3.LbEndpoint.metadata>`.
This allows using different transport socket capabilities for health checking versus proxying to the
endpoint.
If the key/values pairs specified do not match any
:ref:`transport socket matches <envoy_api_field_config.cluster.v3.Cluster.transport_socket_matches>`,
the cluster's :ref:`transport socket <envoy_api_field_config.cluster.v3.Cluster.transport_socket>`
will be used for health check socket configuration.
.google.protobuf.Struct transport_socket_match_criteria = 23;getTransportSocketMatchCriteria in interface HealthCheckOrBuilderpublic com.google.protobuf.StructOrBuilder getTransportSocketMatchCriteriaOrBuilder()
Optional key/value pairs that will be used to match a transport socket from those specified in the cluster's
:ref:`tranport socket matches <envoy_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
For example, the following match criteria
.. code-block:: yaml
transport_socket_match_criteria:
useMTLS: true
Will match the following :ref:`cluster socket match <envoy_api_msg_config.cluster.v3.Cluster.TransportSocketMatch>`
.. code-block:: yaml
transport_socket_matches:
- name: "useMTLS"
match:
useMTLS: true
transport_socket:
name: envoy.transport_sockets.tls
config: { ... } # tls socket configuration
If this field is set, then for health checks it will supersede an entry of *envoy.transport_socket* in the
:ref:`LbEndpoint.Metadata <envoy_api_field_config.endpoint.v3.LbEndpoint.metadata>`.
This allows using different transport socket capabilities for health checking versus proxying to the
endpoint.
If the key/values pairs specified do not match any
:ref:`transport socket matches <envoy_api_field_config.cluster.v3.Cluster.transport_socket_matches>`,
the cluster's :ref:`transport socket <envoy_api_field_config.cluster.v3.Cluster.transport_socket>`
will be used for health check socket configuration.
.google.protobuf.Struct transport_socket_match_criteria = 23;getTransportSocketMatchCriteriaOrBuilder in interface HealthCheckOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static HealthCheck parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HealthCheck parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HealthCheck parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HealthCheck parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HealthCheck parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HealthCheck parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HealthCheck parseFrom(InputStream input) throws IOException
IOExceptionpublic static HealthCheck parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HealthCheck parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static HealthCheck parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HealthCheck parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static HealthCheck parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic HealthCheck.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static HealthCheck.Builder newBuilder()
public static HealthCheck.Builder newBuilder(HealthCheck prototype)
public HealthCheck.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected HealthCheck.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static HealthCheck getDefaultInstance()
public static com.google.protobuf.Parser<HealthCheck> parser()
public com.google.protobuf.Parser<HealthCheck> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public HealthCheck getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.