Package io.envoyproxy.envoy.api.v2.core
Class HealthCheck.HttpHealthCheck
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.api.v2.core.HealthCheck.HttpHealthCheck
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,HealthCheck.HttpHealthCheckOrBuilder,Serializable
- Enclosing class:
- HealthCheck
public static final class HealthCheck.HttpHealthCheck extends com.google.protobuf.GeneratedMessageV3 implements HealthCheck.HttpHealthCheckOrBuilder
[#next-free-field: 12]
Protobuf typeenvoy.api.v2.core.HealthCheck.HttpHealthCheck- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHealthCheck.HttpHealthCheck.Builder[#next-free-field: 12]-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCODEC_CLIENT_TYPE_FIELD_NUMBERstatic intEXPECTED_STATUSES_FIELD_NUMBERstatic intHOST_FIELD_NUMBERstatic intPATH_FIELD_NUMBERstatic intRECEIVE_FIELD_NUMBERstatic intREQUEST_HEADERS_TO_ADD_FIELD_NUMBERstatic intREQUEST_HEADERS_TO_REMOVE_FIELD_NUMBERstatic intSEND_FIELD_NUMBERstatic intSERVICE_NAME_FIELD_NUMBERstatic intSERVICE_NAME_MATCHER_FIELD_NUMBERstatic intUSE_HTTP2_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)CodecClientTypegetCodecClientType()Use specified application protocol for health checks.intgetCodecClientTypeValue()Use specified application protocol for health checks.static HealthCheck.HttpHealthCheckgetDefaultInstance()HealthCheck.HttpHealthCheckgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Int64RangegetExpectedStatuses(int index)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.com.google.protobuf.Parser<HealthCheck.HttpHealthCheck>getParserForType()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.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.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.PayloadOrBuildergetSendOrBuilder()[#not-implemented-hide:] HTTP specific payload.intgetSerializedSize()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>`.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>`.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleangetUseHttp2()Deprecated.envoy.api.v2.core.HealthCheck.HttpHealthCheck.use_http2 is deprecated.inthashCode()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()static HealthCheck.HttpHealthCheck.BuildernewBuilder()static HealthCheck.HttpHealthCheck.BuildernewBuilder(HealthCheck.HttpHealthCheck prototype)HealthCheck.HttpHealthCheck.BuildernewBuilderForType()protected HealthCheck.HttpHealthCheck.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static HealthCheck.HttpHealthCheckparseDelimitedFrom(InputStream input)static HealthCheck.HttpHealthCheckparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HealthCheck.HttpHealthCheckparseFrom(byte[] data)static HealthCheck.HttpHealthCheckparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HealthCheck.HttpHealthCheckparseFrom(com.google.protobuf.ByteString data)static HealthCheck.HttpHealthCheckparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HealthCheck.HttpHealthCheckparseFrom(com.google.protobuf.CodedInputStream input)static HealthCheck.HttpHealthCheckparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HealthCheck.HttpHealthCheckparseFrom(InputStream input)static HealthCheck.HttpHealthCheckparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HealthCheck.HttpHealthCheckparseFrom(ByteBuffer data)static HealthCheck.HttpHealthCheckparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<HealthCheck.HttpHealthCheck>parser()HealthCheck.HttpHealthCheck.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
HOST_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEND_FIELD_NUMBER
public static final int SEND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RECEIVE_FIELD_NUMBER
public static final int RECEIVE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_NAME_FIELD_NUMBER
public static final int SERVICE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUEST_HEADERS_TO_ADD_FIELD_NUMBER
public static final int REQUEST_HEADERS_TO_ADD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUEST_HEADERS_TO_REMOVE_FIELD_NUMBER
public static final int REQUEST_HEADERS_TO_REMOVE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USE_HTTP2_FIELD_NUMBER
public static final int USE_HTTP2_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPECTED_STATUSES_FIELD_NUMBER
public static final int EXPECTED_STATUSES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CODEC_CLIENT_TYPE_FIELD_NUMBER
public static final int CODEC_CLIENT_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_NAME_MATCHER_FIELD_NUMBER
public static final int SERVICE_NAME_MATCHER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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.
-
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.
-
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.
-
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
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static HealthCheck.HttpHealthCheck parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HealthCheck.HttpHealthCheck parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HealthCheck.HttpHealthCheck parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HealthCheck.HttpHealthCheck parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HealthCheck.HttpHealthCheck parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HealthCheck.HttpHealthCheck parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HealthCheck.HttpHealthCheck parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static HealthCheck.HttpHealthCheck parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static HealthCheck.HttpHealthCheck parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static HealthCheck.HttpHealthCheck parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static HealthCheck.HttpHealthCheck parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static HealthCheck.HttpHealthCheck parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public HealthCheck.HttpHealthCheck.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static HealthCheck.HttpHealthCheck.Builder newBuilder()
-
newBuilder
public static HealthCheck.HttpHealthCheck.Builder newBuilder(HealthCheck.HttpHealthCheck prototype)
-
toBuilder
public HealthCheck.HttpHealthCheck.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected HealthCheck.HttpHealthCheck.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static HealthCheck.HttpHealthCheck getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<HealthCheck.HttpHealthCheck> parser()
-
getParserForType
public com.google.protobuf.Parser<HealthCheck.HttpHealthCheck> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public HealthCheck.HttpHealthCheck getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-