@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipAddress_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ipAddress_);
    }
    if (port_ != 0) {
      output.writeInt32(2, port_);
    }
    getUnknownFields().writeTo(output);
  }
<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