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
@Generated
public interface DiskMoveRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe URL of the destination zone to move the disk.com.google.protobuf.ByteStringThe URL of the destination zone to move the disk.The URL of the target disk to move.com.google.protobuf.ByteStringThe URL of the target disk to move.booleanThe URL of the destination zone to move the disk.booleanThe URL of the target disk to move.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-