public final class TCPHealthCheck extends com.google.protobuf.GeneratedMessageV3 implements TCPHealthCheckOrBuilder
Protobuf type
google.cloud.compute.v1.TCPHealthCheck| Modifier and Type | Class and Description |
|---|---|
static class |
TCPHealthCheck.Builder |
static class |
TCPHealthCheck.PortSpecification
Specifies how a port is selected for health checking.
|
static class |
TCPHealthCheck.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 |
PORT_FIELD_NUMBER |
static int |
PORT_NAME_FIELD_NUMBER |
static int |
PORT_SPECIFICATION_FIELD_NUMBER |
static int |
PROXY_HEADER_FIELD_NUMBER |
static int |
REQUEST_FIELD_NUMBER |
static int |
RESPONSE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static TCPHealthCheck |
getDefaultInstance() |
TCPHealthCheck |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<TCPHealthCheck> |
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 |
getRequest()
Instructs the health check prober to send this exact ASCII string, up to 1024 bytes in length, after establishing the TCP connection.
|
com.google.protobuf.ByteString |
getRequestBytes()
Instructs the health check prober to send this exact ASCII string, up to 1024 bytes in length, after establishing the TCP connection.
|
String |
getResponse()
Creates a content-based TCP health check.
|
com.google.protobuf.ByteString |
getResponseBytes()
Creates a content-based TCP health check.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
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 |
hasRequest()
Instructs the health check prober to send this exact ASCII string, up to 1024 bytes in length, after establishing the TCP connection.
|
boolean |
hasResponse()
Creates a content-based TCP health check.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TCPHealthCheck.Builder |
newBuilder() |
static TCPHealthCheck.Builder |
newBuilder(TCPHealthCheck prototype) |
TCPHealthCheck.Builder |
newBuilderForType() |
protected TCPHealthCheck.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TCPHealthCheck |
parseDelimitedFrom(InputStream input) |
static TCPHealthCheck |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TCPHealthCheck |
parseFrom(byte[] data) |
static TCPHealthCheck |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TCPHealthCheck |
parseFrom(ByteBuffer data) |
static TCPHealthCheck |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TCPHealthCheck |
parseFrom(com.google.protobuf.ByteString data) |
static TCPHealthCheck |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TCPHealthCheck |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TCPHealthCheck |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TCPHealthCheck |
parseFrom(InputStream input) |
static TCPHealthCheck |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TCPHealthCheck> |
parser() |
TCPHealthCheck.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 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_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 hasPort()
The TCP port number to which the health check prober sends packets. The default value is 80. Valid values are 1 through 65535.
optional int32 port = 3446913;hasPort in interface TCPHealthCheckOrBuilderpublic int getPort()
The TCP port number to which the health check prober sends packets. The default value is 80. Valid values are 1 through 65535.
optional int32 port = 3446913;getPort in interface TCPHealthCheckOrBuilderpublic boolean hasPortName()
Not supported.
optional string port_name = 41534345;hasPortName in interface TCPHealthCheckOrBuilderpublic String getPortName()
Not supported.
optional string port_name = 41534345;getPortName in interface TCPHealthCheckOrBuilderpublic com.google.protobuf.ByteString getPortNameBytes()
Not supported.
optional string port_name = 41534345;getPortNameBytes in interface TCPHealthCheckOrBuilderpublic 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 TCPHealthCheckOrBuilderpublic 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 TCPHealthCheckOrBuilderpublic 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 TCPHealthCheckOrBuilderpublic 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 TCPHealthCheckOrBuilderpublic 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 TCPHealthCheckOrBuilderpublic 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 TCPHealthCheckOrBuilderpublic boolean hasRequest()
Instructs the health check prober to send this exact ASCII string, up to 1024 bytes in length, after establishing the TCP connection.
optional string request = 21951119;hasRequest in interface TCPHealthCheckOrBuilderpublic String getRequest()
Instructs the health check prober to send this exact ASCII string, up to 1024 bytes in length, after establishing the TCP connection.
optional string request = 21951119;getRequest in interface TCPHealthCheckOrBuilderpublic com.google.protobuf.ByteString getRequestBytes()
Instructs the health check prober to send this exact ASCII string, up to 1024 bytes in length, after establishing the TCP connection.
optional string request = 21951119;getRequestBytes in interface TCPHealthCheckOrBuilderpublic boolean hasResponse()
Creates a content-based TCP health check. In addition to establishing a TCP connection, you can configure the health check to pass only when the backend sends this exact response ASCII string, up to 1024 bytes in length. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-ssl-tcp
optional string response = 196547649;hasResponse in interface TCPHealthCheckOrBuilderpublic String getResponse()
Creates a content-based TCP health check. In addition to establishing a TCP connection, you can configure the health check to pass only when the backend sends this exact response ASCII string, up to 1024 bytes in length. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-ssl-tcp
optional string response = 196547649;getResponse in interface TCPHealthCheckOrBuilderpublic com.google.protobuf.ByteString getResponseBytes()
Creates a content-based TCP health check. In addition to establishing a TCP connection, you can configure the health check to pass only when the backend sends this exact response ASCII string, up to 1024 bytes in length. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-ssl-tcp
optional string response = 196547649;getResponseBytes in interface TCPHealthCheckOrBuilderpublic 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 TCPHealthCheck parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TCPHealthCheck parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TCPHealthCheck parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TCPHealthCheck parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TCPHealthCheck parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TCPHealthCheck parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TCPHealthCheck parseFrom(InputStream input) throws IOException
IOExceptionpublic static TCPHealthCheck parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TCPHealthCheck parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TCPHealthCheck parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TCPHealthCheck parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TCPHealthCheck parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TCPHealthCheck.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TCPHealthCheck.Builder newBuilder()
public static TCPHealthCheck.Builder newBuilder(TCPHealthCheck prototype)
public TCPHealthCheck.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TCPHealthCheck.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TCPHealthCheck getDefaultInstance()
public static com.google.protobuf.Parser<TCPHealthCheck> parser()
public com.google.protobuf.Parser<TCPHealthCheck> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TCPHealthCheck getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.