@java.lang.Override
  public int getPort() {
    return port_;
  }
<pre>
Output only. The port number of the exposed endpoint.
</pre>

<code>int32 port = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>

@return The port.
java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/DiscoveryEndpoint.java