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 and Description |
|---|
FIREWALL_RULE_TYPE_UNSPECIFIED
Unspecified type.
|
HIERARCHICAL_FIREWALL_POLICY_RULE
Hierarchical firewall policy rule.
|
IMPLIED_VPC_FIREWALL_RULE
Implied VPC firewall rule.
|
SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE
Implicit firewall rules that are managed by serverless VPC access to
allow ingress access.
|
UNRECOGNIZED |
VPC_FIREWALL_RULE
VPC firewall rule.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
FIREWALL_RULE_TYPE_UNSPECIFIED_VALUE
Unspecified type.
|
static int |
HIERARCHICAL_FIREWALL_POLICY_RULE_VALUE
Hierarchical firewall policy rule.
|
static int |
IMPLIED_VPC_FIREWALL_RULE_VALUE
Implied VPC firewall rule.
|
static int |
SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE_VALUE
Implicit firewall rules that are managed by serverless VPC access to
allow ingress access.
|
static int |
VPC_FIREWALL_RULE_VALUE
VPC firewall rule.
|
| Modifier and Type | Method and Description |
|---|---|
static FirewallInfo.FirewallRuleType |
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<FirewallInfo.FirewallRuleType> |
internalGetValueMap() |
static FirewallInfo.FirewallRuleType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static FirewallInfo.FirewallRuleType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static FirewallInfo.FirewallRuleType |
valueOf(String 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.
|
public static final FirewallInfo.FirewallRuleType FIREWALL_RULE_TYPE_UNSPECIFIED
Unspecified type.
FIREWALL_RULE_TYPE_UNSPECIFIED = 0;public static final FirewallInfo.FirewallRuleType 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;public static final FirewallInfo.FirewallRuleType VPC_FIREWALL_RULE
VPC firewall rule. For details, see [VPC firewall rules overview](https://cloud.google.com/vpc/docs/firewalls).
VPC_FIREWALL_RULE = 2;public static final FirewallInfo.FirewallRuleType 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;public static final FirewallInfo.FirewallRuleType 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;public static final FirewallInfo.FirewallRuleType UNRECOGNIZED
public static final int FIREWALL_RULE_TYPE_UNSPECIFIED_VALUE
Unspecified type.
FIREWALL_RULE_TYPE_UNSPECIFIED = 0;public static final int HIERARCHICAL_FIREWALL_POLICY_RULE_VALUE
Hierarchical firewall policy rule. For details, see [Hierarchical firewall policies overview](https://cloud.google.com/vpc/docs/firewall-policies).
HIERARCHICAL_FIREWALL_POLICY_RULE = 1;public static final int VPC_FIREWALL_RULE_VALUE
VPC firewall rule. For details, see [VPC firewall rules overview](https://cloud.google.com/vpc/docs/firewalls).
VPC_FIREWALL_RULE = 2;public static final int IMPLIED_VPC_FIREWALL_RULE_VALUE
Implied VPC firewall rule. For details, see [Implied rules](https://cloud.google.com/vpc/docs/firewalls#default_firewall_rules).
IMPLIED_VPC_FIREWALL_RULE = 3;public static final int SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE_VALUE
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;public static FirewallInfo.FirewallRuleType[] values()
for (FirewallInfo.FirewallRuleType c : FirewallInfo.FirewallRuleType.values()) System.out.println(c);
public static FirewallInfo.FirewallRuleType 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 FirewallInfo.FirewallRuleType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static FirewallInfo.FirewallRuleType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<FirewallInfo.FirewallRuleType> 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 FirewallInfo.FirewallRuleType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.