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 InstancePropertiesOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.InstanceProperties) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Controls for advanced machine-related behavior features. Note that for MachineImage, this is not supported yet. 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. Note that for MachineImage, this is not supported yet. 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. Note that for MachineImage, this is not supported yet. 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 * Enables instances created based on these properties to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding documentation for more information. 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 * Enables instances created based on these properties to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding documentation for more information. 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 * 95 * 96 * <pre> 97 * Specifies the Confidential Instance options. Note that for MachineImage, this is not supported yet. 98 * </pre> 99 * 100 * <code> 101 * optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685; 102 * </code> 103 * 104 * @return Whether the confidentialInstanceConfig field is set. 105 */ hasConfidentialInstanceConfig()106 boolean hasConfidentialInstanceConfig(); 107 /** 108 * 109 * 110 * <pre> 111 * Specifies the Confidential Instance options. Note that for MachineImage, this is not supported yet. 112 * </pre> 113 * 114 * <code> 115 * optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685; 116 * </code> 117 * 118 * @return The confidentialInstanceConfig. 119 */ getConfidentialInstanceConfig()120 com.google.cloud.compute.v1.ConfidentialInstanceConfig getConfidentialInstanceConfig(); 121 /** 122 * 123 * 124 * <pre> 125 * Specifies the Confidential Instance options. Note that for MachineImage, this is not supported yet. 126 * </pre> 127 * 128 * <code> 129 * optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685; 130 * </code> 131 */ 132 com.google.cloud.compute.v1.ConfidentialInstanceConfigOrBuilder getConfidentialInstanceConfigOrBuilder()133 getConfidentialInstanceConfigOrBuilder(); 134 135 /** 136 * 137 * 138 * <pre> 139 * An optional text description for the instances that are created from these properties. 140 * </pre> 141 * 142 * <code>optional string description = 422937596;</code> 143 * 144 * @return Whether the description field is set. 145 */ hasDescription()146 boolean hasDescription(); 147 /** 148 * 149 * 150 * <pre> 151 * An optional text description for the instances that are created from these properties. 152 * </pre> 153 * 154 * <code>optional string description = 422937596;</code> 155 * 156 * @return The description. 157 */ getDescription()158 java.lang.String getDescription(); 159 /** 160 * 161 * 162 * <pre> 163 * An optional text description for the instances that are created from these properties. 164 * </pre> 165 * 166 * <code>optional string description = 422937596;</code> 167 * 168 * @return The bytes for description. 169 */ getDescriptionBytes()170 com.google.protobuf.ByteString getDescriptionBytes(); 171 172 /** 173 * 174 * 175 * <pre> 176 * An array of disks that are associated with the instances that are created from these properties. 177 * </pre> 178 * 179 * <code>repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;</code> 180 */ getDisksList()181 java.util.List<com.google.cloud.compute.v1.AttachedDisk> getDisksList(); 182 /** 183 * 184 * 185 * <pre> 186 * An array of disks that are associated with the instances that are created from these properties. 187 * </pre> 188 * 189 * <code>repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;</code> 190 */ getDisks(int index)191 com.google.cloud.compute.v1.AttachedDisk getDisks(int index); 192 /** 193 * 194 * 195 * <pre> 196 * An array of disks that are associated with the instances that are created from these properties. 197 * </pre> 198 * 199 * <code>repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;</code> 200 */ getDisksCount()201 int getDisksCount(); 202 /** 203 * 204 * 205 * <pre> 206 * An array of disks that are associated with the instances that are created from these properties. 207 * </pre> 208 * 209 * <code>repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;</code> 210 */ 211 java.util.List<? extends com.google.cloud.compute.v1.AttachedDiskOrBuilder> getDisksOrBuilderList()212 getDisksOrBuilderList(); 213 /** 214 * 215 * 216 * <pre> 217 * An array of disks that are associated with the instances that are created from these properties. 218 * </pre> 219 * 220 * <code>repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;</code> 221 */ getDisksOrBuilder(int index)222 com.google.cloud.compute.v1.AttachedDiskOrBuilder getDisksOrBuilder(int index); 223 224 /** 225 * 226 * 227 * <pre> 228 * A list of guest accelerator cards' type and count to use for instances created from these properties. 229 * </pre> 230 * 231 * <code>repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; 232 * </code> 233 */ getGuestAcceleratorsList()234 java.util.List<com.google.cloud.compute.v1.AcceleratorConfig> getGuestAcceleratorsList(); 235 /** 236 * 237 * 238 * <pre> 239 * A list of guest accelerator cards' type and count to use for instances created from these properties. 240 * </pre> 241 * 242 * <code>repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; 243 * </code> 244 */ getGuestAccelerators(int index)245 com.google.cloud.compute.v1.AcceleratorConfig getGuestAccelerators(int index); 246 /** 247 * 248 * 249 * <pre> 250 * A list of guest accelerator cards' type and count to use for instances created from these properties. 251 * </pre> 252 * 253 * <code>repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; 254 * </code> 255 */ getGuestAcceleratorsCount()256 int getGuestAcceleratorsCount(); 257 /** 258 * 259 * 260 * <pre> 261 * A list of guest accelerator cards' type and count to use for instances created from these properties. 262 * </pre> 263 * 264 * <code>repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; 265 * </code> 266 */ 267 java.util.List<? extends com.google.cloud.compute.v1.AcceleratorConfigOrBuilder> getGuestAcceleratorsOrBuilderList()268 getGuestAcceleratorsOrBuilderList(); 269 /** 270 * 271 * 272 * <pre> 273 * A list of guest accelerator cards' type and count to use for instances created from these properties. 274 * </pre> 275 * 276 * <code>repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; 277 * </code> 278 */ getGuestAcceleratorsOrBuilder(int index)279 com.google.cloud.compute.v1.AcceleratorConfigOrBuilder getGuestAcceleratorsOrBuilder(int index); 280 281 /** 282 * 283 * 284 * <pre> 285 * KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. 286 * Check the KeyRevocationActionType enum for the list of possible values. 287 * </pre> 288 * 289 * <code>optional string key_revocation_action_type = 235941474;</code> 290 * 291 * @return Whether the keyRevocationActionType field is set. 292 */ hasKeyRevocationActionType()293 boolean hasKeyRevocationActionType(); 294 /** 295 * 296 * 297 * <pre> 298 * KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. 299 * Check the KeyRevocationActionType enum for the list of possible values. 300 * </pre> 301 * 302 * <code>optional string key_revocation_action_type = 235941474;</code> 303 * 304 * @return The keyRevocationActionType. 305 */ getKeyRevocationActionType()306 java.lang.String getKeyRevocationActionType(); 307 /** 308 * 309 * 310 * <pre> 311 * KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. 312 * Check the KeyRevocationActionType enum for the list of possible values. 313 * </pre> 314 * 315 * <code>optional string key_revocation_action_type = 235941474;</code> 316 * 317 * @return The bytes for keyRevocationActionType. 318 */ getKeyRevocationActionTypeBytes()319 com.google.protobuf.ByteString getKeyRevocationActionTypeBytes(); 320 321 /** 322 * 323 * 324 * <pre> 325 * Labels to apply to instances that are created from these properties. 326 * </pre> 327 * 328 * <code>map<string, string> labels = 500195327;</code> 329 */ getLabelsCount()330 int getLabelsCount(); 331 /** 332 * 333 * 334 * <pre> 335 * Labels to apply to instances that are created from these properties. 336 * </pre> 337 * 338 * <code>map<string, string> labels = 500195327;</code> 339 */ containsLabels(java.lang.String key)340 boolean containsLabels(java.lang.String key); 341 /** Use {@link #getLabelsMap()} instead. */ 342 @java.lang.Deprecated getLabels()343 java.util.Map<java.lang.String, java.lang.String> getLabels(); 344 /** 345 * 346 * 347 * <pre> 348 * Labels to apply to instances that are created from these properties. 349 * </pre> 350 * 351 * <code>map<string, string> labels = 500195327;</code> 352 */ getLabelsMap()353 java.util.Map<java.lang.String, java.lang.String> getLabelsMap(); 354 /** 355 * 356 * 357 * <pre> 358 * Labels to apply to instances that are created from these properties. 359 * </pre> 360 * 361 * <code>map<string, string> labels = 500195327;</code> 362 */ 363 /* nullable */ getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue)364 java.lang.String getLabelsOrDefault( 365 java.lang.String key, 366 /* nullable */ 367 java.lang.String defaultValue); 368 /** 369 * 370 * 371 * <pre> 372 * Labels to apply to instances that are created from these properties. 373 * </pre> 374 * 375 * <code>map<string, string> labels = 500195327;</code> 376 */ getLabelsOrThrow(java.lang.String key)377 java.lang.String getLabelsOrThrow(java.lang.String key); 378 379 /** 380 * 381 * 382 * <pre> 383 * The machine type to use for instances that are created from these properties. 384 * </pre> 385 * 386 * <code>optional string machine_type = 227711026;</code> 387 * 388 * @return Whether the machineType field is set. 389 */ hasMachineType()390 boolean hasMachineType(); 391 /** 392 * 393 * 394 * <pre> 395 * The machine type to use for instances that are created from these properties. 396 * </pre> 397 * 398 * <code>optional string machine_type = 227711026;</code> 399 * 400 * @return The machineType. 401 */ getMachineType()402 java.lang.String getMachineType(); 403 /** 404 * 405 * 406 * <pre> 407 * The machine type to use for instances that are created from these properties. 408 * </pre> 409 * 410 * <code>optional string machine_type = 227711026;</code> 411 * 412 * @return The bytes for machineType. 413 */ getMachineTypeBytes()414 com.google.protobuf.ByteString getMachineTypeBytes(); 415 416 /** 417 * 418 * 419 * <pre> 420 * The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See Project and instance metadata for more information. 421 * </pre> 422 * 423 * <code>optional .google.cloud.compute.v1.Metadata metadata = 86866735;</code> 424 * 425 * @return Whether the metadata field is set. 426 */ hasMetadata()427 boolean hasMetadata(); 428 /** 429 * 430 * 431 * <pre> 432 * The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See Project and instance metadata for more information. 433 * </pre> 434 * 435 * <code>optional .google.cloud.compute.v1.Metadata metadata = 86866735;</code> 436 * 437 * @return The metadata. 438 */ getMetadata()439 com.google.cloud.compute.v1.Metadata getMetadata(); 440 /** 441 * 442 * 443 * <pre> 444 * The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See Project and instance metadata for more information. 445 * </pre> 446 * 447 * <code>optional .google.cloud.compute.v1.Metadata metadata = 86866735;</code> 448 */ getMetadataOrBuilder()449 com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder(); 450 451 /** 452 * 453 * 454 * <pre> 455 * Minimum cpu/platform to be used by instances. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform. 456 * </pre> 457 * 458 * <code>optional string min_cpu_platform = 242912759;</code> 459 * 460 * @return Whether the minCpuPlatform field is set. 461 */ hasMinCpuPlatform()462 boolean hasMinCpuPlatform(); 463 /** 464 * 465 * 466 * <pre> 467 * Minimum cpu/platform to be used by instances. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform. 468 * </pre> 469 * 470 * <code>optional string min_cpu_platform = 242912759;</code> 471 * 472 * @return The minCpuPlatform. 473 */ getMinCpuPlatform()474 java.lang.String getMinCpuPlatform(); 475 /** 476 * 477 * 478 * <pre> 479 * Minimum cpu/platform to be used by instances. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform. 480 * </pre> 481 * 482 * <code>optional string min_cpu_platform = 242912759;</code> 483 * 484 * @return The bytes for minCpuPlatform. 485 */ getMinCpuPlatformBytes()486 com.google.protobuf.ByteString getMinCpuPlatformBytes(); 487 488 /** 489 * 490 * 491 * <pre> 492 * An array of network access configurations for this interface. 493 * </pre> 494 * 495 * <code>repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;</code> 496 */ getNetworkInterfacesList()497 java.util.List<com.google.cloud.compute.v1.NetworkInterface> getNetworkInterfacesList(); 498 /** 499 * 500 * 501 * <pre> 502 * An array of network access configurations for this interface. 503 * </pre> 504 * 505 * <code>repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;</code> 506 */ getNetworkInterfaces(int index)507 com.google.cloud.compute.v1.NetworkInterface getNetworkInterfaces(int index); 508 /** 509 * 510 * 511 * <pre> 512 * An array of network access configurations for this interface. 513 * </pre> 514 * 515 * <code>repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;</code> 516 */ getNetworkInterfacesCount()517 int getNetworkInterfacesCount(); 518 /** 519 * 520 * 521 * <pre> 522 * An array of network access configurations for this interface. 523 * </pre> 524 * 525 * <code>repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;</code> 526 */ 527 java.util.List<? extends com.google.cloud.compute.v1.NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()528 getNetworkInterfacesOrBuilderList(); 529 /** 530 * 531 * 532 * <pre> 533 * An array of network access configurations for this interface. 534 * </pre> 535 * 536 * <code>repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;</code> 537 */ getNetworkInterfacesOrBuilder(int index)538 com.google.cloud.compute.v1.NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index); 539 540 /** 541 * 542 * 543 * <pre> 544 * Note that for MachineImage, this is not supported yet. 545 * </pre> 546 * 547 * <code> 548 * optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850; 549 * </code> 550 * 551 * @return Whether the networkPerformanceConfig field is set. 552 */ hasNetworkPerformanceConfig()553 boolean hasNetworkPerformanceConfig(); 554 /** 555 * 556 * 557 * <pre> 558 * Note that for MachineImage, this is not supported yet. 559 * </pre> 560 * 561 * <code> 562 * optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850; 563 * </code> 564 * 565 * @return The networkPerformanceConfig. 566 */ getNetworkPerformanceConfig()567 com.google.cloud.compute.v1.NetworkPerformanceConfig getNetworkPerformanceConfig(); 568 /** 569 * 570 * 571 * <pre> 572 * Note that for MachineImage, this is not supported yet. 573 * </pre> 574 * 575 * <code> 576 * optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850; 577 * </code> 578 */ 579 com.google.cloud.compute.v1.NetworkPerformanceConfigOrBuilder getNetworkPerformanceConfigOrBuilder()580 getNetworkPerformanceConfigOrBuilder(); 581 582 /** 583 * 584 * 585 * <pre> 586 * The private IPv6 google access type for VMs. If not specified, use INHERIT_FROM_SUBNETWORK as default. Note that for MachineImage, this is not supported yet. 587 * Check the PrivateIpv6GoogleAccess enum for the list of possible values. 588 * </pre> 589 * 590 * <code>optional string private_ipv6_google_access = 48277006;</code> 591 * 592 * @return Whether the privateIpv6GoogleAccess field is set. 593 */ hasPrivateIpv6GoogleAccess()594 boolean hasPrivateIpv6GoogleAccess(); 595 /** 596 * 597 * 598 * <pre> 599 * The private IPv6 google access type for VMs. If not specified, use INHERIT_FROM_SUBNETWORK as default. Note that for MachineImage, this is not supported yet. 600 * Check the PrivateIpv6GoogleAccess enum for the list of possible values. 601 * </pre> 602 * 603 * <code>optional string private_ipv6_google_access = 48277006;</code> 604 * 605 * @return The privateIpv6GoogleAccess. 606 */ getPrivateIpv6GoogleAccess()607 java.lang.String getPrivateIpv6GoogleAccess(); 608 /** 609 * 610 * 611 * <pre> 612 * The private IPv6 google access type for VMs. If not specified, use INHERIT_FROM_SUBNETWORK as default. Note that for MachineImage, this is not supported yet. 613 * Check the PrivateIpv6GoogleAccess enum for the list of possible values. 614 * </pre> 615 * 616 * <code>optional string private_ipv6_google_access = 48277006;</code> 617 * 618 * @return The bytes for privateIpv6GoogleAccess. 619 */ getPrivateIpv6GoogleAccessBytes()620 com.google.protobuf.ByteString getPrivateIpv6GoogleAccessBytes(); 621 622 /** 623 * 624 * 625 * <pre> 626 * Specifies the reservations that instances can consume from. Note that for MachineImage, this is not supported yet. 627 * </pre> 628 * 629 * <code>optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683; 630 * </code> 631 * 632 * @return Whether the reservationAffinity field is set. 633 */ hasReservationAffinity()634 boolean hasReservationAffinity(); 635 /** 636 * 637 * 638 * <pre> 639 * Specifies the reservations that instances can consume from. Note that for MachineImage, this is not supported yet. 640 * </pre> 641 * 642 * <code>optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683; 643 * </code> 644 * 645 * @return The reservationAffinity. 646 */ getReservationAffinity()647 com.google.cloud.compute.v1.ReservationAffinity getReservationAffinity(); 648 /** 649 * 650 * 651 * <pre> 652 * Specifies the reservations that instances can consume from. Note that for MachineImage, this is not supported yet. 653 * </pre> 654 * 655 * <code>optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683; 656 * </code> 657 */ getReservationAffinityOrBuilder()658 com.google.cloud.compute.v1.ReservationAffinityOrBuilder getReservationAffinityOrBuilder(); 659 660 /** 661 * 662 * 663 * <pre> 664 * Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. 665 * </pre> 666 * 667 * <code>map<string, string> resource_manager_tags = 377671164;</code> 668 */ getResourceManagerTagsCount()669 int getResourceManagerTagsCount(); 670 /** 671 * 672 * 673 * <pre> 674 * Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. 675 * </pre> 676 * 677 * <code>map<string, string> resource_manager_tags = 377671164;</code> 678 */ containsResourceManagerTags(java.lang.String key)679 boolean containsResourceManagerTags(java.lang.String key); 680 /** Use {@link #getResourceManagerTagsMap()} instead. */ 681 @java.lang.Deprecated getResourceManagerTags()682 java.util.Map<java.lang.String, java.lang.String> getResourceManagerTags(); 683 /** 684 * 685 * 686 * <pre> 687 * Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. 688 * </pre> 689 * 690 * <code>map<string, string> resource_manager_tags = 377671164;</code> 691 */ getResourceManagerTagsMap()692 java.util.Map<java.lang.String, java.lang.String> getResourceManagerTagsMap(); 693 /** 694 * 695 * 696 * <pre> 697 * Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. 698 * </pre> 699 * 700 * <code>map<string, string> resource_manager_tags = 377671164;</code> 701 */ 702 /* nullable */ getResourceManagerTagsOrDefault( java.lang.String key, java.lang.String defaultValue)703 java.lang.String getResourceManagerTagsOrDefault( 704 java.lang.String key, 705 /* nullable */ 706 java.lang.String defaultValue); 707 /** 708 * 709 * 710 * <pre> 711 * Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. 712 * </pre> 713 * 714 * <code>map<string, string> resource_manager_tags = 377671164;</code> 715 */ getResourceManagerTagsOrThrow(java.lang.String key)716 java.lang.String getResourceManagerTagsOrThrow(java.lang.String key); 717 718 /** 719 * 720 * 721 * <pre> 722 * Resource policies (names, not URLs) applied to instances created from these properties. Note that for MachineImage, this is not supported yet. 723 * </pre> 724 * 725 * <code>repeated string resource_policies = 22220385;</code> 726 * 727 * @return A list containing the resourcePolicies. 728 */ getResourcePoliciesList()729 java.util.List<java.lang.String> getResourcePoliciesList(); 730 /** 731 * 732 * 733 * <pre> 734 * Resource policies (names, not URLs) applied to instances created from these properties. Note that for MachineImage, this is not supported yet. 735 * </pre> 736 * 737 * <code>repeated string resource_policies = 22220385;</code> 738 * 739 * @return The count of resourcePolicies. 740 */ getResourcePoliciesCount()741 int getResourcePoliciesCount(); 742 /** 743 * 744 * 745 * <pre> 746 * Resource policies (names, not URLs) applied to instances created from these properties. Note that for MachineImage, this is not supported yet. 747 * </pre> 748 * 749 * <code>repeated string resource_policies = 22220385;</code> 750 * 751 * @param index The index of the element to return. 752 * @return The resourcePolicies at the given index. 753 */ getResourcePolicies(int index)754 java.lang.String getResourcePolicies(int index); 755 /** 756 * 757 * 758 * <pre> 759 * Resource policies (names, not URLs) applied to instances created from these properties. Note that for MachineImage, this is not supported yet. 760 * </pre> 761 * 762 * <code>repeated string resource_policies = 22220385;</code> 763 * 764 * @param index The index of the value to return. 765 * @return The bytes of the resourcePolicies at the given index. 766 */ getResourcePoliciesBytes(int index)767 com.google.protobuf.ByteString getResourcePoliciesBytes(int index); 768 769 /** 770 * 771 * 772 * <pre> 773 * Specifies the scheduling options for the instances that are created from these properties. 774 * </pre> 775 * 776 * <code>optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;</code> 777 * 778 * @return Whether the scheduling field is set. 779 */ hasScheduling()780 boolean hasScheduling(); 781 /** 782 * 783 * 784 * <pre> 785 * Specifies the scheduling options for the instances that are created from these properties. 786 * </pre> 787 * 788 * <code>optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;</code> 789 * 790 * @return The scheduling. 791 */ getScheduling()792 com.google.cloud.compute.v1.Scheduling getScheduling(); 793 /** 794 * 795 * 796 * <pre> 797 * Specifies the scheduling options for the instances that are created from these properties. 798 * </pre> 799 * 800 * <code>optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;</code> 801 */ getSchedulingOrBuilder()802 com.google.cloud.compute.v1.SchedulingOrBuilder getSchedulingOrBuilder(); 803 804 /** 805 * 806 * 807 * <pre> 808 * A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances. 809 * </pre> 810 * 811 * <code>repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;</code> 812 */ getServiceAccountsList()813 java.util.List<com.google.cloud.compute.v1.ServiceAccount> getServiceAccountsList(); 814 /** 815 * 816 * 817 * <pre> 818 * A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances. 819 * </pre> 820 * 821 * <code>repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;</code> 822 */ getServiceAccounts(int index)823 com.google.cloud.compute.v1.ServiceAccount getServiceAccounts(int index); 824 /** 825 * 826 * 827 * <pre> 828 * A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances. 829 * </pre> 830 * 831 * <code>repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;</code> 832 */ getServiceAccountsCount()833 int getServiceAccountsCount(); 834 /** 835 * 836 * 837 * <pre> 838 * A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances. 839 * </pre> 840 * 841 * <code>repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;</code> 842 */ 843 java.util.List<? extends com.google.cloud.compute.v1.ServiceAccountOrBuilder> getServiceAccountsOrBuilderList()844 getServiceAccountsOrBuilderList(); 845 /** 846 * 847 * 848 * <pre> 849 * A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances. 850 * </pre> 851 * 852 * <code>repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;</code> 853 */ getServiceAccountsOrBuilder(int index)854 com.google.cloud.compute.v1.ServiceAccountOrBuilder getServiceAccountsOrBuilder(int index); 855 856 /** 857 * 858 * 859 * <pre> 860 * Note that for MachineImage, this is not supported yet. 861 * </pre> 862 * 863 * <code> 864 * optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901; 865 * </code> 866 * 867 * @return Whether the shieldedInstanceConfig field is set. 868 */ hasShieldedInstanceConfig()869 boolean hasShieldedInstanceConfig(); 870 /** 871 * 872 * 873 * <pre> 874 * Note that for MachineImage, this is not supported yet. 875 * </pre> 876 * 877 * <code> 878 * optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901; 879 * </code> 880 * 881 * @return The shieldedInstanceConfig. 882 */ getShieldedInstanceConfig()883 com.google.cloud.compute.v1.ShieldedInstanceConfig getShieldedInstanceConfig(); 884 /** 885 * 886 * 887 * <pre> 888 * Note that for MachineImage, this is not supported yet. 889 * </pre> 890 * 891 * <code> 892 * optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901; 893 * </code> 894 */ getShieldedInstanceConfigOrBuilder()895 com.google.cloud.compute.v1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder(); 896 897 /** 898 * 899 * 900 * <pre> 901 * A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035. 902 * </pre> 903 * 904 * <code>optional .google.cloud.compute.v1.Tags tags = 3552281;</code> 905 * 906 * @return Whether the tags field is set. 907 */ hasTags()908 boolean hasTags(); 909 /** 910 * 911 * 912 * <pre> 913 * A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035. 914 * </pre> 915 * 916 * <code>optional .google.cloud.compute.v1.Tags tags = 3552281;</code> 917 * 918 * @return The tags. 919 */ getTags()920 com.google.cloud.compute.v1.Tags getTags(); 921 /** 922 * 923 * 924 * <pre> 925 * A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035. 926 * </pre> 927 * 928 * <code>optional .google.cloud.compute.v1.Tags tags = 3552281;</code> 929 */ getTagsOrBuilder()930 com.google.cloud.compute.v1.TagsOrBuilder getTagsOrBuilder(); 931 } 932