Package com.google.cloud.compute.v1
Enum Network.NetworkFirewallPolicyEnforcementOrder
- java.lang.Object
-
- java.lang.Enum<Network.NetworkFirewallPolicyEnforcementOrder>
-
- com.google.cloud.compute.v1.Network.NetworkFirewallPolicyEnforcementOrder
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<Network.NetworkFirewallPolicyEnforcementOrder>
- Enclosing class:
- Network
public static enum Network.NetworkFirewallPolicyEnforcementOrder extends Enum<Network.NetworkFirewallPolicyEnforcementOrder> implements com.google.protobuf.ProtocolMessageEnum
The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified.
Protobuf enumgoogle.cloud.compute.v1.Network.NetworkFirewallPolicyEnforcementOrder
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFTER_CLASSIC_FIREWALL
AFTER_CLASSIC_FIREWALL = 154582608;
BEFORE_CLASSIC_FIREWALL
BEFORE_CLASSIC_FIREWALL = 338458349;
UNDEFINED_NETWORK_FIREWALL_POLICY_ENFORCEMENT_ORDER
A value indicating that the enum field is not set.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
AFTER_CLASSIC_FIREWALL_VALUE
AFTER_CLASSIC_FIREWALL = 154582608;
static int
BEFORE_CLASSIC_FIREWALL_VALUE
BEFORE_CLASSIC_FIREWALL = 338458349;
static int
UNDEFINED_NETWORK_FIREWALL_POLICY_ENFORCEMENT_ORDER_VALUE
A value indicating that the enum field is not set.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Network.NetworkFirewallPolicyEnforcementOrder
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<Network.NetworkFirewallPolicyEnforcementOrder>
internalGetValueMap()
static Network.NetworkFirewallPolicyEnforcementOrder
valueOf(int value)
Deprecated.static Network.NetworkFirewallPolicyEnforcementOrder
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Network.NetworkFirewallPolicyEnforcementOrder
valueOf(String name)
Returns the enum constant of this type with the specified name.static Network.NetworkFirewallPolicyEnforcementOrder[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEFINED_NETWORK_FIREWALL_POLICY_ENFORCEMENT_ORDER
public static final Network.NetworkFirewallPolicyEnforcementOrder UNDEFINED_NETWORK_FIREWALL_POLICY_ENFORCEMENT_ORDER
A value indicating that the enum field is not set.
UNDEFINED_NETWORK_FIREWALL_POLICY_ENFORCEMENT_ORDER = 0;
-
AFTER_CLASSIC_FIREWALL
public static final Network.NetworkFirewallPolicyEnforcementOrder AFTER_CLASSIC_FIREWALL
AFTER_CLASSIC_FIREWALL = 154582608;
-
BEFORE_CLASSIC_FIREWALL
public static final Network.NetworkFirewallPolicyEnforcementOrder BEFORE_CLASSIC_FIREWALL
BEFORE_CLASSIC_FIREWALL = 338458349;
-
UNRECOGNIZED
public static final Network.NetworkFirewallPolicyEnforcementOrder UNRECOGNIZED
-
-
Field Detail
-
UNDEFINED_NETWORK_FIREWALL_POLICY_ENFORCEMENT_ORDER_VALUE
public static final int UNDEFINED_NETWORK_FIREWALL_POLICY_ENFORCEMENT_ORDER_VALUE
A value indicating that the enum field is not set.
UNDEFINED_NETWORK_FIREWALL_POLICY_ENFORCEMENT_ORDER = 0;
- See Also:
- Constant Field Values
-
AFTER_CLASSIC_FIREWALL_VALUE
public static final int AFTER_CLASSIC_FIREWALL_VALUE
AFTER_CLASSIC_FIREWALL = 154582608;
- See Also:
- Constant Field Values
-
BEFORE_CLASSIC_FIREWALL_VALUE
public static final int BEFORE_CLASSIC_FIREWALL_VALUE
BEFORE_CLASSIC_FIREWALL = 338458349;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Network.NetworkFirewallPolicyEnforcementOrder[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Network.NetworkFirewallPolicyEnforcementOrder c : Network.NetworkFirewallPolicyEnforcementOrder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Network.NetworkFirewallPolicyEnforcementOrder valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Network.NetworkFirewallPolicyEnforcementOrder valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static Network.NetworkFirewallPolicyEnforcementOrder forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Network.NetworkFirewallPolicyEnforcementOrder> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Network.NetworkFirewallPolicyEnforcementOrder valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-