@java.lang.Override
        public Builder mergeFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          if (extensionRegistry == null) {
            throw new java.lang.NullPointerException();
          }
          try {
            boolean done = false;
            while (!done) {
              int tag = input.readTag();
              switch (tag) {
                case 0:
                  done = true;
                  break;
                case 8:
                  {
                    sizeGb_ = input.readInt32();
                    bitField0_ |= 0x00000001;
                    break;
                  } // case 8
                case 18:
                  {
                    fsType_ = input.readStringRequireUtf8();
                    bitField0_ |= 0x00000002;
                    break;
                  } // case 18
                case 26:
                  {
                    diskType_ = input.readStringRequireUtf8();
                    bitField0_ |= 0x00000004;
                    break;
                  } // case 26
                case 32:
                  {
                    reclaimPolicy_ = input.readEnum();
                    bitField0_ |= 0x00000010;
                    break;
                  } // case 32
                case 42:
                  {
                    sourceSnapshot_ = input.readStringRequireUtf8();
                    bitField0_ |= 0x00000008;
                    break;
                  } // case 42
                default:
                  {
                    if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                      done = true; // was an endgroup tag
                    }
                    break;
                  } // default:
              } // switch (tag)
            } // while (!done)
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            throw e.unwrapIOException();
          } finally {
            onChanged();
          } // finally
          return this;
        }
<pre>
A PersistentDirectory backed by a Compute Engine regional persistent
disk. The
[persistent_directories][google.cloud.workstations.v1.WorkstationConfig.persistent_directories]
field is repeated, but it may contain only one entry. It creates a
[persistent
disk](https://cloud.google.com/compute/docs/disks/persistent-disks) that
mounts to the workstation VM at `/home` when the session starts and
detaches when the session ends. If this field is empty, workstations
created with this configuration do not have a persistent home
directory.
</pre>

Protobuf type {@code
google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk}
java-workstations/proto-google-cloud-workstations-v1/src/main/java/com/google/cloud/workstations/v1/WorkstationConfig.java