Interface WorkstationConfig.PersistentDirectoryOrBuilder (0.61.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static interface WorkstationConfig.PersistentDirectoryOrBuilder extends MessageOrBuilder
Methods
getDirectoryTypeCase()
public abstract WorkstationConfig.PersistentDirectory.DirectoryTypeCase getDirectoryTypeCase()
getGcePd()
public abstract WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk getGcePd()
A PersistentDirectory backed by a Compute Engine persistent disk.
.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk gce_pd = 2;
getGcePdOrBuilder()
public abstract WorkstationConfig.PersistentDirectory.GceRegionalPersistentDiskOrBuilder getGcePdOrBuilder()
A PersistentDirectory backed by a Compute Engine persistent disk.
.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk gce_pd = 2;
getMountPath()
public abstract String getMountPath()
Optional. Location of this directory in the running workstation.
string mount_path = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The mountPath.
|
getMountPathBytes()
public abstract ByteString getMountPathBytes()
Optional. Location of this directory in the running workstation.
string mount_path = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for mountPath.
|
hasGcePd()
public abstract boolean hasGcePd()
A PersistentDirectory backed by a Compute Engine persistent disk.
.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk gce_pd = 2;
Returns |
Type |
Description |
boolean |
Whether the gcePd field is set.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Interface WorkstationConfig.PersistentDirectoryOrBuilder (0.60.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.60.0 (latest)](/java/docs/reference/google-cloud-workstations/latest/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.58.0](/java/docs/reference/google-cloud-workstations/0.58.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.56.0](/java/docs/reference/google-cloud-workstations/0.56.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.55.0](/java/docs/reference/google-cloud-workstations/0.55.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.52.0](/java/docs/reference/google-cloud-workstations/0.52.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.51.0](/java/docs/reference/google-cloud-workstations/0.51.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.50.0](/java/docs/reference/google-cloud-workstations/0.50.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.48.0](/java/docs/reference/google-cloud-workstations/0.48.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.47.0](/java/docs/reference/google-cloud-workstations/0.47.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.46.0](/java/docs/reference/google-cloud-workstations/0.46.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.45.0](/java/docs/reference/google-cloud-workstations/0.45.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.44.0](/java/docs/reference/google-cloud-workstations/0.44.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.43.0](/java/docs/reference/google-cloud-workstations/0.43.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.42.0](/java/docs/reference/google-cloud-workstations/0.42.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.41.0](/java/docs/reference/google-cloud-workstations/0.41.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.40.0](/java/docs/reference/google-cloud-workstations/0.40.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.39.0](/java/docs/reference/google-cloud-workstations/0.39.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.37.0](/java/docs/reference/google-cloud-workstations/0.37.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.36.0](/java/docs/reference/google-cloud-workstations/0.36.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.35.0](/java/docs/reference/google-cloud-workstations/0.35.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.34.0](/java/docs/reference/google-cloud-workstations/0.34.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.33.0](/java/docs/reference/google-cloud-workstations/0.33.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.32.0](/java/docs/reference/google-cloud-workstations/0.32.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.31.0](/java/docs/reference/google-cloud-workstations/0.31.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.30.0](/java/docs/reference/google-cloud-workstations/0.30.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.29.0](/java/docs/reference/google-cloud-workstations/0.29.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.28.0](/java/docs/reference/google-cloud-workstations/0.28.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.27.0](/java/docs/reference/google-cloud-workstations/0.27.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.25.0](/java/docs/reference/google-cloud-workstations/0.25.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.24.0](/java/docs/reference/google-cloud-workstations/0.24.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.23.0](/java/docs/reference/google-cloud-workstations/0.23.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.22.0](/java/docs/reference/google-cloud-workstations/0.22.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.21.0](/java/docs/reference/google-cloud-workstations/0.21.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.20.0](/java/docs/reference/google-cloud-workstations/0.20.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.19.0](/java/docs/reference/google-cloud-workstations/0.19.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.18.0](/java/docs/reference/google-cloud-workstations/0.18.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.17.0](/java/docs/reference/google-cloud-workstations/0.17.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.16.0](/java/docs/reference/google-cloud-workstations/0.16.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloud-workstations/0.15.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.12.0](/java/docs/reference/google-cloud-workstations/0.12.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.11.0](/java/docs/reference/google-cloud-workstations/0.11.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.10.0](/java/docs/reference/google-cloud-workstations/0.10.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.9.0](/java/docs/reference/google-cloud-workstations/0.9.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.8.0](/java/docs/reference/google-cloud-workstations/0.8.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.7.0](/java/docs/reference/google-cloud-workstations/0.7.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.6.0](/java/docs/reference/google-cloud-workstations/0.6.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.5.0](/java/docs/reference/google-cloud-workstations/0.5.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.4.0](/java/docs/reference/google-cloud-workstations/0.4.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.3.0](/java/docs/reference/google-cloud-workstations/0.3.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.2.0](/java/docs/reference/google-cloud-workstations/0.2.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder)\n- [0.1.0](/java/docs/reference/google-cloud-workstations/0.1.0/com.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryOrBuilder) \n\n public static interface WorkstationConfig.PersistentDirectoryOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getDirectoryTypeCase()\n\n public abstract WorkstationConfig.PersistentDirectory.DirectoryTypeCase getDirectoryTypeCase()\n\n### getGcePd()\n\n public abstract WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk getGcePd()\n\nA PersistentDirectory backed by a Compute Engine persistent disk.\n\n`\n.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk gce_pd = 2;\n`\n\n### getGcePdOrBuilder()\n\n public abstract WorkstationConfig.PersistentDirectory.GceRegionalPersistentDiskOrBuilder getGcePdOrBuilder()\n\nA PersistentDirectory backed by a Compute Engine persistent disk.\n\n`\n.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk gce_pd = 2;\n`\n\n### getMountPath()\n\n public abstract String getMountPath()\n\nOptional. Location of this directory in the running workstation.\n\n`string mount_path = 1 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getMountPathBytes()\n\n public abstract ByteString getMountPathBytes()\n\nOptional. Location of this directory in the running workstation.\n\n`string mount_path = 1 [(.google.api.field_behavior) = OPTIONAL];`\n\n### hasGcePd()\n\n public abstract boolean hasGcePd()\n\nA PersistentDirectory backed by a Compute Engine persistent disk.\n\n`\n.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk gce_pd = 2;\n`"]]