Class HealthCheck
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.config.core.v3.HealthCheck
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,HealthCheckOrBuilder,Serializable
public final class HealthCheck extends com.google.protobuf.GeneratedMessageV3 implements HealthCheckOrBuilder
[#next-free-field: 25]
Protobuf typeenvoy.config.core.v3.HealthCheck- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHealthCheck.Builder[#next-free-field: 25]static classHealthCheck.CustomHealthCheckCustom health check.static interfaceHealthCheck.CustomHealthCheckOrBuilderstatic classHealthCheck.GrpcHealthCheck`grpc.health.v1.Health <https://github.com/grpc/grpc/blob/master/src/proto/grpc/health/v1/health.proto>`_-based healthcheck.static interfaceHealthCheck.GrpcHealthCheckOrBuilderstatic classHealthCheck.HealthCheckerCasestatic classHealthCheck.HttpHealthCheck[#next-free-field: 13]static interfaceHealthCheck.HttpHealthCheckOrBuilderstatic classHealthCheck.PayloadDescribes the encoding of the payload bytes in the payload.static interfaceHealthCheck.PayloadOrBuilderstatic classHealthCheck.RedisHealthCheckProtobuf typeenvoy.config.core.v3.HealthCheck.RedisHealthCheckstatic interfaceHealthCheck.RedisHealthCheckOrBuilderstatic classHealthCheck.TcpHealthCheckProtobuf typeenvoy.config.core.v3.HealthCheck.TcpHealthCheckstatic interfaceHealthCheck.TcpHealthCheckOrBuilderstatic classHealthCheck.TlsOptionsHealth checks occur over the transport socket specified for the cluster.static interfaceHealthCheck.TlsOptionsOrBuilder-
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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)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.static HealthCheckgetDefaultInstance()HealthCheckgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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.DurationgetNoTrafficHealthyInterval()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.DurationOrBuildergetNoTrafficHealthyIntervalOrBuilder()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.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.Parser<HealthCheck>getParserForType()com.google.protobuf.BoolValuegetReuseConnection()Reuse health check connection between health checks.com.google.protobuf.BoolValueOrBuildergetReuseConnectionOrBuilder()Reuse health check connection between health checks.intgetSerializedSize()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.StructgetTransportSocketMatchCriteria()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_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.com.google.protobuf.StructOrBuildergetTransportSocketMatchCriteriaOrBuilder()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_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.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.com.google.protobuf.UnknownFieldSetgetUnknownFields()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.inthashCode()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.booleanhasNoTrafficHealthyInterval()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.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.booleanhasTransportSocketMatchCriteria()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_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static HealthCheck.BuildernewBuilder()static HealthCheck.BuildernewBuilder(HealthCheck prototype)HealthCheck.BuildernewBuilderForType()protected HealthCheck.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static HealthCheckparseDelimitedFrom(InputStream input)static HealthCheckparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HealthCheckparseFrom(byte[] data)static HealthCheckparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HealthCheckparseFrom(com.google.protobuf.ByteString data)static HealthCheckparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HealthCheckparseFrom(com.google.protobuf.CodedInputStream input)static HealthCheckparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HealthCheckparseFrom(InputStream input)static HealthCheckparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HealthCheckparseFrom(ByteBuffer data)static HealthCheckparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<HealthCheck>parser()HealthCheck.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
-
TIMEOUT_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INTERVAL_FIELD_NUMBER
public static final int INTERVAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INITIAL_JITTER_FIELD_NUMBER
public static final int INITIAL_JITTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INTERVAL_JITTER_FIELD_NUMBER
public static final int INTERVAL_JITTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INTERVAL_JITTER_PERCENT_FIELD_NUMBER
public static final int INTERVAL_JITTER_PERCENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UNHEALTHY_THRESHOLD_FIELD_NUMBER
public static final int UNHEALTHY_THRESHOLD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEALTHY_THRESHOLD_FIELD_NUMBER
public static final int HEALTHY_THRESHOLD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALT_PORT_FIELD_NUMBER
public static final int ALT_PORT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REUSE_CONNECTION_FIELD_NUMBER
public static final int REUSE_CONNECTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HTTP_HEALTH_CHECK_FIELD_NUMBER
public static final int HTTP_HEALTH_CHECK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TCP_HEALTH_CHECK_FIELD_NUMBER
public static final int TCP_HEALTH_CHECK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GRPC_HEALTH_CHECK_FIELD_NUMBER
public static final int GRPC_HEALTH_CHECK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CUSTOM_HEALTH_CHECK_FIELD_NUMBER
public static final int CUSTOM_HEALTH_CHECK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NO_TRAFFIC_INTERVAL_FIELD_NUMBER
public static final int NO_TRAFFIC_INTERVAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NO_TRAFFIC_HEALTHY_INTERVAL_FIELD_NUMBER
public static final int NO_TRAFFIC_HEALTHY_INTERVAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UNHEALTHY_INTERVAL_FIELD_NUMBER
public static final int UNHEALTHY_INTERVAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UNHEALTHY_EDGE_INTERVAL_FIELD_NUMBER
public static final int UNHEALTHY_EDGE_INTERVAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEALTHY_EDGE_INTERVAL_FIELD_NUMBER
public static final int HEALTHY_EDGE_INTERVAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVENT_LOG_PATH_FIELD_NUMBER
public static final int EVENT_LOG_PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVENT_SERVICE_FIELD_NUMBER
public static final int EVENT_SERVICE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALWAYS_LOG_HEALTH_CHECK_FAILURES_FIELD_NUMBER
public static final int ALWAYS_LOG_HEALTH_CHECK_FAILURES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TLS_OPTIONS_FIELD_NUMBER
public static final int TLS_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRANSPORT_SOCKET_MATCH_CRITERIA_FIELD_NUMBER
public static final int TRANSPORT_SOCKET_MATCH_CRITERIA_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
-
getHealthCheckerCase
public HealthCheck.HealthCheckerCase getHealthCheckerCase()
- Specified by:
getHealthCheckerCasein interfaceHealthCheckOrBuilder
-
hasTimeout
public 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) = { ... }- Specified by:
hasTimeoutin interfaceHealthCheckOrBuilder- Returns:
- Whether the timeout field is set.
-
getTimeout
public 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) = { ... }- Specified by:
getTimeoutin interfaceHealthCheckOrBuilder- Returns:
- The timeout.
-
getTimeoutOrBuilder
public 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) = { ... }- Specified by:
getTimeoutOrBuilderin interfaceHealthCheckOrBuilder
-
hasInterval
public boolean hasInterval()
The interval between health checks.
.google.protobuf.Duration interval = 2 [(.validate.rules) = { ... }- Specified by:
hasIntervalin interfaceHealthCheckOrBuilder- Returns:
- Whether the interval field is set.
-
getInterval
public com.google.protobuf.Duration getInterval()
The interval between health checks.
.google.protobuf.Duration interval = 2 [(.validate.rules) = { ... }- Specified by:
getIntervalin interfaceHealthCheckOrBuilder- Returns:
- The interval.
-
getIntervalOrBuilder
public com.google.protobuf.DurationOrBuilder getIntervalOrBuilder()
The interval between health checks.
.google.protobuf.Duration interval = 2 [(.validate.rules) = { ... }- Specified by:
getIntervalOrBuilderin interfaceHealthCheckOrBuilder
-
hasInitialJitter
public 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;- Specified by:
hasInitialJitterin interfaceHealthCheckOrBuilder- Returns:
- Whether the initialJitter field is set.
-
getInitialJitter
public 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;- Specified by:
getInitialJitterin interfaceHealthCheckOrBuilder- Returns:
- The initialJitter.
-
getInitialJitterOrBuilder
public 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;- Specified by:
getInitialJitterOrBuilderin interfaceHealthCheckOrBuilder
-
hasIntervalJitter
public 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;- Specified by:
hasIntervalJitterin interfaceHealthCheckOrBuilder- Returns:
- Whether the intervalJitter field is set.
-
getIntervalJitter
public 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;- Specified by:
getIntervalJitterin interfaceHealthCheckOrBuilder- Returns:
- The intervalJitter.
-
getIntervalJitterOrBuilder
public 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;- Specified by:
getIntervalJitterOrBuilderin interfaceHealthCheckOrBuilder
-
getIntervalJitterPercent
public 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;- Specified by:
getIntervalJitterPercentin interfaceHealthCheckOrBuilder- Returns:
- The intervalJitterPercent.
-
hasUnhealthyThreshold
public 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 a code not in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` or :ref:`retriable_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.retriable_statuses>`, this threshold is ignored and the host is considered immediately unhealthy.
.google.protobuf.UInt32Value unhealthy_threshold = 4 [(.validate.rules) = { ... }- Specified by:
hasUnhealthyThresholdin interfaceHealthCheckOrBuilder- Returns:
- Whether the unhealthyThreshold field is set.
-
getUnhealthyThreshold
public 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 a code not in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` or :ref:`retriable_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.retriable_statuses>`, this threshold is ignored and the host is considered immediately unhealthy.
.google.protobuf.UInt32Value unhealthy_threshold = 4 [(.validate.rules) = { ... }- Specified by:
getUnhealthyThresholdin interfaceHealthCheckOrBuilder- Returns:
- The unhealthyThreshold.
-
getUnhealthyThresholdOrBuilder
public 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 a code not in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` or :ref:`retriable_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.retriable_statuses>`, this threshold is ignored and the host is considered immediately unhealthy.
.google.protobuf.UInt32Value unhealthy_threshold = 4 [(.validate.rules) = { ... }- Specified by:
getUnhealthyThresholdOrBuilderin interfaceHealthCheckOrBuilder
-
hasHealthyThreshold
public 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) = { ... }- Specified by:
hasHealthyThresholdin interfaceHealthCheckOrBuilder- Returns:
- Whether the healthyThreshold field is set.
-
getHealthyThreshold
public 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) = { ... }- Specified by:
getHealthyThresholdin interfaceHealthCheckOrBuilder- Returns:
- The healthyThreshold.
-
getHealthyThresholdOrBuilder
public 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) = { ... }- Specified by:
getHealthyThresholdOrBuilderin interfaceHealthCheckOrBuilder
-
hasAltPort
public boolean hasAltPort()
[#not-implemented-hide:] Non-serving port for health checking.
.google.protobuf.UInt32Value alt_port = 6;- Specified by:
hasAltPortin interfaceHealthCheckOrBuilder- Returns:
- Whether the altPort field is set.
-
getAltPort
public com.google.protobuf.UInt32Value getAltPort()
[#not-implemented-hide:] Non-serving port for health checking.
.google.protobuf.UInt32Value alt_port = 6;- Specified by:
getAltPortin interfaceHealthCheckOrBuilder- Returns:
- The altPort.
-
getAltPortOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getAltPortOrBuilder()
[#not-implemented-hide:] Non-serving port for health checking.
.google.protobuf.UInt32Value alt_port = 6;- Specified by:
getAltPortOrBuilderin interfaceHealthCheckOrBuilder
-
hasReuseConnection
public boolean hasReuseConnection()
Reuse health check connection between health checks. Default is true.
.google.protobuf.BoolValue reuse_connection = 7;- Specified by:
hasReuseConnectionin interfaceHealthCheckOrBuilder- Returns:
- Whether the reuseConnection field is set.
-
getReuseConnection
public com.google.protobuf.BoolValue getReuseConnection()
Reuse health check connection between health checks. Default is true.
.google.protobuf.BoolValue reuse_connection = 7;- Specified by:
getReuseConnectionin interfaceHealthCheckOrBuilder- Returns:
- The reuseConnection.
-
getReuseConnectionOrBuilder
public com.google.protobuf.BoolValueOrBuilder getReuseConnectionOrBuilder()
Reuse health check connection between health checks. Default is true.
.google.protobuf.BoolValue reuse_connection = 7;- Specified by:
getReuseConnectionOrBuilderin interfaceHealthCheckOrBuilder
-
hasHttpHealthCheck
public boolean hasHttpHealthCheck()
HTTP health check.
.envoy.config.core.v3.HealthCheck.HttpHealthCheck http_health_check = 8;- Specified by:
hasHttpHealthCheckin interfaceHealthCheckOrBuilder- Returns:
- Whether the httpHealthCheck field is set.
-
getHttpHealthCheck
public HealthCheck.HttpHealthCheck getHttpHealthCheck()
HTTP health check.
.envoy.config.core.v3.HealthCheck.HttpHealthCheck http_health_check = 8;- Specified by:
getHttpHealthCheckin interfaceHealthCheckOrBuilder- Returns:
- The httpHealthCheck.
-
getHttpHealthCheckOrBuilder
public HealthCheck.HttpHealthCheckOrBuilder getHttpHealthCheckOrBuilder()
HTTP health check.
.envoy.config.core.v3.HealthCheck.HttpHealthCheck http_health_check = 8;- Specified by:
getHttpHealthCheckOrBuilderin interfaceHealthCheckOrBuilder
-
hasTcpHealthCheck
public boolean hasTcpHealthCheck()
TCP health check.
.envoy.config.core.v3.HealthCheck.TcpHealthCheck tcp_health_check = 9;- Specified by:
hasTcpHealthCheckin interfaceHealthCheckOrBuilder- Returns:
- Whether the tcpHealthCheck field is set.
-
getTcpHealthCheck
public HealthCheck.TcpHealthCheck getTcpHealthCheck()
TCP health check.
.envoy.config.core.v3.HealthCheck.TcpHealthCheck tcp_health_check = 9;- Specified by:
getTcpHealthCheckin interfaceHealthCheckOrBuilder- Returns:
- The tcpHealthCheck.
-
getTcpHealthCheckOrBuilder
public HealthCheck.TcpHealthCheckOrBuilder getTcpHealthCheckOrBuilder()
TCP health check.
.envoy.config.core.v3.HealthCheck.TcpHealthCheck tcp_health_check = 9;- Specified by:
getTcpHealthCheckOrBuilderin interfaceHealthCheckOrBuilder
-
hasGrpcHealthCheck
public boolean hasGrpcHealthCheck()
gRPC health check.
.envoy.config.core.v3.HealthCheck.GrpcHealthCheck grpc_health_check = 11;- Specified by:
hasGrpcHealthCheckin interfaceHealthCheckOrBuilder- Returns:
- Whether the grpcHealthCheck field is set.
-
getGrpcHealthCheck
public HealthCheck.GrpcHealthCheck getGrpcHealthCheck()
gRPC health check.
.envoy.config.core.v3.HealthCheck.GrpcHealthCheck grpc_health_check = 11;- Specified by:
getGrpcHealthCheckin interfaceHealthCheckOrBuilder- Returns:
- The grpcHealthCheck.
-
getGrpcHealthCheckOrBuilder
public HealthCheck.GrpcHealthCheckOrBuilder getGrpcHealthCheckOrBuilder()
gRPC health check.
.envoy.config.core.v3.HealthCheck.GrpcHealthCheck grpc_health_check = 11;- Specified by:
getGrpcHealthCheckOrBuilderin interfaceHealthCheckOrBuilder
-
hasCustomHealthCheck
public boolean hasCustomHealthCheck()
Custom health check.
.envoy.config.core.v3.HealthCheck.CustomHealthCheck custom_health_check = 13;- Specified by:
hasCustomHealthCheckin interfaceHealthCheckOrBuilder- Returns:
- Whether the customHealthCheck field is set.
-
getCustomHealthCheck
public HealthCheck.CustomHealthCheck getCustomHealthCheck()
Custom health check.
.envoy.config.core.v3.HealthCheck.CustomHealthCheck custom_health_check = 13;- Specified by:
getCustomHealthCheckin interfaceHealthCheckOrBuilder- Returns:
- The customHealthCheck.
-
getCustomHealthCheckOrBuilder
public HealthCheck.CustomHealthCheckOrBuilder getCustomHealthCheckOrBuilder()
Custom health check.
.envoy.config.core.v3.HealthCheck.CustomHealthCheck custom_health_check = 13;- Specified by:
getCustomHealthCheckOrBuilderin interfaceHealthCheckOrBuilder
-
hasNoTrafficInterval
public 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) = { ... }- Specified by:
hasNoTrafficIntervalin interfaceHealthCheckOrBuilder- Returns:
- Whether the noTrafficInterval field is set.
-
getNoTrafficInterval
public 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) = { ... }- Specified by:
getNoTrafficIntervalin interfaceHealthCheckOrBuilder- Returns:
- The noTrafficInterval.
-
getNoTrafficIntervalOrBuilder
public 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) = { ... }- Specified by:
getNoTrafficIntervalOrBuilderin interfaceHealthCheckOrBuilder
-
hasNoTrafficHealthyInterval
public 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) = { ... }- Specified by:
hasNoTrafficHealthyIntervalin interfaceHealthCheckOrBuilder- Returns:
- Whether the noTrafficHealthyInterval field is set.
-
getNoTrafficHealthyInterval
public 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) = { ... }- Specified by:
getNoTrafficHealthyIntervalin interfaceHealthCheckOrBuilder- Returns:
- The noTrafficHealthyInterval.
-
getNoTrafficHealthyIntervalOrBuilder
public 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) = { ... }- Specified by:
getNoTrafficHealthyIntervalOrBuilderin interfaceHealthCheckOrBuilder
-
hasUnhealthyInterval
public 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) = { ... }- Specified by:
hasUnhealthyIntervalin interfaceHealthCheckOrBuilder- Returns:
- Whether the unhealthyInterval field is set.
-
getUnhealthyInterval
public 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) = { ... }- Specified by:
getUnhealthyIntervalin interfaceHealthCheckOrBuilder- Returns:
- The unhealthyInterval.
-
getUnhealthyIntervalOrBuilder
public 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) = { ... }- Specified by:
getUnhealthyIntervalOrBuilderin interfaceHealthCheckOrBuilder
-
hasUnhealthyEdgeInterval
public 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) = { ... }- Specified by:
hasUnhealthyEdgeIntervalin interfaceHealthCheckOrBuilder- Returns:
- Whether the unhealthyEdgeInterval field is set.
-
getUnhealthyEdgeInterval
public 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) = { ... }- Specified by:
getUnhealthyEdgeIntervalin interfaceHealthCheckOrBuilder- Returns:
- The unhealthyEdgeInterval.
-
getUnhealthyEdgeIntervalOrBuilder
public 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) = { ... }- Specified by:
getUnhealthyEdgeIntervalOrBuilderin interfaceHealthCheckOrBuilder
-
hasHealthyEdgeInterval
public 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) = { ... }- Specified by:
hasHealthyEdgeIntervalin interfaceHealthCheckOrBuilder- Returns:
- Whether the healthyEdgeInterval field is set.
-
getHealthyEdgeInterval
public 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) = { ... }- Specified by:
getHealthyEdgeIntervalin interfaceHealthCheckOrBuilder- Returns:
- The healthyEdgeInterval.
-
getHealthyEdgeIntervalOrBuilder
public 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) = { ... }- Specified by:
getHealthyEdgeIntervalOrBuilderin interfaceHealthCheckOrBuilder
-
getEventLogPath
public 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;- Specified by:
getEventLogPathin interfaceHealthCheckOrBuilder- Returns:
- The eventLogPath.
-
getEventLogPathBytes
public 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;- Specified by:
getEventLogPathBytesin interfaceHealthCheckOrBuilder- Returns:
- The bytes for eventLogPath.
-
hasEventService
public 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;- Specified by:
hasEventServicein interfaceHealthCheckOrBuilder- Returns:
- Whether the eventService field is set.
-
getEventService
public 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;- Specified by:
getEventServicein interfaceHealthCheckOrBuilder- Returns:
- The eventService.
-
getEventServiceOrBuilder
public 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;- Specified by:
getEventServiceOrBuilderin interfaceHealthCheckOrBuilder
-
getAlwaysLogHealthCheckFailures
public 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;- Specified by:
getAlwaysLogHealthCheckFailuresin interfaceHealthCheckOrBuilder- Returns:
- The alwaysLogHealthCheckFailures.
-
hasTlsOptions
public boolean hasTlsOptions()
This allows overriding the cluster TLS settings, just for health check connections.
.envoy.config.core.v3.HealthCheck.TlsOptions tls_options = 21;- Specified by:
hasTlsOptionsin interfaceHealthCheckOrBuilder- Returns:
- Whether the tlsOptions field is set.
-
getTlsOptions
public HealthCheck.TlsOptions getTlsOptions()
This allows overriding the cluster TLS settings, just for health check connections.
.envoy.config.core.v3.HealthCheck.TlsOptions tls_options = 21;- Specified by:
getTlsOptionsin interfaceHealthCheckOrBuilder- Returns:
- The tlsOptions.
-
getTlsOptionsOrBuilder
public HealthCheck.TlsOptionsOrBuilder getTlsOptionsOrBuilder()
This allows overriding the cluster TLS settings, just for health check connections.
.envoy.config.core.v3.HealthCheck.TlsOptions tls_options = 21;- Specified by:
getTlsOptionsOrBuilderin interfaceHealthCheckOrBuilder
-
hasTransportSocketMatchCriteria
public 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_v3_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_v3_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_v3_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_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`, the cluster's :ref:`transport socket <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket>` will be used for health check socket configuration..google.protobuf.Struct transport_socket_match_criteria = 23;- Specified by:
hasTransportSocketMatchCriteriain interfaceHealthCheckOrBuilder- Returns:
- Whether the transportSocketMatchCriteria field is set.
-
getTransportSocketMatchCriteria
public 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_v3_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_v3_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_v3_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_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`, the cluster's :ref:`transport socket <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket>` will be used for health check socket configuration..google.protobuf.Struct transport_socket_match_criteria = 23;- Specified by:
getTransportSocketMatchCriteriain interfaceHealthCheckOrBuilder- Returns:
- The transportSocketMatchCriteria.
-
getTransportSocketMatchCriteriaOrBuilder
public 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_v3_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_v3_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_v3_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_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`, the cluster's :ref:`transport socket <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket>` will be used for health check socket configuration..google.protobuf.Struct transport_socket_match_criteria = 23;- Specified by:
getTransportSocketMatchCriteriaOrBuilderin interfaceHealthCheckOrBuilder
-
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 HealthCheck parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HealthCheck parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HealthCheck parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HealthCheck parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HealthCheck parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HealthCheck parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HealthCheck parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static HealthCheck parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static HealthCheck parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static HealthCheck parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static HealthCheck parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static HealthCheck parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public HealthCheck.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static HealthCheck.Builder newBuilder()
-
newBuilder
public static HealthCheck.Builder newBuilder(HealthCheck prototype)
-
toBuilder
public HealthCheck.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected HealthCheck.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static HealthCheck getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<HealthCheck> parser()
-
getParserForType
public com.google.protobuf.Parser<HealthCheck> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public HealthCheck getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-