Interface AcceleratorsOrBuilder (1.21.0)

public interface AcceleratorsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGuestAcceleratorCount()

public abstract int getGuestAcceleratorCount()

Number of accelerator cards exposed to the guest.

optional int32 guest_accelerator_count = 479079316;

Returns
TypeDescription
int

The guestAcceleratorCount.

getGuestAcceleratorType()

public abstract String getGuestAcceleratorType()

The accelerator type resource name, not a full URL, e.g. 'nvidia-tesla-k80'.

optional string guest_accelerator_type = 293064725;

Returns
TypeDescription
String

The guestAcceleratorType.

getGuestAcceleratorTypeBytes()

public abstract ByteString getGuestAcceleratorTypeBytes()

The accelerator type resource name, not a full URL, e.g. 'nvidia-tesla-k80'.

optional string guest_accelerator_type = 293064725;

Returns
TypeDescription
ByteString

The bytes for guestAcceleratorType.

hasGuestAcceleratorCount()

public abstract boolean hasGuestAcceleratorCount()

Number of accelerator cards exposed to the guest.

optional int32 guest_accelerator_count = 479079316;

Returns
TypeDescription
boolean

Whether the guestAcceleratorCount field is set.

hasGuestAcceleratorType()

public abstract boolean hasGuestAcceleratorType()

The accelerator type resource name, not a full URL, e.g. 'nvidia-tesla-k80'.

optional string guest_accelerator_type = 293064725;

Returns
TypeDescription
boolean

Whether the guestAcceleratorType field is set.