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

    if (!getIpAddress().equals(other.getIpAddress())) return false;
    if (getPort() != other.getPort()) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
The port of this network endpoint.
</pre>

<code>int32 port = 2;</code>

@return The port.
java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/NetworkEndpoint.java