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 InstanceOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.Instance) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Controls for advanced machine-related behavior features. 31 * </pre> 32 * 33 * <code> 34 * optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002; 35 * </code> 36 * 37 * @return Whether the advancedMachineFeatures field is set. 38 */ hasAdvancedMachineFeatures()39 boolean hasAdvancedMachineFeatures(); 40 /** 41 * 42 * 43 * <pre> 44 * Controls for advanced machine-related behavior features. 45 * </pre> 46 * 47 * <code> 48 * optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002; 49 * </code> 50 * 51 * @return The advancedMachineFeatures. 52 */ getAdvancedMachineFeatures()53 com.google.cloud.compute.v1.AdvancedMachineFeatures getAdvancedMachineFeatures(); 54 /** 55 * 56 * 57 * <pre> 58 * Controls for advanced machine-related behavior features. 59 * </pre> 60 * 61 * <code> 62 * optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002; 63 * </code> 64 */ 65 com.google.cloud.compute.v1.AdvancedMachineFeaturesOrBuilder getAdvancedMachineFeaturesOrBuilder()66 getAdvancedMachineFeaturesOrBuilder(); 67 68 /** 69 * 70 * 71 * <pre> 72 * Allows this instance to send and receive packets with non-matching destination or source IPs. This is required if you plan to use this instance to forward routes. For more information, see Enabling IP Forwarding . 73 * </pre> 74 * 75 * <code>optional bool can_ip_forward = 467731324;</code> 76 * 77 * @return Whether the canIpForward field is set. 78 */ hasCanIpForward()79 boolean hasCanIpForward(); 80 /** 81 * 82 * 83 * <pre> 84 * Allows this instance to send and receive packets with non-matching destination or source IPs. This is required if you plan to use this instance to forward routes. For more information, see Enabling IP Forwarding . 85 * </pre> 86 * 87 * <code>optional bool can_ip_forward = 467731324;</code> 88 * 89 * @return The canIpForward. 90 */ getCanIpForward()91 boolean getCanIpForward(); 92 93 /** 94 * <code> 95 * optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685; 96 * </code> 97 * 98 * @return Whether the confidentialInstanceConfig field is set. 99 */ hasConfidentialInstanceConfig()100 boolean hasConfidentialInstanceConfig(); 101 /** 102 * <code> 103 * optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685; 104 * </code> 105 * 106 * @return The confidentialInstanceConfig. 107 */ getConfidentialInstanceConfig()108 com.google.cloud.compute.v1.ConfidentialInstanceConfig getConfidentialInstanceConfig(); 109 /** 110 * <code> 111 * optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685; 112 * </code> 113 */ 114 com.google.cloud.compute.v1.ConfidentialInstanceConfigOrBuilder getConfidentialInstanceConfigOrBuilder()115 getConfidentialInstanceConfigOrBuilder(); 116 117 /** 118 * 119 * 120 * <pre> 121 * [Output Only] The CPU platform used by this instance. 122 * </pre> 123 * 124 * <code>optional string cpu_platform = 410285354;</code> 125 * 126 * @return Whether the cpuPlatform field is set. 127 */ hasCpuPlatform()128 boolean hasCpuPlatform(); 129 /** 130 * 131 * 132 * <pre> 133 * [Output Only] The CPU platform used by this instance. 134 * </pre> 135 * 136 * <code>optional string cpu_platform = 410285354;</code> 137 * 138 * @return The cpuPlatform. 139 */ getCpuPlatform()140 java.lang.String getCpuPlatform(); 141 /** 142 * 143 * 144 * <pre> 145 * [Output Only] The CPU platform used by this instance. 146 * </pre> 147 * 148 * <code>optional string cpu_platform = 410285354;</code> 149 * 150 * @return The bytes for cpuPlatform. 151 */ getCpuPlatformBytes()152 com.google.protobuf.ByteString getCpuPlatformBytes(); 153 154 /** 155 * 156 * 157 * <pre> 158 * [Output Only] Creation timestamp in RFC3339 text format. 159 * </pre> 160 * 161 * <code>optional string creation_timestamp = 30525366;</code> 162 * 163 * @return Whether the creationTimestamp field is set. 164 */ hasCreationTimestamp()165 boolean hasCreationTimestamp(); 166 /** 167 * 168 * 169 * <pre> 170 * [Output Only] Creation timestamp in RFC3339 text format. 171 * </pre> 172 * 173 * <code>optional string creation_timestamp = 30525366;</code> 174 * 175 * @return The creationTimestamp. 176 */ getCreationTimestamp()177 java.lang.String getCreationTimestamp(); 178 /** 179 * 180 * 181 * <pre> 182 * [Output Only] Creation timestamp in RFC3339 text format. 183 * </pre> 184 * 185 * <code>optional string creation_timestamp = 30525366;</code> 186 * 187 * @return The bytes for creationTimestamp. 188 */ getCreationTimestampBytes()189 com.google.protobuf.ByteString getCreationTimestampBytes(); 190 191 /** 192 * 193 * 194 * <pre> 195 * Whether the resource should be protected against deletion. 196 * </pre> 197 * 198 * <code>optional bool deletion_protection = 458014698;</code> 199 * 200 * @return Whether the deletionProtection field is set. 201 */ hasDeletionProtection()202 boolean hasDeletionProtection(); 203 /** 204 * 205 * 206 * <pre> 207 * Whether the resource should be protected against deletion. 208 * </pre> 209 * 210 * <code>optional bool deletion_protection = 458014698;</code> 211 * 212 * @return The deletionProtection. 213 */ getDeletionProtection()214 boolean getDeletionProtection(); 215 216 /** 217 * 218 * 219 * <pre> 220 * An optional description of this resource. Provide this property when you create the resource. 221 * </pre> 222 * 223 * <code>optional string description = 422937596;</code> 224 * 225 * @return Whether the description field is set. 226 */ hasDescription()227 boolean hasDescription(); 228 /** 229 * 230 * 231 * <pre> 232 * An optional description of this resource. Provide this property when you create the resource. 233 * </pre> 234 * 235 * <code>optional string description = 422937596;</code> 236 * 237 * @return The description. 238 */ getDescription()239 java.lang.String getDescription(); 240 /** 241 * 242 * 243 * <pre> 244 * An optional description of this resource. Provide this property when you create the resource. 245 * </pre> 246 * 247 * <code>optional string description = 422937596;</code> 248 * 249 * @return The bytes for description. 250 */ getDescriptionBytes()251 com.google.protobuf.ByteString getDescriptionBytes(); 252 253 /** 254 * 255 * 256 * <pre> 257 * Array of disks associated with this instance. Persistent disks must be created before you can assign them. 258 * </pre> 259 * 260 * <code>repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;</code> 261 */ getDisksList()262 java.util.List<com.google.cloud.compute.v1.AttachedDisk> getDisksList(); 263 /** 264 * 265 * 266 * <pre> 267 * Array of disks associated with this instance. Persistent disks must be created before you can assign them. 268 * </pre> 269 * 270 * <code>repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;</code> 271 */ getDisks(int index)272 com.google.cloud.compute.v1.AttachedDisk getDisks(int index); 273 /** 274 * 275 * 276 * <pre> 277 * Array of disks associated with this instance. Persistent disks must be created before you can assign them. 278 * </pre> 279 * 280 * <code>repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;</code> 281 */ getDisksCount()282 int getDisksCount(); 283 /** 284 * 285 * 286 * <pre> 287 * Array of disks associated with this instance. Persistent disks must be created before you can assign them. 288 * </pre> 289 * 290 * <code>repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;</code> 291 */ 292 java.util.List<? extends com.google.cloud.compute.v1.AttachedDiskOrBuilder> getDisksOrBuilderList()293 getDisksOrBuilderList(); 294 /** 295 * 296 * 297 * <pre> 298 * Array of disks associated with this instance. Persistent disks must be created before you can assign them. 299 * </pre> 300 * 301 * <code>repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;</code> 302 */ getDisksOrBuilder(int index)303 com.google.cloud.compute.v1.AttachedDiskOrBuilder getDisksOrBuilder(int index); 304 305 /** 306 * 307 * 308 * <pre> 309 * Enables display device for the instance. 310 * </pre> 311 * 312 * <code>optional .google.cloud.compute.v1.DisplayDevice display_device = 258933875;</code> 313 * 314 * @return Whether the displayDevice field is set. 315 */ hasDisplayDevice()316 boolean hasDisplayDevice(); 317 /** 318 * 319 * 320 * <pre> 321 * Enables display device for the instance. 322 * </pre> 323 * 324 * <code>optional .google.cloud.compute.v1.DisplayDevice display_device = 258933875;</code> 325 * 326 * @return The displayDevice. 327 */ getDisplayDevice()328 com.google.cloud.compute.v1.DisplayDevice getDisplayDevice(); 329 /** 330 * 331 * 332 * <pre> 333 * Enables display device for the instance. 334 * </pre> 335 * 336 * <code>optional .google.cloud.compute.v1.DisplayDevice display_device = 258933875;</code> 337 */ getDisplayDeviceOrBuilder()338 com.google.cloud.compute.v1.DisplayDeviceOrBuilder getDisplayDeviceOrBuilder(); 339 340 /** 341 * 342 * 343 * <pre> 344 * Specifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance. You must always provide an up-to-date fingerprint hash in order to update the instance. To see the latest fingerprint, make get() request to the instance. 345 * </pre> 346 * 347 * <code>optional string fingerprint = 234678500;</code> 348 * 349 * @return Whether the fingerprint field is set. 350 */ hasFingerprint()351 boolean hasFingerprint(); 352 /** 353 * 354 * 355 * <pre> 356 * Specifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance. You must always provide an up-to-date fingerprint hash in order to update the instance. To see the latest fingerprint, make get() request to the instance. 357 * </pre> 358 * 359 * <code>optional string fingerprint = 234678500;</code> 360 * 361 * @return The fingerprint. 362 */ getFingerprint()363 java.lang.String getFingerprint(); 364 /** 365 * 366 * 367 * <pre> 368 * Specifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance. You must always provide an up-to-date fingerprint hash in order to update the instance. To see the latest fingerprint, make get() request to the instance. 369 * </pre> 370 * 371 * <code>optional string fingerprint = 234678500;</code> 372 * 373 * @return The bytes for fingerprint. 374 */ getFingerprintBytes()375 com.google.protobuf.ByteString getFingerprintBytes(); 376 377 /** 378 * 379 * 380 * <pre> 381 * A list of the type and count of accelerator cards attached to the instance. 382 * </pre> 383 * 384 * <code>repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; 385 * </code> 386 */ getGuestAcceleratorsList()387 java.util.List<com.google.cloud.compute.v1.AcceleratorConfig> getGuestAcceleratorsList(); 388 /** 389 * 390 * 391 * <pre> 392 * A list of the type and count of accelerator cards attached to the instance. 393 * </pre> 394 * 395 * <code>repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; 396 * </code> 397 */ getGuestAccelerators(int index)398 com.google.cloud.compute.v1.AcceleratorConfig getGuestAccelerators(int index); 399 /** 400 * 401 * 402 * <pre> 403 * A list of the type and count of accelerator cards attached to the instance. 404 * </pre> 405 * 406 * <code>repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; 407 * </code> 408 */ getGuestAcceleratorsCount()409 int getGuestAcceleratorsCount(); 410 /** 411 * 412 * 413 * <pre> 414 * A list of the type and count of accelerator cards attached to the instance. 415 * </pre> 416 * 417 * <code>repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; 418 * </code> 419 */ 420 java.util.List<? extends com.google.cloud.compute.v1.AcceleratorConfigOrBuilder> getGuestAcceleratorsOrBuilderList()421 getGuestAcceleratorsOrBuilderList(); 422 /** 423 * 424 * 425 * <pre> 426 * A list of the type and count of accelerator cards attached to the instance. 427 * </pre> 428 * 429 * <code>repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; 430 * </code> 431 */ getGuestAcceleratorsOrBuilder(int index)432 com.google.cloud.compute.v1.AcceleratorConfigOrBuilder getGuestAcceleratorsOrBuilder(int index); 433 434 /** 435 * 436 * 437 * <pre> 438 * Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS. 439 * </pre> 440 * 441 * <code>optional string hostname = 237067315;</code> 442 * 443 * @return Whether the hostname field is set. 444 */ hasHostname()445 boolean hasHostname(); 446 /** 447 * 448 * 449 * <pre> 450 * Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS. 451 * </pre> 452 * 453 * <code>optional string hostname = 237067315;</code> 454 * 455 * @return The hostname. 456 */ getHostname()457 java.lang.String getHostname(); 458 /** 459 * 460 * 461 * <pre> 462 * Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS. 463 * </pre> 464 * 465 * <code>optional string hostname = 237067315;</code> 466 * 467 * @return The bytes for hostname. 468 */ getHostnameBytes()469 com.google.protobuf.ByteString getHostnameBytes(); 470 471 /** 472 * 473 * 474 * <pre> 475 * [Output Only] The unique identifier for the resource. This identifier is defined by the server. 476 * </pre> 477 * 478 * <code>optional uint64 id = 3355;</code> 479 * 480 * @return Whether the id field is set. 481 */ hasId()482 boolean hasId(); 483 /** 484 * 485 * 486 * <pre> 487 * [Output Only] The unique identifier for the resource. This identifier is defined by the server. 488 * </pre> 489 * 490 * <code>optional uint64 id = 3355;</code> 491 * 492 * @return The id. 493 */ getId()494 long getId(); 495 496 /** 497 * 498 * 499 * <pre> 500 * KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. 501 * Check the KeyRevocationActionType enum for the list of possible values. 502 * </pre> 503 * 504 * <code>optional string key_revocation_action_type = 235941474;</code> 505 * 506 * @return Whether the keyRevocationActionType field is set. 507 */ hasKeyRevocationActionType()508 boolean hasKeyRevocationActionType(); 509 /** 510 * 511 * 512 * <pre> 513 * KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. 514 * Check the KeyRevocationActionType enum for the list of possible values. 515 * </pre> 516 * 517 * <code>optional string key_revocation_action_type = 235941474;</code> 518 * 519 * @return The keyRevocationActionType. 520 */ getKeyRevocationActionType()521 java.lang.String getKeyRevocationActionType(); 522 /** 523 * 524 * 525 * <pre> 526 * KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. 527 * Check the KeyRevocationActionType enum for the list of possible values. 528 * </pre> 529 * 530 * <code>optional string key_revocation_action_type = 235941474;</code> 531 * 532 * @return The bytes for keyRevocationActionType. 533 */ getKeyRevocationActionTypeBytes()534 com.google.protobuf.ByteString getKeyRevocationActionTypeBytes(); 535 536 /** 537 * 538 * 539 * <pre> 540 * [Output Only] Type of the resource. Always compute#instance for instances. 541 * </pre> 542 * 543 * <code>optional string kind = 3292052;</code> 544 * 545 * @return Whether the kind field is set. 546 */ hasKind()547 boolean hasKind(); 548 /** 549 * 550 * 551 * <pre> 552 * [Output Only] Type of the resource. Always compute#instance for instances. 553 * </pre> 554 * 555 * <code>optional string kind = 3292052;</code> 556 * 557 * @return The kind. 558 */ getKind()559 java.lang.String getKind(); 560 /** 561 * 562 * 563 * <pre> 564 * [Output Only] Type of the resource. Always compute#instance for instances. 565 * </pre> 566 * 567 * <code>optional string kind = 3292052;</code> 568 * 569 * @return The bytes for kind. 570 */ getKindBytes()571 com.google.protobuf.ByteString getKindBytes(); 572 573 /** 574 * 575 * 576 * <pre> 577 * A fingerprint for this request, which is essentially a hash of the label's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the instance. 578 * </pre> 579 * 580 * <code>optional string label_fingerprint = 178124825;</code> 581 * 582 * @return Whether the labelFingerprint field is set. 583 */ hasLabelFingerprint()584 boolean hasLabelFingerprint(); 585 /** 586 * 587 * 588 * <pre> 589 * A fingerprint for this request, which is essentially a hash of the label's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the instance. 590 * </pre> 591 * 592 * <code>optional string label_fingerprint = 178124825;</code> 593 * 594 * @return The labelFingerprint. 595 */ getLabelFingerprint()596 java.lang.String getLabelFingerprint(); 597 /** 598 * 599 * 600 * <pre> 601 * A fingerprint for this request, which is essentially a hash of the label's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the instance. 602 * </pre> 603 * 604 * <code>optional string label_fingerprint = 178124825;</code> 605 * 606 * @return The bytes for labelFingerprint. 607 */ getLabelFingerprintBytes()608 com.google.protobuf.ByteString getLabelFingerprintBytes(); 609 610 /** 611 * 612 * 613 * <pre> 614 * Labels to apply to this instance. These can be later modified by the setLabels method. 615 * </pre> 616 * 617 * <code>map<string, string> labels = 500195327;</code> 618 */ getLabelsCount()619 int getLabelsCount(); 620 /** 621 * 622 * 623 * <pre> 624 * Labels to apply to this instance. These can be later modified by the setLabels method. 625 * </pre> 626 * 627 * <code>map<string, string> labels = 500195327;</code> 628 */ containsLabels(java.lang.String key)629 boolean containsLabels(java.lang.String key); 630 /** Use {@link #getLabelsMap()} instead. */ 631 @java.lang.Deprecated getLabels()632 java.util.Map<java.lang.String, java.lang.String> getLabels(); 633 /** 634 * 635 * 636 * <pre> 637 * Labels to apply to this instance. These can be later modified by the setLabels method. 638 * </pre> 639 * 640 * <code>map<string, string> labels = 500195327;</code> 641 */ getLabelsMap()642 java.util.Map<java.lang.String, java.lang.String> getLabelsMap(); 643 /** 644 * 645 * 646 * <pre> 647 * Labels to apply to this instance. These can be later modified by the setLabels method. 648 * </pre> 649 * 650 * <code>map<string, string> labels = 500195327;</code> 651 */ 652 /* nullable */ getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue)653 java.lang.String getLabelsOrDefault( 654 java.lang.String key, 655 /* nullable */ 656 java.lang.String defaultValue); 657 /** 658 * 659 * 660 * <pre> 661 * Labels to apply to this instance. These can be later modified by the setLabels method. 662 * </pre> 663 * 664 * <code>map<string, string> labels = 500195327;</code> 665 */ getLabelsOrThrow(java.lang.String key)666 java.lang.String getLabelsOrThrow(java.lang.String key); 667 668 /** 669 * 670 * 671 * <pre> 672 * [Output Only] Last start timestamp in RFC3339 text format. 673 * </pre> 674 * 675 * <code>optional string last_start_timestamp = 443830736;</code> 676 * 677 * @return Whether the lastStartTimestamp field is set. 678 */ hasLastStartTimestamp()679 boolean hasLastStartTimestamp(); 680 /** 681 * 682 * 683 * <pre> 684 * [Output Only] Last start timestamp in RFC3339 text format. 685 * </pre> 686 * 687 * <code>optional string last_start_timestamp = 443830736;</code> 688 * 689 * @return The lastStartTimestamp. 690 */ getLastStartTimestamp()691 java.lang.String getLastStartTimestamp(); 692 /** 693 * 694 * 695 * <pre> 696 * [Output Only] Last start timestamp in RFC3339 text format. 697 * </pre> 698 * 699 * <code>optional string last_start_timestamp = 443830736;</code> 700 * 701 * @return The bytes for lastStartTimestamp. 702 */ getLastStartTimestampBytes()703 com.google.protobuf.ByteString getLastStartTimestampBytes(); 704 705 /** 706 * 707 * 708 * <pre> 709 * [Output Only] Last stop timestamp in RFC3339 text format. 710 * </pre> 711 * 712 * <code>optional string last_stop_timestamp = 412823010;</code> 713 * 714 * @return Whether the lastStopTimestamp field is set. 715 */ hasLastStopTimestamp()716 boolean hasLastStopTimestamp(); 717 /** 718 * 719 * 720 * <pre> 721 * [Output Only] Last stop timestamp in RFC3339 text format. 722 * </pre> 723 * 724 * <code>optional string last_stop_timestamp = 412823010;</code> 725 * 726 * @return The lastStopTimestamp. 727 */ getLastStopTimestamp()728 java.lang.String getLastStopTimestamp(); 729 /** 730 * 731 * 732 * <pre> 733 * [Output Only] Last stop timestamp in RFC3339 text format. 734 * </pre> 735 * 736 * <code>optional string last_stop_timestamp = 412823010;</code> 737 * 738 * @return The bytes for lastStopTimestamp. 739 */ getLastStopTimestampBytes()740 com.google.protobuf.ByteString getLastStopTimestampBytes(); 741 742 /** 743 * 744 * 745 * <pre> 746 * [Output Only] Last suspended timestamp in RFC3339 text format. 747 * </pre> 748 * 749 * <code>optional string last_suspended_timestamp = 356275337;</code> 750 * 751 * @return Whether the lastSuspendedTimestamp field is set. 752 */ hasLastSuspendedTimestamp()753 boolean hasLastSuspendedTimestamp(); 754 /** 755 * 756 * 757 * <pre> 758 * [Output Only] Last suspended timestamp in RFC3339 text format. 759 * </pre> 760 * 761 * <code>optional string last_suspended_timestamp = 356275337;</code> 762 * 763 * @return The lastSuspendedTimestamp. 764 */ getLastSuspendedTimestamp()765 java.lang.String getLastSuspendedTimestamp(); 766 /** 767 * 768 * 769 * <pre> 770 * [Output Only] Last suspended timestamp in RFC3339 text format. 771 * </pre> 772 * 773 * <code>optional string last_suspended_timestamp = 356275337;</code> 774 * 775 * @return The bytes for lastSuspendedTimestamp. 776 */ getLastSuspendedTimestampBytes()777 com.google.protobuf.ByteString getLastSuspendedTimestampBytes(); 778 779 /** 780 * 781 * 782 * <pre> 783 * Full or partial URL of the machine type resource to use for this instance, in the format: zones/zone/machineTypes/machine-type. This is provided by the client when the instance is created. For example, the following is a valid partial url to a predefined machine type: zones/us-central1-f/machineTypes/n1-standard-1 To create a custom machine type, provide a URL to a machine type in the following format, where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB (e.g. 5 GB of memory is 5120 MB): zones/zone/machineTypes/custom-CPUS-MEMORY For example: zones/us-central1-f/machineTypes/custom-4-5120 For a full list of restrictions, read the Specifications for custom machine types. 784 * </pre> 785 * 786 * <code>optional string machine_type = 227711026;</code> 787 * 788 * @return Whether the machineType field is set. 789 */ hasMachineType()790 boolean hasMachineType(); 791 /** 792 * 793 * 794 * <pre> 795 * Full or partial URL of the machine type resource to use for this instance, in the format: zones/zone/machineTypes/machine-type. This is provided by the client when the instance is created. For example, the following is a valid partial url to a predefined machine type: zones/us-central1-f/machineTypes/n1-standard-1 To create a custom machine type, provide a URL to a machine type in the following format, where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB (e.g. 5 GB of memory is 5120 MB): zones/zone/machineTypes/custom-CPUS-MEMORY For example: zones/us-central1-f/machineTypes/custom-4-5120 For a full list of restrictions, read the Specifications for custom machine types. 796 * </pre> 797 * 798 * <code>optional string machine_type = 227711026;</code> 799 * 800 * @return The machineType. 801 */ getMachineType()802 java.lang.String getMachineType(); 803 /** 804 * 805 * 806 * <pre> 807 * Full or partial URL of the machine type resource to use for this instance, in the format: zones/zone/machineTypes/machine-type. This is provided by the client when the instance is created. For example, the following is a valid partial url to a predefined machine type: zones/us-central1-f/machineTypes/n1-standard-1 To create a custom machine type, provide a URL to a machine type in the following format, where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB (e.g. 5 GB of memory is 5120 MB): zones/zone/machineTypes/custom-CPUS-MEMORY For example: zones/us-central1-f/machineTypes/custom-4-5120 For a full list of restrictions, read the Specifications for custom machine types. 808 * </pre> 809 * 810 * <code>optional string machine_type = 227711026;</code> 811 * 812 * @return The bytes for machineType. 813 */ getMachineTypeBytes()814 com.google.protobuf.ByteString getMachineTypeBytes(); 815 816 /** 817 * 818 * 819 * <pre> 820 * The metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys. 821 * </pre> 822 * 823 * <code>optional .google.cloud.compute.v1.Metadata metadata = 86866735;</code> 824 * 825 * @return Whether the metadata field is set. 826 */ hasMetadata()827 boolean hasMetadata(); 828 /** 829 * 830 * 831 * <pre> 832 * The metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys. 833 * </pre> 834 * 835 * <code>optional .google.cloud.compute.v1.Metadata metadata = 86866735;</code> 836 * 837 * @return The metadata. 838 */ getMetadata()839 com.google.cloud.compute.v1.Metadata getMetadata(); 840 /** 841 * 842 * 843 * <pre> 844 * The metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys. 845 * </pre> 846 * 847 * <code>optional .google.cloud.compute.v1.Metadata metadata = 86866735;</code> 848 */ getMetadataOrBuilder()849 com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder(); 850 851 /** 852 * 853 * 854 * <pre> 855 * Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". 856 * </pre> 857 * 858 * <code>optional string min_cpu_platform = 242912759;</code> 859 * 860 * @return Whether the minCpuPlatform field is set. 861 */ hasMinCpuPlatform()862 boolean hasMinCpuPlatform(); 863 /** 864 * 865 * 866 * <pre> 867 * Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". 868 * </pre> 869 * 870 * <code>optional string min_cpu_platform = 242912759;</code> 871 * 872 * @return The minCpuPlatform. 873 */ getMinCpuPlatform()874 java.lang.String getMinCpuPlatform(); 875 /** 876 * 877 * 878 * <pre> 879 * Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". 880 * </pre> 881 * 882 * <code>optional string min_cpu_platform = 242912759;</code> 883 * 884 * @return The bytes for minCpuPlatform. 885 */ getMinCpuPlatformBytes()886 com.google.protobuf.ByteString getMinCpuPlatformBytes(); 887 888 /** 889 * 890 * 891 * <pre> 892 * The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. 893 * </pre> 894 * 895 * <code>optional string name = 3373707;</code> 896 * 897 * @return Whether the name field is set. 898 */ hasName()899 boolean hasName(); 900 /** 901 * 902 * 903 * <pre> 904 * The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. 905 * </pre> 906 * 907 * <code>optional string name = 3373707;</code> 908 * 909 * @return The name. 910 */ getName()911 java.lang.String getName(); 912 /** 913 * 914 * 915 * <pre> 916 * The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. 917 * </pre> 918 * 919 * <code>optional string name = 3373707;</code> 920 * 921 * @return The bytes for name. 922 */ getNameBytes()923 com.google.protobuf.ByteString getNameBytes(); 924 925 /** 926 * 927 * 928 * <pre> 929 * An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance. 930 * </pre> 931 * 932 * <code>repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;</code> 933 */ getNetworkInterfacesList()934 java.util.List<com.google.cloud.compute.v1.NetworkInterface> getNetworkInterfacesList(); 935 /** 936 * 937 * 938 * <pre> 939 * An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance. 940 * </pre> 941 * 942 * <code>repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;</code> 943 */ getNetworkInterfaces(int index)944 com.google.cloud.compute.v1.NetworkInterface getNetworkInterfaces(int index); 945 /** 946 * 947 * 948 * <pre> 949 * An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance. 950 * </pre> 951 * 952 * <code>repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;</code> 953 */ getNetworkInterfacesCount()954 int getNetworkInterfacesCount(); 955 /** 956 * 957 * 958 * <pre> 959 * An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance. 960 * </pre> 961 * 962 * <code>repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;</code> 963 */ 964 java.util.List<? extends com.google.cloud.compute.v1.NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()965 getNetworkInterfacesOrBuilderList(); 966 /** 967 * 968 * 969 * <pre> 970 * An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance. 971 * </pre> 972 * 973 * <code>repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;</code> 974 */ getNetworkInterfacesOrBuilder(int index)975 com.google.cloud.compute.v1.NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index); 976 977 /** 978 * <code> 979 * optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850; 980 * </code> 981 * 982 * @return Whether the networkPerformanceConfig field is set. 983 */ hasNetworkPerformanceConfig()984 boolean hasNetworkPerformanceConfig(); 985 /** 986 * <code> 987 * optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850; 988 * </code> 989 * 990 * @return The networkPerformanceConfig. 991 */ getNetworkPerformanceConfig()992 com.google.cloud.compute.v1.NetworkPerformanceConfig getNetworkPerformanceConfig(); 993 /** 994 * <code> 995 * optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850; 996 * </code> 997 */ 998 com.google.cloud.compute.v1.NetworkPerformanceConfigOrBuilder getNetworkPerformanceConfigOrBuilder()999 getNetworkPerformanceConfigOrBuilder(); 1000 1001 /** 1002 * 1003 * 1004 * <pre> 1005 * Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload. 1006 * </pre> 1007 * 1008 * <code>optional .google.cloud.compute.v1.InstanceParams params = 78313862;</code> 1009 * 1010 * @return Whether the params field is set. 1011 */ hasParams()1012 boolean hasParams(); 1013 /** 1014 * 1015 * 1016 * <pre> 1017 * Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload. 1018 * </pre> 1019 * 1020 * <code>optional .google.cloud.compute.v1.InstanceParams params = 78313862;</code> 1021 * 1022 * @return The params. 1023 */ getParams()1024 com.google.cloud.compute.v1.InstanceParams getParams(); 1025 /** 1026 * 1027 * 1028 * <pre> 1029 * Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload. 1030 * </pre> 1031 * 1032 * <code>optional .google.cloud.compute.v1.InstanceParams params = 78313862;</code> 1033 */ getParamsOrBuilder()1034 com.google.cloud.compute.v1.InstanceParamsOrBuilder getParamsOrBuilder(); 1035 1036 /** 1037 * 1038 * 1039 * <pre> 1040 * The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default. 1041 * Check the PrivateIpv6GoogleAccess enum for the list of possible values. 1042 * </pre> 1043 * 1044 * <code>optional string private_ipv6_google_access = 48277006;</code> 1045 * 1046 * @return Whether the privateIpv6GoogleAccess field is set. 1047 */ hasPrivateIpv6GoogleAccess()1048 boolean hasPrivateIpv6GoogleAccess(); 1049 /** 1050 * 1051 * 1052 * <pre> 1053 * The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default. 1054 * Check the PrivateIpv6GoogleAccess enum for the list of possible values. 1055 * </pre> 1056 * 1057 * <code>optional string private_ipv6_google_access = 48277006;</code> 1058 * 1059 * @return The privateIpv6GoogleAccess. 1060 */ getPrivateIpv6GoogleAccess()1061 java.lang.String getPrivateIpv6GoogleAccess(); 1062 /** 1063 * 1064 * 1065 * <pre> 1066 * The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default. 1067 * Check the PrivateIpv6GoogleAccess enum for the list of possible values. 1068 * </pre> 1069 * 1070 * <code>optional string private_ipv6_google_access = 48277006;</code> 1071 * 1072 * @return The bytes for privateIpv6GoogleAccess. 1073 */ getPrivateIpv6GoogleAccessBytes()1074 com.google.protobuf.ByteString getPrivateIpv6GoogleAccessBytes(); 1075 1076 /** 1077 * 1078 * 1079 * <pre> 1080 * Specifies the reservations that this instance can consume from. 1081 * </pre> 1082 * 1083 * <code>optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683; 1084 * </code> 1085 * 1086 * @return Whether the reservationAffinity field is set. 1087 */ hasReservationAffinity()1088 boolean hasReservationAffinity(); 1089 /** 1090 * 1091 * 1092 * <pre> 1093 * Specifies the reservations that this instance can consume from. 1094 * </pre> 1095 * 1096 * <code>optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683; 1097 * </code> 1098 * 1099 * @return The reservationAffinity. 1100 */ getReservationAffinity()1101 com.google.cloud.compute.v1.ReservationAffinity getReservationAffinity(); 1102 /** 1103 * 1104 * 1105 * <pre> 1106 * Specifies the reservations that this instance can consume from. 1107 * </pre> 1108 * 1109 * <code>optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683; 1110 * </code> 1111 */ getReservationAffinityOrBuilder()1112 com.google.cloud.compute.v1.ReservationAffinityOrBuilder getReservationAffinityOrBuilder(); 1113 1114 /** 1115 * 1116 * 1117 * <pre> 1118 * Resource policies applied to this instance. 1119 * </pre> 1120 * 1121 * <code>repeated string resource_policies = 22220385;</code> 1122 * 1123 * @return A list containing the resourcePolicies. 1124 */ getResourcePoliciesList()1125 java.util.List<java.lang.String> getResourcePoliciesList(); 1126 /** 1127 * 1128 * 1129 * <pre> 1130 * Resource policies applied to this instance. 1131 * </pre> 1132 * 1133 * <code>repeated string resource_policies = 22220385;</code> 1134 * 1135 * @return The count of resourcePolicies. 1136 */ getResourcePoliciesCount()1137 int getResourcePoliciesCount(); 1138 /** 1139 * 1140 * 1141 * <pre> 1142 * Resource policies applied to this instance. 1143 * </pre> 1144 * 1145 * <code>repeated string resource_policies = 22220385;</code> 1146 * 1147 * @param index The index of the element to return. 1148 * @return The resourcePolicies at the given index. 1149 */ getResourcePolicies(int index)1150 java.lang.String getResourcePolicies(int index); 1151 /** 1152 * 1153 * 1154 * <pre> 1155 * Resource policies applied to this instance. 1156 * </pre> 1157 * 1158 * <code>repeated string resource_policies = 22220385;</code> 1159 * 1160 * @param index The index of the value to return. 1161 * @return The bytes of the resourcePolicies at the given index. 1162 */ getResourcePoliciesBytes(int index)1163 com.google.protobuf.ByteString getResourcePoliciesBytes(int index); 1164 1165 /** 1166 * 1167 * 1168 * <pre> 1169 * [Output Only] Specifies values set for instance attributes as compared to the values requested by user in the corresponding input only field. 1170 * </pre> 1171 * 1172 * <code>optional .google.cloud.compute.v1.ResourceStatus resource_status = 249429315;</code> 1173 * 1174 * @return Whether the resourceStatus field is set. 1175 */ hasResourceStatus()1176 boolean hasResourceStatus(); 1177 /** 1178 * 1179 * 1180 * <pre> 1181 * [Output Only] Specifies values set for instance attributes as compared to the values requested by user in the corresponding input only field. 1182 * </pre> 1183 * 1184 * <code>optional .google.cloud.compute.v1.ResourceStatus resource_status = 249429315;</code> 1185 * 1186 * @return The resourceStatus. 1187 */ getResourceStatus()1188 com.google.cloud.compute.v1.ResourceStatus getResourceStatus(); 1189 /** 1190 * 1191 * 1192 * <pre> 1193 * [Output Only] Specifies values set for instance attributes as compared to the values requested by user in the corresponding input only field. 1194 * </pre> 1195 * 1196 * <code>optional .google.cloud.compute.v1.ResourceStatus resource_status = 249429315;</code> 1197 */ getResourceStatusOrBuilder()1198 com.google.cloud.compute.v1.ResourceStatusOrBuilder getResourceStatusOrBuilder(); 1199 1200 /** 1201 * 1202 * 1203 * <pre> 1204 * [Output Only] Reserved for future use. 1205 * </pre> 1206 * 1207 * <code>optional bool satisfies_pzs = 480964267;</code> 1208 * 1209 * @return Whether the satisfiesPzs field is set. 1210 */ hasSatisfiesPzs()1211 boolean hasSatisfiesPzs(); 1212 /** 1213 * 1214 * 1215 * <pre> 1216 * [Output Only] Reserved for future use. 1217 * </pre> 1218 * 1219 * <code>optional bool satisfies_pzs = 480964267;</code> 1220 * 1221 * @return The satisfiesPzs. 1222 */ getSatisfiesPzs()1223 boolean getSatisfiesPzs(); 1224 1225 /** 1226 * 1227 * 1228 * <pre> 1229 * Sets the scheduling options for this instance. 1230 * </pre> 1231 * 1232 * <code>optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;</code> 1233 * 1234 * @return Whether the scheduling field is set. 1235 */ hasScheduling()1236 boolean hasScheduling(); 1237 /** 1238 * 1239 * 1240 * <pre> 1241 * Sets the scheduling options for this instance. 1242 * </pre> 1243 * 1244 * <code>optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;</code> 1245 * 1246 * @return The scheduling. 1247 */ getScheduling()1248 com.google.cloud.compute.v1.Scheduling getScheduling(); 1249 /** 1250 * 1251 * 1252 * <pre> 1253 * Sets the scheduling options for this instance. 1254 * </pre> 1255 * 1256 * <code>optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;</code> 1257 */ getSchedulingOrBuilder()1258 com.google.cloud.compute.v1.SchedulingOrBuilder getSchedulingOrBuilder(); 1259 1260 /** 1261 * 1262 * 1263 * <pre> 1264 * [Output Only] Server-defined URL for this resource. 1265 * </pre> 1266 * 1267 * <code>optional string self_link = 456214797;</code> 1268 * 1269 * @return Whether the selfLink field is set. 1270 */ hasSelfLink()1271 boolean hasSelfLink(); 1272 /** 1273 * 1274 * 1275 * <pre> 1276 * [Output Only] Server-defined URL for this resource. 1277 * </pre> 1278 * 1279 * <code>optional string self_link = 456214797;</code> 1280 * 1281 * @return The selfLink. 1282 */ getSelfLink()1283 java.lang.String getSelfLink(); 1284 /** 1285 * 1286 * 1287 * <pre> 1288 * [Output Only] Server-defined URL for this resource. 1289 * </pre> 1290 * 1291 * <code>optional string self_link = 456214797;</code> 1292 * 1293 * @return The bytes for selfLink. 1294 */ getSelfLinkBytes()1295 com.google.protobuf.ByteString getSelfLinkBytes(); 1296 1297 /** 1298 * 1299 * 1300 * <pre> 1301 * A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information. 1302 * </pre> 1303 * 1304 * <code>repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;</code> 1305 */ getServiceAccountsList()1306 java.util.List<com.google.cloud.compute.v1.ServiceAccount> getServiceAccountsList(); 1307 /** 1308 * 1309 * 1310 * <pre> 1311 * A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information. 1312 * </pre> 1313 * 1314 * <code>repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;</code> 1315 */ getServiceAccounts(int index)1316 com.google.cloud.compute.v1.ServiceAccount getServiceAccounts(int index); 1317 /** 1318 * 1319 * 1320 * <pre> 1321 * A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information. 1322 * </pre> 1323 * 1324 * <code>repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;</code> 1325 */ getServiceAccountsCount()1326 int getServiceAccountsCount(); 1327 /** 1328 * 1329 * 1330 * <pre> 1331 * A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information. 1332 * </pre> 1333 * 1334 * <code>repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;</code> 1335 */ 1336 java.util.List<? extends com.google.cloud.compute.v1.ServiceAccountOrBuilder> getServiceAccountsOrBuilderList()1337 getServiceAccountsOrBuilderList(); 1338 /** 1339 * 1340 * 1341 * <pre> 1342 * A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information. 1343 * </pre> 1344 * 1345 * <code>repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;</code> 1346 */ getServiceAccountsOrBuilder(int index)1347 com.google.cloud.compute.v1.ServiceAccountOrBuilder getServiceAccountsOrBuilder(int index); 1348 1349 /** 1350 * <code> 1351 * optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901; 1352 * </code> 1353 * 1354 * @return Whether the shieldedInstanceConfig field is set. 1355 */ hasShieldedInstanceConfig()1356 boolean hasShieldedInstanceConfig(); 1357 /** 1358 * <code> 1359 * optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901; 1360 * </code> 1361 * 1362 * @return The shieldedInstanceConfig. 1363 */ getShieldedInstanceConfig()1364 com.google.cloud.compute.v1.ShieldedInstanceConfig getShieldedInstanceConfig(); 1365 /** 1366 * <code> 1367 * optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901; 1368 * </code> 1369 */ getShieldedInstanceConfigOrBuilder()1370 com.google.cloud.compute.v1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder(); 1371 1372 /** 1373 * <code> 1374 * optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919; 1375 * </code> 1376 * 1377 * @return Whether the shieldedInstanceIntegrityPolicy field is set. 1378 */ hasShieldedInstanceIntegrityPolicy()1379 boolean hasShieldedInstanceIntegrityPolicy(); 1380 /** 1381 * <code> 1382 * optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919; 1383 * </code> 1384 * 1385 * @return The shieldedInstanceIntegrityPolicy. 1386 */ getShieldedInstanceIntegrityPolicy()1387 com.google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy getShieldedInstanceIntegrityPolicy(); 1388 /** 1389 * <code> 1390 * optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919; 1391 * </code> 1392 */ 1393 com.google.cloud.compute.v1.ShieldedInstanceIntegrityPolicyOrBuilder getShieldedInstanceIntegrityPolicyOrBuilder()1394 getShieldedInstanceIntegrityPolicyOrBuilder(); 1395 1396 /** 1397 * 1398 * 1399 * <pre> 1400 * Source machine image 1401 * </pre> 1402 * 1403 * <code>optional string source_machine_image = 21769791;</code> 1404 * 1405 * @return Whether the sourceMachineImage field is set. 1406 */ hasSourceMachineImage()1407 boolean hasSourceMachineImage(); 1408 /** 1409 * 1410 * 1411 * <pre> 1412 * Source machine image 1413 * </pre> 1414 * 1415 * <code>optional string source_machine_image = 21769791;</code> 1416 * 1417 * @return The sourceMachineImage. 1418 */ getSourceMachineImage()1419 java.lang.String getSourceMachineImage(); 1420 /** 1421 * 1422 * 1423 * <pre> 1424 * Source machine image 1425 * </pre> 1426 * 1427 * <code>optional string source_machine_image = 21769791;</code> 1428 * 1429 * @return The bytes for sourceMachineImage. 1430 */ getSourceMachineImageBytes()1431 com.google.protobuf.ByteString getSourceMachineImageBytes(); 1432 1433 /** 1434 * 1435 * 1436 * <pre> 1437 * Source machine image encryption key when creating an instance from a machine image. 1438 * </pre> 1439 * 1440 * <code> 1441 * optional .google.cloud.compute.v1.CustomerEncryptionKey source_machine_image_encryption_key = 192839075; 1442 * </code> 1443 * 1444 * @return Whether the sourceMachineImageEncryptionKey field is set. 1445 */ hasSourceMachineImageEncryptionKey()1446 boolean hasSourceMachineImageEncryptionKey(); 1447 /** 1448 * 1449 * 1450 * <pre> 1451 * Source machine image encryption key when creating an instance from a machine image. 1452 * </pre> 1453 * 1454 * <code> 1455 * optional .google.cloud.compute.v1.CustomerEncryptionKey source_machine_image_encryption_key = 192839075; 1456 * </code> 1457 * 1458 * @return The sourceMachineImageEncryptionKey. 1459 */ getSourceMachineImageEncryptionKey()1460 com.google.cloud.compute.v1.CustomerEncryptionKey getSourceMachineImageEncryptionKey(); 1461 /** 1462 * 1463 * 1464 * <pre> 1465 * Source machine image encryption key when creating an instance from a machine image. 1466 * </pre> 1467 * 1468 * <code> 1469 * optional .google.cloud.compute.v1.CustomerEncryptionKey source_machine_image_encryption_key = 192839075; 1470 * </code> 1471 */ 1472 com.google.cloud.compute.v1.CustomerEncryptionKeyOrBuilder getSourceMachineImageEncryptionKeyOrBuilder()1473 getSourceMachineImageEncryptionKeyOrBuilder(); 1474 1475 /** 1476 * 1477 * 1478 * <pre> 1479 * [Output Only] Whether a VM has been restricted for start because Compute Engine has detected suspicious activity. 1480 * </pre> 1481 * 1482 * <code>optional bool start_restricted = 123693144;</code> 1483 * 1484 * @return Whether the startRestricted field is set. 1485 */ hasStartRestricted()1486 boolean hasStartRestricted(); 1487 /** 1488 * 1489 * 1490 * <pre> 1491 * [Output Only] Whether a VM has been restricted for start because Compute Engine has detected suspicious activity. 1492 * </pre> 1493 * 1494 * <code>optional bool start_restricted = 123693144;</code> 1495 * 1496 * @return The startRestricted. 1497 */ getStartRestricted()1498 boolean getStartRestricted(); 1499 1500 /** 1501 * 1502 * 1503 * <pre> 1504 * [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle. 1505 * Check the Status enum for the list of possible values. 1506 * </pre> 1507 * 1508 * <code>optional string status = 181260274;</code> 1509 * 1510 * @return Whether the status field is set. 1511 */ hasStatus()1512 boolean hasStatus(); 1513 /** 1514 * 1515 * 1516 * <pre> 1517 * [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle. 1518 * Check the Status enum for the list of possible values. 1519 * </pre> 1520 * 1521 * <code>optional string status = 181260274;</code> 1522 * 1523 * @return The status. 1524 */ getStatus()1525 java.lang.String getStatus(); 1526 /** 1527 * 1528 * 1529 * <pre> 1530 * [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle. 1531 * Check the Status enum for the list of possible values. 1532 * </pre> 1533 * 1534 * <code>optional string status = 181260274;</code> 1535 * 1536 * @return The bytes for status. 1537 */ getStatusBytes()1538 com.google.protobuf.ByteString getStatusBytes(); 1539 1540 /** 1541 * 1542 * 1543 * <pre> 1544 * [Output Only] An optional, human-readable explanation of the status. 1545 * </pre> 1546 * 1547 * <code>optional string status_message = 297428154;</code> 1548 * 1549 * @return Whether the statusMessage field is set. 1550 */ hasStatusMessage()1551 boolean hasStatusMessage(); 1552 /** 1553 * 1554 * 1555 * <pre> 1556 * [Output Only] An optional, human-readable explanation of the status. 1557 * </pre> 1558 * 1559 * <code>optional string status_message = 297428154;</code> 1560 * 1561 * @return The statusMessage. 1562 */ getStatusMessage()1563 java.lang.String getStatusMessage(); 1564 /** 1565 * 1566 * 1567 * <pre> 1568 * [Output Only] An optional, human-readable explanation of the status. 1569 * </pre> 1570 * 1571 * <code>optional string status_message = 297428154;</code> 1572 * 1573 * @return The bytes for statusMessage. 1574 */ getStatusMessageBytes()1575 com.google.protobuf.ByteString getStatusMessageBytes(); 1576 1577 /** 1578 * 1579 * 1580 * <pre> 1581 * Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation. The tags can be later modified by the setTags method. Each tag within the list must comply with RFC1035. Multiple tags can be specified via the 'tags.items' field. 1582 * </pre> 1583 * 1584 * <code>optional .google.cloud.compute.v1.Tags tags = 3552281;</code> 1585 * 1586 * @return Whether the tags field is set. 1587 */ hasTags()1588 boolean hasTags(); 1589 /** 1590 * 1591 * 1592 * <pre> 1593 * Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation. The tags can be later modified by the setTags method. Each tag within the list must comply with RFC1035. Multiple tags can be specified via the 'tags.items' field. 1594 * </pre> 1595 * 1596 * <code>optional .google.cloud.compute.v1.Tags tags = 3552281;</code> 1597 * 1598 * @return The tags. 1599 */ getTags()1600 com.google.cloud.compute.v1.Tags getTags(); 1601 /** 1602 * 1603 * 1604 * <pre> 1605 * Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation. The tags can be later modified by the setTags method. Each tag within the list must comply with RFC1035. Multiple tags can be specified via the 'tags.items' field. 1606 * </pre> 1607 * 1608 * <code>optional .google.cloud.compute.v1.Tags tags = 3552281;</code> 1609 */ getTagsOrBuilder()1610 com.google.cloud.compute.v1.TagsOrBuilder getTagsOrBuilder(); 1611 1612 /** 1613 * 1614 * 1615 * <pre> 1616 * [Output Only] URL of the zone where the instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 1617 * </pre> 1618 * 1619 * <code>optional string zone = 3744684;</code> 1620 * 1621 * @return Whether the zone field is set. 1622 */ hasZone()1623 boolean hasZone(); 1624 /** 1625 * 1626 * 1627 * <pre> 1628 * [Output Only] URL of the zone where the instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 1629 * </pre> 1630 * 1631 * <code>optional string zone = 3744684;</code> 1632 * 1633 * @return The zone. 1634 */ getZone()1635 java.lang.String getZone(); 1636 /** 1637 * 1638 * 1639 * <pre> 1640 * [Output Only] URL of the zone where the instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 1641 * </pre> 1642 * 1643 * <code>optional string zone = 3744684;</code> 1644 * 1645 * @return The bytes for zone. 1646 */ getZoneBytes()1647 com.google.protobuf.ByteString getZoneBytes(); 1648 } 1649