# Interface Allocation.SpecificSKUAllocationOrBuilder (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.SpecificSKUAllocationOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getAssuredCount()

    public abstract long getAssuredCount()

Indicates how many instances are actually usable currently.

`int64 assured_count = 4;`

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

### getCount()

    public abstract long getCount()

Specifies the number of resources that are allocated.

`int64 count = 2;`

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

### getInstanceProperties()

    public abstract Allocation.SpecificSKUAllocation.AllocatedInstanceProperties getInstanceProperties()

The instance properties for the reservation.

`
.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties instance_properties = 1;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-capacityplanner/latest/com.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties` | The instanceProperties. |

### getInstancePropertiesOrBuilder()

    public abstract Allocation.SpecificSKUAllocation.AllocatedInstancePropertiesOrBuilder getInstancePropertiesOrBuilder()

The instance properties for the reservation.

`
.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties instance_properties = 1;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-capacityplanner/latest/com.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstancePropertiesOrBuilder` |   |

### getUsedCount()

    public abstract long getUsedCount()

Indicates how many instances are in use.

`int64 used_count = 3;`

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

### hasInstanceProperties()

    public abstract boolean hasInstanceProperties()

The instance properties for the reservation.

`
.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties instance_properties = 1;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the instanceProperties field is set. |