Interface DiskSpecOrBuilder (1.14.0)

public interface DiskSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBootDiskSizeGb()

public abstract int getBootDiskSizeGb()

Size in GB of the boot disk (default is 100GB).

int32 boot_disk_size_gb = 2;

Returns
Type Description
int

The bootDiskSizeGb.

getBootDiskType()

public abstract String getBootDiskType()

Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).

string boot_disk_type = 1;

Returns
Type Description
String

The bootDiskType.

getBootDiskTypeBytes()

public abstract ByteString getBootDiskTypeBytes()

Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).

string boot_disk_type = 1;

Returns
Type Description
ByteString

The bytes for bootDiskType.