001// Generated by the protocol buffer compiler. DO NOT EDIT! 002// source: batch_input.proto 003 004package org.sonar.batch.protocol.input; 005 006public final class BatchInput { 007 private BatchInput() {} 008 public static void registerAllExtensions( 009 com.google.protobuf.ExtensionRegistry registry) { 010 } 011 public interface ServerIssueOrBuilder extends 012 // @@protoc_insertion_point(interface_extends:ServerIssue) 013 com.google.protobuf.MessageOrBuilder { 014 015 /** 016 * <code>optional string key = 1;</code> 017 */ 018 boolean hasKey(); 019 /** 020 * <code>optional string key = 1;</code> 021 */ 022 java.lang.String getKey(); 023 /** 024 * <code>optional string key = 1;</code> 025 */ 026 com.google.protobuf.ByteString 027 getKeyBytes(); 028 029 /** 030 * <code>optional string module_key = 2;</code> 031 */ 032 boolean hasModuleKey(); 033 /** 034 * <code>optional string module_key = 2;</code> 035 */ 036 java.lang.String getModuleKey(); 037 /** 038 * <code>optional string module_key = 2;</code> 039 */ 040 com.google.protobuf.ByteString 041 getModuleKeyBytes(); 042 043 /** 044 * <code>optional string path = 3;</code> 045 */ 046 boolean hasPath(); 047 /** 048 * <code>optional string path = 3;</code> 049 */ 050 java.lang.String getPath(); 051 /** 052 * <code>optional string path = 3;</code> 053 */ 054 com.google.protobuf.ByteString 055 getPathBytes(); 056 057 /** 058 * <code>optional string rule_repository = 4;</code> 059 */ 060 boolean hasRuleRepository(); 061 /** 062 * <code>optional string rule_repository = 4;</code> 063 */ 064 java.lang.String getRuleRepository(); 065 /** 066 * <code>optional string rule_repository = 4;</code> 067 */ 068 com.google.protobuf.ByteString 069 getRuleRepositoryBytes(); 070 071 /** 072 * <code>optional string rule_key = 5;</code> 073 */ 074 boolean hasRuleKey(); 075 /** 076 * <code>optional string rule_key = 5;</code> 077 */ 078 java.lang.String getRuleKey(); 079 /** 080 * <code>optional string rule_key = 5;</code> 081 */ 082 com.google.protobuf.ByteString 083 getRuleKeyBytes(); 084 085 /** 086 * <code>optional int32 line = 6;</code> 087 */ 088 boolean hasLine(); 089 /** 090 * <code>optional int32 line = 6;</code> 091 */ 092 int getLine(); 093 094 /** 095 * <code>optional string msg = 7;</code> 096 */ 097 boolean hasMsg(); 098 /** 099 * <code>optional string msg = 7;</code> 100 */ 101 java.lang.String getMsg(); 102 /** 103 * <code>optional string msg = 7;</code> 104 */ 105 com.google.protobuf.ByteString 106 getMsgBytes(); 107 108 /** 109 * <code>optional .Severity severity = 8;</code> 110 */ 111 boolean hasSeverity(); 112 /** 113 * <code>optional .Severity severity = 8;</code> 114 */ 115 org.sonar.batch.protocol.Constants.Severity getSeverity(); 116 117 /** 118 * <code>optional bool manual_severity = 9;</code> 119 */ 120 boolean hasManualSeverity(); 121 /** 122 * <code>optional bool manual_severity = 9;</code> 123 */ 124 boolean getManualSeverity(); 125 126 /** 127 * <code>optional string resolution = 10;</code> 128 */ 129 boolean hasResolution(); 130 /** 131 * <code>optional string resolution = 10;</code> 132 */ 133 java.lang.String getResolution(); 134 /** 135 * <code>optional string resolution = 10;</code> 136 */ 137 com.google.protobuf.ByteString 138 getResolutionBytes(); 139 140 /** 141 * <code>optional string status = 11;</code> 142 */ 143 boolean hasStatus(); 144 /** 145 * <code>optional string status = 11;</code> 146 */ 147 java.lang.String getStatus(); 148 /** 149 * <code>optional string status = 11;</code> 150 */ 151 com.google.protobuf.ByteString 152 getStatusBytes(); 153 154 /** 155 * <code>optional string checksum = 12;</code> 156 */ 157 boolean hasChecksum(); 158 /** 159 * <code>optional string checksum = 12;</code> 160 */ 161 java.lang.String getChecksum(); 162 /** 163 * <code>optional string checksum = 12;</code> 164 */ 165 com.google.protobuf.ByteString 166 getChecksumBytes(); 167 168 /** 169 * <code>optional string assignee_login = 13;</code> 170 */ 171 boolean hasAssigneeLogin(); 172 /** 173 * <code>optional string assignee_login = 13;</code> 174 */ 175 java.lang.String getAssigneeLogin(); 176 /** 177 * <code>optional string assignee_login = 13;</code> 178 */ 179 com.google.protobuf.ByteString 180 getAssigneeLoginBytes(); 181 182 /** 183 * <code>optional int64 creation_date = 14;</code> 184 */ 185 boolean hasCreationDate(); 186 /** 187 * <code>optional int64 creation_date = 14;</code> 188 */ 189 long getCreationDate(); 190 } 191 /** 192 * Protobuf type {@code ServerIssue} 193 */ 194 public static final class ServerIssue extends 195 com.google.protobuf.GeneratedMessage implements 196 // @@protoc_insertion_point(message_implements:ServerIssue) 197 ServerIssueOrBuilder { 198 // Use ServerIssue.newBuilder() to construct. 199 private ServerIssue(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 200 super(builder); 201 } 202 private ServerIssue() { 203 key_ = ""; 204 moduleKey_ = ""; 205 path_ = ""; 206 ruleRepository_ = ""; 207 ruleKey_ = ""; 208 line_ = 0; 209 msg_ = ""; 210 severity_ = 0; 211 manualSeverity_ = false; 212 resolution_ = ""; 213 status_ = ""; 214 checksum_ = ""; 215 assigneeLogin_ = ""; 216 creationDate_ = 0L; 217 } 218 219 @java.lang.Override 220 public final com.google.protobuf.UnknownFieldSet 221 getUnknownFields() { 222 return this.unknownFields; 223 } 224 private ServerIssue( 225 com.google.protobuf.CodedInputStream input, 226 com.google.protobuf.ExtensionRegistryLite extensionRegistry) { 227 this(); 228 int mutable_bitField0_ = 0; 229 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 230 com.google.protobuf.UnknownFieldSet.newBuilder(); 231 try { 232 boolean done = false; 233 while (!done) { 234 int tag = input.readTag(); 235 switch (tag) { 236 case 0: 237 done = true; 238 break; 239 default: { 240 if (!parseUnknownField(input, unknownFields, 241 extensionRegistry, tag)) { 242 done = true; 243 } 244 break; 245 } 246 case 10: { 247 com.google.protobuf.ByteString bs = input.readBytes(); 248 bitField0_ |= 0x00000001; 249 key_ = bs; 250 break; 251 } 252 case 18: { 253 com.google.protobuf.ByteString bs = input.readBytes(); 254 bitField0_ |= 0x00000002; 255 moduleKey_ = bs; 256 break; 257 } 258 case 26: { 259 com.google.protobuf.ByteString bs = input.readBytes(); 260 bitField0_ |= 0x00000004; 261 path_ = bs; 262 break; 263 } 264 case 34: { 265 com.google.protobuf.ByteString bs = input.readBytes(); 266 bitField0_ |= 0x00000008; 267 ruleRepository_ = bs; 268 break; 269 } 270 case 42: { 271 com.google.protobuf.ByteString bs = input.readBytes(); 272 bitField0_ |= 0x00000010; 273 ruleKey_ = bs; 274 break; 275 } 276 case 48: { 277 bitField0_ |= 0x00000020; 278 line_ = input.readInt32(); 279 break; 280 } 281 case 58: { 282 com.google.protobuf.ByteString bs = input.readBytes(); 283 bitField0_ |= 0x00000040; 284 msg_ = bs; 285 break; 286 } 287 case 64: { 288 int rawValue = input.readEnum(); 289 org.sonar.batch.protocol.Constants.Severity value = org.sonar.batch.protocol.Constants.Severity.valueOf(rawValue); 290 if (value == null) { 291 unknownFields.mergeVarintField(8, rawValue); 292 } else { 293 bitField0_ |= 0x00000080; 294 severity_ = rawValue; 295 } 296 break; 297 } 298 case 72: { 299 bitField0_ |= 0x00000100; 300 manualSeverity_ = input.readBool(); 301 break; 302 } 303 case 82: { 304 com.google.protobuf.ByteString bs = input.readBytes(); 305 bitField0_ |= 0x00000200; 306 resolution_ = bs; 307 break; 308 } 309 case 90: { 310 com.google.protobuf.ByteString bs = input.readBytes(); 311 bitField0_ |= 0x00000400; 312 status_ = bs; 313 break; 314 } 315 case 98: { 316 com.google.protobuf.ByteString bs = input.readBytes(); 317 bitField0_ |= 0x00000800; 318 checksum_ = bs; 319 break; 320 } 321 case 106: { 322 com.google.protobuf.ByteString bs = input.readBytes(); 323 bitField0_ |= 0x00001000; 324 assigneeLogin_ = bs; 325 break; 326 } 327 case 112: { 328 bitField0_ |= 0x00002000; 329 creationDate_ = input.readInt64(); 330 break; 331 } 332 } 333 } 334 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 335 throw new RuntimeException(e.setUnfinishedMessage(this)); 336 } catch (java.io.IOException e) { 337 throw new RuntimeException( 338 new com.google.protobuf.InvalidProtocolBufferException( 339 e.getMessage()).setUnfinishedMessage(this)); 340 } finally { 341 this.unknownFields = unknownFields.build(); 342 makeExtensionsImmutable(); 343 } 344 } 345 public static final com.google.protobuf.Descriptors.Descriptor 346 getDescriptor() { 347 return org.sonar.batch.protocol.input.BatchInput.internal_static_ServerIssue_descriptor; 348 } 349 350 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 351 internalGetFieldAccessorTable() { 352 return org.sonar.batch.protocol.input.BatchInput.internal_static_ServerIssue_fieldAccessorTable 353 .ensureFieldAccessorsInitialized( 354 org.sonar.batch.protocol.input.BatchInput.ServerIssue.class, org.sonar.batch.protocol.input.BatchInput.ServerIssue.Builder.class); 355 } 356 357 private int bitField0_; 358 public static final int KEY_FIELD_NUMBER = 1; 359 private volatile java.lang.Object key_; 360 /** 361 * <code>optional string key = 1;</code> 362 */ 363 public boolean hasKey() { 364 return ((bitField0_ & 0x00000001) == 0x00000001); 365 } 366 /** 367 * <code>optional string key = 1;</code> 368 */ 369 public java.lang.String getKey() { 370 java.lang.Object ref = key_; 371 if (ref instanceof java.lang.String) { 372 return (java.lang.String) ref; 373 } else { 374 com.google.protobuf.ByteString bs = 375 (com.google.protobuf.ByteString) ref; 376 java.lang.String s = bs.toStringUtf8(); 377 if (bs.isValidUtf8()) { 378 key_ = s; 379 } 380 return s; 381 } 382 } 383 /** 384 * <code>optional string key = 1;</code> 385 */ 386 public com.google.protobuf.ByteString 387 getKeyBytes() { 388 java.lang.Object ref = key_; 389 if (ref instanceof java.lang.String) { 390 com.google.protobuf.ByteString b = 391 com.google.protobuf.ByteString.copyFromUtf8( 392 (java.lang.String) ref); 393 key_ = b; 394 return b; 395 } else { 396 return (com.google.protobuf.ByteString) ref; 397 } 398 } 399 400 public static final int MODULE_KEY_FIELD_NUMBER = 2; 401 private volatile java.lang.Object moduleKey_; 402 /** 403 * <code>optional string module_key = 2;</code> 404 */ 405 public boolean hasModuleKey() { 406 return ((bitField0_ & 0x00000002) == 0x00000002); 407 } 408 /** 409 * <code>optional string module_key = 2;</code> 410 */ 411 public java.lang.String getModuleKey() { 412 java.lang.Object ref = moduleKey_; 413 if (ref instanceof java.lang.String) { 414 return (java.lang.String) ref; 415 } else { 416 com.google.protobuf.ByteString bs = 417 (com.google.protobuf.ByteString) ref; 418 java.lang.String s = bs.toStringUtf8(); 419 if (bs.isValidUtf8()) { 420 moduleKey_ = s; 421 } 422 return s; 423 } 424 } 425 /** 426 * <code>optional string module_key = 2;</code> 427 */ 428 public com.google.protobuf.ByteString 429 getModuleKeyBytes() { 430 java.lang.Object ref = moduleKey_; 431 if (ref instanceof java.lang.String) { 432 com.google.protobuf.ByteString b = 433 com.google.protobuf.ByteString.copyFromUtf8( 434 (java.lang.String) ref); 435 moduleKey_ = b; 436 return b; 437 } else { 438 return (com.google.protobuf.ByteString) ref; 439 } 440 } 441 442 public static final int PATH_FIELD_NUMBER = 3; 443 private volatile java.lang.Object path_; 444 /** 445 * <code>optional string path = 3;</code> 446 */ 447 public boolean hasPath() { 448 return ((bitField0_ & 0x00000004) == 0x00000004); 449 } 450 /** 451 * <code>optional string path = 3;</code> 452 */ 453 public java.lang.String getPath() { 454 java.lang.Object ref = path_; 455 if (ref instanceof java.lang.String) { 456 return (java.lang.String) ref; 457 } else { 458 com.google.protobuf.ByteString bs = 459 (com.google.protobuf.ByteString) ref; 460 java.lang.String s = bs.toStringUtf8(); 461 if (bs.isValidUtf8()) { 462 path_ = s; 463 } 464 return s; 465 } 466 } 467 /** 468 * <code>optional string path = 3;</code> 469 */ 470 public com.google.protobuf.ByteString 471 getPathBytes() { 472 java.lang.Object ref = path_; 473 if (ref instanceof java.lang.String) { 474 com.google.protobuf.ByteString b = 475 com.google.protobuf.ByteString.copyFromUtf8( 476 (java.lang.String) ref); 477 path_ = b; 478 return b; 479 } else { 480 return (com.google.protobuf.ByteString) ref; 481 } 482 } 483 484 public static final int RULE_REPOSITORY_FIELD_NUMBER = 4; 485 private volatile java.lang.Object ruleRepository_; 486 /** 487 * <code>optional string rule_repository = 4;</code> 488 */ 489 public boolean hasRuleRepository() { 490 return ((bitField0_ & 0x00000008) == 0x00000008); 491 } 492 /** 493 * <code>optional string rule_repository = 4;</code> 494 */ 495 public java.lang.String getRuleRepository() { 496 java.lang.Object ref = ruleRepository_; 497 if (ref instanceof java.lang.String) { 498 return (java.lang.String) ref; 499 } else { 500 com.google.protobuf.ByteString bs = 501 (com.google.protobuf.ByteString) ref; 502 java.lang.String s = bs.toStringUtf8(); 503 if (bs.isValidUtf8()) { 504 ruleRepository_ = s; 505 } 506 return s; 507 } 508 } 509 /** 510 * <code>optional string rule_repository = 4;</code> 511 */ 512 public com.google.protobuf.ByteString 513 getRuleRepositoryBytes() { 514 java.lang.Object ref = ruleRepository_; 515 if (ref instanceof java.lang.String) { 516 com.google.protobuf.ByteString b = 517 com.google.protobuf.ByteString.copyFromUtf8( 518 (java.lang.String) ref); 519 ruleRepository_ = b; 520 return b; 521 } else { 522 return (com.google.protobuf.ByteString) ref; 523 } 524 } 525 526 public static final int RULE_KEY_FIELD_NUMBER = 5; 527 private volatile java.lang.Object ruleKey_; 528 /** 529 * <code>optional string rule_key = 5;</code> 530 */ 531 public boolean hasRuleKey() { 532 return ((bitField0_ & 0x00000010) == 0x00000010); 533 } 534 /** 535 * <code>optional string rule_key = 5;</code> 536 */ 537 public java.lang.String getRuleKey() { 538 java.lang.Object ref = ruleKey_; 539 if (ref instanceof java.lang.String) { 540 return (java.lang.String) ref; 541 } else { 542 com.google.protobuf.ByteString bs = 543 (com.google.protobuf.ByteString) ref; 544 java.lang.String s = bs.toStringUtf8(); 545 if (bs.isValidUtf8()) { 546 ruleKey_ = s; 547 } 548 return s; 549 } 550 } 551 /** 552 * <code>optional string rule_key = 5;</code> 553 */ 554 public com.google.protobuf.ByteString 555 getRuleKeyBytes() { 556 java.lang.Object ref = ruleKey_; 557 if (ref instanceof java.lang.String) { 558 com.google.protobuf.ByteString b = 559 com.google.protobuf.ByteString.copyFromUtf8( 560 (java.lang.String) ref); 561 ruleKey_ = b; 562 return b; 563 } else { 564 return (com.google.protobuf.ByteString) ref; 565 } 566 } 567 568 public static final int LINE_FIELD_NUMBER = 6; 569 private int line_; 570 /** 571 * <code>optional int32 line = 6;</code> 572 */ 573 public boolean hasLine() { 574 return ((bitField0_ & 0x00000020) == 0x00000020); 575 } 576 /** 577 * <code>optional int32 line = 6;</code> 578 */ 579 public int getLine() { 580 return line_; 581 } 582 583 public static final int MSG_FIELD_NUMBER = 7; 584 private volatile java.lang.Object msg_; 585 /** 586 * <code>optional string msg = 7;</code> 587 */ 588 public boolean hasMsg() { 589 return ((bitField0_ & 0x00000040) == 0x00000040); 590 } 591 /** 592 * <code>optional string msg = 7;</code> 593 */ 594 public java.lang.String getMsg() { 595 java.lang.Object ref = msg_; 596 if (ref instanceof java.lang.String) { 597 return (java.lang.String) ref; 598 } else { 599 com.google.protobuf.ByteString bs = 600 (com.google.protobuf.ByteString) ref; 601 java.lang.String s = bs.toStringUtf8(); 602 if (bs.isValidUtf8()) { 603 msg_ = s; 604 } 605 return s; 606 } 607 } 608 /** 609 * <code>optional string msg = 7;</code> 610 */ 611 public com.google.protobuf.ByteString 612 getMsgBytes() { 613 java.lang.Object ref = msg_; 614 if (ref instanceof java.lang.String) { 615 com.google.protobuf.ByteString b = 616 com.google.protobuf.ByteString.copyFromUtf8( 617 (java.lang.String) ref); 618 msg_ = b; 619 return b; 620 } else { 621 return (com.google.protobuf.ByteString) ref; 622 } 623 } 624 625 public static final int SEVERITY_FIELD_NUMBER = 8; 626 private int severity_; 627 /** 628 * <code>optional .Severity severity = 8;</code> 629 */ 630 public boolean hasSeverity() { 631 return ((bitField0_ & 0x00000080) == 0x00000080); 632 } 633 /** 634 * <code>optional .Severity severity = 8;</code> 635 */ 636 public org.sonar.batch.protocol.Constants.Severity getSeverity() { 637 org.sonar.batch.protocol.Constants.Severity result = org.sonar.batch.protocol.Constants.Severity.valueOf(severity_); 638 return result == null ? org.sonar.batch.protocol.Constants.Severity.INFO : result; 639 } 640 641 public static final int MANUAL_SEVERITY_FIELD_NUMBER = 9; 642 private boolean manualSeverity_; 643 /** 644 * <code>optional bool manual_severity = 9;</code> 645 */ 646 public boolean hasManualSeverity() { 647 return ((bitField0_ & 0x00000100) == 0x00000100); 648 } 649 /** 650 * <code>optional bool manual_severity = 9;</code> 651 */ 652 public boolean getManualSeverity() { 653 return manualSeverity_; 654 } 655 656 public static final int RESOLUTION_FIELD_NUMBER = 10; 657 private volatile java.lang.Object resolution_; 658 /** 659 * <code>optional string resolution = 10;</code> 660 */ 661 public boolean hasResolution() { 662 return ((bitField0_ & 0x00000200) == 0x00000200); 663 } 664 /** 665 * <code>optional string resolution = 10;</code> 666 */ 667 public java.lang.String getResolution() { 668 java.lang.Object ref = resolution_; 669 if (ref instanceof java.lang.String) { 670 return (java.lang.String) ref; 671 } else { 672 com.google.protobuf.ByteString bs = 673 (com.google.protobuf.ByteString) ref; 674 java.lang.String s = bs.toStringUtf8(); 675 if (bs.isValidUtf8()) { 676 resolution_ = s; 677 } 678 return s; 679 } 680 } 681 /** 682 * <code>optional string resolution = 10;</code> 683 */ 684 public com.google.protobuf.ByteString 685 getResolutionBytes() { 686 java.lang.Object ref = resolution_; 687 if (ref instanceof java.lang.String) { 688 com.google.protobuf.ByteString b = 689 com.google.protobuf.ByteString.copyFromUtf8( 690 (java.lang.String) ref); 691 resolution_ = b; 692 return b; 693 } else { 694 return (com.google.protobuf.ByteString) ref; 695 } 696 } 697 698 public static final int STATUS_FIELD_NUMBER = 11; 699 private volatile java.lang.Object status_; 700 /** 701 * <code>optional string status = 11;</code> 702 */ 703 public boolean hasStatus() { 704 return ((bitField0_ & 0x00000400) == 0x00000400); 705 } 706 /** 707 * <code>optional string status = 11;</code> 708 */ 709 public java.lang.String getStatus() { 710 java.lang.Object ref = status_; 711 if (ref instanceof java.lang.String) { 712 return (java.lang.String) ref; 713 } else { 714 com.google.protobuf.ByteString bs = 715 (com.google.protobuf.ByteString) ref; 716 java.lang.String s = bs.toStringUtf8(); 717 if (bs.isValidUtf8()) { 718 status_ = s; 719 } 720 return s; 721 } 722 } 723 /** 724 * <code>optional string status = 11;</code> 725 */ 726 public com.google.protobuf.ByteString 727 getStatusBytes() { 728 java.lang.Object ref = status_; 729 if (ref instanceof java.lang.String) { 730 com.google.protobuf.ByteString b = 731 com.google.protobuf.ByteString.copyFromUtf8( 732 (java.lang.String) ref); 733 status_ = b; 734 return b; 735 } else { 736 return (com.google.protobuf.ByteString) ref; 737 } 738 } 739 740 public static final int CHECKSUM_FIELD_NUMBER = 12; 741 private volatile java.lang.Object checksum_; 742 /** 743 * <code>optional string checksum = 12;</code> 744 */ 745 public boolean hasChecksum() { 746 return ((bitField0_ & 0x00000800) == 0x00000800); 747 } 748 /** 749 * <code>optional string checksum = 12;</code> 750 */ 751 public java.lang.String getChecksum() { 752 java.lang.Object ref = checksum_; 753 if (ref instanceof java.lang.String) { 754 return (java.lang.String) ref; 755 } else { 756 com.google.protobuf.ByteString bs = 757 (com.google.protobuf.ByteString) ref; 758 java.lang.String s = bs.toStringUtf8(); 759 if (bs.isValidUtf8()) { 760 checksum_ = s; 761 } 762 return s; 763 } 764 } 765 /** 766 * <code>optional string checksum = 12;</code> 767 */ 768 public com.google.protobuf.ByteString 769 getChecksumBytes() { 770 java.lang.Object ref = checksum_; 771 if (ref instanceof java.lang.String) { 772 com.google.protobuf.ByteString b = 773 com.google.protobuf.ByteString.copyFromUtf8( 774 (java.lang.String) ref); 775 checksum_ = b; 776 return b; 777 } else { 778 return (com.google.protobuf.ByteString) ref; 779 } 780 } 781 782 public static final int ASSIGNEE_LOGIN_FIELD_NUMBER = 13; 783 private volatile java.lang.Object assigneeLogin_; 784 /** 785 * <code>optional string assignee_login = 13;</code> 786 */ 787 public boolean hasAssigneeLogin() { 788 return ((bitField0_ & 0x00001000) == 0x00001000); 789 } 790 /** 791 * <code>optional string assignee_login = 13;</code> 792 */ 793 public java.lang.String getAssigneeLogin() { 794 java.lang.Object ref = assigneeLogin_; 795 if (ref instanceof java.lang.String) { 796 return (java.lang.String) ref; 797 } else { 798 com.google.protobuf.ByteString bs = 799 (com.google.protobuf.ByteString) ref; 800 java.lang.String s = bs.toStringUtf8(); 801 if (bs.isValidUtf8()) { 802 assigneeLogin_ = s; 803 } 804 return s; 805 } 806 } 807 /** 808 * <code>optional string assignee_login = 13;</code> 809 */ 810 public com.google.protobuf.ByteString 811 getAssigneeLoginBytes() { 812 java.lang.Object ref = assigneeLogin_; 813 if (ref instanceof java.lang.String) { 814 com.google.protobuf.ByteString b = 815 com.google.protobuf.ByteString.copyFromUtf8( 816 (java.lang.String) ref); 817 assigneeLogin_ = b; 818 return b; 819 } else { 820 return (com.google.protobuf.ByteString) ref; 821 } 822 } 823 824 public static final int CREATION_DATE_FIELD_NUMBER = 14; 825 private long creationDate_; 826 /** 827 * <code>optional int64 creation_date = 14;</code> 828 */ 829 public boolean hasCreationDate() { 830 return ((bitField0_ & 0x00002000) == 0x00002000); 831 } 832 /** 833 * <code>optional int64 creation_date = 14;</code> 834 */ 835 public long getCreationDate() { 836 return creationDate_; 837 } 838 839 private byte memoizedIsInitialized = -1; 840 public final boolean isInitialized() { 841 byte isInitialized = memoizedIsInitialized; 842 if (isInitialized == 1) return true; 843 if (isInitialized == 0) return false; 844 845 memoizedIsInitialized = 1; 846 return true; 847 } 848 849 public void writeTo(com.google.protobuf.CodedOutputStream output) 850 throws java.io.IOException { 851 if (((bitField0_ & 0x00000001) == 0x00000001)) { 852 com.google.protobuf.GeneratedMessage.writeString(output, 1, key_); 853 } 854 if (((bitField0_ & 0x00000002) == 0x00000002)) { 855 com.google.protobuf.GeneratedMessage.writeString(output, 2, moduleKey_); 856 } 857 if (((bitField0_ & 0x00000004) == 0x00000004)) { 858 com.google.protobuf.GeneratedMessage.writeString(output, 3, path_); 859 } 860 if (((bitField0_ & 0x00000008) == 0x00000008)) { 861 com.google.protobuf.GeneratedMessage.writeString(output, 4, ruleRepository_); 862 } 863 if (((bitField0_ & 0x00000010) == 0x00000010)) { 864 com.google.protobuf.GeneratedMessage.writeString(output, 5, ruleKey_); 865 } 866 if (((bitField0_ & 0x00000020) == 0x00000020)) { 867 output.writeInt32(6, line_); 868 } 869 if (((bitField0_ & 0x00000040) == 0x00000040)) { 870 com.google.protobuf.GeneratedMessage.writeString(output, 7, msg_); 871 } 872 if (((bitField0_ & 0x00000080) == 0x00000080)) { 873 output.writeEnum(8, severity_); 874 } 875 if (((bitField0_ & 0x00000100) == 0x00000100)) { 876 output.writeBool(9, manualSeverity_); 877 } 878 if (((bitField0_ & 0x00000200) == 0x00000200)) { 879 com.google.protobuf.GeneratedMessage.writeString(output, 10, resolution_); 880 } 881 if (((bitField0_ & 0x00000400) == 0x00000400)) { 882 com.google.protobuf.GeneratedMessage.writeString(output, 11, status_); 883 } 884 if (((bitField0_ & 0x00000800) == 0x00000800)) { 885 com.google.protobuf.GeneratedMessage.writeString(output, 12, checksum_); 886 } 887 if (((bitField0_ & 0x00001000) == 0x00001000)) { 888 com.google.protobuf.GeneratedMessage.writeString(output, 13, assigneeLogin_); 889 } 890 if (((bitField0_ & 0x00002000) == 0x00002000)) { 891 output.writeInt64(14, creationDate_); 892 } 893 unknownFields.writeTo(output); 894 } 895 896 public int getSerializedSize() { 897 int size = memoizedSize; 898 if (size != -1) return size; 899 900 size = 0; 901 if (((bitField0_ & 0x00000001) == 0x00000001)) { 902 size += com.google.protobuf.GeneratedMessage.computeStringSize(1, key_); 903 } 904 if (((bitField0_ & 0x00000002) == 0x00000002)) { 905 size += com.google.protobuf.GeneratedMessage.computeStringSize(2, moduleKey_); 906 } 907 if (((bitField0_ & 0x00000004) == 0x00000004)) { 908 size += com.google.protobuf.GeneratedMessage.computeStringSize(3, path_); 909 } 910 if (((bitField0_ & 0x00000008) == 0x00000008)) { 911 size += com.google.protobuf.GeneratedMessage.computeStringSize(4, ruleRepository_); 912 } 913 if (((bitField0_ & 0x00000010) == 0x00000010)) { 914 size += com.google.protobuf.GeneratedMessage.computeStringSize(5, ruleKey_); 915 } 916 if (((bitField0_ & 0x00000020) == 0x00000020)) { 917 size += com.google.protobuf.CodedOutputStream 918 .computeInt32Size(6, line_); 919 } 920 if (((bitField0_ & 0x00000040) == 0x00000040)) { 921 size += com.google.protobuf.GeneratedMessage.computeStringSize(7, msg_); 922 } 923 if (((bitField0_ & 0x00000080) == 0x00000080)) { 924 size += com.google.protobuf.CodedOutputStream 925 .computeEnumSize(8, severity_); 926 } 927 if (((bitField0_ & 0x00000100) == 0x00000100)) { 928 size += com.google.protobuf.CodedOutputStream 929 .computeBoolSize(9, manualSeverity_); 930 } 931 if (((bitField0_ & 0x00000200) == 0x00000200)) { 932 size += com.google.protobuf.GeneratedMessage.computeStringSize(10, resolution_); 933 } 934 if (((bitField0_ & 0x00000400) == 0x00000400)) { 935 size += com.google.protobuf.GeneratedMessage.computeStringSize(11, status_); 936 } 937 if (((bitField0_ & 0x00000800) == 0x00000800)) { 938 size += com.google.protobuf.GeneratedMessage.computeStringSize(12, checksum_); 939 } 940 if (((bitField0_ & 0x00001000) == 0x00001000)) { 941 size += com.google.protobuf.GeneratedMessage.computeStringSize(13, assigneeLogin_); 942 } 943 if (((bitField0_ & 0x00002000) == 0x00002000)) { 944 size += com.google.protobuf.CodedOutputStream 945 .computeInt64Size(14, creationDate_); 946 } 947 size += unknownFields.getSerializedSize(); 948 memoizedSize = size; 949 return size; 950 } 951 952 private static final long serialVersionUID = 0L; 953 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseFrom( 954 com.google.protobuf.ByteString data) 955 throws com.google.protobuf.InvalidProtocolBufferException { 956 return PARSER.parseFrom(data); 957 } 958 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseFrom( 959 com.google.protobuf.ByteString data, 960 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 961 throws com.google.protobuf.InvalidProtocolBufferException { 962 return PARSER.parseFrom(data, extensionRegistry); 963 } 964 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseFrom(byte[] data) 965 throws com.google.protobuf.InvalidProtocolBufferException { 966 return PARSER.parseFrom(data); 967 } 968 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseFrom( 969 byte[] data, 970 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 971 throws com.google.protobuf.InvalidProtocolBufferException { 972 return PARSER.parseFrom(data, extensionRegistry); 973 } 974 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseFrom(java.io.InputStream input) 975 throws java.io.IOException { 976 return PARSER.parseFrom(input); 977 } 978 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseFrom( 979 java.io.InputStream input, 980 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 981 throws java.io.IOException { 982 return PARSER.parseFrom(input, extensionRegistry); 983 } 984 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseDelimitedFrom(java.io.InputStream input) 985 throws java.io.IOException { 986 return PARSER.parseDelimitedFrom(input); 987 } 988 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseDelimitedFrom( 989 java.io.InputStream input, 990 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 991 throws java.io.IOException { 992 return PARSER.parseDelimitedFrom(input, extensionRegistry); 993 } 994 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseFrom( 995 com.google.protobuf.CodedInputStream input) 996 throws java.io.IOException { 997 return PARSER.parseFrom(input); 998 } 999 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseFrom( 1000 com.google.protobuf.CodedInputStream input, 1001 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1002 throws java.io.IOException { 1003 return PARSER.parseFrom(input, extensionRegistry); 1004 } 1005 1006 public Builder newBuilderForType() { return newBuilder(); } 1007 public static Builder newBuilder() { 1008 return DEFAULT_INSTANCE.toBuilder(); 1009 } 1010 public static Builder newBuilder(org.sonar.batch.protocol.input.BatchInput.ServerIssue prototype) { 1011 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 1012 } 1013 public Builder toBuilder() { 1014 return this == DEFAULT_INSTANCE 1015 ? new Builder() : new Builder().mergeFrom(this); 1016 } 1017 1018 @java.lang.Override 1019 protected Builder newBuilderForType( 1020 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 1021 Builder builder = new Builder(parent); 1022 return builder; 1023 } 1024 /** 1025 * Protobuf type {@code ServerIssue} 1026 */ 1027 public static final class Builder extends 1028 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 1029 // @@protoc_insertion_point(builder_implements:ServerIssue) 1030 org.sonar.batch.protocol.input.BatchInput.ServerIssueOrBuilder { 1031 public static final com.google.protobuf.Descriptors.Descriptor 1032 getDescriptor() { 1033 return org.sonar.batch.protocol.input.BatchInput.internal_static_ServerIssue_descriptor; 1034 } 1035 1036 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 1037 internalGetFieldAccessorTable() { 1038 return org.sonar.batch.protocol.input.BatchInput.internal_static_ServerIssue_fieldAccessorTable 1039 .ensureFieldAccessorsInitialized( 1040 org.sonar.batch.protocol.input.BatchInput.ServerIssue.class, org.sonar.batch.protocol.input.BatchInput.ServerIssue.Builder.class); 1041 } 1042 1043 // Construct using org.sonar.batch.protocol.input.BatchInput.ServerIssue.newBuilder() 1044 private Builder() { 1045 maybeForceBuilderInitialization(); 1046 } 1047 1048 private Builder( 1049 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 1050 super(parent); 1051 maybeForceBuilderInitialization(); 1052 } 1053 private void maybeForceBuilderInitialization() { 1054 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 1055 } 1056 } 1057 public Builder clear() { 1058 super.clear(); 1059 key_ = ""; 1060 bitField0_ = (bitField0_ & ~0x00000001); 1061 moduleKey_ = ""; 1062 bitField0_ = (bitField0_ & ~0x00000002); 1063 path_ = ""; 1064 bitField0_ = (bitField0_ & ~0x00000004); 1065 ruleRepository_ = ""; 1066 bitField0_ = (bitField0_ & ~0x00000008); 1067 ruleKey_ = ""; 1068 bitField0_ = (bitField0_ & ~0x00000010); 1069 line_ = 0; 1070 bitField0_ = (bitField0_ & ~0x00000020); 1071 msg_ = ""; 1072 bitField0_ = (bitField0_ & ~0x00000040); 1073 severity_ = 0; 1074 bitField0_ = (bitField0_ & ~0x00000080); 1075 manualSeverity_ = false; 1076 bitField0_ = (bitField0_ & ~0x00000100); 1077 resolution_ = ""; 1078 bitField0_ = (bitField0_ & ~0x00000200); 1079 status_ = ""; 1080 bitField0_ = (bitField0_ & ~0x00000400); 1081 checksum_ = ""; 1082 bitField0_ = (bitField0_ & ~0x00000800); 1083 assigneeLogin_ = ""; 1084 bitField0_ = (bitField0_ & ~0x00001000); 1085 creationDate_ = 0L; 1086 bitField0_ = (bitField0_ & ~0x00002000); 1087 return this; 1088 } 1089 1090 public com.google.protobuf.Descriptors.Descriptor 1091 getDescriptorForType() { 1092 return org.sonar.batch.protocol.input.BatchInput.internal_static_ServerIssue_descriptor; 1093 } 1094 1095 public org.sonar.batch.protocol.input.BatchInput.ServerIssue getDefaultInstanceForType() { 1096 return org.sonar.batch.protocol.input.BatchInput.ServerIssue.getDefaultInstance(); 1097 } 1098 1099 public org.sonar.batch.protocol.input.BatchInput.ServerIssue build() { 1100 org.sonar.batch.protocol.input.BatchInput.ServerIssue result = buildPartial(); 1101 if (!result.isInitialized()) { 1102 throw newUninitializedMessageException(result); 1103 } 1104 return result; 1105 } 1106 1107 public org.sonar.batch.protocol.input.BatchInput.ServerIssue buildPartial() { 1108 org.sonar.batch.protocol.input.BatchInput.ServerIssue result = new org.sonar.batch.protocol.input.BatchInput.ServerIssue(this); 1109 int from_bitField0_ = bitField0_; 1110 int to_bitField0_ = 0; 1111 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 1112 to_bitField0_ |= 0x00000001; 1113 } 1114 result.key_ = key_; 1115 if (((from_bitField0_ & 0x00000002) == 0x00000002)) { 1116 to_bitField0_ |= 0x00000002; 1117 } 1118 result.moduleKey_ = moduleKey_; 1119 if (((from_bitField0_ & 0x00000004) == 0x00000004)) { 1120 to_bitField0_ |= 0x00000004; 1121 } 1122 result.path_ = path_; 1123 if (((from_bitField0_ & 0x00000008) == 0x00000008)) { 1124 to_bitField0_ |= 0x00000008; 1125 } 1126 result.ruleRepository_ = ruleRepository_; 1127 if (((from_bitField0_ & 0x00000010) == 0x00000010)) { 1128 to_bitField0_ |= 0x00000010; 1129 } 1130 result.ruleKey_ = ruleKey_; 1131 if (((from_bitField0_ & 0x00000020) == 0x00000020)) { 1132 to_bitField0_ |= 0x00000020; 1133 } 1134 result.line_ = line_; 1135 if (((from_bitField0_ & 0x00000040) == 0x00000040)) { 1136 to_bitField0_ |= 0x00000040; 1137 } 1138 result.msg_ = msg_; 1139 if (((from_bitField0_ & 0x00000080) == 0x00000080)) { 1140 to_bitField0_ |= 0x00000080; 1141 } 1142 result.severity_ = severity_; 1143 if (((from_bitField0_ & 0x00000100) == 0x00000100)) { 1144 to_bitField0_ |= 0x00000100; 1145 } 1146 result.manualSeverity_ = manualSeverity_; 1147 if (((from_bitField0_ & 0x00000200) == 0x00000200)) { 1148 to_bitField0_ |= 0x00000200; 1149 } 1150 result.resolution_ = resolution_; 1151 if (((from_bitField0_ & 0x00000400) == 0x00000400)) { 1152 to_bitField0_ |= 0x00000400; 1153 } 1154 result.status_ = status_; 1155 if (((from_bitField0_ & 0x00000800) == 0x00000800)) { 1156 to_bitField0_ |= 0x00000800; 1157 } 1158 result.checksum_ = checksum_; 1159 if (((from_bitField0_ & 0x00001000) == 0x00001000)) { 1160 to_bitField0_ |= 0x00001000; 1161 } 1162 result.assigneeLogin_ = assigneeLogin_; 1163 if (((from_bitField0_ & 0x00002000) == 0x00002000)) { 1164 to_bitField0_ |= 0x00002000; 1165 } 1166 result.creationDate_ = creationDate_; 1167 result.bitField0_ = to_bitField0_; 1168 onBuilt(); 1169 return result; 1170 } 1171 1172 public Builder mergeFrom(com.google.protobuf.Message other) { 1173 if (other instanceof org.sonar.batch.protocol.input.BatchInput.ServerIssue) { 1174 return mergeFrom((org.sonar.batch.protocol.input.BatchInput.ServerIssue)other); 1175 } else { 1176 super.mergeFrom(other); 1177 return this; 1178 } 1179 } 1180 1181 public Builder mergeFrom(org.sonar.batch.protocol.input.BatchInput.ServerIssue other) { 1182 if (other == org.sonar.batch.protocol.input.BatchInput.ServerIssue.getDefaultInstance()) return this; 1183 if (other.hasKey()) { 1184 bitField0_ |= 0x00000001; 1185 key_ = other.key_; 1186 onChanged(); 1187 } 1188 if (other.hasModuleKey()) { 1189 bitField0_ |= 0x00000002; 1190 moduleKey_ = other.moduleKey_; 1191 onChanged(); 1192 } 1193 if (other.hasPath()) { 1194 bitField0_ |= 0x00000004; 1195 path_ = other.path_; 1196 onChanged(); 1197 } 1198 if (other.hasRuleRepository()) { 1199 bitField0_ |= 0x00000008; 1200 ruleRepository_ = other.ruleRepository_; 1201 onChanged(); 1202 } 1203 if (other.hasRuleKey()) { 1204 bitField0_ |= 0x00000010; 1205 ruleKey_ = other.ruleKey_; 1206 onChanged(); 1207 } 1208 if (other.hasLine()) { 1209 setLine(other.getLine()); 1210 } 1211 if (other.hasMsg()) { 1212 bitField0_ |= 0x00000040; 1213 msg_ = other.msg_; 1214 onChanged(); 1215 } 1216 if (other.hasSeverity()) { 1217 setSeverity(other.getSeverity()); 1218 } 1219 if (other.hasManualSeverity()) { 1220 setManualSeverity(other.getManualSeverity()); 1221 } 1222 if (other.hasResolution()) { 1223 bitField0_ |= 0x00000200; 1224 resolution_ = other.resolution_; 1225 onChanged(); 1226 } 1227 if (other.hasStatus()) { 1228 bitField0_ |= 0x00000400; 1229 status_ = other.status_; 1230 onChanged(); 1231 } 1232 if (other.hasChecksum()) { 1233 bitField0_ |= 0x00000800; 1234 checksum_ = other.checksum_; 1235 onChanged(); 1236 } 1237 if (other.hasAssigneeLogin()) { 1238 bitField0_ |= 0x00001000; 1239 assigneeLogin_ = other.assigneeLogin_; 1240 onChanged(); 1241 } 1242 if (other.hasCreationDate()) { 1243 setCreationDate(other.getCreationDate()); 1244 } 1245 this.mergeUnknownFields(other.unknownFields); 1246 onChanged(); 1247 return this; 1248 } 1249 1250 public final boolean isInitialized() { 1251 return true; 1252 } 1253 1254 public Builder mergeFrom( 1255 com.google.protobuf.CodedInputStream input, 1256 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1257 throws java.io.IOException { 1258 org.sonar.batch.protocol.input.BatchInput.ServerIssue parsedMessage = null; 1259 try { 1260 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 1261 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 1262 parsedMessage = (org.sonar.batch.protocol.input.BatchInput.ServerIssue) e.getUnfinishedMessage(); 1263 throw e; 1264 } finally { 1265 if (parsedMessage != null) { 1266 mergeFrom(parsedMessage); 1267 } 1268 } 1269 return this; 1270 } 1271 private int bitField0_; 1272 1273 private java.lang.Object key_ = ""; 1274 /** 1275 * <code>optional string key = 1;</code> 1276 */ 1277 public boolean hasKey() { 1278 return ((bitField0_ & 0x00000001) == 0x00000001); 1279 } 1280 /** 1281 * <code>optional string key = 1;</code> 1282 */ 1283 public java.lang.String getKey() { 1284 java.lang.Object ref = key_; 1285 if (!(ref instanceof java.lang.String)) { 1286 com.google.protobuf.ByteString bs = 1287 (com.google.protobuf.ByteString) ref; 1288 java.lang.String s = bs.toStringUtf8(); 1289 if (bs.isValidUtf8()) { 1290 key_ = s; 1291 } 1292 return s; 1293 } else { 1294 return (java.lang.String) ref; 1295 } 1296 } 1297 /** 1298 * <code>optional string key = 1;</code> 1299 */ 1300 public com.google.protobuf.ByteString 1301 getKeyBytes() { 1302 java.lang.Object ref = key_; 1303 if (ref instanceof String) { 1304 com.google.protobuf.ByteString b = 1305 com.google.protobuf.ByteString.copyFromUtf8( 1306 (java.lang.String) ref); 1307 key_ = b; 1308 return b; 1309 } else { 1310 return (com.google.protobuf.ByteString) ref; 1311 } 1312 } 1313 /** 1314 * <code>optional string key = 1;</code> 1315 */ 1316 public Builder setKey( 1317 java.lang.String value) { 1318 if (value == null) { 1319 throw new NullPointerException(); 1320 } 1321 bitField0_ |= 0x00000001; 1322 key_ = value; 1323 onChanged(); 1324 return this; 1325 } 1326 /** 1327 * <code>optional string key = 1;</code> 1328 */ 1329 public Builder clearKey() { 1330 bitField0_ = (bitField0_ & ~0x00000001); 1331 key_ = getDefaultInstance().getKey(); 1332 onChanged(); 1333 return this; 1334 } 1335 /** 1336 * <code>optional string key = 1;</code> 1337 */ 1338 public Builder setKeyBytes( 1339 com.google.protobuf.ByteString value) { 1340 if (value == null) { 1341 throw new NullPointerException(); 1342 } 1343 bitField0_ |= 0x00000001; 1344 key_ = value; 1345 onChanged(); 1346 return this; 1347 } 1348 1349 private java.lang.Object moduleKey_ = ""; 1350 /** 1351 * <code>optional string module_key = 2;</code> 1352 */ 1353 public boolean hasModuleKey() { 1354 return ((bitField0_ & 0x00000002) == 0x00000002); 1355 } 1356 /** 1357 * <code>optional string module_key = 2;</code> 1358 */ 1359 public java.lang.String getModuleKey() { 1360 java.lang.Object ref = moduleKey_; 1361 if (!(ref instanceof java.lang.String)) { 1362 com.google.protobuf.ByteString bs = 1363 (com.google.protobuf.ByteString) ref; 1364 java.lang.String s = bs.toStringUtf8(); 1365 if (bs.isValidUtf8()) { 1366 moduleKey_ = s; 1367 } 1368 return s; 1369 } else { 1370 return (java.lang.String) ref; 1371 } 1372 } 1373 /** 1374 * <code>optional string module_key = 2;</code> 1375 */ 1376 public com.google.protobuf.ByteString 1377 getModuleKeyBytes() { 1378 java.lang.Object ref = moduleKey_; 1379 if (ref instanceof String) { 1380 com.google.protobuf.ByteString b = 1381 com.google.protobuf.ByteString.copyFromUtf8( 1382 (java.lang.String) ref); 1383 moduleKey_ = b; 1384 return b; 1385 } else { 1386 return (com.google.protobuf.ByteString) ref; 1387 } 1388 } 1389 /** 1390 * <code>optional string module_key = 2;</code> 1391 */ 1392 public Builder setModuleKey( 1393 java.lang.String value) { 1394 if (value == null) { 1395 throw new NullPointerException(); 1396 } 1397 bitField0_ |= 0x00000002; 1398 moduleKey_ = value; 1399 onChanged(); 1400 return this; 1401 } 1402 /** 1403 * <code>optional string module_key = 2;</code> 1404 */ 1405 public Builder clearModuleKey() { 1406 bitField0_ = (bitField0_ & ~0x00000002); 1407 moduleKey_ = getDefaultInstance().getModuleKey(); 1408 onChanged(); 1409 return this; 1410 } 1411 /** 1412 * <code>optional string module_key = 2;</code> 1413 */ 1414 public Builder setModuleKeyBytes( 1415 com.google.protobuf.ByteString value) { 1416 if (value == null) { 1417 throw new NullPointerException(); 1418 } 1419 bitField0_ |= 0x00000002; 1420 moduleKey_ = value; 1421 onChanged(); 1422 return this; 1423 } 1424 1425 private java.lang.Object path_ = ""; 1426 /** 1427 * <code>optional string path = 3;</code> 1428 */ 1429 public boolean hasPath() { 1430 return ((bitField0_ & 0x00000004) == 0x00000004); 1431 } 1432 /** 1433 * <code>optional string path = 3;</code> 1434 */ 1435 public java.lang.String getPath() { 1436 java.lang.Object ref = path_; 1437 if (!(ref instanceof java.lang.String)) { 1438 com.google.protobuf.ByteString bs = 1439 (com.google.protobuf.ByteString) ref; 1440 java.lang.String s = bs.toStringUtf8(); 1441 if (bs.isValidUtf8()) { 1442 path_ = s; 1443 } 1444 return s; 1445 } else { 1446 return (java.lang.String) ref; 1447 } 1448 } 1449 /** 1450 * <code>optional string path = 3;</code> 1451 */ 1452 public com.google.protobuf.ByteString 1453 getPathBytes() { 1454 java.lang.Object ref = path_; 1455 if (ref instanceof String) { 1456 com.google.protobuf.ByteString b = 1457 com.google.protobuf.ByteString.copyFromUtf8( 1458 (java.lang.String) ref); 1459 path_ = b; 1460 return b; 1461 } else { 1462 return (com.google.protobuf.ByteString) ref; 1463 } 1464 } 1465 /** 1466 * <code>optional string path = 3;</code> 1467 */ 1468 public Builder setPath( 1469 java.lang.String value) { 1470 if (value == null) { 1471 throw new NullPointerException(); 1472 } 1473 bitField0_ |= 0x00000004; 1474 path_ = value; 1475 onChanged(); 1476 return this; 1477 } 1478 /** 1479 * <code>optional string path = 3;</code> 1480 */ 1481 public Builder clearPath() { 1482 bitField0_ = (bitField0_ & ~0x00000004); 1483 path_ = getDefaultInstance().getPath(); 1484 onChanged(); 1485 return this; 1486 } 1487 /** 1488 * <code>optional string path = 3;</code> 1489 */ 1490 public Builder setPathBytes( 1491 com.google.protobuf.ByteString value) { 1492 if (value == null) { 1493 throw new NullPointerException(); 1494 } 1495 bitField0_ |= 0x00000004; 1496 path_ = value; 1497 onChanged(); 1498 return this; 1499 } 1500 1501 private java.lang.Object ruleRepository_ = ""; 1502 /** 1503 * <code>optional string rule_repository = 4;</code> 1504 */ 1505 public boolean hasRuleRepository() { 1506 return ((bitField0_ & 0x00000008) == 0x00000008); 1507 } 1508 /** 1509 * <code>optional string rule_repository = 4;</code> 1510 */ 1511 public java.lang.String getRuleRepository() { 1512 java.lang.Object ref = ruleRepository_; 1513 if (!(ref instanceof java.lang.String)) { 1514 com.google.protobuf.ByteString bs = 1515 (com.google.protobuf.ByteString) ref; 1516 java.lang.String s = bs.toStringUtf8(); 1517 if (bs.isValidUtf8()) { 1518 ruleRepository_ = s; 1519 } 1520 return s; 1521 } else { 1522 return (java.lang.String) ref; 1523 } 1524 } 1525 /** 1526 * <code>optional string rule_repository = 4;</code> 1527 */ 1528 public com.google.protobuf.ByteString 1529 getRuleRepositoryBytes() { 1530 java.lang.Object ref = ruleRepository_; 1531 if (ref instanceof String) { 1532 com.google.protobuf.ByteString b = 1533 com.google.protobuf.ByteString.copyFromUtf8( 1534 (java.lang.String) ref); 1535 ruleRepository_ = b; 1536 return b; 1537 } else { 1538 return (com.google.protobuf.ByteString) ref; 1539 } 1540 } 1541 /** 1542 * <code>optional string rule_repository = 4;</code> 1543 */ 1544 public Builder setRuleRepository( 1545 java.lang.String value) { 1546 if (value == null) { 1547 throw new NullPointerException(); 1548 } 1549 bitField0_ |= 0x00000008; 1550 ruleRepository_ = value; 1551 onChanged(); 1552 return this; 1553 } 1554 /** 1555 * <code>optional string rule_repository = 4;</code> 1556 */ 1557 public Builder clearRuleRepository() { 1558 bitField0_ = (bitField0_ & ~0x00000008); 1559 ruleRepository_ = getDefaultInstance().getRuleRepository(); 1560 onChanged(); 1561 return this; 1562 } 1563 /** 1564 * <code>optional string rule_repository = 4;</code> 1565 */ 1566 public Builder setRuleRepositoryBytes( 1567 com.google.protobuf.ByteString value) { 1568 if (value == null) { 1569 throw new NullPointerException(); 1570 } 1571 bitField0_ |= 0x00000008; 1572 ruleRepository_ = value; 1573 onChanged(); 1574 return this; 1575 } 1576 1577 private java.lang.Object ruleKey_ = ""; 1578 /** 1579 * <code>optional string rule_key = 5;</code> 1580 */ 1581 public boolean hasRuleKey() { 1582 return ((bitField0_ & 0x00000010) == 0x00000010); 1583 } 1584 /** 1585 * <code>optional string rule_key = 5;</code> 1586 */ 1587 public java.lang.String getRuleKey() { 1588 java.lang.Object ref = ruleKey_; 1589 if (!(ref instanceof java.lang.String)) { 1590 com.google.protobuf.ByteString bs = 1591 (com.google.protobuf.ByteString) ref; 1592 java.lang.String s = bs.toStringUtf8(); 1593 if (bs.isValidUtf8()) { 1594 ruleKey_ = s; 1595 } 1596 return s; 1597 } else { 1598 return (java.lang.String) ref; 1599 } 1600 } 1601 /** 1602 * <code>optional string rule_key = 5;</code> 1603 */ 1604 public com.google.protobuf.ByteString 1605 getRuleKeyBytes() { 1606 java.lang.Object ref = ruleKey_; 1607 if (ref instanceof String) { 1608 com.google.protobuf.ByteString b = 1609 com.google.protobuf.ByteString.copyFromUtf8( 1610 (java.lang.String) ref); 1611 ruleKey_ = b; 1612 return b; 1613 } else { 1614 return (com.google.protobuf.ByteString) ref; 1615 } 1616 } 1617 /** 1618 * <code>optional string rule_key = 5;</code> 1619 */ 1620 public Builder setRuleKey( 1621 java.lang.String value) { 1622 if (value == null) { 1623 throw new NullPointerException(); 1624 } 1625 bitField0_ |= 0x00000010; 1626 ruleKey_ = value; 1627 onChanged(); 1628 return this; 1629 } 1630 /** 1631 * <code>optional string rule_key = 5;</code> 1632 */ 1633 public Builder clearRuleKey() { 1634 bitField0_ = (bitField0_ & ~0x00000010); 1635 ruleKey_ = getDefaultInstance().getRuleKey(); 1636 onChanged(); 1637 return this; 1638 } 1639 /** 1640 * <code>optional string rule_key = 5;</code> 1641 */ 1642 public Builder setRuleKeyBytes( 1643 com.google.protobuf.ByteString value) { 1644 if (value == null) { 1645 throw new NullPointerException(); 1646 } 1647 bitField0_ |= 0x00000010; 1648 ruleKey_ = value; 1649 onChanged(); 1650 return this; 1651 } 1652 1653 private int line_ ; 1654 /** 1655 * <code>optional int32 line = 6;</code> 1656 */ 1657 public boolean hasLine() { 1658 return ((bitField0_ & 0x00000020) == 0x00000020); 1659 } 1660 /** 1661 * <code>optional int32 line = 6;</code> 1662 */ 1663 public int getLine() { 1664 return line_; 1665 } 1666 /** 1667 * <code>optional int32 line = 6;</code> 1668 */ 1669 public Builder setLine(int value) { 1670 bitField0_ |= 0x00000020; 1671 line_ = value; 1672 onChanged(); 1673 return this; 1674 } 1675 /** 1676 * <code>optional int32 line = 6;</code> 1677 */ 1678 public Builder clearLine() { 1679 bitField0_ = (bitField0_ & ~0x00000020); 1680 line_ = 0; 1681 onChanged(); 1682 return this; 1683 } 1684 1685 private java.lang.Object msg_ = ""; 1686 /** 1687 * <code>optional string msg = 7;</code> 1688 */ 1689 public boolean hasMsg() { 1690 return ((bitField0_ & 0x00000040) == 0x00000040); 1691 } 1692 /** 1693 * <code>optional string msg = 7;</code> 1694 */ 1695 public java.lang.String getMsg() { 1696 java.lang.Object ref = msg_; 1697 if (!(ref instanceof java.lang.String)) { 1698 com.google.protobuf.ByteString bs = 1699 (com.google.protobuf.ByteString) ref; 1700 java.lang.String s = bs.toStringUtf8(); 1701 if (bs.isValidUtf8()) { 1702 msg_ = s; 1703 } 1704 return s; 1705 } else { 1706 return (java.lang.String) ref; 1707 } 1708 } 1709 /** 1710 * <code>optional string msg = 7;</code> 1711 */ 1712 public com.google.protobuf.ByteString 1713 getMsgBytes() { 1714 java.lang.Object ref = msg_; 1715 if (ref instanceof String) { 1716 com.google.protobuf.ByteString b = 1717 com.google.protobuf.ByteString.copyFromUtf8( 1718 (java.lang.String) ref); 1719 msg_ = b; 1720 return b; 1721 } else { 1722 return (com.google.protobuf.ByteString) ref; 1723 } 1724 } 1725 /** 1726 * <code>optional string msg = 7;</code> 1727 */ 1728 public Builder setMsg( 1729 java.lang.String value) { 1730 if (value == null) { 1731 throw new NullPointerException(); 1732 } 1733 bitField0_ |= 0x00000040; 1734 msg_ = value; 1735 onChanged(); 1736 return this; 1737 } 1738 /** 1739 * <code>optional string msg = 7;</code> 1740 */ 1741 public Builder clearMsg() { 1742 bitField0_ = (bitField0_ & ~0x00000040); 1743 msg_ = getDefaultInstance().getMsg(); 1744 onChanged(); 1745 return this; 1746 } 1747 /** 1748 * <code>optional string msg = 7;</code> 1749 */ 1750 public Builder setMsgBytes( 1751 com.google.protobuf.ByteString value) { 1752 if (value == null) { 1753 throw new NullPointerException(); 1754 } 1755 bitField0_ |= 0x00000040; 1756 msg_ = value; 1757 onChanged(); 1758 return this; 1759 } 1760 1761 private int severity_ = 0; 1762 /** 1763 * <code>optional .Severity severity = 8;</code> 1764 */ 1765 public boolean hasSeverity() { 1766 return ((bitField0_ & 0x00000080) == 0x00000080); 1767 } 1768 /** 1769 * <code>optional .Severity severity = 8;</code> 1770 */ 1771 public org.sonar.batch.protocol.Constants.Severity getSeverity() { 1772 org.sonar.batch.protocol.Constants.Severity result = org.sonar.batch.protocol.Constants.Severity.valueOf(severity_); 1773 return result == null ? org.sonar.batch.protocol.Constants.Severity.INFO : result; 1774 } 1775 /** 1776 * <code>optional .Severity severity = 8;</code> 1777 */ 1778 public Builder setSeverity(org.sonar.batch.protocol.Constants.Severity value) { 1779 if (value == null) { 1780 throw new NullPointerException(); 1781 } 1782 bitField0_ |= 0x00000080; 1783 severity_ = value.getNumber(); 1784 onChanged(); 1785 return this; 1786 } 1787 /** 1788 * <code>optional .Severity severity = 8;</code> 1789 */ 1790 public Builder clearSeverity() { 1791 bitField0_ = (bitField0_ & ~0x00000080); 1792 severity_ = 0; 1793 onChanged(); 1794 return this; 1795 } 1796 1797 private boolean manualSeverity_ ; 1798 /** 1799 * <code>optional bool manual_severity = 9;</code> 1800 */ 1801 public boolean hasManualSeverity() { 1802 return ((bitField0_ & 0x00000100) == 0x00000100); 1803 } 1804 /** 1805 * <code>optional bool manual_severity = 9;</code> 1806 */ 1807 public boolean getManualSeverity() { 1808 return manualSeverity_; 1809 } 1810 /** 1811 * <code>optional bool manual_severity = 9;</code> 1812 */ 1813 public Builder setManualSeverity(boolean value) { 1814 bitField0_ |= 0x00000100; 1815 manualSeverity_ = value; 1816 onChanged(); 1817 return this; 1818 } 1819 /** 1820 * <code>optional bool manual_severity = 9;</code> 1821 */ 1822 public Builder clearManualSeverity() { 1823 bitField0_ = (bitField0_ & ~0x00000100); 1824 manualSeverity_ = false; 1825 onChanged(); 1826 return this; 1827 } 1828 1829 private java.lang.Object resolution_ = ""; 1830 /** 1831 * <code>optional string resolution = 10;</code> 1832 */ 1833 public boolean hasResolution() { 1834 return ((bitField0_ & 0x00000200) == 0x00000200); 1835 } 1836 /** 1837 * <code>optional string resolution = 10;</code> 1838 */ 1839 public java.lang.String getResolution() { 1840 java.lang.Object ref = resolution_; 1841 if (!(ref instanceof java.lang.String)) { 1842 com.google.protobuf.ByteString bs = 1843 (com.google.protobuf.ByteString) ref; 1844 java.lang.String s = bs.toStringUtf8(); 1845 if (bs.isValidUtf8()) { 1846 resolution_ = s; 1847 } 1848 return s; 1849 } else { 1850 return (java.lang.String) ref; 1851 } 1852 } 1853 /** 1854 * <code>optional string resolution = 10;</code> 1855 */ 1856 public com.google.protobuf.ByteString 1857 getResolutionBytes() { 1858 java.lang.Object ref = resolution_; 1859 if (ref instanceof String) { 1860 com.google.protobuf.ByteString b = 1861 com.google.protobuf.ByteString.copyFromUtf8( 1862 (java.lang.String) ref); 1863 resolution_ = b; 1864 return b; 1865 } else { 1866 return (com.google.protobuf.ByteString) ref; 1867 } 1868 } 1869 /** 1870 * <code>optional string resolution = 10;</code> 1871 */ 1872 public Builder setResolution( 1873 java.lang.String value) { 1874 if (value == null) { 1875 throw new NullPointerException(); 1876 } 1877 bitField0_ |= 0x00000200; 1878 resolution_ = value; 1879 onChanged(); 1880 return this; 1881 } 1882 /** 1883 * <code>optional string resolution = 10;</code> 1884 */ 1885 public Builder clearResolution() { 1886 bitField0_ = (bitField0_ & ~0x00000200); 1887 resolution_ = getDefaultInstance().getResolution(); 1888 onChanged(); 1889 return this; 1890 } 1891 /** 1892 * <code>optional string resolution = 10;</code> 1893 */ 1894 public Builder setResolutionBytes( 1895 com.google.protobuf.ByteString value) { 1896 if (value == null) { 1897 throw new NullPointerException(); 1898 } 1899 bitField0_ |= 0x00000200; 1900 resolution_ = value; 1901 onChanged(); 1902 return this; 1903 } 1904 1905 private java.lang.Object status_ = ""; 1906 /** 1907 * <code>optional string status = 11;</code> 1908 */ 1909 public boolean hasStatus() { 1910 return ((bitField0_ & 0x00000400) == 0x00000400); 1911 } 1912 /** 1913 * <code>optional string status = 11;</code> 1914 */ 1915 public java.lang.String getStatus() { 1916 java.lang.Object ref = status_; 1917 if (!(ref instanceof java.lang.String)) { 1918 com.google.protobuf.ByteString bs = 1919 (com.google.protobuf.ByteString) ref; 1920 java.lang.String s = bs.toStringUtf8(); 1921 if (bs.isValidUtf8()) { 1922 status_ = s; 1923 } 1924 return s; 1925 } else { 1926 return (java.lang.String) ref; 1927 } 1928 } 1929 /** 1930 * <code>optional string status = 11;</code> 1931 */ 1932 public com.google.protobuf.ByteString 1933 getStatusBytes() { 1934 java.lang.Object ref = status_; 1935 if (ref instanceof String) { 1936 com.google.protobuf.ByteString b = 1937 com.google.protobuf.ByteString.copyFromUtf8( 1938 (java.lang.String) ref); 1939 status_ = b; 1940 return b; 1941 } else { 1942 return (com.google.protobuf.ByteString) ref; 1943 } 1944 } 1945 /** 1946 * <code>optional string status = 11;</code> 1947 */ 1948 public Builder setStatus( 1949 java.lang.String value) { 1950 if (value == null) { 1951 throw new NullPointerException(); 1952 } 1953 bitField0_ |= 0x00000400; 1954 status_ = value; 1955 onChanged(); 1956 return this; 1957 } 1958 /** 1959 * <code>optional string status = 11;</code> 1960 */ 1961 public Builder clearStatus() { 1962 bitField0_ = (bitField0_ & ~0x00000400); 1963 status_ = getDefaultInstance().getStatus(); 1964 onChanged(); 1965 return this; 1966 } 1967 /** 1968 * <code>optional string status = 11;</code> 1969 */ 1970 public Builder setStatusBytes( 1971 com.google.protobuf.ByteString value) { 1972 if (value == null) { 1973 throw new NullPointerException(); 1974 } 1975 bitField0_ |= 0x00000400; 1976 status_ = value; 1977 onChanged(); 1978 return this; 1979 } 1980 1981 private java.lang.Object checksum_ = ""; 1982 /** 1983 * <code>optional string checksum = 12;</code> 1984 */ 1985 public boolean hasChecksum() { 1986 return ((bitField0_ & 0x00000800) == 0x00000800); 1987 } 1988 /** 1989 * <code>optional string checksum = 12;</code> 1990 */ 1991 public java.lang.String getChecksum() { 1992 java.lang.Object ref = checksum_; 1993 if (!(ref instanceof java.lang.String)) { 1994 com.google.protobuf.ByteString bs = 1995 (com.google.protobuf.ByteString) ref; 1996 java.lang.String s = bs.toStringUtf8(); 1997 if (bs.isValidUtf8()) { 1998 checksum_ = s; 1999 } 2000 return s; 2001 } else { 2002 return (java.lang.String) ref; 2003 } 2004 } 2005 /** 2006 * <code>optional string checksum = 12;</code> 2007 */ 2008 public com.google.protobuf.ByteString 2009 getChecksumBytes() { 2010 java.lang.Object ref = checksum_; 2011 if (ref instanceof String) { 2012 com.google.protobuf.ByteString b = 2013 com.google.protobuf.ByteString.copyFromUtf8( 2014 (java.lang.String) ref); 2015 checksum_ = b; 2016 return b; 2017 } else { 2018 return (com.google.protobuf.ByteString) ref; 2019 } 2020 } 2021 /** 2022 * <code>optional string checksum = 12;</code> 2023 */ 2024 public Builder setChecksum( 2025 java.lang.String value) { 2026 if (value == null) { 2027 throw new NullPointerException(); 2028 } 2029 bitField0_ |= 0x00000800; 2030 checksum_ = value; 2031 onChanged(); 2032 return this; 2033 } 2034 /** 2035 * <code>optional string checksum = 12;</code> 2036 */ 2037 public Builder clearChecksum() { 2038 bitField0_ = (bitField0_ & ~0x00000800); 2039 checksum_ = getDefaultInstance().getChecksum(); 2040 onChanged(); 2041 return this; 2042 } 2043 /** 2044 * <code>optional string checksum = 12;</code> 2045 */ 2046 public Builder setChecksumBytes( 2047 com.google.protobuf.ByteString value) { 2048 if (value == null) { 2049 throw new NullPointerException(); 2050 } 2051 bitField0_ |= 0x00000800; 2052 checksum_ = value; 2053 onChanged(); 2054 return this; 2055 } 2056 2057 private java.lang.Object assigneeLogin_ = ""; 2058 /** 2059 * <code>optional string assignee_login = 13;</code> 2060 */ 2061 public boolean hasAssigneeLogin() { 2062 return ((bitField0_ & 0x00001000) == 0x00001000); 2063 } 2064 /** 2065 * <code>optional string assignee_login = 13;</code> 2066 */ 2067 public java.lang.String getAssigneeLogin() { 2068 java.lang.Object ref = assigneeLogin_; 2069 if (!(ref instanceof java.lang.String)) { 2070 com.google.protobuf.ByteString bs = 2071 (com.google.protobuf.ByteString) ref; 2072 java.lang.String s = bs.toStringUtf8(); 2073 if (bs.isValidUtf8()) { 2074 assigneeLogin_ = s; 2075 } 2076 return s; 2077 } else { 2078 return (java.lang.String) ref; 2079 } 2080 } 2081 /** 2082 * <code>optional string assignee_login = 13;</code> 2083 */ 2084 public com.google.protobuf.ByteString 2085 getAssigneeLoginBytes() { 2086 java.lang.Object ref = assigneeLogin_; 2087 if (ref instanceof String) { 2088 com.google.protobuf.ByteString b = 2089 com.google.protobuf.ByteString.copyFromUtf8( 2090 (java.lang.String) ref); 2091 assigneeLogin_ = b; 2092 return b; 2093 } else { 2094 return (com.google.protobuf.ByteString) ref; 2095 } 2096 } 2097 /** 2098 * <code>optional string assignee_login = 13;</code> 2099 */ 2100 public Builder setAssigneeLogin( 2101 java.lang.String value) { 2102 if (value == null) { 2103 throw new NullPointerException(); 2104 } 2105 bitField0_ |= 0x00001000; 2106 assigneeLogin_ = value; 2107 onChanged(); 2108 return this; 2109 } 2110 /** 2111 * <code>optional string assignee_login = 13;</code> 2112 */ 2113 public Builder clearAssigneeLogin() { 2114 bitField0_ = (bitField0_ & ~0x00001000); 2115 assigneeLogin_ = getDefaultInstance().getAssigneeLogin(); 2116 onChanged(); 2117 return this; 2118 } 2119 /** 2120 * <code>optional string assignee_login = 13;</code> 2121 */ 2122 public Builder setAssigneeLoginBytes( 2123 com.google.protobuf.ByteString value) { 2124 if (value == null) { 2125 throw new NullPointerException(); 2126 } 2127 bitField0_ |= 0x00001000; 2128 assigneeLogin_ = value; 2129 onChanged(); 2130 return this; 2131 } 2132 2133 private long creationDate_ ; 2134 /** 2135 * <code>optional int64 creation_date = 14;</code> 2136 */ 2137 public boolean hasCreationDate() { 2138 return ((bitField0_ & 0x00002000) == 0x00002000); 2139 } 2140 /** 2141 * <code>optional int64 creation_date = 14;</code> 2142 */ 2143 public long getCreationDate() { 2144 return creationDate_; 2145 } 2146 /** 2147 * <code>optional int64 creation_date = 14;</code> 2148 */ 2149 public Builder setCreationDate(long value) { 2150 bitField0_ |= 0x00002000; 2151 creationDate_ = value; 2152 onChanged(); 2153 return this; 2154 } 2155 /** 2156 * <code>optional int64 creation_date = 14;</code> 2157 */ 2158 public Builder clearCreationDate() { 2159 bitField0_ = (bitField0_ & ~0x00002000); 2160 creationDate_ = 0L; 2161 onChanged(); 2162 return this; 2163 } 2164 2165 // @@protoc_insertion_point(builder_scope:ServerIssue) 2166 } 2167 2168 // @@protoc_insertion_point(class_scope:ServerIssue) 2169 private static final org.sonar.batch.protocol.input.BatchInput.ServerIssue DEFAULT_INSTANCE; 2170 static { 2171 DEFAULT_INSTANCE = new org.sonar.batch.protocol.input.BatchInput.ServerIssue(); 2172 } 2173 2174 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue getDefaultInstance() { 2175 return DEFAULT_INSTANCE; 2176 } 2177 2178 @java.lang.Deprecated public static final com.google.protobuf.Parser<ServerIssue> 2179 PARSER = new com.google.protobuf.AbstractParser<ServerIssue>() { 2180 public ServerIssue parsePartialFrom( 2181 com.google.protobuf.CodedInputStream input, 2182 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2183 throws com.google.protobuf.InvalidProtocolBufferException { 2184 try { 2185 return new ServerIssue(input, extensionRegistry); 2186 } catch (RuntimeException e) { 2187 if (e.getCause() instanceof 2188 com.google.protobuf.InvalidProtocolBufferException) { 2189 throw (com.google.protobuf.InvalidProtocolBufferException) 2190 e.getCause(); 2191 } 2192 throw e; 2193 } 2194 } 2195 }; 2196 2197 public static com.google.protobuf.Parser<ServerIssue> parser() { 2198 return PARSER; 2199 } 2200 2201 @java.lang.Override 2202 public com.google.protobuf.Parser<ServerIssue> getParserForType() { 2203 return PARSER; 2204 } 2205 2206 public org.sonar.batch.protocol.input.BatchInput.ServerIssue getDefaultInstanceForType() { 2207 return DEFAULT_INSTANCE; 2208 } 2209 2210 } 2211 2212 public interface UserOrBuilder extends 2213 // @@protoc_insertion_point(interface_extends:User) 2214 com.google.protobuf.MessageOrBuilder { 2215 2216 /** 2217 * <code>optional string login = 1;</code> 2218 */ 2219 boolean hasLogin(); 2220 /** 2221 * <code>optional string login = 1;</code> 2222 */ 2223 java.lang.String getLogin(); 2224 /** 2225 * <code>optional string login = 1;</code> 2226 */ 2227 com.google.protobuf.ByteString 2228 getLoginBytes(); 2229 2230 /** 2231 * <code>optional string name = 2;</code> 2232 */ 2233 boolean hasName(); 2234 /** 2235 * <code>optional string name = 2;</code> 2236 */ 2237 java.lang.String getName(); 2238 /** 2239 * <code>optional string name = 2;</code> 2240 */ 2241 com.google.protobuf.ByteString 2242 getNameBytes(); 2243 } 2244 /** 2245 * Protobuf type {@code User} 2246 */ 2247 public static final class User extends 2248 com.google.protobuf.GeneratedMessage implements 2249 // @@protoc_insertion_point(message_implements:User) 2250 UserOrBuilder { 2251 // Use User.newBuilder() to construct. 2252 private User(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 2253 super(builder); 2254 } 2255 private User() { 2256 login_ = ""; 2257 name_ = ""; 2258 } 2259 2260 @java.lang.Override 2261 public final com.google.protobuf.UnknownFieldSet 2262 getUnknownFields() { 2263 return this.unknownFields; 2264 } 2265 private User( 2266 com.google.protobuf.CodedInputStream input, 2267 com.google.protobuf.ExtensionRegistryLite extensionRegistry) { 2268 this(); 2269 int mutable_bitField0_ = 0; 2270 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 2271 com.google.protobuf.UnknownFieldSet.newBuilder(); 2272 try { 2273 boolean done = false; 2274 while (!done) { 2275 int tag = input.readTag(); 2276 switch (tag) { 2277 case 0: 2278 done = true; 2279 break; 2280 default: { 2281 if (!parseUnknownField(input, unknownFields, 2282 extensionRegistry, tag)) { 2283 done = true; 2284 } 2285 break; 2286 } 2287 case 10: { 2288 com.google.protobuf.ByteString bs = input.readBytes(); 2289 bitField0_ |= 0x00000001; 2290 login_ = bs; 2291 break; 2292 } 2293 case 18: { 2294 com.google.protobuf.ByteString bs = input.readBytes(); 2295 bitField0_ |= 0x00000002; 2296 name_ = bs; 2297 break; 2298 } 2299 } 2300 } 2301 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 2302 throw new RuntimeException(e.setUnfinishedMessage(this)); 2303 } catch (java.io.IOException e) { 2304 throw new RuntimeException( 2305 new com.google.protobuf.InvalidProtocolBufferException( 2306 e.getMessage()).setUnfinishedMessage(this)); 2307 } finally { 2308 this.unknownFields = unknownFields.build(); 2309 makeExtensionsImmutable(); 2310 } 2311 } 2312 public static final com.google.protobuf.Descriptors.Descriptor 2313 getDescriptor() { 2314 return org.sonar.batch.protocol.input.BatchInput.internal_static_User_descriptor; 2315 } 2316 2317 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 2318 internalGetFieldAccessorTable() { 2319 return org.sonar.batch.protocol.input.BatchInput.internal_static_User_fieldAccessorTable 2320 .ensureFieldAccessorsInitialized( 2321 org.sonar.batch.protocol.input.BatchInput.User.class, org.sonar.batch.protocol.input.BatchInput.User.Builder.class); 2322 } 2323 2324 private int bitField0_; 2325 public static final int LOGIN_FIELD_NUMBER = 1; 2326 private volatile java.lang.Object login_; 2327 /** 2328 * <code>optional string login = 1;</code> 2329 */ 2330 public boolean hasLogin() { 2331 return ((bitField0_ & 0x00000001) == 0x00000001); 2332 } 2333 /** 2334 * <code>optional string login = 1;</code> 2335 */ 2336 public java.lang.String getLogin() { 2337 java.lang.Object ref = login_; 2338 if (ref instanceof java.lang.String) { 2339 return (java.lang.String) ref; 2340 } else { 2341 com.google.protobuf.ByteString bs = 2342 (com.google.protobuf.ByteString) ref; 2343 java.lang.String s = bs.toStringUtf8(); 2344 if (bs.isValidUtf8()) { 2345 login_ = s; 2346 } 2347 return s; 2348 } 2349 } 2350 /** 2351 * <code>optional string login = 1;</code> 2352 */ 2353 public com.google.protobuf.ByteString 2354 getLoginBytes() { 2355 java.lang.Object ref = login_; 2356 if (ref instanceof java.lang.String) { 2357 com.google.protobuf.ByteString b = 2358 com.google.protobuf.ByteString.copyFromUtf8( 2359 (java.lang.String) ref); 2360 login_ = b; 2361 return b; 2362 } else { 2363 return (com.google.protobuf.ByteString) ref; 2364 } 2365 } 2366 2367 public static final int NAME_FIELD_NUMBER = 2; 2368 private volatile java.lang.Object name_; 2369 /** 2370 * <code>optional string name = 2;</code> 2371 */ 2372 public boolean hasName() { 2373 return ((bitField0_ & 0x00000002) == 0x00000002); 2374 } 2375 /** 2376 * <code>optional string name = 2;</code> 2377 */ 2378 public java.lang.String getName() { 2379 java.lang.Object ref = name_; 2380 if (ref instanceof java.lang.String) { 2381 return (java.lang.String) ref; 2382 } else { 2383 com.google.protobuf.ByteString bs = 2384 (com.google.protobuf.ByteString) ref; 2385 java.lang.String s = bs.toStringUtf8(); 2386 if (bs.isValidUtf8()) { 2387 name_ = s; 2388 } 2389 return s; 2390 } 2391 } 2392 /** 2393 * <code>optional string name = 2;</code> 2394 */ 2395 public com.google.protobuf.ByteString 2396 getNameBytes() { 2397 java.lang.Object ref = name_; 2398 if (ref instanceof java.lang.String) { 2399 com.google.protobuf.ByteString b = 2400 com.google.protobuf.ByteString.copyFromUtf8( 2401 (java.lang.String) ref); 2402 name_ = b; 2403 return b; 2404 } else { 2405 return (com.google.protobuf.ByteString) ref; 2406 } 2407 } 2408 2409 private byte memoizedIsInitialized = -1; 2410 public final boolean isInitialized() { 2411 byte isInitialized = memoizedIsInitialized; 2412 if (isInitialized == 1) return true; 2413 if (isInitialized == 0) return false; 2414 2415 memoizedIsInitialized = 1; 2416 return true; 2417 } 2418 2419 public void writeTo(com.google.protobuf.CodedOutputStream output) 2420 throws java.io.IOException { 2421 if (((bitField0_ & 0x00000001) == 0x00000001)) { 2422 com.google.protobuf.GeneratedMessage.writeString(output, 1, login_); 2423 } 2424 if (((bitField0_ & 0x00000002) == 0x00000002)) { 2425 com.google.protobuf.GeneratedMessage.writeString(output, 2, name_); 2426 } 2427 unknownFields.writeTo(output); 2428 } 2429 2430 public int getSerializedSize() { 2431 int size = memoizedSize; 2432 if (size != -1) return size; 2433 2434 size = 0; 2435 if (((bitField0_ & 0x00000001) == 0x00000001)) { 2436 size += com.google.protobuf.GeneratedMessage.computeStringSize(1, login_); 2437 } 2438 if (((bitField0_ & 0x00000002) == 0x00000002)) { 2439 size += com.google.protobuf.GeneratedMessage.computeStringSize(2, name_); 2440 } 2441 size += unknownFields.getSerializedSize(); 2442 memoizedSize = size; 2443 return size; 2444 } 2445 2446 private static final long serialVersionUID = 0L; 2447 public static org.sonar.batch.protocol.input.BatchInput.User parseFrom( 2448 com.google.protobuf.ByteString data) 2449 throws com.google.protobuf.InvalidProtocolBufferException { 2450 return PARSER.parseFrom(data); 2451 } 2452 public static org.sonar.batch.protocol.input.BatchInput.User parseFrom( 2453 com.google.protobuf.ByteString data, 2454 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2455 throws com.google.protobuf.InvalidProtocolBufferException { 2456 return PARSER.parseFrom(data, extensionRegistry); 2457 } 2458 public static org.sonar.batch.protocol.input.BatchInput.User parseFrom(byte[] data) 2459 throws com.google.protobuf.InvalidProtocolBufferException { 2460 return PARSER.parseFrom(data); 2461 } 2462 public static org.sonar.batch.protocol.input.BatchInput.User parseFrom( 2463 byte[] data, 2464 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2465 throws com.google.protobuf.InvalidProtocolBufferException { 2466 return PARSER.parseFrom(data, extensionRegistry); 2467 } 2468 public static org.sonar.batch.protocol.input.BatchInput.User parseFrom(java.io.InputStream input) 2469 throws java.io.IOException { 2470 return PARSER.parseFrom(input); 2471 } 2472 public static org.sonar.batch.protocol.input.BatchInput.User parseFrom( 2473 java.io.InputStream input, 2474 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2475 throws java.io.IOException { 2476 return PARSER.parseFrom(input, extensionRegistry); 2477 } 2478 public static org.sonar.batch.protocol.input.BatchInput.User parseDelimitedFrom(java.io.InputStream input) 2479 throws java.io.IOException { 2480 return PARSER.parseDelimitedFrom(input); 2481 } 2482 public static org.sonar.batch.protocol.input.BatchInput.User parseDelimitedFrom( 2483 java.io.InputStream input, 2484 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2485 throws java.io.IOException { 2486 return PARSER.parseDelimitedFrom(input, extensionRegistry); 2487 } 2488 public static org.sonar.batch.protocol.input.BatchInput.User parseFrom( 2489 com.google.protobuf.CodedInputStream input) 2490 throws java.io.IOException { 2491 return PARSER.parseFrom(input); 2492 } 2493 public static org.sonar.batch.protocol.input.BatchInput.User parseFrom( 2494 com.google.protobuf.CodedInputStream input, 2495 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2496 throws java.io.IOException { 2497 return PARSER.parseFrom(input, extensionRegistry); 2498 } 2499 2500 public Builder newBuilderForType() { return newBuilder(); } 2501 public static Builder newBuilder() { 2502 return DEFAULT_INSTANCE.toBuilder(); 2503 } 2504 public static Builder newBuilder(org.sonar.batch.protocol.input.BatchInput.User prototype) { 2505 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 2506 } 2507 public Builder toBuilder() { 2508 return this == DEFAULT_INSTANCE 2509 ? new Builder() : new Builder().mergeFrom(this); 2510 } 2511 2512 @java.lang.Override 2513 protected Builder newBuilderForType( 2514 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 2515 Builder builder = new Builder(parent); 2516 return builder; 2517 } 2518 /** 2519 * Protobuf type {@code User} 2520 */ 2521 public static final class Builder extends 2522 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 2523 // @@protoc_insertion_point(builder_implements:User) 2524 org.sonar.batch.protocol.input.BatchInput.UserOrBuilder { 2525 public static final com.google.protobuf.Descriptors.Descriptor 2526 getDescriptor() { 2527 return org.sonar.batch.protocol.input.BatchInput.internal_static_User_descriptor; 2528 } 2529 2530 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 2531 internalGetFieldAccessorTable() { 2532 return org.sonar.batch.protocol.input.BatchInput.internal_static_User_fieldAccessorTable 2533 .ensureFieldAccessorsInitialized( 2534 org.sonar.batch.protocol.input.BatchInput.User.class, org.sonar.batch.protocol.input.BatchInput.User.Builder.class); 2535 } 2536 2537 // Construct using org.sonar.batch.protocol.input.BatchInput.User.newBuilder() 2538 private Builder() { 2539 maybeForceBuilderInitialization(); 2540 } 2541 2542 private Builder( 2543 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 2544 super(parent); 2545 maybeForceBuilderInitialization(); 2546 } 2547 private void maybeForceBuilderInitialization() { 2548 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 2549 } 2550 } 2551 public Builder clear() { 2552 super.clear(); 2553 login_ = ""; 2554 bitField0_ = (bitField0_ & ~0x00000001); 2555 name_ = ""; 2556 bitField0_ = (bitField0_ & ~0x00000002); 2557 return this; 2558 } 2559 2560 public com.google.protobuf.Descriptors.Descriptor 2561 getDescriptorForType() { 2562 return org.sonar.batch.protocol.input.BatchInput.internal_static_User_descriptor; 2563 } 2564 2565 public org.sonar.batch.protocol.input.BatchInput.User getDefaultInstanceForType() { 2566 return org.sonar.batch.protocol.input.BatchInput.User.getDefaultInstance(); 2567 } 2568 2569 public org.sonar.batch.protocol.input.BatchInput.User build() { 2570 org.sonar.batch.protocol.input.BatchInput.User result = buildPartial(); 2571 if (!result.isInitialized()) { 2572 throw newUninitializedMessageException(result); 2573 } 2574 return result; 2575 } 2576 2577 public org.sonar.batch.protocol.input.BatchInput.User buildPartial() { 2578 org.sonar.batch.protocol.input.BatchInput.User result = new org.sonar.batch.protocol.input.BatchInput.User(this); 2579 int from_bitField0_ = bitField0_; 2580 int to_bitField0_ = 0; 2581 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 2582 to_bitField0_ |= 0x00000001; 2583 } 2584 result.login_ = login_; 2585 if (((from_bitField0_ & 0x00000002) == 0x00000002)) { 2586 to_bitField0_ |= 0x00000002; 2587 } 2588 result.name_ = name_; 2589 result.bitField0_ = to_bitField0_; 2590 onBuilt(); 2591 return result; 2592 } 2593 2594 public Builder mergeFrom(com.google.protobuf.Message other) { 2595 if (other instanceof org.sonar.batch.protocol.input.BatchInput.User) { 2596 return mergeFrom((org.sonar.batch.protocol.input.BatchInput.User)other); 2597 } else { 2598 super.mergeFrom(other); 2599 return this; 2600 } 2601 } 2602 2603 public Builder mergeFrom(org.sonar.batch.protocol.input.BatchInput.User other) { 2604 if (other == org.sonar.batch.protocol.input.BatchInput.User.getDefaultInstance()) return this; 2605 if (other.hasLogin()) { 2606 bitField0_ |= 0x00000001; 2607 login_ = other.login_; 2608 onChanged(); 2609 } 2610 if (other.hasName()) { 2611 bitField0_ |= 0x00000002; 2612 name_ = other.name_; 2613 onChanged(); 2614 } 2615 this.mergeUnknownFields(other.unknownFields); 2616 onChanged(); 2617 return this; 2618 } 2619 2620 public final boolean isInitialized() { 2621 return true; 2622 } 2623 2624 public Builder mergeFrom( 2625 com.google.protobuf.CodedInputStream input, 2626 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2627 throws java.io.IOException { 2628 org.sonar.batch.protocol.input.BatchInput.User parsedMessage = null; 2629 try { 2630 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 2631 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 2632 parsedMessage = (org.sonar.batch.protocol.input.BatchInput.User) e.getUnfinishedMessage(); 2633 throw e; 2634 } finally { 2635 if (parsedMessage != null) { 2636 mergeFrom(parsedMessage); 2637 } 2638 } 2639 return this; 2640 } 2641 private int bitField0_; 2642 2643 private java.lang.Object login_ = ""; 2644 /** 2645 * <code>optional string login = 1;</code> 2646 */ 2647 public boolean hasLogin() { 2648 return ((bitField0_ & 0x00000001) == 0x00000001); 2649 } 2650 /** 2651 * <code>optional string login = 1;</code> 2652 */ 2653 public java.lang.String getLogin() { 2654 java.lang.Object ref = login_; 2655 if (!(ref instanceof java.lang.String)) { 2656 com.google.protobuf.ByteString bs = 2657 (com.google.protobuf.ByteString) ref; 2658 java.lang.String s = bs.toStringUtf8(); 2659 if (bs.isValidUtf8()) { 2660 login_ = s; 2661 } 2662 return s; 2663 } else { 2664 return (java.lang.String) ref; 2665 } 2666 } 2667 /** 2668 * <code>optional string login = 1;</code> 2669 */ 2670 public com.google.protobuf.ByteString 2671 getLoginBytes() { 2672 java.lang.Object ref = login_; 2673 if (ref instanceof String) { 2674 com.google.protobuf.ByteString b = 2675 com.google.protobuf.ByteString.copyFromUtf8( 2676 (java.lang.String) ref); 2677 login_ = b; 2678 return b; 2679 } else { 2680 return (com.google.protobuf.ByteString) ref; 2681 } 2682 } 2683 /** 2684 * <code>optional string login = 1;</code> 2685 */ 2686 public Builder setLogin( 2687 java.lang.String value) { 2688 if (value == null) { 2689 throw new NullPointerException(); 2690 } 2691 bitField0_ |= 0x00000001; 2692 login_ = value; 2693 onChanged(); 2694 return this; 2695 } 2696 /** 2697 * <code>optional string login = 1;</code> 2698 */ 2699 public Builder clearLogin() { 2700 bitField0_ = (bitField0_ & ~0x00000001); 2701 login_ = getDefaultInstance().getLogin(); 2702 onChanged(); 2703 return this; 2704 } 2705 /** 2706 * <code>optional string login = 1;</code> 2707 */ 2708 public Builder setLoginBytes( 2709 com.google.protobuf.ByteString value) { 2710 if (value == null) { 2711 throw new NullPointerException(); 2712 } 2713 bitField0_ |= 0x00000001; 2714 login_ = value; 2715 onChanged(); 2716 return this; 2717 } 2718 2719 private java.lang.Object name_ = ""; 2720 /** 2721 * <code>optional string name = 2;</code> 2722 */ 2723 public boolean hasName() { 2724 return ((bitField0_ & 0x00000002) == 0x00000002); 2725 } 2726 /** 2727 * <code>optional string name = 2;</code> 2728 */ 2729 public java.lang.String getName() { 2730 java.lang.Object ref = name_; 2731 if (!(ref instanceof java.lang.String)) { 2732 com.google.protobuf.ByteString bs = 2733 (com.google.protobuf.ByteString) ref; 2734 java.lang.String s = bs.toStringUtf8(); 2735 if (bs.isValidUtf8()) { 2736 name_ = s; 2737 } 2738 return s; 2739 } else { 2740 return (java.lang.String) ref; 2741 } 2742 } 2743 /** 2744 * <code>optional string name = 2;</code> 2745 */ 2746 public com.google.protobuf.ByteString 2747 getNameBytes() { 2748 java.lang.Object ref = name_; 2749 if (ref instanceof String) { 2750 com.google.protobuf.ByteString b = 2751 com.google.protobuf.ByteString.copyFromUtf8( 2752 (java.lang.String) ref); 2753 name_ = b; 2754 return b; 2755 } else { 2756 return (com.google.protobuf.ByteString) ref; 2757 } 2758 } 2759 /** 2760 * <code>optional string name = 2;</code> 2761 */ 2762 public Builder setName( 2763 java.lang.String value) { 2764 if (value == null) { 2765 throw new NullPointerException(); 2766 } 2767 bitField0_ |= 0x00000002; 2768 name_ = value; 2769 onChanged(); 2770 return this; 2771 } 2772 /** 2773 * <code>optional string name = 2;</code> 2774 */ 2775 public Builder clearName() { 2776 bitField0_ = (bitField0_ & ~0x00000002); 2777 name_ = getDefaultInstance().getName(); 2778 onChanged(); 2779 return this; 2780 } 2781 /** 2782 * <code>optional string name = 2;</code> 2783 */ 2784 public Builder setNameBytes( 2785 com.google.protobuf.ByteString value) { 2786 if (value == null) { 2787 throw new NullPointerException(); 2788 } 2789 bitField0_ |= 0x00000002; 2790 name_ = value; 2791 onChanged(); 2792 return this; 2793 } 2794 2795 // @@protoc_insertion_point(builder_scope:User) 2796 } 2797 2798 // @@protoc_insertion_point(class_scope:User) 2799 private static final org.sonar.batch.protocol.input.BatchInput.User DEFAULT_INSTANCE; 2800 static { 2801 DEFAULT_INSTANCE = new org.sonar.batch.protocol.input.BatchInput.User(); 2802 } 2803 2804 public static org.sonar.batch.protocol.input.BatchInput.User getDefaultInstance() { 2805 return DEFAULT_INSTANCE; 2806 } 2807 2808 @java.lang.Deprecated public static final com.google.protobuf.Parser<User> 2809 PARSER = new com.google.protobuf.AbstractParser<User>() { 2810 public User parsePartialFrom( 2811 com.google.protobuf.CodedInputStream input, 2812 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2813 throws com.google.protobuf.InvalidProtocolBufferException { 2814 try { 2815 return new User(input, extensionRegistry); 2816 } catch (RuntimeException e) { 2817 if (e.getCause() instanceof 2818 com.google.protobuf.InvalidProtocolBufferException) { 2819 throw (com.google.protobuf.InvalidProtocolBufferException) 2820 e.getCause(); 2821 } 2822 throw e; 2823 } 2824 } 2825 }; 2826 2827 public static com.google.protobuf.Parser<User> parser() { 2828 return PARSER; 2829 } 2830 2831 @java.lang.Override 2832 public com.google.protobuf.Parser<User> getParserForType() { 2833 return PARSER; 2834 } 2835 2836 public org.sonar.batch.protocol.input.BatchInput.User getDefaultInstanceForType() { 2837 return DEFAULT_INSTANCE; 2838 } 2839 2840 } 2841 2842 private static com.google.protobuf.Descriptors.Descriptor 2843 internal_static_ServerIssue_descriptor; 2844 private static 2845 com.google.protobuf.GeneratedMessage.FieldAccessorTable 2846 internal_static_ServerIssue_fieldAccessorTable; 2847 private static com.google.protobuf.Descriptors.Descriptor 2848 internal_static_User_descriptor; 2849 private static 2850 com.google.protobuf.GeneratedMessage.FieldAccessorTable 2851 internal_static_User_fieldAccessorTable; 2852 2853 public static com.google.protobuf.Descriptors.FileDescriptor 2854 getDescriptor() { 2855 return descriptor; 2856 } 2857 private static com.google.protobuf.Descriptors.FileDescriptor 2858 descriptor; 2859 static { 2860 java.lang.String[] descriptorData = { 2861 "\n\021batch_input.proto\032\017constants.proto\"\235\002\n" + 2862 "\013ServerIssue\022\013\n\003key\030\001 \001(\t\022\022\n\nmodule_key\030" + 2863 "\002 \001(\t\022\014\n\004path\030\003 \001(\t\022\027\n\017rule_repository\030\004" + 2864 " \001(\t\022\020\n\010rule_key\030\005 \001(\t\022\014\n\004line\030\006 \001(\005\022\013\n\003" + 2865 "msg\030\007 \001(\t\022\033\n\010severity\030\010 \001(\0162\t.Severity\022\027" + 2866 "\n\017manual_severity\030\t \001(\010\022\022\n\nresolution\030\n " + 2867 "\001(\t\022\016\n\006status\030\013 \001(\t\022\020\n\010checksum\030\014 \001(\t\022\026\n" + 2868 "\016assignee_login\030\r \001(\t\022\025\n\rcreation_date\030\016" + 2869 " \001(\003\"#\n\004User\022\r\n\005login\030\001 \001(\t\022\014\n\004name\030\002 \001(" + 2870 "\tB\"\n\036org.sonar.batch.protocol.inputH\001" 2871 }; 2872 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = 2873 new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { 2874 public com.google.protobuf.ExtensionRegistry assignDescriptors( 2875 com.google.protobuf.Descriptors.FileDescriptor root) { 2876 descriptor = root; 2877 return null; 2878 } 2879 }; 2880 com.google.protobuf.Descriptors.FileDescriptor 2881 .internalBuildGeneratedFileFrom(descriptorData, 2882 new com.google.protobuf.Descriptors.FileDescriptor[] { 2883 org.sonar.batch.protocol.Constants.getDescriptor(), 2884 }, assigner); 2885 internal_static_ServerIssue_descriptor = 2886 getDescriptor().getMessageTypes().get(0); 2887 internal_static_ServerIssue_fieldAccessorTable = new 2888 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 2889 internal_static_ServerIssue_descriptor, 2890 new java.lang.String[] { "Key", "ModuleKey", "Path", "RuleRepository", "RuleKey", "Line", "Msg", "Severity", "ManualSeverity", "Resolution", "Status", "Checksum", "AssigneeLogin", "CreationDate", }); 2891 internal_static_User_descriptor = 2892 getDescriptor().getMessageTypes().get(1); 2893 internal_static_User_fieldAccessorTable = new 2894 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 2895 internal_static_User_descriptor, 2896 new java.lang.String[] { "Login", "Name", }); 2897 org.sonar.batch.protocol.Constants.getDescriptor(); 2898 } 2899 2900 // @@protoc_insertion_point(outer_class_scope) 2901}