@java.lang.Override
    public com.google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory
            .GceRegionalPersistentDiskOrBuilder
        getGcePdOrBuilder() {
      if (directoryTypeCase_ == 2) {
        return (com.google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory
                .GceRegionalPersistentDisk)
            directoryType_;
      }
      return com.google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory
          .GceRegionalPersistentDisk.getDefaultInstance();
    }
<pre>
A PersistentDirectory backed by a Compute Engine persistent disk.
</pre>

<code>
.google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk gce_pd = 2;
</code>
java-workstations/proto-google-cloud-workstations-v1/src/main/java/com/google/cloud/workstations/v1/WorkstationConfig.java