public static enum SecurityPolicyRuleRedirectOptions.Type extends Enum<SecurityPolicyRuleRedirectOptions.Type> implements com.google.protobuf.ProtocolMessageEnum
Type of the redirect action.Protobuf enum
google.cloud.compute.v1.SecurityPolicyRuleRedirectOptions.Type| Enum Constant and Description |
|---|
EXTERNAL_302
EXTERNAL_302 = 395733761; |
GOOGLE_RECAPTCHA
GOOGLE_RECAPTCHA = 518803009; |
UNDEFINED_TYPE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
EXTERNAL_302_VALUE
EXTERNAL_302 = 395733761; |
static int |
GOOGLE_RECAPTCHA_VALUE
GOOGLE_RECAPTCHA = 518803009; |
static int |
UNDEFINED_TYPE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static SecurityPolicyRuleRedirectOptions.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<SecurityPolicyRuleRedirectOptions.Type> |
internalGetValueMap() |
static SecurityPolicyRuleRedirectOptions.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SecurityPolicyRuleRedirectOptions.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SecurityPolicyRuleRedirectOptions.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecurityPolicyRuleRedirectOptions.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecurityPolicyRuleRedirectOptions.Type UNDEFINED_TYPE
A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0;public static final SecurityPolicyRuleRedirectOptions.Type EXTERNAL_302
EXTERNAL_302 = 395733761;public static final SecurityPolicyRuleRedirectOptions.Type GOOGLE_RECAPTCHA
GOOGLE_RECAPTCHA = 518803009;public static final SecurityPolicyRuleRedirectOptions.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 EXTERNAL_302_VALUE
EXTERNAL_302 = 395733761;public static final int GOOGLE_RECAPTCHA_VALUE
GOOGLE_RECAPTCHA = 518803009;public static SecurityPolicyRuleRedirectOptions.Type[] values()
for (SecurityPolicyRuleRedirectOptions.Type c : SecurityPolicyRuleRedirectOptions.Type.values()) System.out.println(c);
public static SecurityPolicyRuleRedirectOptions.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 SecurityPolicyRuleRedirectOptions.Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SecurityPolicyRuleRedirectOptions.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SecurityPolicyRuleRedirectOptions.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 SecurityPolicyRuleRedirectOptions.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.