Enum Commitment.Type (1.64.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

Name Description
ACCELERATOR_OPTIMIZED

ACCELERATOR_OPTIMIZED = 280848403;

ACCELERATOR_OPTIMIZED_A3

ACCELERATOR_OPTIMIZED_A3 = 158574526;

ACCELERATOR_OPTIMIZED_A3_MEGA

ACCELERATOR_OPTIMIZED_A3_MEGA = 156517459;

ACCELERATOR_OPTIMIZED_A3_MEGA_VALUE

ACCELERATOR_OPTIMIZED_A3_MEGA = 156517459;

ACCELERATOR_OPTIMIZED_A3_VALUE

ACCELERATOR_OPTIMIZED_A3 = 158574526;

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_C3

COMPUTE_OPTIMIZED_C3 = 428004784;

COMPUTE_OPTIMIZED_C3D

COMPUTE_OPTIMIZED_C3D = 383246484;

COMPUTE_OPTIMIZED_C3D_VALUE

COMPUTE_OPTIMIZED_C3D = 383246484;

COMPUTE_OPTIMIZED_C3_VALUE

COMPUTE_OPTIMIZED_C3 = 428004784;

COMPUTE_OPTIMIZED_H3

COMPUTE_OPTIMIZED_H3 = 428004939;

COMPUTE_OPTIMIZED_H3_VALUE

COMPUTE_OPTIMIZED_H3 = 428004939;

COMPUTE_OPTIMIZED_VALUE

COMPUTE_OPTIMIZED = 158349023;

GENERAL_PURPOSE

GENERAL_PURPOSE = 299793543;

GENERAL_PURPOSE_C4

GENERAL_PURPOSE_C4 = 301911817;

GENERAL_PURPOSE_C4A

GENERAL_PURPOSE_C4A = 232460888;

GENERAL_PURPOSE_C4A_VALUE

GENERAL_PURPOSE_C4A = 232460888;

GENERAL_PURPOSE_C4_VALUE

GENERAL_PURPOSE_C4 = 301911817;

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_N4

GENERAL_PURPOSE_N4 = 301912158;

GENERAL_PURPOSE_N4_VALUE

GENERAL_PURPOSE_N4 = 301912158;

GENERAL_PURPOSE_T2D

GENERAL_PURPOSE_T2D = 232477166;

GENERAL_PURPOSE_T2D_VALUE

GENERAL_PURPOSE_T2D = 232477166;

GENERAL_PURPOSE_VALUE

GENERAL_PURPOSE = 299793543;

GRAPHICS_OPTIMIZED

GRAPHICS_OPTIMIZED = 68500563;

GRAPHICS_OPTIMIZED_VALUE

GRAPHICS_OPTIMIZED = 68500563;

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;

STORAGE_OPTIMIZED_Z3

STORAGE_OPTIMIZED_Z3 = 316796085;

STORAGE_OPTIMIZED_Z3_VALUE

STORAGE_OPTIMIZED_Z3 = 316796085;

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

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()