Enum AttachedDisk.Type (1.59.0)

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

Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT.

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
PERSISTENT

PERSISTENT = 460683927;

PERSISTENT_VALUE

PERSISTENT = 460683927;

SCRATCH

SCRATCH = 496778970;

SCRATCH_VALUE

SCRATCH = 496778970;

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