Class HealthCheck.HttpHealthCheck.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<HealthCheck.HttpHealthCheck.Builder>
com.google.protobuf.GeneratedMessage.Builder<HealthCheck.HttpHealthCheck.Builder>
io.envoyproxy.envoy.config.core.v3.HealthCheck.HttpHealthCheck.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,HealthCheck.HttpHealthCheckOrBuilder
,Cloneable
- Enclosing class:
HealthCheck.HttpHealthCheck
public static final class HealthCheck.HttpHealthCheck.Builder
extends com.google.protobuf.GeneratedMessage.Builder<HealthCheck.HttpHealthCheck.Builder>
implements HealthCheck.HttpHealthCheckOrBuilder
[#next-free-field: 15]Protobuf type
envoy.config.core.v3.HealthCheck.HttpHealthCheck
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private int
private List
<Int64Range> private com.google.protobuf.RepeatedFieldBuilder
<Int64Range, Int64Range.Builder, Int64RangeOrBuilder> private Object
private int
private Object
private List
<HealthCheck.Payload> private com.google.protobuf.RepeatedFieldBuilder
<HealthCheck.Payload, HealthCheck.Payload.Builder, HealthCheck.PayloadOrBuilder> private List
<HeaderValueOption> private com.google.protobuf.RepeatedFieldBuilder
<HeaderValueOption, HeaderValueOption.Builder, HeaderValueOptionOrBuilder> private com.google.protobuf.LazyStringArrayList
private com.google.protobuf.UInt64Value
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> private List
<Int64Range> private com.google.protobuf.RepeatedFieldBuilder
<Int64Range, Int64Range.Builder, Int64RangeOrBuilder> private HealthCheck.Payload
private com.google.protobuf.SingleFieldBuilder
<HealthCheck.Payload, HealthCheck.Payload.Builder, HealthCheck.PayloadOrBuilder> private StringMatcher
private com.google.protobuf.SingleFieldBuilder
<StringMatcher, StringMatcher.Builder, StringMatcherOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllExpectedStatuses
(Iterable<? extends Int64Range> values) Specifies a list of HTTP response statuses considered healthy.addAllReceive
(Iterable<? extends HealthCheck.Payload> values) Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.addAllRequestHeadersToAdd
(Iterable<? extends HeaderValueOption> values) Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.addAllRequestHeadersToRemove
(Iterable<String> values) Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.addAllRetriableStatuses
(Iterable<? extends Int64Range> values) Specifies a list of HTTP response statuses considered retriable.addExpectedStatuses
(int index, Int64Range value) Specifies a list of HTTP response statuses considered healthy.addExpectedStatuses
(int index, Int64Range.Builder builderForValue) Specifies a list of HTTP response statuses considered healthy.addExpectedStatuses
(Int64Range value) Specifies a list of HTTP response statuses considered healthy.addExpectedStatuses
(Int64Range.Builder builderForValue) Specifies a list of HTTP response statuses considered healthy.Specifies a list of HTTP response statuses considered healthy.addExpectedStatusesBuilder
(int index) Specifies a list of HTTP response statuses considered healthy.addReceive
(int index, HealthCheck.Payload value) Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.addReceive
(int index, HealthCheck.Payload.Builder builderForValue) Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.addReceive
(HealthCheck.Payload value) Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.addReceive
(HealthCheck.Payload.Builder builderForValue) Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.addReceiveBuilder
(int index) Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.addRequestHeadersToAdd
(int index, HeaderValueOption value) Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.addRequestHeadersToAdd
(int index, HeaderValueOption.Builder builderForValue) Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.addRequestHeadersToAdd
(HeaderValueOption.Builder builderForValue) Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.addRequestHeadersToAddBuilder
(int index) Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.addRequestHeadersToRemove
(String value) Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.addRequestHeadersToRemoveBytes
(com.google.protobuf.ByteString value) Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.addRetriableStatuses
(int index, Int64Range value) Specifies a list of HTTP response statuses considered retriable.addRetriableStatuses
(int index, Int64Range.Builder builderForValue) Specifies a list of HTTP response statuses considered retriable.addRetriableStatuses
(Int64Range value) Specifies a list of HTTP response statuses considered retriable.addRetriableStatuses
(Int64Range.Builder builderForValue) Specifies a list of HTTP response statuses considered retriable.Specifies a list of HTTP response statuses considered retriable.addRetriableStatusesBuilder
(int index) Specifies a list of HTTP response statuses considered retriable.build()
private void
private void
clear()
Use specified application protocol for health checks.Specifies a list of HTTP response statuses considered healthy.The value of the host header in the HTTP health check request.HTTP Method that will be used for health checking, default is "GET".Specifies the HTTP path that will be requested during health checking.Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.Specifies the size of response buffer in bytes that is used to Payload match.Specifies a list of HTTP response statuses considered retriable.[#not-implemented-hide:] HTTP specific payload.An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_v3_api_msg_type.matcher.v3.StringMatcher>`.private void
private void
private void
private void
private void
Use specified application protocol for health checks.int
Use specified application protocol for health checks.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getExpectedStatuses
(int index) Specifies a list of HTTP response statuses considered healthy.getExpectedStatusesBuilder
(int index) Specifies a list of HTTP response statuses considered healthy.Specifies a list of HTTP response statuses considered healthy.int
Specifies a list of HTTP response statuses considered healthy.Specifies a list of HTTP response statuses considered healthy.getExpectedStatusesOrBuilder
(int index) Specifies a list of HTTP response statuses considered healthy.List
<? extends Int64RangeOrBuilder> Specifies a list of HTTP response statuses considered healthy.getHost()
The value of the host header in the HTTP health check request.com.google.protobuf.ByteString
The value of the host header in the HTTP health check request.HTTP Method that will be used for health checking, default is "GET".int
HTTP Method that will be used for health checking, default is "GET".getPath()
Specifies the HTTP path that will be requested during health checking.com.google.protobuf.ByteString
Specifies the HTTP path that will be requested during health checking.getReceive
(int index) Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.getReceiveBuilder
(int index) Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.int
Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.getReceiveOrBuilder
(int index) Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.List
<? extends HealthCheck.PayloadOrBuilder> Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.getRequestHeadersToAdd
(int index) Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.getRequestHeadersToAddBuilder
(int index) Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.int
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.getRequestHeadersToAddOrBuilder
(int index) Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.List
<? extends HeaderValueOptionOrBuilder> Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.getRequestHeadersToRemove
(int index) Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.com.google.protobuf.ByteString
getRequestHeadersToRemoveBytes
(int index) Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.int
Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.com.google.protobuf.ProtocolStringList
Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.com.google.protobuf.UInt64Value
Specifies the size of response buffer in bytes that is used to Payload match.com.google.protobuf.UInt64Value.Builder
Specifies the size of response buffer in bytes that is used to Payload match.com.google.protobuf.UInt64ValueOrBuilder
Specifies the size of response buffer in bytes that is used to Payload match.getRetriableStatuses
(int index) Specifies a list of HTTP response statuses considered retriable.getRetriableStatusesBuilder
(int index) Specifies a list of HTTP response statuses considered retriable.Specifies a list of HTTP response statuses considered retriable.int
Specifies a list of HTTP response statuses considered retriable.Specifies a list of HTTP response statuses considered retriable.getRetriableStatusesOrBuilder
(int index) Specifies a list of HTTP response statuses considered retriable.List
<? extends Int64RangeOrBuilder> Specifies a list of HTTP response statuses considered retriable.getSend()
[#not-implemented-hide:] HTTP specific payload.[#not-implemented-hide:] HTTP specific payload.[#not-implemented-hide:] HTTP specific payload.An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_v3_api_msg_type.matcher.v3.StringMatcher>`.An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_v3_api_msg_type.matcher.v3.StringMatcher>`.An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_v3_api_msg_type.matcher.v3.StringMatcher>`.boolean
Specifies the size of response buffer in bytes that is used to Payload match.boolean
hasSend()
[#not-implemented-hide:] HTTP specific payload.boolean
An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_v3_api_msg_type.matcher.v3.StringMatcher>`.private com.google.protobuf.RepeatedFieldBuilder
<Int64Range, Int64Range.Builder, Int64RangeOrBuilder> protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
private com.google.protobuf.RepeatedFieldBuilder
<HealthCheck.Payload, HealthCheck.Payload.Builder, HealthCheck.PayloadOrBuilder> private com.google.protobuf.RepeatedFieldBuilder
<HeaderValueOption, HeaderValueOption.Builder, HeaderValueOptionOrBuilder> private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> Specifies the size of response buffer in bytes that is used to Payload match.private com.google.protobuf.RepeatedFieldBuilder
<Int64Range, Int64Range.Builder, Int64RangeOrBuilder> private com.google.protobuf.SingleFieldBuilder
<HealthCheck.Payload, HealthCheck.Payload.Builder, HealthCheck.PayloadOrBuilder> [#not-implemented-hide:] HTTP specific payload.private com.google.protobuf.SingleFieldBuilder
<StringMatcher, StringMatcher.Builder, StringMatcherOrBuilder> An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_v3_api_msg_type.matcher.v3.StringMatcher>`.final boolean
private void
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeResponseBufferSize
(com.google.protobuf.UInt64Value value) Specifies the size of response buffer in bytes that is used to Payload match.mergeSend
(HealthCheck.Payload value) [#not-implemented-hide:] HTTP specific payload.An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_v3_api_msg_type.matcher.v3.StringMatcher>`.removeExpectedStatuses
(int index) Specifies a list of HTTP response statuses considered healthy.removeReceive
(int index) Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.removeRequestHeadersToAdd
(int index) Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.removeRetriableStatuses
(int index) Specifies a list of HTTP response statuses considered retriable.Use specified application protocol for health checks.setCodecClientTypeValue
(int value) Use specified application protocol for health checks.setExpectedStatuses
(int index, Int64Range value) Specifies a list of HTTP response statuses considered healthy.setExpectedStatuses
(int index, Int64Range.Builder builderForValue) Specifies a list of HTTP response statuses considered healthy.The value of the host header in the HTTP health check request.setHostBytes
(com.google.protobuf.ByteString value) The value of the host header in the HTTP health check request.setMethod
(RequestMethod value) HTTP Method that will be used for health checking, default is "GET".setMethodValue
(int value) HTTP Method that will be used for health checking, default is "GET".Specifies the HTTP path that will be requested during health checking.setPathBytes
(com.google.protobuf.ByteString value) Specifies the HTTP path that will be requested during health checking.setReceive
(int index, HealthCheck.Payload value) Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.setReceive
(int index, HealthCheck.Payload.Builder builderForValue) Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.setRequestHeadersToAdd
(int index, HeaderValueOption value) Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.setRequestHeadersToAdd
(int index, HeaderValueOption.Builder builderForValue) Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.setRequestHeadersToRemove
(int index, String value) Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.setResponseBufferSize
(com.google.protobuf.UInt64Value value) Specifies the size of response buffer in bytes that is used to Payload match.setResponseBufferSize
(com.google.protobuf.UInt64Value.Builder builderForValue) Specifies the size of response buffer in bytes that is used to Payload match.setRetriableStatuses
(int index, Int64Range value) Specifies a list of HTTP response statuses considered retriable.setRetriableStatuses
(int index, Int64Range.Builder builderForValue) Specifies a list of HTTP response statuses considered retriable.setSend
(HealthCheck.Payload value) [#not-implemented-hide:] HTTP specific payload.setSend
(HealthCheck.Payload.Builder builderForValue) [#not-implemented-hide:] HTTP specific payload.An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_v3_api_msg_type.matcher.v3.StringMatcher>`.setServiceNameMatcher
(StringMatcher.Builder builderForValue) An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_v3_api_msg_type.matcher.v3.StringMatcher>`.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
host_
-
path_
-
send_
-
sendBuilder_
private com.google.protobuf.SingleFieldBuilder<HealthCheck.Payload,HealthCheck.Payload.Builder, sendBuilder_HealthCheck.PayloadOrBuilder> -
receive_
-
receiveBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HealthCheck.Payload,HealthCheck.Payload.Builder, receiveBuilder_HealthCheck.PayloadOrBuilder> -
responseBufferSize_
private com.google.protobuf.UInt64Value responseBufferSize_ -
responseBufferSizeBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt64Value,com.google.protobuf.UInt64Value.Builder, responseBufferSizeBuilder_com.google.protobuf.UInt64ValueOrBuilder> -
requestHeadersToAdd_
-
requestHeadersToAddBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder, requestHeadersToAddBuilder_HeaderValueOptionOrBuilder> -
requestHeadersToRemove_
private com.google.protobuf.LazyStringArrayList requestHeadersToRemove_ -
expectedStatuses_
-
expectedStatusesBuilder_
private com.google.protobuf.RepeatedFieldBuilder<Int64Range,Int64Range.Builder, expectedStatusesBuilder_Int64RangeOrBuilder> -
retriableStatuses_
-
retriableStatusesBuilder_
private com.google.protobuf.RepeatedFieldBuilder<Int64Range,Int64Range.Builder, retriableStatusesBuilder_Int64RangeOrBuilder> -
codecClientType_
private int codecClientType_ -
serviceNameMatcher_
-
serviceNameMatcherBuilder_
private com.google.protobuf.SingleFieldBuilder<StringMatcher,StringMatcher.Builder, serviceNameMatcherBuilder_StringMatcherOrBuilder> -
method_
private int method_
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<HealthCheck.HttpHealthCheck.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<HealthCheck.HttpHealthCheck.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<HealthCheck.HttpHealthCheck.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HealthCheck.HttpHealthCheck.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<HealthCheck.HttpHealthCheck.Builder>
-
mergeFrom
public HealthCheck.HttpHealthCheck.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HealthCheck.HttpHealthCheck.Builder>
- Throws:
IOException
-
getHost
The value of the host header in the HTTP health check request. If left empty (default value), the name of the cluster this health check is associated with will be used. The host header can be customized for a specific endpoint by setting the :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.HealthCheckConfig.hostname>` field.
string host = 1 [(.validate.rules) = { ... }
- Specified by:
getHost
in interfaceHealthCheck.HttpHealthCheckOrBuilder
- Returns:
- The host.
-
getHostBytes
public com.google.protobuf.ByteString getHostBytes()The value of the host header in the HTTP health check request. If left empty (default value), the name of the cluster this health check is associated with will be used. The host header can be customized for a specific endpoint by setting the :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.HealthCheckConfig.hostname>` field.
string host = 1 [(.validate.rules) = { ... }
- Specified by:
getHostBytes
in interfaceHealthCheck.HttpHealthCheckOrBuilder
- Returns:
- The bytes for host.
-
setHost
The value of the host header in the HTTP health check request. If left empty (default value), the name of the cluster this health check is associated with will be used. The host header can be customized for a specific endpoint by setting the :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.HealthCheckConfig.hostname>` field.
string host = 1 [(.validate.rules) = { ... }
- Parameters:
value
- The host to set.- Returns:
- This builder for chaining.
-
clearHost
The value of the host header in the HTTP health check request. If left empty (default value), the name of the cluster this health check is associated with will be used. The host header can be customized for a specific endpoint by setting the :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.HealthCheckConfig.hostname>` field.
string host = 1 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
setHostBytes
The value of the host header in the HTTP health check request. If left empty (default value), the name of the cluster this health check is associated with will be used. The host header can be customized for a specific endpoint by setting the :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.HealthCheckConfig.hostname>` field.
string host = 1 [(.validate.rules) = { ... }
- Parameters:
value
- The bytes for host to set.- Returns:
- This builder for chaining.
-
getPath
Specifies the HTTP path that will be requested during health checking. For example ``/healthcheck``.
string path = 2 [(.validate.rules) = { ... }
- Specified by:
getPath
in interfaceHealthCheck.HttpHealthCheckOrBuilder
- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()Specifies the HTTP path that will be requested during health checking. For example ``/healthcheck``.
string path = 2 [(.validate.rules) = { ... }
- Specified by:
getPathBytes
in interfaceHealthCheck.HttpHealthCheckOrBuilder
- Returns:
- The bytes for path.
-
setPath
Specifies the HTTP path that will be requested during health checking. For example ``/healthcheck``.
string path = 2 [(.validate.rules) = { ... }
- Parameters:
value
- The path to set.- Returns:
- This builder for chaining.
-
clearPath
Specifies the HTTP path that will be requested during health checking. For example ``/healthcheck``.
string path = 2 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
setPathBytes
Specifies the HTTP path that will be requested during health checking. For example ``/healthcheck``.
string path = 2 [(.validate.rules) = { ... }
- Parameters:
value
- The bytes for path to set.- Returns:
- This builder for chaining.
-
hasSend
public boolean hasSend()[#not-implemented-hide:] HTTP specific payload.
.envoy.config.core.v3.HealthCheck.Payload send = 3;
- Specified by:
hasSend
in interfaceHealthCheck.HttpHealthCheckOrBuilder
- Returns:
- Whether the send field is set.
-
getSend
[#not-implemented-hide:] HTTP specific payload.
.envoy.config.core.v3.HealthCheck.Payload send = 3;
- Specified by:
getSend
in interfaceHealthCheck.HttpHealthCheckOrBuilder
- Returns:
- The send.
-
setSend
[#not-implemented-hide:] HTTP specific payload.
.envoy.config.core.v3.HealthCheck.Payload send = 3;
-
setSend
[#not-implemented-hide:] HTTP specific payload.
.envoy.config.core.v3.HealthCheck.Payload send = 3;
-
mergeSend
[#not-implemented-hide:] HTTP specific payload.
.envoy.config.core.v3.HealthCheck.Payload send = 3;
-
clearSend
[#not-implemented-hide:] HTTP specific payload.
.envoy.config.core.v3.HealthCheck.Payload send = 3;
-
getSendBuilder
[#not-implemented-hide:] HTTP specific payload.
.envoy.config.core.v3.HealthCheck.Payload send = 3;
-
getSendOrBuilder
[#not-implemented-hide:] HTTP specific payload.
.envoy.config.core.v3.HealthCheck.Payload send = 3;
- Specified by:
getSendOrBuilder
in interfaceHealthCheck.HttpHealthCheckOrBuilder
-
internalGetSendFieldBuilder
private com.google.protobuf.SingleFieldBuilder<HealthCheck.Payload,HealthCheck.Payload.Builder, internalGetSendFieldBuilder()HealthCheck.PayloadOrBuilder> [#not-implemented-hide:] HTTP specific payload.
.envoy.config.core.v3.HealthCheck.Payload send = 3;
-
ensureReceiveIsMutable
private void ensureReceiveIsMutable() -
getReceiveList
Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body. If it is set, both the expected response check and status code determine the health check. When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous. .. note:: It is recommended to set ``response_buffer_size`` based on the total Payload size for efficiency. The default buffer size is 1024 bytes when it is not set.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 4;
- Specified by:
getReceiveList
in interfaceHealthCheck.HttpHealthCheckOrBuilder
-
getReceiveCount
public int getReceiveCount()Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body. If it is set, both the expected response check and status code determine the health check. When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous. .. note:: It is recommended to set ``response_buffer_size`` based on the total Payload size for efficiency. The default buffer size is 1024 bytes when it is not set.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 4;
- Specified by:
getReceiveCount
in interfaceHealthCheck.HttpHealthCheckOrBuilder
-
getReceive
Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body. If it is set, both the expected response check and status code determine the health check. When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous. .. note:: It is recommended to set ``response_buffer_size`` based on the total Payload size for efficiency. The default buffer size is 1024 bytes when it is not set.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 4;
- Specified by:
getReceive
in interfaceHealthCheck.HttpHealthCheckOrBuilder
-
setReceive
Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body. If it is set, both the expected response check and status code determine the health check. When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous. .. note:: It is recommended to set ``response_buffer_size`` based on the total Payload size for efficiency. The default buffer size is 1024 bytes when it is not set.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 4;
-
setReceive
public HealthCheck.HttpHealthCheck.Builder setReceive(int index, HealthCheck.Payload.Builder builderForValue) Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body. If it is set, both the expected response check and status code determine the health check. When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous. .. note:: It is recommended to set ``response_buffer_size`` based on the total Payload size for efficiency. The default buffer size is 1024 bytes when it is not set.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 4;
-
addReceive
Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body. If it is set, both the expected response check and status code determine the health check. When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous. .. note:: It is recommended to set ``response_buffer_size`` based on the total Payload size for efficiency. The default buffer size is 1024 bytes when it is not set.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 4;
-
addReceive
Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body. If it is set, both the expected response check and status code determine the health check. When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous. .. note:: It is recommended to set ``response_buffer_size`` based on the total Payload size for efficiency. The default buffer size is 1024 bytes when it is not set.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 4;
-
addReceive
Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body. If it is set, both the expected response check and status code determine the health check. When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous. .. note:: It is recommended to set ``response_buffer_size`` based on the total Payload size for efficiency. The default buffer size is 1024 bytes when it is not set.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 4;
-
addReceive
public HealthCheck.HttpHealthCheck.Builder addReceive(int index, HealthCheck.Payload.Builder builderForValue) Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body. If it is set, both the expected response check and status code determine the health check. When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous. .. note:: It is recommended to set ``response_buffer_size`` based on the total Payload size for efficiency. The default buffer size is 1024 bytes when it is not set.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 4;
-
addAllReceive
public HealthCheck.HttpHealthCheck.Builder addAllReceive(Iterable<? extends HealthCheck.Payload> values) Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body. If it is set, both the expected response check and status code determine the health check. When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous. .. note:: It is recommended to set ``response_buffer_size`` based on the total Payload size for efficiency. The default buffer size is 1024 bytes when it is not set.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 4;
-
clearReceive
Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body. If it is set, both the expected response check and status code determine the health check. When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous. .. note:: It is recommended to set ``response_buffer_size`` based on the total Payload size for efficiency. The default buffer size is 1024 bytes when it is not set.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 4;
-
removeReceive
Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body. If it is set, both the expected response check and status code determine the health check. When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous. .. note:: It is recommended to set ``response_buffer_size`` based on the total Payload size for efficiency. The default buffer size is 1024 bytes when it is not set.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 4;
-
getReceiveBuilder
Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body. If it is set, both the expected response check and status code determine the health check. When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous. .. note:: It is recommended to set ``response_buffer_size`` based on the total Payload size for efficiency. The default buffer size is 1024 bytes when it is not set.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 4;
-
getReceiveOrBuilder
Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body. If it is set, both the expected response check and status code determine the health check. When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous. .. note:: It is recommended to set ``response_buffer_size`` based on the total Payload size for efficiency. The default buffer size is 1024 bytes when it is not set.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 4;
- Specified by:
getReceiveOrBuilder
in interfaceHealthCheck.HttpHealthCheckOrBuilder
-
getReceiveOrBuilderList
Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body. If it is set, both the expected response check and status code determine the health check. When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous. .. note:: It is recommended to set ``response_buffer_size`` based on the total Payload size for efficiency. The default buffer size is 1024 bytes when it is not set.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 4;
- Specified by:
getReceiveOrBuilderList
in interfaceHealthCheck.HttpHealthCheckOrBuilder
-
addReceiveBuilder
Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body. If it is set, both the expected response check and status code determine the health check. When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous. .. note:: It is recommended to set ``response_buffer_size`` based on the total Payload size for efficiency. The default buffer size is 1024 bytes when it is not set.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 4;
-
addReceiveBuilder
Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body. If it is set, both the expected response check and status code determine the health check. When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous. .. note:: It is recommended to set ``response_buffer_size`` based on the total Payload size for efficiency. The default buffer size is 1024 bytes when it is not set.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 4;
-
getReceiveBuilderList
Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body. If it is set, both the expected response check and status code determine the health check. When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous. .. note:: It is recommended to set ``response_buffer_size`` based on the total Payload size for efficiency. The default buffer size is 1024 bytes when it is not set.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 4;
-
internalGetReceiveFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<HealthCheck.Payload,HealthCheck.Payload.Builder, internalGetReceiveFieldBuilder()HealthCheck.PayloadOrBuilder> -
hasResponseBufferSize
public boolean hasResponseBufferSize()Specifies the size of response buffer in bytes that is used to Payload match. The default value is 1024. Setting to 0 implies that the Payload will be matched against the entire response.
.google.protobuf.UInt64Value response_buffer_size = 14 [(.validate.rules) = { ... }
- Specified by:
hasResponseBufferSize
in interfaceHealthCheck.HttpHealthCheckOrBuilder
- Returns:
- Whether the responseBufferSize field is set.
-
getResponseBufferSize
public com.google.protobuf.UInt64Value getResponseBufferSize()Specifies the size of response buffer in bytes that is used to Payload match. The default value is 1024. Setting to 0 implies that the Payload will be matched against the entire response.
.google.protobuf.UInt64Value response_buffer_size = 14 [(.validate.rules) = { ... }
- Specified by:
getResponseBufferSize
in interfaceHealthCheck.HttpHealthCheckOrBuilder
- Returns:
- The responseBufferSize.
-
setResponseBufferSize
public HealthCheck.HttpHealthCheck.Builder setResponseBufferSize(com.google.protobuf.UInt64Value value) Specifies the size of response buffer in bytes that is used to Payload match. The default value is 1024. Setting to 0 implies that the Payload will be matched against the entire response.
.google.protobuf.UInt64Value response_buffer_size = 14 [(.validate.rules) = { ... }
-
setResponseBufferSize
public HealthCheck.HttpHealthCheck.Builder setResponseBufferSize(com.google.protobuf.UInt64Value.Builder builderForValue) Specifies the size of response buffer in bytes that is used to Payload match. The default value is 1024. Setting to 0 implies that the Payload will be matched against the entire response.
.google.protobuf.UInt64Value response_buffer_size = 14 [(.validate.rules) = { ... }
-
mergeResponseBufferSize
public HealthCheck.HttpHealthCheck.Builder mergeResponseBufferSize(com.google.protobuf.UInt64Value value) Specifies the size of response buffer in bytes that is used to Payload match. The default value is 1024. Setting to 0 implies that the Payload will be matched against the entire response.
.google.protobuf.UInt64Value response_buffer_size = 14 [(.validate.rules) = { ... }
-
clearResponseBufferSize
Specifies the size of response buffer in bytes that is used to Payload match. The default value is 1024. Setting to 0 implies that the Payload will be matched against the entire response.
.google.protobuf.UInt64Value response_buffer_size = 14 [(.validate.rules) = { ... }
-
getResponseBufferSizeBuilder
public com.google.protobuf.UInt64Value.Builder getResponseBufferSizeBuilder()Specifies the size of response buffer in bytes that is used to Payload match. The default value is 1024. Setting to 0 implies that the Payload will be matched against the entire response.
.google.protobuf.UInt64Value response_buffer_size = 14 [(.validate.rules) = { ... }
-
getResponseBufferSizeOrBuilder
public com.google.protobuf.UInt64ValueOrBuilder getResponseBufferSizeOrBuilder()Specifies the size of response buffer in bytes that is used to Payload match. The default value is 1024. Setting to 0 implies that the Payload will be matched against the entire response.
.google.protobuf.UInt64Value response_buffer_size = 14 [(.validate.rules) = { ... }
- Specified by:
getResponseBufferSizeOrBuilder
in interfaceHealthCheck.HttpHealthCheckOrBuilder
-
internalGetResponseBufferSizeFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt64Value,com.google.protobuf.UInt64Value.Builder, internalGetResponseBufferSizeFieldBuilder()com.google.protobuf.UInt64ValueOrBuilder> Specifies the size of response buffer in bytes that is used to Payload match. The default value is 1024. Setting to 0 implies that the Payload will be matched against the entire response.
.google.protobuf.UInt64Value response_buffer_size = 14 [(.validate.rules) = { ... }
-
ensureRequestHeadersToAddIsMutable
private void ensureRequestHeadersToAddIsMutable() -
getRequestHeadersToAddList
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAddList
in interfaceHealthCheck.HttpHealthCheckOrBuilder
-
getRequestHeadersToAddCount
public int getRequestHeadersToAddCount()Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAddCount
in interfaceHealthCheck.HttpHealthCheckOrBuilder
-
getRequestHeadersToAdd
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAdd
in interfaceHealthCheck.HttpHealthCheckOrBuilder
-
setRequestHeadersToAdd
public HealthCheck.HttpHealthCheck.Builder setRequestHeadersToAdd(int index, HeaderValueOption value) Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
setRequestHeadersToAdd
public HealthCheck.HttpHealthCheck.Builder setRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue) Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
addRequestHeadersToAdd
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
addRequestHeadersToAdd
public HealthCheck.HttpHealthCheck.Builder addRequestHeadersToAdd(int index, HeaderValueOption value) Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
addRequestHeadersToAdd
public HealthCheck.HttpHealthCheck.Builder addRequestHeadersToAdd(HeaderValueOption.Builder builderForValue) Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
addRequestHeadersToAdd
public HealthCheck.HttpHealthCheck.Builder addRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue) Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
addAllRequestHeadersToAdd
public HealthCheck.HttpHealthCheck.Builder addAllRequestHeadersToAdd(Iterable<? extends HeaderValueOption> values) Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
clearRequestHeadersToAdd
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
removeRequestHeadersToAdd
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
getRequestHeadersToAddBuilder
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
getRequestHeadersToAddOrBuilder
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAddOrBuilder
in interfaceHealthCheck.HttpHealthCheckOrBuilder
-
getRequestHeadersToAddOrBuilderList
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAddOrBuilderList
in interfaceHealthCheck.HttpHealthCheckOrBuilder
-
addRequestHeadersToAddBuilder
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
addRequestHeadersToAddBuilder
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
getRequestHeadersToAddBuilderList
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
internalGetRequestHeadersToAddFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder, internalGetRequestHeadersToAddFieldBuilder()HeaderValueOptionOrBuilder> -
ensureRequestHeadersToRemoveIsMutable
private void ensureRequestHeadersToRemoveIsMutable() -
getRequestHeadersToRemoveList
public com.google.protobuf.ProtocolStringList getRequestHeadersToRemoveList()Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.
repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToRemoveList
in interfaceHealthCheck.HttpHealthCheckOrBuilder
- Returns:
- A list containing the requestHeadersToRemove.
-
getRequestHeadersToRemoveCount
public int getRequestHeadersToRemoveCount()Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.
repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToRemoveCount
in interfaceHealthCheck.HttpHealthCheckOrBuilder
- Returns:
- The count of requestHeadersToRemove.
-
getRequestHeadersToRemove
Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.
repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToRemove
in interfaceHealthCheck.HttpHealthCheckOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The requestHeadersToRemove at the given index.
-
getRequestHeadersToRemoveBytes
public com.google.protobuf.ByteString getRequestHeadersToRemoveBytes(int index) Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.
repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToRemoveBytes
in interfaceHealthCheck.HttpHealthCheckOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the requestHeadersToRemove at the given index.
-
setRequestHeadersToRemove
Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.
repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
- Parameters:
index
- The index to set the value at.value
- The requestHeadersToRemove to set.- Returns:
- This builder for chaining.
-
addRequestHeadersToRemove
Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.
repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
- Parameters:
value
- The requestHeadersToRemove to add.- Returns:
- This builder for chaining.
-
addAllRequestHeadersToRemove
Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.
repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
- Parameters:
values
- The requestHeadersToRemove to add.- Returns:
- This builder for chaining.
-
clearRequestHeadersToRemove
Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.
repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
addRequestHeadersToRemoveBytes
public HealthCheck.HttpHealthCheck.Builder addRequestHeadersToRemoveBytes(com.google.protobuf.ByteString value) Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.
repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
- Parameters:
value
- The bytes of the requestHeadersToRemove to add.- Returns:
- This builder for chaining.
-
ensureExpectedStatusesIsMutable
private void ensureExpectedStatusesIsMutable() -
getExpectedStatusesList
Specifies a list of HTTP response statuses considered healthy. If provided, replaces default 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.v3.Int64Range expected_statuses = 9;
- Specified by:
getExpectedStatusesList
in interfaceHealthCheck.HttpHealthCheckOrBuilder
-
getExpectedStatusesCount
public int getExpectedStatusesCount()Specifies a list of HTTP response statuses considered healthy. If provided, replaces default 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.v3.Int64Range expected_statuses = 9;
- Specified by:
getExpectedStatusesCount
in interfaceHealthCheck.HttpHealthCheckOrBuilder
-
getExpectedStatuses
Specifies a list of HTTP response statuses considered healthy. If provided, replaces default 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.v3.Int64Range expected_statuses = 9;
- Specified by:
getExpectedStatuses
in interfaceHealthCheck.HttpHealthCheckOrBuilder
-
setExpectedStatuses
Specifies a list of HTTP response statuses considered healthy. If provided, replaces default 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.v3.Int64Range expected_statuses = 9;
-
setExpectedStatuses
public HealthCheck.HttpHealthCheck.Builder setExpectedStatuses(int index, Int64Range.Builder builderForValue) Specifies a list of HTTP response statuses considered healthy. If provided, replaces default 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.v3.Int64Range expected_statuses = 9;
-
addExpectedStatuses
Specifies a list of HTTP response statuses considered healthy. If provided, replaces default 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.v3.Int64Range expected_statuses = 9;
-
addExpectedStatuses
Specifies a list of HTTP response statuses considered healthy. If provided, replaces default 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.v3.Int64Range expected_statuses = 9;
-
addExpectedStatuses
Specifies a list of HTTP response statuses considered healthy. If provided, replaces default 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.v3.Int64Range expected_statuses = 9;
-
addExpectedStatuses
public HealthCheck.HttpHealthCheck.Builder addExpectedStatuses(int index, Int64Range.Builder builderForValue) Specifies a list of HTTP response statuses considered healthy. If provided, replaces default 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.v3.Int64Range expected_statuses = 9;
-
addAllExpectedStatuses
public HealthCheck.HttpHealthCheck.Builder addAllExpectedStatuses(Iterable<? extends Int64Range> values) Specifies a list of HTTP response statuses considered healthy. If provided, replaces default 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.v3.Int64Range expected_statuses = 9;
-
clearExpectedStatuses
Specifies a list of HTTP response statuses considered healthy. If provided, replaces default 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.v3.Int64Range expected_statuses = 9;
-
removeExpectedStatuses
Specifies a list of HTTP response statuses considered healthy. If provided, replaces default 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.v3.Int64Range expected_statuses = 9;
-
getExpectedStatusesBuilder
Specifies a list of HTTP response statuses considered healthy. If provided, replaces default 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.v3.Int64Range expected_statuses = 9;
-
getExpectedStatusesOrBuilder
Specifies a list of HTTP response statuses considered healthy. If provided, replaces default 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.v3.Int64Range expected_statuses = 9;
- Specified by:
getExpectedStatusesOrBuilder
in interfaceHealthCheck.HttpHealthCheckOrBuilder
-
getExpectedStatusesOrBuilderList
Specifies a list of HTTP response statuses considered healthy. If provided, replaces default 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.v3.Int64Range expected_statuses = 9;
- Specified by:
getExpectedStatusesOrBuilderList
in interfaceHealthCheck.HttpHealthCheckOrBuilder
-
addExpectedStatusesBuilder
Specifies a list of HTTP response statuses considered healthy. If provided, replaces default 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.v3.Int64Range expected_statuses = 9;
-
addExpectedStatusesBuilder
Specifies a list of HTTP response statuses considered healthy. If provided, replaces default 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.v3.Int64Range expected_statuses = 9;
-
getExpectedStatusesBuilderList
Specifies a list of HTTP response statuses considered healthy. If provided, replaces default 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.v3.Int64Range expected_statuses = 9;
-
internalGetExpectedStatusesFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<Int64Range,Int64Range.Builder, internalGetExpectedStatusesFieldBuilder()Int64RangeOrBuilder> -
ensureRetriableStatusesIsMutable
private void ensureRetriableStatusesIsMutable() -
getRetriableStatusesList
Specifies a list of HTTP response statuses considered retriable. If provided, responses in this range will count towards the configured :ref:`unhealthy_threshold <envoy_v3_api_field_config.core.v3.HealthCheck.unhealthy_threshold>`, but will not result in the host being considered immediately unhealthy. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed. The :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` field takes precedence for any range overlaps with this field i.e. if status code 200 is both retriable and expected, a 200 response will be considered a successful health check. By default all responses not in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` will result in the host being considered immediately unhealthy i.e. if status code 200 is expected and there are no configured retriable statuses, any non-200 response will result in the host being marked unhealthy.
repeated .envoy.type.v3.Int64Range retriable_statuses = 12;
- Specified by:
getRetriableStatusesList
in interfaceHealthCheck.HttpHealthCheckOrBuilder
-
getRetriableStatusesCount
public int getRetriableStatusesCount()Specifies a list of HTTP response statuses considered retriable. If provided, responses in this range will count towards the configured :ref:`unhealthy_threshold <envoy_v3_api_field_config.core.v3.HealthCheck.unhealthy_threshold>`, but will not result in the host being considered immediately unhealthy. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed. The :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` field takes precedence for any range overlaps with this field i.e. if status code 200 is both retriable and expected, a 200 response will be considered a successful health check. By default all responses not in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` will result in the host being considered immediately unhealthy i.e. if status code 200 is expected and there are no configured retriable statuses, any non-200 response will result in the host being marked unhealthy.
repeated .envoy.type.v3.Int64Range retriable_statuses = 12;
- Specified by:
getRetriableStatusesCount
in interfaceHealthCheck.HttpHealthCheckOrBuilder
-
getRetriableStatuses
Specifies a list of HTTP response statuses considered retriable. If provided, responses in this range will count towards the configured :ref:`unhealthy_threshold <envoy_v3_api_field_config.core.v3.HealthCheck.unhealthy_threshold>`, but will not result in the host being considered immediately unhealthy. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed. The :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` field takes precedence for any range overlaps with this field i.e. if status code 200 is both retriable and expected, a 200 response will be considered a successful health check. By default all responses not in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` will result in the host being considered immediately unhealthy i.e. if status code 200 is expected and there are no configured retriable statuses, any non-200 response will result in the host being marked unhealthy.
repeated .envoy.type.v3.Int64Range retriable_statuses = 12;
- Specified by:
getRetriableStatuses
in interfaceHealthCheck.HttpHealthCheckOrBuilder
-
setRetriableStatuses
Specifies a list of HTTP response statuses considered retriable. If provided, responses in this range will count towards the configured :ref:`unhealthy_threshold <envoy_v3_api_field_config.core.v3.HealthCheck.unhealthy_threshold>`, but will not result in the host being considered immediately unhealthy. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed. The :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` field takes precedence for any range overlaps with this field i.e. if status code 200 is both retriable and expected, a 200 response will be considered a successful health check. By default all responses not in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` will result in the host being considered immediately unhealthy i.e. if status code 200 is expected and there are no configured retriable statuses, any non-200 response will result in the host being marked unhealthy.
repeated .envoy.type.v3.Int64Range retriable_statuses = 12;
-
setRetriableStatuses
public HealthCheck.HttpHealthCheck.Builder setRetriableStatuses(int index, Int64Range.Builder builderForValue) Specifies a list of HTTP response statuses considered retriable. If provided, responses in this range will count towards the configured :ref:`unhealthy_threshold <envoy_v3_api_field_config.core.v3.HealthCheck.unhealthy_threshold>`, but will not result in the host being considered immediately unhealthy. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed. The :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` field takes precedence for any range overlaps with this field i.e. if status code 200 is both retriable and expected, a 200 response will be considered a successful health check. By default all responses not in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` will result in the host being considered immediately unhealthy i.e. if status code 200 is expected and there are no configured retriable statuses, any non-200 response will result in the host being marked unhealthy.
repeated .envoy.type.v3.Int64Range retriable_statuses = 12;
-
addRetriableStatuses
Specifies a list of HTTP response statuses considered retriable. If provided, responses in this range will count towards the configured :ref:`unhealthy_threshold <envoy_v3_api_field_config.core.v3.HealthCheck.unhealthy_threshold>`, but will not result in the host being considered immediately unhealthy. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed. The :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` field takes precedence for any range overlaps with this field i.e. if status code 200 is both retriable and expected, a 200 response will be considered a successful health check. By default all responses not in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` will result in the host being considered immediately unhealthy i.e. if status code 200 is expected and there are no configured retriable statuses, any non-200 response will result in the host being marked unhealthy.
repeated .envoy.type.v3.Int64Range retriable_statuses = 12;
-
addRetriableStatuses
Specifies a list of HTTP response statuses considered retriable. If provided, responses in this range will count towards the configured :ref:`unhealthy_threshold <envoy_v3_api_field_config.core.v3.HealthCheck.unhealthy_threshold>`, but will not result in the host being considered immediately unhealthy. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed. The :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` field takes precedence for any range overlaps with this field i.e. if status code 200 is both retriable and expected, a 200 response will be considered a successful health check. By default all responses not in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` will result in the host being considered immediately unhealthy i.e. if status code 200 is expected and there are no configured retriable statuses, any non-200 response will result in the host being marked unhealthy.
repeated .envoy.type.v3.Int64Range retriable_statuses = 12;
-
addRetriableStatuses
Specifies a list of HTTP response statuses considered retriable. If provided, responses in this range will count towards the configured :ref:`unhealthy_threshold <envoy_v3_api_field_config.core.v3.HealthCheck.unhealthy_threshold>`, but will not result in the host being considered immediately unhealthy. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed. The :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` field takes precedence for any range overlaps with this field i.e. if status code 200 is both retriable and expected, a 200 response will be considered a successful health check. By default all responses not in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` will result in the host being considered immediately unhealthy i.e. if status code 200 is expected and there are no configured retriable statuses, any non-200 response will result in the host being marked unhealthy.
repeated .envoy.type.v3.Int64Range retriable_statuses = 12;
-
addRetriableStatuses
public HealthCheck.HttpHealthCheck.Builder addRetriableStatuses(int index, Int64Range.Builder builderForValue) Specifies a list of HTTP response statuses considered retriable. If provided, responses in this range will count towards the configured :ref:`unhealthy_threshold <envoy_v3_api_field_config.core.v3.HealthCheck.unhealthy_threshold>`, but will not result in the host being considered immediately unhealthy. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed. The :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` field takes precedence for any range overlaps with this field i.e. if status code 200 is both retriable and expected, a 200 response will be considered a successful health check. By default all responses not in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` will result in the host being considered immediately unhealthy i.e. if status code 200 is expected and there are no configured retriable statuses, any non-200 response will result in the host being marked unhealthy.
repeated .envoy.type.v3.Int64Range retriable_statuses = 12;
-
addAllRetriableStatuses
public HealthCheck.HttpHealthCheck.Builder addAllRetriableStatuses(Iterable<? extends Int64Range> values) Specifies a list of HTTP response statuses considered retriable. If provided, responses in this range will count towards the configured :ref:`unhealthy_threshold <envoy_v3_api_field_config.core.v3.HealthCheck.unhealthy_threshold>`, but will not result in the host being considered immediately unhealthy. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed. The :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` field takes precedence for any range overlaps with this field i.e. if status code 200 is both retriable and expected, a 200 response will be considered a successful health check. By default all responses not in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` will result in the host being considered immediately unhealthy i.e. if status code 200 is expected and there are no configured retriable statuses, any non-200 response will result in the host being marked unhealthy.
repeated .envoy.type.v3.Int64Range retriable_statuses = 12;
-
clearRetriableStatuses
Specifies a list of HTTP response statuses considered retriable. If provided, responses in this range will count towards the configured :ref:`unhealthy_threshold <envoy_v3_api_field_config.core.v3.HealthCheck.unhealthy_threshold>`, but will not result in the host being considered immediately unhealthy. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed. The :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` field takes precedence for any range overlaps with this field i.e. if status code 200 is both retriable and expected, a 200 response will be considered a successful health check. By default all responses not in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` will result in the host being considered immediately unhealthy i.e. if status code 200 is expected and there are no configured retriable statuses, any non-200 response will result in the host being marked unhealthy.
repeated .envoy.type.v3.Int64Range retriable_statuses = 12;
-
removeRetriableStatuses
Specifies a list of HTTP response statuses considered retriable. If provided, responses in this range will count towards the configured :ref:`unhealthy_threshold <envoy_v3_api_field_config.core.v3.HealthCheck.unhealthy_threshold>`, but will not result in the host being considered immediately unhealthy. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed. The :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` field takes precedence for any range overlaps with this field i.e. if status code 200 is both retriable and expected, a 200 response will be considered a successful health check. By default all responses not in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` will result in the host being considered immediately unhealthy i.e. if status code 200 is expected and there are no configured retriable statuses, any non-200 response will result in the host being marked unhealthy.
repeated .envoy.type.v3.Int64Range retriable_statuses = 12;
-
getRetriableStatusesBuilder
Specifies a list of HTTP response statuses considered retriable. If provided, responses in this range will count towards the configured :ref:`unhealthy_threshold <envoy_v3_api_field_config.core.v3.HealthCheck.unhealthy_threshold>`, but will not result in the host being considered immediately unhealthy. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed. The :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` field takes precedence for any range overlaps with this field i.e. if status code 200 is both retriable and expected, a 200 response will be considered a successful health check. By default all responses not in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` will result in the host being considered immediately unhealthy i.e. if status code 200 is expected and there are no configured retriable statuses, any non-200 response will result in the host being marked unhealthy.
repeated .envoy.type.v3.Int64Range retriable_statuses = 12;
-
getRetriableStatusesOrBuilder
Specifies a list of HTTP response statuses considered retriable. If provided, responses in this range will count towards the configured :ref:`unhealthy_threshold <envoy_v3_api_field_config.core.v3.HealthCheck.unhealthy_threshold>`, but will not result in the host being considered immediately unhealthy. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed. The :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` field takes precedence for any range overlaps with this field i.e. if status code 200 is both retriable and expected, a 200 response will be considered a successful health check. By default all responses not in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` will result in the host being considered immediately unhealthy i.e. if status code 200 is expected and there are no configured retriable statuses, any non-200 response will result in the host being marked unhealthy.
repeated .envoy.type.v3.Int64Range retriable_statuses = 12;
- Specified by:
getRetriableStatusesOrBuilder
in interfaceHealthCheck.HttpHealthCheckOrBuilder
-
getRetriableStatusesOrBuilderList
Specifies a list of HTTP response statuses considered retriable. If provided, responses in this range will count towards the configured :ref:`unhealthy_threshold <envoy_v3_api_field_config.core.v3.HealthCheck.unhealthy_threshold>`, but will not result in the host being considered immediately unhealthy. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed. The :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` field takes precedence for any range overlaps with this field i.e. if status code 200 is both retriable and expected, a 200 response will be considered a successful health check. By default all responses not in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` will result in the host being considered immediately unhealthy i.e. if status code 200 is expected and there are no configured retriable statuses, any non-200 response will result in the host being marked unhealthy.
repeated .envoy.type.v3.Int64Range retriable_statuses = 12;
- Specified by:
getRetriableStatusesOrBuilderList
in interfaceHealthCheck.HttpHealthCheckOrBuilder
-
addRetriableStatusesBuilder
Specifies a list of HTTP response statuses considered retriable. If provided, responses in this range will count towards the configured :ref:`unhealthy_threshold <envoy_v3_api_field_config.core.v3.HealthCheck.unhealthy_threshold>`, but will not result in the host being considered immediately unhealthy. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed. The :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` field takes precedence for any range overlaps with this field i.e. if status code 200 is both retriable and expected, a 200 response will be considered a successful health check. By default all responses not in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` will result in the host being considered immediately unhealthy i.e. if status code 200 is expected and there are no configured retriable statuses, any non-200 response will result in the host being marked unhealthy.
repeated .envoy.type.v3.Int64Range retriable_statuses = 12;
-
addRetriableStatusesBuilder
Specifies a list of HTTP response statuses considered retriable. If provided, responses in this range will count towards the configured :ref:`unhealthy_threshold <envoy_v3_api_field_config.core.v3.HealthCheck.unhealthy_threshold>`, but will not result in the host being considered immediately unhealthy. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed. The :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` field takes precedence for any range overlaps with this field i.e. if status code 200 is both retriable and expected, a 200 response will be considered a successful health check. By default all responses not in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` will result in the host being considered immediately unhealthy i.e. if status code 200 is expected and there are no configured retriable statuses, any non-200 response will result in the host being marked unhealthy.
repeated .envoy.type.v3.Int64Range retriable_statuses = 12;
-
getRetriableStatusesBuilderList
Specifies a list of HTTP response statuses considered retriable. If provided, responses in this range will count towards the configured :ref:`unhealthy_threshold <envoy_v3_api_field_config.core.v3.HealthCheck.unhealthy_threshold>`, but will not result in the host being considered immediately unhealthy. Ranges follow half-open semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed. The :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` field takes precedence for any range overlaps with this field i.e. if status code 200 is both retriable and expected, a 200 response will be considered a successful health check. By default all responses not in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` will result in the host being considered immediately unhealthy i.e. if status code 200 is expected and there are no configured retriable statuses, any non-200 response will result in the host being marked unhealthy.
repeated .envoy.type.v3.Int64Range retriable_statuses = 12;
-
internalGetRetriableStatusesFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<Int64Range,Int64Range.Builder, internalGetRetriableStatusesFieldBuilder()Int64RangeOrBuilder> -
getCodecClientTypeValue
public int getCodecClientTypeValue()Use specified application protocol for health checks.
.envoy.type.v3.CodecClientType codec_client_type = 10 [(.validate.rules) = { ... }
- Specified by:
getCodecClientTypeValue
in interfaceHealthCheck.HttpHealthCheckOrBuilder
- Returns:
- The enum numeric value on the wire for codecClientType.
-
setCodecClientTypeValue
Use specified application protocol for health checks.
.envoy.type.v3.CodecClientType codec_client_type = 10 [(.validate.rules) = { ... }
- Parameters:
value
- The enum numeric value on the wire for codecClientType to set.- Returns:
- This builder for chaining.
-
getCodecClientType
Use specified application protocol for health checks.
.envoy.type.v3.CodecClientType codec_client_type = 10 [(.validate.rules) = { ... }
- Specified by:
getCodecClientType
in interfaceHealthCheck.HttpHealthCheckOrBuilder
- Returns:
- The codecClientType.
-
setCodecClientType
Use specified application protocol for health checks.
.envoy.type.v3.CodecClientType codec_client_type = 10 [(.validate.rules) = { ... }
- Parameters:
value
- The codecClientType to set.- Returns:
- This builder for chaining.
-
clearCodecClientType
Use specified application protocol for health checks.
.envoy.type.v3.CodecClientType codec_client_type = 10 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
hasServiceNameMatcher
public boolean hasServiceNameMatcher()An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_v3_api_msg_type.matcher.v3.StringMatcher>`. See the :ref:`architecture overview <arch_overview_health_checking_identity>` for more information.
.envoy.type.matcher.v3.StringMatcher service_name_matcher = 11;
- Specified by:
hasServiceNameMatcher
in interfaceHealthCheck.HttpHealthCheckOrBuilder
- Returns:
- Whether the serviceNameMatcher field is set.
-
getServiceNameMatcher
An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_v3_api_msg_type.matcher.v3.StringMatcher>`. See the :ref:`architecture overview <arch_overview_health_checking_identity>` for more information.
.envoy.type.matcher.v3.StringMatcher service_name_matcher = 11;
- Specified by:
getServiceNameMatcher
in interfaceHealthCheck.HttpHealthCheckOrBuilder
- Returns:
- The serviceNameMatcher.
-
setServiceNameMatcher
An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_v3_api_msg_type.matcher.v3.StringMatcher>`. See the :ref:`architecture overview <arch_overview_health_checking_identity>` for more information.
.envoy.type.matcher.v3.StringMatcher service_name_matcher = 11;
-
setServiceNameMatcher
public HealthCheck.HttpHealthCheck.Builder setServiceNameMatcher(StringMatcher.Builder builderForValue) An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_v3_api_msg_type.matcher.v3.StringMatcher>`. See the :ref:`architecture overview <arch_overview_health_checking_identity>` for more information.
.envoy.type.matcher.v3.StringMatcher service_name_matcher = 11;
-
mergeServiceNameMatcher
An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_v3_api_msg_type.matcher.v3.StringMatcher>`. See the :ref:`architecture overview <arch_overview_health_checking_identity>` for more information.
.envoy.type.matcher.v3.StringMatcher service_name_matcher = 11;
-
clearServiceNameMatcher
An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_v3_api_msg_type.matcher.v3.StringMatcher>`. See the :ref:`architecture overview <arch_overview_health_checking_identity>` for more information.
.envoy.type.matcher.v3.StringMatcher service_name_matcher = 11;
-
getServiceNameMatcherBuilder
An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_v3_api_msg_type.matcher.v3.StringMatcher>`. See the :ref:`architecture overview <arch_overview_health_checking_identity>` for more information.
.envoy.type.matcher.v3.StringMatcher service_name_matcher = 11;
-
getServiceNameMatcherOrBuilder
An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_v3_api_msg_type.matcher.v3.StringMatcher>`. See the :ref:`architecture overview <arch_overview_health_checking_identity>` for more information.
.envoy.type.matcher.v3.StringMatcher service_name_matcher = 11;
- Specified by:
getServiceNameMatcherOrBuilder
in interfaceHealthCheck.HttpHealthCheckOrBuilder
-
internalGetServiceNameMatcherFieldBuilder
private com.google.protobuf.SingleFieldBuilder<StringMatcher,StringMatcher.Builder, internalGetServiceNameMatcherFieldBuilder()StringMatcherOrBuilder> An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_v3_api_msg_type.matcher.v3.StringMatcher>`. See the :ref:`architecture overview <arch_overview_health_checking_identity>` for more information.
.envoy.type.matcher.v3.StringMatcher service_name_matcher = 11;
-
getMethodValue
public int getMethodValue()HTTP Method that will be used for health checking, default is "GET". GET, HEAD, POST, PUT, DELETE, OPTIONS, TRACE, PATCH methods are supported, but making request body is not supported. CONNECT method is disallowed because it is not appropriate for health check request. If a non-200 response is expected by the method, it needs to be set in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>`.
.envoy.config.core.v3.RequestMethod method = 13 [(.validate.rules) = { ... }
- Specified by:
getMethodValue
in interfaceHealthCheck.HttpHealthCheckOrBuilder
- Returns:
- The enum numeric value on the wire for method.
-
setMethodValue
HTTP Method that will be used for health checking, default is "GET". GET, HEAD, POST, PUT, DELETE, OPTIONS, TRACE, PATCH methods are supported, but making request body is not supported. CONNECT method is disallowed because it is not appropriate for health check request. If a non-200 response is expected by the method, it needs to be set in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>`.
.envoy.config.core.v3.RequestMethod method = 13 [(.validate.rules) = { ... }
- Parameters:
value
- The enum numeric value on the wire for method to set.- Returns:
- This builder for chaining.
-
getMethod
HTTP Method that will be used for health checking, default is "GET". GET, HEAD, POST, PUT, DELETE, OPTIONS, TRACE, PATCH methods are supported, but making request body is not supported. CONNECT method is disallowed because it is not appropriate for health check request. If a non-200 response is expected by the method, it needs to be set in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>`.
.envoy.config.core.v3.RequestMethod method = 13 [(.validate.rules) = { ... }
- Specified by:
getMethod
in interfaceHealthCheck.HttpHealthCheckOrBuilder
- Returns:
- The method.
-
setMethod
HTTP Method that will be used for health checking, default is "GET". GET, HEAD, POST, PUT, DELETE, OPTIONS, TRACE, PATCH methods are supported, but making request body is not supported. CONNECT method is disallowed because it is not appropriate for health check request. If a non-200 response is expected by the method, it needs to be set in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>`.
.envoy.config.core.v3.RequestMethod method = 13 [(.validate.rules) = { ... }
- Parameters:
value
- The method to set.- Returns:
- This builder for chaining.
-
clearMethod
HTTP Method that will be used for health checking, default is "GET". GET, HEAD, POST, PUT, DELETE, OPTIONS, TRACE, PATCH methods are supported, but making request body is not supported. CONNECT method is disallowed because it is not appropriate for health check request. If a non-200 response is expected by the method, it needs to be set in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>`.
.envoy.config.core.v3.RequestMethod method = 13 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-