Package com.google.cloud.compute.v1
Interface DiskMoveRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DiskMoveRequest,DiskMoveRequest.Builder
public interface DiskMoveRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDestinationZone()The URL of the destination zone to move the disk.com.google.protobuf.ByteStringgetDestinationZoneBytes()The URL of the destination zone to move the disk.StringgetTargetDisk()The URL of the target disk to move.com.google.protobuf.ByteStringgetTargetDiskBytes()The URL of the target disk to move.booleanhasDestinationZone()The URL of the destination zone to move the disk.booleanhasTargetDisk()The URL of the target disk to move.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasDestinationZone
boolean hasDestinationZone()
The URL of the destination zone to move the disk. This can be a full or partial URL. For example, the following are all valid URLs to a zone: - https://www.googleapis.com/compute/v1/projects/project/zones/zone - projects/project/zones/zone - zones/zone
optional string destination_zone = 131854653;- Returns:
- Whether the destinationZone field is set.
-
getDestinationZone
String getDestinationZone()
The URL of the destination zone to move the disk. This can be a full or partial URL. For example, the following are all valid URLs to a zone: - https://www.googleapis.com/compute/v1/projects/project/zones/zone - projects/project/zones/zone - zones/zone
optional string destination_zone = 131854653;- Returns:
- The destinationZone.
-
getDestinationZoneBytes
com.google.protobuf.ByteString getDestinationZoneBytes()
The URL of the destination zone to move the disk. This can be a full or partial URL. For example, the following are all valid URLs to a zone: - https://www.googleapis.com/compute/v1/projects/project/zones/zone - projects/project/zones/zone - zones/zone
optional string destination_zone = 131854653;- Returns:
- The bytes for destinationZone.
-
hasTargetDisk
boolean hasTargetDisk()
The URL of the target disk to move. This can be a full or partial URL. For example, the following are all valid URLs to a disk: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk
optional string target_disk = 62433163;- Returns:
- Whether the targetDisk field is set.
-
getTargetDisk
String getTargetDisk()
The URL of the target disk to move. This can be a full or partial URL. For example, the following are all valid URLs to a disk: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk
optional string target_disk = 62433163;- Returns:
- The targetDisk.
-
getTargetDiskBytes
com.google.protobuf.ByteString getTargetDiskBytes()
The URL of the target disk to move. This can be a full or partial URL. For example, the following are all valid URLs to a disk: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk
optional string target_disk = 62433163;- Returns:
- The bytes for targetDisk.
-
-