Enum Commitment.Plan (1.51.0)

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

The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years).

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

Implements

ProtocolMessageEnum

Static Fields

NameDescription
INVALID

INVALID = 530283991;

INVALID_VALUE

INVALID = 530283991;

THIRTY_SIX_MONTH

THIRTY_SIX_MONTH = 266295942;

THIRTY_SIX_MONTH_VALUE

THIRTY_SIX_MONTH = 266295942;

TWELVE_MONTH

TWELVE_MONTH = 173083962;

TWELVE_MONTH_VALUE

TWELVE_MONTH = 173083962;

UNDEFINED_PLAN

A value indicating that the enum field is not set.

UNDEFINED_PLAN = 0;

UNDEFINED_PLAN_VALUE

A value indicating that the enum field is not set.

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