Package com.google.cloud.compute.v1
Class HTTPSHealthCheck
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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
@Generated
public final class HTTPSHealthCheck
extends com.google.protobuf.GeneratedMessage
implements HTTPSHealthCheckOrBuilder
Protobuf type
google.cloud.compute.v1.HTTPSHealthCheck- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic enumSpecifies how a port is selected for health checking.static enumSpecifies 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.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic HTTPSHealthCheckstatic final com.google.protobuf.Descriptors.DescriptorgetHost()The value of the host header in the HTTPS health check request.com.google.protobuf.ByteStringThe value of the host header in the HTTPS health check request.com.google.protobuf.Parser<HTTPSHealthCheck>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 HTTPS health check request.com.google.protobuf.ByteStringThe request path of the HTTPS health check request.Creates a content-based HTTPS health check.com.google.protobuf.ByteStringCreates a content-based HTTPS health check.intinthashCode()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.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 HTTPS health check request.booleanCreates a content-based HTTPS health check.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic HTTPSHealthCheck.Builderstatic HTTPSHealthCheck.BuildernewBuilder(HTTPSHealthCheck prototype) protected HTTPSHealthCheck.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
HOST_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER- See Also:
-
PORT_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER- See Also:
-
PORT_NAME_FIELD_NUMBER
public static final int PORT_NAME_FIELD_NUMBER- See Also:
-
PORT_SPECIFICATION_FIELD_NUMBER
public static final int PORT_SPECIFICATION_FIELD_NUMBER- See Also:
-
PROXY_HEADER_FIELD_NUMBER
public static final int PROXY_HEADER_FIELD_NUMBER- See Also:
-
REQUEST_PATH_FIELD_NUMBER
public static final int REQUEST_PATH_FIELD_NUMBER- See Also:
-
RESPONSE_FIELD_NUMBER
public static final int RESPONSE_FIELD_NUMBER- See Also:
-
-
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
-
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
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 through65535.
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 through65535.
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
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 theport field in the health check. Supported by backend services for passthrough 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 passthrough 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
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. 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 passthrough 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 theport field in the health check. Supported by backend services for passthrough 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 passthrough 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
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/. Must comply withRFC3986.
optional string request_path = 229403605;- Specified by:
hasRequestPathin interfaceHTTPSHealthCheckOrBuilder- Returns:
- Whether the requestPath field is set.
-
getRequestPath
The request path of the HTTPS health check request. The default value is/. Must comply withRFC3986.
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/. Must comply withRFC3986.
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
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.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- Throws:
IOException
-
parseFrom
public static HTTPSHealthCheck parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected HTTPSHealthCheck.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-