public static enum SecurityPolicyRuleMatcher.VersionedExpr extends Enum<SecurityPolicyRuleMatcher.VersionedExpr> implements com.google.protobuf.ProtocolMessageEnum
Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.Protobuf enum
google.cloud.compute.v1.SecurityPolicyRuleMatcher.VersionedExpr| Enum Constant and Description |
|---|
SRC_IPS_V1
Matches the source IP address of a request to the IP ranges supplied in config.
|
UNDEFINED_VERSIONED_EXPR
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
SRC_IPS_V1_VALUE
Matches the source IP address of a request to the IP ranges supplied in config.
|
static int |
UNDEFINED_VERSIONED_EXPR_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static SecurityPolicyRuleMatcher.VersionedExpr |
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<SecurityPolicyRuleMatcher.VersionedExpr> |
internalGetValueMap() |
static SecurityPolicyRuleMatcher.VersionedExpr |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SecurityPolicyRuleMatcher.VersionedExpr |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SecurityPolicyRuleMatcher.VersionedExpr |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecurityPolicyRuleMatcher.VersionedExpr[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecurityPolicyRuleMatcher.VersionedExpr UNDEFINED_VERSIONED_EXPR
A value indicating that the enum field is not set.
UNDEFINED_VERSIONED_EXPR = 0;public static final SecurityPolicyRuleMatcher.VersionedExpr SRC_IPS_V1
Matches the source IP address of a request to the IP ranges supplied in config.
SRC_IPS_V1 = 70925961;public static final SecurityPolicyRuleMatcher.VersionedExpr UNRECOGNIZED
public static final int UNDEFINED_VERSIONED_EXPR_VALUE
A value indicating that the enum field is not set.
UNDEFINED_VERSIONED_EXPR = 0;public static final int SRC_IPS_V1_VALUE
Matches the source IP address of a request to the IP ranges supplied in config.
SRC_IPS_V1 = 70925961;public static SecurityPolicyRuleMatcher.VersionedExpr[] values()
for (SecurityPolicyRuleMatcher.VersionedExpr c : SecurityPolicyRuleMatcher.VersionedExpr.values()) System.out.println(c);
public static SecurityPolicyRuleMatcher.VersionedExpr 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 SecurityPolicyRuleMatcher.VersionedExpr valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SecurityPolicyRuleMatcher.VersionedExpr forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SecurityPolicyRuleMatcher.VersionedExpr> 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 SecurityPolicyRuleMatcher.VersionedExpr valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.