Interface DiskMoveRequestOrBuilder (1.7.2)

public interface DiskMoveRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDestinationZone()

public abstract 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
TypeDescription
String

The destinationZone.

getDestinationZoneBytes()

public abstract 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
TypeDescription
ByteString

The bytes for destinationZone.

getTargetDisk()

public abstract 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
TypeDescription
String

The targetDisk.

getTargetDiskBytes()

public abstract 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
TypeDescription
ByteString

The bytes for targetDisk.

hasDestinationZone()

public abstract 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
TypeDescription
boolean

Whether the destinationZone field is set.

hasTargetDisk()

public abstract 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
TypeDescription
boolean

Whether the targetDisk field is set.