public static enum HealthCheck.Type extends Enum<HealthCheck.Type> implements com.google.protobuf.ProtocolMessageEnum
Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC. Exactly one of the protocol-specific health check fields must be specified, which must match type field.Protobuf enum
google.cloud.compute.v1.HealthCheck.Type| Enum Constant and Description |
|---|
GRPC
GRPC = 2196510; |
HTTP
HTTP = 2228360; |
HTTP2
HTTP2 = 69079210; |
HTTPS
HTTPS = 69079243; |
INVALID
INVALID = 530283991; |
SSL
SSL = 82412; |
TCP
TCP = 82881; |
UNDEFINED_TYPE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
GRPC_VALUE
GRPC = 2196510; |
static int |
HTTP_VALUE
HTTP = 2228360; |
static int |
HTTP2_VALUE
HTTP2 = 69079210; |
static int |
HTTPS_VALUE
HTTPS = 69079243; |
static int |
INVALID_VALUE
INVALID = 530283991; |
static int |
SSL_VALUE
SSL = 82412; |
static int |
TCP_VALUE
TCP = 82881; |
static int |
UNDEFINED_TYPE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static HealthCheck.Type |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<HealthCheck.Type> |
internalGetValueMap() |
static HealthCheck.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static HealthCheck.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static HealthCheck.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HealthCheck.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HealthCheck.Type UNDEFINED_TYPE
A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0;public static final HealthCheck.Type GRPC
GRPC = 2196510;public static final HealthCheck.Type HTTP
HTTP = 2228360;public static final HealthCheck.Type HTTP2
HTTP2 = 69079210;public static final HealthCheck.Type HTTPS
HTTPS = 69079243;public static final HealthCheck.Type INVALID
INVALID = 530283991;public static final HealthCheck.Type SSL
SSL = 82412;public static final HealthCheck.Type TCP
TCP = 82881;public static final HealthCheck.Type UNRECOGNIZED
public static final int UNDEFINED_TYPE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0;public static final int GRPC_VALUE
GRPC = 2196510;public static final int HTTP_VALUE
HTTP = 2228360;public static final int HTTP2_VALUE
HTTP2 = 69079210;public static final int HTTPS_VALUE
HTTPS = 69079243;public static final int INVALID_VALUE
INVALID = 530283991;public static final int SSL_VALUE
SSL = 82412;public static final int TCP_VALUE
TCP = 82881;public static HealthCheck.Type[] values()
for (HealthCheck.Type c : HealthCheck.Type.values()) System.out.println(c);
public static HealthCheck.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static HealthCheck.Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static HealthCheck.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<HealthCheck.Type> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static HealthCheck.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.