@java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj
          instanceof
          com.google.cloud.workstations.v1beta.WorkstationCluster.PrivateClusterConfig)) {
        return super.equals(obj);
      }
      com.google.cloud.workstations.v1beta.WorkstationCluster.PrivateClusterConfig other =
          (com.google.cloud.workstations.v1beta.WorkstationCluster.PrivateClusterConfig) obj;

      if (getEnablePrivateEndpoint() != other.getEnablePrivateEndpoint()) return false;
      if (!getClusterHostname().equals(other.getClusterHostname())) return false;
      if (!getServiceAttachmentUri().equals(other.getServiceAttachmentUri())) return false;
      if (!getAllowedProjectsList().equals(other.getAllowedProjectsList())) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }
<pre>
Optional. Additional projects that are allowed to attach to the
workstation cluster's service attachment. By default, the workstation
cluster's project and the VPC host project (if different) are allowed.
</pre>

<code>repeated string allowed_projects = 4 [(.google.api.field_behavior) = OPTIONAL];</code>

@param index The index of the value to return.
@return The bytes of the allowedProjects at the given index.
java-workstations/proto-google-cloud-workstations-v1beta/src/main/java/com/google/cloud/workstations/v1beta/WorkstationCluster.java