Interface AllocationAggregateReservationOrBuilder (1.57.0)

public interface AllocationAggregateReservationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInUseResources(int index)

public abstract AllocationAggregateReservationReservedResourceInfo getInUseResources(int index)

[Output only] List of resources currently in use.

repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo in_use_resources = 409009107;

Parameter
Name Description
index int
Returns
Type Description
AllocationAggregateReservationReservedResourceInfo

getInUseResourcesCount()

public abstract int getInUseResourcesCount()

[Output only] List of resources currently in use.

repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo in_use_resources = 409009107;

Returns
Type Description
int

getInUseResourcesList()

public abstract List<AllocationAggregateReservationReservedResourceInfo> getInUseResourcesList()

[Output only] List of resources currently in use.

repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo in_use_resources = 409009107;

Returns
Type Description
List<AllocationAggregateReservationReservedResourceInfo>

getInUseResourcesOrBuilder(int index)

public abstract AllocationAggregateReservationReservedResourceInfoOrBuilder getInUseResourcesOrBuilder(int index)

[Output only] List of resources currently in use.

repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo in_use_resources = 409009107;

Parameter
Name Description
index int
Returns
Type Description
AllocationAggregateReservationReservedResourceInfoOrBuilder

getInUseResourcesOrBuilderList()

public abstract List<? extends AllocationAggregateReservationReservedResourceInfoOrBuilder> getInUseResourcesOrBuilderList()

[Output only] List of resources currently in use.

repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo in_use_resources = 409009107;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfoOrBuilder>

getReservedResources(int index)

public abstract AllocationAggregateReservationReservedResourceInfo getReservedResources(int index)

List of reserved resources (CPUs, memory, accelerators).

repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo reserved_resources = 213217742;

Parameter
Name Description
index int
Returns
Type Description
AllocationAggregateReservationReservedResourceInfo

getReservedResourcesCount()

public abstract int getReservedResourcesCount()

List of reserved resources (CPUs, memory, accelerators).

repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo reserved_resources = 213217742;

Returns
Type Description
int

getReservedResourcesList()

public abstract List<AllocationAggregateReservationReservedResourceInfo> getReservedResourcesList()

List of reserved resources (CPUs, memory, accelerators).

repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo reserved_resources = 213217742;

Returns
Type Description
List<AllocationAggregateReservationReservedResourceInfo>

getReservedResourcesOrBuilder(int index)

public abstract AllocationAggregateReservationReservedResourceInfoOrBuilder getReservedResourcesOrBuilder(int index)

List of reserved resources (CPUs, memory, accelerators).

repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo reserved_resources = 213217742;

Parameter
Name Description
index int
Returns
Type Description
AllocationAggregateReservationReservedResourceInfoOrBuilder

getReservedResourcesOrBuilderList()

public abstract List<? extends AllocationAggregateReservationReservedResourceInfoOrBuilder> getReservedResourcesOrBuilderList()

List of reserved resources (CPUs, memory, accelerators).

repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo reserved_resources = 213217742;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfoOrBuilder>

getVmFamily()

public abstract String getVmFamily()

The VM family that all instances scheduled against this reservation must belong to. Check the VmFamily enum for the list of possible values.

optional string vm_family = 125017580;

Returns
Type Description
String

The vmFamily.

getVmFamilyBytes()

public abstract ByteString getVmFamilyBytes()

The VM family that all instances scheduled against this reservation must belong to. Check the VmFamily enum for the list of possible values.

optional string vm_family = 125017580;

Returns
Type Description
ByteString

The bytes for vmFamily.

getWorkloadType()

public abstract String getWorkloadType()

The workload type of the instances that will target this reservation. Check the WorkloadType enum for the list of possible values.

optional string workload_type = 273432322;

Returns
Type Description
String

The workloadType.

getWorkloadTypeBytes()

public abstract ByteString getWorkloadTypeBytes()

The workload type of the instances that will target this reservation. Check the WorkloadType enum for the list of possible values.

optional string workload_type = 273432322;

Returns
Type Description
ByteString

The bytes for workloadType.

hasVmFamily()

public abstract boolean hasVmFamily()

The VM family that all instances scheduled against this reservation must belong to. Check the VmFamily enum for the list of possible values.

optional string vm_family = 125017580;

Returns
Type Description
boolean

Whether the vmFamily field is set.

hasWorkloadType()

public abstract boolean hasWorkloadType()

The workload type of the instances that will target this reservation. Check the WorkloadType enum for the list of possible values.

optional string workload_type = 273432322;

Returns
Type Description
boolean

Whether the workloadType field is set.