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

      if (!getIpRangeCase().equals(other.getIpRangeCase())) return false;
      switch (ipRangeCase_) {
        case 1:
          if (!getIpAddress().equals(other.getIpAddress())) return false;
          break;
        case 2:
          if (!getIpAddressRange().equals(other.getIpAddressRange())) return false;
          break;
        case 3:
          if (!getExternalAddress().equals(other.getExternalAddress())) return false;
          break;
        case 0:
        default:
      }
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }
<pre>
The name of an `ExternalAddress` resource. The external address must
have been reserved in the scope of this external access rule's parent
network policy.  Provide the external address name in the form of
`projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}`.
For example:
`projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address`.
</pre>

<code>string external_address = 3 [(.google.api.resource_reference) = { ... }</code>

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