public static enum HTTPHealthCheck.ProxyHeader extends Enum<HTTPHealthCheck.ProxyHeader> implements com.google.protobuf.ProtocolMessageEnum
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.Protobuf enum
google.cloud.compute.v1.HTTPHealthCheck.ProxyHeader| Enum Constant and Description |
|---|
NONE
NONE = 2402104; |
PROXY_V1
PROXY_V1 = 334352940; |
UNDEFINED_PROXY_HEADER
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
NONE_VALUE
NONE = 2402104; |
static int |
PROXY_V1_VALUE
PROXY_V1 = 334352940; |
static int |
UNDEFINED_PROXY_HEADER_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static HTTPHealthCheck.ProxyHeader |
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<HTTPHealthCheck.ProxyHeader> |
internalGetValueMap() |
static HTTPHealthCheck.ProxyHeader |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static HTTPHealthCheck.ProxyHeader |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static HTTPHealthCheck.ProxyHeader |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HTTPHealthCheck.ProxyHeader[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HTTPHealthCheck.ProxyHeader UNDEFINED_PROXY_HEADER
A value indicating that the enum field is not set.
UNDEFINED_PROXY_HEADER = 0;public static final HTTPHealthCheck.ProxyHeader NONE
NONE = 2402104;public static final HTTPHealthCheck.ProxyHeader PROXY_V1
PROXY_V1 = 334352940;public static final HTTPHealthCheck.ProxyHeader UNRECOGNIZED
public static final int UNDEFINED_PROXY_HEADER_VALUE
A value indicating that the enum field is not set.
UNDEFINED_PROXY_HEADER = 0;public static final int NONE_VALUE
NONE = 2402104;public static final int PROXY_V1_VALUE
PROXY_V1 = 334352940;public static HTTPHealthCheck.ProxyHeader[] values()
for (HTTPHealthCheck.ProxyHeader c : HTTPHealthCheck.ProxyHeader.values()) System.out.println(c);
public static HTTPHealthCheck.ProxyHeader 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 HTTPHealthCheck.ProxyHeader valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static HTTPHealthCheck.ProxyHeader forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<HTTPHealthCheck.ProxyHeader> 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 HTTPHealthCheck.ProxyHeader valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.