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 CloneJobOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CloneJob) 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 = 20 [(.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 = 20 [(.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 = 20 [(.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 clone 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 clone 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 clone 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 clone job was ended. 114 * </pre> 115 * 116 * <code>.google.protobuf.Timestamp end_time = 22 [(.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 clone job was ended. 127 * </pre> 128 * 129 * <code>.google.protobuf.Timestamp end_time = 22 [(.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 clone job was ended. 140 * </pre> 141 * 142 * <code>.google.protobuf.Timestamp end_time = 22 [(.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 clone. 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 clone. 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 clone job. 177 * </pre> 178 * 179 * <code> 180 * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.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 clone job. 191 * </pre> 192 * 193 * <code> 194 * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; 195 * </code> 196 * 197 * @return The state. 198 */ getState()199 com.google.cloud.vmmigration.v1.CloneJob.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 = 14 [(.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 = 14 [(.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 = 14 [(.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. Provides details for the errors that led to the Clone Job's 244 * state. 245 * </pre> 246 * 247 * <code>.google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 248 * 249 * @return Whether the error field is set. 250 */ hasError()251 boolean hasError(); 252 /** 253 * 254 * 255 * <pre> 256 * Output only. Provides details for the errors that led to the Clone Job's 257 * state. 258 * </pre> 259 * 260 * <code>.google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 261 * 262 * @return The error. 263 */ getError()264 com.google.rpc.Status getError(); 265 /** 266 * 267 * 268 * <pre> 269 * Output only. Provides details for the errors that led to the Clone Job's 270 * state. 271 * </pre> 272 * 273 * <code>.google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 274 */ getErrorOrBuilder()275 com.google.rpc.StatusOrBuilder getErrorOrBuilder(); 276 277 /** 278 * 279 * 280 * <pre> 281 * Output only. The clone steps list representing its progress. 282 * </pre> 283 * 284 * <code> 285 * repeated .google.cloud.vmmigration.v1.CloneStep steps = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; 286 * </code> 287 */ getStepsList()288 java.util.List<com.google.cloud.vmmigration.v1.CloneStep> getStepsList(); 289 /** 290 * 291 * 292 * <pre> 293 * Output only. The clone steps list representing its progress. 294 * </pre> 295 * 296 * <code> 297 * repeated .google.cloud.vmmigration.v1.CloneStep steps = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; 298 * </code> 299 */ getSteps(int index)300 com.google.cloud.vmmigration.v1.CloneStep getSteps(int index); 301 /** 302 * 303 * 304 * <pre> 305 * Output only. The clone steps list representing its progress. 306 * </pre> 307 * 308 * <code> 309 * repeated .google.cloud.vmmigration.v1.CloneStep steps = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; 310 * </code> 311 */ getStepsCount()312 int getStepsCount(); 313 /** 314 * 315 * 316 * <pre> 317 * Output only. The clone steps list representing its progress. 318 * </pre> 319 * 320 * <code> 321 * repeated .google.cloud.vmmigration.v1.CloneStep steps = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; 322 * </code> 323 */ 324 java.util.List<? extends com.google.cloud.vmmigration.v1.CloneStepOrBuilder> getStepsOrBuilderList()325 getStepsOrBuilderList(); 326 /** 327 * 328 * 329 * <pre> 330 * Output only. The clone steps list representing its progress. 331 * </pre> 332 * 333 * <code> 334 * repeated .google.cloud.vmmigration.v1.CloneStep steps = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; 335 * </code> 336 */ getStepsOrBuilder(int index)337 com.google.cloud.vmmigration.v1.CloneStepOrBuilder getStepsOrBuilder(int index); 338 getTargetVmDetailsCase()339 public com.google.cloud.vmmigration.v1.CloneJob.TargetVmDetailsCase getTargetVmDetailsCase(); 340 } 341