Package com.google.cloud.compute.v1
Class HTTPHealthCheck.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<HTTPHealthCheck.Builder>
com.google.cloud.compute.v1.HTTPHealthCheck.Builder
- All Implemented Interfaces:
HTTPHealthCheckOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- HTTPHealthCheck
public static final class HTTPHealthCheck.Builder
extends com.google.protobuf.GeneratedMessage.Builder<HTTPHealthCheck.Builder>
implements HTTPHealthCheckOrBuilder
Protobuf type
google.cloud.compute.v1.HTTPHealthCheck-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The value of the host header in the HTTP health check request.The TCP port number to which the health check prober sends packets.Not supported.Specifies how a port is selected for health checking.Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.The request path of the HTTP health check request.Creates a content-based HTTP health check.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetHost()The value of the host header in the HTTP health check request.com.google.protobuf.ByteStringThe value of the host header in the HTTP health check request.intgetPort()The TCP port number to which the health check prober sends packets.Not supported.com.google.protobuf.ByteStringNot supported.Specifies how a port is selected for health checking.com.google.protobuf.ByteStringSpecifies how a port is selected for health checking.Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.com.google.protobuf.ByteStringSpecifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.The request path of the HTTP health check request.com.google.protobuf.ByteStringThe request path of the HTTP health check request.Creates a content-based HTTP health check.com.google.protobuf.ByteStringCreates a content-based HTTP health check.booleanhasHost()The value of the host header in the HTTP health check request.booleanhasPort()The TCP port number to which the health check prober sends packets.booleanNot supported.booleanSpecifies how a port is selected for health checking.booleanSpecifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.booleanThe request path of the HTTP health check request.booleanCreates a content-based HTTP health check.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(HTTPHealthCheck other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The value of the host header in the HTTP health check request.setHostBytes(com.google.protobuf.ByteString value) The value of the host header in the HTTP health check request.setPort(int value) The TCP port number to which the health check prober sends packets.setPortName(String value) Not supported.setPortNameBytes(com.google.protobuf.ByteString value) Not supported.setPortSpecification(String value) Specifies how a port is selected for health checking.setPortSpecificationBytes(com.google.protobuf.ByteString value) Specifies how a port is selected for health checking.setProxyHeader(String value) Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.setProxyHeaderBytes(com.google.protobuf.ByteString value) Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.setRequestPath(String value) The request path of the HTTP health check request.setRequestPathBytes(com.google.protobuf.ByteString value) The request path of the HTTP health check request.setResponse(String value) Creates a content-based HTTP health check.setResponseBytes(com.google.protobuf.ByteString value) Creates a content-based HTTP health check.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<HTTPHealthCheck.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<HTTPHealthCheck.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<HTTPHealthCheck.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HTTPHealthCheck.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<HTTPHealthCheck.Builder>
-
mergeFrom
public HTTPHealthCheck.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HTTPHealthCheck.Builder>- Throws:
IOException
-
hasHost
public boolean hasHost()The value of the host header in the HTTP health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest
optional string host = 3208616;- Specified by:
hasHostin interfaceHTTPHealthCheckOrBuilder- Returns:
- Whether the host field is set.
-
getHost
The value of the host header in the HTTP health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest
optional string host = 3208616;- Specified by:
getHostin interfaceHTTPHealthCheckOrBuilder- 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 host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest
optional string host = 3208616;- Specified by:
getHostBytesin interfaceHTTPHealthCheckOrBuilder- Returns:
- The bytes for host.
-
setHost
The value of the host header in the HTTP health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest
optional string host = 3208616;- 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 host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest
optional string host = 3208616;- Returns:
- This builder for chaining.
-
setHostBytes
The value of the host header in the HTTP health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest
optional string host = 3208616;- Parameters:
value- The bytes for host to set.- Returns:
- This builder for chaining.
-
hasPort
public boolean hasPort()The TCP port number to which the health check prober sends packets. The default value is 80. Valid values are 1 through65535.
optional int32 port = 3446913;- Specified by:
hasPortin interfaceHTTPHealthCheckOrBuilder- Returns:
- Whether the port field is set.
-
getPort
public int getPort()The TCP port number to which the health check prober sends packets. The default value is 80. Valid values are 1 through65535.
optional int32 port = 3446913;- Specified by:
getPortin interfaceHTTPHealthCheckOrBuilder- Returns:
- The port.
-
setPort
The TCP port number to which the health check prober sends packets. The default value is 80. Valid values are 1 through65535.
optional int32 port = 3446913;- Parameters:
value- The port to set.- Returns:
- This builder for chaining.
-
clearPort
The TCP port number to which the health check prober sends packets. The default value is 80. Valid values are 1 through65535.
optional int32 port = 3446913;- Returns:
- This builder for chaining.
-
hasPortName
public boolean hasPortName()Not supported.
optional string port_name = 41534345;- Specified by:
hasPortNamein interfaceHTTPHealthCheckOrBuilder- Returns:
- Whether the portName field is set.
-
getPortName
Not supported.
optional string port_name = 41534345;- Specified by:
getPortNamein interfaceHTTPHealthCheckOrBuilder- Returns:
- The portName.
-
getPortNameBytes
public com.google.protobuf.ByteString getPortNameBytes()Not supported.
optional string port_name = 41534345;- Specified by:
getPortNameBytesin interfaceHTTPHealthCheckOrBuilder- Returns:
- The bytes for portName.
-
setPortName
Not supported.
optional string port_name = 41534345;- Parameters:
value- The portName to set.- Returns:
- This builder for chaining.
-
clearPortName
Not supported.
optional string port_name = 41534345;- Returns:
- This builder for chaining.
-
setPortNameBytes
Not supported.
optional string port_name = 41534345;- Parameters:
value- The bytes for portName to set.- Returns:
- This builder for chaining.
-
hasPortSpecification
public boolean hasPortSpecification()Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using theport field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Also supported in legacy HTTP health checks for target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example,GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example,GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. Check the PortSpecification enum for the list of possible values.
optional string port_specification = 51590597;- Specified by:
hasPortSpecificationin interfaceHTTPHealthCheckOrBuilder- Returns:
- Whether the portSpecification field is set.
-
getPortSpecification
Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using theport field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Also supported in legacy HTTP health checks for target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example,GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example,GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. Check the PortSpecification enum for the list of possible values.
optional string port_specification = 51590597;- Specified by:
getPortSpecificationin interfaceHTTPHealthCheckOrBuilder- Returns:
- The portSpecification.
-
getPortSpecificationBytes
public com.google.protobuf.ByteString getPortSpecificationBytes()Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using theport field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Also supported in legacy HTTP health checks for target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example,GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example,GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. Check the PortSpecification enum for the list of possible values.
optional string port_specification = 51590597;- Specified by:
getPortSpecificationBytesin interfaceHTTPHealthCheckOrBuilder- Returns:
- The bytes for portSpecification.
-
setPortSpecification
Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using theport field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Also supported in legacy HTTP health checks for target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example,GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example,GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. Check the PortSpecification enum for the list of possible values.
optional string port_specification = 51590597;- Parameters:
value- The portSpecification to set.- Returns:
- This builder for chaining.
-
clearPortSpecification
Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using theport field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Also supported in legacy HTTP health checks for target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example,GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example,GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. Check the PortSpecification enum for the list of possible values.
optional string port_specification = 51590597;- Returns:
- This builder for chaining.
-
setPortSpecificationBytes
Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using theport field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Also supported in legacy HTTP health checks for target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example,GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example,GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. Check the PortSpecification enum for the list of possible values.
optional string port_specification = 51590597;- Parameters:
value- The bytes for portSpecification to set.- Returns:
- This builder for chaining.
-
hasProxyHeader
public boolean hasProxyHeader()Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. Check the ProxyHeader enum for the list of possible values.
optional string proxy_header = 160374142;- Specified by:
hasProxyHeaderin interfaceHTTPHealthCheckOrBuilder- Returns:
- Whether the proxyHeader field is set.
-
getProxyHeader
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. Check the ProxyHeader enum for the list of possible values.
optional string proxy_header = 160374142;- Specified by:
getProxyHeaderin interfaceHTTPHealthCheckOrBuilder- Returns:
- The proxyHeader.
-
getProxyHeaderBytes
public com.google.protobuf.ByteString getProxyHeaderBytes()Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. Check the ProxyHeader enum for the list of possible values.
optional string proxy_header = 160374142;- Specified by:
getProxyHeaderBytesin interfaceHTTPHealthCheckOrBuilder- Returns:
- The bytes for proxyHeader.
-
setProxyHeader
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. Check the ProxyHeader enum for the list of possible values.
optional string proxy_header = 160374142;- Parameters:
value- The proxyHeader to set.- Returns:
- This builder for chaining.
-
clearProxyHeader
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. Check the ProxyHeader enum for the list of possible values.
optional string proxy_header = 160374142;- Returns:
- This builder for chaining.
-
setProxyHeaderBytes
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. Check the ProxyHeader enum for the list of possible values.
optional string proxy_header = 160374142;- Parameters:
value- The bytes for proxyHeader to set.- Returns:
- This builder for chaining.
-
hasRequestPath
public boolean hasRequestPath()The request path of the HTTP health check request. The default value is/. Must comply withRFC3986.
optional string request_path = 229403605;- Specified by:
hasRequestPathin interfaceHTTPHealthCheckOrBuilder- Returns:
- Whether the requestPath field is set.
-
getRequestPath
The request path of the HTTP health check request. The default value is/. Must comply withRFC3986.
optional string request_path = 229403605;- Specified by:
getRequestPathin interfaceHTTPHealthCheckOrBuilder- Returns:
- The requestPath.
-
getRequestPathBytes
public com.google.protobuf.ByteString getRequestPathBytes()The request path of the HTTP health check request. The default value is/. Must comply withRFC3986.
optional string request_path = 229403605;- Specified by:
getRequestPathBytesin interfaceHTTPHealthCheckOrBuilder- Returns:
- The bytes for requestPath.
-
setRequestPath
The request path of the HTTP health check request. The default value is/. Must comply withRFC3986.
optional string request_path = 229403605;- Parameters:
value- The requestPath to set.- Returns:
- This builder for chaining.
-
clearRequestPath
The request path of the HTTP health check request. The default value is/. Must comply withRFC3986.
optional string request_path = 229403605;- Returns:
- This builder for chaining.
-
setRequestPathBytes
The request path of the HTTP health check request. The default value is/. Must comply withRFC3986.
optional string request_path = 229403605;- Parameters:
value- The bytes for requestPath to set.- Returns:
- This builder for chaining.
-
hasResponse
public boolean hasResponse()Creates a content-based HTTP health check. In addition to the required HTTP 200 (OK) status code, you can configure the health check to pass only when the backend sends this specific ASCII response string within the first 1024 bytes of the HTTP response body. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http
optional string response = 196547649;- Specified by:
hasResponsein interfaceHTTPHealthCheckOrBuilder- Returns:
- Whether the response field is set.
-
getResponse
Creates a content-based HTTP health check. In addition to the required HTTP 200 (OK) status code, you can configure the health check to pass only when the backend sends this specific ASCII response string within the first 1024 bytes of the HTTP response body. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http
optional string response = 196547649;- Specified by:
getResponsein interfaceHTTPHealthCheckOrBuilder- Returns:
- The response.
-
getResponseBytes
public com.google.protobuf.ByteString getResponseBytes()Creates a content-based HTTP health check. In addition to the required HTTP 200 (OK) status code, you can configure the health check to pass only when the backend sends this specific ASCII response string within the first 1024 bytes of the HTTP response body. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http
optional string response = 196547649;- Specified by:
getResponseBytesin interfaceHTTPHealthCheckOrBuilder- Returns:
- The bytes for response.
-
setResponse
Creates a content-based HTTP health check. In addition to the required HTTP 200 (OK) status code, you can configure the health check to pass only when the backend sends this specific ASCII response string within the first 1024 bytes of the HTTP response body. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http
optional string response = 196547649;- Parameters:
value- The response to set.- Returns:
- This builder for chaining.
-
clearResponse
Creates a content-based HTTP health check. In addition to the required HTTP 200 (OK) status code, you can configure the health check to pass only when the backend sends this specific ASCII response string within the first 1024 bytes of the HTTP response body. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http
optional string response = 196547649;- Returns:
- This builder for chaining.
-
setResponseBytes
Creates a content-based HTTP health check. In addition to the required HTTP 200 (OK) status code, you can configure the health check to pass only when the backend sends this specific ASCII response string within the first 1024 bytes of the HTTP response body. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http
optional string response = 196547649;- Parameters:
value- The bytes for response to set.- Returns:
- This builder for chaining.
-