Class HealthCheck.HttpHealthCheck

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, HealthCheck.HttpHealthCheckOrBuilder, java.io.Serializable
    Enclosing class:
    HealthCheck

    public static final class HealthCheck.HttpHealthCheck
    extends com.google.protobuf.GeneratedMessage
    implements HealthCheck.HttpHealthCheckOrBuilder
     [#next-free-field: 15]
     
    Protobuf type envoy.config.core.v3.HealthCheck.HttpHealthCheck
    See Also:
    Serialized Form
    • Field Detail

      • bitField0_

        private int bitField0_
      • host_

        private volatile java.lang.Object host_
      • path_

        private volatile java.lang.Object path_
      • RESPONSE_BUFFER_SIZE_FIELD_NUMBER

        public static final int RESPONSE_BUFFER_SIZE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • responseBufferSize_

        private com.google.protobuf.UInt64Value responseBufferSize_
      • REQUEST_HEADERS_TO_ADD_FIELD_NUMBER

        public static final int REQUEST_HEADERS_TO_ADD_FIELD_NUMBER
        See Also:
        Constant Field Values
      • requestHeadersToAdd_

        private java.util.List<HeaderValueOption> requestHeadersToAdd_
      • REQUEST_HEADERS_TO_REMOVE_FIELD_NUMBER

        public static final int REQUEST_HEADERS_TO_REMOVE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • requestHeadersToRemove_

        private com.google.protobuf.LazyStringArrayList requestHeadersToRemove_
      • EXPECTED_STATUSES_FIELD_NUMBER

        public static final int EXPECTED_STATUSES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • expectedStatuses_

        private java.util.List<Int64Range> expectedStatuses_
      • RETRIABLE_STATUSES_FIELD_NUMBER

        public static final int RETRIABLE_STATUSES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • retriableStatuses_

        private java.util.List<Int64Range> retriableStatuses_
      • CODEC_CLIENT_TYPE_FIELD_NUMBER

        public static final int CODEC_CLIENT_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • codecClientType_

        private int codecClientType_
      • SERVICE_NAME_MATCHER_FIELD_NUMBER

        public static final int SERVICE_NAME_MATCHER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • method_

        private int method_
      • memoizedIsInitialized

        private byte memoizedIsInitialized
    • Constructor Detail

      • HttpHealthCheck

        private HttpHealthCheck​(com.google.protobuf.GeneratedMessage.Builder<?> builder)
      • HttpHealthCheck

        private HttpHealthCheck()
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
      • getHost

        public java.lang.String getHost()
         The value of the host header in the HTTP health check request. If
         left empty (default value), the name of the cluster this health check is associated
         with will be used. The host header can be customized for a specific endpoint by setting the
         :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.HealthCheckConfig.hostname>` field.
         
        string host = 1 [(.validate.rules) = { ... }
        Specified by:
        getHost in interface HealthCheck.HttpHealthCheckOrBuilder
        Returns:
        The host.
      • getHostBytes

        public com.google.protobuf.ByteString getHostBytes()
         The value of the host header in the HTTP health check request. If
         left empty (default value), the name of the cluster this health check is associated
         with will be used. The host header can be customized for a specific endpoint by setting the
         :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.HealthCheckConfig.hostname>` field.
         
        string host = 1 [(.validate.rules) = { ... }
        Specified by:
        getHostBytes in interface HealthCheck.HttpHealthCheckOrBuilder
        Returns:
        The bytes for host.
      • getPath

        public java.lang.String getPath()
         Specifies the HTTP path that will be requested during health checking. For example
         ``/healthcheck``.
         
        string path = 2 [(.validate.rules) = { ... }
        Specified by:
        getPath in interface HealthCheck.HttpHealthCheckOrBuilder
        Returns:
        The path.
      • getPathBytes

        public com.google.protobuf.ByteString getPathBytes()
         Specifies the HTTP path that will be requested during health checking. For example
         ``/healthcheck``.
         
        string path = 2 [(.validate.rules) = { ... }
        Specified by:
        getPathBytes in interface HealthCheck.HttpHealthCheckOrBuilder
        Returns:
        The bytes for path.
      • hasSend

        public boolean hasSend()
         [#not-implemented-hide:] HTTP specific payload.
         
        .envoy.config.core.v3.HealthCheck.Payload send = 3;
        Specified by:
        hasSend in interface HealthCheck.HttpHealthCheckOrBuilder
        Returns:
        Whether the send field is set.
      • getReceiveList

        public java.util.List<HealthCheck.Payload> getReceiveList()
         Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.
         If it is set, both the expected response check and status code determine the health check.
         When checking the response, “fuzzy” matching is performed such that each payload block must be found,
         and in the order specified, but not necessarily contiguous.
        
         .. note::
        
         It is recommended to set ``response_buffer_size`` based on the total Payload size for efficiency.
         The default buffer size is 1024 bytes when it is not set.
         
        repeated .envoy.config.core.v3.HealthCheck.Payload receive = 4;
        Specified by:
        getReceiveList in interface HealthCheck.HttpHealthCheckOrBuilder
      • getReceiveOrBuilderList

        public java.util.List<? extends HealthCheck.PayloadOrBuilder> getReceiveOrBuilderList()
         Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.
         If it is set, both the expected response check and status code determine the health check.
         When checking the response, “fuzzy” matching is performed such that each payload block must be found,
         and in the order specified, but not necessarily contiguous.
        
         .. note::
        
         It is recommended to set ``response_buffer_size`` based on the total Payload size for efficiency.
         The default buffer size is 1024 bytes when it is not set.
         
        repeated .envoy.config.core.v3.HealthCheck.Payload receive = 4;
        Specified by:
        getReceiveOrBuilderList in interface HealthCheck.HttpHealthCheckOrBuilder
      • getReceiveCount

        public int getReceiveCount()
         Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.
         If it is set, both the expected response check and status code determine the health check.
         When checking the response, “fuzzy” matching is performed such that each payload block must be found,
         and in the order specified, but not necessarily contiguous.
        
         .. note::
        
         It is recommended to set ``response_buffer_size`` based on the total Payload size for efficiency.
         The default buffer size is 1024 bytes when it is not set.
         
        repeated .envoy.config.core.v3.HealthCheck.Payload receive = 4;
        Specified by:
        getReceiveCount in interface HealthCheck.HttpHealthCheckOrBuilder
      • getReceive

        public HealthCheck.Payload getReceive​(int index)
         Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.
         If it is set, both the expected response check and status code determine the health check.
         When checking the response, “fuzzy” matching is performed such that each payload block must be found,
         and in the order specified, but not necessarily contiguous.
        
         .. note::
        
         It is recommended to set ``response_buffer_size`` based on the total Payload size for efficiency.
         The default buffer size is 1024 bytes when it is not set.
         
        repeated .envoy.config.core.v3.HealthCheck.Payload receive = 4;
        Specified by:
        getReceive in interface HealthCheck.HttpHealthCheckOrBuilder
      • getReceiveOrBuilder

        public HealthCheck.PayloadOrBuilder getReceiveOrBuilder​(int index)
         Specifies a list of HTTP expected responses to match in the first ``response_buffer_size`` bytes of the response body.
         If it is set, both the expected response check and status code determine the health check.
         When checking the response, “fuzzy” matching is performed such that each payload block must be found,
         and in the order specified, but not necessarily contiguous.
        
         .. note::
        
         It is recommended to set ``response_buffer_size`` based on the total Payload size for efficiency.
         The default buffer size is 1024 bytes when it is not set.
         
        repeated .envoy.config.core.v3.HealthCheck.Payload receive = 4;
        Specified by:
        getReceiveOrBuilder in interface HealthCheck.HttpHealthCheckOrBuilder
      • hasResponseBufferSize

        public boolean hasResponseBufferSize()
         Specifies the size of response buffer in bytes that is used to Payload match.
         The default value is 1024. Setting to 0 implies that the Payload will be matched against the entire response.
         
        .google.protobuf.UInt64Value response_buffer_size = 14 [(.validate.rules) = { ... }
        Specified by:
        hasResponseBufferSize in interface HealthCheck.HttpHealthCheckOrBuilder
        Returns:
        Whether the responseBufferSize field is set.
      • getResponseBufferSize

        public com.google.protobuf.UInt64Value getResponseBufferSize()
         Specifies the size of response buffer in bytes that is used to Payload match.
         The default value is 1024. Setting to 0 implies that the Payload will be matched against the entire response.
         
        .google.protobuf.UInt64Value response_buffer_size = 14 [(.validate.rules) = { ... }
        Specified by:
        getResponseBufferSize in interface HealthCheck.HttpHealthCheckOrBuilder
        Returns:
        The responseBufferSize.
      • getResponseBufferSizeOrBuilder

        public com.google.protobuf.UInt64ValueOrBuilder getResponseBufferSizeOrBuilder()
         Specifies the size of response buffer in bytes that is used to Payload match.
         The default value is 1024. Setting to 0 implies that the Payload will be matched against the entire response.
         
        .google.protobuf.UInt64Value response_buffer_size = 14 [(.validate.rules) = { ... }
        Specified by:
        getResponseBufferSizeOrBuilder in interface HealthCheck.HttpHealthCheckOrBuilder
      • getRequestHeadersToAddList

        public java.util.List<HeaderValueOption> getRequestHeadersToAddList()
         Specifies a list of HTTP headers that should be added to each request that is sent to the
         health checked cluster. For more information, including details on header value syntax, see
         the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
        Specified by:
        getRequestHeadersToAddList in interface HealthCheck.HttpHealthCheckOrBuilder
      • getRequestHeadersToAddOrBuilderList

        public java.util.List<? extends HeaderValueOptionOrBuilder> getRequestHeadersToAddOrBuilderList()
         Specifies a list of HTTP headers that should be added to each request that is sent to the
         health checked cluster. For more information, including details on header value syntax, see
         the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
        Specified by:
        getRequestHeadersToAddOrBuilderList in interface HealthCheck.HttpHealthCheckOrBuilder
      • getRequestHeadersToAddCount

        public int getRequestHeadersToAddCount()
         Specifies a list of HTTP headers that should be added to each request that is sent to the
         health checked cluster. For more information, including details on header value syntax, see
         the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
        Specified by:
        getRequestHeadersToAddCount in interface HealthCheck.HttpHealthCheckOrBuilder
      • getRequestHeadersToAdd

        public HeaderValueOption getRequestHeadersToAdd​(int index)
         Specifies a list of HTTP headers that should be added to each request that is sent to the
         health checked cluster. For more information, including details on header value syntax, see
         the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
        Specified by:
        getRequestHeadersToAdd in interface HealthCheck.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.config.core.v3.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
        Specified by:
        getRequestHeadersToAddOrBuilder in interface HealthCheck.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 [(.validate.rules) = { ... }
        Specified by:
        getRequestHeadersToRemoveList in interface HealthCheck.HttpHealthCheckOrBuilder
        Returns:
        A list containing the requestHeadersToRemove.
      • getRequestHeadersToRemoveCount

        public int getRequestHeadersToRemoveCount()
         Specifies a list of HTTP headers that should be removed from each request that is sent to the
         health checked cluster.
         
        repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
        Specified by:
        getRequestHeadersToRemoveCount in interface HealthCheck.HttpHealthCheckOrBuilder
        Returns:
        The count of requestHeadersToRemove.
      • getRequestHeadersToRemove

        public java.lang.String getRequestHeadersToRemove​(int index)
         Specifies a list of HTTP headers that should be removed from each request that is sent to the
         health checked cluster.
         
        repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
        Specified by:
        getRequestHeadersToRemove in interface HealthCheck.HttpHealthCheckOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The requestHeadersToRemove at the given index.
      • getRequestHeadersToRemoveBytes

        public com.google.protobuf.ByteString getRequestHeadersToRemoveBytes​(int index)
         Specifies a list of HTTP headers that should be removed from each request that is sent to the
         health checked cluster.
         
        repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
        Specified by:
        getRequestHeadersToRemoveBytes in interface HealthCheck.HttpHealthCheckOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the requestHeadersToRemove at the given index.
      • getExpectedStatusesList

        public java.util.List<Int64Range> getExpectedStatusesList()
         Specifies a list of HTTP response statuses considered healthy. If provided, replaces default
         200-only policy - 200 must be included explicitly as needed. Ranges follow half-open
         semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each
         range are required. Only statuses in the range [100, 600) are allowed.
         
        repeated .envoy.type.v3.Int64Range expected_statuses = 9;
        Specified by:
        getExpectedStatusesList in interface HealthCheck.HttpHealthCheckOrBuilder
      • getExpectedStatusesOrBuilderList

        public java.util.List<? extends Int64RangeOrBuilder> getExpectedStatusesOrBuilderList()
         Specifies a list of HTTP response statuses considered healthy. If provided, replaces default
         200-only policy - 200 must be included explicitly as needed. Ranges follow half-open
         semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each
         range are required. Only statuses in the range [100, 600) are allowed.
         
        repeated .envoy.type.v3.Int64Range expected_statuses = 9;
        Specified by:
        getExpectedStatusesOrBuilderList in interface HealthCheck.HttpHealthCheckOrBuilder
      • getExpectedStatusesCount

        public int getExpectedStatusesCount()
         Specifies a list of HTTP response statuses considered healthy. If provided, replaces default
         200-only policy - 200 must be included explicitly as needed. Ranges follow half-open
         semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each
         range are required. Only statuses in the range [100, 600) are allowed.
         
        repeated .envoy.type.v3.Int64Range expected_statuses = 9;
        Specified by:
        getExpectedStatusesCount in interface HealthCheck.HttpHealthCheckOrBuilder
      • getExpectedStatuses

        public Int64Range getExpectedStatuses​(int index)
         Specifies a list of HTTP response statuses considered healthy. If provided, replaces default
         200-only policy - 200 must be included explicitly as needed. Ranges follow half-open
         semantics of :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each
         range are required. Only statuses in the range [100, 600) are allowed.
         
        repeated .envoy.type.v3.Int64Range expected_statuses = 9;
        Specified by:
        getExpectedStatuses in interface HealthCheck.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_v3_api_msg_type.v3.Int64Range>`. The start and end of each
         range are required. Only statuses in the range [100, 600) are allowed.
         
        repeated .envoy.type.v3.Int64Range expected_statuses = 9;
        Specified by:
        getExpectedStatusesOrBuilder in interface HealthCheck.HttpHealthCheckOrBuilder
      • getRetriableStatusesList

        public java.util.List<Int64Range> getRetriableStatusesList()
         Specifies a list of HTTP response statuses considered retriable. If provided, responses in this range
         will count towards the configured :ref:`unhealthy_threshold <envoy_v3_api_field_config.core.v3.HealthCheck.unhealthy_threshold>`,
         but will not result in the host being considered immediately unhealthy. Ranges follow half-open semantics of
         :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required.
         Only statuses in the range [100, 600) are allowed. The :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>`
         field takes precedence for any range overlaps with this field i.e. if status code 200 is both retriable and expected, a 200 response will
         be considered a successful health check. By default all responses not in
         :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` will result in
         the host being considered immediately unhealthy i.e. if status code 200 is expected and there are no configured retriable statuses, any
         non-200 response will result in the host being marked unhealthy.
         
        repeated .envoy.type.v3.Int64Range retriable_statuses = 12;
        Specified by:
        getRetriableStatusesList in interface HealthCheck.HttpHealthCheckOrBuilder
      • getRetriableStatusesOrBuilderList

        public java.util.List<? extends Int64RangeOrBuilder> getRetriableStatusesOrBuilderList()
         Specifies a list of HTTP response statuses considered retriable. If provided, responses in this range
         will count towards the configured :ref:`unhealthy_threshold <envoy_v3_api_field_config.core.v3.HealthCheck.unhealthy_threshold>`,
         but will not result in the host being considered immediately unhealthy. Ranges follow half-open semantics of
         :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required.
         Only statuses in the range [100, 600) are allowed. The :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>`
         field takes precedence for any range overlaps with this field i.e. if status code 200 is both retriable and expected, a 200 response will
         be considered a successful health check. By default all responses not in
         :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` will result in
         the host being considered immediately unhealthy i.e. if status code 200 is expected and there are no configured retriable statuses, any
         non-200 response will result in the host being marked unhealthy.
         
        repeated .envoy.type.v3.Int64Range retriable_statuses = 12;
        Specified by:
        getRetriableStatusesOrBuilderList in interface HealthCheck.HttpHealthCheckOrBuilder
      • getRetriableStatusesCount

        public int getRetriableStatusesCount()
         Specifies a list of HTTP response statuses considered retriable. If provided, responses in this range
         will count towards the configured :ref:`unhealthy_threshold <envoy_v3_api_field_config.core.v3.HealthCheck.unhealthy_threshold>`,
         but will not result in the host being considered immediately unhealthy. Ranges follow half-open semantics of
         :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required.
         Only statuses in the range [100, 600) are allowed. The :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>`
         field takes precedence for any range overlaps with this field i.e. if status code 200 is both retriable and expected, a 200 response will
         be considered a successful health check. By default all responses not in
         :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` will result in
         the host being considered immediately unhealthy i.e. if status code 200 is expected and there are no configured retriable statuses, any
         non-200 response will result in the host being marked unhealthy.
         
        repeated .envoy.type.v3.Int64Range retriable_statuses = 12;
        Specified by:
        getRetriableStatusesCount in interface HealthCheck.HttpHealthCheckOrBuilder
      • getRetriableStatuses

        public Int64Range getRetriableStatuses​(int index)
         Specifies a list of HTTP response statuses considered retriable. If provided, responses in this range
         will count towards the configured :ref:`unhealthy_threshold <envoy_v3_api_field_config.core.v3.HealthCheck.unhealthy_threshold>`,
         but will not result in the host being considered immediately unhealthy. Ranges follow half-open semantics of
         :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required.
         Only statuses in the range [100, 600) are allowed. The :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>`
         field takes precedence for any range overlaps with this field i.e. if status code 200 is both retriable and expected, a 200 response will
         be considered a successful health check. By default all responses not in
         :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` will result in
         the host being considered immediately unhealthy i.e. if status code 200 is expected and there are no configured retriable statuses, any
         non-200 response will result in the host being marked unhealthy.
         
        repeated .envoy.type.v3.Int64Range retriable_statuses = 12;
        Specified by:
        getRetriableStatuses in interface HealthCheck.HttpHealthCheckOrBuilder
      • getRetriableStatusesOrBuilder

        public Int64RangeOrBuilder getRetriableStatusesOrBuilder​(int index)
         Specifies a list of HTTP response statuses considered retriable. If provided, responses in this range
         will count towards the configured :ref:`unhealthy_threshold <envoy_v3_api_field_config.core.v3.HealthCheck.unhealthy_threshold>`,
         but will not result in the host being considered immediately unhealthy. Ranges follow half-open semantics of
         :ref:`Int64Range <envoy_v3_api_msg_type.v3.Int64Range>`. The start and end of each range are required.
         Only statuses in the range [100, 600) are allowed. The :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>`
         field takes precedence for any range overlaps with this field i.e. if status code 200 is both retriable and expected, a 200 response will
         be considered a successful health check. By default all responses not in
         :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>` will result in
         the host being considered immediately unhealthy i.e. if status code 200 is expected and there are no configured retriable statuses, any
         non-200 response will result in the host being marked unhealthy.
         
        repeated .envoy.type.v3.Int64Range retriable_statuses = 12;
        Specified by:
        getRetriableStatusesOrBuilder in interface HealthCheck.HttpHealthCheckOrBuilder
      • getCodecClientTypeValue

        public int getCodecClientTypeValue()
         Use specified application protocol for health checks.
         
        .envoy.type.v3.CodecClientType codec_client_type = 10 [(.validate.rules) = { ... }
        Specified by:
        getCodecClientTypeValue in interface HealthCheck.HttpHealthCheckOrBuilder
        Returns:
        The enum numeric value on the wire for 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_v3_api_msg_type.matcher.v3.StringMatcher>`. See the :ref:`architecture overview
         <arch_overview_health_checking_identity>` for more information.
         
        .envoy.type.matcher.v3.StringMatcher service_name_matcher = 11;
        Specified by:
        hasServiceNameMatcher in interface HealthCheck.HttpHealthCheckOrBuilder
        Returns:
        Whether the serviceNameMatcher field is set.
      • getServiceNameMatcher

        public StringMatcher getServiceNameMatcher()
         An optional service name parameter which is used to validate the identity of
         the health checked cluster using a :ref:`StringMatcher
         <envoy_v3_api_msg_type.matcher.v3.StringMatcher>`. See the :ref:`architecture overview
         <arch_overview_health_checking_identity>` for more information.
         
        .envoy.type.matcher.v3.StringMatcher service_name_matcher = 11;
        Specified by:
        getServiceNameMatcher in interface HealthCheck.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_v3_api_msg_type.matcher.v3.StringMatcher>`. See the :ref:`architecture overview
         <arch_overview_health_checking_identity>` for more information.
         
        .envoy.type.matcher.v3.StringMatcher service_name_matcher = 11;
        Specified by:
        getServiceNameMatcherOrBuilder in interface HealthCheck.HttpHealthCheckOrBuilder
      • getMethodValue

        public int getMethodValue()
         HTTP Method that will be used for health checking, default is "GET".
         GET, HEAD, POST, PUT, DELETE, OPTIONS, TRACE, PATCH methods are supported, but making request body is not supported.
         CONNECT method is disallowed because it is not appropriate for health check request.
         If a non-200 response is expected by the method, it needs to be set in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>`.
         
        .envoy.config.core.v3.RequestMethod method = 13 [(.validate.rules) = { ... }
        Specified by:
        getMethodValue in interface HealthCheck.HttpHealthCheckOrBuilder
        Returns:
        The enum numeric value on the wire for method.
      • getMethod

        public RequestMethod getMethod()
         HTTP Method that will be used for health checking, default is "GET".
         GET, HEAD, POST, PUT, DELETE, OPTIONS, TRACE, PATCH methods are supported, but making request body is not supported.
         CONNECT method is disallowed because it is not appropriate for health check request.
         If a non-200 response is expected by the method, it needs to be set in :ref:`expected_statuses <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.expected_statuses>`.
         
        .envoy.config.core.v3.RequestMethod method = 13 [(.validate.rules) = { ... }
        Specified by:
        getMethod in interface HealthCheck.HttpHealthCheckOrBuilder
        Returns:
        The method.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessage
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessage
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static HealthCheck.HttpHealthCheck parseFrom​(java.nio.ByteBuffer data)
                                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static HealthCheck.HttpHealthCheck parseFrom​(java.nio.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​(java.io.InputStream input)
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static HealthCheck.HttpHealthCheck parseFrom​(java.io.InputStream input,
                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static HealthCheck.HttpHealthCheck parseDelimitedFrom​(java.io.InputStream input)
                                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static HealthCheck.HttpHealthCheck parseDelimitedFrom​(java.io.InputStream input,
                                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static HealthCheck.HttpHealthCheck parseFrom​(com.google.protobuf.CodedInputStream input)
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static HealthCheck.HttpHealthCheck parseFrom​(com.google.protobuf.CodedInputStream input,
                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public HealthCheck.HttpHealthCheck.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public HealthCheck.HttpHealthCheck.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected HealthCheck.HttpHealthCheck.Builder newBuilderForType​(com.google.protobuf.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class com.google.protobuf.AbstractMessage
      • getParserForType

        public com.google.protobuf.Parser<HealthCheck.HttpHealthCheck> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessage
      • getDefaultInstanceForType

        public HealthCheck.HttpHealthCheck getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder