public Builder setPort(int value) {

      port_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
<pre>
Output only. The port number of the exposed endpoint.
</pre>

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

@param value The port to set.
@return This builder for chaining.
java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/DiscoveryEndpoint.java