Interface AcceleratorConfigOrBuilder (0.13.0)

public interface AcceleratorConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAcceleratorCount()

public abstract int getAcceleratorCount()

Optional. The number of the guest accelerator cards exposed to this instance.

optional int32 accelerator_count = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The acceleratorCount.

getAcceleratorType()

public abstract String getAcceleratorType()

Optional. Full or partial URL of the accelerator type resource to attach to this instance.

optional string accelerator_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The acceleratorType.

getAcceleratorTypeBytes()

public abstract ByteString getAcceleratorTypeBytes()

Optional. Full or partial URL of the accelerator type resource to attach to this instance.

optional string accelerator_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for acceleratorType.

hasAcceleratorCount()

public abstract boolean hasAcceleratorCount()

Optional. The number of the guest accelerator cards exposed to this instance.

optional int32 accelerator_count = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the acceleratorCount field is set.

hasAcceleratorType()

public abstract boolean hasAcceleratorType()

Optional. Full or partial URL of the accelerator type resource to attach to this instance.

optional string accelerator_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the acceleratorType field is set.