public interface AttachedDiskOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getMode()
public abstract AttachedDisk.DiskMode getMode()
The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
.google.cloud.tpu.v2.AttachedDisk.DiskMode mode = 4;
Returns | |
---|---|
Type | Description |
AttachedDisk.DiskMode | The mode. |
getModeValue()
public abstract int getModeValue()
The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
.google.cloud.tpu.v2.AttachedDisk.DiskMode mode = 4;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for mode. |
getSourceDisk()
public abstract String getSourceDisk()
Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".
string source_disk = 3;
Returns | |
---|---|
Type | Description |
String | The sourceDisk. |
getSourceDiskBytes()
public abstract ByteString getSourceDiskBytes()
Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".
string source_disk = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for sourceDisk. |