Package io.envoyproxy.envoy.api.v2.core
Interface HealthCheckOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HealthCheck,HealthCheck.Builder
public interface HealthCheckOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.UInt32ValuegetAltPort()[#not-implemented-hide:] Non-serving port for health checking.com.google.protobuf.UInt32ValueOrBuildergetAltPortOrBuilder()[#not-implemented-hide:] Non-serving port for health checking.booleangetAlwaysLogHealthCheckFailures()If set to true, health check failure events will always be logged.HealthCheck.CustomHealthCheckgetCustomHealthCheck()Custom health check.HealthCheck.CustomHealthCheckOrBuildergetCustomHealthCheckOrBuilder()Custom health check.StringgetEventLogPath()Specifies the path to the :ref:`health check event log <arch_overview_health_check_logging>`.com.google.protobuf.ByteStringgetEventLogPathBytes()Specifies the path to the :ref:`health check event log <arch_overview_health_check_logging>`.EventServiceConfiggetEventService()[#not-implemented-hide:] The gRPC service for the health check event service.EventServiceConfigOrBuildergetEventServiceOrBuilder()[#not-implemented-hide:] The gRPC service for the health check event service.HealthCheck.GrpcHealthCheckgetGrpcHealthCheck()gRPC health check.HealthCheck.GrpcHealthCheckOrBuildergetGrpcHealthCheckOrBuilder()gRPC health check.HealthCheck.HealthCheckerCasegetHealthCheckerCase()com.google.protobuf.DurationgetHealthyEdgeInterval()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.DurationOrBuildergetHealthyEdgeIntervalOrBuilder()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.UInt32ValuegetHealthyThreshold()The number of healthy health checks required before a host is marked healthy.com.google.protobuf.UInt32ValueOrBuildergetHealthyThresholdOrBuilder()The number of healthy health checks required before a host is marked healthy.HealthCheck.HttpHealthCheckgetHttpHealthCheck()HTTP health check.HealthCheck.HttpHealthCheckOrBuildergetHttpHealthCheckOrBuilder()HTTP health check.com.google.protobuf.DurationgetInitialJitter()An optional jitter amount in milliseconds.com.google.protobuf.DurationOrBuildergetInitialJitterOrBuilder()An optional jitter amount in milliseconds.com.google.protobuf.DurationgetInterval()The interval between health checks.com.google.protobuf.DurationgetIntervalJitter()An optional jitter amount in milliseconds.com.google.protobuf.DurationOrBuildergetIntervalJitterOrBuilder()An optional jitter amount in milliseconds.intgetIntervalJitterPercent()An optional jitter amount as a percentage of interval_ms.com.google.protobuf.DurationOrBuildergetIntervalOrBuilder()The interval between health checks.com.google.protobuf.DurationgetNoTrafficInterval()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.DurationOrBuildergetNoTrafficIntervalOrBuilder()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.BoolValuegetReuseConnection()Reuse health check connection between health checks.com.google.protobuf.BoolValueOrBuildergetReuseConnectionOrBuilder()Reuse health check connection between health checks.HealthCheck.TcpHealthCheckgetTcpHealthCheck()TCP health check.HealthCheck.TcpHealthCheckOrBuildergetTcpHealthCheckOrBuilder()TCP health check.com.google.protobuf.DurationgetTimeout()The time to wait for a health check response.com.google.protobuf.DurationOrBuildergetTimeoutOrBuilder()The time to wait for a health check response.HealthCheck.TlsOptionsgetTlsOptions()This allows overriding the cluster TLS settings, just for health check connections.HealthCheck.TlsOptionsOrBuildergetTlsOptionsOrBuilder()This allows overriding the cluster TLS settings, just for health check connections.com.google.protobuf.DurationgetUnhealthyEdgeInterval()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.DurationOrBuildergetUnhealthyEdgeIntervalOrBuilder()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.DurationgetUnhealthyInterval()The "unhealthy interval" is a health check interval that is used for hosts that are marked as unhealthy.com.google.protobuf.DurationOrBuildergetUnhealthyIntervalOrBuilder()The "unhealthy interval" is a health check interval that is used for hosts that are marked as unhealthy.com.google.protobuf.UInt32ValuegetUnhealthyThreshold()The number of unhealthy health checks required before a host is marked unhealthy.com.google.protobuf.UInt32ValueOrBuildergetUnhealthyThresholdOrBuilder()The number of unhealthy health checks required before a host is marked unhealthy.booleanhasAltPort()[#not-implemented-hide:] Non-serving port for health checking.booleanhasCustomHealthCheck()Custom health check.booleanhasEventService()[#not-implemented-hide:] The gRPC service for the health check event service.booleanhasGrpcHealthCheck()gRPC health check.booleanhasHealthyEdgeInterval()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.booleanhasHealthyThreshold()The number of healthy health checks required before a host is marked healthy.booleanhasHttpHealthCheck()HTTP health check.booleanhasInitialJitter()An optional jitter amount in milliseconds.booleanhasInterval()The interval between health checks.booleanhasIntervalJitter()An optional jitter amount in milliseconds.booleanhasNoTrafficInterval()The "no traffic interval" is a special health check interval that is used when a cluster has never had traffic routed to it.booleanhasReuseConnection()Reuse health check connection between health checks.booleanhasTcpHealthCheck()TCP health check.booleanhasTimeout()The time to wait for a health check response.booleanhasTlsOptions()This allows overriding the cluster TLS settings, just for health check connections.booleanhasUnhealthyEdgeInterval()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.booleanhasUnhealthyInterval()The "unhealthy interval" is a health check interval that is used for hosts that are marked as unhealthy.booleanhasUnhealthyThreshold()The number of unhealthy health checks required before a host is marked unhealthy.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasTimeout
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) = { ... }
-
getTimeout
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) = { ... }
-
getTimeoutOrBuilder
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) = { ... }
-
hasInterval
boolean hasInterval()
The interval between health checks.
.google.protobuf.Duration interval = 2 [(.validate.rules) = { ... }
-
getInterval
com.google.protobuf.Duration getInterval()
The interval between health checks.
.google.protobuf.Duration interval = 2 [(.validate.rules) = { ... }
-
getIntervalOrBuilder
com.google.protobuf.DurationOrBuilder getIntervalOrBuilder()
The interval between health checks.
.google.protobuf.Duration interval = 2 [(.validate.rules) = { ... }
-
hasInitialJitter
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;
-
getInitialJitter
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;
-
getInitialJitterOrBuilder
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;
-
hasIntervalJitter
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;
-
getIntervalJitter
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;
-
getIntervalJitterOrBuilder
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;
-
getIntervalJitterPercent
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;
-
hasUnhealthyThreshold
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) = { ... }
-
getUnhealthyThreshold
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) = { ... }
-
getUnhealthyThresholdOrBuilder
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) = { ... }
-
hasHealthyThreshold
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) = { ... }
-
getHealthyThreshold
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) = { ... }
-
getHealthyThresholdOrBuilder
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) = { ... }
-
hasAltPort
boolean hasAltPort()
[#not-implemented-hide:] Non-serving port for health checking.
.google.protobuf.UInt32Value alt_port = 6;
-
getAltPort
com.google.protobuf.UInt32Value getAltPort()
[#not-implemented-hide:] Non-serving port for health checking.
.google.protobuf.UInt32Value alt_port = 6;
-
getAltPortOrBuilder
com.google.protobuf.UInt32ValueOrBuilder getAltPortOrBuilder()
[#not-implemented-hide:] Non-serving port for health checking.
.google.protobuf.UInt32Value alt_port = 6;
-
hasReuseConnection
boolean hasReuseConnection()
Reuse health check connection between health checks. Default is true.
.google.protobuf.BoolValue reuse_connection = 7;
-
getReuseConnection
com.google.protobuf.BoolValue getReuseConnection()
Reuse health check connection between health checks. Default is true.
.google.protobuf.BoolValue reuse_connection = 7;
-
getReuseConnectionOrBuilder
com.google.protobuf.BoolValueOrBuilder getReuseConnectionOrBuilder()
Reuse health check connection between health checks. Default is true.
.google.protobuf.BoolValue reuse_connection = 7;
-
hasHttpHealthCheck
boolean hasHttpHealthCheck()
HTTP health check.
.envoy.api.v2.core.HealthCheck.HttpHealthCheck http_health_check = 8;
-
getHttpHealthCheck
HealthCheck.HttpHealthCheck getHttpHealthCheck()
HTTP health check.
.envoy.api.v2.core.HealthCheck.HttpHealthCheck http_health_check = 8;
-
getHttpHealthCheckOrBuilder
HealthCheck.HttpHealthCheckOrBuilder getHttpHealthCheckOrBuilder()
HTTP health check.
.envoy.api.v2.core.HealthCheck.HttpHealthCheck http_health_check = 8;
-
hasTcpHealthCheck
boolean hasTcpHealthCheck()
TCP health check.
.envoy.api.v2.core.HealthCheck.TcpHealthCheck tcp_health_check = 9;
-
getTcpHealthCheck
HealthCheck.TcpHealthCheck getTcpHealthCheck()
TCP health check.
.envoy.api.v2.core.HealthCheck.TcpHealthCheck tcp_health_check = 9;
-
getTcpHealthCheckOrBuilder
HealthCheck.TcpHealthCheckOrBuilder getTcpHealthCheckOrBuilder()
TCP health check.
.envoy.api.v2.core.HealthCheck.TcpHealthCheck tcp_health_check = 9;
-
hasGrpcHealthCheck
boolean hasGrpcHealthCheck()
gRPC health check.
.envoy.api.v2.core.HealthCheck.GrpcHealthCheck grpc_health_check = 11;
-
getGrpcHealthCheck
HealthCheck.GrpcHealthCheck getGrpcHealthCheck()
gRPC health check.
.envoy.api.v2.core.HealthCheck.GrpcHealthCheck grpc_health_check = 11;
-
getGrpcHealthCheckOrBuilder
HealthCheck.GrpcHealthCheckOrBuilder getGrpcHealthCheckOrBuilder()
gRPC health check.
.envoy.api.v2.core.HealthCheck.GrpcHealthCheck grpc_health_check = 11;
-
hasCustomHealthCheck
boolean hasCustomHealthCheck()
Custom health check.
.envoy.api.v2.core.HealthCheck.CustomHealthCheck custom_health_check = 13;
-
getCustomHealthCheck
HealthCheck.CustomHealthCheck getCustomHealthCheck()
Custom health check.
.envoy.api.v2.core.HealthCheck.CustomHealthCheck custom_health_check = 13;
-
getCustomHealthCheckOrBuilder
HealthCheck.CustomHealthCheckOrBuilder getCustomHealthCheckOrBuilder()
Custom health check.
.envoy.api.v2.core.HealthCheck.CustomHealthCheck custom_health_check = 13;
-
hasNoTrafficInterval
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) = { ... }
-
getNoTrafficInterval
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) = { ... }
-
getNoTrafficIntervalOrBuilder
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) = { ... }
-
hasUnhealthyInterval
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) = { ... }
-
getUnhealthyInterval
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) = { ... }
-
getUnhealthyIntervalOrBuilder
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) = { ... }
-
hasUnhealthyEdgeInterval
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) = { ... }
-
getUnhealthyEdgeInterval
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) = { ... }
-
getUnhealthyEdgeIntervalOrBuilder
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) = { ... }
-
hasHealthyEdgeInterval
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) = { ... }
-
getHealthyEdgeInterval
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) = { ... }
-
getHealthyEdgeIntervalOrBuilder
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) = { ... }
-
getEventLogPath
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;
-
getEventLogPathBytes
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;
-
hasEventService
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.api.v2.core.EventServiceConfig event_service = 22;
-
getEventService
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.api.v2.core.EventServiceConfig event_service = 22;
-
getEventServiceOrBuilder
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.api.v2.core.EventServiceConfig event_service = 22;
-
getAlwaysLogHealthCheckFailures
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;
-
hasTlsOptions
boolean hasTlsOptions()
This allows overriding the cluster TLS settings, just for health check connections.
.envoy.api.v2.core.HealthCheck.TlsOptions tls_options = 21;
-
getTlsOptions
HealthCheck.TlsOptions getTlsOptions()
This allows overriding the cluster TLS settings, just for health check connections.
.envoy.api.v2.core.HealthCheck.TlsOptions tls_options = 21;
-
getTlsOptionsOrBuilder
HealthCheck.TlsOptionsOrBuilder getTlsOptionsOrBuilder()
This allows overriding the cluster TLS settings, just for health check connections.
.envoy.api.v2.core.HealthCheck.TlsOptions tls_options = 21;
-
getHealthCheckerCase
HealthCheck.HealthCheckerCase getHealthCheckerCase()
-
-