public static enum FirewallPolicyRule.Direction extends Enum<FirewallPolicyRule.Direction> implements com.google.protobuf.ProtocolMessageEnum
The direction in which this rule applies.Protobuf enum
google.cloud.compute.v1.FirewallPolicyRule.Direction| Enum Constant and Description |
|---|
EGRESS
EGRESS = 432880501; |
INGRESS
INGRESS = 516931221; |
UNDEFINED_DIRECTION
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
EGRESS_VALUE
EGRESS = 432880501; |
static int |
INGRESS_VALUE
INGRESS = 516931221; |
static int |
UNDEFINED_DIRECTION_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static FirewallPolicyRule.Direction |
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<FirewallPolicyRule.Direction> |
internalGetValueMap() |
static FirewallPolicyRule.Direction |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static FirewallPolicyRule.Direction |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static FirewallPolicyRule.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FirewallPolicyRule.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FirewallPolicyRule.Direction UNDEFINED_DIRECTION
A value indicating that the enum field is not set.
UNDEFINED_DIRECTION = 0;public static final FirewallPolicyRule.Direction EGRESS
EGRESS = 432880501;public static final FirewallPolicyRule.Direction INGRESS
INGRESS = 516931221;public static final FirewallPolicyRule.Direction UNRECOGNIZED
public static final int UNDEFINED_DIRECTION_VALUE
A value indicating that the enum field is not set.
UNDEFINED_DIRECTION = 0;public static final int EGRESS_VALUE
EGRESS = 432880501;public static final int INGRESS_VALUE
INGRESS = 516931221;public static FirewallPolicyRule.Direction[] values()
for (FirewallPolicyRule.Direction c : FirewallPolicyRule.Direction.values()) System.out.println(c);
public static FirewallPolicyRule.Direction 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 FirewallPolicyRule.Direction valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static FirewallPolicyRule.Direction forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<FirewallPolicyRule.Direction> 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 FirewallPolicyRule.Direction valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.