@java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, projectId_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }
<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