public Builder setSourceSnapshot(java.lang.String value) {
          if (value == null) {
            throw new NullPointerException();
          }
          sourceSnapshot_ = value;
          bitField0_ |= 0x00000002;
          onChanged();
          return this;
        }
<pre>
Optional. Name of the snapshot to use as the source for the disk. Must
be empty if
[source_image][google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.source_image]
is set. Updating
[source_snapshot][google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.source_snapshot]
will update content in the ephemeral directory after the workstation is
restarted. This field is mutable.
</pre>

<code>string source_snapshot = 2 [(.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