Enum FirewallInfo.FirewallRuleType
java.lang.Object
java.lang.Enum<FirewallInfo.FirewallRuleType>
com.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<FirewallInfo.FirewallRuleType>
- Enclosing class:
- FirewallInfo
public static enum FirewallInfo.FirewallRuleType
extends Enum<FirewallInfo.FirewallRuleType>
implements com.google.protobuf.ProtocolMessageEnum
The firewall rule's type.Protobuf enum
google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFirewall analysis was skipped due to executing Connectivity Test in the BypassFirewallChecks modeUnspecified type.Hierarchical firewall policy rule.Implied VPC firewall rule.User-defined global network firewall policy rule.User-defined regional network firewall policy rule.Implicit firewall rules that are managed by serverless VPC access to allow ingress access.System-defined global network firewall policy rule.System-defined regional network firewall policy rule.Tracking state for response traffic created when request traffic goes through allow firewall rule.Firewall policy rule containing attributes not yet supported in Connectivity tests.VPC firewall rule. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intFirewall analysis was skipped due to executing Connectivity Test in the BypassFirewallChecks modestatic final intUnspecified type.static final intHierarchical firewall policy rule.static final intImplied VPC firewall rule.static final intUser-defined global network firewall policy rule.static final intUser-defined regional network firewall policy rule.static final intImplicit firewall rules that are managed by serverless VPC access to allow ingress access.static final intSystem-defined global network firewall policy rule.static final intSystem-defined regional network firewall policy rule.static final intTracking state for response traffic created when request traffic goes through allow firewall rule.static final intFirewall policy rule containing attributes not yet supported in Connectivity tests.static final intVPC firewall rule. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<FirewallInfo.FirewallRuleType>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.static FirewallInfo.FirewallRuleType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FIREWALL_RULE_TYPE_UNSPECIFIED
Unspecified type.
FIREWALL_RULE_TYPE_UNSPECIFIED = 0; -
HIERARCHICAL_FIREWALL_POLICY_RULE
Hierarchical firewall policy rule. For details, see [Hierarchical firewall policies overview](https://cloud.google.com/vpc/docs/firewall-policies).
HIERARCHICAL_FIREWALL_POLICY_RULE = 1; -
VPC_FIREWALL_RULE
VPC firewall rule. For details, see [VPC firewall rules overview](https://cloud.google.com/vpc/docs/firewalls).
VPC_FIREWALL_RULE = 2; -
IMPLIED_VPC_FIREWALL_RULE
Implied VPC firewall rule. For details, see [Implied rules](https://cloud.google.com/vpc/docs/firewalls#default_firewall_rules).
IMPLIED_VPC_FIREWALL_RULE = 3; -
SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE
Implicit firewall rules that are managed by serverless VPC access to allow ingress access. They are not visible in the Google Cloud console. For details, see [VPC connector's implicit rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access).
SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE = 4; -
NETWORK_FIREWALL_POLICY_RULE
User-defined global network firewall policy rule. For details, see [Network firewall policies](https://cloud.google.com/vpc/docs/network-firewall-policies).
NETWORK_FIREWALL_POLICY_RULE = 5; -
NETWORK_REGIONAL_FIREWALL_POLICY_RULE
User-defined regional network firewall policy rule. For details, see [Regional network firewall policies](https://cloud.google.com/firewall/docs/regional-firewall-policies).
NETWORK_REGIONAL_FIREWALL_POLICY_RULE = 6; -
SYSTEM_NETWORK_FIREWALL_POLICY_RULE
System-defined global network firewall policy rule.
SYSTEM_NETWORK_FIREWALL_POLICY_RULE = 7; -
SYSTEM_REGIONAL_NETWORK_FIREWALL_POLICY_RULE
System-defined regional network firewall policy rule.
SYSTEM_REGIONAL_NETWORK_FIREWALL_POLICY_RULE = 8; -
UNSUPPORTED_FIREWALL_POLICY_RULE
Firewall policy rule containing attributes not yet supported in Connectivity tests. Firewall analysis is skipped if such a rule can potentially be matched. Please see the [list of unsupported configurations](https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/concepts/overview#unsupported-configs).
UNSUPPORTED_FIREWALL_POLICY_RULE = 100; -
TRACKING_STATE
Tracking state for response traffic created when request traffic goes through allow firewall rule. For details, see [firewall rules specifications](https://cloud.google.com/firewall/docs/firewalls#specifications)
TRACKING_STATE = 101; -
ANALYSIS_SKIPPED
Firewall analysis was skipped due to executing Connectivity Test in the BypassFirewallChecks mode
ANALYSIS_SKIPPED = 102; -
UNRECOGNIZED
-
-
Field Details
-
FIREWALL_RULE_TYPE_UNSPECIFIED_VALUE
public static final int FIREWALL_RULE_TYPE_UNSPECIFIED_VALUEUnspecified type.
FIREWALL_RULE_TYPE_UNSPECIFIED = 0;- See Also:
-
HIERARCHICAL_FIREWALL_POLICY_RULE_VALUE
public static final int HIERARCHICAL_FIREWALL_POLICY_RULE_VALUEHierarchical firewall policy rule. For details, see [Hierarchical firewall policies overview](https://cloud.google.com/vpc/docs/firewall-policies).
HIERARCHICAL_FIREWALL_POLICY_RULE = 1;- See Also:
-
VPC_FIREWALL_RULE_VALUE
public static final int VPC_FIREWALL_RULE_VALUEVPC firewall rule. For details, see [VPC firewall rules overview](https://cloud.google.com/vpc/docs/firewalls).
VPC_FIREWALL_RULE = 2;- See Also:
-
IMPLIED_VPC_FIREWALL_RULE_VALUE
public static final int IMPLIED_VPC_FIREWALL_RULE_VALUEImplied VPC firewall rule. For details, see [Implied rules](https://cloud.google.com/vpc/docs/firewalls#default_firewall_rules).
IMPLIED_VPC_FIREWALL_RULE = 3;- See Also:
-
SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE_VALUE
public static final int SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE_VALUEImplicit firewall rules that are managed by serverless VPC access to allow ingress access. They are not visible in the Google Cloud console. For details, see [VPC connector's implicit rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access).
SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE = 4;- See Also:
-
NETWORK_FIREWALL_POLICY_RULE_VALUE
public static final int NETWORK_FIREWALL_POLICY_RULE_VALUEUser-defined global network firewall policy rule. For details, see [Network firewall policies](https://cloud.google.com/vpc/docs/network-firewall-policies).
NETWORK_FIREWALL_POLICY_RULE = 5;- See Also:
-
NETWORK_REGIONAL_FIREWALL_POLICY_RULE_VALUE
public static final int NETWORK_REGIONAL_FIREWALL_POLICY_RULE_VALUEUser-defined regional network firewall policy rule. For details, see [Regional network firewall policies](https://cloud.google.com/firewall/docs/regional-firewall-policies).
NETWORK_REGIONAL_FIREWALL_POLICY_RULE = 6;- See Also:
-
SYSTEM_NETWORK_FIREWALL_POLICY_RULE_VALUE
public static final int SYSTEM_NETWORK_FIREWALL_POLICY_RULE_VALUESystem-defined global network firewall policy rule.
SYSTEM_NETWORK_FIREWALL_POLICY_RULE = 7;- See Also:
-
SYSTEM_REGIONAL_NETWORK_FIREWALL_POLICY_RULE_VALUE
public static final int SYSTEM_REGIONAL_NETWORK_FIREWALL_POLICY_RULE_VALUESystem-defined regional network firewall policy rule.
SYSTEM_REGIONAL_NETWORK_FIREWALL_POLICY_RULE = 8;- See Also:
-
UNSUPPORTED_FIREWALL_POLICY_RULE_VALUE
public static final int UNSUPPORTED_FIREWALL_POLICY_RULE_VALUEFirewall policy rule containing attributes not yet supported in Connectivity tests. Firewall analysis is skipped if such a rule can potentially be matched. Please see the [list of unsupported configurations](https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/concepts/overview#unsupported-configs).
UNSUPPORTED_FIREWALL_POLICY_RULE = 100;- See Also:
-
TRACKING_STATE_VALUE
public static final int TRACKING_STATE_VALUETracking state for response traffic created when request traffic goes through allow firewall rule. For details, see [firewall rules specifications](https://cloud.google.com/firewall/docs/firewalls#specifications)
TRACKING_STATE = 101;- See Also:
-
ANALYSIS_SKIPPED_VALUE
public static final int ANALYSIS_SKIPPED_VALUEFirewall analysis was skipped due to executing Connectivity Test in the BypassFirewallChecks mode
ANALYSIS_SKIPPED = 102;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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
- 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<FirewallInfo.FirewallRuleType> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static FirewallInfo.FirewallRuleType 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
-