public Builder setSourceSnapshot(java.lang.String value) {
          if (value == null) {
            throw new NullPointerException();
          }
          sourceSnapshot_ = value;
          bitField0_ |= 0x00000008;
          onChanged();
          return this;
        }
<pre>
Optional. Name of the snapshot to use as the source for the disk. If
set,
[size_gb][google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.size_gb]
and
[fs_type][google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.fs_type]
must be empty.
</pre>

<code>string source_snapshot = 5 [(.google.api.field_behavior) = OPTIONAL];</code>

@param value The sourceSnapshot to set.
@return This builder for chaining.
java-workstations/proto-google-cloud-workstations-v1beta/src/main/java/com/google/cloud/workstations/v1beta/WorkstationConfig.java