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 DatacenterConnectorOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.DatacenterConnector) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Output only. The time the connector was created (as an API call, not when 31 * it was actually installed). 32 * </pre> 33 * 34 * <code>.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; 35 * </code> 36 * 37 * @return Whether the createTime field is set. 38 */ hasCreateTime()39 boolean hasCreateTime(); 40 /** 41 * 42 * 43 * <pre> 44 * Output only. The time the connector was created (as an API call, not when 45 * it was actually installed). 46 * </pre> 47 * 48 * <code>.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; 49 * </code> 50 * 51 * @return The createTime. 52 */ getCreateTime()53 com.google.protobuf.Timestamp getCreateTime(); 54 /** 55 * 56 * 57 * <pre> 58 * Output only. The time the connector was created (as an API call, not when 59 * it was actually installed). 60 * </pre> 61 * 62 * <code>.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; 63 * </code> 64 */ getCreateTimeOrBuilder()65 com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); 66 67 /** 68 * 69 * 70 * <pre> 71 * Output only. The last time the connector was updated with an API call. 72 * </pre> 73 * 74 * <code>.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; 75 * </code> 76 * 77 * @return Whether the updateTime field is set. 78 */ hasUpdateTime()79 boolean hasUpdateTime(); 80 /** 81 * 82 * 83 * <pre> 84 * Output only. The last time the connector was updated with an API call. 85 * </pre> 86 * 87 * <code>.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; 88 * </code> 89 * 90 * @return The updateTime. 91 */ getUpdateTime()92 com.google.protobuf.Timestamp getUpdateTime(); 93 /** 94 * 95 * 96 * <pre> 97 * Output only. The last time the connector was updated with an API call. 98 * </pre> 99 * 100 * <code>.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; 101 * </code> 102 */ getUpdateTimeOrBuilder()103 com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); 104 105 /** 106 * 107 * 108 * <pre> 109 * Output only. The connector's name. 110 * </pre> 111 * 112 * <code>string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 113 * 114 * @return The name. 115 */ getName()116 java.lang.String getName(); 117 /** 118 * 119 * 120 * <pre> 121 * Output only. The connector's name. 122 * </pre> 123 * 124 * <code>string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 125 * 126 * @return The bytes for name. 127 */ getNameBytes()128 com.google.protobuf.ByteString getNameBytes(); 129 130 /** 131 * 132 * 133 * <pre> 134 * Immutable. A unique key for this connector. This key is internal to the OVA 135 * connector and is supplied with its creation during the registration process 136 * and can not be modified. 137 * </pre> 138 * 139 * <code>string registration_id = 12 [(.google.api.field_behavior) = IMMUTABLE];</code> 140 * 141 * @return The registrationId. 142 */ getRegistrationId()143 java.lang.String getRegistrationId(); 144 /** 145 * 146 * 147 * <pre> 148 * Immutable. A unique key for this connector. This key is internal to the OVA 149 * connector and is supplied with its creation during the registration process 150 * and can not be modified. 151 * </pre> 152 * 153 * <code>string registration_id = 12 [(.google.api.field_behavior) = IMMUTABLE];</code> 154 * 155 * @return The bytes for registrationId. 156 */ getRegistrationIdBytes()157 com.google.protobuf.ByteString getRegistrationIdBytes(); 158 159 /** 160 * 161 * 162 * <pre> 163 * The service account to use in the connector when communicating with the 164 * cloud. 165 * </pre> 166 * 167 * <code>string service_account = 5;</code> 168 * 169 * @return The serviceAccount. 170 */ getServiceAccount()171 java.lang.String getServiceAccount(); 172 /** 173 * 174 * 175 * <pre> 176 * The service account to use in the connector when communicating with the 177 * cloud. 178 * </pre> 179 * 180 * <code>string service_account = 5;</code> 181 * 182 * @return The bytes for serviceAccount. 183 */ getServiceAccountBytes()184 com.google.protobuf.ByteString getServiceAccountBytes(); 185 186 /** 187 * 188 * 189 * <pre> 190 * The version running in the DatacenterConnector. This is supplied by the OVA 191 * connector during the registration process and can not be modified. 192 * </pre> 193 * 194 * <code>string version = 6;</code> 195 * 196 * @return The version. 197 */ getVersion()198 java.lang.String getVersion(); 199 /** 200 * 201 * 202 * <pre> 203 * The version running in the DatacenterConnector. This is supplied by the OVA 204 * connector during the registration process and can not be modified. 205 * </pre> 206 * 207 * <code>string version = 6;</code> 208 * 209 * @return The bytes for version. 210 */ getVersionBytes()211 com.google.protobuf.ByteString getVersionBytes(); 212 213 /** 214 * 215 * 216 * <pre> 217 * Output only. The communication channel between the datacenter connector and 218 * Google Cloud. 219 * </pre> 220 * 221 * <code>string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 222 * 223 * @return The bucket. 224 */ getBucket()225 java.lang.String getBucket(); 226 /** 227 * 228 * 229 * <pre> 230 * Output only. The communication channel between the datacenter connector and 231 * Google Cloud. 232 * </pre> 233 * 234 * <code>string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 235 * 236 * @return The bytes for bucket. 237 */ getBucketBytes()238 com.google.protobuf.ByteString getBucketBytes(); 239 240 /** 241 * 242 * 243 * <pre> 244 * Output only. State of the DatacenterConnector, as determined by the health 245 * checks. 246 * </pre> 247 * 248 * <code> 249 * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; 250 * </code> 251 * 252 * @return The enum numeric value on the wire for state. 253 */ getStateValue()254 int getStateValue(); 255 /** 256 * 257 * 258 * <pre> 259 * Output only. State of the DatacenterConnector, as determined by the health 260 * checks. 261 * </pre> 262 * 263 * <code> 264 * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; 265 * </code> 266 * 267 * @return The state. 268 */ getState()269 com.google.cloud.vmmigration.v1.DatacenterConnector.State getState(); 270 271 /** 272 * 273 * 274 * <pre> 275 * Output only. The time the state was last set. 276 * </pre> 277 * 278 * <code>.google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; 279 * </code> 280 * 281 * @return Whether the stateTime field is set. 282 */ hasStateTime()283 boolean hasStateTime(); 284 /** 285 * 286 * 287 * <pre> 288 * Output only. The time the state was last set. 289 * </pre> 290 * 291 * <code>.google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; 292 * </code> 293 * 294 * @return The stateTime. 295 */ getStateTime()296 com.google.protobuf.Timestamp getStateTime(); 297 /** 298 * 299 * 300 * <pre> 301 * Output only. The time the state was last set. 302 * </pre> 303 * 304 * <code>.google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; 305 * </code> 306 */ getStateTimeOrBuilder()307 com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder(); 308 309 /** 310 * 311 * 312 * <pre> 313 * Output only. Provides details on the state of the Datacenter Connector in 314 * case of an error. 315 * </pre> 316 * 317 * <code>.google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 318 * 319 * @return Whether the error field is set. 320 */ hasError()321 boolean hasError(); 322 /** 323 * 324 * 325 * <pre> 326 * Output only. Provides details on the state of the Datacenter Connector in 327 * case of an error. 328 * </pre> 329 * 330 * <code>.google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 331 * 332 * @return The error. 333 */ getError()334 com.google.rpc.Status getError(); 335 /** 336 * 337 * 338 * <pre> 339 * Output only. Provides details on the state of the Datacenter Connector in 340 * case of an error. 341 * </pre> 342 * 343 * <code>.google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 344 */ getErrorOrBuilder()345 com.google.rpc.StatusOrBuilder getErrorOrBuilder(); 346 347 /** 348 * 349 * 350 * <pre> 351 * Output only. Appliance OVA version. 352 * This is the OVA which is manually installed by the user and contains the 353 * infrastructure for the automatically updatable components on the appliance. 354 * </pre> 355 * 356 * <code> 357 * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; 358 * </code> 359 * 360 * @return The applianceInfrastructureVersion. 361 */ getApplianceInfrastructureVersion()362 java.lang.String getApplianceInfrastructureVersion(); 363 /** 364 * 365 * 366 * <pre> 367 * Output only. Appliance OVA version. 368 * This is the OVA which is manually installed by the user and contains the 369 * infrastructure for the automatically updatable components on the appliance. 370 * </pre> 371 * 372 * <code> 373 * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; 374 * </code> 375 * 376 * @return The bytes for applianceInfrastructureVersion. 377 */ getApplianceInfrastructureVersionBytes()378 com.google.protobuf.ByteString getApplianceInfrastructureVersionBytes(); 379 380 /** 381 * 382 * 383 * <pre> 384 * Output only. Appliance last installed update bundle version. 385 * This is the version of the automatically updatable components on the 386 * appliance. 387 * </pre> 388 * 389 * <code>string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; 390 * </code> 391 * 392 * @return The applianceSoftwareVersion. 393 */ getApplianceSoftwareVersion()394 java.lang.String getApplianceSoftwareVersion(); 395 /** 396 * 397 * 398 * <pre> 399 * Output only. Appliance last installed update bundle version. 400 * This is the version of the automatically updatable components on the 401 * appliance. 402 * </pre> 403 * 404 * <code>string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; 405 * </code> 406 * 407 * @return The bytes for applianceSoftwareVersion. 408 */ getApplianceSoftwareVersionBytes()409 com.google.protobuf.ByteString getApplianceSoftwareVersionBytes(); 410 411 /** 412 * 413 * 414 * <pre> 415 * Output only. The available versions for updating this appliance. 416 * </pre> 417 * 418 * <code> 419 * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; 420 * </code> 421 * 422 * @return Whether the availableVersions field is set. 423 */ hasAvailableVersions()424 boolean hasAvailableVersions(); 425 /** 426 * 427 * 428 * <pre> 429 * Output only. The available versions for updating this appliance. 430 * </pre> 431 * 432 * <code> 433 * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; 434 * </code> 435 * 436 * @return The availableVersions. 437 */ getAvailableVersions()438 com.google.cloud.vmmigration.v1.AvailableUpdates getAvailableVersions(); 439 /** 440 * 441 * 442 * <pre> 443 * Output only. The available versions for updating this appliance. 444 * </pre> 445 * 446 * <code> 447 * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; 448 * </code> 449 */ getAvailableVersionsOrBuilder()450 com.google.cloud.vmmigration.v1.AvailableUpdatesOrBuilder getAvailableVersionsOrBuilder(); 451 452 /** 453 * 454 * 455 * <pre> 456 * Output only. The status of the current / last upgradeAppliance operation. 457 * </pre> 458 * 459 * <code> 460 * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; 461 * </code> 462 * 463 * @return Whether the upgradeStatus field is set. 464 */ hasUpgradeStatus()465 boolean hasUpgradeStatus(); 466 /** 467 * 468 * 469 * <pre> 470 * Output only. The status of the current / last upgradeAppliance operation. 471 * </pre> 472 * 473 * <code> 474 * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; 475 * </code> 476 * 477 * @return The upgradeStatus. 478 */ getUpgradeStatus()479 com.google.cloud.vmmigration.v1.UpgradeStatus getUpgradeStatus(); 480 /** 481 * 482 * 483 * <pre> 484 * Output only. The status of the current / last upgradeAppliance operation. 485 * </pre> 486 * 487 * <code> 488 * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; 489 * </code> 490 */ getUpgradeStatusOrBuilder()491 com.google.cloud.vmmigration.v1.UpgradeStatusOrBuilder getUpgradeStatusOrBuilder(); 492 } 493