public int getProjectAllowlistCount() {
      return projectAllowlist_.size();
    }
<pre>
A list of Projects from which the forwarding rule will target the service
attachment.
</pre>

<code>repeated string project_allowlist = 2;</code>

@return The count of projectAllowlist.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PrivateServiceConnectConfig.java