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 InstanceGroupManagerOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.InstanceGroupManager) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * The autohealing policy for this managed instance group. You can specify only one value. 31 * </pre> 32 * 33 * <code> 34 * repeated .google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy auto_healing_policies = 456799109; 35 * </code> 36 */ 37 java.util.List<com.google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy> getAutoHealingPoliciesList()38 getAutoHealingPoliciesList(); 39 /** 40 * 41 * 42 * <pre> 43 * The autohealing policy for this managed instance group. You can specify only one value. 44 * </pre> 45 * 46 * <code> 47 * repeated .google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy auto_healing_policies = 456799109; 48 * </code> 49 */ getAutoHealingPolicies( int index)50 com.google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy getAutoHealingPolicies( 51 int index); 52 /** 53 * 54 * 55 * <pre> 56 * The autohealing policy for this managed instance group. You can specify only one value. 57 * </pre> 58 * 59 * <code> 60 * repeated .google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy auto_healing_policies = 456799109; 61 * </code> 62 */ getAutoHealingPoliciesCount()63 int getAutoHealingPoliciesCount(); 64 /** 65 * 66 * 67 * <pre> 68 * The autohealing policy for this managed instance group. You can specify only one value. 69 * </pre> 70 * 71 * <code> 72 * repeated .google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy auto_healing_policies = 456799109; 73 * </code> 74 */ 75 java.util.List< 76 ? extends com.google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicyOrBuilder> getAutoHealingPoliciesOrBuilderList()77 getAutoHealingPoliciesOrBuilderList(); 78 /** 79 * 80 * 81 * <pre> 82 * The autohealing policy for this managed instance group. You can specify only one value. 83 * </pre> 84 * 85 * <code> 86 * repeated .google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy auto_healing_policies = 456799109; 87 * </code> 88 */ 89 com.google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicyOrBuilder getAutoHealingPoliciesOrBuilder(int index)90 getAutoHealingPoliciesOrBuilder(int index); 91 92 /** 93 * 94 * 95 * <pre> 96 * The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035. 97 * </pre> 98 * 99 * <code>optional string base_instance_name = 389106439;</code> 100 * 101 * @return Whether the baseInstanceName field is set. 102 */ hasBaseInstanceName()103 boolean hasBaseInstanceName(); 104 /** 105 * 106 * 107 * <pre> 108 * The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035. 109 * </pre> 110 * 111 * <code>optional string base_instance_name = 389106439;</code> 112 * 113 * @return The baseInstanceName. 114 */ getBaseInstanceName()115 java.lang.String getBaseInstanceName(); 116 /** 117 * 118 * 119 * <pre> 120 * The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035. 121 * </pre> 122 * 123 * <code>optional string base_instance_name = 389106439;</code> 124 * 125 * @return The bytes for baseInstanceName. 126 */ getBaseInstanceNameBytes()127 com.google.protobuf.ByteString getBaseInstanceNameBytes(); 128 129 /** 130 * 131 * 132 * <pre> 133 * [Output Only] The creation timestamp for this managed instance group in RFC3339 text format. 134 * </pre> 135 * 136 * <code>optional string creation_timestamp = 30525366;</code> 137 * 138 * @return Whether the creationTimestamp field is set. 139 */ hasCreationTimestamp()140 boolean hasCreationTimestamp(); 141 /** 142 * 143 * 144 * <pre> 145 * [Output Only] The creation timestamp for this managed instance group in RFC3339 text format. 146 * </pre> 147 * 148 * <code>optional string creation_timestamp = 30525366;</code> 149 * 150 * @return The creationTimestamp. 151 */ getCreationTimestamp()152 java.lang.String getCreationTimestamp(); 153 /** 154 * 155 * 156 * <pre> 157 * [Output Only] The creation timestamp for this managed instance group in RFC3339 text format. 158 * </pre> 159 * 160 * <code>optional string creation_timestamp = 30525366;</code> 161 * 162 * @return The bytes for creationTimestamp. 163 */ getCreationTimestampBytes()164 com.google.protobuf.ByteString getCreationTimestampBytes(); 165 166 /** 167 * 168 * 169 * <pre> 170 * [Output Only] The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions. 171 * </pre> 172 * 173 * <code> 174 * optional .google.cloud.compute.v1.InstanceGroupManagerActionsSummary current_actions = 164045879; 175 * </code> 176 * 177 * @return Whether the currentActions field is set. 178 */ hasCurrentActions()179 boolean hasCurrentActions(); 180 /** 181 * 182 * 183 * <pre> 184 * [Output Only] The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions. 185 * </pre> 186 * 187 * <code> 188 * optional .google.cloud.compute.v1.InstanceGroupManagerActionsSummary current_actions = 164045879; 189 * </code> 190 * 191 * @return The currentActions. 192 */ getCurrentActions()193 com.google.cloud.compute.v1.InstanceGroupManagerActionsSummary getCurrentActions(); 194 /** 195 * 196 * 197 * <pre> 198 * [Output Only] The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions. 199 * </pre> 200 * 201 * <code> 202 * optional .google.cloud.compute.v1.InstanceGroupManagerActionsSummary current_actions = 164045879; 203 * </code> 204 */ 205 com.google.cloud.compute.v1.InstanceGroupManagerActionsSummaryOrBuilder getCurrentActionsOrBuilder()206 getCurrentActionsOrBuilder(); 207 208 /** 209 * 210 * 211 * <pre> 212 * An optional description of this resource. 213 * </pre> 214 * 215 * <code>optional string description = 422937596;</code> 216 * 217 * @return Whether the description field is set. 218 */ hasDescription()219 boolean hasDescription(); 220 /** 221 * 222 * 223 * <pre> 224 * An optional description of this resource. 225 * </pre> 226 * 227 * <code>optional string description = 422937596;</code> 228 * 229 * @return The description. 230 */ getDescription()231 java.lang.String getDescription(); 232 /** 233 * 234 * 235 * <pre> 236 * An optional description of this resource. 237 * </pre> 238 * 239 * <code>optional string description = 422937596;</code> 240 * 241 * @return The bytes for description. 242 */ getDescriptionBytes()243 com.google.protobuf.ByteString getDescriptionBytes(); 244 245 /** 246 * 247 * 248 * <pre> 249 * Policy specifying the intended distribution of managed instances across zones in a regional managed instance group. 250 * </pre> 251 * 252 * <code>optional .google.cloud.compute.v1.DistributionPolicy distribution_policy = 534558541; 253 * </code> 254 * 255 * @return Whether the distributionPolicy field is set. 256 */ hasDistributionPolicy()257 boolean hasDistributionPolicy(); 258 /** 259 * 260 * 261 * <pre> 262 * Policy specifying the intended distribution of managed instances across zones in a regional managed instance group. 263 * </pre> 264 * 265 * <code>optional .google.cloud.compute.v1.DistributionPolicy distribution_policy = 534558541; 266 * </code> 267 * 268 * @return The distributionPolicy. 269 */ getDistributionPolicy()270 com.google.cloud.compute.v1.DistributionPolicy getDistributionPolicy(); 271 /** 272 * 273 * 274 * <pre> 275 * Policy specifying the intended distribution of managed instances across zones in a regional managed instance group. 276 * </pre> 277 * 278 * <code>optional .google.cloud.compute.v1.DistributionPolicy distribution_policy = 534558541; 279 * </code> 280 */ getDistributionPolicyOrBuilder()281 com.google.cloud.compute.v1.DistributionPolicyOrBuilder getDistributionPolicyOrBuilder(); 282 283 /** 284 * 285 * 286 * <pre> 287 * Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the InstanceGroupManager, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager. 288 * </pre> 289 * 290 * <code>optional string fingerprint = 234678500;</code> 291 * 292 * @return Whether the fingerprint field is set. 293 */ hasFingerprint()294 boolean hasFingerprint(); 295 /** 296 * 297 * 298 * <pre> 299 * Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the InstanceGroupManager, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager. 300 * </pre> 301 * 302 * <code>optional string fingerprint = 234678500;</code> 303 * 304 * @return The fingerprint. 305 */ getFingerprint()306 java.lang.String getFingerprint(); 307 /** 308 * 309 * 310 * <pre> 311 * Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the InstanceGroupManager, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager. 312 * </pre> 313 * 314 * <code>optional string fingerprint = 234678500;</code> 315 * 316 * @return The bytes for fingerprint. 317 */ getFingerprintBytes()318 com.google.protobuf.ByteString getFingerprintBytes(); 319 320 /** 321 * 322 * 323 * <pre> 324 * [Output Only] A unique identifier for this resource type. The server generates this identifier. 325 * </pre> 326 * 327 * <code>optional uint64 id = 3355;</code> 328 * 329 * @return Whether the id field is set. 330 */ hasId()331 boolean hasId(); 332 /** 333 * 334 * 335 * <pre> 336 * [Output Only] A unique identifier for this resource type. The server generates this identifier. 337 * </pre> 338 * 339 * <code>optional uint64 id = 3355;</code> 340 * 341 * @return The id. 342 */ getId()343 long getId(); 344 345 /** 346 * 347 * 348 * <pre> 349 * [Output Only] The URL of the Instance Group resource. 350 * </pre> 351 * 352 * <code>optional string instance_group = 81095253;</code> 353 * 354 * @return Whether the instanceGroup field is set. 355 */ hasInstanceGroup()356 boolean hasInstanceGroup(); 357 /** 358 * 359 * 360 * <pre> 361 * [Output Only] The URL of the Instance Group resource. 362 * </pre> 363 * 364 * <code>optional string instance_group = 81095253;</code> 365 * 366 * @return The instanceGroup. 367 */ getInstanceGroup()368 java.lang.String getInstanceGroup(); 369 /** 370 * 371 * 372 * <pre> 373 * [Output Only] The URL of the Instance Group resource. 374 * </pre> 375 * 376 * <code>optional string instance_group = 81095253;</code> 377 * 378 * @return The bytes for instanceGroup. 379 */ getInstanceGroupBytes()380 com.google.protobuf.ByteString getInstanceGroupBytes(); 381 382 /** 383 * 384 * 385 * <pre> 386 * The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE. 387 * </pre> 388 * 389 * <code>optional string instance_template = 309248228;</code> 390 * 391 * @return Whether the instanceTemplate field is set. 392 */ hasInstanceTemplate()393 boolean hasInstanceTemplate(); 394 /** 395 * 396 * 397 * <pre> 398 * The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE. 399 * </pre> 400 * 401 * <code>optional string instance_template = 309248228;</code> 402 * 403 * @return The instanceTemplate. 404 */ getInstanceTemplate()405 java.lang.String getInstanceTemplate(); 406 /** 407 * 408 * 409 * <pre> 410 * The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE. 411 * </pre> 412 * 413 * <code>optional string instance_template = 309248228;</code> 414 * 415 * @return The bytes for instanceTemplate. 416 */ getInstanceTemplateBytes()417 com.google.protobuf.ByteString getInstanceTemplateBytes(); 418 419 /** 420 * 421 * 422 * <pre> 423 * [Output Only] The resource type, which is always compute#instanceGroupManager for managed instance groups. 424 * </pre> 425 * 426 * <code>optional string kind = 3292052;</code> 427 * 428 * @return Whether the kind field is set. 429 */ hasKind()430 boolean hasKind(); 431 /** 432 * 433 * 434 * <pre> 435 * [Output Only] The resource type, which is always compute#instanceGroupManager for managed instance groups. 436 * </pre> 437 * 438 * <code>optional string kind = 3292052;</code> 439 * 440 * @return The kind. 441 */ getKind()442 java.lang.String getKind(); 443 /** 444 * 445 * 446 * <pre> 447 * [Output Only] The resource type, which is always compute#instanceGroupManager for managed instance groups. 448 * </pre> 449 * 450 * <code>optional string kind = 3292052;</code> 451 * 452 * @return The bytes for kind. 453 */ getKindBytes()454 com.google.protobuf.ByteString getKindBytes(); 455 456 /** 457 * 458 * 459 * <pre> 460 * Pagination behavior of the listManagedInstances API method for this managed instance group. 461 * Check the ListManagedInstancesResults enum for the list of possible values. 462 * </pre> 463 * 464 * <code>optional string list_managed_instances_results = 296047156;</code> 465 * 466 * @return Whether the listManagedInstancesResults field is set. 467 */ hasListManagedInstancesResults()468 boolean hasListManagedInstancesResults(); 469 /** 470 * 471 * 472 * <pre> 473 * Pagination behavior of the listManagedInstances API method for this managed instance group. 474 * Check the ListManagedInstancesResults enum for the list of possible values. 475 * </pre> 476 * 477 * <code>optional string list_managed_instances_results = 296047156;</code> 478 * 479 * @return The listManagedInstancesResults. 480 */ getListManagedInstancesResults()481 java.lang.String getListManagedInstancesResults(); 482 /** 483 * 484 * 485 * <pre> 486 * Pagination behavior of the listManagedInstances API method for this managed instance group. 487 * Check the ListManagedInstancesResults enum for the list of possible values. 488 * </pre> 489 * 490 * <code>optional string list_managed_instances_results = 296047156;</code> 491 * 492 * @return The bytes for listManagedInstancesResults. 493 */ getListManagedInstancesResultsBytes()494 com.google.protobuf.ByteString getListManagedInstancesResultsBytes(); 495 496 /** 497 * 498 * 499 * <pre> 500 * The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035. 501 * </pre> 502 * 503 * <code>optional string name = 3373707;</code> 504 * 505 * @return Whether the name field is set. 506 */ hasName()507 boolean hasName(); 508 /** 509 * 510 * 511 * <pre> 512 * The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035. 513 * </pre> 514 * 515 * <code>optional string name = 3373707;</code> 516 * 517 * @return The name. 518 */ getName()519 java.lang.String getName(); 520 /** 521 * 522 * 523 * <pre> 524 * The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035. 525 * </pre> 526 * 527 * <code>optional string name = 3373707;</code> 528 * 529 * @return The bytes for name. 530 */ getNameBytes()531 com.google.protobuf.ByteString getNameBytes(); 532 533 /** 534 * 535 * 536 * <pre> 537 * Named ports configured for the Instance Groups complementary to this Instance Group Manager. 538 * </pre> 539 * 540 * <code>repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;</code> 541 */ getNamedPortsList()542 java.util.List<com.google.cloud.compute.v1.NamedPort> getNamedPortsList(); 543 /** 544 * 545 * 546 * <pre> 547 * Named ports configured for the Instance Groups complementary to this Instance Group Manager. 548 * </pre> 549 * 550 * <code>repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;</code> 551 */ getNamedPorts(int index)552 com.google.cloud.compute.v1.NamedPort getNamedPorts(int index); 553 /** 554 * 555 * 556 * <pre> 557 * Named ports configured for the Instance Groups complementary to this Instance Group Manager. 558 * </pre> 559 * 560 * <code>repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;</code> 561 */ getNamedPortsCount()562 int getNamedPortsCount(); 563 /** 564 * 565 * 566 * <pre> 567 * Named ports configured for the Instance Groups complementary to this Instance Group Manager. 568 * </pre> 569 * 570 * <code>repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;</code> 571 */ 572 java.util.List<? extends com.google.cloud.compute.v1.NamedPortOrBuilder> getNamedPortsOrBuilderList()573 getNamedPortsOrBuilderList(); 574 /** 575 * 576 * 577 * <pre> 578 * Named ports configured for the Instance Groups complementary to this Instance Group Manager. 579 * </pre> 580 * 581 * <code>repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;</code> 582 */ getNamedPortsOrBuilder(int index)583 com.google.cloud.compute.v1.NamedPortOrBuilder getNamedPortsOrBuilder(int index); 584 585 /** 586 * 587 * 588 * <pre> 589 * [Output Only] The URL of the region where the managed instance group resides (for regional resources). 590 * </pre> 591 * 592 * <code>optional string region = 138946292;</code> 593 * 594 * @return Whether the region field is set. 595 */ hasRegion()596 boolean hasRegion(); 597 /** 598 * 599 * 600 * <pre> 601 * [Output Only] The URL of the region where the managed instance group resides (for regional resources). 602 * </pre> 603 * 604 * <code>optional string region = 138946292;</code> 605 * 606 * @return The region. 607 */ getRegion()608 java.lang.String getRegion(); 609 /** 610 * 611 * 612 * <pre> 613 * [Output Only] The URL of the region where the managed instance group resides (for regional resources). 614 * </pre> 615 * 616 * <code>optional string region = 138946292;</code> 617 * 618 * @return The bytes for region. 619 */ getRegionBytes()620 com.google.protobuf.ByteString getRegionBytes(); 621 622 /** 623 * 624 * 625 * <pre> 626 * [Output Only] The URL for this managed instance group. The server defines this URL. 627 * </pre> 628 * 629 * <code>optional string self_link = 456214797;</code> 630 * 631 * @return Whether the selfLink field is set. 632 */ hasSelfLink()633 boolean hasSelfLink(); 634 /** 635 * 636 * 637 * <pre> 638 * [Output Only] The URL for this managed instance group. The server defines this URL. 639 * </pre> 640 * 641 * <code>optional string self_link = 456214797;</code> 642 * 643 * @return The selfLink. 644 */ getSelfLink()645 java.lang.String getSelfLink(); 646 /** 647 * 648 * 649 * <pre> 650 * [Output Only] The URL for this managed instance group. The server defines this URL. 651 * </pre> 652 * 653 * <code>optional string self_link = 456214797;</code> 654 * 655 * @return The bytes for selfLink. 656 */ getSelfLinkBytes()657 com.google.protobuf.ByteString getSelfLinkBytes(); 658 659 /** 660 * 661 * 662 * <pre> 663 * Stateful configuration for this Instanced Group Manager 664 * </pre> 665 * 666 * <code>optional .google.cloud.compute.v1.StatefulPolicy stateful_policy = 47538565;</code> 667 * 668 * @return Whether the statefulPolicy field is set. 669 */ hasStatefulPolicy()670 boolean hasStatefulPolicy(); 671 /** 672 * 673 * 674 * <pre> 675 * Stateful configuration for this Instanced Group Manager 676 * </pre> 677 * 678 * <code>optional .google.cloud.compute.v1.StatefulPolicy stateful_policy = 47538565;</code> 679 * 680 * @return The statefulPolicy. 681 */ getStatefulPolicy()682 com.google.cloud.compute.v1.StatefulPolicy getStatefulPolicy(); 683 /** 684 * 685 * 686 * <pre> 687 * Stateful configuration for this Instanced Group Manager 688 * </pre> 689 * 690 * <code>optional .google.cloud.compute.v1.StatefulPolicy stateful_policy = 47538565;</code> 691 */ getStatefulPolicyOrBuilder()692 com.google.cloud.compute.v1.StatefulPolicyOrBuilder getStatefulPolicyOrBuilder(); 693 694 /** 695 * 696 * 697 * <pre> 698 * [Output Only] The status of this managed instance group. 699 * </pre> 700 * 701 * <code>optional .google.cloud.compute.v1.InstanceGroupManagerStatus status = 181260274;</code> 702 * 703 * @return Whether the status field is set. 704 */ hasStatus()705 boolean hasStatus(); 706 /** 707 * 708 * 709 * <pre> 710 * [Output Only] The status of this managed instance group. 711 * </pre> 712 * 713 * <code>optional .google.cloud.compute.v1.InstanceGroupManagerStatus status = 181260274;</code> 714 * 715 * @return The status. 716 */ getStatus()717 com.google.cloud.compute.v1.InstanceGroupManagerStatus getStatus(); 718 /** 719 * 720 * 721 * <pre> 722 * [Output Only] The status of this managed instance group. 723 * </pre> 724 * 725 * <code>optional .google.cloud.compute.v1.InstanceGroupManagerStatus status = 181260274;</code> 726 */ getStatusOrBuilder()727 com.google.cloud.compute.v1.InstanceGroupManagerStatusOrBuilder getStatusOrBuilder(); 728 729 /** 730 * 731 * 732 * <pre> 733 * The URLs for all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group. 734 * </pre> 735 * 736 * <code>repeated string target_pools = 336072617;</code> 737 * 738 * @return A list containing the targetPools. 739 */ getTargetPoolsList()740 java.util.List<java.lang.String> getTargetPoolsList(); 741 /** 742 * 743 * 744 * <pre> 745 * The URLs for all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group. 746 * </pre> 747 * 748 * <code>repeated string target_pools = 336072617;</code> 749 * 750 * @return The count of targetPools. 751 */ getTargetPoolsCount()752 int getTargetPoolsCount(); 753 /** 754 * 755 * 756 * <pre> 757 * The URLs for all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group. 758 * </pre> 759 * 760 * <code>repeated string target_pools = 336072617;</code> 761 * 762 * @param index The index of the element to return. 763 * @return The targetPools at the given index. 764 */ getTargetPools(int index)765 java.lang.String getTargetPools(int index); 766 /** 767 * 768 * 769 * <pre> 770 * The URLs for all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group. 771 * </pre> 772 * 773 * <code>repeated string target_pools = 336072617;</code> 774 * 775 * @param index The index of the value to return. 776 * @return The bytes of the targetPools at the given index. 777 */ getTargetPoolsBytes(int index)778 com.google.protobuf.ByteString getTargetPoolsBytes(int index); 779 780 /** 781 * 782 * 783 * <pre> 784 * The target number of running instances for this managed instance group. You can reduce this number by using the instanceGroupManager deleteInstances or abandonInstances methods. Resizing the group also changes this number. 785 * </pre> 786 * 787 * <code>optional int32 target_size = 62880239;</code> 788 * 789 * @return Whether the targetSize field is set. 790 */ hasTargetSize()791 boolean hasTargetSize(); 792 /** 793 * 794 * 795 * <pre> 796 * The target number of running instances for this managed instance group. You can reduce this number by using the instanceGroupManager deleteInstances or abandonInstances methods. Resizing the group also changes this number. 797 * </pre> 798 * 799 * <code>optional int32 target_size = 62880239;</code> 800 * 801 * @return The targetSize. 802 */ getTargetSize()803 int getTargetSize(); 804 805 /** 806 * 807 * 808 * <pre> 809 * The update policy for this managed instance group. 810 * </pre> 811 * 812 * <code> 813 * optional .google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy update_policy = 175809896; 814 * </code> 815 * 816 * @return Whether the updatePolicy field is set. 817 */ hasUpdatePolicy()818 boolean hasUpdatePolicy(); 819 /** 820 * 821 * 822 * <pre> 823 * The update policy for this managed instance group. 824 * </pre> 825 * 826 * <code> 827 * optional .google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy update_policy = 175809896; 828 * </code> 829 * 830 * @return The updatePolicy. 831 */ getUpdatePolicy()832 com.google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy getUpdatePolicy(); 833 /** 834 * 835 * 836 * <pre> 837 * The update policy for this managed instance group. 838 * </pre> 839 * 840 * <code> 841 * optional .google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy update_policy = 175809896; 842 * </code> 843 */ getUpdatePolicyOrBuilder()844 com.google.cloud.compute.v1.InstanceGroupManagerUpdatePolicyOrBuilder getUpdatePolicyOrBuilder(); 845 846 /** 847 * 848 * 849 * <pre> 850 * Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and a name. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about the relationships between these fields. Exactly one version must leave the targetSize field unset. That version will be applied to all remaining instances. For more information, read about canary updates. 851 * </pre> 852 * 853 * <code>repeated .google.cloud.compute.v1.InstanceGroupManagerVersion versions = 162430619; 854 * </code> 855 */ getVersionsList()856 java.util.List<com.google.cloud.compute.v1.InstanceGroupManagerVersion> getVersionsList(); 857 /** 858 * 859 * 860 * <pre> 861 * Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and a name. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about the relationships between these fields. Exactly one version must leave the targetSize field unset. That version will be applied to all remaining instances. For more information, read about canary updates. 862 * </pre> 863 * 864 * <code>repeated .google.cloud.compute.v1.InstanceGroupManagerVersion versions = 162430619; 865 * </code> 866 */ getVersions(int index)867 com.google.cloud.compute.v1.InstanceGroupManagerVersion getVersions(int index); 868 /** 869 * 870 * 871 * <pre> 872 * Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and a name. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about the relationships between these fields. Exactly one version must leave the targetSize field unset. That version will be applied to all remaining instances. For more information, read about canary updates. 873 * </pre> 874 * 875 * <code>repeated .google.cloud.compute.v1.InstanceGroupManagerVersion versions = 162430619; 876 * </code> 877 */ getVersionsCount()878 int getVersionsCount(); 879 /** 880 * 881 * 882 * <pre> 883 * Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and a name. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about the relationships between these fields. Exactly one version must leave the targetSize field unset. That version will be applied to all remaining instances. For more information, read about canary updates. 884 * </pre> 885 * 886 * <code>repeated .google.cloud.compute.v1.InstanceGroupManagerVersion versions = 162430619; 887 * </code> 888 */ 889 java.util.List<? extends com.google.cloud.compute.v1.InstanceGroupManagerVersionOrBuilder> getVersionsOrBuilderList()890 getVersionsOrBuilderList(); 891 /** 892 * 893 * 894 * <pre> 895 * Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and a name. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about the relationships between these fields. Exactly one version must leave the targetSize field unset. That version will be applied to all remaining instances. For more information, read about canary updates. 896 * </pre> 897 * 898 * <code>repeated .google.cloud.compute.v1.InstanceGroupManagerVersion versions = 162430619; 899 * </code> 900 */ getVersionsOrBuilder(int index)901 com.google.cloud.compute.v1.InstanceGroupManagerVersionOrBuilder getVersionsOrBuilder(int index); 902 903 /** 904 * 905 * 906 * <pre> 907 * [Output Only] The URL of a zone where the managed instance group is located (for zonal resources). 908 * </pre> 909 * 910 * <code>optional string zone = 3744684;</code> 911 * 912 * @return Whether the zone field is set. 913 */ hasZone()914 boolean hasZone(); 915 /** 916 * 917 * 918 * <pre> 919 * [Output Only] The URL of a zone where the managed instance group is located (for zonal resources). 920 * </pre> 921 * 922 * <code>optional string zone = 3744684;</code> 923 * 924 * @return The zone. 925 */ getZone()926 java.lang.String getZone(); 927 /** 928 * 929 * 930 * <pre> 931 * [Output Only] The URL of a zone where the managed instance group is located (for zonal resources). 932 * </pre> 933 * 934 * <code>optional string zone = 3744684;</code> 935 * 936 * @return The bytes for zone. 937 */ getZoneBytes()938 com.google.protobuf.ByteString getZoneBytes(); 939 } 940