@java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_);
      }
      if (port_ != 0) {
        output.writeInt32(2, port_);
      }
      getUnknownFields().writeTo(output);
    }
<pre>
Optional. Port to which the request should be sent.
</pre>

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

@return The port.
java-workstations/proto-google-cloud-workstations-v1/src/main/java/com/google/cloud/workstations/v1/WorkstationConfig.java