Enum Commitment.Category (1.63.0)

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

The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified.

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
CATEGORY_UNSPECIFIED

CATEGORY_UNSPECIFIED = 509189462;

CATEGORY_UNSPECIFIED_VALUE

CATEGORY_UNSPECIFIED = 509189462;

LICENSE

LICENSE = 347869217;

LICENSE_VALUE

LICENSE = 347869217;

MACHINE

MACHINE = 469553191;

MACHINE_VALUE

MACHINE = 469553191;

UNDEFINED_CATEGORY

A value indicating that the enum field is not set.

UNDEFINED_CATEGORY = 0;

UNDEFINED_CATEGORY_VALUE

A value indicating that the enum field is not set.

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