Interface AllocationAggregateReservationReservedResourceInfoAcceleratorOrBuilder (1.53.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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for acceleratorType.

hasAcceleratorCount()

public abstract boolean hasAcceleratorCount()

Number of accelerators of specified type.

optional int32 accelerator_count = 504879675;

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

Whether the acceleratorType field is set.