Enum AttachedDisk.DiskMode (2.37.0)

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

The different mode of the attached disk.

Protobuf enum google.cloud.tpu.v2alpha1.AttachedDisk.DiskMode

Implements

ProtocolMessageEnum

Static Fields

NameDescription
DISK_MODE_UNSPECIFIED

The disk mode is not known/set.

DISK_MODE_UNSPECIFIED = 0;

DISK_MODE_UNSPECIFIED_VALUE

The disk mode is not known/set.

DISK_MODE_UNSPECIFIED = 0;

READ_ONLY

Attaches the disk in read-only mode. Multiple TPU nodes can attach a disk in read-only mode at a time.

READ_ONLY = 2;

READ_ONLY_VALUE

Attaches the disk in read-only mode. Multiple TPU nodes can attach a disk in read-only mode at a time.

READ_ONLY = 2;

READ_WRITE

Attaches the disk in read-write mode. Only one TPU node can attach a disk in read-write mode at a time.

READ_WRITE = 1;

READ_WRITE_VALUE

Attaches the disk in read-write mode. Only one TPU node can attach a disk in read-write mode at a time.

READ_WRITE = 1;

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