Package com.google.cloud.compute.v1
Class HTTPSHealthCheck.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<HTTPSHealthCheck.Builder>
-
- com.google.cloud.compute.v1.HTTPSHealthCheck.Builder
-
- All Implemented Interfaces:
HTTPSHealthCheckOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- HTTPSHealthCheck
public static final class HTTPSHealthCheck.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HTTPSHealthCheck.Builder> implements HTTPSHealthCheckOrBuilder
Protobuf typegoogle.cloud.compute.v1.HTTPSHealthCheck
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HTTPSHealthCheck.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HTTPSHealthCheckbuild()HTTPSHealthCheckbuildPartial()HTTPSHealthCheck.Builderclear()HTTPSHealthCheck.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)HTTPSHealthCheck.BuilderclearHost()The value of the host header in the HTTPS health check request.HTTPSHealthCheck.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)HTTPSHealthCheck.BuilderclearPort()The TCP port number to which the health check prober sends packets.HTTPSHealthCheck.BuilderclearPortName()Not supported.HTTPSHealthCheck.BuilderclearPortSpecification()Specifies how a port is selected for health checking.HTTPSHealthCheck.BuilderclearProxyHeader()Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.HTTPSHealthCheck.BuilderclearRequestPath()The request path of the HTTPS health check request.HTTPSHealthCheck.BuilderclearResponse()Creates a content-based HTTPS health check.HTTPSHealthCheck.Builderclone()HTTPSHealthCheckgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetHost()The value of the host header in the HTTPS health check request.com.google.protobuf.ByteStringgetHostBytes()The value of the host header in the HTTPS health check request.intgetPort()The TCP port number to which the health check prober sends packets.StringgetPortName()Not supported.com.google.protobuf.ByteStringgetPortNameBytes()Not supported.StringgetPortSpecification()Specifies how a port is selected for health checking.com.google.protobuf.ByteStringgetPortSpecificationBytes()Specifies how a port is selected for health checking.StringgetProxyHeader()Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.com.google.protobuf.ByteStringgetProxyHeaderBytes()Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.StringgetRequestPath()The request path of the HTTPS health check request.com.google.protobuf.ByteStringgetRequestPathBytes()The request path of the HTTPS health check request.StringgetResponse()Creates a content-based HTTPS health check.com.google.protobuf.ByteStringgetResponseBytes()Creates a content-based HTTPS health check.booleanhasHost()The value of the host header in the HTTPS health check request.booleanhasPort()The TCP port number to which the health check prober sends packets.booleanhasPortName()Not supported.booleanhasPortSpecification()Specifies how a port is selected for health checking.booleanhasProxyHeader()Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.booleanhasRequestPath()The request path of the HTTPS health check request.booleanhasResponse()Creates a content-based HTTPS health check.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()HTTPSHealthCheck.BuildermergeFrom(HTTPSHealthCheck other)HTTPSHealthCheck.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)HTTPSHealthCheck.BuildermergeFrom(com.google.protobuf.Message other)HTTPSHealthCheck.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)HTTPSHealthCheck.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HTTPSHealthCheck.BuildersetHost(String value)The value of the host header in the HTTPS health check request.HTTPSHealthCheck.BuildersetHostBytes(com.google.protobuf.ByteString value)The value of the host header in the HTTPS health check request.HTTPSHealthCheck.BuildersetPort(int value)The TCP port number to which the health check prober sends packets.HTTPSHealthCheck.BuildersetPortName(String value)Not supported.HTTPSHealthCheck.BuildersetPortNameBytes(com.google.protobuf.ByteString value)Not supported.HTTPSHealthCheck.BuildersetPortSpecification(String value)Specifies how a port is selected for health checking.HTTPSHealthCheck.BuildersetPortSpecificationBytes(com.google.protobuf.ByteString value)Specifies how a port is selected for health checking.HTTPSHealthCheck.BuildersetProxyHeader(String value)Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.HTTPSHealthCheck.BuildersetProxyHeaderBytes(com.google.protobuf.ByteString value)Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.HTTPSHealthCheck.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)HTTPSHealthCheck.BuildersetRequestPath(String value)The request path of the HTTPS health check request.HTTPSHealthCheck.BuildersetRequestPathBytes(com.google.protobuf.ByteString value)The request path of the HTTPS health check request.HTTPSHealthCheck.BuildersetResponse(String value)Creates a content-based HTTPS health check.HTTPSHealthCheck.BuildersetResponseBytes(com.google.protobuf.ByteString value)Creates a content-based HTTPS health check.HTTPSHealthCheck.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPSHealthCheck.Builder>
-
clear
public HTTPSHealthCheck.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPSHealthCheck.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.GeneratedMessageV3.Builder<HTTPSHealthCheck.Builder>
-
getDefaultInstanceForType
public HTTPSHealthCheck getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public HTTPSHealthCheck build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HTTPSHealthCheck buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public HTTPSHealthCheck.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPSHealthCheck.Builder>
-
setField
public HTTPSHealthCheck.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPSHealthCheck.Builder>
-
clearField
public HTTPSHealthCheck.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPSHealthCheck.Builder>
-
clearOneof
public HTTPSHealthCheck.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPSHealthCheck.Builder>
-
setRepeatedField
public HTTPSHealthCheck.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPSHealthCheck.Builder>
-
addRepeatedField
public HTTPSHealthCheck.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPSHealthCheck.Builder>
-
mergeFrom
public HTTPSHealthCheck.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HTTPSHealthCheck.Builder>
-
mergeFrom
public HTTPSHealthCheck.Builder mergeFrom(HTTPSHealthCheck other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPSHealthCheck.Builder>
-
mergeFrom
public HTTPSHealthCheck.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<HTTPSHealthCheck.Builder>- Throws:
IOException
-
hasHost
public boolean hasHost()
The value of the host header in the HTTPS 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 interfaceHTTPSHealthCheckOrBuilder- Returns:
- Whether the host field is set.
-
getHost
public String getHost()
The value of the host header in the HTTPS 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 interfaceHTTPSHealthCheckOrBuilder- Returns:
- The host.
-
getHostBytes
public com.google.protobuf.ByteString getHostBytes()
The value of the host header in the HTTPS 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 interfaceHTTPSHealthCheckOrBuilder- Returns:
- The bytes for host.
-
setHost
public HTTPSHealthCheck.Builder setHost(String value)
The value of the host header in the HTTPS 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
public HTTPSHealthCheck.Builder clearHost()
The value of the host header in the HTTPS 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
public HTTPSHealthCheck.Builder setHostBytes(com.google.protobuf.ByteString value)
The value of the host header in the HTTPS 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 443. Valid values are 1 through 65535.
optional int32 port = 3446913;- Specified by:
hasPortin interfaceHTTPSHealthCheckOrBuilder- 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 443. Valid values are 1 through 65535.
optional int32 port = 3446913;- Specified by:
getPortin interfaceHTTPSHealthCheckOrBuilder- Returns:
- The port.
-
setPort
public HTTPSHealthCheck.Builder setPort(int value)
The TCP port number to which the health check prober sends packets. The default value is 443. Valid values are 1 through 65535.
optional int32 port = 3446913;- Parameters:
value- The port to set.- Returns:
- This builder for chaining.
-
clearPort
public HTTPSHealthCheck.Builder clearPort()
The TCP port number to which the health check prober sends packets. The default value is 443. Valid values are 1 through 65535.
optional int32 port = 3446913;- Returns:
- This builder for chaining.
-
hasPortName
public boolean hasPortName()
Not supported.
optional string port_name = 41534345;- Specified by:
hasPortNamein interfaceHTTPSHealthCheckOrBuilder- Returns:
- Whether the portName field is set.
-
getPortName
public String getPortName()
Not supported.
optional string port_name = 41534345;- Specified by:
getPortNamein interfaceHTTPSHealthCheckOrBuilder- Returns:
- The portName.
-
getPortNameBytes
public com.google.protobuf.ByteString getPortNameBytes()
Not supported.
optional string port_name = 41534345;- Specified by:
getPortNameBytesin interfaceHTTPSHealthCheckOrBuilder- Returns:
- The bytes for portName.
-
setPortName
public HTTPSHealthCheck.Builder setPortName(String value)
Not supported.
optional string port_name = 41534345;- Parameters:
value- The portName to set.- Returns:
- This builder for chaining.
-
clearPortName
public HTTPSHealthCheck.Builder clearPortName()
Not supported.
optional string port_name = 41534345;- Returns:
- This builder for chaining.
-
setPortNameBytes
public HTTPSHealthCheck.Builder setPortNameBytes(com.google.protobuf.ByteString value)
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 the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by 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 interfaceHTTPSHealthCheckOrBuilder- Returns:
- Whether the portSpecification field is set.
-
getPortSpecification
public 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. Not supported by 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 interfaceHTTPSHealthCheckOrBuilder- 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 the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by 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 interfaceHTTPSHealthCheckOrBuilder- Returns:
- The bytes for portSpecification.
-
setPortSpecification
public HTTPSHealthCheck.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. Not supported by 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
public HTTPSHealthCheck.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. Not supported by 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
public HTTPSHealthCheck.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. Not supported by 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 interfaceHTTPSHealthCheckOrBuilder- Returns:
- Whether the proxyHeader field is set.
-
getProxyHeader
public 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;- Specified by:
getProxyHeaderin interfaceHTTPSHealthCheckOrBuilder- 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 interfaceHTTPSHealthCheckOrBuilder- Returns:
- The bytes for proxyHeader.
-
setProxyHeader
public HTTPSHealthCheck.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;- Parameters:
value- The proxyHeader to set.- Returns:
- This builder for chaining.
-
clearProxyHeader
public HTTPSHealthCheck.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;- Returns:
- This builder for chaining.
-
setProxyHeaderBytes
public HTTPSHealthCheck.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;- Parameters:
value- The bytes for proxyHeader to set.- Returns:
- This builder for chaining.
-
hasRequestPath
public boolean hasRequestPath()
The request path of the HTTPS health check request. The default value is /.
optional string request_path = 229403605;- Specified by:
hasRequestPathin interfaceHTTPSHealthCheckOrBuilder- Returns:
- Whether the requestPath field is set.
-
getRequestPath
public String getRequestPath()
The request path of the HTTPS health check request. The default value is /.
optional string request_path = 229403605;- Specified by:
getRequestPathin interfaceHTTPSHealthCheckOrBuilder- Returns:
- The requestPath.
-
getRequestPathBytes
public com.google.protobuf.ByteString getRequestPathBytes()
The request path of the HTTPS health check request. The default value is /.
optional string request_path = 229403605;- Specified by:
getRequestPathBytesin interfaceHTTPSHealthCheckOrBuilder- Returns:
- The bytes for requestPath.
-
setRequestPath
public HTTPSHealthCheck.Builder setRequestPath(String value)
The request path of the HTTPS health check request. The default value is /.
optional string request_path = 229403605;- Parameters:
value- The requestPath to set.- Returns:
- This builder for chaining.
-
clearRequestPath
public HTTPSHealthCheck.Builder clearRequestPath()
The request path of the HTTPS health check request. The default value is /.
optional string request_path = 229403605;- Returns:
- This builder for chaining.
-
setRequestPathBytes
public HTTPSHealthCheck.Builder setRequestPathBytes(com.google.protobuf.ByteString value)
The request path of the HTTPS health check request. The default value is /.
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 HTTPS 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 interfaceHTTPSHealthCheckOrBuilder- Returns:
- Whether the response field is set.
-
getResponse
public String getResponse()
Creates a content-based HTTPS 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 interfaceHTTPSHealthCheckOrBuilder- Returns:
- The response.
-
getResponseBytes
public com.google.protobuf.ByteString getResponseBytes()
Creates a content-based HTTPS 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 interfaceHTTPSHealthCheckOrBuilder- Returns:
- The bytes for response.
-
setResponse
public HTTPSHealthCheck.Builder setResponse(String value)
Creates a content-based HTTPS 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
public HTTPSHealthCheck.Builder clearResponse()
Creates a content-based HTTPS 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
public HTTPSHealthCheck.Builder setResponseBytes(com.google.protobuf.ByteString value)
Creates a content-based HTTPS 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.
-
setUnknownFields
public final HTTPSHealthCheck.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPSHealthCheck.Builder>
-
mergeUnknownFields
public final HTTPSHealthCheck.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPSHealthCheck.Builder>
-
-