@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.vmwareengine.v1.Subnet)) {
      return super.equals(obj);
    }
    com.google.cloud.vmwareengine.v1.Subnet other = (com.google.cloud.vmwareengine.v1.Subnet) obj;

    if (!getName().equals(other.getName())) return false;
    if (!getIpCidrRange().equals(other.getIpCidrRange())) return false;
    if (!getGatewayIp().equals(other.getGatewayIp())) return false;
    if (!getType().equals(other.getType())) return false;
    if (state_ != other.state_) return false;
    if (getVlanId() != other.getVlanId()) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Output only. VLAN ID of the VLAN on which the subnet is configured
</pre>

<code>int32 vlan_id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>

@return The vlanId.
java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/Subnet.java