public final class HTTP2HealthCheck extends com.google.protobuf.GeneratedMessageV3 implements HTTP2HealthCheckOrBuilder
Protobuf type
google.cloud.compute.v1.HTTP2HealthCheck| Modifier and Type | Class and Description |
|---|---|
static class |
HTTP2HealthCheck.Builder |
static class |
HTTP2HealthCheck.PortSpecification
Specifies how a port is selected for health checking.
|
static class |
HTTP2HealthCheck.ProxyHeader
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
HOST_FIELD_NUMBER |
static int |
PORT_FIELD_NUMBER |
static int |
PORT_NAME_FIELD_NUMBER |
static int |
PORT_SPECIFICATION_FIELD_NUMBER |
static int |
PROXY_HEADER_FIELD_NUMBER |
static int |
REQUEST_PATH_FIELD_NUMBER |
static int |
RESPONSE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static HTTP2HealthCheck |
getDefaultInstance() |
HTTP2HealthCheck |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getHost()
The value of the host header in the HTTP/2 health check request.
|
com.google.protobuf.ByteString |
getHostBytes()
The value of the host header in the HTTP/2 health check request.
|
com.google.protobuf.Parser<HTTP2HealthCheck> |
getParserForType() |
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/2 health check request.
|
com.google.protobuf.ByteString |
getRequestPathBytes()
The request path of the HTTP/2 health check request.
|
String |
getResponse()
Creates a content-based HTTP/2 health check.
|
com.google.protobuf.ByteString |
getResponseBytes()
Creates a content-based HTTP/2 health check.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasHost()
The value of the host header in the HTTP/2 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/2 health check request.
|
boolean |
hasResponse()
Creates a content-based HTTP/2 health check.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static HTTP2HealthCheck.Builder |
newBuilder() |
static HTTP2HealthCheck.Builder |
newBuilder(HTTP2HealthCheck prototype) |
HTTP2HealthCheck.Builder |
newBuilderForType() |
protected HTTP2HealthCheck.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static HTTP2HealthCheck |
parseDelimitedFrom(InputStream input) |
static HTTP2HealthCheck |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HTTP2HealthCheck |
parseFrom(byte[] data) |
static HTTP2HealthCheck |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HTTP2HealthCheck |
parseFrom(ByteBuffer data) |
static HTTP2HealthCheck |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HTTP2HealthCheck |
parseFrom(com.google.protobuf.ByteString data) |
static HTTP2HealthCheck |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HTTP2HealthCheck |
parseFrom(com.google.protobuf.CodedInputStream input) |
static HTTP2HealthCheck |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HTTP2HealthCheck |
parseFrom(InputStream input) |
static HTTP2HealthCheck |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<HTTP2HealthCheck> |
parser() |
HTTP2HealthCheck.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int HOST_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER
public static final int PORT_NAME_FIELD_NUMBER
public static final int PORT_SPECIFICATION_FIELD_NUMBER
public static final int PROXY_HEADER_FIELD_NUMBER
public static final int REQUEST_PATH_FIELD_NUMBER
public static final int RESPONSE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasHost()
The value of the host header in the HTTP/2 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 HTTP2HealthCheckOrBuilderpublic String getHost()
The value of the host header in the HTTP/2 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 HTTP2HealthCheckOrBuilderpublic com.google.protobuf.ByteString getHostBytes()
The value of the host header in the HTTP/2 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 HTTP2HealthCheckOrBuilderpublic 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;hasPort in interface HTTP2HealthCheckOrBuilderpublic 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;getPort in interface HTTP2HealthCheckOrBuilderpublic boolean hasPortName()
Not supported.
optional string port_name = 41534345;hasPortName in interface HTTP2HealthCheckOrBuilderpublic String getPortName()
Not supported.
optional string port_name = 41534345;getPortName in interface HTTP2HealthCheckOrBuilderpublic com.google.protobuf.ByteString getPortNameBytes()
Not supported.
optional string port_name = 41534345;getPortNameBytes in interface HTTP2HealthCheckOrBuilderpublic 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;hasPortSpecification in interface HTTP2HealthCheckOrBuilderpublic 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;getPortSpecification in interface HTTP2HealthCheckOrBuilderpublic 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;getPortSpecificationBytes in interface HTTP2HealthCheckOrBuilderpublic 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 HTTP2HealthCheckOrBuilderpublic 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 HTTP2HealthCheckOrBuilderpublic 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 HTTP2HealthCheckOrBuilderpublic boolean hasRequestPath()
The request path of the HTTP/2 health check request. The default value is /.
optional string request_path = 229403605;hasRequestPath in interface HTTP2HealthCheckOrBuilderpublic String getRequestPath()
The request path of the HTTP/2 health check request. The default value is /.
optional string request_path = 229403605;getRequestPath in interface HTTP2HealthCheckOrBuilderpublic com.google.protobuf.ByteString getRequestPathBytes()
The request path of the HTTP/2 health check request. The default value is /.
optional string request_path = 229403605;getRequestPathBytes in interface HTTP2HealthCheckOrBuilderpublic boolean hasResponse()
Creates a content-based HTTP/2 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 HTTP2HealthCheckOrBuilderpublic String getResponse()
Creates a content-based HTTP/2 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 HTTP2HealthCheckOrBuilderpublic com.google.protobuf.ByteString getResponseBytes()
Creates a content-based HTTP/2 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 HTTP2HealthCheckOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static HTTP2HealthCheck parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HTTP2HealthCheck parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HTTP2HealthCheck parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HTTP2HealthCheck parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HTTP2HealthCheck parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HTTP2HealthCheck parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HTTP2HealthCheck parseFrom(InputStream input) throws IOException
IOExceptionpublic static HTTP2HealthCheck parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HTTP2HealthCheck parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static HTTP2HealthCheck parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HTTP2HealthCheck parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static HTTP2HealthCheck parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic HTTP2HealthCheck.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static HTTP2HealthCheck.Builder newBuilder()
public static HTTP2HealthCheck.Builder newBuilder(HTTP2HealthCheck prototype)
public HTTP2HealthCheck.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected HTTP2HealthCheck.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static HTTP2HealthCheck getDefaultInstance()
public static com.google.protobuf.Parser<HTTP2HealthCheck> parser()
public com.google.protobuf.Parser<HTTP2HealthCheck> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public HTTP2HealthCheck getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.