public interface ResourceCommitmentOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getAcceleratorType()
Name of the accelerator type or GPU resource.
|
com.google.protobuf.ByteString |
getAcceleratorTypeBytes()
Name of the accelerator type or GPU resource.
|
long |
getAmount()
The quantity of the hardware resource that you want to commit to purchasing (in a type-dependent unit). - For vCPUs, you must specify an integer value. - For memory, you specify the amount of MB that you want.
|
String |
getType()
The type of hardware resource that you want to specify.
|
com.google.protobuf.ByteString |
getTypeBytes()
The type of hardware resource that you want to specify.
|
boolean |
hasAcceleratorType()
Name of the accelerator type or GPU resource.
|
boolean |
hasAmount()
The quantity of the hardware resource that you want to commit to purchasing (in a type-dependent unit). - For vCPUs, you must specify an integer value. - For memory, you specify the amount of MB that you want.
|
boolean |
hasType()
The type of hardware resource that you want to specify.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasAcceleratorType()
Name of the accelerator type or GPU resource. Specify this field only when the type of hardware resource is ACCELERATOR.
optional string accelerator_type = 138031246;String getAcceleratorType()
Name of the accelerator type or GPU resource. Specify this field only when the type of hardware resource is ACCELERATOR.
optional string accelerator_type = 138031246;com.google.protobuf.ByteString getAcceleratorTypeBytes()
Name of the accelerator type or GPU resource. Specify this field only when the type of hardware resource is ACCELERATOR.
optional string accelerator_type = 138031246;boolean hasAmount()
The quantity of the hardware resource that you want to commit to purchasing (in a type-dependent unit). - For vCPUs, you must specify an integer value. - For memory, you specify the amount of MB that you want. The value you specify must be a multiple of 256 MB, with up to 6.5 GB of memory per every vCPU. - For GPUs, you must specify an integer value. - For Local SSD disks, you must specify the amount in GB. The size of a single Local SSD disk is 375 GB.
optional int64 amount = 196759640;long getAmount()
The quantity of the hardware resource that you want to commit to purchasing (in a type-dependent unit). - For vCPUs, you must specify an integer value. - For memory, you specify the amount of MB that you want. The value you specify must be a multiple of 256 MB, with up to 6.5 GB of memory per every vCPU. - For GPUs, you must specify an integer value. - For Local SSD disks, you must specify the amount in GB. The size of a single Local SSD disk is 375 GB.
optional int64 amount = 196759640;boolean hasType()
The type of hardware resource that you want to specify. You can specify any of the following values: - VCPU - MEMORY - LOCAL_SSD - ACCELERATOR Specify as a separate entry in the list for each individual resource type. Check the Type enum for the list of possible values.
optional string type = 3575610;String getType()
The type of hardware resource that you want to specify. You can specify any of the following values: - VCPU - MEMORY - LOCAL_SSD - ACCELERATOR Specify as a separate entry in the list for each individual resource type. Check the Type enum for the list of possible values.
optional string type = 3575610;com.google.protobuf.ByteString getTypeBytes()
The type of hardware resource that you want to specify. You can specify any of the following values: - VCPU - MEMORY - LOCAL_SSD - ACCELERATOR Specify as a separate entry in the list for each individual resource type. Check the Type enum for the list of possible values.
optional string type = 3575610;Copyright © 2025 Google LLC. All rights reserved.