Interface PersistentDiskSpecOrBuilder (1.15.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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for diskType.