Package com.google.cloud.tpu.v2
Interface AttachedDiskOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AttachedDisk
,AttachedDisk.Builder
public interface AttachedDiskOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttachedDisk.DiskMode
getMode()
The mode in which to attach this disk.int
getModeValue()
The mode in which to attach this disk.String
getSourceDisk()
Specifies the full path to an existing disk.com.google.protobuf.ByteString
getSourceDiskBytes()
Specifies the full path to an existing disk.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSourceDisk
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:
- The sourceDisk.
-
getSourceDiskBytes
com.google.protobuf.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:
- The bytes for sourceDisk.
-
getModeValue
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:
- The enum numeric value on the wire for mode.
-
getMode
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:
- The mode.
-
-