Class HealthCheck.HttpHealthCheck.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
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 type envoy.api.v2.core.HealthCheck.HttpHealthCheck
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HttpHealthCheck.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HttpHealthCheck.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HttpHealthCheck.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HttpHealthCheck.Builder>
    • setField

      public HealthCheck.HttpHealthCheck.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HttpHealthCheck.Builder>
    • clearField

      public HealthCheck.HttpHealthCheck.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HttpHealthCheck.Builder>
    • clearOneof

      public HealthCheck.HttpHealthCheck.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HttpHealthCheck.Builder>
    • addRepeatedField

      public HealthCheck.HttpHealthCheck.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HttpHealthCheck.Builder>
    • mergeFrom

      public HealthCheck.HttpHealthCheck.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<HealthCheck.HttpHealthCheck.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      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_api_field_endpoint.Endpoint.HealthCheckConfig.hostname>` field.
       
      string host = 1;
      Specified by:
      getHostBytes in interface HealthCheck.HttpHealthCheckOrBuilder
      Returns:
      The bytes for host.
    • setHost

       The value of the host header in the HTTP health check request. If
       left empty (default value), the name of the cluster this health check is associated
       with will be used. The host header can be customized for a specific endpoint by setting the
       :ref:`hostname <envoy_api_field_endpoint.Endpoint.HealthCheckConfig.hostname>` field.
       
      string host = 1;
      Parameters:
      value - The host to set.
      Returns:
      This builder for chaining.
    • clearHost

       The value of the host header in the HTTP health check request. If
       left empty (default value), the name of the cluster this health check is associated
       with will be used. The host header can be customized for a specific endpoint by setting the
       :ref:`hostname <envoy_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:
      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.
    • setPath

       Specifies the HTTP path that will be requested during health checking. For example
       */healthcheck*.
       
      string path = 2 [(.validate.rules) = { ... }
      Parameters:
      value - The path to set.
      Returns:
      This builder for chaining.
    • clearPath

       Specifies the HTTP path that will be requested during health checking. For example
       */healthcheck*.
       
      string path = 2 [(.validate.rules) = { ... }
      Returns:
      This builder for chaining.
    • setPathBytes

      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:
      hasSend in interface HealthCheck.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:
      getSend in interface HealthCheck.HttpHealthCheckOrBuilder
      Returns:
      The send.
    • setSend

       [#not-implemented-hide:] HTTP specific payload.
       
      .envoy.api.v2.core.HealthCheck.Payload send = 3;
    • setSend

       [#not-implemented-hide:] HTTP specific payload.
       
      .envoy.api.v2.core.HealthCheck.Payload send = 3;
    • mergeSend

       [#not-implemented-hide:] HTTP specific payload.
       
      .envoy.api.v2.core.HealthCheck.Payload send = 3;
    • 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:
      getSendOrBuilder in interface HealthCheck.HttpHealthCheckOrBuilder
    • hasReceive

      public boolean hasReceive()
       [#not-implemented-hide:] HTTP specific response.
       
      .envoy.api.v2.core.HealthCheck.Payload receive = 4;
      Specified by:
      hasReceive in interface HealthCheck.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:
      getReceive in interface HealthCheck.HttpHealthCheckOrBuilder
      Returns:
      The receive.
    • setReceive

       [#not-implemented-hide:] HTTP specific response.
       
      .envoy.api.v2.core.HealthCheck.Payload receive = 4;
    • setReceive

       [#not-implemented-hide:] HTTP specific response.
       
      .envoy.api.v2.core.HealthCheck.Payload receive = 4;
    • mergeReceive

       [#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:
      getReceiveOrBuilder in interface HealthCheck.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=99
       An 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:
      getServiceName in interface HealthCheck.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=99
       An 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:
      getServiceNameBytes in interface HealthCheck.HttpHealthCheckOrBuilder
      Returns:
      The bytes for serviceName.
    • setServiceName

      Deprecated.
      envoy.api.v2.core.HealthCheck.HttpHealthCheck.service_name is deprecated. See envoy/api/v2/core/health_check.proto;l=99
       An 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.
      envoy.api.v2.core.HealthCheck.HttpHealthCheck.service_name is deprecated. See envoy/api/v2/core/health_check.proto;l=99
       An 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=99
       An 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:
      getRequestHeadersToAddList 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.api.v2.core.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.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
      Specified by:
      getRequestHeadersToAdd in interface HealthCheck.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:
      getRequestHeadersToAddOrBuilder in interface HealthCheck.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:
      getRequestHeadersToAddOrBuilderList in interface HealthCheck.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:
      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;
      Specified by:
      getRequestHeadersToRemoveCount in interface HealthCheck.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:
      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;
      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.
    • 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=115
       If 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:
      getUseHttp2 in interface HealthCheck.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=115
       If 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.
      envoy.api.v2.core.HealthCheck.HttpHealthCheck.use_http2 is deprecated. See envoy/api/v2/core/health_check.proto;l=115
       If 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:
      getExpectedStatusesList 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_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:
      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_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:
      getExpectedStatuses in interface HealthCheck.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:
      getExpectedStatusesOrBuilder in interface HealthCheck.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:
      getExpectedStatusesOrBuilderList in interface HealthCheck.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:
      getCodecClientTypeValue in interface HealthCheck.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:
      getCodecClientType in interface HealthCheck.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:
      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_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:
      getServiceNameMatcher in interface HealthCheck.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:
      getServiceNameMatcherOrBuilder in interface HealthCheck.HttpHealthCheckOrBuilder
    • setUnknownFields

      public final HealthCheck.HttpHealthCheck.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HttpHealthCheck.Builder>
    • mergeUnknownFields

      public final HealthCheck.HttpHealthCheck.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HttpHealthCheck.Builder>