@java.lang.Override
      public boolean hasGcePd() {
        return directoryTypeCase_ == 2;
      }
<pre>
A PersistentDirectory backed by a Compute Engine persistent disk.
</pre>

<code>
.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk gce_pd = 2;
</code>

@return Whether the gcePd field is set.
java-workstations/proto-google-cloud-workstations-v1beta/src/main/java/com/google/cloud/workstations/v1beta/WorkstationConfig.java