public Builder mergeFrom(com.google.cloud.vmwareengine.v1.NetworkPolicy other) {
      if (other == com.google.cloud.vmwareengine.v1.NetworkPolicy.getDefaultInstance()) return this;
      if (!other.getName().isEmpty()) {
        name_ = other.name_;
        bitField0_ |= 0x00000001;
        onChanged();
      }
      if (other.hasCreateTime()) {
        mergeCreateTime(other.getCreateTime());
      }
      if (other.hasUpdateTime()) {
        mergeUpdateTime(other.getUpdateTime());
      }
      if (other.hasInternetAccess()) {
        mergeInternetAccess(other.getInternetAccess());
      }
      if (other.hasExternalIp()) {
        mergeExternalIp(other.getExternalIp());
      }
      if (!other.getEdgeServicesCidr().isEmpty()) {
        edgeServicesCidr_ = other.edgeServicesCidr_;
        bitField0_ |= 0x00000020;
        onChanged();
      }
      if (!other.getUid().isEmpty()) {
        uid_ = other.uid_;
        bitField0_ |= 0x00000040;
        onChanged();
      }
      if (!other.getVmwareEngineNetwork().isEmpty()) {
        vmwareEngineNetwork_ = other.vmwareEngineNetwork_;
        bitField0_ |= 0x00000080;
        onChanged();
      }
      if (!other.getDescription().isEmpty()) {
        description_ = other.description_;
        bitField0_ |= 0x00000100;
        onChanged();
      }
      if (!other.getVmwareEngineNetworkCanonical().isEmpty()) {
        vmwareEngineNetworkCanonical_ = other.vmwareEngineNetworkCanonical_;
        bitField0_ |= 0x00000200;
        onChanged();
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }
<pre>
Represents a network policy resource. Network policies are regional
resources. You can use a network policy to enable or disable internet access
and external IP access. Network policies are associated with a VMware Engine
network, which might span across regions. For a given region, a network
policy applies to all private clouds in the VMware Engine network associated
with the policy.
</pre>

Protobuf type {@code google.cloud.vmwareengine.v1.NetworkPolicy}
java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NetworkPolicy.java