Interface WorkstationConfig.EphemeralDirectory.GcePersistentDiskOrBuilder (0.22.0)

public static interface WorkstationConfig.EphemeralDirectory.GcePersistentDiskOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDiskType()

public abstract String getDiskType()

Optional. Type of the disk to use. Defaults to "pd-standard".

string disk_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The diskType.

getDiskTypeBytes()

public abstract ByteString getDiskTypeBytes()

Optional. Type of the disk to use. Defaults to "pd-standard".

string disk_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for diskType.

getReadOnly()

public abstract boolean getReadOnly()

Optional. Whether the disk is read only. If true, the disk may be shared by multiple VMs and source_snapshot must be set.

bool read_only = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The readOnly.

getSourceImage()

public abstract String getSourceImage()

Optional. Name of the disk image to use as the source for the disk. Must be empty if source_snapshot is set. Updating source_image will update content in the ephemeral directory after the workstation is restarted. This field is mutable.

string source_image = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The sourceImage.

getSourceImageBytes()

public abstract ByteString getSourceImageBytes()

Optional. Name of the disk image to use as the source for the disk. Must be empty if source_snapshot is set. Updating source_image will update content in the ephemeral directory after the workstation is restarted. This field is mutable.

string source_image = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for sourceImage.

getSourceSnapshot()

public abstract String getSourceSnapshot()

Optional. Name of the snapshot to use as the source for the disk. Must be empty if source_image is set. Updating source_snapshot will update content in the ephemeral directory after the workstation is restarted. This field is mutable.

string source_snapshot = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The sourceSnapshot.

getSourceSnapshotBytes()

public abstract ByteString getSourceSnapshotBytes()

Optional. Name of the snapshot to use as the source for the disk. Must be empty if source_image is set. Updating source_snapshot will update content in the ephemeral directory after the workstation is restarted. This field is mutable.

string source_snapshot = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for sourceSnapshot.