Enum Commitment.Type (1.17.0)

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

The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines.

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

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ACCELERATOR_OPTIMIZED

ACCELERATOR_OPTIMIZED = 280848403;

ACCELERATOR_OPTIMIZED_VALUE

ACCELERATOR_OPTIMIZED = 280848403;

COMPUTE_OPTIMIZED

COMPUTE_OPTIMIZED = 158349023;

COMPUTE_OPTIMIZED_C2D

COMPUTE_OPTIMIZED_C2D = 383246453;

COMPUTE_OPTIMIZED_C2D_VALUE

COMPUTE_OPTIMIZED_C2D = 383246453;

COMPUTE_OPTIMIZED_VALUE

COMPUTE_OPTIMIZED = 158349023;

GENERAL_PURPOSE

GENERAL_PURPOSE = 299793543;

GENERAL_PURPOSE_E2

GENERAL_PURPOSE_E2 = 301911877;

GENERAL_PURPOSE_E2_VALUE

GENERAL_PURPOSE_E2 = 301911877;

GENERAL_PURPOSE_N2

GENERAL_PURPOSE_N2 = 301912156;

GENERAL_PURPOSE_N2D

GENERAL_PURPOSE_N2D = 232471400;

GENERAL_PURPOSE_N2D_VALUE

GENERAL_PURPOSE_N2D = 232471400;

GENERAL_PURPOSE_N2_VALUE

GENERAL_PURPOSE_N2 = 301912156;

GENERAL_PURPOSE_T2D

GENERAL_PURPOSE_T2D = 232477166;

GENERAL_PURPOSE_T2D_VALUE

GENERAL_PURPOSE_T2D = 232477166;

GENERAL_PURPOSE_VALUE

GENERAL_PURPOSE = 299793543;

MEMORY_OPTIMIZED

MEMORY_OPTIMIZED = 281753417;

MEMORY_OPTIMIZED_M3

MEMORY_OPTIMIZED_M3 = 276301372;

MEMORY_OPTIMIZED_M3_VALUE

MEMORY_OPTIMIZED_M3 = 276301372;

MEMORY_OPTIMIZED_VALUE

MEMORY_OPTIMIZED = 281753417;

TYPE_UNSPECIFIED

TYPE_UNSPECIFIED = 437714322;

TYPE_UNSPECIFIED_VALUE

TYPE_UNSPECIFIED = 437714322;

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

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()