# Enum FirewallInfo.FirewallRuleType (0.16.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.16.0 (latest)](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType)
- [0.15.0](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType)
- [0.14.1](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType)

    public enum FirewallInfo.FirewallRuleType extends Enum<FirewallInfo.FirewallRuleType> implements ProtocolMessageEnum

The firewall rule's type.

Protobuf enum `google.events.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType`

## Implements

[ProtocolMessageEnum](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ProtocolMessageEnum.html)

## Inherited Members

[Enum.\<T\>valueOf(Class\<T\>,String)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#valueOf-java.lang.Class-java.lang.String-) [Enum.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#clone--) [Enum.compareTo(E)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#compareTo-E-) [Enum.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#equals-java.lang.Object-) [Enum.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#finalize--) [Enum.getDeclaringClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#getDeclaringClass--) [Enum.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#hashCode--) [Enum.name()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#name--) [Enum.ordinal()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#ordinal--) [Enum.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#toString--) [Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) [Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) [Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) [Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) [Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) [Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)

| ## Static Fields ||
|---|---|
| **Name** | **Description** |
| `FIREWALL_RULE_TYPE_UNSPECIFIED` | Unspecified type. `FIREWALL_RULE_TYPE_UNSPECIFIED = 0;` |
| `FIREWALL_RULE_TYPE_UNSPECIFIED_VALUE` | 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;` |
| `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;` |
| `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;` |
| `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;` |
| `NETWORK_FIREWALL_POLICY_RULE` | 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_FIREWALL_POLICY_RULE_VALUE` | 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;` |
| `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;` |
| `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;` |
| `UNRECOGNIZED` |   |
| `VPC_FIREWALL_RULE` | VPC firewall rule. For details, see [VPC firewall rules overview](https://cloud.google.com/vpc/docs/firewalls). `VPC_FIREWALL_RULE = 2;` |
| `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;` |

| ## Static Methods ||
|---|---|
| **Name** | **Description** |
| `forNumber(int value)` |   |
| `getDescriptor()` |   |
| `internalGetValueMap()` |   |
| `valueOf(Descriptors.EnumValueDescriptor desc)` |   |
| `valueOf(int value)` | **Deprecated.** *Use [#forNumber(int)](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType#com_google_events_cloud_networkmanagement_v1_FirewallInfo_FirewallRuleType_forNumber_int_) instead.* |
| `valueOf(String name)` |   |
| `values()` |   |

| ## Methods ||
|---|---|
| **Name** | **Description** |
| `getDescriptorForType()` |   |
| `getNumber()` |   |
| `getValueDescriptor()` |   |