Package com.google.cloud.compute.v1
Interface AllocationAggregateReservationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AllocationAggregateReservation,AllocationAggregateReservation.Builder
@Generated
public interface AllocationAggregateReservationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetInUseResources(int index) Output only.intOutput only.Output only.getInUseResourcesOrBuilder(int index) Output only.Output only.getReservedResources(int index) List of reserved resources (CPUs, memory, accelerators).intList of reserved resources (CPUs, memory, accelerators).List of reserved resources (CPUs, memory, accelerators).getReservedResourcesOrBuilder(int index) List of reserved resources (CPUs, memory, accelerators).List of reserved resources (CPUs, memory, accelerators).The VM family that all instances scheduled against this reservation must belong to.com.google.protobuf.ByteStringThe VM family that all instances scheduled against this reservation must belong to.The workload type of the instances that will target this reservation.com.google.protobuf.ByteStringThe workload type of the instances that will target this reservation.booleanThe VM family that all instances scheduled against this reservation must belong to.booleanThe workload type of the instances that will target this reservation.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getInUseResourcesList
List<AllocationAggregateReservationReservedResourceInfo> getInUseResourcesList()Output only. [Output only] List of resources currently in use.
repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo in_use_resources = 409009107; -
getInUseResources
Output only. [Output only] List of resources currently in use.
repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo in_use_resources = 409009107; -
getInUseResourcesCount
int getInUseResourcesCount()Output only. [Output only] List of resources currently in use.
repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo in_use_resources = 409009107; -
getInUseResourcesOrBuilderList
List<? extends AllocationAggregateReservationReservedResourceInfoOrBuilder> getInUseResourcesOrBuilderList()Output only. [Output only] List of resources currently in use.
repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo in_use_resources = 409009107; -
getInUseResourcesOrBuilder
Output only. [Output only] List of resources currently in use.
repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo in_use_resources = 409009107; -
getReservedResourcesList
List<AllocationAggregateReservationReservedResourceInfo> getReservedResourcesList()List of reserved resources (CPUs, memory, accelerators).
repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo reserved_resources = 213217742; -
getReservedResources
List of reserved resources (CPUs, memory, accelerators).
repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo reserved_resources = 213217742; -
getReservedResourcesCount
int getReservedResourcesCount()List of reserved resources (CPUs, memory, accelerators).
repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo reserved_resources = 213217742; -
getReservedResourcesOrBuilderList
List<? extends AllocationAggregateReservationReservedResourceInfoOrBuilder> getReservedResourcesOrBuilderList()List of reserved resources (CPUs, memory, accelerators).
repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo reserved_resources = 213217742; -
getReservedResourcesOrBuilder
AllocationAggregateReservationReservedResourceInfoOrBuilder getReservedResourcesOrBuilder(int index) List of reserved resources (CPUs, memory, accelerators).
repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo reserved_resources = 213217742; -
hasVmFamily
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:
- Whether the vmFamily field is set.
-
getVmFamily
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:
- The vmFamily.
-
getVmFamilyBytes
com.google.protobuf.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:
- The bytes for vmFamily.
-
hasWorkloadType
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:
- Whether the workloadType field is set.
-
getWorkloadType
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:
- The workloadType.
-
getWorkloadTypeBytes
com.google.protobuf.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:
- The bytes for workloadType.
-