• 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/vmmigration/v1/vmmigration.proto
18 
19 package com.google.cloud.vmmigration.v1;
20 
21 public interface CutoverJobOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CutoverJob)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Output only. Details of the target VM in Compute Engine.
31    * </pre>
32    *
33    * <code>
34    * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
35    * </code>
36    *
37    * @return Whether the computeEngineTargetDetails field is set.
38    */
hasComputeEngineTargetDetails()39   boolean hasComputeEngineTargetDetails();
40   /**
41    *
42    *
43    * <pre>
44    * Output only. Details of the target VM in Compute Engine.
45    * </pre>
46    *
47    * <code>
48    * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
49    * </code>
50    *
51    * @return The computeEngineTargetDetails.
52    */
getComputeEngineTargetDetails()53   com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails getComputeEngineTargetDetails();
54   /**
55    *
56    *
57    * <pre>
58    * Output only. Details of the target VM in Compute Engine.
59    * </pre>
60    *
61    * <code>
62    * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
63    * </code>
64    */
65   com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder
getComputeEngineTargetDetailsOrBuilder()66       getComputeEngineTargetDetailsOrBuilder();
67 
68   /**
69    *
70    *
71    * <pre>
72    * Output only. The time the cutover job was created (as an API call, not when
73    * it was actually created in the target).
74    * </pre>
75    *
76    * <code>.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
77    * </code>
78    *
79    * @return Whether the createTime field is set.
80    */
hasCreateTime()81   boolean hasCreateTime();
82   /**
83    *
84    *
85    * <pre>
86    * Output only. The time the cutover job was created (as an API call, not when
87    * it was actually created in the target).
88    * </pre>
89    *
90    * <code>.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
91    * </code>
92    *
93    * @return The createTime.
94    */
getCreateTime()95   com.google.protobuf.Timestamp getCreateTime();
96   /**
97    *
98    *
99    * <pre>
100    * Output only. The time the cutover job was created (as an API call, not when
101    * it was actually created in the target).
102    * </pre>
103    *
104    * <code>.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
105    * </code>
106    */
getCreateTimeOrBuilder()107   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
108 
109   /**
110    *
111    *
112    * <pre>
113    * Output only. The time the cutover job had finished.
114    * </pre>
115    *
116    * <code>.google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
117    * </code>
118    *
119    * @return Whether the endTime field is set.
120    */
hasEndTime()121   boolean hasEndTime();
122   /**
123    *
124    *
125    * <pre>
126    * Output only. The time the cutover job had finished.
127    * </pre>
128    *
129    * <code>.google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
130    * </code>
131    *
132    * @return The endTime.
133    */
getEndTime()134   com.google.protobuf.Timestamp getEndTime();
135   /**
136    *
137    *
138    * <pre>
139    * Output only. The time the cutover job had finished.
140    * </pre>
141    *
142    * <code>.google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
143    * </code>
144    */
getEndTimeOrBuilder()145   com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
146 
147   /**
148    *
149    *
150    * <pre>
151    * Output only. The name of the cutover job.
152    * </pre>
153    *
154    * <code>string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
155    *
156    * @return The name.
157    */
getName()158   java.lang.String getName();
159   /**
160    *
161    *
162    * <pre>
163    * Output only. The name of the cutover job.
164    * </pre>
165    *
166    * <code>string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
167    *
168    * @return The bytes for name.
169    */
getNameBytes()170   com.google.protobuf.ByteString getNameBytes();
171 
172   /**
173    *
174    *
175    * <pre>
176    * Output only. State of the cutover job.
177    * </pre>
178    *
179    * <code>
180    * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
181    * </code>
182    *
183    * @return The enum numeric value on the wire for state.
184    */
getStateValue()185   int getStateValue();
186   /**
187    *
188    *
189    * <pre>
190    * Output only. State of the cutover job.
191    * </pre>
192    *
193    * <code>
194    * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
195    * </code>
196    *
197    * @return The state.
198    */
getState()199   com.google.cloud.vmmigration.v1.CutoverJob.State getState();
200 
201   /**
202    *
203    *
204    * <pre>
205    * Output only. The time the state was last updated.
206    * </pre>
207    *
208    * <code>.google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
209    * </code>
210    *
211    * @return Whether the stateTime field is set.
212    */
hasStateTime()213   boolean hasStateTime();
214   /**
215    *
216    *
217    * <pre>
218    * Output only. The time the state was last updated.
219    * </pre>
220    *
221    * <code>.google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
222    * </code>
223    *
224    * @return The stateTime.
225    */
getStateTime()226   com.google.protobuf.Timestamp getStateTime();
227   /**
228    *
229    *
230    * <pre>
231    * Output only. The time the state was last updated.
232    * </pre>
233    *
234    * <code>.google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
235    * </code>
236    */
getStateTimeOrBuilder()237   com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder();
238 
239   /**
240    *
241    *
242    * <pre>
243    * Output only. The current progress in percentage of the cutover job.
244    * </pre>
245    *
246    * <code>int32 progress_percent = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
247    *
248    * @return The progressPercent.
249    */
getProgressPercent()250   int getProgressPercent();
251 
252   /**
253    *
254    *
255    * <pre>
256    * Output only. Provides details for the errors that led to the Cutover Job's
257    * state.
258    * </pre>
259    *
260    * <code>.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
261    *
262    * @return Whether the error field is set.
263    */
hasError()264   boolean hasError();
265   /**
266    *
267    *
268    * <pre>
269    * Output only. Provides details for the errors that led to the Cutover Job's
270    * state.
271    * </pre>
272    *
273    * <code>.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
274    *
275    * @return The error.
276    */
getError()277   com.google.rpc.Status getError();
278   /**
279    *
280    *
281    * <pre>
282    * Output only. Provides details for the errors that led to the Cutover Job's
283    * state.
284    * </pre>
285    *
286    * <code>.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
287    */
getErrorOrBuilder()288   com.google.rpc.StatusOrBuilder getErrorOrBuilder();
289 
290   /**
291    *
292    *
293    * <pre>
294    * Output only. A message providing possible extra details about the current
295    * state.
296    * </pre>
297    *
298    * <code>string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
299    *
300    * @return The stateMessage.
301    */
getStateMessage()302   java.lang.String getStateMessage();
303   /**
304    *
305    *
306    * <pre>
307    * Output only. A message providing possible extra details about the current
308    * state.
309    * </pre>
310    *
311    * <code>string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
312    *
313    * @return The bytes for stateMessage.
314    */
getStateMessageBytes()315   com.google.protobuf.ByteString getStateMessageBytes();
316 
317   /**
318    *
319    *
320    * <pre>
321    * Output only. The cutover steps list representing its progress.
322    * </pre>
323    *
324    * <code>
325    * repeated .google.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
326    * </code>
327    */
getStepsList()328   java.util.List<com.google.cloud.vmmigration.v1.CutoverStep> getStepsList();
329   /**
330    *
331    *
332    * <pre>
333    * Output only. The cutover steps list representing its progress.
334    * </pre>
335    *
336    * <code>
337    * repeated .google.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
338    * </code>
339    */
getSteps(int index)340   com.google.cloud.vmmigration.v1.CutoverStep getSteps(int index);
341   /**
342    *
343    *
344    * <pre>
345    * Output only. The cutover steps list representing its progress.
346    * </pre>
347    *
348    * <code>
349    * repeated .google.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
350    * </code>
351    */
getStepsCount()352   int getStepsCount();
353   /**
354    *
355    *
356    * <pre>
357    * Output only. The cutover steps list representing its progress.
358    * </pre>
359    *
360    * <code>
361    * repeated .google.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
362    * </code>
363    */
364   java.util.List<? extends com.google.cloud.vmmigration.v1.CutoverStepOrBuilder>
getStepsOrBuilderList()365       getStepsOrBuilderList();
366   /**
367    *
368    *
369    * <pre>
370    * Output only. The cutover steps list representing its progress.
371    * </pre>
372    *
373    * <code>
374    * repeated .google.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
375    * </code>
376    */
getStepsOrBuilder(int index)377   com.google.cloud.vmmigration.v1.CutoverStepOrBuilder getStepsOrBuilder(int index);
378 
getTargetVmDetailsCase()379   public com.google.cloud.vmmigration.v1.CutoverJob.TargetVmDetailsCase getTargetVmDetailsCase();
380 }
381