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

    if (!getIpAddress().equals(other.getIpAddress())) return false;
    if (getPort() != other.getPort()) return false;
    if (hasAccessConfig() != other.hasAccessConfig()) return false;
    if (hasAccessConfig()) {
      if (!getAccessConfig().equals(other.getAccessConfig())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
The access config for the TPU worker.
</pre>

<code>.google.cloud.tpu.v2alpha1.AccessConfig access_config = 5;</code>
java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/NetworkEndpoint.java