public interface ResourceCommitmentOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getAcceleratorType()
Name of the accelerator type resource.
|
com.google.protobuf.ByteString |
getAcceleratorTypeBytes()
Name of the accelerator type resource.
|
long |
getAmount()
The amount of the resource purchased (in a type-dependent unit, such as bytes).
|
String |
getType()
Type of resource for which this commitment applies.
|
com.google.protobuf.ByteString |
getTypeBytes()
Type of resource for which this commitment applies.
|
boolean |
hasAcceleratorType()
Name of the accelerator type resource.
|
boolean |
hasAmount()
The amount of the resource purchased (in a type-dependent unit, such as bytes).
|
boolean |
hasType()
Type of resource for which this commitment applies.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasAcceleratorType()
Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
optional string accelerator_type = 138031246;String getAcceleratorType()
Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
optional string accelerator_type = 138031246;com.google.protobuf.ByteString getAcceleratorTypeBytes()
Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
optional string accelerator_type = 138031246;boolean hasAmount()
The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU.
optional int64 amount = 196759640;long getAmount()
The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU.
optional int64 amount = 196759640;boolean hasType()
Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR. Check the Type enum for the list of possible values.
optional string type = 3575610;String getType()
Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR. Check the Type enum for the list of possible values.
optional string type = 3575610;com.google.protobuf.ByteString getTypeBytes()
Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR. Check the Type enum for the list of possible values.
optional string type = 3575610;Copyright © 2023 Google LLC. All rights reserved.