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 /** 22 * 23 * 24 * <pre> 25 * This is deprecated and has no effect. Do not use. 26 * </pre> 27 * 28 * Protobuf type {@code google.cloud.compute.v1.Condition} 29 */ 30 public final class Condition extends com.google.protobuf.GeneratedMessageV3 31 implements 32 // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.Condition) 33 ConditionOrBuilder { 34 private static final long serialVersionUID = 0L; 35 // Use Condition.newBuilder() to construct. Condition(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)36 private Condition(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 37 super(builder); 38 } 39 Condition()40 private Condition() { 41 iam_ = ""; 42 op_ = ""; 43 svc_ = ""; 44 sys_ = ""; 45 values_ = com.google.protobuf.LazyStringArrayList.EMPTY; 46 } 47 48 @java.lang.Override 49 @SuppressWarnings({"unused"}) newInstance(UnusedPrivateParameter unused)50 protected java.lang.Object newInstance(UnusedPrivateParameter unused) { 51 return new Condition(); 52 } 53 54 @java.lang.Override getUnknownFields()55 public final com.google.protobuf.UnknownFieldSet getUnknownFields() { 56 return this.unknownFields; 57 } 58 getDescriptor()59 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { 60 return com.google.cloud.compute.v1.Compute 61 .internal_static_google_cloud_compute_v1_Condition_descriptor; 62 } 63 64 @java.lang.Override 65 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()66 internalGetFieldAccessorTable() { 67 return com.google.cloud.compute.v1.Compute 68 .internal_static_google_cloud_compute_v1_Condition_fieldAccessorTable 69 .ensureFieldAccessorsInitialized( 70 com.google.cloud.compute.v1.Condition.class, 71 com.google.cloud.compute.v1.Condition.Builder.class); 72 } 73 74 /** 75 * 76 * 77 * <pre> 78 * This is deprecated and has no effect. Do not use. 79 * Additional supported values which may be not listed in the enum directly due to technical reasons: 80 * NO_ATTR 81 * </pre> 82 * 83 * Protobuf enum {@code google.cloud.compute.v1.Condition.Iam} 84 */ 85 public enum Iam implements com.google.protobuf.ProtocolMessageEnum { 86 /** 87 * 88 * 89 * <pre> 90 * A value indicating that the enum field is not set. 91 * </pre> 92 * 93 * <code>UNDEFINED_IAM = 0;</code> 94 */ 95 UNDEFINED_IAM(0), 96 /** 97 * 98 * 99 * <pre> 100 * This is deprecated and has no effect. Do not use. 101 * </pre> 102 * 103 * <code>APPROVER = 357258949;</code> 104 */ 105 APPROVER(357258949), 106 /** 107 * 108 * 109 * <pre> 110 * This is deprecated and has no effect. Do not use. 111 * </pre> 112 * 113 * <code>ATTRIBUTION = 232465503;</code> 114 */ 115 ATTRIBUTION(232465503), 116 /** 117 * 118 * 119 * <pre> 120 * This is deprecated and has no effect. Do not use. 121 * </pre> 122 * 123 * <code>AUTHORITY = 504108835;</code> 124 */ 125 AUTHORITY(504108835), 126 /** 127 * 128 * 129 * <pre> 130 * This is deprecated and has no effect. Do not use. 131 * </pre> 132 * 133 * <code>CREDENTIALS_TYPE = 348222141;</code> 134 */ 135 CREDENTIALS_TYPE(348222141), 136 /** 137 * 138 * 139 * <pre> 140 * This is deprecated and has no effect. Do not use. 141 * </pre> 142 * 143 * <code>CREDS_ASSERTION = 332343272;</code> 144 */ 145 CREDS_ASSERTION(332343272), 146 /** 147 * 148 * 149 * <pre> 150 * This is deprecated and has no effect. Do not use. 151 * </pre> 152 * 153 * <code>JUSTIFICATION_TYPE = 206147719;</code> 154 */ 155 JUSTIFICATION_TYPE(206147719), 156 /** 157 * 158 * 159 * <pre> 160 * This is deprecated and has no effect. Do not use. 161 * </pre> 162 * 163 * <code>SECURITY_REALM = 526269616;</code> 164 */ 165 SECURITY_REALM(526269616), 166 UNRECOGNIZED(-1), 167 ; 168 169 /** 170 * 171 * 172 * <pre> 173 * A value indicating that the enum field is not set. 174 * </pre> 175 * 176 * <code>UNDEFINED_IAM = 0;</code> 177 */ 178 public static final int UNDEFINED_IAM_VALUE = 0; 179 /** 180 * 181 * 182 * <pre> 183 * This is deprecated and has no effect. Do not use. 184 * </pre> 185 * 186 * <code>APPROVER = 357258949;</code> 187 */ 188 public static final int APPROVER_VALUE = 357258949; 189 /** 190 * 191 * 192 * <pre> 193 * This is deprecated and has no effect. Do not use. 194 * </pre> 195 * 196 * <code>ATTRIBUTION = 232465503;</code> 197 */ 198 public static final int ATTRIBUTION_VALUE = 232465503; 199 /** 200 * 201 * 202 * <pre> 203 * This is deprecated and has no effect. Do not use. 204 * </pre> 205 * 206 * <code>AUTHORITY = 504108835;</code> 207 */ 208 public static final int AUTHORITY_VALUE = 504108835; 209 /** 210 * 211 * 212 * <pre> 213 * This is deprecated and has no effect. Do not use. 214 * </pre> 215 * 216 * <code>CREDENTIALS_TYPE = 348222141;</code> 217 */ 218 public static final int CREDENTIALS_TYPE_VALUE = 348222141; 219 /** 220 * 221 * 222 * <pre> 223 * This is deprecated and has no effect. Do not use. 224 * </pre> 225 * 226 * <code>CREDS_ASSERTION = 332343272;</code> 227 */ 228 public static final int CREDS_ASSERTION_VALUE = 332343272; 229 /** 230 * 231 * 232 * <pre> 233 * This is deprecated and has no effect. Do not use. 234 * </pre> 235 * 236 * <code>JUSTIFICATION_TYPE = 206147719;</code> 237 */ 238 public static final int JUSTIFICATION_TYPE_VALUE = 206147719; 239 /** 240 * 241 * 242 * <pre> 243 * This is deprecated and has no effect. Do not use. 244 * </pre> 245 * 246 * <code>SECURITY_REALM = 526269616;</code> 247 */ 248 public static final int SECURITY_REALM_VALUE = 526269616; 249 getNumber()250 public final int getNumber() { 251 if (this == UNRECOGNIZED) { 252 throw new java.lang.IllegalArgumentException( 253 "Can't get the number of an unknown enum value."); 254 } 255 return value; 256 } 257 258 /** 259 * @param value The numeric wire value of the corresponding enum entry. 260 * @return The enum associated with the given numeric wire value. 261 * @deprecated Use {@link #forNumber(int)} instead. 262 */ 263 @java.lang.Deprecated valueOf(int value)264 public static Iam valueOf(int value) { 265 return forNumber(value); 266 } 267 268 /** 269 * @param value The numeric wire value of the corresponding enum entry. 270 * @return The enum associated with the given numeric wire value. 271 */ forNumber(int value)272 public static Iam forNumber(int value) { 273 switch (value) { 274 case 0: 275 return UNDEFINED_IAM; 276 case 357258949: 277 return APPROVER; 278 case 232465503: 279 return ATTRIBUTION; 280 case 504108835: 281 return AUTHORITY; 282 case 348222141: 283 return CREDENTIALS_TYPE; 284 case 332343272: 285 return CREDS_ASSERTION; 286 case 206147719: 287 return JUSTIFICATION_TYPE; 288 case 526269616: 289 return SECURITY_REALM; 290 default: 291 return null; 292 } 293 } 294 internalGetValueMap()295 public static com.google.protobuf.Internal.EnumLiteMap<Iam> internalGetValueMap() { 296 return internalValueMap; 297 } 298 299 private static final com.google.protobuf.Internal.EnumLiteMap<Iam> internalValueMap = 300 new com.google.protobuf.Internal.EnumLiteMap<Iam>() { 301 public Iam findValueByNumber(int number) { 302 return Iam.forNumber(number); 303 } 304 }; 305 getValueDescriptor()306 public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 307 if (this == UNRECOGNIZED) { 308 throw new java.lang.IllegalStateException( 309 "Can't get the descriptor of an unrecognized enum value."); 310 } 311 return getDescriptor().getValues().get(ordinal()); 312 } 313 getDescriptorForType()314 public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { 315 return getDescriptor(); 316 } 317 getDescriptor()318 public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { 319 return com.google.cloud.compute.v1.Condition.getDescriptor().getEnumTypes().get(0); 320 } 321 322 private static final Iam[] VALUES = values(); 323 valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)324 public static Iam valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { 325 if (desc.getType() != getDescriptor()) { 326 throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); 327 } 328 if (desc.getIndex() == -1) { 329 return UNRECOGNIZED; 330 } 331 return VALUES[desc.getIndex()]; 332 } 333 334 private final int value; 335 Iam(int value)336 private Iam(int value) { 337 this.value = value; 338 } 339 340 // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.Condition.Iam) 341 } 342 343 /** 344 * 345 * 346 * <pre> 347 * This is deprecated and has no effect. Do not use. 348 * </pre> 349 * 350 * Protobuf enum {@code google.cloud.compute.v1.Condition.Op} 351 */ 352 public enum Op implements com.google.protobuf.ProtocolMessageEnum { 353 /** 354 * 355 * 356 * <pre> 357 * A value indicating that the enum field is not set. 358 * </pre> 359 * 360 * <code>UNDEFINED_OP = 0;</code> 361 */ 362 UNDEFINED_OP(0), 363 /** 364 * 365 * 366 * <pre> 367 * This is deprecated and has no effect. Do not use. 368 * </pre> 369 * 370 * <code>DISCHARGED = 266338274;</code> 371 */ 372 DISCHARGED(266338274), 373 /** 374 * 375 * 376 * <pre> 377 * This is deprecated and has no effect. Do not use. 378 * </pre> 379 * 380 * <code>EQUALS = 442201023;</code> 381 */ 382 EQUALS(442201023), 383 /** 384 * 385 * 386 * <pre> 387 * This is deprecated and has no effect. Do not use. 388 * </pre> 389 * 390 * <code>IN = 2341;</code> 391 */ 392 IN(2341), 393 /** 394 * 395 * 396 * <pre> 397 * This is deprecated and has no effect. Do not use. 398 * </pre> 399 * 400 * <code>NOT_EQUALS = 19718859;</code> 401 */ 402 NOT_EQUALS(19718859), 403 /** 404 * 405 * 406 * <pre> 407 * This is deprecated and has no effect. Do not use. 408 * </pre> 409 * 410 * <code>NOT_IN = 161144369;</code> 411 */ 412 NOT_IN(161144369), 413 /** 414 * 415 * 416 * <pre> 417 * This is deprecated and has no effect. Do not use. 418 * </pre> 419 * 420 * <code>NO_OP = 74481951;</code> 421 */ 422 NO_OP(74481951), 423 UNRECOGNIZED(-1), 424 ; 425 426 /** 427 * 428 * 429 * <pre> 430 * A value indicating that the enum field is not set. 431 * </pre> 432 * 433 * <code>UNDEFINED_OP = 0;</code> 434 */ 435 public static final int UNDEFINED_OP_VALUE = 0; 436 /** 437 * 438 * 439 * <pre> 440 * This is deprecated and has no effect. Do not use. 441 * </pre> 442 * 443 * <code>DISCHARGED = 266338274;</code> 444 */ 445 public static final int DISCHARGED_VALUE = 266338274; 446 /** 447 * 448 * 449 * <pre> 450 * This is deprecated and has no effect. Do not use. 451 * </pre> 452 * 453 * <code>EQUALS = 442201023;</code> 454 */ 455 public static final int EQUALS_VALUE = 442201023; 456 /** 457 * 458 * 459 * <pre> 460 * This is deprecated and has no effect. Do not use. 461 * </pre> 462 * 463 * <code>IN = 2341;</code> 464 */ 465 public static final int IN_VALUE = 2341; 466 /** 467 * 468 * 469 * <pre> 470 * This is deprecated and has no effect. Do not use. 471 * </pre> 472 * 473 * <code>NOT_EQUALS = 19718859;</code> 474 */ 475 public static final int NOT_EQUALS_VALUE = 19718859; 476 /** 477 * 478 * 479 * <pre> 480 * This is deprecated and has no effect. Do not use. 481 * </pre> 482 * 483 * <code>NOT_IN = 161144369;</code> 484 */ 485 public static final int NOT_IN_VALUE = 161144369; 486 /** 487 * 488 * 489 * <pre> 490 * This is deprecated and has no effect. Do not use. 491 * </pre> 492 * 493 * <code>NO_OP = 74481951;</code> 494 */ 495 public static final int NO_OP_VALUE = 74481951; 496 getNumber()497 public final int getNumber() { 498 if (this == UNRECOGNIZED) { 499 throw new java.lang.IllegalArgumentException( 500 "Can't get the number of an unknown enum value."); 501 } 502 return value; 503 } 504 505 /** 506 * @param value The numeric wire value of the corresponding enum entry. 507 * @return The enum associated with the given numeric wire value. 508 * @deprecated Use {@link #forNumber(int)} instead. 509 */ 510 @java.lang.Deprecated valueOf(int value)511 public static Op valueOf(int value) { 512 return forNumber(value); 513 } 514 515 /** 516 * @param value The numeric wire value of the corresponding enum entry. 517 * @return The enum associated with the given numeric wire value. 518 */ forNumber(int value)519 public static Op forNumber(int value) { 520 switch (value) { 521 case 0: 522 return UNDEFINED_OP; 523 case 266338274: 524 return DISCHARGED; 525 case 442201023: 526 return EQUALS; 527 case 2341: 528 return IN; 529 case 19718859: 530 return NOT_EQUALS; 531 case 161144369: 532 return NOT_IN; 533 case 74481951: 534 return NO_OP; 535 default: 536 return null; 537 } 538 } 539 internalGetValueMap()540 public static com.google.protobuf.Internal.EnumLiteMap<Op> internalGetValueMap() { 541 return internalValueMap; 542 } 543 544 private static final com.google.protobuf.Internal.EnumLiteMap<Op> internalValueMap = 545 new com.google.protobuf.Internal.EnumLiteMap<Op>() { 546 public Op findValueByNumber(int number) { 547 return Op.forNumber(number); 548 } 549 }; 550 getValueDescriptor()551 public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 552 if (this == UNRECOGNIZED) { 553 throw new java.lang.IllegalStateException( 554 "Can't get the descriptor of an unrecognized enum value."); 555 } 556 return getDescriptor().getValues().get(ordinal()); 557 } 558 getDescriptorForType()559 public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { 560 return getDescriptor(); 561 } 562 getDescriptor()563 public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { 564 return com.google.cloud.compute.v1.Condition.getDescriptor().getEnumTypes().get(1); 565 } 566 567 private static final Op[] VALUES = values(); 568 valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)569 public static Op valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { 570 if (desc.getType() != getDescriptor()) { 571 throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); 572 } 573 if (desc.getIndex() == -1) { 574 return UNRECOGNIZED; 575 } 576 return VALUES[desc.getIndex()]; 577 } 578 579 private final int value; 580 Op(int value)581 private Op(int value) { 582 this.value = value; 583 } 584 585 // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.Condition.Op) 586 } 587 588 /** 589 * 590 * 591 * <pre> 592 * This is deprecated and has no effect. Do not use. 593 * Additional supported values which may be not listed in the enum directly due to technical reasons: 594 * NO_ATTR 595 * </pre> 596 * 597 * Protobuf enum {@code google.cloud.compute.v1.Condition.Sys} 598 */ 599 public enum Sys implements com.google.protobuf.ProtocolMessageEnum { 600 /** 601 * 602 * 603 * <pre> 604 * A value indicating that the enum field is not set. 605 * </pre> 606 * 607 * <code>UNDEFINED_SYS = 0;</code> 608 */ 609 UNDEFINED_SYS(0), 610 /** 611 * 612 * 613 * <pre> 614 * This is deprecated and has no effect. Do not use. 615 * </pre> 616 * 617 * <code>IP = 2343;</code> 618 */ 619 IP(2343), 620 /** 621 * 622 * 623 * <pre> 624 * This is deprecated and has no effect. Do not use. 625 * </pre> 626 * 627 * <code>NAME = 2388619;</code> 628 */ 629 NAME(2388619), 630 /** 631 * 632 * 633 * <pre> 634 * This is deprecated and has no effect. Do not use. 635 * </pre> 636 * 637 * <code>REGION = 266017524;</code> 638 */ 639 REGION(266017524), 640 /** 641 * 642 * 643 * <pre> 644 * This is deprecated and has no effect. Do not use. 645 * </pre> 646 * 647 * <code>SERVICE = 17781397;</code> 648 */ 649 SERVICE(17781397), 650 UNRECOGNIZED(-1), 651 ; 652 653 /** 654 * 655 * 656 * <pre> 657 * A value indicating that the enum field is not set. 658 * </pre> 659 * 660 * <code>UNDEFINED_SYS = 0;</code> 661 */ 662 public static final int UNDEFINED_SYS_VALUE = 0; 663 /** 664 * 665 * 666 * <pre> 667 * This is deprecated and has no effect. Do not use. 668 * </pre> 669 * 670 * <code>IP = 2343;</code> 671 */ 672 public static final int IP_VALUE = 2343; 673 /** 674 * 675 * 676 * <pre> 677 * This is deprecated and has no effect. Do not use. 678 * </pre> 679 * 680 * <code>NAME = 2388619;</code> 681 */ 682 public static final int NAME_VALUE = 2388619; 683 /** 684 * 685 * 686 * <pre> 687 * This is deprecated and has no effect. Do not use. 688 * </pre> 689 * 690 * <code>REGION = 266017524;</code> 691 */ 692 public static final int REGION_VALUE = 266017524; 693 /** 694 * 695 * 696 * <pre> 697 * This is deprecated and has no effect. Do not use. 698 * </pre> 699 * 700 * <code>SERVICE = 17781397;</code> 701 */ 702 public static final int SERVICE_VALUE = 17781397; 703 getNumber()704 public final int getNumber() { 705 if (this == UNRECOGNIZED) { 706 throw new java.lang.IllegalArgumentException( 707 "Can't get the number of an unknown enum value."); 708 } 709 return value; 710 } 711 712 /** 713 * @param value The numeric wire value of the corresponding enum entry. 714 * @return The enum associated with the given numeric wire value. 715 * @deprecated Use {@link #forNumber(int)} instead. 716 */ 717 @java.lang.Deprecated valueOf(int value)718 public static Sys valueOf(int value) { 719 return forNumber(value); 720 } 721 722 /** 723 * @param value The numeric wire value of the corresponding enum entry. 724 * @return The enum associated with the given numeric wire value. 725 */ forNumber(int value)726 public static Sys forNumber(int value) { 727 switch (value) { 728 case 0: 729 return UNDEFINED_SYS; 730 case 2343: 731 return IP; 732 case 2388619: 733 return NAME; 734 case 266017524: 735 return REGION; 736 case 17781397: 737 return SERVICE; 738 default: 739 return null; 740 } 741 } 742 internalGetValueMap()743 public static com.google.protobuf.Internal.EnumLiteMap<Sys> internalGetValueMap() { 744 return internalValueMap; 745 } 746 747 private static final com.google.protobuf.Internal.EnumLiteMap<Sys> internalValueMap = 748 new com.google.protobuf.Internal.EnumLiteMap<Sys>() { 749 public Sys findValueByNumber(int number) { 750 return Sys.forNumber(number); 751 } 752 }; 753 getValueDescriptor()754 public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 755 if (this == UNRECOGNIZED) { 756 throw new java.lang.IllegalStateException( 757 "Can't get the descriptor of an unrecognized enum value."); 758 } 759 return getDescriptor().getValues().get(ordinal()); 760 } 761 getDescriptorForType()762 public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { 763 return getDescriptor(); 764 } 765 getDescriptor()766 public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { 767 return com.google.cloud.compute.v1.Condition.getDescriptor().getEnumTypes().get(2); 768 } 769 770 private static final Sys[] VALUES = values(); 771 valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)772 public static Sys valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { 773 if (desc.getType() != getDescriptor()) { 774 throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); 775 } 776 if (desc.getIndex() == -1) { 777 return UNRECOGNIZED; 778 } 779 return VALUES[desc.getIndex()]; 780 } 781 782 private final int value; 783 Sys(int value)784 private Sys(int value) { 785 this.value = value; 786 } 787 788 // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.Condition.Sys) 789 } 790 791 private int bitField0_; 792 public static final int IAM_FIELD_NUMBER = 104021; 793 794 @SuppressWarnings("serial") 795 private volatile java.lang.Object iam_ = ""; 796 /** 797 * 798 * 799 * <pre> 800 * This is deprecated and has no effect. Do not use. 801 * Check the Iam enum for the list of possible values. 802 * </pre> 803 * 804 * <code>optional string iam = 104021;</code> 805 * 806 * @return Whether the iam field is set. 807 */ 808 @java.lang.Override hasIam()809 public boolean hasIam() { 810 return ((bitField0_ & 0x00000001) != 0); 811 } 812 /** 813 * 814 * 815 * <pre> 816 * This is deprecated and has no effect. Do not use. 817 * Check the Iam enum for the list of possible values. 818 * </pre> 819 * 820 * <code>optional string iam = 104021;</code> 821 * 822 * @return The iam. 823 */ 824 @java.lang.Override getIam()825 public java.lang.String getIam() { 826 java.lang.Object ref = iam_; 827 if (ref instanceof java.lang.String) { 828 return (java.lang.String) ref; 829 } else { 830 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 831 java.lang.String s = bs.toStringUtf8(); 832 iam_ = s; 833 return s; 834 } 835 } 836 /** 837 * 838 * 839 * <pre> 840 * This is deprecated and has no effect. Do not use. 841 * Check the Iam enum for the list of possible values. 842 * </pre> 843 * 844 * <code>optional string iam = 104021;</code> 845 * 846 * @return The bytes for iam. 847 */ 848 @java.lang.Override getIamBytes()849 public com.google.protobuf.ByteString getIamBytes() { 850 java.lang.Object ref = iam_; 851 if (ref instanceof java.lang.String) { 852 com.google.protobuf.ByteString b = 853 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 854 iam_ = b; 855 return b; 856 } else { 857 return (com.google.protobuf.ByteString) ref; 858 } 859 } 860 861 public static final int OP_FIELD_NUMBER = 3553; 862 863 @SuppressWarnings("serial") 864 private volatile java.lang.Object op_ = ""; 865 /** 866 * 867 * 868 * <pre> 869 * This is deprecated and has no effect. Do not use. 870 * Check the Op enum for the list of possible values. 871 * </pre> 872 * 873 * <code>optional string op = 3553;</code> 874 * 875 * @return Whether the op field is set. 876 */ 877 @java.lang.Override hasOp()878 public boolean hasOp() { 879 return ((bitField0_ & 0x00000002) != 0); 880 } 881 /** 882 * 883 * 884 * <pre> 885 * This is deprecated and has no effect. Do not use. 886 * Check the Op enum for the list of possible values. 887 * </pre> 888 * 889 * <code>optional string op = 3553;</code> 890 * 891 * @return The op. 892 */ 893 @java.lang.Override getOp()894 public java.lang.String getOp() { 895 java.lang.Object ref = op_; 896 if (ref instanceof java.lang.String) { 897 return (java.lang.String) ref; 898 } else { 899 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 900 java.lang.String s = bs.toStringUtf8(); 901 op_ = s; 902 return s; 903 } 904 } 905 /** 906 * 907 * 908 * <pre> 909 * This is deprecated and has no effect. Do not use. 910 * Check the Op enum for the list of possible values. 911 * </pre> 912 * 913 * <code>optional string op = 3553;</code> 914 * 915 * @return The bytes for op. 916 */ 917 @java.lang.Override getOpBytes()918 public com.google.protobuf.ByteString getOpBytes() { 919 java.lang.Object ref = op_; 920 if (ref instanceof java.lang.String) { 921 com.google.protobuf.ByteString b = 922 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 923 op_ = b; 924 return b; 925 } else { 926 return (com.google.protobuf.ByteString) ref; 927 } 928 } 929 930 public static final int SVC_FIELD_NUMBER = 114272; 931 932 @SuppressWarnings("serial") 933 private volatile java.lang.Object svc_ = ""; 934 /** 935 * 936 * 937 * <pre> 938 * This is deprecated and has no effect. Do not use. 939 * </pre> 940 * 941 * <code>optional string svc = 114272;</code> 942 * 943 * @return Whether the svc field is set. 944 */ 945 @java.lang.Override hasSvc()946 public boolean hasSvc() { 947 return ((bitField0_ & 0x00000004) != 0); 948 } 949 /** 950 * 951 * 952 * <pre> 953 * This is deprecated and has no effect. Do not use. 954 * </pre> 955 * 956 * <code>optional string svc = 114272;</code> 957 * 958 * @return The svc. 959 */ 960 @java.lang.Override getSvc()961 public java.lang.String getSvc() { 962 java.lang.Object ref = svc_; 963 if (ref instanceof java.lang.String) { 964 return (java.lang.String) ref; 965 } else { 966 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 967 java.lang.String s = bs.toStringUtf8(); 968 svc_ = s; 969 return s; 970 } 971 } 972 /** 973 * 974 * 975 * <pre> 976 * This is deprecated and has no effect. Do not use. 977 * </pre> 978 * 979 * <code>optional string svc = 114272;</code> 980 * 981 * @return The bytes for svc. 982 */ 983 @java.lang.Override getSvcBytes()984 public com.google.protobuf.ByteString getSvcBytes() { 985 java.lang.Object ref = svc_; 986 if (ref instanceof java.lang.String) { 987 com.google.protobuf.ByteString b = 988 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 989 svc_ = b; 990 return b; 991 } else { 992 return (com.google.protobuf.ByteString) ref; 993 } 994 } 995 996 public static final int SYS_FIELD_NUMBER = 114381; 997 998 @SuppressWarnings("serial") 999 private volatile java.lang.Object sys_ = ""; 1000 /** 1001 * 1002 * 1003 * <pre> 1004 * This is deprecated and has no effect. Do not use. 1005 * Check the Sys enum for the list of possible values. 1006 * </pre> 1007 * 1008 * <code>optional string sys = 114381;</code> 1009 * 1010 * @return Whether the sys field is set. 1011 */ 1012 @java.lang.Override hasSys()1013 public boolean hasSys() { 1014 return ((bitField0_ & 0x00000008) != 0); 1015 } 1016 /** 1017 * 1018 * 1019 * <pre> 1020 * This is deprecated and has no effect. Do not use. 1021 * Check the Sys enum for the list of possible values. 1022 * </pre> 1023 * 1024 * <code>optional string sys = 114381;</code> 1025 * 1026 * @return The sys. 1027 */ 1028 @java.lang.Override getSys()1029 public java.lang.String getSys() { 1030 java.lang.Object ref = sys_; 1031 if (ref instanceof java.lang.String) { 1032 return (java.lang.String) ref; 1033 } else { 1034 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 1035 java.lang.String s = bs.toStringUtf8(); 1036 sys_ = s; 1037 return s; 1038 } 1039 } 1040 /** 1041 * 1042 * 1043 * <pre> 1044 * This is deprecated and has no effect. Do not use. 1045 * Check the Sys enum for the list of possible values. 1046 * </pre> 1047 * 1048 * <code>optional string sys = 114381;</code> 1049 * 1050 * @return The bytes for sys. 1051 */ 1052 @java.lang.Override getSysBytes()1053 public com.google.protobuf.ByteString getSysBytes() { 1054 java.lang.Object ref = sys_; 1055 if (ref instanceof java.lang.String) { 1056 com.google.protobuf.ByteString b = 1057 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 1058 sys_ = b; 1059 return b; 1060 } else { 1061 return (com.google.protobuf.ByteString) ref; 1062 } 1063 } 1064 1065 public static final int VALUES_FIELD_NUMBER = 249928994; 1066 1067 @SuppressWarnings("serial") 1068 private com.google.protobuf.LazyStringList values_; 1069 /** 1070 * 1071 * 1072 * <pre> 1073 * This is deprecated and has no effect. Do not use. 1074 * </pre> 1075 * 1076 * <code>repeated string values = 249928994;</code> 1077 * 1078 * @return A list containing the values. 1079 */ getValuesList()1080 public com.google.protobuf.ProtocolStringList getValuesList() { 1081 return values_; 1082 } 1083 /** 1084 * 1085 * 1086 * <pre> 1087 * This is deprecated and has no effect. Do not use. 1088 * </pre> 1089 * 1090 * <code>repeated string values = 249928994;</code> 1091 * 1092 * @return The count of values. 1093 */ getValuesCount()1094 public int getValuesCount() { 1095 return values_.size(); 1096 } 1097 /** 1098 * 1099 * 1100 * <pre> 1101 * This is deprecated and has no effect. Do not use. 1102 * </pre> 1103 * 1104 * <code>repeated string values = 249928994;</code> 1105 * 1106 * @param index The index of the element to return. 1107 * @return The values at the given index. 1108 */ getValues(int index)1109 public java.lang.String getValues(int index) { 1110 return values_.get(index); 1111 } 1112 /** 1113 * 1114 * 1115 * <pre> 1116 * This is deprecated and has no effect. Do not use. 1117 * </pre> 1118 * 1119 * <code>repeated string values = 249928994;</code> 1120 * 1121 * @param index The index of the value to return. 1122 * @return The bytes of the values at the given index. 1123 */ getValuesBytes(int index)1124 public com.google.protobuf.ByteString getValuesBytes(int index) { 1125 return values_.getByteString(index); 1126 } 1127 1128 private byte memoizedIsInitialized = -1; 1129 1130 @java.lang.Override isInitialized()1131 public final boolean isInitialized() { 1132 byte isInitialized = memoizedIsInitialized; 1133 if (isInitialized == 1) return true; 1134 if (isInitialized == 0) return false; 1135 1136 memoizedIsInitialized = 1; 1137 return true; 1138 } 1139 1140 @java.lang.Override writeTo(com.google.protobuf.CodedOutputStream output)1141 public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { 1142 if (((bitField0_ & 0x00000002) != 0)) { 1143 com.google.protobuf.GeneratedMessageV3.writeString(output, 3553, op_); 1144 } 1145 if (((bitField0_ & 0x00000001) != 0)) { 1146 com.google.protobuf.GeneratedMessageV3.writeString(output, 104021, iam_); 1147 } 1148 if (((bitField0_ & 0x00000004) != 0)) { 1149 com.google.protobuf.GeneratedMessageV3.writeString(output, 114272, svc_); 1150 } 1151 if (((bitField0_ & 0x00000008) != 0)) { 1152 com.google.protobuf.GeneratedMessageV3.writeString(output, 114381, sys_); 1153 } 1154 for (int i = 0; i < values_.size(); i++) { 1155 com.google.protobuf.GeneratedMessageV3.writeString(output, 249928994, values_.getRaw(i)); 1156 } 1157 getUnknownFields().writeTo(output); 1158 } 1159 1160 @java.lang.Override getSerializedSize()1161 public int getSerializedSize() { 1162 int size = memoizedSize; 1163 if (size != -1) return size; 1164 1165 size = 0; 1166 if (((bitField0_ & 0x00000002) != 0)) { 1167 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3553, op_); 1168 } 1169 if (((bitField0_ & 0x00000001) != 0)) { 1170 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(104021, iam_); 1171 } 1172 if (((bitField0_ & 0x00000004) != 0)) { 1173 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(114272, svc_); 1174 } 1175 if (((bitField0_ & 0x00000008) != 0)) { 1176 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(114381, sys_); 1177 } 1178 { 1179 int dataSize = 0; 1180 for (int i = 0; i < values_.size(); i++) { 1181 dataSize += computeStringSizeNoTag(values_.getRaw(i)); 1182 } 1183 size += dataSize; 1184 size += 5 * getValuesList().size(); 1185 } 1186 size += getUnknownFields().getSerializedSize(); 1187 memoizedSize = size; 1188 return size; 1189 } 1190 1191 @java.lang.Override equals(final java.lang.Object obj)1192 public boolean equals(final java.lang.Object obj) { 1193 if (obj == this) { 1194 return true; 1195 } 1196 if (!(obj instanceof com.google.cloud.compute.v1.Condition)) { 1197 return super.equals(obj); 1198 } 1199 com.google.cloud.compute.v1.Condition other = (com.google.cloud.compute.v1.Condition) obj; 1200 1201 if (hasIam() != other.hasIam()) return false; 1202 if (hasIam()) { 1203 if (!getIam().equals(other.getIam())) return false; 1204 } 1205 if (hasOp() != other.hasOp()) return false; 1206 if (hasOp()) { 1207 if (!getOp().equals(other.getOp())) return false; 1208 } 1209 if (hasSvc() != other.hasSvc()) return false; 1210 if (hasSvc()) { 1211 if (!getSvc().equals(other.getSvc())) return false; 1212 } 1213 if (hasSys() != other.hasSys()) return false; 1214 if (hasSys()) { 1215 if (!getSys().equals(other.getSys())) return false; 1216 } 1217 if (!getValuesList().equals(other.getValuesList())) return false; 1218 if (!getUnknownFields().equals(other.getUnknownFields())) return false; 1219 return true; 1220 } 1221 1222 @java.lang.Override hashCode()1223 public int hashCode() { 1224 if (memoizedHashCode != 0) { 1225 return memoizedHashCode; 1226 } 1227 int hash = 41; 1228 hash = (19 * hash) + getDescriptor().hashCode(); 1229 if (hasIam()) { 1230 hash = (37 * hash) + IAM_FIELD_NUMBER; 1231 hash = (53 * hash) + getIam().hashCode(); 1232 } 1233 if (hasOp()) { 1234 hash = (37 * hash) + OP_FIELD_NUMBER; 1235 hash = (53 * hash) + getOp().hashCode(); 1236 } 1237 if (hasSvc()) { 1238 hash = (37 * hash) + SVC_FIELD_NUMBER; 1239 hash = (53 * hash) + getSvc().hashCode(); 1240 } 1241 if (hasSys()) { 1242 hash = (37 * hash) + SYS_FIELD_NUMBER; 1243 hash = (53 * hash) + getSys().hashCode(); 1244 } 1245 if (getValuesCount() > 0) { 1246 hash = (37 * hash) + VALUES_FIELD_NUMBER; 1247 hash = (53 * hash) + getValuesList().hashCode(); 1248 } 1249 hash = (29 * hash) + getUnknownFields().hashCode(); 1250 memoizedHashCode = hash; 1251 return hash; 1252 } 1253 parseFrom(java.nio.ByteBuffer data)1254 public static com.google.cloud.compute.v1.Condition parseFrom(java.nio.ByteBuffer data) 1255 throws com.google.protobuf.InvalidProtocolBufferException { 1256 return PARSER.parseFrom(data); 1257 } 1258 parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1259 public static com.google.cloud.compute.v1.Condition parseFrom( 1260 java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1261 throws com.google.protobuf.InvalidProtocolBufferException { 1262 return PARSER.parseFrom(data, extensionRegistry); 1263 } 1264 parseFrom(com.google.protobuf.ByteString data)1265 public static com.google.cloud.compute.v1.Condition parseFrom(com.google.protobuf.ByteString data) 1266 throws com.google.protobuf.InvalidProtocolBufferException { 1267 return PARSER.parseFrom(data); 1268 } 1269 parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1270 public static com.google.cloud.compute.v1.Condition parseFrom( 1271 com.google.protobuf.ByteString data, 1272 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1273 throws com.google.protobuf.InvalidProtocolBufferException { 1274 return PARSER.parseFrom(data, extensionRegistry); 1275 } 1276 parseFrom(byte[] data)1277 public static com.google.cloud.compute.v1.Condition parseFrom(byte[] data) 1278 throws com.google.protobuf.InvalidProtocolBufferException { 1279 return PARSER.parseFrom(data); 1280 } 1281 parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1282 public static com.google.cloud.compute.v1.Condition parseFrom( 1283 byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1284 throws com.google.protobuf.InvalidProtocolBufferException { 1285 return PARSER.parseFrom(data, extensionRegistry); 1286 } 1287 parseFrom(java.io.InputStream input)1288 public static com.google.cloud.compute.v1.Condition parseFrom(java.io.InputStream input) 1289 throws java.io.IOException { 1290 return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); 1291 } 1292 parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1293 public static com.google.cloud.compute.v1.Condition parseFrom( 1294 java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1295 throws java.io.IOException { 1296 return com.google.protobuf.GeneratedMessageV3.parseWithIOException( 1297 PARSER, input, extensionRegistry); 1298 } 1299 parseDelimitedFrom(java.io.InputStream input)1300 public static com.google.cloud.compute.v1.Condition parseDelimitedFrom(java.io.InputStream input) 1301 throws java.io.IOException { 1302 return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); 1303 } 1304 parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1305 public static com.google.cloud.compute.v1.Condition parseDelimitedFrom( 1306 java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1307 throws java.io.IOException { 1308 return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( 1309 PARSER, input, extensionRegistry); 1310 } 1311 parseFrom( com.google.protobuf.CodedInputStream input)1312 public static com.google.cloud.compute.v1.Condition parseFrom( 1313 com.google.protobuf.CodedInputStream input) throws java.io.IOException { 1314 return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); 1315 } 1316 parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1317 public static com.google.cloud.compute.v1.Condition parseFrom( 1318 com.google.protobuf.CodedInputStream input, 1319 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1320 throws java.io.IOException { 1321 return com.google.protobuf.GeneratedMessageV3.parseWithIOException( 1322 PARSER, input, extensionRegistry); 1323 } 1324 1325 @java.lang.Override newBuilderForType()1326 public Builder newBuilderForType() { 1327 return newBuilder(); 1328 } 1329 newBuilder()1330 public static Builder newBuilder() { 1331 return DEFAULT_INSTANCE.toBuilder(); 1332 } 1333 newBuilder(com.google.cloud.compute.v1.Condition prototype)1334 public static Builder newBuilder(com.google.cloud.compute.v1.Condition prototype) { 1335 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 1336 } 1337 1338 @java.lang.Override toBuilder()1339 public Builder toBuilder() { 1340 return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); 1341 } 1342 1343 @java.lang.Override newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)1344 protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 1345 Builder builder = new Builder(parent); 1346 return builder; 1347 } 1348 /** 1349 * 1350 * 1351 * <pre> 1352 * This is deprecated and has no effect. Do not use. 1353 * </pre> 1354 * 1355 * Protobuf type {@code google.cloud.compute.v1.Condition} 1356 */ 1357 public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> 1358 implements 1359 // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.Condition) 1360 com.google.cloud.compute.v1.ConditionOrBuilder { getDescriptor()1361 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { 1362 return com.google.cloud.compute.v1.Compute 1363 .internal_static_google_cloud_compute_v1_Condition_descriptor; 1364 } 1365 1366 @java.lang.Override 1367 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()1368 internalGetFieldAccessorTable() { 1369 return com.google.cloud.compute.v1.Compute 1370 .internal_static_google_cloud_compute_v1_Condition_fieldAccessorTable 1371 .ensureFieldAccessorsInitialized( 1372 com.google.cloud.compute.v1.Condition.class, 1373 com.google.cloud.compute.v1.Condition.Builder.class); 1374 } 1375 1376 // Construct using com.google.cloud.compute.v1.Condition.newBuilder() Builder()1377 private Builder() {} 1378 Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)1379 private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 1380 super(parent); 1381 } 1382 1383 @java.lang.Override clear()1384 public Builder clear() { 1385 super.clear(); 1386 bitField0_ = 0; 1387 iam_ = ""; 1388 op_ = ""; 1389 svc_ = ""; 1390 sys_ = ""; 1391 values_ = com.google.protobuf.LazyStringArrayList.EMPTY; 1392 bitField0_ = (bitField0_ & ~0x00000010); 1393 return this; 1394 } 1395 1396 @java.lang.Override getDescriptorForType()1397 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { 1398 return com.google.cloud.compute.v1.Compute 1399 .internal_static_google_cloud_compute_v1_Condition_descriptor; 1400 } 1401 1402 @java.lang.Override getDefaultInstanceForType()1403 public com.google.cloud.compute.v1.Condition getDefaultInstanceForType() { 1404 return com.google.cloud.compute.v1.Condition.getDefaultInstance(); 1405 } 1406 1407 @java.lang.Override build()1408 public com.google.cloud.compute.v1.Condition build() { 1409 com.google.cloud.compute.v1.Condition result = buildPartial(); 1410 if (!result.isInitialized()) { 1411 throw newUninitializedMessageException(result); 1412 } 1413 return result; 1414 } 1415 1416 @java.lang.Override buildPartial()1417 public com.google.cloud.compute.v1.Condition buildPartial() { 1418 com.google.cloud.compute.v1.Condition result = 1419 new com.google.cloud.compute.v1.Condition(this); 1420 buildPartialRepeatedFields(result); 1421 if (bitField0_ != 0) { 1422 buildPartial0(result); 1423 } 1424 onBuilt(); 1425 return result; 1426 } 1427 buildPartialRepeatedFields(com.google.cloud.compute.v1.Condition result)1428 private void buildPartialRepeatedFields(com.google.cloud.compute.v1.Condition result) { 1429 if (((bitField0_ & 0x00000010) != 0)) { 1430 values_ = values_.getUnmodifiableView(); 1431 bitField0_ = (bitField0_ & ~0x00000010); 1432 } 1433 result.values_ = values_; 1434 } 1435 buildPartial0(com.google.cloud.compute.v1.Condition result)1436 private void buildPartial0(com.google.cloud.compute.v1.Condition result) { 1437 int from_bitField0_ = bitField0_; 1438 int to_bitField0_ = 0; 1439 if (((from_bitField0_ & 0x00000001) != 0)) { 1440 result.iam_ = iam_; 1441 to_bitField0_ |= 0x00000001; 1442 } 1443 if (((from_bitField0_ & 0x00000002) != 0)) { 1444 result.op_ = op_; 1445 to_bitField0_ |= 0x00000002; 1446 } 1447 if (((from_bitField0_ & 0x00000004) != 0)) { 1448 result.svc_ = svc_; 1449 to_bitField0_ |= 0x00000004; 1450 } 1451 if (((from_bitField0_ & 0x00000008) != 0)) { 1452 result.sys_ = sys_; 1453 to_bitField0_ |= 0x00000008; 1454 } 1455 result.bitField0_ |= to_bitField0_; 1456 } 1457 1458 @java.lang.Override clone()1459 public Builder clone() { 1460 return super.clone(); 1461 } 1462 1463 @java.lang.Override setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)1464 public Builder setField( 1465 com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 1466 return super.setField(field, value); 1467 } 1468 1469 @java.lang.Override clearField(com.google.protobuf.Descriptors.FieldDescriptor field)1470 public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { 1471 return super.clearField(field); 1472 } 1473 1474 @java.lang.Override clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)1475 public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { 1476 return super.clearOneof(oneof); 1477 } 1478 1479 @java.lang.Override setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)1480 public Builder setRepeatedField( 1481 com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { 1482 return super.setRepeatedField(field, index, value); 1483 } 1484 1485 @java.lang.Override addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)1486 public Builder addRepeatedField( 1487 com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 1488 return super.addRepeatedField(field, value); 1489 } 1490 1491 @java.lang.Override mergeFrom(com.google.protobuf.Message other)1492 public Builder mergeFrom(com.google.protobuf.Message other) { 1493 if (other instanceof com.google.cloud.compute.v1.Condition) { 1494 return mergeFrom((com.google.cloud.compute.v1.Condition) other); 1495 } else { 1496 super.mergeFrom(other); 1497 return this; 1498 } 1499 } 1500 mergeFrom(com.google.cloud.compute.v1.Condition other)1501 public Builder mergeFrom(com.google.cloud.compute.v1.Condition other) { 1502 if (other == com.google.cloud.compute.v1.Condition.getDefaultInstance()) return this; 1503 if (other.hasIam()) { 1504 iam_ = other.iam_; 1505 bitField0_ |= 0x00000001; 1506 onChanged(); 1507 } 1508 if (other.hasOp()) { 1509 op_ = other.op_; 1510 bitField0_ |= 0x00000002; 1511 onChanged(); 1512 } 1513 if (other.hasSvc()) { 1514 svc_ = other.svc_; 1515 bitField0_ |= 0x00000004; 1516 onChanged(); 1517 } 1518 if (other.hasSys()) { 1519 sys_ = other.sys_; 1520 bitField0_ |= 0x00000008; 1521 onChanged(); 1522 } 1523 if (!other.values_.isEmpty()) { 1524 if (values_.isEmpty()) { 1525 values_ = other.values_; 1526 bitField0_ = (bitField0_ & ~0x00000010); 1527 } else { 1528 ensureValuesIsMutable(); 1529 values_.addAll(other.values_); 1530 } 1531 onChanged(); 1532 } 1533 this.mergeUnknownFields(other.getUnknownFields()); 1534 onChanged(); 1535 return this; 1536 } 1537 1538 @java.lang.Override isInitialized()1539 public final boolean isInitialized() { 1540 return true; 1541 } 1542 1543 @java.lang.Override mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1544 public Builder mergeFrom( 1545 com.google.protobuf.CodedInputStream input, 1546 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1547 throws java.io.IOException { 1548 if (extensionRegistry == null) { 1549 throw new java.lang.NullPointerException(); 1550 } 1551 try { 1552 boolean done = false; 1553 while (!done) { 1554 int tag = input.readTag(); 1555 switch (tag) { 1556 case 0: 1557 done = true; 1558 break; 1559 case 28426: 1560 { 1561 op_ = input.readStringRequireUtf8(); 1562 bitField0_ |= 0x00000002; 1563 break; 1564 } // case 28426 1565 case 832170: 1566 { 1567 iam_ = input.readStringRequireUtf8(); 1568 bitField0_ |= 0x00000001; 1569 break; 1570 } // case 832170 1571 case 914178: 1572 { 1573 svc_ = input.readStringRequireUtf8(); 1574 bitField0_ |= 0x00000004; 1575 break; 1576 } // case 914178 1577 case 915050: 1578 { 1579 sys_ = input.readStringRequireUtf8(); 1580 bitField0_ |= 0x00000008; 1581 break; 1582 } // case 915050 1583 case 1999431954: 1584 { 1585 java.lang.String s = input.readStringRequireUtf8(); 1586 ensureValuesIsMutable(); 1587 values_.add(s); 1588 break; 1589 } // case 1999431954 1590 default: 1591 { 1592 if (!super.parseUnknownField(input, extensionRegistry, tag)) { 1593 done = true; // was an endgroup tag 1594 } 1595 break; 1596 } // default: 1597 } // switch (tag) 1598 } // while (!done) 1599 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 1600 throw e.unwrapIOException(); 1601 } finally { 1602 onChanged(); 1603 } // finally 1604 return this; 1605 } 1606 1607 private int bitField0_; 1608 1609 private java.lang.Object iam_ = ""; 1610 /** 1611 * 1612 * 1613 * <pre> 1614 * This is deprecated and has no effect. Do not use. 1615 * Check the Iam enum for the list of possible values. 1616 * </pre> 1617 * 1618 * <code>optional string iam = 104021;</code> 1619 * 1620 * @return Whether the iam field is set. 1621 */ hasIam()1622 public boolean hasIam() { 1623 return ((bitField0_ & 0x00000001) != 0); 1624 } 1625 /** 1626 * 1627 * 1628 * <pre> 1629 * This is deprecated and has no effect. Do not use. 1630 * Check the Iam enum for the list of possible values. 1631 * </pre> 1632 * 1633 * <code>optional string iam = 104021;</code> 1634 * 1635 * @return The iam. 1636 */ getIam()1637 public java.lang.String getIam() { 1638 java.lang.Object ref = iam_; 1639 if (!(ref instanceof java.lang.String)) { 1640 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 1641 java.lang.String s = bs.toStringUtf8(); 1642 iam_ = s; 1643 return s; 1644 } else { 1645 return (java.lang.String) ref; 1646 } 1647 } 1648 /** 1649 * 1650 * 1651 * <pre> 1652 * This is deprecated and has no effect. Do not use. 1653 * Check the Iam enum for the list of possible values. 1654 * </pre> 1655 * 1656 * <code>optional string iam = 104021;</code> 1657 * 1658 * @return The bytes for iam. 1659 */ getIamBytes()1660 public com.google.protobuf.ByteString getIamBytes() { 1661 java.lang.Object ref = iam_; 1662 if (ref instanceof String) { 1663 com.google.protobuf.ByteString b = 1664 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 1665 iam_ = b; 1666 return b; 1667 } else { 1668 return (com.google.protobuf.ByteString) ref; 1669 } 1670 } 1671 /** 1672 * 1673 * 1674 * <pre> 1675 * This is deprecated and has no effect. Do not use. 1676 * Check the Iam enum for the list of possible values. 1677 * </pre> 1678 * 1679 * <code>optional string iam = 104021;</code> 1680 * 1681 * @param value The iam to set. 1682 * @return This builder for chaining. 1683 */ setIam(java.lang.String value)1684 public Builder setIam(java.lang.String value) { 1685 if (value == null) { 1686 throw new NullPointerException(); 1687 } 1688 iam_ = value; 1689 bitField0_ |= 0x00000001; 1690 onChanged(); 1691 return this; 1692 } 1693 /** 1694 * 1695 * 1696 * <pre> 1697 * This is deprecated and has no effect. Do not use. 1698 * Check the Iam enum for the list of possible values. 1699 * </pre> 1700 * 1701 * <code>optional string iam = 104021;</code> 1702 * 1703 * @return This builder for chaining. 1704 */ clearIam()1705 public Builder clearIam() { 1706 iam_ = getDefaultInstance().getIam(); 1707 bitField0_ = (bitField0_ & ~0x00000001); 1708 onChanged(); 1709 return this; 1710 } 1711 /** 1712 * 1713 * 1714 * <pre> 1715 * This is deprecated and has no effect. Do not use. 1716 * Check the Iam enum for the list of possible values. 1717 * </pre> 1718 * 1719 * <code>optional string iam = 104021;</code> 1720 * 1721 * @param value The bytes for iam to set. 1722 * @return This builder for chaining. 1723 */ setIamBytes(com.google.protobuf.ByteString value)1724 public Builder setIamBytes(com.google.protobuf.ByteString value) { 1725 if (value == null) { 1726 throw new NullPointerException(); 1727 } 1728 checkByteStringIsUtf8(value); 1729 iam_ = value; 1730 bitField0_ |= 0x00000001; 1731 onChanged(); 1732 return this; 1733 } 1734 1735 private java.lang.Object op_ = ""; 1736 /** 1737 * 1738 * 1739 * <pre> 1740 * This is deprecated and has no effect. Do not use. 1741 * Check the Op enum for the list of possible values. 1742 * </pre> 1743 * 1744 * <code>optional string op = 3553;</code> 1745 * 1746 * @return Whether the op field is set. 1747 */ hasOp()1748 public boolean hasOp() { 1749 return ((bitField0_ & 0x00000002) != 0); 1750 } 1751 /** 1752 * 1753 * 1754 * <pre> 1755 * This is deprecated and has no effect. Do not use. 1756 * Check the Op enum for the list of possible values. 1757 * </pre> 1758 * 1759 * <code>optional string op = 3553;</code> 1760 * 1761 * @return The op. 1762 */ getOp()1763 public java.lang.String getOp() { 1764 java.lang.Object ref = op_; 1765 if (!(ref instanceof java.lang.String)) { 1766 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 1767 java.lang.String s = bs.toStringUtf8(); 1768 op_ = s; 1769 return s; 1770 } else { 1771 return (java.lang.String) ref; 1772 } 1773 } 1774 /** 1775 * 1776 * 1777 * <pre> 1778 * This is deprecated and has no effect. Do not use. 1779 * Check the Op enum for the list of possible values. 1780 * </pre> 1781 * 1782 * <code>optional string op = 3553;</code> 1783 * 1784 * @return The bytes for op. 1785 */ getOpBytes()1786 public com.google.protobuf.ByteString getOpBytes() { 1787 java.lang.Object ref = op_; 1788 if (ref instanceof String) { 1789 com.google.protobuf.ByteString b = 1790 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 1791 op_ = b; 1792 return b; 1793 } else { 1794 return (com.google.protobuf.ByteString) ref; 1795 } 1796 } 1797 /** 1798 * 1799 * 1800 * <pre> 1801 * This is deprecated and has no effect. Do not use. 1802 * Check the Op enum for the list of possible values. 1803 * </pre> 1804 * 1805 * <code>optional string op = 3553;</code> 1806 * 1807 * @param value The op to set. 1808 * @return This builder for chaining. 1809 */ setOp(java.lang.String value)1810 public Builder setOp(java.lang.String value) { 1811 if (value == null) { 1812 throw new NullPointerException(); 1813 } 1814 op_ = value; 1815 bitField0_ |= 0x00000002; 1816 onChanged(); 1817 return this; 1818 } 1819 /** 1820 * 1821 * 1822 * <pre> 1823 * This is deprecated and has no effect. Do not use. 1824 * Check the Op enum for the list of possible values. 1825 * </pre> 1826 * 1827 * <code>optional string op = 3553;</code> 1828 * 1829 * @return This builder for chaining. 1830 */ clearOp()1831 public Builder clearOp() { 1832 op_ = getDefaultInstance().getOp(); 1833 bitField0_ = (bitField0_ & ~0x00000002); 1834 onChanged(); 1835 return this; 1836 } 1837 /** 1838 * 1839 * 1840 * <pre> 1841 * This is deprecated and has no effect. Do not use. 1842 * Check the Op enum for the list of possible values. 1843 * </pre> 1844 * 1845 * <code>optional string op = 3553;</code> 1846 * 1847 * @param value The bytes for op to set. 1848 * @return This builder for chaining. 1849 */ setOpBytes(com.google.protobuf.ByteString value)1850 public Builder setOpBytes(com.google.protobuf.ByteString value) { 1851 if (value == null) { 1852 throw new NullPointerException(); 1853 } 1854 checkByteStringIsUtf8(value); 1855 op_ = value; 1856 bitField0_ |= 0x00000002; 1857 onChanged(); 1858 return this; 1859 } 1860 1861 private java.lang.Object svc_ = ""; 1862 /** 1863 * 1864 * 1865 * <pre> 1866 * This is deprecated and has no effect. Do not use. 1867 * </pre> 1868 * 1869 * <code>optional string svc = 114272;</code> 1870 * 1871 * @return Whether the svc field is set. 1872 */ hasSvc()1873 public boolean hasSvc() { 1874 return ((bitField0_ & 0x00000004) != 0); 1875 } 1876 /** 1877 * 1878 * 1879 * <pre> 1880 * This is deprecated and has no effect. Do not use. 1881 * </pre> 1882 * 1883 * <code>optional string svc = 114272;</code> 1884 * 1885 * @return The svc. 1886 */ getSvc()1887 public java.lang.String getSvc() { 1888 java.lang.Object ref = svc_; 1889 if (!(ref instanceof java.lang.String)) { 1890 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 1891 java.lang.String s = bs.toStringUtf8(); 1892 svc_ = s; 1893 return s; 1894 } else { 1895 return (java.lang.String) ref; 1896 } 1897 } 1898 /** 1899 * 1900 * 1901 * <pre> 1902 * This is deprecated and has no effect. Do not use. 1903 * </pre> 1904 * 1905 * <code>optional string svc = 114272;</code> 1906 * 1907 * @return The bytes for svc. 1908 */ getSvcBytes()1909 public com.google.protobuf.ByteString getSvcBytes() { 1910 java.lang.Object ref = svc_; 1911 if (ref instanceof String) { 1912 com.google.protobuf.ByteString b = 1913 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 1914 svc_ = b; 1915 return b; 1916 } else { 1917 return (com.google.protobuf.ByteString) ref; 1918 } 1919 } 1920 /** 1921 * 1922 * 1923 * <pre> 1924 * This is deprecated and has no effect. Do not use. 1925 * </pre> 1926 * 1927 * <code>optional string svc = 114272;</code> 1928 * 1929 * @param value The svc to set. 1930 * @return This builder for chaining. 1931 */ setSvc(java.lang.String value)1932 public Builder setSvc(java.lang.String value) { 1933 if (value == null) { 1934 throw new NullPointerException(); 1935 } 1936 svc_ = value; 1937 bitField0_ |= 0x00000004; 1938 onChanged(); 1939 return this; 1940 } 1941 /** 1942 * 1943 * 1944 * <pre> 1945 * This is deprecated and has no effect. Do not use. 1946 * </pre> 1947 * 1948 * <code>optional string svc = 114272;</code> 1949 * 1950 * @return This builder for chaining. 1951 */ clearSvc()1952 public Builder clearSvc() { 1953 svc_ = getDefaultInstance().getSvc(); 1954 bitField0_ = (bitField0_ & ~0x00000004); 1955 onChanged(); 1956 return this; 1957 } 1958 /** 1959 * 1960 * 1961 * <pre> 1962 * This is deprecated and has no effect. Do not use. 1963 * </pre> 1964 * 1965 * <code>optional string svc = 114272;</code> 1966 * 1967 * @param value The bytes for svc to set. 1968 * @return This builder for chaining. 1969 */ setSvcBytes(com.google.protobuf.ByteString value)1970 public Builder setSvcBytes(com.google.protobuf.ByteString value) { 1971 if (value == null) { 1972 throw new NullPointerException(); 1973 } 1974 checkByteStringIsUtf8(value); 1975 svc_ = value; 1976 bitField0_ |= 0x00000004; 1977 onChanged(); 1978 return this; 1979 } 1980 1981 private java.lang.Object sys_ = ""; 1982 /** 1983 * 1984 * 1985 * <pre> 1986 * This is deprecated and has no effect. Do not use. 1987 * Check the Sys enum for the list of possible values. 1988 * </pre> 1989 * 1990 * <code>optional string sys = 114381;</code> 1991 * 1992 * @return Whether the sys field is set. 1993 */ hasSys()1994 public boolean hasSys() { 1995 return ((bitField0_ & 0x00000008) != 0); 1996 } 1997 /** 1998 * 1999 * 2000 * <pre> 2001 * This is deprecated and has no effect. Do not use. 2002 * Check the Sys enum for the list of possible values. 2003 * </pre> 2004 * 2005 * <code>optional string sys = 114381;</code> 2006 * 2007 * @return The sys. 2008 */ getSys()2009 public java.lang.String getSys() { 2010 java.lang.Object ref = sys_; 2011 if (!(ref instanceof java.lang.String)) { 2012 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 2013 java.lang.String s = bs.toStringUtf8(); 2014 sys_ = s; 2015 return s; 2016 } else { 2017 return (java.lang.String) ref; 2018 } 2019 } 2020 /** 2021 * 2022 * 2023 * <pre> 2024 * This is deprecated and has no effect. Do not use. 2025 * Check the Sys enum for the list of possible values. 2026 * </pre> 2027 * 2028 * <code>optional string sys = 114381;</code> 2029 * 2030 * @return The bytes for sys. 2031 */ getSysBytes()2032 public com.google.protobuf.ByteString getSysBytes() { 2033 java.lang.Object ref = sys_; 2034 if (ref instanceof String) { 2035 com.google.protobuf.ByteString b = 2036 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 2037 sys_ = b; 2038 return b; 2039 } else { 2040 return (com.google.protobuf.ByteString) ref; 2041 } 2042 } 2043 /** 2044 * 2045 * 2046 * <pre> 2047 * This is deprecated and has no effect. Do not use. 2048 * Check the Sys enum for the list of possible values. 2049 * </pre> 2050 * 2051 * <code>optional string sys = 114381;</code> 2052 * 2053 * @param value The sys to set. 2054 * @return This builder for chaining. 2055 */ setSys(java.lang.String value)2056 public Builder setSys(java.lang.String value) { 2057 if (value == null) { 2058 throw new NullPointerException(); 2059 } 2060 sys_ = value; 2061 bitField0_ |= 0x00000008; 2062 onChanged(); 2063 return this; 2064 } 2065 /** 2066 * 2067 * 2068 * <pre> 2069 * This is deprecated and has no effect. Do not use. 2070 * Check the Sys enum for the list of possible values. 2071 * </pre> 2072 * 2073 * <code>optional string sys = 114381;</code> 2074 * 2075 * @return This builder for chaining. 2076 */ clearSys()2077 public Builder clearSys() { 2078 sys_ = getDefaultInstance().getSys(); 2079 bitField0_ = (bitField0_ & ~0x00000008); 2080 onChanged(); 2081 return this; 2082 } 2083 /** 2084 * 2085 * 2086 * <pre> 2087 * This is deprecated and has no effect. Do not use. 2088 * Check the Sys enum for the list of possible values. 2089 * </pre> 2090 * 2091 * <code>optional string sys = 114381;</code> 2092 * 2093 * @param value The bytes for sys to set. 2094 * @return This builder for chaining. 2095 */ setSysBytes(com.google.protobuf.ByteString value)2096 public Builder setSysBytes(com.google.protobuf.ByteString value) { 2097 if (value == null) { 2098 throw new NullPointerException(); 2099 } 2100 checkByteStringIsUtf8(value); 2101 sys_ = value; 2102 bitField0_ |= 0x00000008; 2103 onChanged(); 2104 return this; 2105 } 2106 2107 private com.google.protobuf.LazyStringList values_ = 2108 com.google.protobuf.LazyStringArrayList.EMPTY; 2109 ensureValuesIsMutable()2110 private void ensureValuesIsMutable() { 2111 if (!((bitField0_ & 0x00000010) != 0)) { 2112 values_ = new com.google.protobuf.LazyStringArrayList(values_); 2113 bitField0_ |= 0x00000010; 2114 } 2115 } 2116 /** 2117 * 2118 * 2119 * <pre> 2120 * This is deprecated and has no effect. Do not use. 2121 * </pre> 2122 * 2123 * <code>repeated string values = 249928994;</code> 2124 * 2125 * @return A list containing the values. 2126 */ getValuesList()2127 public com.google.protobuf.ProtocolStringList getValuesList() { 2128 return values_.getUnmodifiableView(); 2129 } 2130 /** 2131 * 2132 * 2133 * <pre> 2134 * This is deprecated and has no effect. Do not use. 2135 * </pre> 2136 * 2137 * <code>repeated string values = 249928994;</code> 2138 * 2139 * @return The count of values. 2140 */ getValuesCount()2141 public int getValuesCount() { 2142 return values_.size(); 2143 } 2144 /** 2145 * 2146 * 2147 * <pre> 2148 * This is deprecated and has no effect. Do not use. 2149 * </pre> 2150 * 2151 * <code>repeated string values = 249928994;</code> 2152 * 2153 * @param index The index of the element to return. 2154 * @return The values at the given index. 2155 */ getValues(int index)2156 public java.lang.String getValues(int index) { 2157 return values_.get(index); 2158 } 2159 /** 2160 * 2161 * 2162 * <pre> 2163 * This is deprecated and has no effect. Do not use. 2164 * </pre> 2165 * 2166 * <code>repeated string values = 249928994;</code> 2167 * 2168 * @param index The index of the value to return. 2169 * @return The bytes of the values at the given index. 2170 */ getValuesBytes(int index)2171 public com.google.protobuf.ByteString getValuesBytes(int index) { 2172 return values_.getByteString(index); 2173 } 2174 /** 2175 * 2176 * 2177 * <pre> 2178 * This is deprecated and has no effect. Do not use. 2179 * </pre> 2180 * 2181 * <code>repeated string values = 249928994;</code> 2182 * 2183 * @param index The index to set the value at. 2184 * @param value The values to set. 2185 * @return This builder for chaining. 2186 */ setValues(int index, java.lang.String value)2187 public Builder setValues(int index, java.lang.String value) { 2188 if (value == null) { 2189 throw new NullPointerException(); 2190 } 2191 ensureValuesIsMutable(); 2192 values_.set(index, value); 2193 onChanged(); 2194 return this; 2195 } 2196 /** 2197 * 2198 * 2199 * <pre> 2200 * This is deprecated and has no effect. Do not use. 2201 * </pre> 2202 * 2203 * <code>repeated string values = 249928994;</code> 2204 * 2205 * @param value The values to add. 2206 * @return This builder for chaining. 2207 */ addValues(java.lang.String value)2208 public Builder addValues(java.lang.String value) { 2209 if (value == null) { 2210 throw new NullPointerException(); 2211 } 2212 ensureValuesIsMutable(); 2213 values_.add(value); 2214 onChanged(); 2215 return this; 2216 } 2217 /** 2218 * 2219 * 2220 * <pre> 2221 * This is deprecated and has no effect. Do not use. 2222 * </pre> 2223 * 2224 * <code>repeated string values = 249928994;</code> 2225 * 2226 * @param values The values to add. 2227 * @return This builder for chaining. 2228 */ addAllValues(java.lang.Iterable<java.lang.String> values)2229 public Builder addAllValues(java.lang.Iterable<java.lang.String> values) { 2230 ensureValuesIsMutable(); 2231 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); 2232 onChanged(); 2233 return this; 2234 } 2235 /** 2236 * 2237 * 2238 * <pre> 2239 * This is deprecated and has no effect. Do not use. 2240 * </pre> 2241 * 2242 * <code>repeated string values = 249928994;</code> 2243 * 2244 * @return This builder for chaining. 2245 */ clearValues()2246 public Builder clearValues() { 2247 values_ = com.google.protobuf.LazyStringArrayList.EMPTY; 2248 bitField0_ = (bitField0_ & ~0x00000010); 2249 onChanged(); 2250 return this; 2251 } 2252 /** 2253 * 2254 * 2255 * <pre> 2256 * This is deprecated and has no effect. Do not use. 2257 * </pre> 2258 * 2259 * <code>repeated string values = 249928994;</code> 2260 * 2261 * @param value The bytes of the values to add. 2262 * @return This builder for chaining. 2263 */ addValuesBytes(com.google.protobuf.ByteString value)2264 public Builder addValuesBytes(com.google.protobuf.ByteString value) { 2265 if (value == null) { 2266 throw new NullPointerException(); 2267 } 2268 checkByteStringIsUtf8(value); 2269 ensureValuesIsMutable(); 2270 values_.add(value); 2271 onChanged(); 2272 return this; 2273 } 2274 2275 @java.lang.Override setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)2276 public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { 2277 return super.setUnknownFields(unknownFields); 2278 } 2279 2280 @java.lang.Override mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)2281 public final Builder mergeUnknownFields( 2282 final com.google.protobuf.UnknownFieldSet unknownFields) { 2283 return super.mergeUnknownFields(unknownFields); 2284 } 2285 2286 // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.Condition) 2287 } 2288 2289 // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.Condition) 2290 private static final com.google.cloud.compute.v1.Condition DEFAULT_INSTANCE; 2291 2292 static { 2293 DEFAULT_INSTANCE = new com.google.cloud.compute.v1.Condition(); 2294 } 2295 getDefaultInstance()2296 public static com.google.cloud.compute.v1.Condition getDefaultInstance() { 2297 return DEFAULT_INSTANCE; 2298 } 2299 2300 private static final com.google.protobuf.Parser<Condition> PARSER = 2301 new com.google.protobuf.AbstractParser<Condition>() { 2302 @java.lang.Override 2303 public Condition parsePartialFrom( 2304 com.google.protobuf.CodedInputStream input, 2305 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2306 throws com.google.protobuf.InvalidProtocolBufferException { 2307 Builder builder = newBuilder(); 2308 try { 2309 builder.mergeFrom(input, extensionRegistry); 2310 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 2311 throw e.setUnfinishedMessage(builder.buildPartial()); 2312 } catch (com.google.protobuf.UninitializedMessageException e) { 2313 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); 2314 } catch (java.io.IOException e) { 2315 throw new com.google.protobuf.InvalidProtocolBufferException(e) 2316 .setUnfinishedMessage(builder.buildPartial()); 2317 } 2318 return builder.buildPartial(); 2319 } 2320 }; 2321 parser()2322 public static com.google.protobuf.Parser<Condition> parser() { 2323 return PARSER; 2324 } 2325 2326 @java.lang.Override getParserForType()2327 public com.google.protobuf.Parser<Condition> getParserForType() { 2328 return PARSER; 2329 } 2330 2331 @java.lang.Override getDefaultInstanceForType()2332 public com.google.cloud.compute.v1.Condition getDefaultInstanceForType() { 2333 return DEFAULT_INSTANCE; 2334 } 2335 } 2336