# Interface Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfigOrBuilder (0.16.0)

0.16.0 (latest) 0.14.0 0.11.0 0.10.0 0.8.0 0.6.0 0.5.0 0.4.0 0.3.0 0.1.0

    public static interface Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfigOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getCount()

    public abstract int getCount()

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

`int32 count = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count. |

### getType()

    public abstract String getType()

Accelerator name.
See <https://cloud.google.com/compute/docs/gpus/#introduction> for a
full list of accelerator types.

`string type = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The type. |

### getTypeBytes()

    public abstract ByteString getTypeBytes()

Accelerator name.
See <https://cloud.google.com/compute/docs/gpus/#introduction> for a
full list of accelerator types.

`string type = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for type. |