Interface AllocationSpecificSKUReservationOrBuilder (1.6.0-beta)

public interface AllocationSpecificSKUReservationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCount()

public abstract long getCount()

Specifies the number of resources that are allocated.

optional int64 count = 94851343;

Returns
TypeDescription
long

The count.

getInUseCount()

public abstract long getInUseCount()

[Output Only] Indicates how many instances are in use.

optional int64 in_use_count = 493458877;

Returns
TypeDescription
long

The inUseCount.

getInstanceProperties()

public abstract AllocationSpecificSKUAllocationReservedInstanceProperties getInstanceProperties()

The instance properties for the reservation.

optional .google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties instance_properties = 215355165;

Returns
TypeDescription
AllocationSpecificSKUAllocationReservedInstanceProperties

The instanceProperties.

getInstancePropertiesOrBuilder()

public abstract AllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder getInstancePropertiesOrBuilder()

The instance properties for the reservation.

optional .google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties instance_properties = 215355165;

Returns
TypeDescription
AllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder

hasCount()

public abstract boolean hasCount()

Specifies the number of resources that are allocated.

optional int64 count = 94851343;

Returns
TypeDescription
boolean

Whether the count field is set.

hasInUseCount()

public abstract boolean hasInUseCount()

[Output Only] Indicates how many instances are in use.

optional int64 in_use_count = 493458877;

Returns
TypeDescription
boolean

Whether the inUseCount field is set.

hasInstanceProperties()

public abstract boolean hasInstanceProperties()

The instance properties for the reservation.

optional .google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties instance_properties = 215355165;

Returns
TypeDescription
boolean

Whether the instanceProperties field is set.