Package io.envoyproxy.envoy.api.v2.core
Class HealthCheck.HttpHealthCheck.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HttpHealthCheck.Builder>
-
- io.envoyproxy.envoy.api.v2.core.HealthCheck.HttpHealthCheck.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,HealthCheck.HttpHealthCheckOrBuilder,Cloneable
- Enclosing class:
- HealthCheck.HttpHealthCheck
public static final class HealthCheck.HttpHealthCheck.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HttpHealthCheck.Builder> implements HealthCheck.HttpHealthCheckOrBuilder
[#next-free-field: 12]
Protobuf typeenvoy.api.v2.core.HealthCheck.HttpHealthCheck
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description HealthCheck.HttpHealthCheck.BuilderaddAllExpectedStatuses(Iterable<? extends Int64Range> values)Specifies a list of HTTP response statuses considered healthy.HealthCheck.HttpHealthCheck.BuilderaddAllRequestHeadersToAdd(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.BuilderaddAllRequestHeadersToRemove(Iterable<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.BuilderaddExpectedStatuses(int index, Int64Range value)Specifies a list of HTTP response statuses considered healthy.HealthCheck.HttpHealthCheck.BuilderaddExpectedStatuses(int index, Int64Range.Builder builderForValue)Specifies a list of HTTP response statuses considered healthy.HealthCheck.HttpHealthCheck.BuilderaddExpectedStatuses(Int64Range value)Specifies a list of HTTP response statuses considered healthy.HealthCheck.HttpHealthCheck.BuilderaddExpectedStatuses(Int64Range.Builder builderForValue)Specifies a list of HTTP response statuses considered healthy.Int64Range.BuilderaddExpectedStatusesBuilder()Specifies a list of HTTP response statuses considered healthy.Int64Range.BuilderaddExpectedStatusesBuilder(int index)Specifies a list of HTTP response statuses considered healthy.HealthCheck.HttpHealthCheck.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HealthCheck.HttpHealthCheck.BuilderaddRequestHeadersToAdd(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.BuilderaddRequestHeadersToAdd(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.BuilderaddRequestHeadersToAdd(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.BuilderaddRequestHeadersToAdd(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.BuilderaddRequestHeadersToAddBuilder()Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.HeaderValueOption.BuilderaddRequestHeadersToAddBuilder(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.BuilderaddRequestHeadersToRemove(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.BuilderaddRequestHeadersToRemoveBytes(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.HttpHealthCheckbuild()HealthCheck.HttpHealthCheckbuildPartial()HealthCheck.HttpHealthCheck.Builderclear()HealthCheck.HttpHealthCheck.BuilderclearCodecClientType()Use specified application protocol for health checks.HealthCheck.HttpHealthCheck.BuilderclearExpectedStatuses()Specifies a list of HTTP response statuses considered healthy.HealthCheck.HttpHealthCheck.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)HealthCheck.HttpHealthCheck.BuilderclearHost()The value of the host header in the HTTP health check request.HealthCheck.HttpHealthCheck.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)HealthCheck.HttpHealthCheck.BuilderclearPath()Specifies the HTTP path that will be requested during health checking.HealthCheck.HttpHealthCheck.BuilderclearReceive()[#not-implemented-hide:] HTTP specific response.HealthCheck.HttpHealthCheck.BuilderclearRequestHeadersToAdd()Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.HealthCheck.HttpHealthCheck.BuilderclearRequestHeadersToRemove()Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.HealthCheck.HttpHealthCheck.BuilderclearSend()[#not-implemented-hide:] HTTP specific payload.HealthCheck.HttpHealthCheck.BuilderclearServiceName()Deprecated.envoy.api.v2.core.HealthCheck.HttpHealthCheck.service_name is deprecated.HealthCheck.HttpHealthCheck.BuilderclearServiceNameMatcher()An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_api_msg_type.matcher.StringMatcher>`.HealthCheck.HttpHealthCheck.BuilderclearUseHttp2()Deprecated.envoy.api.v2.core.HealthCheck.HttpHealthCheck.use_http2 is deprecated.HealthCheck.HttpHealthCheck.Builderclone()CodecClientTypegetCodecClientType()Use specified application protocol for health checks.intgetCodecClientTypeValue()Use specified application protocol for health checks.HealthCheck.HttpHealthCheckgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Int64RangegetExpectedStatuses(int index)Specifies a list of HTTP response statuses considered healthy.Int64Range.BuildergetExpectedStatusesBuilder(int index)Specifies a list of HTTP response statuses considered healthy.List<Int64Range.Builder>getExpectedStatusesBuilderList()Specifies a list of HTTP response statuses considered healthy.intgetExpectedStatusesCount()Specifies a list of HTTP response statuses considered healthy.List<Int64Range>getExpectedStatusesList()Specifies a list of HTTP response statuses considered healthy.Int64RangeOrBuildergetExpectedStatusesOrBuilder(int index)Specifies a list of HTTP response statuses considered healthy.List<? extends Int64RangeOrBuilder>getExpectedStatusesOrBuilderList()Specifies a list of HTTP response statuses considered healthy.StringgetHost()The value of the host header in the HTTP health check request.com.google.protobuf.ByteStringgetHostBytes()The value of the host header in the HTTP health check request.StringgetPath()Specifies the HTTP path that will be requested during health checking.com.google.protobuf.ByteStringgetPathBytes()Specifies the HTTP path that will be requested during health checking.HealthCheck.PayloadgetReceive()[#not-implemented-hide:] HTTP specific response.HealthCheck.Payload.BuildergetReceiveBuilder()[#not-implemented-hide:] HTTP specific response.HealthCheck.PayloadOrBuildergetReceiveOrBuilder()[#not-implemented-hide:] HTTP specific response.HeaderValueOptiongetRequestHeadersToAdd(int index)Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.HeaderValueOption.BuildergetRequestHeadersToAddBuilder(int index)Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.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.intgetRequestHeadersToAddCount()Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.List<HeaderValueOption>getRequestHeadersToAddList()Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.HeaderValueOptionOrBuildergetRequestHeadersToAddOrBuilder(int index)Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.List<? extends HeaderValueOptionOrBuilder>getRequestHeadersToAddOrBuilderList()Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster.StringgetRequestHeadersToRemove(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.ByteStringgetRequestHeadersToRemoveBytes(int index)Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.intgetRequestHeadersToRemoveCount()Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.com.google.protobuf.ProtocolStringListgetRequestHeadersToRemoveList()Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.HealthCheck.PayloadgetSend()[#not-implemented-hide:] HTTP specific payload.HealthCheck.Payload.BuildergetSendBuilder()[#not-implemented-hide:] HTTP specific payload.HealthCheck.PayloadOrBuildergetSendOrBuilder()[#not-implemented-hide:] HTTP specific payload.StringgetServiceName()Deprecated.envoy.api.v2.core.HealthCheck.HttpHealthCheck.service_name is deprecated.com.google.protobuf.ByteStringgetServiceNameBytes()Deprecated.envoy.api.v2.core.HealthCheck.HttpHealthCheck.service_name is deprecated.StringMatchergetServiceNameMatcher()An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_api_msg_type.matcher.StringMatcher>`.StringMatcher.BuildergetServiceNameMatcherBuilder()An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_api_msg_type.matcher.StringMatcher>`.StringMatcherOrBuildergetServiceNameMatcherOrBuilder()An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_api_msg_type.matcher.StringMatcher>`.booleangetUseHttp2()Deprecated.envoy.api.v2.core.HealthCheck.HttpHealthCheck.use_http2 is deprecated.booleanhasReceive()[#not-implemented-hide:] HTTP specific response.booleanhasSend()[#not-implemented-hide:] HTTP specific payload.booleanhasServiceNameMatcher()An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_api_msg_type.matcher.StringMatcher>`.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()HealthCheck.HttpHealthCheck.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)HealthCheck.HttpHealthCheck.BuildermergeFrom(com.google.protobuf.Message other)HealthCheck.HttpHealthCheck.BuildermergeFrom(HealthCheck.HttpHealthCheck other)HealthCheck.HttpHealthCheck.BuildermergeReceive(HealthCheck.Payload value)[#not-implemented-hide:] HTTP specific response.HealthCheck.HttpHealthCheck.BuildermergeSend(HealthCheck.Payload value)[#not-implemented-hide:] HTTP specific payload.HealthCheck.HttpHealthCheck.BuildermergeServiceNameMatcher(StringMatcher value)An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_api_msg_type.matcher.StringMatcher>`.HealthCheck.HttpHealthCheck.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)HealthCheck.HttpHealthCheck.BuilderremoveExpectedStatuses(int index)Specifies a list of HTTP response statuses considered healthy.HealthCheck.HttpHealthCheck.BuilderremoveRequestHeadersToAdd(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.BuildersetCodecClientType(CodecClientType value)Use specified application protocol for health checks.HealthCheck.HttpHealthCheck.BuildersetCodecClientTypeValue(int value)Use specified application protocol for health checks.HealthCheck.HttpHealthCheck.BuildersetExpectedStatuses(int index, Int64Range value)Specifies a list of HTTP response statuses considered healthy.HealthCheck.HttpHealthCheck.BuildersetExpectedStatuses(int index, Int64Range.Builder builderForValue)Specifies a list of HTTP response statuses considered healthy.HealthCheck.HttpHealthCheck.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HealthCheck.HttpHealthCheck.BuildersetHost(String value)The value of the host header in the HTTP health check request.HealthCheck.HttpHealthCheck.BuildersetHostBytes(com.google.protobuf.ByteString value)The value of the host header in the HTTP health check request.HealthCheck.HttpHealthCheck.BuildersetPath(String value)Specifies the HTTP path that will be requested during health checking.HealthCheck.HttpHealthCheck.BuildersetPathBytes(com.google.protobuf.ByteString value)Specifies the HTTP path that will be requested during health checking.HealthCheck.HttpHealthCheck.BuildersetReceive(HealthCheck.Payload value)[#not-implemented-hide:] HTTP specific response.HealthCheck.HttpHealthCheck.BuildersetReceive(HealthCheck.Payload.Builder builderForValue)[#not-implemented-hide:] HTTP specific response.HealthCheck.HttpHealthCheck.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)HealthCheck.HttpHealthCheck.BuildersetRequestHeadersToAdd(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.BuildersetRequestHeadersToAdd(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.BuildersetRequestHeadersToRemove(int index, String value)Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.HealthCheck.HttpHealthCheck.BuildersetSend(HealthCheck.Payload value)[#not-implemented-hide:] HTTP specific payload.HealthCheck.HttpHealthCheck.BuildersetSend(HealthCheck.Payload.Builder builderForValue)[#not-implemented-hide:] HTTP specific payload.HealthCheck.HttpHealthCheck.BuildersetServiceName(String value)Deprecated.envoy.api.v2.core.HealthCheck.HttpHealthCheck.service_name is deprecated.HealthCheck.HttpHealthCheck.BuildersetServiceNameBytes(com.google.protobuf.ByteString value)Deprecated.envoy.api.v2.core.HealthCheck.HttpHealthCheck.service_name is deprecated.HealthCheck.HttpHealthCheck.BuildersetServiceNameMatcher(StringMatcher value)An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_api_msg_type.matcher.StringMatcher>`.HealthCheck.HttpHealthCheck.BuildersetServiceNameMatcher(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_api_msg_type.matcher.StringMatcher>`.HealthCheck.HttpHealthCheck.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)HealthCheck.HttpHealthCheck.BuildersetUseHttp2(boolean value)Deprecated.envoy.api.v2.core.HealthCheck.HttpHealthCheck.use_http2 is deprecated.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HttpHealthCheck.Builder>
-
clear
public HealthCheck.HttpHealthCheck.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HttpHealthCheck.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HttpHealthCheck.Builder>
-
getDefaultInstanceForType
public HealthCheck.HttpHealthCheck getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public HealthCheck.HttpHealthCheck build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HealthCheck.HttpHealthCheck buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public HealthCheck.HttpHealthCheck.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HttpHealthCheck.Builder>
-
setField
public HealthCheck.HttpHealthCheck.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HttpHealthCheck.Builder>
-
clearField
public HealthCheck.HttpHealthCheck.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HttpHealthCheck.Builder>
-
clearOneof
public HealthCheck.HttpHealthCheck.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HttpHealthCheck.Builder>
-
setRepeatedField
public HealthCheck.HttpHealthCheck.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HttpHealthCheck.Builder>
-
addRepeatedField
public HealthCheck.HttpHealthCheck.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HttpHealthCheck.Builder>
-
mergeFrom
public HealthCheck.HttpHealthCheck.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HealthCheck.HttpHealthCheck.Builder>
-
mergeFrom
public HealthCheck.HttpHealthCheck.Builder mergeFrom(HealthCheck.HttpHealthCheck other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HttpHealthCheck.Builder>
-
mergeFrom
public HealthCheck.HttpHealthCheck.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HealthCheck.HttpHealthCheck.Builder>- Throws:
IOException
-
getHost
public 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_api_field_endpoint.Endpoint.HealthCheckConfig.hostname>` field.
string host = 1;- Specified by:
getHostin 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_api_field_endpoint.Endpoint.HealthCheckConfig.hostname>` field.
string host = 1;- Specified by:
getHostBytesin interfaceHealthCheck.HttpHealthCheckOrBuilder- Returns:
- The bytes for host.
-
setHost
public HealthCheck.HttpHealthCheck.Builder setHost(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_api_field_endpoint.Endpoint.HealthCheckConfig.hostname>` field.
string host = 1;- 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_api_field_endpoint.Endpoint.HealthCheckConfig.hostname>` field.
string host = 1;- 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_api_field_endpoint.Endpoint.HealthCheckConfig.hostname>` field.
string host = 1;- Parameters:
value- The bytes for host to set.- Returns:
- This builder for chaining.
-
getPath
public String getPath()
Specifies the HTTP path that will be requested during health checking. For example */healthcheck*.
string path = 2 [(.validate.rules) = { ... }- Specified by:
getPathin 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:
getPathBytesin interfaceHealthCheck.HttpHealthCheckOrBuilder- Returns:
- The bytes for path.
-
setPath
public HealthCheck.HttpHealthCheck.Builder setPath(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.api.v2.core.HealthCheck.Payload send = 3;- Specified by:
hasSendin interfaceHealthCheck.HttpHealthCheckOrBuilder- Returns:
- Whether the send field is set.
-
getSend
public HealthCheck.Payload getSend()
[#not-implemented-hide:] HTTP specific payload.
.envoy.api.v2.core.HealthCheck.Payload send = 3;- Specified by:
getSendin interfaceHealthCheck.HttpHealthCheckOrBuilder- Returns:
- The send.
-
setSend
public HealthCheck.HttpHealthCheck.Builder setSend(HealthCheck.Payload value)
[#not-implemented-hide:] HTTP specific payload.
.envoy.api.v2.core.HealthCheck.Payload send = 3;
-
setSend
public HealthCheck.HttpHealthCheck.Builder setSend(HealthCheck.Payload.Builder builderForValue)
[#not-implemented-hide:] HTTP specific payload.
.envoy.api.v2.core.HealthCheck.Payload send = 3;
-
mergeSend
public HealthCheck.HttpHealthCheck.Builder mergeSend(HealthCheck.Payload value)
[#not-implemented-hide:] HTTP specific payload.
.envoy.api.v2.core.HealthCheck.Payload send = 3;
-
clearSend
public HealthCheck.HttpHealthCheck.Builder clearSend()
[#not-implemented-hide:] HTTP specific payload.
.envoy.api.v2.core.HealthCheck.Payload send = 3;
-
getSendBuilder
public HealthCheck.Payload.Builder getSendBuilder()
[#not-implemented-hide:] HTTP specific payload.
.envoy.api.v2.core.HealthCheck.Payload send = 3;
-
getSendOrBuilder
public HealthCheck.PayloadOrBuilder getSendOrBuilder()
[#not-implemented-hide:] HTTP specific payload.
.envoy.api.v2.core.HealthCheck.Payload send = 3;- Specified by:
getSendOrBuilderin interfaceHealthCheck.HttpHealthCheckOrBuilder
-
hasReceive
public boolean hasReceive()
[#not-implemented-hide:] HTTP specific response.
.envoy.api.v2.core.HealthCheck.Payload receive = 4;- Specified by:
hasReceivein interfaceHealthCheck.HttpHealthCheckOrBuilder- Returns:
- Whether the receive field is set.
-
getReceive
public HealthCheck.Payload getReceive()
[#not-implemented-hide:] HTTP specific response.
.envoy.api.v2.core.HealthCheck.Payload receive = 4;- Specified by:
getReceivein interfaceHealthCheck.HttpHealthCheckOrBuilder- Returns:
- The receive.
-
setReceive
public HealthCheck.HttpHealthCheck.Builder setReceive(HealthCheck.Payload value)
[#not-implemented-hide:] HTTP specific response.
.envoy.api.v2.core.HealthCheck.Payload receive = 4;
-
setReceive
public HealthCheck.HttpHealthCheck.Builder setReceive(HealthCheck.Payload.Builder builderForValue)
[#not-implemented-hide:] HTTP specific response.
.envoy.api.v2.core.HealthCheck.Payload receive = 4;
-
mergeReceive
public HealthCheck.HttpHealthCheck.Builder mergeReceive(HealthCheck.Payload value)
[#not-implemented-hide:] HTTP specific response.
.envoy.api.v2.core.HealthCheck.Payload receive = 4;
-
clearReceive
public HealthCheck.HttpHealthCheck.Builder clearReceive()
[#not-implemented-hide:] HTTP specific response.
.envoy.api.v2.core.HealthCheck.Payload receive = 4;
-
getReceiveBuilder
public HealthCheck.Payload.Builder getReceiveBuilder()
[#not-implemented-hide:] HTTP specific response.
.envoy.api.v2.core.HealthCheck.Payload receive = 4;
-
getReceiveOrBuilder
public HealthCheck.PayloadOrBuilder getReceiveOrBuilder()
[#not-implemented-hide:] HTTP specific response.
.envoy.api.v2.core.HealthCheck.Payload receive = 4;- Specified by:
getReceiveOrBuilderin interfaceHealthCheck.HttpHealthCheckOrBuilder
-
getServiceName
@Deprecated public String getServiceName()
Deprecated.envoy.api.v2.core.HealthCheck.HttpHealthCheck.service_name is deprecated. See envoy/api/v2/core/health_check.proto;l=99An optional service name parameter which is used to validate the identity of the health checked cluster. See the :ref:`architecture overview <arch_overview_health_checking_identity>` for more information. .. attention:: This field has been deprecated in favor of `service_name_matcher` for better flexibility over matching with service-cluster name.
string service_name = 5 [deprecated = true];- Specified by:
getServiceNamein interfaceHealthCheck.HttpHealthCheckOrBuilder- Returns:
- The serviceName.
-
getServiceNameBytes
@Deprecated public com.google.protobuf.ByteString getServiceNameBytes()
Deprecated.envoy.api.v2.core.HealthCheck.HttpHealthCheck.service_name is deprecated. See envoy/api/v2/core/health_check.proto;l=99An optional service name parameter which is used to validate the identity of the health checked cluster. See the :ref:`architecture overview <arch_overview_health_checking_identity>` for more information. .. attention:: This field has been deprecated in favor of `service_name_matcher` for better flexibility over matching with service-cluster name.
string service_name = 5 [deprecated = true];- Specified by:
getServiceNameBytesin interfaceHealthCheck.HttpHealthCheckOrBuilder- Returns:
- The bytes for serviceName.
-
setServiceName
@Deprecated public HealthCheck.HttpHealthCheck.Builder setServiceName(String value)
Deprecated.envoy.api.v2.core.HealthCheck.HttpHealthCheck.service_name is deprecated. See envoy/api/v2/core/health_check.proto;l=99An optional service name parameter which is used to validate the identity of the health checked cluster. See the :ref:`architecture overview <arch_overview_health_checking_identity>` for more information. .. attention:: This field has been deprecated in favor of `service_name_matcher` for better flexibility over matching with service-cluster name.
string service_name = 5 [deprecated = true];- Parameters:
value- The serviceName to set.- Returns:
- This builder for chaining.
-
clearServiceName
@Deprecated public HealthCheck.HttpHealthCheck.Builder clearServiceName()
Deprecated.envoy.api.v2.core.HealthCheck.HttpHealthCheck.service_name is deprecated. See envoy/api/v2/core/health_check.proto;l=99An optional service name parameter which is used to validate the identity of the health checked cluster. See the :ref:`architecture overview <arch_overview_health_checking_identity>` for more information. .. attention:: This field has been deprecated in favor of `service_name_matcher` for better flexibility over matching with service-cluster name.
string service_name = 5 [deprecated = true];- Returns:
- This builder for chaining.
-
setServiceNameBytes
@Deprecated public HealthCheck.HttpHealthCheck.Builder setServiceNameBytes(com.google.protobuf.ByteString value)
Deprecated.envoy.api.v2.core.HealthCheck.HttpHealthCheck.service_name is deprecated. See envoy/api/v2/core/health_check.proto;l=99An optional service name parameter which is used to validate the identity of the health checked cluster. See the :ref:`architecture overview <arch_overview_health_checking_identity>` for more information. .. attention:: This field has been deprecated in favor of `service_name_matcher` for better flexibility over matching with service-cluster name.
string service_name = 5 [deprecated = true];- Parameters:
value- The bytes for serviceName to set.- Returns:
- This builder for chaining.
-
getRequestHeadersToAddList
public 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.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddListin 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.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddCountin 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.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddin 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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
addAllRequestHeadersToAdd
public HealthCheck.HttpHealthCheck.Builder addAllRequestHeadersToAdd(Iterable<? extends HeaderValueOption> values)
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddOrBuilderin interfaceHealthCheck.HttpHealthCheckOrBuilder
-
getRequestHeadersToAddOrBuilderList
public 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.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddOrBuilderListin 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.api.v2.core.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.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
getRequestHeadersToAddBuilderList
public 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.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
-
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;- Specified by:
getRequestHeadersToRemoveListin 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;- Specified by:
getRequestHeadersToRemoveCountin interfaceHealthCheck.HttpHealthCheckOrBuilder- Returns:
- The count of requestHeadersToRemove.
-
getRequestHeadersToRemove
public 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;- Specified by:
getRequestHeadersToRemovein 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;- Specified by:
getRequestHeadersToRemoveBytesin 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, 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;- 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(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;- Parameters:
value- The requestHeadersToRemove to add.- Returns:
- This builder for chaining.
-
addAllRequestHeadersToRemove
public HealthCheck.HttpHealthCheck.Builder addAllRequestHeadersToRemove(Iterable<String> values)
Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.
repeated string request_headers_to_remove = 8;- 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;- 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;- Parameters:
value- The bytes of the requestHeadersToRemove to add.- Returns:
- This builder for chaining.
-
getUseHttp2
@Deprecated public boolean getUseHttp2()
Deprecated.envoy.api.v2.core.HealthCheck.HttpHealthCheck.use_http2 is deprecated. See envoy/api/v2/core/health_check.proto;l=115If set, health checks will be made using http/2. Deprecated, use :ref:`codec_client_type <envoy_api_field_core.HealthCheck.HttpHealthCheck.codec_client_type>` instead.
bool use_http2 = 7 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true];- Specified by:
getUseHttp2in interfaceHealthCheck.HttpHealthCheckOrBuilder- Returns:
- The useHttp2.
-
setUseHttp2
@Deprecated public HealthCheck.HttpHealthCheck.Builder setUseHttp2(boolean value)
Deprecated.envoy.api.v2.core.HealthCheck.HttpHealthCheck.use_http2 is deprecated. See envoy/api/v2/core/health_check.proto;l=115If set, health checks will be made using http/2. Deprecated, use :ref:`codec_client_type <envoy_api_field_core.HealthCheck.HttpHealthCheck.codec_client_type>` instead.
bool use_http2 = 7 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true];- Parameters:
value- The useHttp2 to set.- Returns:
- This builder for chaining.
-
clearUseHttp2
@Deprecated public HealthCheck.HttpHealthCheck.Builder clearUseHttp2()
Deprecated.envoy.api.v2.core.HealthCheck.HttpHealthCheck.use_http2 is deprecated. See envoy/api/v2/core/health_check.proto;l=115If set, health checks will be made using http/2. Deprecated, use :ref:`codec_client_type <envoy_api_field_core.HealthCheck.HttpHealthCheck.codec_client_type>` instead.
bool use_http2 = 7 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true];- Returns:
- This builder for chaining.
-
getExpectedStatusesList
public 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_api_msg_type.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.Int64Range expected_statuses = 9;- Specified by:
getExpectedStatusesListin 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_api_msg_type.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.Int64Range expected_statuses = 9;- Specified by:
getExpectedStatusesCountin 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_api_msg_type.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.Int64Range expected_statuses = 9;- Specified by:
getExpectedStatusesin 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_api_msg_type.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.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_api_msg_type.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.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_api_msg_type.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.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_api_msg_type.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.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_api_msg_type.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.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_api_msg_type.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.Int64Range expected_statuses = 9;
-
addAllExpectedStatuses
public HealthCheck.HttpHealthCheck.Builder addAllExpectedStatuses(Iterable<? extends Int64Range> values)
Specifies a list of HTTP response statuses considered healthy. If provided, replaces default 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open semantics of :ref:`Int64Range <envoy_api_msg_type.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.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_api_msg_type.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.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_api_msg_type.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.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_api_msg_type.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.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_api_msg_type.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.Int64Range expected_statuses = 9;- Specified by:
getExpectedStatusesOrBuilderin interfaceHealthCheck.HttpHealthCheckOrBuilder
-
getExpectedStatusesOrBuilderList
public 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_api_msg_type.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.Int64Range expected_statuses = 9;- Specified by:
getExpectedStatusesOrBuilderListin 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_api_msg_type.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.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_api_msg_type.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.Int64Range expected_statuses = 9;
-
getExpectedStatusesBuilderList
public 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_api_msg_type.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.Int64Range expected_statuses = 9;
-
getCodecClientTypeValue
public int getCodecClientTypeValue()
Use specified application protocol for health checks.
.envoy.type.CodecClientType codec_client_type = 10 [(.validate.rules) = { ... }- Specified by:
getCodecClientTypeValuein 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.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.CodecClientType codec_client_type = 10 [(.validate.rules) = { ... }- Specified by:
getCodecClientTypein interfaceHealthCheck.HttpHealthCheckOrBuilder- Returns:
- The codecClientType.
-
setCodecClientType
public HealthCheck.HttpHealthCheck.Builder setCodecClientType(CodecClientType value)
Use specified application protocol for health checks.
.envoy.type.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.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_api_msg_type.matcher.StringMatcher>`. See the :ref:`architecture overview <arch_overview_health_checking_identity>` for more information.
.envoy.type.matcher.StringMatcher service_name_matcher = 11;- Specified by:
hasServiceNameMatcherin 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_api_msg_type.matcher.StringMatcher>`. See the :ref:`architecture overview <arch_overview_health_checking_identity>` for more information.
.envoy.type.matcher.StringMatcher service_name_matcher = 11;- Specified by:
getServiceNameMatcherin 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_api_msg_type.matcher.StringMatcher>`. See the :ref:`architecture overview <arch_overview_health_checking_identity>` for more information.
.envoy.type.matcher.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_api_msg_type.matcher.StringMatcher>`. See the :ref:`architecture overview <arch_overview_health_checking_identity>` for more information.
.envoy.type.matcher.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_api_msg_type.matcher.StringMatcher>`. See the :ref:`architecture overview <arch_overview_health_checking_identity>` for more information.
.envoy.type.matcher.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_api_msg_type.matcher.StringMatcher>`. See the :ref:`architecture overview <arch_overview_health_checking_identity>` for more information.
.envoy.type.matcher.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_api_msg_type.matcher.StringMatcher>`. See the :ref:`architecture overview <arch_overview_health_checking_identity>` for more information.
.envoy.type.matcher.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_api_msg_type.matcher.StringMatcher>`. See the :ref:`architecture overview <arch_overview_health_checking_identity>` for more information.
.envoy.type.matcher.StringMatcher service_name_matcher = 11;- Specified by:
getServiceNameMatcherOrBuilderin interfaceHealthCheck.HttpHealthCheckOrBuilder
-
setUnknownFields
public final HealthCheck.HttpHealthCheck.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HttpHealthCheck.Builder>
-
mergeUnknownFields
public final HealthCheck.HttpHealthCheck.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HttpHealthCheck.Builder>
-
-