Interface Allocation.SpecificSKUAllocationOrBuilder (0.1.0)

public static interface Allocation.SpecificSKUAllocationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAssuredCount()

public abstract long getAssuredCount()

Indicates how many instances are actually usable currently.

int64 assured_count = 4;

Returns
Type Description
long

The assuredCount.

getCount()

public abstract long getCount()

Specifies the number of resources that are allocated.

int64 count = 2;

Returns
Type Description
long

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
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
Allocation.SpecificSKUAllocation.AllocatedInstancePropertiesOrBuilder

getUsedCount()

public abstract long getUsedCount()

Indicates how many instances are in use.

int64 used_count = 3;

Returns
Type Description
long

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
boolean

Whether the instanceProperties field is set.