Interface AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOrBuilder (1.15.0)

public interface AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDiskSizeGb()

public abstract long getDiskSizeGb()

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

optional int64 disk_size_gb = 316263735;

Returns
TypeDescription
long

The diskSizeGb.

getInterface()

public abstract String getInterface()

Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. Check the Interface enum for the list of possible values.

optional string interface = 502623545;

Returns
TypeDescription
String

The interface.

getInterfaceBytes()

public abstract ByteString getInterfaceBytes()

Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. Check the Interface enum for the list of possible values.

optional string interface = 502623545;

Returns
TypeDescription
ByteString

The bytes for interface.

hasDiskSizeGb()

public abstract boolean hasDiskSizeGb()

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

optional int64 disk_size_gb = 316263735;

Returns
TypeDescription
boolean

Whether the diskSizeGb field is set.

hasInterface()

public abstract boolean hasInterface()

Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. Check the Interface enum for the list of possible values.

optional string interface = 502623545;

Returns
TypeDescription
boolean

Whether the interface field is set.