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
@Generated
public interface InstanceMoveRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe URL of the destination zone to move the instance.com.google.protobuf.ByteStringThe URL of the destination zone to move the instance.The URL of the target instance to move.com.google.protobuf.ByteStringThe URL of the target instance to move.booleanThe URL of the destination zone to move the instance.booleanThe URL of the target instance 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 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.
-