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

    if (!getName().equals(other.getName())) return false;
    if (hasCreateTime() != other.hasCreateTime()) return false;
    if (hasCreateTime()) {
      if (!getCreateTime().equals(other.getCreateTime())) return false;
    }
    if (hasUpdateTime() != other.hasUpdateTime()) return false;
    if (hasUpdateTime()) {
      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
    }
    if (hasInternetAccess() != other.hasInternetAccess()) return false;
    if (hasInternetAccess()) {
      if (!getInternetAccess().equals(other.getInternetAccess())) return false;
    }
    if (hasExternalIp() != other.hasExternalIp()) return false;
    if (hasExternalIp()) {
      if (!getExternalIp().equals(other.getExternalIp())) return false;
    }
    if (!getEdgeServicesCidr().equals(other.getEdgeServicesCidr())) return false;
    if (!getUid().equals(other.getUid())) return false;
    if (!getVmwareEngineNetwork().equals(other.getVmwareEngineNetwork())) return false;
    if (!getDescription().equals(other.getDescription())) return false;
    if (!getVmwareEngineNetworkCanonical().equals(other.getVmwareEngineNetworkCanonical()))
      return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Output only. The canonical name of the VMware Engine network in the form:
`projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`
</pre>

<code>
string vmware_engine_network_canonical = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
</code>

@return The bytes for vmwareEngineNetworkCanonical.
java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NetworkPolicy.java