Interface LocalDiskOrBuilder (1.64.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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for diskType.

hasDiskCount()

public abstract boolean hasDiskCount()

Specifies the number of such disks.

optional int32 disk_count = 182933485;

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the diskType field is set.