Class HealthCheck.HttpHealthCheck.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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
,java.lang.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 typeenvoy.config.core.v3.HealthCheck.HttpHealthCheck
-
-
Field Summary
Fields Modifier and Type Field Description private int
bitField0_
private int
codecClientType_
private java.util.List<Int64Range>
expectedStatuses_
private com.google.protobuf.RepeatedFieldBuilder<Int64Range,Int64Range.Builder,Int64RangeOrBuilder>
expectedStatusesBuilder_
private java.lang.Object
host_
private int
method_
private java.lang.Object
path_
private java.util.List<HealthCheck.Payload>
receive_
private com.google.protobuf.RepeatedFieldBuilder<HealthCheck.Payload,HealthCheck.Payload.Builder,HealthCheck.PayloadOrBuilder>
receiveBuilder_
private java.util.List<HeaderValueOption>
requestHeadersToAdd_
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder>
requestHeadersToAddBuilder_
private com.google.protobuf.LazyStringArrayList
requestHeadersToRemove_
private com.google.protobuf.UInt64Value
responseBufferSize_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt64Value,com.google.protobuf.UInt64Value.Builder,com.google.protobuf.UInt64ValueOrBuilder>
responseBufferSizeBuilder_
private java.util.List<Int64Range>
retriableStatuses_
private com.google.protobuf.RepeatedFieldBuilder<Int64Range,Int64Range.Builder,Int64RangeOrBuilder>
retriableStatusesBuilder_
private HealthCheck.Payload
send_
private com.google.protobuf.SingleFieldBuilder<HealthCheck.Payload,HealthCheck.Payload.Builder,HealthCheck.PayloadOrBuilder>
sendBuilder_
private StringMatcher
serviceNameMatcher_
private com.google.protobuf.SingleFieldBuilder<StringMatcher,StringMatcher.Builder,StringMatcherOrBuilder>
serviceNameMatcherBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthCheck.HttpHealthCheck.Builder
addAllExpectedStatuses(java.lang.Iterable<? extends Int64Range> values)
Specifies a list of HTTP response statuses considered healthy.HealthCheck.HttpHealthCheck.Builder
addAllReceive(java.lang.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.HealthCheck.HttpHealthCheck.Builder
addAllRequestHeadersToAdd(java.lang.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.HealthCheck.HttpHealthCheck.Builder
addAllRequestHeadersToRemove(java.lang.Iterable<java.lang.String> values)
Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.HealthCheck.HttpHealthCheck.Builder
addAllRetriableStatuses(java.lang.Iterable<? extends Int64Range> values)
Specifies a list of HTTP response statuses considered retriable.HealthCheck.HttpHealthCheck.Builder
addExpectedStatuses(int index, Int64Range value)
Specifies a list of HTTP response statuses considered healthy.HealthCheck.HttpHealthCheck.Builder
addExpectedStatuses(int index, Int64Range.Builder builderForValue)
Specifies a list of HTTP response statuses considered healthy.HealthCheck.HttpHealthCheck.Builder
addExpectedStatuses(Int64Range value)
Specifies a list of HTTP response statuses considered healthy.HealthCheck.HttpHealthCheck.Builder
addExpectedStatuses(Int64Range.Builder builderForValue)
Specifies a list of HTTP response statuses considered healthy.Int64Range.Builder
addExpectedStatusesBuilder()
Specifies a list of HTTP response statuses considered healthy.Int64Range.Builder
addExpectedStatusesBuilder(int index)
Specifies a list of HTTP response statuses considered healthy.HealthCheck.HttpHealthCheck.Builder
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.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.HealthCheck.HttpHealthCheck.Builder
addReceive(HealthCheck.Payload value)
Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.HealthCheck.HttpHealthCheck.Builder
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.HealthCheck.Payload.Builder
addReceiveBuilder()
Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.HealthCheck.Payload.Builder
addReceiveBuilder(int index)
Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.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.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.HealthCheck.HttpHealthCheck.Builder
addRequestHeadersToAdd(HeaderValueOption value)
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.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.HeaderValueOption.Builder
addRequestHeadersToAddBuilder()
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.HeaderValueOption.Builder
addRequestHeadersToAddBuilder(int index)
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.HealthCheck.HttpHealthCheck.Builder
addRequestHeadersToRemove(java.lang.String value)
Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.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.HealthCheck.HttpHealthCheck.Builder
addRetriableStatuses(int index, Int64Range value)
Specifies a list of HTTP response statuses considered retriable.HealthCheck.HttpHealthCheck.Builder
addRetriableStatuses(int index, Int64Range.Builder builderForValue)
Specifies a list of HTTP response statuses considered retriable.HealthCheck.HttpHealthCheck.Builder
addRetriableStatuses(Int64Range value)
Specifies a list of HTTP response statuses considered retriable.HealthCheck.HttpHealthCheck.Builder
addRetriableStatuses(Int64Range.Builder builderForValue)
Specifies a list of HTTP response statuses considered retriable.Int64Range.Builder
addRetriableStatusesBuilder()
Specifies a list of HTTP response statuses considered retriable.Int64Range.Builder
addRetriableStatusesBuilder(int index)
Specifies a list of HTTP response statuses considered retriable.HealthCheck.HttpHealthCheck
build()
HealthCheck.HttpHealthCheck
buildPartial()
private void
buildPartial0(HealthCheck.HttpHealthCheck result)
private void
buildPartialRepeatedFields(HealthCheck.HttpHealthCheck result)
HealthCheck.HttpHealthCheck.Builder
clear()
HealthCheck.HttpHealthCheck.Builder
clearCodecClientType()
Use specified application protocol for health checks.HealthCheck.HttpHealthCheck.Builder
clearExpectedStatuses()
Specifies a list of HTTP response statuses considered healthy.HealthCheck.HttpHealthCheck.Builder
clearHost()
The value of the host header in the HTTP health check request.HealthCheck.HttpHealthCheck.Builder
clearMethod()
HTTP Method that will be used for health checking, default is "GET".HealthCheck.HttpHealthCheck.Builder
clearPath()
Specifies the HTTP path that will be requested during health checking.HealthCheck.HttpHealthCheck.Builder
clearReceive()
Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.HealthCheck.HttpHealthCheck.Builder
clearRequestHeadersToAdd()
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.HealthCheck.HttpHealthCheck.Builder
clearRequestHeadersToRemove()
Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.HealthCheck.HttpHealthCheck.Builder
clearResponseBufferSize()
Specifies the size of response buffer in bytes that is used to Payload match.HealthCheck.HttpHealthCheck.Builder
clearRetriableStatuses()
Specifies a list of HTTP response statuses considered retriable.HealthCheck.HttpHealthCheck.Builder
clearSend()
[#not-implemented-hide:] HTTP specific payload.HealthCheck.HttpHealthCheck.Builder
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>`.private void
ensureExpectedStatusesIsMutable()
private void
ensureReceiveIsMutable()
private void
ensureRequestHeadersToAddIsMutable()
private void
ensureRequestHeadersToRemoveIsMutable()
private void
ensureRetriableStatusesIsMutable()
CodecClientType
getCodecClientType()
Use specified application protocol for health checks.int
getCodecClientTypeValue()
Use specified application protocol for health checks.HealthCheck.HttpHealthCheck
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Int64Range
getExpectedStatuses(int index)
Specifies a list of HTTP response statuses considered healthy.Int64Range.Builder
getExpectedStatusesBuilder(int index)
Specifies a list of HTTP response statuses considered healthy.java.util.List<Int64Range.Builder>
getExpectedStatusesBuilderList()
Specifies a list of HTTP response statuses considered healthy.int
getExpectedStatusesCount()
Specifies a list of HTTP response statuses considered healthy.private com.google.protobuf.RepeatedFieldBuilder<Int64Range,Int64Range.Builder,Int64RangeOrBuilder>
getExpectedStatusesFieldBuilder()
java.util.List<Int64Range>
getExpectedStatusesList()
Specifies a list of HTTP response statuses considered healthy.Int64RangeOrBuilder
getExpectedStatusesOrBuilder(int index)
Specifies a list of HTTP response statuses considered healthy.java.util.List<? extends Int64RangeOrBuilder>
getExpectedStatusesOrBuilderList()
Specifies a list of HTTP response statuses considered healthy.java.lang.String
getHost()
The value of the host header in the HTTP health check request.com.google.protobuf.ByteString
getHostBytes()
The value of the host header in the HTTP health check request.RequestMethod
getMethod()
HTTP Method that will be used for health checking, default is "GET".int
getMethodValue()
HTTP Method that will be used for health checking, default is "GET".java.lang.String
getPath()
Specifies the HTTP path that will be requested during health checking.com.google.protobuf.ByteString
getPathBytes()
Specifies the HTTP path that will be requested during health checking.HealthCheck.Payload
getReceive(int index)
Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.HealthCheck.Payload.Builder
getReceiveBuilder(int index)
Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.java.util.List<HealthCheck.Payload.Builder>
getReceiveBuilderList()
Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.int
getReceiveCount()
Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.private com.google.protobuf.RepeatedFieldBuilder<HealthCheck.Payload,HealthCheck.Payload.Builder,HealthCheck.PayloadOrBuilder>
getReceiveFieldBuilder()
java.util.List<HealthCheck.Payload>
getReceiveList()
Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.HealthCheck.PayloadOrBuilder
getReceiveOrBuilder(int index)
Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.java.util.List<? extends HealthCheck.PayloadOrBuilder>
getReceiveOrBuilderList()
Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.HeaderValueOption
getRequestHeadersToAdd(int index)
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.HeaderValueOption.Builder
getRequestHeadersToAddBuilder(int index)
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.java.util.List<HeaderValueOption.Builder>
getRequestHeadersToAddBuilderList()
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.int
getRequestHeadersToAddCount()
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder>
getRequestHeadersToAddFieldBuilder()
java.util.List<HeaderValueOption>
getRequestHeadersToAddList()
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.HeaderValueOptionOrBuilder
getRequestHeadersToAddOrBuilder(int index)
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.java.util.List<? extends HeaderValueOptionOrBuilder>
getRequestHeadersToAddOrBuilderList()
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.java.lang.String
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
getRequestHeadersToRemoveCount()
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
getRequestHeadersToRemoveList()
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
getResponseBufferSize()
Specifies the size of response buffer in bytes that is used to Payload match.com.google.protobuf.UInt64Value.Builder
getResponseBufferSizeBuilder()
Specifies the size of response buffer in bytes that is used to Payload match.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt64Value,com.google.protobuf.UInt64Value.Builder,com.google.protobuf.UInt64ValueOrBuilder>
getResponseBufferSizeFieldBuilder()
Specifies the size of response buffer in bytes that is used to Payload match.com.google.protobuf.UInt64ValueOrBuilder
getResponseBufferSizeOrBuilder()
Specifies the size of response buffer in bytes that is used to Payload match.Int64Range
getRetriableStatuses(int index)
Specifies a list of HTTP response statuses considered retriable.Int64Range.Builder
getRetriableStatusesBuilder(int index)
Specifies a list of HTTP response statuses considered retriable.java.util.List<Int64Range.Builder>
getRetriableStatusesBuilderList()
Specifies a list of HTTP response statuses considered retriable.int
getRetriableStatusesCount()
Specifies a list of HTTP response statuses considered retriable.private com.google.protobuf.RepeatedFieldBuilder<Int64Range,Int64Range.Builder,Int64RangeOrBuilder>
getRetriableStatusesFieldBuilder()
java.util.List<Int64Range>
getRetriableStatusesList()
Specifies a list of HTTP response statuses considered retriable.Int64RangeOrBuilder
getRetriableStatusesOrBuilder(int index)
Specifies a list of HTTP response statuses considered retriable.java.util.List<? extends Int64RangeOrBuilder>
getRetriableStatusesOrBuilderList()
Specifies a list of HTTP response statuses considered retriable.HealthCheck.Payload
getSend()
[#not-implemented-hide:] HTTP specific payload.HealthCheck.Payload.Builder
getSendBuilder()
[#not-implemented-hide:] HTTP specific payload.private com.google.protobuf.SingleFieldBuilder<HealthCheck.Payload,HealthCheck.Payload.Builder,HealthCheck.PayloadOrBuilder>
getSendFieldBuilder()
[#not-implemented-hide:] HTTP specific payload.HealthCheck.PayloadOrBuilder
getSendOrBuilder()
[#not-implemented-hide:] HTTP specific payload.StringMatcher
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>`.StringMatcher.Builder
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>`.private com.google.protobuf.SingleFieldBuilder<StringMatcher,StringMatcher.Builder,StringMatcherOrBuilder>
getServiceNameMatcherFieldBuilder()
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>`.StringMatcherOrBuilder
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>`.boolean
hasResponseBufferSize()
Specifies the size of response buffer in bytes that is used to Payload match.boolean
hasSend()
[#not-implemented-hide:] HTTP specific payload.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>`.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
HealthCheck.HttpHealthCheck.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
HealthCheck.HttpHealthCheck.Builder
mergeFrom(com.google.protobuf.Message other)
HealthCheck.HttpHealthCheck.Builder
mergeFrom(HealthCheck.HttpHealthCheck other)
HealthCheck.HttpHealthCheck.Builder
mergeResponseBufferSize(com.google.protobuf.UInt64Value value)
Specifies the size of response buffer in bytes that is used to Payload match.HealthCheck.HttpHealthCheck.Builder
mergeSend(HealthCheck.Payload value)
[#not-implemented-hide:] HTTP specific payload.HealthCheck.HttpHealthCheck.Builder
mergeServiceNameMatcher(StringMatcher value)
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>`.HealthCheck.HttpHealthCheck.Builder
removeExpectedStatuses(int index)
Specifies a list of HTTP response statuses considered healthy.HealthCheck.HttpHealthCheck.Builder
removeReceive(int index)
Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.HealthCheck.HttpHealthCheck.Builder
removeRequestHeadersToAdd(int index)
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.HealthCheck.HttpHealthCheck.Builder
removeRetriableStatuses(int index)
Specifies a list of HTTP response statuses considered retriable.HealthCheck.HttpHealthCheck.Builder
setCodecClientType(CodecClientType value)
Use specified application protocol for health checks.HealthCheck.HttpHealthCheck.Builder
setCodecClientTypeValue(int value)
Use specified application protocol for health checks.HealthCheck.HttpHealthCheck.Builder
setExpectedStatuses(int index, Int64Range value)
Specifies a list of HTTP response statuses considered healthy.HealthCheck.HttpHealthCheck.Builder
setExpectedStatuses(int index, Int64Range.Builder builderForValue)
Specifies a list of HTTP response statuses considered healthy.HealthCheck.HttpHealthCheck.Builder
setHost(java.lang.String value)
The value of the host header in the HTTP health check request.HealthCheck.HttpHealthCheck.Builder
setHostBytes(com.google.protobuf.ByteString value)
The value of the host header in the HTTP health check request.HealthCheck.HttpHealthCheck.Builder
setMethod(RequestMethod value)
HTTP Method that will be used for health checking, default is "GET".HealthCheck.HttpHealthCheck.Builder
setMethodValue(int value)
HTTP Method that will be used for health checking, default is "GET".HealthCheck.HttpHealthCheck.Builder
setPath(java.lang.String value)
Specifies the HTTP path that will be requested during health checking.HealthCheck.HttpHealthCheck.Builder
setPathBytes(com.google.protobuf.ByteString value)
Specifies the HTTP path that will be requested during health checking.HealthCheck.HttpHealthCheck.Builder
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.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.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.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.HealthCheck.HttpHealthCheck.Builder
setRequestHeadersToRemove(int index, java.lang.String value)
Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.HealthCheck.HttpHealthCheck.Builder
setResponseBufferSize(com.google.protobuf.UInt64Value value)
Specifies the size of response buffer in bytes that is used to Payload match.HealthCheck.HttpHealthCheck.Builder
setResponseBufferSize(com.google.protobuf.UInt64Value.Builder builderForValue)
Specifies the size of response buffer in bytes that is used to Payload match.HealthCheck.HttpHealthCheck.Builder
setRetriableStatuses(int index, Int64Range value)
Specifies a list of HTTP response statuses considered retriable.HealthCheck.HttpHealthCheck.Builder
setRetriableStatuses(int index, Int64Range.Builder builderForValue)
Specifies a list of HTTP response statuses considered retriable.HealthCheck.HttpHealthCheck.Builder
setSend(HealthCheck.Payload value)
[#not-implemented-hide:] HTTP specific payload.HealthCheck.HttpHealthCheck.Builder
setSend(HealthCheck.Payload.Builder builderForValue)
[#not-implemented-hide:] HTTP specific payload.HealthCheck.HttpHealthCheck.Builder
setServiceNameMatcher(StringMatcher value)
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>`.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>`.-
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
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
host_
private java.lang.Object host_
-
path_
private java.lang.Object path_
-
send_
private HealthCheck.Payload send_
-
sendBuilder_
private com.google.protobuf.SingleFieldBuilder<HealthCheck.Payload,HealthCheck.Payload.Builder,HealthCheck.PayloadOrBuilder> sendBuilder_
-
receive_
private java.util.List<HealthCheck.Payload> receive_
-
receiveBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HealthCheck.Payload,HealthCheck.Payload.Builder,HealthCheck.PayloadOrBuilder> receiveBuilder_
-
responseBufferSize_
private com.google.protobuf.UInt64Value responseBufferSize_
-
responseBufferSizeBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt64Value,com.google.protobuf.UInt64Value.Builder,com.google.protobuf.UInt64ValueOrBuilder> responseBufferSizeBuilder_
-
requestHeadersToAdd_
private java.util.List<HeaderValueOption> requestHeadersToAdd_
-
requestHeadersToAddBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder> requestHeadersToAddBuilder_
-
requestHeadersToRemove_
private com.google.protobuf.LazyStringArrayList requestHeadersToRemove_
-
expectedStatuses_
private java.util.List<Int64Range> expectedStatuses_
-
expectedStatusesBuilder_
private com.google.protobuf.RepeatedFieldBuilder<Int64Range,Int64Range.Builder,Int64RangeOrBuilder> expectedStatusesBuilder_
-
retriableStatuses_
private java.util.List<Int64Range> retriableStatuses_
-
retriableStatusesBuilder_
private com.google.protobuf.RepeatedFieldBuilder<Int64Range,Int64Range.Builder,Int64RangeOrBuilder> retriableStatusesBuilder_
-
codecClientType_
private int codecClientType_
-
serviceNameMatcher_
private StringMatcher serviceNameMatcher_
-
serviceNameMatcherBuilder_
private com.google.protobuf.SingleFieldBuilder<StringMatcher,StringMatcher.Builder,StringMatcherOrBuilder> serviceNameMatcherBuilder_
-
method_
private int method_
-
-
Method Detail
-
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
public HealthCheck.HttpHealthCheck.Builder 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
public HealthCheck.HttpHealthCheck getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public HealthCheck.HttpHealthCheck build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HealthCheck.HttpHealthCheck buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(HealthCheck.HttpHealthCheck result)
-
buildPartial0
private void buildPartial0(HealthCheck.HttpHealthCheck result)
-
mergeFrom
public HealthCheck.HttpHealthCheck.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HealthCheck.HttpHealthCheck.Builder>
-
mergeFrom
public HealthCheck.HttpHealthCheck.Builder mergeFrom(HealthCheck.HttpHealthCheck other)
-
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 java.io.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:
java.io.IOException
-
getHost
public java.lang.String 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
public HealthCheck.HttpHealthCheck.Builder setHost(java.lang.String value)
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
public HealthCheck.HttpHealthCheck.Builder 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
public HealthCheck.HttpHealthCheck.Builder setHostBytes(com.google.protobuf.ByteString value)
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
public java.lang.String 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
public HealthCheck.HttpHealthCheck.Builder setPath(java.lang.String value)
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
public HealthCheck.HttpHealthCheck.Builder 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
public HealthCheck.HttpHealthCheck.Builder setPathBytes(com.google.protobuf.ByteString value)
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
public HealthCheck.Payload 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
public HealthCheck.HttpHealthCheck.Builder setSend(HealthCheck.Payload value)
[#not-implemented-hide:] HTTP specific payload.
.envoy.config.core.v3.HealthCheck.Payload send = 3;
-
setSend
public HealthCheck.HttpHealthCheck.Builder setSend(HealthCheck.Payload.Builder builderForValue)
[#not-implemented-hide:] HTTP specific payload.
.envoy.config.core.v3.HealthCheck.Payload send = 3;
-
mergeSend
public HealthCheck.HttpHealthCheck.Builder mergeSend(HealthCheck.Payload value)
[#not-implemented-hide:] HTTP specific payload.
.envoy.config.core.v3.HealthCheck.Payload send = 3;
-
clearSend
public HealthCheck.HttpHealthCheck.Builder clearSend()
[#not-implemented-hide:] HTTP specific payload.
.envoy.config.core.v3.HealthCheck.Payload send = 3;
-
getSendBuilder
public HealthCheck.Payload.Builder getSendBuilder()
[#not-implemented-hide:] HTTP specific payload.
.envoy.config.core.v3.HealthCheck.Payload send = 3;
-
getSendOrBuilder
public HealthCheck.PayloadOrBuilder getSendOrBuilder()
[#not-implemented-hide:] HTTP specific payload.
.envoy.config.core.v3.HealthCheck.Payload send = 3;
- Specified by:
getSendOrBuilder
in interfaceHealthCheck.HttpHealthCheckOrBuilder
-
getSendFieldBuilder
private com.google.protobuf.SingleFieldBuilder<HealthCheck.Payload,HealthCheck.Payload.Builder,HealthCheck.PayloadOrBuilder> getSendFieldBuilder()
[#not-implemented-hide:] HTTP specific payload.
.envoy.config.core.v3.HealthCheck.Payload send = 3;
-
ensureReceiveIsMutable
private void ensureReceiveIsMutable()
-
getReceiveList
public java.util.List<HealthCheck.Payload> 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
public HealthCheck.Payload getReceive(int index)
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
public HealthCheck.HttpHealthCheck.Builder 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. 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
public HealthCheck.HttpHealthCheck.Builder addReceive(HealthCheck.Payload value)
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 value)
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(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
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(java.lang.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
public HealthCheck.HttpHealthCheck.Builder 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
public HealthCheck.HttpHealthCheck.Builder removeReceive(int index)
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
public HealthCheck.Payload.Builder getReceiveBuilder(int index)
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
public HealthCheck.PayloadOrBuilder getReceiveOrBuilder(int index)
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
public java.util.List<? extends HealthCheck.PayloadOrBuilder> 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
public HealthCheck.Payload.Builder 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
public HealthCheck.Payload.Builder addReceiveBuilder(int index)
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
public java.util.List<HealthCheck.Payload.Builder> 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;
-
getReceiveFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<HealthCheck.Payload,HealthCheck.Payload.Builder,HealthCheck.PayloadOrBuilder> getReceiveFieldBuilder()
-
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
public HealthCheck.HttpHealthCheck.Builder 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
-
getResponseBufferSizeFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt64Value,com.google.protobuf.UInt64Value.Builder,com.google.protobuf.UInt64ValueOrBuilder> getResponseBufferSizeFieldBuilder()
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
public java.util.List<HeaderValueOption> 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
public HeaderValueOption getRequestHeadersToAdd(int index)
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
public HealthCheck.HttpHealthCheck.Builder addRequestHeadersToAdd(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(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(java.lang.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
public HealthCheck.HttpHealthCheck.Builder 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
public HealthCheck.HttpHealthCheck.Builder removeRequestHeadersToAdd(int index)
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
public HeaderValueOption.Builder getRequestHeadersToAddBuilder(int index)
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
public HeaderValueOptionOrBuilder getRequestHeadersToAddOrBuilder(int index)
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
public java.util.List<? extends HeaderValueOptionOrBuilder> 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
public HeaderValueOption.Builder 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
public HeaderValueOption.Builder addRequestHeadersToAddBuilder(int index)
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
public java.util.List<HeaderValueOption.Builder> 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) = { ... }
-
getRequestHeadersToAddFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder> getRequestHeadersToAddFieldBuilder()
-
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
public java.lang.String getRequestHeadersToRemove(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:
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
public HealthCheck.HttpHealthCheck.Builder setRequestHeadersToRemove(int index, java.lang.String 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:
index
- The index to set the value at.value
- The requestHeadersToRemove to set.- Returns:
- This builder for chaining.
-
addRequestHeadersToRemove
public HealthCheck.HttpHealthCheck.Builder addRequestHeadersToRemove(java.lang.String 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 requestHeadersToRemove to add.- Returns:
- This builder for chaining.
-
addAllRequestHeadersToRemove
public HealthCheck.HttpHealthCheck.Builder addAllRequestHeadersToRemove(java.lang.Iterable<java.lang.String> values)
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
public HealthCheck.HttpHealthCheck.Builder 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
public java.util.List<Int64Range> 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
public Int64Range getExpectedStatuses(int index)
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
public HealthCheck.HttpHealthCheck.Builder setExpectedStatuses(int index, Int64Range value)
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
public HealthCheck.HttpHealthCheck.Builder addExpectedStatuses(Int64Range value)
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 value)
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(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
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(java.lang.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
public HealthCheck.HttpHealthCheck.Builder 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
public HealthCheck.HttpHealthCheck.Builder removeExpectedStatuses(int index)
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
public Int64Range.Builder getExpectedStatusesBuilder(int index)
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
public Int64RangeOrBuilder getExpectedStatusesOrBuilder(int index)
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
public java.util.List<? extends Int64RangeOrBuilder> 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
public Int64Range.Builder 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
public Int64Range.Builder addExpectedStatusesBuilder(int index)
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
public java.util.List<Int64Range.Builder> 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;
-
getExpectedStatusesFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<Int64Range,Int64Range.Builder,Int64RangeOrBuilder> getExpectedStatusesFieldBuilder()
-
ensureRetriableStatusesIsMutable
private void ensureRetriableStatusesIsMutable()
-
getRetriableStatusesList
public java.util.List<Int64Range> 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
public Int64Range getRetriableStatuses(int index)
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
public HealthCheck.HttpHealthCheck.Builder setRetriableStatuses(int index, Int64Range value)
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
public HealthCheck.HttpHealthCheck.Builder addRetriableStatuses(Int64Range value)
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 value)
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(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
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(java.lang.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
public HealthCheck.HttpHealthCheck.Builder 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
public HealthCheck.HttpHealthCheck.Builder removeRetriableStatuses(int index)
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
public Int64Range.Builder getRetriableStatusesBuilder(int index)
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
public Int64RangeOrBuilder getRetriableStatusesOrBuilder(int index)
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
public java.util.List<? extends Int64RangeOrBuilder> 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
public Int64Range.Builder 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
public Int64Range.Builder addRetriableStatusesBuilder(int index)
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
public java.util.List<Int64Range.Builder> 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;
-
getRetriableStatusesFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<Int64Range,Int64Range.Builder,Int64RangeOrBuilder> getRetriableStatusesFieldBuilder()
-
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
public HealthCheck.HttpHealthCheck.Builder setCodecClientTypeValue(int value)
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
public CodecClientType 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
public HealthCheck.HttpHealthCheck.Builder setCodecClientType(CodecClientType value)
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
public HealthCheck.HttpHealthCheck.Builder 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
public StringMatcher 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
public HealthCheck.HttpHealthCheck.Builder setServiceNameMatcher(StringMatcher value)
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
public HealthCheck.HttpHealthCheck.Builder mergeServiceNameMatcher(StringMatcher value)
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
public HealthCheck.HttpHealthCheck.Builder 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
public StringMatcher.Builder 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
public StringMatcherOrBuilder 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
-
getServiceNameMatcherFieldBuilder
private com.google.protobuf.SingleFieldBuilder<StringMatcher,StringMatcher.Builder,StringMatcherOrBuilder> getServiceNameMatcherFieldBuilder()
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
public HealthCheck.HttpHealthCheck.Builder setMethodValue(int value)
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
public RequestMethod 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
public HealthCheck.HttpHealthCheck.Builder setMethod(RequestMethod value)
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
public HealthCheck.HttpHealthCheck.Builder 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.
-
-