public final class AllocationAggregateReservation extends com.google.protobuf.GeneratedMessageV3 implements AllocationAggregateReservationOrBuilder
This reservation type is specified by total resource amounts (e.g. total count of CPUs) and can account for multiple instance SKUs. In other words, one can create instances of varying shapes against this reservation.Protobuf type
google.cloud.compute.v1.AllocationAggregateReservation| Modifier and Type | Class and Description |
|---|---|
static class |
AllocationAggregateReservation.Builder
This reservation type is specified by total resource amounts (e.g. total count of CPUs) and can account for multiple instance SKUs.
|
static class |
AllocationAggregateReservation.VmFamily
The VM family that all instances scheduled against this reservation must belong to.
|
static class |
AllocationAggregateReservation.WorkloadType
The workload type of the instances that will target this reservation.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
IN_USE_RESOURCES_FIELD_NUMBER |
static int |
RESERVED_RESOURCES_FIELD_NUMBER |
static int |
VM_FAMILY_FIELD_NUMBER |
static int |
WORKLOAD_TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static AllocationAggregateReservation |
getDefaultInstance() |
AllocationAggregateReservation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
AllocationAggregateReservationReservedResourceInfo |
getInUseResources(int index)
[Output only] List of resources currently in use.
|
int |
getInUseResourcesCount()
[Output only] List of resources currently in use.
|
List<AllocationAggregateReservationReservedResourceInfo> |
getInUseResourcesList()
[Output only] List of resources currently in use.
|
AllocationAggregateReservationReservedResourceInfoOrBuilder |
getInUseResourcesOrBuilder(int index)
[Output only] List of resources currently in use.
|
List<? extends AllocationAggregateReservationReservedResourceInfoOrBuilder> |
getInUseResourcesOrBuilderList()
[Output only] List of resources currently in use.
|
com.google.protobuf.Parser<AllocationAggregateReservation> |
getParserForType() |
AllocationAggregateReservationReservedResourceInfo |
getReservedResources(int index)
List of reserved resources (CPUs, memory, accelerators).
|
int |
getReservedResourcesCount()
List of reserved resources (CPUs, memory, accelerators).
|
List<AllocationAggregateReservationReservedResourceInfo> |
getReservedResourcesList()
List of reserved resources (CPUs, memory, accelerators).
|
AllocationAggregateReservationReservedResourceInfoOrBuilder |
getReservedResourcesOrBuilder(int index)
List of reserved resources (CPUs, memory, accelerators).
|
List<? extends AllocationAggregateReservationReservedResourceInfoOrBuilder> |
getReservedResourcesOrBuilderList()
List of reserved resources (CPUs, memory, accelerators).
|
int |
getSerializedSize() |
String |
getVmFamily()
The VM family that all instances scheduled against this reservation must belong to.
|
com.google.protobuf.ByteString |
getVmFamilyBytes()
The VM family that all instances scheduled against this reservation must belong to.
|
String |
getWorkloadType()
The workload type of the instances that will target this reservation.
|
com.google.protobuf.ByteString |
getWorkloadTypeBytes()
The workload type of the instances that will target this reservation.
|
int |
hashCode() |
boolean |
hasVmFamily()
The VM family that all instances scheduled against this reservation must belong to.
|
boolean |
hasWorkloadType()
The workload type of the instances that will target this reservation.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AllocationAggregateReservation.Builder |
newBuilder() |
static AllocationAggregateReservation.Builder |
newBuilder(AllocationAggregateReservation prototype) |
AllocationAggregateReservation.Builder |
newBuilderForType() |
protected AllocationAggregateReservation.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static AllocationAggregateReservation |
parseDelimitedFrom(InputStream input) |
static AllocationAggregateReservation |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AllocationAggregateReservation |
parseFrom(byte[] data) |
static AllocationAggregateReservation |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AllocationAggregateReservation |
parseFrom(ByteBuffer data) |
static AllocationAggregateReservation |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AllocationAggregateReservation |
parseFrom(com.google.protobuf.ByteString data) |
static AllocationAggregateReservation |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AllocationAggregateReservation |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AllocationAggregateReservation |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AllocationAggregateReservation |
parseFrom(InputStream input) |
static AllocationAggregateReservation |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AllocationAggregateReservation> |
parser() |
AllocationAggregateReservation.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int IN_USE_RESOURCES_FIELD_NUMBER
public static final int RESERVED_RESOURCES_FIELD_NUMBER
public static final int VM_FAMILY_FIELD_NUMBER
public static final int WORKLOAD_TYPE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public List<AllocationAggregateReservationReservedResourceInfo> getInUseResourcesList()
[Output only] List of resources currently in use.
repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo in_use_resources = 409009107;
getInUseResourcesList in interface AllocationAggregateReservationOrBuilderpublic List<? extends AllocationAggregateReservationReservedResourceInfoOrBuilder> getInUseResourcesOrBuilderList()
[Output only] List of resources currently in use.
repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo in_use_resources = 409009107;
getInUseResourcesOrBuilderList in interface AllocationAggregateReservationOrBuilderpublic int getInUseResourcesCount()
[Output only] List of resources currently in use.
repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo in_use_resources = 409009107;
getInUseResourcesCount in interface AllocationAggregateReservationOrBuilderpublic AllocationAggregateReservationReservedResourceInfo getInUseResources(int index)
[Output only] List of resources currently in use.
repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo in_use_resources = 409009107;
getInUseResources in interface AllocationAggregateReservationOrBuilderpublic AllocationAggregateReservationReservedResourceInfoOrBuilder getInUseResourcesOrBuilder(int index)
[Output only] List of resources currently in use.
repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo in_use_resources = 409009107;
getInUseResourcesOrBuilder in interface AllocationAggregateReservationOrBuilderpublic List<AllocationAggregateReservationReservedResourceInfo> getReservedResourcesList()
List of reserved resources (CPUs, memory, accelerators).
repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo reserved_resources = 213217742;
getReservedResourcesList in interface AllocationAggregateReservationOrBuilderpublic List<? extends AllocationAggregateReservationReservedResourceInfoOrBuilder> getReservedResourcesOrBuilderList()
List of reserved resources (CPUs, memory, accelerators).
repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo reserved_resources = 213217742;
getReservedResourcesOrBuilderList in interface AllocationAggregateReservationOrBuilderpublic int getReservedResourcesCount()
List of reserved resources (CPUs, memory, accelerators).
repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo reserved_resources = 213217742;
getReservedResourcesCount in interface AllocationAggregateReservationOrBuilderpublic AllocationAggregateReservationReservedResourceInfo getReservedResources(int index)
List of reserved resources (CPUs, memory, accelerators).
repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo reserved_resources = 213217742;
getReservedResources in interface AllocationAggregateReservationOrBuilderpublic AllocationAggregateReservationReservedResourceInfoOrBuilder getReservedResourcesOrBuilder(int index)
List of reserved resources (CPUs, memory, accelerators).
repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo reserved_resources = 213217742;
getReservedResourcesOrBuilder in interface AllocationAggregateReservationOrBuilderpublic 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;hasVmFamily in interface AllocationAggregateReservationOrBuilderpublic 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;getVmFamily in interface AllocationAggregateReservationOrBuilderpublic 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;getVmFamilyBytes in interface AllocationAggregateReservationOrBuilderpublic 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;hasWorkloadType in interface AllocationAggregateReservationOrBuilderpublic 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;getWorkloadType in interface AllocationAggregateReservationOrBuilderpublic 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;getWorkloadTypeBytes in interface AllocationAggregateReservationOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static AllocationAggregateReservation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AllocationAggregateReservation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AllocationAggregateReservation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AllocationAggregateReservation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AllocationAggregateReservation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AllocationAggregateReservation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AllocationAggregateReservation parseFrom(InputStream input) throws IOException
IOExceptionpublic static AllocationAggregateReservation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AllocationAggregateReservation parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AllocationAggregateReservation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AllocationAggregateReservation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AllocationAggregateReservation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AllocationAggregateReservation.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AllocationAggregateReservation.Builder newBuilder()
public static AllocationAggregateReservation.Builder newBuilder(AllocationAggregateReservation prototype)
public AllocationAggregateReservation.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AllocationAggregateReservation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AllocationAggregateReservation getDefaultInstance()
public static com.google.protobuf.Parser<AllocationAggregateReservation> parser()
public com.google.protobuf.Parser<AllocationAggregateReservation> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AllocationAggregateReservation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.