@java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, projectId_);
      }
      getUnknownFields().writeTo(output);
    }
<pre>
Project in which the subnet exists.
If not set, this project is assumed to be the project for which
the connector create request was issued.
</pre>

<code>string project_id = 2;</code>

@return The bytes for projectId.
java-vpcaccess/proto-google-cloud-vpcaccess-v1/src/main/java/com/google/cloud/vpcaccess/v1/Connector.java