Package com.google.cloud.compute.v1
Enum InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type
- java.lang.Object
-
- java.lang.Enum<InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type>
-
- com.google.cloud.compute.v1.InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type>
- Enclosing class:
- InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
public static enum InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type extends Enum<InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type> implements com.google.protobuf.ProtocolMessageEnum
[Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
Protobuf enumgoogle.cloud.compute.v1.InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HIERARCHY
HIERARCHY = 69902869;
NETWORK
NETWORK = 413984270;
NETWORK_REGIONAL
NETWORK_REGIONAL = 190804272;
UNDEFINED_TYPE
A value indicating that the enum field is not set.UNRECOGNIZED
UNSPECIFIED
UNSPECIFIED = 526786327;
-
Field Summary
Fields Modifier and Type Field Description static int
HIERARCHY_VALUE
HIERARCHY = 69902869;
static int
NETWORK_REGIONAL_VALUE
NETWORK_REGIONAL = 190804272;
static int
NETWORK_VALUE
NETWORK = 413984270;
static int
UNDEFINED_TYPE_VALUE
A value indicating that the enum field is not set.static int
UNSPECIFIED_VALUE
UNSPECIFIED = 526786327;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.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<InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type>
internalGetValueMap()
static InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type
valueOf(int value)
Deprecated.static InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEFINED_TYPE
public static final InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type UNDEFINED_TYPE
A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0;
-
HIERARCHY
public static final InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type HIERARCHY
HIERARCHY = 69902869;
-
NETWORK
public static final InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type NETWORK
NETWORK = 413984270;
-
NETWORK_REGIONAL
public static final InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type NETWORK_REGIONAL
NETWORK_REGIONAL = 190804272;
-
UNSPECIFIED
public static final InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type UNSPECIFIED
UNSPECIFIED = 526786327;
-
UNRECOGNIZED
public static final InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type UNRECOGNIZED
-
-
Field Detail
-
UNDEFINED_TYPE_VALUE
public static final int UNDEFINED_TYPE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0;
- See Also:
- Constant Field Values
-
HIERARCHY_VALUE
public static final int HIERARCHY_VALUE
HIERARCHY = 69902869;
- See Also:
- Constant Field Values
-
NETWORK_VALUE
public static final int NETWORK_VALUE
NETWORK = 413984270;
- See Also:
- Constant Field Values
-
NETWORK_REGIONAL_VALUE
public static final int NETWORK_REGIONAL_VALUE
NETWORK_REGIONAL = 190804272;
- See Also:
- Constant Field Values
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
UNSPECIFIED = 526786327;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type[] 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 (InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type c : InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type 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 InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type 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 InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type 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<InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type> 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 InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type 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
-
-