Interface LocalDiskOrBuilder (1.39.0)

public interface LocalDiskOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDiskCount()

public abstract int getDiskCount()

Specifies the number of such disks.

optional int32 disk_count = 182933485;

Returns
TypeDescription
int

The diskCount.

getDiskSizeGb()

public abstract int getDiskSizeGb()

Specifies the size of the disk in base-2 GB.

optional int32 disk_size_gb = 316263735;

Returns
TypeDescription
int

The diskSizeGb.

getDiskType()

public abstract String getDiskType()

Specifies the desired disk type on the node. This disk type must be a local storage type (e.g.: local-ssd). Note that for nodeTemplates, this should be the name of the disk type and not its URL.

optional string disk_type = 93009052;

Returns
TypeDescription
String

The diskType.

getDiskTypeBytes()

public abstract ByteString getDiskTypeBytes()

Specifies the desired disk type on the node. This disk type must be a local storage type (e.g.: local-ssd). Note that for nodeTemplates, this should be the name of the disk type and not its URL.

optional string disk_type = 93009052;

Returns
TypeDescription
ByteString

The bytes for diskType.

hasDiskCount()

public abstract boolean hasDiskCount()

Specifies the number of such disks.

optional int32 disk_count = 182933485;

Returns
TypeDescription
boolean

Whether the diskCount field is set.

hasDiskSizeGb()

public abstract boolean hasDiskSizeGb()

Specifies the size of the disk in base-2 GB.

optional int32 disk_size_gb = 316263735;

Returns
TypeDescription
boolean

Whether the diskSizeGb field is set.

hasDiskType()

public abstract boolean hasDiskType()

Specifies the desired disk type on the node. This disk type must be a local storage type (e.g.: local-ssd). Note that for nodeTemplates, this should be the name of the disk type and not its URL.

optional string disk_type = 93009052;

Returns
TypeDescription
boolean

Whether the diskType field is set.