Interface PersistentDiskSpecOrBuilder (3.30.0)

public interface PersistentDiskSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDiskSizeGb()

public abstract long getDiskSizeGb()

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

int64 disk_size_gb = 2;

Returns
TypeDescription
long

The diskSizeGb.

getDiskType()

public abstract String getDiskType()

Type of the disk (default is "pd-standard"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) "pd-standard" (Persistent Disk Hard Disk Drive) "pd-balanced" (Balanced Persistent Disk) "pd-extreme" (Extreme Persistent Disk)

string disk_type = 1;

Returns
TypeDescription
String

The diskType.

getDiskTypeBytes()

public abstract ByteString getDiskTypeBytes()

Type of the disk (default is "pd-standard"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) "pd-standard" (Persistent Disk Hard Disk Drive) "pd-balanced" (Balanced Persistent Disk) "pd-extreme" (Extreme Persistent Disk)

string disk_type = 1;

Returns
TypeDescription
ByteString

The bytes for diskType.