• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/compute/v1/compute.proto
18 
19 package com.google.cloud.compute.v1;
20 
21 public interface InstanceMoveRequestOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.InstanceMoveRequest)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * 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
31    * </pre>
32    *
33    * <code>optional string destination_zone = 131854653;</code>
34    *
35    * @return Whether the destinationZone field is set.
36    */
hasDestinationZone()37   boolean hasDestinationZone();
38   /**
39    *
40    *
41    * <pre>
42    * 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
43    * </pre>
44    *
45    * <code>optional string destination_zone = 131854653;</code>
46    *
47    * @return The destinationZone.
48    */
getDestinationZone()49   java.lang.String getDestinationZone();
50   /**
51    *
52    *
53    * <pre>
54    * 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
55    * </pre>
56    *
57    * <code>optional string destination_zone = 131854653;</code>
58    *
59    * @return The bytes for destinationZone.
60    */
getDestinationZoneBytes()61   com.google.protobuf.ByteString getDestinationZoneBytes();
62 
63   /**
64    *
65    *
66    * <pre>
67    * 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
68    * </pre>
69    *
70    * <code>optional string target_instance = 289769347;</code>
71    *
72    * @return Whether the targetInstance field is set.
73    */
hasTargetInstance()74   boolean hasTargetInstance();
75   /**
76    *
77    *
78    * <pre>
79    * 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
80    * </pre>
81    *
82    * <code>optional string target_instance = 289769347;</code>
83    *
84    * @return The targetInstance.
85    */
getTargetInstance()86   java.lang.String getTargetInstance();
87   /**
88    *
89    *
90    * <pre>
91    * 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
92    * </pre>
93    *
94    * <code>optional string target_instance = 289769347;</code>
95    *
96    * @return The bytes for targetInstance.
97    */
getTargetInstanceBytes()98   com.google.protobuf.ByteString getTargetInstanceBytes();
99 }
100