Enum ResourceCommitment.Type (1.9.1)

public enum ResourceCommitment.Type extends Enum<ResourceCommitment.Type> implements ProtocolMessageEnum

Type of resource for which this commitment applies. Possible values are VCPU and MEMORY

Protobuf enum google.cloud.compute.v1.ResourceCommitment.Type

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ACCELERATOR

ACCELERATOR = 429815371;

ACCELERATOR_VALUE

ACCELERATOR = 429815371;

LOCAL_SSD

LOCAL_SSD = 508934896;

LOCAL_SSD_VALUE

LOCAL_SSD = 508934896;

MEMORY

MEMORY = 123056385;

MEMORY_VALUE

MEMORY = 123056385;

UNDEFINED_TYPE

A value indicating that the enum field is not set.

UNDEFINED_TYPE = 0;

UNDEFINED_TYPE_VALUE

A value indicating that the enum field is not set.

UNDEFINED_TYPE = 0;

UNRECOGNIZED
UNSPECIFIED

UNSPECIFIED = 526786327;

UNSPECIFIED_VALUE

UNSPECIFIED = 526786327;

VCPU

VCPU = 2628978;

VCPU_VALUE

VCPU = 2628978;

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()