Interface InstanceMoveRequestOrBuilder (1.13.0)

public interface InstanceMoveRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDestinationZone()

public abstract String getDestinationZone()

The URL of the destination zone to move the instance. 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 instance. 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.

getTargetInstance()

public abstract String getTargetInstance()

The URL of the target instance to move. This can be a full or partial URL. For example, the following are all valid URLs to an instance: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance - zones/zone/instances/instance

optional string target_instance = 289769347;

Returns
TypeDescription
String

The targetInstance.

getTargetInstanceBytes()

public abstract ByteString getTargetInstanceBytes()

The URL of the target instance to move. This can be a full or partial URL. For example, the following are all valid URLs to an instance: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance - zones/zone/instances/instance

optional string target_instance = 289769347;

Returns
TypeDescription
ByteString

The bytes for targetInstance.

hasDestinationZone()

public abstract boolean hasDestinationZone()

The URL of the destination zone to move the instance. 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.

hasTargetInstance()

public abstract boolean hasTargetInstance()

The URL of the target instance to move. This can be a full or partial URL. For example, the following are all valid URLs to an instance: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance - zones/zone/instances/instance

optional string target_instance = 289769347;

Returns
TypeDescription
boolean

Whether the targetInstance field is set.