@java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj instanceof com.google.cloud.vpcaccess.v1.Connector.Subnet)) {
        return super.equals(obj);
      }
      com.google.cloud.vpcaccess.v1.Connector.Subnet other =
          (com.google.cloud.vpcaccess.v1.Connector.Subnet) obj;

      if (!getName().equals(other.getName())) return false;
      if (!getProjectId().equals(other.getProjectId())) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }
<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