Package com.google.cloud.compute.v1
Interface InstanceMoveRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstanceMoveRequest,InstanceMoveRequest.Builder
public interface InstanceMoveRequestOrBuilder 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 instance.com.google.protobuf.ByteStringgetDestinationZoneBytes()The URL of the destination zone to move the instance.StringgetTargetInstance()The URL of the target instance to move.com.google.protobuf.ByteStringgetTargetInstanceBytes()The URL of the target instance to move.booleanhasDestinationZone()The URL of the destination zone to move the instance.booleanhasTargetInstance()The URL of the target instance 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 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:
- Whether the destinationZone field is set.
-
getDestinationZone
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:
- The destinationZone.
-
getDestinationZoneBytes
com.google.protobuf.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:
- The bytes for destinationZone.
-
hasTargetInstance
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:
- Whether the targetInstance field is set.
-
getTargetInstance
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:
- The targetInstance.
-
getTargetInstanceBytes
com.google.protobuf.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:
- The bytes for targetInstance.
-
-