public static final class HTTPHealthCheck.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HTTPHealthCheck.Builder> implements HTTPHealthCheckOrBuilder
Protobuf type
google.cloud.compute.v1.HTTPHealthCheck| Modifier and Type | Method and Description |
|---|---|
HTTPHealthCheck.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HTTPHealthCheck |
build() |
HTTPHealthCheck |
buildPartial() |
HTTPHealthCheck.Builder |
clear() |
HTTPHealthCheck.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
HTTPHealthCheck.Builder |
clearHost()
The value of the host header in the HTTP health check request.
|
HTTPHealthCheck.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
HTTPHealthCheck.Builder |
clearPort()
The TCP port number to which the health check prober sends packets.
|
HTTPHealthCheck.Builder |
clearPortName()
Not supported.
|
HTTPHealthCheck.Builder |
clearPortSpecification()
Specifies how a port is selected for health checking.
|
HTTPHealthCheck.Builder |
clearProxyHeader()
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.
|
HTTPHealthCheck.Builder |
clearRequestPath()
The request path of the HTTP health check request.
|
HTTPHealthCheck.Builder |
clearResponse()
Creates a content-based HTTP health check.
|
HTTPHealthCheck.Builder |
clone() |
HTTPHealthCheck |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHost()
The value of the host header in the HTTP health check request.
|
com.google.protobuf.ByteString |
getHostBytes()
The value of the host header in the HTTP health check request.
|
int |
getPort()
The TCP port number to which the health check prober sends packets.
|
String |
getPortName()
Not supported.
|
com.google.protobuf.ByteString |
getPortNameBytes()
Not supported.
|
String |
getPortSpecification()
Specifies how a port is selected for health checking.
|
com.google.protobuf.ByteString |
getPortSpecificationBytes()
Specifies how a port is selected for health checking.
|
String |
getProxyHeader()
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.
|
com.google.protobuf.ByteString |
getProxyHeaderBytes()
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.
|
String |
getRequestPath()
The request path of the HTTP health check request.
|
com.google.protobuf.ByteString |
getRequestPathBytes()
The request path of the HTTP health check request.
|
String |
getResponse()
Creates a content-based HTTP health check.
|
com.google.protobuf.ByteString |
getResponseBytes()
Creates a content-based HTTP health check.
|
boolean |
hasHost()
The value of the host header in the HTTP health check request.
|
boolean |
hasPort()
The TCP port number to which the health check prober sends packets.
|
boolean |
hasPortName()
Not supported.
|
boolean |
hasPortSpecification()
Specifies how a port is selected for health checking.
|
boolean |
hasProxyHeader()
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.
|
boolean |
hasRequestPath()
The request path of the HTTP health check request.
|
boolean |
hasResponse()
Creates a content-based HTTP health check.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HTTPHealthCheck.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HTTPHealthCheck.Builder |
mergeFrom(HTTPHealthCheck other) |
HTTPHealthCheck.Builder |
mergeFrom(com.google.protobuf.Message other) |
HTTPHealthCheck.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HTTPHealthCheck.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HTTPHealthCheck.Builder |
setHost(String value)
The value of the host header in the HTTP health check request.
|
HTTPHealthCheck.Builder |
setHostBytes(com.google.protobuf.ByteString value)
The value of the host header in the HTTP health check request.
|
HTTPHealthCheck.Builder |
setPort(int value)
The TCP port number to which the health check prober sends packets.
|
HTTPHealthCheck.Builder |
setPortName(String value)
Not supported.
|
HTTPHealthCheck.Builder |
setPortNameBytes(com.google.protobuf.ByteString value)
Not supported.
|
HTTPHealthCheck.Builder |
setPortSpecification(String value)
Specifies how a port is selected for health checking.
|
HTTPHealthCheck.Builder |
setPortSpecificationBytes(com.google.protobuf.ByteString value)
Specifies how a port is selected for health checking.
|
HTTPHealthCheck.Builder |
setProxyHeader(String value)
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.
|
HTTPHealthCheck.Builder |
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.
|
HTTPHealthCheck.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
HTTPHealthCheck.Builder |
setRequestPath(String value)
The request path of the HTTP health check request.
|
HTTPHealthCheck.Builder |
setRequestPathBytes(com.google.protobuf.ByteString value)
The request path of the HTTP health check request.
|
HTTPHealthCheck.Builder |
setResponse(String value)
Creates a content-based HTTP health check.
|
HTTPHealthCheck.Builder |
setResponseBytes(com.google.protobuf.ByteString value)
Creates a content-based HTTP health check.
|
HTTPHealthCheck.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HTTPHealthCheck.Builder>public HTTPHealthCheck.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<HTTPHealthCheck.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<HTTPHealthCheck.Builder>public HTTPHealthCheck getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HTTPHealthCheck build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HTTPHealthCheck buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HTTPHealthCheck.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<HTTPHealthCheck.Builder>public HTTPHealthCheck.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<HTTPHealthCheck.Builder>public HTTPHealthCheck.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<HTTPHealthCheck.Builder>public HTTPHealthCheck.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HTTPHealthCheck.Builder>public HTTPHealthCheck.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HTTPHealthCheck.Builder>public HTTPHealthCheck.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HTTPHealthCheck.Builder>public HTTPHealthCheck.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HTTPHealthCheck.Builder>public HTTPHealthCheck.Builder mergeFrom(HTTPHealthCheck other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HTTPHealthCheck.Builder>public HTTPHealthCheck.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HTTPHealthCheck.Builder>IOExceptionpublic 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;hasHost in interface HTTPHealthCheckOrBuilderpublic String 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;getHost in interface HTTPHealthCheckOrBuilderpublic 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;getHostBytes in interface HTTPHealthCheckOrBuilderpublic HTTPHealthCheck.Builder setHost(String value)
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;value - The host to set.public HTTPHealthCheck.Builder 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;public 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 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;value - The bytes for host to set.public boolean hasPort()
The TCP port number to which the health check prober sends packets. The default value is 80. Valid values are 1 through 65535.
optional int32 port = 3446913;hasPort in interface HTTPHealthCheckOrBuilderpublic int getPort()
The TCP port number to which the health check prober sends packets. The default value is 80. Valid values are 1 through 65535.
optional int32 port = 3446913;getPort in interface HTTPHealthCheckOrBuilderpublic HTTPHealthCheck.Builder setPort(int value)
The TCP port number to which the health check prober sends packets. The default value is 80. Valid values are 1 through 65535.
optional int32 port = 3446913;value - The port to set.public HTTPHealthCheck.Builder clearPort()
The TCP port number to which the health check prober sends packets. The default value is 80. Valid values are 1 through 65535.
optional int32 port = 3446913;public boolean hasPortName()
Not supported.
optional string port_name = 41534345;hasPortName in interface HTTPHealthCheckOrBuilderpublic String getPortName()
Not supported.
optional string port_name = 41534345;getPortName in interface HTTPHealthCheckOrBuilderpublic com.google.protobuf.ByteString getPortNameBytes()
Not supported.
optional string port_name = 41534345;getPortNameBytes in interface HTTPHealthCheckOrBuilderpublic HTTPHealthCheck.Builder setPortName(String value)
Not supported.
optional string port_name = 41534345;value - The portName to set.public HTTPHealthCheck.Builder clearPortName()
Not supported.
optional string port_name = 41534345;public HTTPHealthCheck.Builder setPortNameBytes(com.google.protobuf.ByteString value)
Not supported.
optional string port_name = 41534345;value - The bytes for portName to set.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 the port field in the health check. Supported by backend services for pass-through 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;hasPortSpecification in interface HTTPHealthCheckOrBuilderpublic String 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 the port field in the health check. Supported by backend services for pass-through 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;getPortSpecification in interface HTTPHealthCheckOrBuilderpublic 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 the port field in the health check. Supported by backend services for pass-through 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;getPortSpecificationBytes in interface HTTPHealthCheckOrBuilderpublic HTTPHealthCheck.Builder setPortSpecification(String value)
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 the port field in the health check. Supported by backend services for pass-through 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;value - The portSpecification to set.public HTTPHealthCheck.Builder 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 the port field in the health check. Supported by backend services for pass-through 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;public HTTPHealthCheck.Builder setPortSpecificationBytes(com.google.protobuf.ByteString value)
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 the port field in the health check. Supported by backend services for pass-through 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;value - The bytes for portSpecification to set.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;hasProxyHeader in interface HTTPHealthCheckOrBuilderpublic String 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;getProxyHeader in interface HTTPHealthCheckOrBuilderpublic 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;getProxyHeaderBytes in interface HTTPHealthCheckOrBuilderpublic HTTPHealthCheck.Builder setProxyHeader(String value)
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;value - The proxyHeader to set.public HTTPHealthCheck.Builder 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;public HTTPHealthCheck.Builder 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. The default is NONE. Check the ProxyHeader enum for the list of possible values.
optional string proxy_header = 160374142;value - The bytes for proxyHeader to set.public boolean hasRequestPath()
The request path of the HTTP health check request. The default value is /.
optional string request_path = 229403605;hasRequestPath in interface HTTPHealthCheckOrBuilderpublic String getRequestPath()
The request path of the HTTP health check request. The default value is /.
optional string request_path = 229403605;getRequestPath in interface HTTPHealthCheckOrBuilderpublic com.google.protobuf.ByteString getRequestPathBytes()
The request path of the HTTP health check request. The default value is /.
optional string request_path = 229403605;getRequestPathBytes in interface HTTPHealthCheckOrBuilderpublic HTTPHealthCheck.Builder setRequestPath(String value)
The request path of the HTTP health check request. The default value is /.
optional string request_path = 229403605;value - The requestPath to set.public HTTPHealthCheck.Builder clearRequestPath()
The request path of the HTTP health check request. The default value is /.
optional string request_path = 229403605;public HTTPHealthCheck.Builder setRequestPathBytes(com.google.protobuf.ByteString value)
The request path of the HTTP health check request. The default value is /.
optional string request_path = 229403605;value - The bytes for requestPath to set.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;hasResponse in interface HTTPHealthCheckOrBuilderpublic String 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;getResponse in interface HTTPHealthCheckOrBuilderpublic 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;getResponseBytes in interface HTTPHealthCheckOrBuilderpublic HTTPHealthCheck.Builder setResponse(String value)
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;value - The response to set.public HTTPHealthCheck.Builder 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;public HTTPHealthCheck.Builder setResponseBytes(com.google.protobuf.ByteString value)
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;value - The bytes for response to set.public final HTTPHealthCheck.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HTTPHealthCheck.Builder>public final HTTPHealthCheck.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HTTPHealthCheck.Builder>Copyright © 2023 Google LLC. All rights reserved.