Package com.google.cloud.compute.v1
Class HTTPSHealthCheck
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.HTTPSHealthCheck
-
- All Implemented Interfaces:
HTTPSHealthCheckOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class HTTPSHealthCheck extends com.google.protobuf.GeneratedMessageV3 implements HTTPSHealthCheckOrBuilder
Protobuf typegoogle.cloud.compute.v1.HTTPSHealthCheck- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHTTPSHealthCheck.Builderstatic classHTTPSHealthCheck.PortSpecificationSpecifies how a port is selected for health checking.static classHTTPSHealthCheck.ProxyHeaderSpecifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intHOST_FIELD_NUMBERstatic intPORT_FIELD_NUMBERstatic intPORT_NAME_FIELD_NUMBERstatic intPORT_SPECIFICATION_FIELD_NUMBERstatic intPROXY_HEADER_FIELD_NUMBERstatic intREQUEST_PATH_FIELD_NUMBERstatic intRESPONSE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static HTTPSHealthCheckgetDefaultInstance()HTTPSHealthCheckgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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.com.google.protobuf.Parser<HTTPSHealthCheck>getParserForType()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.intgetSerializedSize()inthashCode()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()static HTTPSHealthCheck.BuildernewBuilder()static HTTPSHealthCheck.BuildernewBuilder(HTTPSHealthCheck prototype)HTTPSHealthCheck.BuildernewBuilderForType()protected HTTPSHealthCheck.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static HTTPSHealthCheckparseDelimitedFrom(InputStream input)static HTTPSHealthCheckparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HTTPSHealthCheckparseFrom(byte[] data)static HTTPSHealthCheckparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HTTPSHealthCheckparseFrom(com.google.protobuf.ByteString data)static HTTPSHealthCheckparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HTTPSHealthCheckparseFrom(com.google.protobuf.CodedInputStream input)static HTTPSHealthCheckparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HTTPSHealthCheckparseFrom(InputStream input)static HTTPSHealthCheckparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HTTPSHealthCheckparseFrom(ByteBuffer data)static HTTPSHealthCheckparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<HTTPSHealthCheck>parser()HTTPSHealthCheck.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
HOST_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PORT_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PORT_NAME_FIELD_NUMBER
public static final int PORT_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PORT_SPECIFICATION_FIELD_NUMBER
public static final int PORT_SPECIFICATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROXY_HEADER_FIELD_NUMBER
public static final int PROXY_HEADER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUEST_PATH_FIELD_NUMBER
public static final int REQUEST_PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESPONSE_FIELD_NUMBER
public static final int RESPONSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static HTTPSHealthCheck parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HTTPSHealthCheck parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HTTPSHealthCheck parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HTTPSHealthCheck parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HTTPSHealthCheck parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HTTPSHealthCheck parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HTTPSHealthCheck parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static HTTPSHealthCheck parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static HTTPSHealthCheck parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static HTTPSHealthCheck parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static HTTPSHealthCheck parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static HTTPSHealthCheck parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public HTTPSHealthCheck.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static HTTPSHealthCheck.Builder newBuilder()
-
newBuilder
public static HTTPSHealthCheck.Builder newBuilder(HTTPSHealthCheck prototype)
-
toBuilder
public HTTPSHealthCheck.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected HTTPSHealthCheck.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static HTTPSHealthCheck getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<HTTPSHealthCheck> parser()
-
getParserForType
public com.google.protobuf.Parser<HTTPSHealthCheck> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public HTTPSHealthCheck getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-