Interface AllocationAggregateReservationReservedResourceInfoAcceleratorOrBuilder (1.51.0)

public interface AllocationAggregateReservationReservedResourceInfoAcceleratorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAcceleratorCount()

public abstract int getAcceleratorCount()

Number of accelerators of specified type.

optional int32 accelerator_count = 504879675;

Returns
TypeDescription
int

The acceleratorCount.

getAcceleratorType()

public abstract String getAcceleratorType()

Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"

optional string accelerator_type = 138031246;

Returns
TypeDescription
String

The acceleratorType.

getAcceleratorTypeBytes()

public abstract ByteString getAcceleratorTypeBytes()

Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"

optional string accelerator_type = 138031246;

Returns
TypeDescription
ByteString

The bytes for acceleratorType.

hasAcceleratorCount()

public abstract boolean hasAcceleratorCount()

Number of accelerators of specified type.

optional int32 accelerator_count = 504879675;

Returns
TypeDescription
boolean

Whether the acceleratorCount field is set.

hasAcceleratorType()

public abstract boolean hasAcceleratorType()

Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"

optional string accelerator_type = 138031246;

Returns
TypeDescription
boolean

Whether the acceleratorType field is set.