@java.lang.Override
      public com.google.protobuf.ByteString getSourceSnapshotBytes() {
        java.lang.Object ref = sourceSnapshot_;
        if (ref instanceof java.lang.String) {
          com.google.protobuf.ByteString b =
              com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
          sourceSnapshot_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
<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>

@return The bytes for sourceSnapshot.
java-workstations/proto-google-cloud-workstations-v1beta/src/main/java/com/google/cloud/workstations/v1beta/WorkstationConfig.java