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 output.writeBytes(1, getKeyBytes()); 853 } 854 if (((bitField0_ & 0x00000002) == 0x00000002)) { 855 output.writeBytes(2, getModuleKeyBytes()); 856 } 857 if (((bitField0_ & 0x00000004) == 0x00000004)) { 858 output.writeBytes(3, getPathBytes()); 859 } 860 if (((bitField0_ & 0x00000008) == 0x00000008)) { 861 output.writeBytes(4, getRuleRepositoryBytes()); 862 } 863 if (((bitField0_ & 0x00000010) == 0x00000010)) { 864 output.writeBytes(5, getRuleKeyBytes()); 865 } 866 if (((bitField0_ & 0x00000020) == 0x00000020)) { 867 output.writeInt32(6, line_); 868 } 869 if (((bitField0_ & 0x00000040) == 0x00000040)) { 870 output.writeBytes(7, getMsgBytes()); 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 output.writeBytes(10, getResolutionBytes()); 880 } 881 if (((bitField0_ & 0x00000400) == 0x00000400)) { 882 output.writeBytes(11, getStatusBytes()); 883 } 884 if (((bitField0_ & 0x00000800) == 0x00000800)) { 885 output.writeBytes(12, getChecksumBytes()); 886 } 887 if (((bitField0_ & 0x00001000) == 0x00001000)) { 888 output.writeBytes(13, getAssigneeLoginBytes()); 889 } 890 if (((bitField0_ & 0x00002000) == 0x00002000)) { 891 output.writeInt64(14, creationDate_); 892 } 893 unknownFields.writeTo(output); 894 } 895 896 private int memoizedSerializedSize = -1; 897 public int getSerializedSize() { 898 int size = memoizedSerializedSize; 899 if (size != -1) return size; 900 901 size = 0; 902 if (((bitField0_ & 0x00000001) == 0x00000001)) { 903 size += com.google.protobuf.CodedOutputStream 904 .computeBytesSize(1, getKeyBytes()); 905 } 906 if (((bitField0_ & 0x00000002) == 0x00000002)) { 907 size += com.google.protobuf.CodedOutputStream 908 .computeBytesSize(2, getModuleKeyBytes()); 909 } 910 if (((bitField0_ & 0x00000004) == 0x00000004)) { 911 size += com.google.protobuf.CodedOutputStream 912 .computeBytesSize(3, getPathBytes()); 913 } 914 if (((bitField0_ & 0x00000008) == 0x00000008)) { 915 size += com.google.protobuf.CodedOutputStream 916 .computeBytesSize(4, getRuleRepositoryBytes()); 917 } 918 if (((bitField0_ & 0x00000010) == 0x00000010)) { 919 size += com.google.protobuf.CodedOutputStream 920 .computeBytesSize(5, getRuleKeyBytes()); 921 } 922 if (((bitField0_ & 0x00000020) == 0x00000020)) { 923 size += com.google.protobuf.CodedOutputStream 924 .computeInt32Size(6, line_); 925 } 926 if (((bitField0_ & 0x00000040) == 0x00000040)) { 927 size += com.google.protobuf.CodedOutputStream 928 .computeBytesSize(7, getMsgBytes()); 929 } 930 if (((bitField0_ & 0x00000080) == 0x00000080)) { 931 size += com.google.protobuf.CodedOutputStream 932 .computeEnumSize(8, severity_); 933 } 934 if (((bitField0_ & 0x00000100) == 0x00000100)) { 935 size += com.google.protobuf.CodedOutputStream 936 .computeBoolSize(9, manualSeverity_); 937 } 938 if (((bitField0_ & 0x00000200) == 0x00000200)) { 939 size += com.google.protobuf.CodedOutputStream 940 .computeBytesSize(10, getResolutionBytes()); 941 } 942 if (((bitField0_ & 0x00000400) == 0x00000400)) { 943 size += com.google.protobuf.CodedOutputStream 944 .computeBytesSize(11, getStatusBytes()); 945 } 946 if (((bitField0_ & 0x00000800) == 0x00000800)) { 947 size += com.google.protobuf.CodedOutputStream 948 .computeBytesSize(12, getChecksumBytes()); 949 } 950 if (((bitField0_ & 0x00001000) == 0x00001000)) { 951 size += com.google.protobuf.CodedOutputStream 952 .computeBytesSize(13, getAssigneeLoginBytes()); 953 } 954 if (((bitField0_ & 0x00002000) == 0x00002000)) { 955 size += com.google.protobuf.CodedOutputStream 956 .computeInt64Size(14, creationDate_); 957 } 958 size += unknownFields.getSerializedSize(); 959 memoizedSerializedSize = size; 960 return size; 961 } 962 963 private static final long serialVersionUID = 0L; 964 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseFrom( 965 com.google.protobuf.ByteString data) 966 throws com.google.protobuf.InvalidProtocolBufferException { 967 return PARSER.parseFrom(data); 968 } 969 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseFrom( 970 com.google.protobuf.ByteString data, 971 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 972 throws com.google.protobuf.InvalidProtocolBufferException { 973 return PARSER.parseFrom(data, extensionRegistry); 974 } 975 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseFrom(byte[] data) 976 throws com.google.protobuf.InvalidProtocolBufferException { 977 return PARSER.parseFrom(data); 978 } 979 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseFrom( 980 byte[] data, 981 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 982 throws com.google.protobuf.InvalidProtocolBufferException { 983 return PARSER.parseFrom(data, extensionRegistry); 984 } 985 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseFrom(java.io.InputStream input) 986 throws java.io.IOException { 987 return PARSER.parseFrom(input); 988 } 989 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseFrom( 990 java.io.InputStream input, 991 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 992 throws java.io.IOException { 993 return PARSER.parseFrom(input, extensionRegistry); 994 } 995 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseDelimitedFrom(java.io.InputStream input) 996 throws java.io.IOException { 997 return PARSER.parseDelimitedFrom(input); 998 } 999 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseDelimitedFrom( 1000 java.io.InputStream input, 1001 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1002 throws java.io.IOException { 1003 return PARSER.parseDelimitedFrom(input, extensionRegistry); 1004 } 1005 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseFrom( 1006 com.google.protobuf.CodedInputStream input) 1007 throws java.io.IOException { 1008 return PARSER.parseFrom(input); 1009 } 1010 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseFrom( 1011 com.google.protobuf.CodedInputStream input, 1012 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1013 throws java.io.IOException { 1014 return PARSER.parseFrom(input, extensionRegistry); 1015 } 1016 1017 public Builder newBuilderForType() { return newBuilder(); } 1018 public static Builder newBuilder() { 1019 return DEFAULT_INSTANCE.toBuilder(); 1020 } 1021 public static Builder newBuilder(org.sonar.batch.protocol.input.BatchInput.ServerIssue prototype) { 1022 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 1023 } 1024 public Builder toBuilder() { 1025 return this == DEFAULT_INSTANCE 1026 ? new Builder() : new Builder().mergeFrom(this); 1027 } 1028 1029 @java.lang.Override 1030 protected Builder newBuilderForType( 1031 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 1032 Builder builder = new Builder(parent); 1033 return builder; 1034 } 1035 /** 1036 * Protobuf type {@code ServerIssue} 1037 */ 1038 public static final class Builder extends 1039 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 1040 // @@protoc_insertion_point(builder_implements:ServerIssue) 1041 org.sonar.batch.protocol.input.BatchInput.ServerIssueOrBuilder { 1042 public static final com.google.protobuf.Descriptors.Descriptor 1043 getDescriptor() { 1044 return org.sonar.batch.protocol.input.BatchInput.internal_static_ServerIssue_descriptor; 1045 } 1046 1047 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 1048 internalGetFieldAccessorTable() { 1049 return org.sonar.batch.protocol.input.BatchInput.internal_static_ServerIssue_fieldAccessorTable 1050 .ensureFieldAccessorsInitialized( 1051 org.sonar.batch.protocol.input.BatchInput.ServerIssue.class, org.sonar.batch.protocol.input.BatchInput.ServerIssue.Builder.class); 1052 } 1053 1054 // Construct using org.sonar.batch.protocol.input.BatchInput.ServerIssue.newBuilder() 1055 private Builder() { 1056 maybeForceBuilderInitialization(); 1057 } 1058 1059 private Builder( 1060 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 1061 super(parent); 1062 maybeForceBuilderInitialization(); 1063 } 1064 private void maybeForceBuilderInitialization() { 1065 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 1066 } 1067 } 1068 public Builder clear() { 1069 super.clear(); 1070 key_ = ""; 1071 bitField0_ = (bitField0_ & ~0x00000001); 1072 moduleKey_ = ""; 1073 bitField0_ = (bitField0_ & ~0x00000002); 1074 path_ = ""; 1075 bitField0_ = (bitField0_ & ~0x00000004); 1076 ruleRepository_ = ""; 1077 bitField0_ = (bitField0_ & ~0x00000008); 1078 ruleKey_ = ""; 1079 bitField0_ = (bitField0_ & ~0x00000010); 1080 line_ = 0; 1081 bitField0_ = (bitField0_ & ~0x00000020); 1082 msg_ = ""; 1083 bitField0_ = (bitField0_ & ~0x00000040); 1084 severity_ = 0; 1085 bitField0_ = (bitField0_ & ~0x00000080); 1086 manualSeverity_ = false; 1087 bitField0_ = (bitField0_ & ~0x00000100); 1088 resolution_ = ""; 1089 bitField0_ = (bitField0_ & ~0x00000200); 1090 status_ = ""; 1091 bitField0_ = (bitField0_ & ~0x00000400); 1092 checksum_ = ""; 1093 bitField0_ = (bitField0_ & ~0x00000800); 1094 assigneeLogin_ = ""; 1095 bitField0_ = (bitField0_ & ~0x00001000); 1096 creationDate_ = 0L; 1097 bitField0_ = (bitField0_ & ~0x00002000); 1098 return this; 1099 } 1100 1101 public com.google.protobuf.Descriptors.Descriptor 1102 getDescriptorForType() { 1103 return org.sonar.batch.protocol.input.BatchInput.internal_static_ServerIssue_descriptor; 1104 } 1105 1106 public org.sonar.batch.protocol.input.BatchInput.ServerIssue getDefaultInstanceForType() { 1107 return org.sonar.batch.protocol.input.BatchInput.ServerIssue.getDefaultInstance(); 1108 } 1109 1110 public org.sonar.batch.protocol.input.BatchInput.ServerIssue build() { 1111 org.sonar.batch.protocol.input.BatchInput.ServerIssue result = buildPartial(); 1112 if (!result.isInitialized()) { 1113 throw newUninitializedMessageException(result); 1114 } 1115 return result; 1116 } 1117 1118 public org.sonar.batch.protocol.input.BatchInput.ServerIssue buildPartial() { 1119 org.sonar.batch.protocol.input.BatchInput.ServerIssue result = new org.sonar.batch.protocol.input.BatchInput.ServerIssue(this); 1120 int from_bitField0_ = bitField0_; 1121 int to_bitField0_ = 0; 1122 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 1123 to_bitField0_ |= 0x00000001; 1124 } 1125 result.key_ = key_; 1126 if (((from_bitField0_ & 0x00000002) == 0x00000002)) { 1127 to_bitField0_ |= 0x00000002; 1128 } 1129 result.moduleKey_ = moduleKey_; 1130 if (((from_bitField0_ & 0x00000004) == 0x00000004)) { 1131 to_bitField0_ |= 0x00000004; 1132 } 1133 result.path_ = path_; 1134 if (((from_bitField0_ & 0x00000008) == 0x00000008)) { 1135 to_bitField0_ |= 0x00000008; 1136 } 1137 result.ruleRepository_ = ruleRepository_; 1138 if (((from_bitField0_ & 0x00000010) == 0x00000010)) { 1139 to_bitField0_ |= 0x00000010; 1140 } 1141 result.ruleKey_ = ruleKey_; 1142 if (((from_bitField0_ & 0x00000020) == 0x00000020)) { 1143 to_bitField0_ |= 0x00000020; 1144 } 1145 result.line_ = line_; 1146 if (((from_bitField0_ & 0x00000040) == 0x00000040)) { 1147 to_bitField0_ |= 0x00000040; 1148 } 1149 result.msg_ = msg_; 1150 if (((from_bitField0_ & 0x00000080) == 0x00000080)) { 1151 to_bitField0_ |= 0x00000080; 1152 } 1153 result.severity_ = severity_; 1154 if (((from_bitField0_ & 0x00000100) == 0x00000100)) { 1155 to_bitField0_ |= 0x00000100; 1156 } 1157 result.manualSeverity_ = manualSeverity_; 1158 if (((from_bitField0_ & 0x00000200) == 0x00000200)) { 1159 to_bitField0_ |= 0x00000200; 1160 } 1161 result.resolution_ = resolution_; 1162 if (((from_bitField0_ & 0x00000400) == 0x00000400)) { 1163 to_bitField0_ |= 0x00000400; 1164 } 1165 result.status_ = status_; 1166 if (((from_bitField0_ & 0x00000800) == 0x00000800)) { 1167 to_bitField0_ |= 0x00000800; 1168 } 1169 result.checksum_ = checksum_; 1170 if (((from_bitField0_ & 0x00001000) == 0x00001000)) { 1171 to_bitField0_ |= 0x00001000; 1172 } 1173 result.assigneeLogin_ = assigneeLogin_; 1174 if (((from_bitField0_ & 0x00002000) == 0x00002000)) { 1175 to_bitField0_ |= 0x00002000; 1176 } 1177 result.creationDate_ = creationDate_; 1178 result.bitField0_ = to_bitField0_; 1179 onBuilt(); 1180 return result; 1181 } 1182 1183 public Builder mergeFrom(com.google.protobuf.Message other) { 1184 if (other instanceof org.sonar.batch.protocol.input.BatchInput.ServerIssue) { 1185 return mergeFrom((org.sonar.batch.protocol.input.BatchInput.ServerIssue)other); 1186 } else { 1187 super.mergeFrom(other); 1188 return this; 1189 } 1190 } 1191 1192 public Builder mergeFrom(org.sonar.batch.protocol.input.BatchInput.ServerIssue other) { 1193 if (other == org.sonar.batch.protocol.input.BatchInput.ServerIssue.getDefaultInstance()) return this; 1194 if (other.hasKey()) { 1195 bitField0_ |= 0x00000001; 1196 key_ = other.key_; 1197 onChanged(); 1198 } 1199 if (other.hasModuleKey()) { 1200 bitField0_ |= 0x00000002; 1201 moduleKey_ = other.moduleKey_; 1202 onChanged(); 1203 } 1204 if (other.hasPath()) { 1205 bitField0_ |= 0x00000004; 1206 path_ = other.path_; 1207 onChanged(); 1208 } 1209 if (other.hasRuleRepository()) { 1210 bitField0_ |= 0x00000008; 1211 ruleRepository_ = other.ruleRepository_; 1212 onChanged(); 1213 } 1214 if (other.hasRuleKey()) { 1215 bitField0_ |= 0x00000010; 1216 ruleKey_ = other.ruleKey_; 1217 onChanged(); 1218 } 1219 if (other.hasLine()) { 1220 setLine(other.getLine()); 1221 } 1222 if (other.hasMsg()) { 1223 bitField0_ |= 0x00000040; 1224 msg_ = other.msg_; 1225 onChanged(); 1226 } 1227 if (other.hasSeverity()) { 1228 setSeverity(other.getSeverity()); 1229 } 1230 if (other.hasManualSeverity()) { 1231 setManualSeverity(other.getManualSeverity()); 1232 } 1233 if (other.hasResolution()) { 1234 bitField0_ |= 0x00000200; 1235 resolution_ = other.resolution_; 1236 onChanged(); 1237 } 1238 if (other.hasStatus()) { 1239 bitField0_ |= 0x00000400; 1240 status_ = other.status_; 1241 onChanged(); 1242 } 1243 if (other.hasChecksum()) { 1244 bitField0_ |= 0x00000800; 1245 checksum_ = other.checksum_; 1246 onChanged(); 1247 } 1248 if (other.hasAssigneeLogin()) { 1249 bitField0_ |= 0x00001000; 1250 assigneeLogin_ = other.assigneeLogin_; 1251 onChanged(); 1252 } 1253 if (other.hasCreationDate()) { 1254 setCreationDate(other.getCreationDate()); 1255 } 1256 this.mergeUnknownFields(other.unknownFields); 1257 onChanged(); 1258 return this; 1259 } 1260 1261 public final boolean isInitialized() { 1262 return true; 1263 } 1264 1265 public Builder mergeFrom( 1266 com.google.protobuf.CodedInputStream input, 1267 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1268 throws java.io.IOException { 1269 org.sonar.batch.protocol.input.BatchInput.ServerIssue parsedMessage = null; 1270 try { 1271 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 1272 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 1273 parsedMessage = (org.sonar.batch.protocol.input.BatchInput.ServerIssue) e.getUnfinishedMessage(); 1274 throw e; 1275 } finally { 1276 if (parsedMessage != null) { 1277 mergeFrom(parsedMessage); 1278 } 1279 } 1280 return this; 1281 } 1282 private int bitField0_; 1283 1284 private java.lang.Object key_ = ""; 1285 /** 1286 * <code>optional string key = 1;</code> 1287 */ 1288 public boolean hasKey() { 1289 return ((bitField0_ & 0x00000001) == 0x00000001); 1290 } 1291 /** 1292 * <code>optional string key = 1;</code> 1293 */ 1294 public java.lang.String getKey() { 1295 java.lang.Object ref = key_; 1296 if (!(ref instanceof java.lang.String)) { 1297 com.google.protobuf.ByteString bs = 1298 (com.google.protobuf.ByteString) ref; 1299 java.lang.String s = bs.toStringUtf8(); 1300 if (bs.isValidUtf8()) { 1301 key_ = s; 1302 } 1303 return s; 1304 } else { 1305 return (java.lang.String) ref; 1306 } 1307 } 1308 /** 1309 * <code>optional string key = 1;</code> 1310 */ 1311 public com.google.protobuf.ByteString 1312 getKeyBytes() { 1313 java.lang.Object ref = key_; 1314 if (ref instanceof String) { 1315 com.google.protobuf.ByteString b = 1316 com.google.protobuf.ByteString.copyFromUtf8( 1317 (java.lang.String) ref); 1318 key_ = b; 1319 return b; 1320 } else { 1321 return (com.google.protobuf.ByteString) ref; 1322 } 1323 } 1324 /** 1325 * <code>optional string key = 1;</code> 1326 */ 1327 public Builder setKey( 1328 java.lang.String value) { 1329 if (value == null) { 1330 throw new NullPointerException(); 1331 } 1332 bitField0_ |= 0x00000001; 1333 key_ = value; 1334 onChanged(); 1335 return this; 1336 } 1337 /** 1338 * <code>optional string key = 1;</code> 1339 */ 1340 public Builder clearKey() { 1341 bitField0_ = (bitField0_ & ~0x00000001); 1342 key_ = getDefaultInstance().getKey(); 1343 onChanged(); 1344 return this; 1345 } 1346 /** 1347 * <code>optional string key = 1;</code> 1348 */ 1349 public Builder setKeyBytes( 1350 com.google.protobuf.ByteString value) { 1351 if (value == null) { 1352 throw new NullPointerException(); 1353 } 1354 bitField0_ |= 0x00000001; 1355 key_ = value; 1356 onChanged(); 1357 return this; 1358 } 1359 1360 private java.lang.Object moduleKey_ = ""; 1361 /** 1362 * <code>optional string module_key = 2;</code> 1363 */ 1364 public boolean hasModuleKey() { 1365 return ((bitField0_ & 0x00000002) == 0x00000002); 1366 } 1367 /** 1368 * <code>optional string module_key = 2;</code> 1369 */ 1370 public java.lang.String getModuleKey() { 1371 java.lang.Object ref = moduleKey_; 1372 if (!(ref instanceof java.lang.String)) { 1373 com.google.protobuf.ByteString bs = 1374 (com.google.protobuf.ByteString) ref; 1375 java.lang.String s = bs.toStringUtf8(); 1376 if (bs.isValidUtf8()) { 1377 moduleKey_ = s; 1378 } 1379 return s; 1380 } else { 1381 return (java.lang.String) ref; 1382 } 1383 } 1384 /** 1385 * <code>optional string module_key = 2;</code> 1386 */ 1387 public com.google.protobuf.ByteString 1388 getModuleKeyBytes() { 1389 java.lang.Object ref = moduleKey_; 1390 if (ref instanceof String) { 1391 com.google.protobuf.ByteString b = 1392 com.google.protobuf.ByteString.copyFromUtf8( 1393 (java.lang.String) ref); 1394 moduleKey_ = b; 1395 return b; 1396 } else { 1397 return (com.google.protobuf.ByteString) ref; 1398 } 1399 } 1400 /** 1401 * <code>optional string module_key = 2;</code> 1402 */ 1403 public Builder setModuleKey( 1404 java.lang.String value) { 1405 if (value == null) { 1406 throw new NullPointerException(); 1407 } 1408 bitField0_ |= 0x00000002; 1409 moduleKey_ = value; 1410 onChanged(); 1411 return this; 1412 } 1413 /** 1414 * <code>optional string module_key = 2;</code> 1415 */ 1416 public Builder clearModuleKey() { 1417 bitField0_ = (bitField0_ & ~0x00000002); 1418 moduleKey_ = getDefaultInstance().getModuleKey(); 1419 onChanged(); 1420 return this; 1421 } 1422 /** 1423 * <code>optional string module_key = 2;</code> 1424 */ 1425 public Builder setModuleKeyBytes( 1426 com.google.protobuf.ByteString value) { 1427 if (value == null) { 1428 throw new NullPointerException(); 1429 } 1430 bitField0_ |= 0x00000002; 1431 moduleKey_ = value; 1432 onChanged(); 1433 return this; 1434 } 1435 1436 private java.lang.Object path_ = ""; 1437 /** 1438 * <code>optional string path = 3;</code> 1439 */ 1440 public boolean hasPath() { 1441 return ((bitField0_ & 0x00000004) == 0x00000004); 1442 } 1443 /** 1444 * <code>optional string path = 3;</code> 1445 */ 1446 public java.lang.String getPath() { 1447 java.lang.Object ref = path_; 1448 if (!(ref instanceof java.lang.String)) { 1449 com.google.protobuf.ByteString bs = 1450 (com.google.protobuf.ByteString) ref; 1451 java.lang.String s = bs.toStringUtf8(); 1452 if (bs.isValidUtf8()) { 1453 path_ = s; 1454 } 1455 return s; 1456 } else { 1457 return (java.lang.String) ref; 1458 } 1459 } 1460 /** 1461 * <code>optional string path = 3;</code> 1462 */ 1463 public com.google.protobuf.ByteString 1464 getPathBytes() { 1465 java.lang.Object ref = path_; 1466 if (ref instanceof String) { 1467 com.google.protobuf.ByteString b = 1468 com.google.protobuf.ByteString.copyFromUtf8( 1469 (java.lang.String) ref); 1470 path_ = b; 1471 return b; 1472 } else { 1473 return (com.google.protobuf.ByteString) ref; 1474 } 1475 } 1476 /** 1477 * <code>optional string path = 3;</code> 1478 */ 1479 public Builder setPath( 1480 java.lang.String value) { 1481 if (value == null) { 1482 throw new NullPointerException(); 1483 } 1484 bitField0_ |= 0x00000004; 1485 path_ = value; 1486 onChanged(); 1487 return this; 1488 } 1489 /** 1490 * <code>optional string path = 3;</code> 1491 */ 1492 public Builder clearPath() { 1493 bitField0_ = (bitField0_ & ~0x00000004); 1494 path_ = getDefaultInstance().getPath(); 1495 onChanged(); 1496 return this; 1497 } 1498 /** 1499 * <code>optional string path = 3;</code> 1500 */ 1501 public Builder setPathBytes( 1502 com.google.protobuf.ByteString value) { 1503 if (value == null) { 1504 throw new NullPointerException(); 1505 } 1506 bitField0_ |= 0x00000004; 1507 path_ = value; 1508 onChanged(); 1509 return this; 1510 } 1511 1512 private java.lang.Object ruleRepository_ = ""; 1513 /** 1514 * <code>optional string rule_repository = 4;</code> 1515 */ 1516 public boolean hasRuleRepository() { 1517 return ((bitField0_ & 0x00000008) == 0x00000008); 1518 } 1519 /** 1520 * <code>optional string rule_repository = 4;</code> 1521 */ 1522 public java.lang.String getRuleRepository() { 1523 java.lang.Object ref = ruleRepository_; 1524 if (!(ref instanceof java.lang.String)) { 1525 com.google.protobuf.ByteString bs = 1526 (com.google.protobuf.ByteString) ref; 1527 java.lang.String s = bs.toStringUtf8(); 1528 if (bs.isValidUtf8()) { 1529 ruleRepository_ = s; 1530 } 1531 return s; 1532 } else { 1533 return (java.lang.String) ref; 1534 } 1535 } 1536 /** 1537 * <code>optional string rule_repository = 4;</code> 1538 */ 1539 public com.google.protobuf.ByteString 1540 getRuleRepositoryBytes() { 1541 java.lang.Object ref = ruleRepository_; 1542 if (ref instanceof String) { 1543 com.google.protobuf.ByteString b = 1544 com.google.protobuf.ByteString.copyFromUtf8( 1545 (java.lang.String) ref); 1546 ruleRepository_ = b; 1547 return b; 1548 } else { 1549 return (com.google.protobuf.ByteString) ref; 1550 } 1551 } 1552 /** 1553 * <code>optional string rule_repository = 4;</code> 1554 */ 1555 public Builder setRuleRepository( 1556 java.lang.String value) { 1557 if (value == null) { 1558 throw new NullPointerException(); 1559 } 1560 bitField0_ |= 0x00000008; 1561 ruleRepository_ = value; 1562 onChanged(); 1563 return this; 1564 } 1565 /** 1566 * <code>optional string rule_repository = 4;</code> 1567 */ 1568 public Builder clearRuleRepository() { 1569 bitField0_ = (bitField0_ & ~0x00000008); 1570 ruleRepository_ = getDefaultInstance().getRuleRepository(); 1571 onChanged(); 1572 return this; 1573 } 1574 /** 1575 * <code>optional string rule_repository = 4;</code> 1576 */ 1577 public Builder setRuleRepositoryBytes( 1578 com.google.protobuf.ByteString value) { 1579 if (value == null) { 1580 throw new NullPointerException(); 1581 } 1582 bitField0_ |= 0x00000008; 1583 ruleRepository_ = value; 1584 onChanged(); 1585 return this; 1586 } 1587 1588 private java.lang.Object ruleKey_ = ""; 1589 /** 1590 * <code>optional string rule_key = 5;</code> 1591 */ 1592 public boolean hasRuleKey() { 1593 return ((bitField0_ & 0x00000010) == 0x00000010); 1594 } 1595 /** 1596 * <code>optional string rule_key = 5;</code> 1597 */ 1598 public java.lang.String getRuleKey() { 1599 java.lang.Object ref = ruleKey_; 1600 if (!(ref instanceof java.lang.String)) { 1601 com.google.protobuf.ByteString bs = 1602 (com.google.protobuf.ByteString) ref; 1603 java.lang.String s = bs.toStringUtf8(); 1604 if (bs.isValidUtf8()) { 1605 ruleKey_ = s; 1606 } 1607 return s; 1608 } else { 1609 return (java.lang.String) ref; 1610 } 1611 } 1612 /** 1613 * <code>optional string rule_key = 5;</code> 1614 */ 1615 public com.google.protobuf.ByteString 1616 getRuleKeyBytes() { 1617 java.lang.Object ref = ruleKey_; 1618 if (ref instanceof String) { 1619 com.google.protobuf.ByteString b = 1620 com.google.protobuf.ByteString.copyFromUtf8( 1621 (java.lang.String) ref); 1622 ruleKey_ = b; 1623 return b; 1624 } else { 1625 return (com.google.protobuf.ByteString) ref; 1626 } 1627 } 1628 /** 1629 * <code>optional string rule_key = 5;</code> 1630 */ 1631 public Builder setRuleKey( 1632 java.lang.String value) { 1633 if (value == null) { 1634 throw new NullPointerException(); 1635 } 1636 bitField0_ |= 0x00000010; 1637 ruleKey_ = value; 1638 onChanged(); 1639 return this; 1640 } 1641 /** 1642 * <code>optional string rule_key = 5;</code> 1643 */ 1644 public Builder clearRuleKey() { 1645 bitField0_ = (bitField0_ & ~0x00000010); 1646 ruleKey_ = getDefaultInstance().getRuleKey(); 1647 onChanged(); 1648 return this; 1649 } 1650 /** 1651 * <code>optional string rule_key = 5;</code> 1652 */ 1653 public Builder setRuleKeyBytes( 1654 com.google.protobuf.ByteString value) { 1655 if (value == null) { 1656 throw new NullPointerException(); 1657 } 1658 bitField0_ |= 0x00000010; 1659 ruleKey_ = value; 1660 onChanged(); 1661 return this; 1662 } 1663 1664 private int line_ ; 1665 /** 1666 * <code>optional int32 line = 6;</code> 1667 */ 1668 public boolean hasLine() { 1669 return ((bitField0_ & 0x00000020) == 0x00000020); 1670 } 1671 /** 1672 * <code>optional int32 line = 6;</code> 1673 */ 1674 public int getLine() { 1675 return line_; 1676 } 1677 /** 1678 * <code>optional int32 line = 6;</code> 1679 */ 1680 public Builder setLine(int value) { 1681 bitField0_ |= 0x00000020; 1682 line_ = value; 1683 onChanged(); 1684 return this; 1685 } 1686 /** 1687 * <code>optional int32 line = 6;</code> 1688 */ 1689 public Builder clearLine() { 1690 bitField0_ = (bitField0_ & ~0x00000020); 1691 line_ = 0; 1692 onChanged(); 1693 return this; 1694 } 1695 1696 private java.lang.Object msg_ = ""; 1697 /** 1698 * <code>optional string msg = 7;</code> 1699 */ 1700 public boolean hasMsg() { 1701 return ((bitField0_ & 0x00000040) == 0x00000040); 1702 } 1703 /** 1704 * <code>optional string msg = 7;</code> 1705 */ 1706 public java.lang.String getMsg() { 1707 java.lang.Object ref = msg_; 1708 if (!(ref instanceof java.lang.String)) { 1709 com.google.protobuf.ByteString bs = 1710 (com.google.protobuf.ByteString) ref; 1711 java.lang.String s = bs.toStringUtf8(); 1712 if (bs.isValidUtf8()) { 1713 msg_ = s; 1714 } 1715 return s; 1716 } else { 1717 return (java.lang.String) ref; 1718 } 1719 } 1720 /** 1721 * <code>optional string msg = 7;</code> 1722 */ 1723 public com.google.protobuf.ByteString 1724 getMsgBytes() { 1725 java.lang.Object ref = msg_; 1726 if (ref instanceof String) { 1727 com.google.protobuf.ByteString b = 1728 com.google.protobuf.ByteString.copyFromUtf8( 1729 (java.lang.String) ref); 1730 msg_ = b; 1731 return b; 1732 } else { 1733 return (com.google.protobuf.ByteString) ref; 1734 } 1735 } 1736 /** 1737 * <code>optional string msg = 7;</code> 1738 */ 1739 public Builder setMsg( 1740 java.lang.String value) { 1741 if (value == null) { 1742 throw new NullPointerException(); 1743 } 1744 bitField0_ |= 0x00000040; 1745 msg_ = value; 1746 onChanged(); 1747 return this; 1748 } 1749 /** 1750 * <code>optional string msg = 7;</code> 1751 */ 1752 public Builder clearMsg() { 1753 bitField0_ = (bitField0_ & ~0x00000040); 1754 msg_ = getDefaultInstance().getMsg(); 1755 onChanged(); 1756 return this; 1757 } 1758 /** 1759 * <code>optional string msg = 7;</code> 1760 */ 1761 public Builder setMsgBytes( 1762 com.google.protobuf.ByteString value) { 1763 if (value == null) { 1764 throw new NullPointerException(); 1765 } 1766 bitField0_ |= 0x00000040; 1767 msg_ = value; 1768 onChanged(); 1769 return this; 1770 } 1771 1772 private int severity_ = 0; 1773 /** 1774 * <code>optional .Severity severity = 8;</code> 1775 */ 1776 public boolean hasSeverity() { 1777 return ((bitField0_ & 0x00000080) == 0x00000080); 1778 } 1779 /** 1780 * <code>optional .Severity severity = 8;</code> 1781 */ 1782 public org.sonar.batch.protocol.Constants.Severity getSeverity() { 1783 org.sonar.batch.protocol.Constants.Severity result = org.sonar.batch.protocol.Constants.Severity.valueOf(severity_); 1784 return result == null ? org.sonar.batch.protocol.Constants.Severity.INFO : result; 1785 } 1786 /** 1787 * <code>optional .Severity severity = 8;</code> 1788 */ 1789 public Builder setSeverity(org.sonar.batch.protocol.Constants.Severity value) { 1790 if (value == null) { 1791 throw new NullPointerException(); 1792 } 1793 bitField0_ |= 0x00000080; 1794 severity_ = value.getNumber(); 1795 onChanged(); 1796 return this; 1797 } 1798 /** 1799 * <code>optional .Severity severity = 8;</code> 1800 */ 1801 public Builder clearSeverity() { 1802 bitField0_ = (bitField0_ & ~0x00000080); 1803 severity_ = 0; 1804 onChanged(); 1805 return this; 1806 } 1807 1808 private boolean manualSeverity_ ; 1809 /** 1810 * <code>optional bool manual_severity = 9;</code> 1811 */ 1812 public boolean hasManualSeverity() { 1813 return ((bitField0_ & 0x00000100) == 0x00000100); 1814 } 1815 /** 1816 * <code>optional bool manual_severity = 9;</code> 1817 */ 1818 public boolean getManualSeverity() { 1819 return manualSeverity_; 1820 } 1821 /** 1822 * <code>optional bool manual_severity = 9;</code> 1823 */ 1824 public Builder setManualSeverity(boolean value) { 1825 bitField0_ |= 0x00000100; 1826 manualSeverity_ = value; 1827 onChanged(); 1828 return this; 1829 } 1830 /** 1831 * <code>optional bool manual_severity = 9;</code> 1832 */ 1833 public Builder clearManualSeverity() { 1834 bitField0_ = (bitField0_ & ~0x00000100); 1835 manualSeverity_ = false; 1836 onChanged(); 1837 return this; 1838 } 1839 1840 private java.lang.Object resolution_ = ""; 1841 /** 1842 * <code>optional string resolution = 10;</code> 1843 */ 1844 public boolean hasResolution() { 1845 return ((bitField0_ & 0x00000200) == 0x00000200); 1846 } 1847 /** 1848 * <code>optional string resolution = 10;</code> 1849 */ 1850 public java.lang.String getResolution() { 1851 java.lang.Object ref = resolution_; 1852 if (!(ref instanceof java.lang.String)) { 1853 com.google.protobuf.ByteString bs = 1854 (com.google.protobuf.ByteString) ref; 1855 java.lang.String s = bs.toStringUtf8(); 1856 if (bs.isValidUtf8()) { 1857 resolution_ = s; 1858 } 1859 return s; 1860 } else { 1861 return (java.lang.String) ref; 1862 } 1863 } 1864 /** 1865 * <code>optional string resolution = 10;</code> 1866 */ 1867 public com.google.protobuf.ByteString 1868 getResolutionBytes() { 1869 java.lang.Object ref = resolution_; 1870 if (ref instanceof String) { 1871 com.google.protobuf.ByteString b = 1872 com.google.protobuf.ByteString.copyFromUtf8( 1873 (java.lang.String) ref); 1874 resolution_ = b; 1875 return b; 1876 } else { 1877 return (com.google.protobuf.ByteString) ref; 1878 } 1879 } 1880 /** 1881 * <code>optional string resolution = 10;</code> 1882 */ 1883 public Builder setResolution( 1884 java.lang.String value) { 1885 if (value == null) { 1886 throw new NullPointerException(); 1887 } 1888 bitField0_ |= 0x00000200; 1889 resolution_ = value; 1890 onChanged(); 1891 return this; 1892 } 1893 /** 1894 * <code>optional string resolution = 10;</code> 1895 */ 1896 public Builder clearResolution() { 1897 bitField0_ = (bitField0_ & ~0x00000200); 1898 resolution_ = getDefaultInstance().getResolution(); 1899 onChanged(); 1900 return this; 1901 } 1902 /** 1903 * <code>optional string resolution = 10;</code> 1904 */ 1905 public Builder setResolutionBytes( 1906 com.google.protobuf.ByteString value) { 1907 if (value == null) { 1908 throw new NullPointerException(); 1909 } 1910 bitField0_ |= 0x00000200; 1911 resolution_ = value; 1912 onChanged(); 1913 return this; 1914 } 1915 1916 private java.lang.Object status_ = ""; 1917 /** 1918 * <code>optional string status = 11;</code> 1919 */ 1920 public boolean hasStatus() { 1921 return ((bitField0_ & 0x00000400) == 0x00000400); 1922 } 1923 /** 1924 * <code>optional string status = 11;</code> 1925 */ 1926 public java.lang.String getStatus() { 1927 java.lang.Object ref = status_; 1928 if (!(ref instanceof java.lang.String)) { 1929 com.google.protobuf.ByteString bs = 1930 (com.google.protobuf.ByteString) ref; 1931 java.lang.String s = bs.toStringUtf8(); 1932 if (bs.isValidUtf8()) { 1933 status_ = s; 1934 } 1935 return s; 1936 } else { 1937 return (java.lang.String) ref; 1938 } 1939 } 1940 /** 1941 * <code>optional string status = 11;</code> 1942 */ 1943 public com.google.protobuf.ByteString 1944 getStatusBytes() { 1945 java.lang.Object ref = status_; 1946 if (ref instanceof String) { 1947 com.google.protobuf.ByteString b = 1948 com.google.protobuf.ByteString.copyFromUtf8( 1949 (java.lang.String) ref); 1950 status_ = b; 1951 return b; 1952 } else { 1953 return (com.google.protobuf.ByteString) ref; 1954 } 1955 } 1956 /** 1957 * <code>optional string status = 11;</code> 1958 */ 1959 public Builder setStatus( 1960 java.lang.String value) { 1961 if (value == null) { 1962 throw new NullPointerException(); 1963 } 1964 bitField0_ |= 0x00000400; 1965 status_ = value; 1966 onChanged(); 1967 return this; 1968 } 1969 /** 1970 * <code>optional string status = 11;</code> 1971 */ 1972 public Builder clearStatus() { 1973 bitField0_ = (bitField0_ & ~0x00000400); 1974 status_ = getDefaultInstance().getStatus(); 1975 onChanged(); 1976 return this; 1977 } 1978 /** 1979 * <code>optional string status = 11;</code> 1980 */ 1981 public Builder setStatusBytes( 1982 com.google.protobuf.ByteString value) { 1983 if (value == null) { 1984 throw new NullPointerException(); 1985 } 1986 bitField0_ |= 0x00000400; 1987 status_ = value; 1988 onChanged(); 1989 return this; 1990 } 1991 1992 private java.lang.Object checksum_ = ""; 1993 /** 1994 * <code>optional string checksum = 12;</code> 1995 */ 1996 public boolean hasChecksum() { 1997 return ((bitField0_ & 0x00000800) == 0x00000800); 1998 } 1999 /** 2000 * <code>optional string checksum = 12;</code> 2001 */ 2002 public java.lang.String getChecksum() { 2003 java.lang.Object ref = checksum_; 2004 if (!(ref instanceof java.lang.String)) { 2005 com.google.protobuf.ByteString bs = 2006 (com.google.protobuf.ByteString) ref; 2007 java.lang.String s = bs.toStringUtf8(); 2008 if (bs.isValidUtf8()) { 2009 checksum_ = s; 2010 } 2011 return s; 2012 } else { 2013 return (java.lang.String) ref; 2014 } 2015 } 2016 /** 2017 * <code>optional string checksum = 12;</code> 2018 */ 2019 public com.google.protobuf.ByteString 2020 getChecksumBytes() { 2021 java.lang.Object ref = checksum_; 2022 if (ref instanceof String) { 2023 com.google.protobuf.ByteString b = 2024 com.google.protobuf.ByteString.copyFromUtf8( 2025 (java.lang.String) ref); 2026 checksum_ = b; 2027 return b; 2028 } else { 2029 return (com.google.protobuf.ByteString) ref; 2030 } 2031 } 2032 /** 2033 * <code>optional string checksum = 12;</code> 2034 */ 2035 public Builder setChecksum( 2036 java.lang.String value) { 2037 if (value == null) { 2038 throw new NullPointerException(); 2039 } 2040 bitField0_ |= 0x00000800; 2041 checksum_ = value; 2042 onChanged(); 2043 return this; 2044 } 2045 /** 2046 * <code>optional string checksum = 12;</code> 2047 */ 2048 public Builder clearChecksum() { 2049 bitField0_ = (bitField0_ & ~0x00000800); 2050 checksum_ = getDefaultInstance().getChecksum(); 2051 onChanged(); 2052 return this; 2053 } 2054 /** 2055 * <code>optional string checksum = 12;</code> 2056 */ 2057 public Builder setChecksumBytes( 2058 com.google.protobuf.ByteString value) { 2059 if (value == null) { 2060 throw new NullPointerException(); 2061 } 2062 bitField0_ |= 0x00000800; 2063 checksum_ = value; 2064 onChanged(); 2065 return this; 2066 } 2067 2068 private java.lang.Object assigneeLogin_ = ""; 2069 /** 2070 * <code>optional string assignee_login = 13;</code> 2071 */ 2072 public boolean hasAssigneeLogin() { 2073 return ((bitField0_ & 0x00001000) == 0x00001000); 2074 } 2075 /** 2076 * <code>optional string assignee_login = 13;</code> 2077 */ 2078 public java.lang.String getAssigneeLogin() { 2079 java.lang.Object ref = assigneeLogin_; 2080 if (!(ref instanceof java.lang.String)) { 2081 com.google.protobuf.ByteString bs = 2082 (com.google.protobuf.ByteString) ref; 2083 java.lang.String s = bs.toStringUtf8(); 2084 if (bs.isValidUtf8()) { 2085 assigneeLogin_ = s; 2086 } 2087 return s; 2088 } else { 2089 return (java.lang.String) ref; 2090 } 2091 } 2092 /** 2093 * <code>optional string assignee_login = 13;</code> 2094 */ 2095 public com.google.protobuf.ByteString 2096 getAssigneeLoginBytes() { 2097 java.lang.Object ref = assigneeLogin_; 2098 if (ref instanceof String) { 2099 com.google.protobuf.ByteString b = 2100 com.google.protobuf.ByteString.copyFromUtf8( 2101 (java.lang.String) ref); 2102 assigneeLogin_ = b; 2103 return b; 2104 } else { 2105 return (com.google.protobuf.ByteString) ref; 2106 } 2107 } 2108 /** 2109 * <code>optional string assignee_login = 13;</code> 2110 */ 2111 public Builder setAssigneeLogin( 2112 java.lang.String value) { 2113 if (value == null) { 2114 throw new NullPointerException(); 2115 } 2116 bitField0_ |= 0x00001000; 2117 assigneeLogin_ = value; 2118 onChanged(); 2119 return this; 2120 } 2121 /** 2122 * <code>optional string assignee_login = 13;</code> 2123 */ 2124 public Builder clearAssigneeLogin() { 2125 bitField0_ = (bitField0_ & ~0x00001000); 2126 assigneeLogin_ = getDefaultInstance().getAssigneeLogin(); 2127 onChanged(); 2128 return this; 2129 } 2130 /** 2131 * <code>optional string assignee_login = 13;</code> 2132 */ 2133 public Builder setAssigneeLoginBytes( 2134 com.google.protobuf.ByteString value) { 2135 if (value == null) { 2136 throw new NullPointerException(); 2137 } 2138 bitField0_ |= 0x00001000; 2139 assigneeLogin_ = value; 2140 onChanged(); 2141 return this; 2142 } 2143 2144 private long creationDate_ ; 2145 /** 2146 * <code>optional int64 creation_date = 14;</code> 2147 */ 2148 public boolean hasCreationDate() { 2149 return ((bitField0_ & 0x00002000) == 0x00002000); 2150 } 2151 /** 2152 * <code>optional int64 creation_date = 14;</code> 2153 */ 2154 public long getCreationDate() { 2155 return creationDate_; 2156 } 2157 /** 2158 * <code>optional int64 creation_date = 14;</code> 2159 */ 2160 public Builder setCreationDate(long value) { 2161 bitField0_ |= 0x00002000; 2162 creationDate_ = value; 2163 onChanged(); 2164 return this; 2165 } 2166 /** 2167 * <code>optional int64 creation_date = 14;</code> 2168 */ 2169 public Builder clearCreationDate() { 2170 bitField0_ = (bitField0_ & ~0x00002000); 2171 creationDate_ = 0L; 2172 onChanged(); 2173 return this; 2174 } 2175 2176 // @@protoc_insertion_point(builder_scope:ServerIssue) 2177 } 2178 2179 // @@protoc_insertion_point(class_scope:ServerIssue) 2180 private static final org.sonar.batch.protocol.input.BatchInput.ServerIssue DEFAULT_INSTANCE; 2181 static { 2182 DEFAULT_INSTANCE = new org.sonar.batch.protocol.input.BatchInput.ServerIssue(); 2183 } 2184 2185 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue getDefaultInstance() { 2186 return DEFAULT_INSTANCE; 2187 } 2188 2189 public static final com.google.protobuf.Parser<ServerIssue> PARSER = 2190 new com.google.protobuf.AbstractParser<ServerIssue>() { 2191 public ServerIssue parsePartialFrom( 2192 com.google.protobuf.CodedInputStream input, 2193 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2194 throws com.google.protobuf.InvalidProtocolBufferException { 2195 try { 2196 return new ServerIssue(input, extensionRegistry); 2197 } catch (RuntimeException e) { 2198 if (e.getCause() instanceof 2199 com.google.protobuf.InvalidProtocolBufferException) { 2200 throw (com.google.protobuf.InvalidProtocolBufferException) 2201 e.getCause(); 2202 } 2203 throw e; 2204 } 2205 } 2206 }; 2207 2208 @java.lang.Override 2209 public com.google.protobuf.Parser<ServerIssue> getParserForType() { 2210 return PARSER; 2211 } 2212 2213 public org.sonar.batch.protocol.input.BatchInput.ServerIssue getDefaultInstanceForType() { 2214 return DEFAULT_INSTANCE; 2215 } 2216 2217 } 2218 2219 public interface UserOrBuilder extends 2220 // @@protoc_insertion_point(interface_extends:User) 2221 com.google.protobuf.MessageOrBuilder { 2222 2223 /** 2224 * <code>optional string login = 1;</code> 2225 */ 2226 boolean hasLogin(); 2227 /** 2228 * <code>optional string login = 1;</code> 2229 */ 2230 java.lang.String getLogin(); 2231 /** 2232 * <code>optional string login = 1;</code> 2233 */ 2234 com.google.protobuf.ByteString 2235 getLoginBytes(); 2236 2237 /** 2238 * <code>optional string name = 2;</code> 2239 */ 2240 boolean hasName(); 2241 /** 2242 * <code>optional string name = 2;</code> 2243 */ 2244 java.lang.String getName(); 2245 /** 2246 * <code>optional string name = 2;</code> 2247 */ 2248 com.google.protobuf.ByteString 2249 getNameBytes(); 2250 } 2251 /** 2252 * Protobuf type {@code User} 2253 */ 2254 public static final class User extends 2255 com.google.protobuf.GeneratedMessage implements 2256 // @@protoc_insertion_point(message_implements:User) 2257 UserOrBuilder { 2258 // Use User.newBuilder() to construct. 2259 private User(com.google.protobuf.GeneratedMessage.Builder builder) { 2260 super(builder); 2261 } 2262 private User() { 2263 login_ = ""; 2264 name_ = ""; 2265 } 2266 2267 @java.lang.Override 2268 public final com.google.protobuf.UnknownFieldSet 2269 getUnknownFields() { 2270 return this.unknownFields; 2271 } 2272 private User( 2273 com.google.protobuf.CodedInputStream input, 2274 com.google.protobuf.ExtensionRegistryLite extensionRegistry) { 2275 this(); 2276 int mutable_bitField0_ = 0; 2277 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 2278 com.google.protobuf.UnknownFieldSet.newBuilder(); 2279 try { 2280 boolean done = false; 2281 while (!done) { 2282 int tag = input.readTag(); 2283 switch (tag) { 2284 case 0: 2285 done = true; 2286 break; 2287 default: { 2288 if (!parseUnknownField(input, unknownFields, 2289 extensionRegistry, tag)) { 2290 done = true; 2291 } 2292 break; 2293 } 2294 case 10: { 2295 com.google.protobuf.ByteString bs = input.readBytes(); 2296 bitField0_ |= 0x00000001; 2297 login_ = bs; 2298 break; 2299 } 2300 case 18: { 2301 com.google.protobuf.ByteString bs = input.readBytes(); 2302 bitField0_ |= 0x00000002; 2303 name_ = bs; 2304 break; 2305 } 2306 } 2307 } 2308 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 2309 throw new RuntimeException(e.setUnfinishedMessage(this)); 2310 } catch (java.io.IOException e) { 2311 throw new RuntimeException( 2312 new com.google.protobuf.InvalidProtocolBufferException( 2313 e.getMessage()).setUnfinishedMessage(this)); 2314 } finally { 2315 this.unknownFields = unknownFields.build(); 2316 makeExtensionsImmutable(); 2317 } 2318 } 2319 public static final com.google.protobuf.Descriptors.Descriptor 2320 getDescriptor() { 2321 return org.sonar.batch.protocol.input.BatchInput.internal_static_User_descriptor; 2322 } 2323 2324 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 2325 internalGetFieldAccessorTable() { 2326 return org.sonar.batch.protocol.input.BatchInput.internal_static_User_fieldAccessorTable 2327 .ensureFieldAccessorsInitialized( 2328 org.sonar.batch.protocol.input.BatchInput.User.class, org.sonar.batch.protocol.input.BatchInput.User.Builder.class); 2329 } 2330 2331 private int bitField0_; 2332 public static final int LOGIN_FIELD_NUMBER = 1; 2333 private volatile java.lang.Object login_; 2334 /** 2335 * <code>optional string login = 1;</code> 2336 */ 2337 public boolean hasLogin() { 2338 return ((bitField0_ & 0x00000001) == 0x00000001); 2339 } 2340 /** 2341 * <code>optional string login = 1;</code> 2342 */ 2343 public java.lang.String getLogin() { 2344 java.lang.Object ref = login_; 2345 if (ref instanceof java.lang.String) { 2346 return (java.lang.String) ref; 2347 } else { 2348 com.google.protobuf.ByteString bs = 2349 (com.google.protobuf.ByteString) ref; 2350 java.lang.String s = bs.toStringUtf8(); 2351 if (bs.isValidUtf8()) { 2352 login_ = s; 2353 } 2354 return s; 2355 } 2356 } 2357 /** 2358 * <code>optional string login = 1;</code> 2359 */ 2360 public com.google.protobuf.ByteString 2361 getLoginBytes() { 2362 java.lang.Object ref = login_; 2363 if (ref instanceof java.lang.String) { 2364 com.google.protobuf.ByteString b = 2365 com.google.protobuf.ByteString.copyFromUtf8( 2366 (java.lang.String) ref); 2367 login_ = b; 2368 return b; 2369 } else { 2370 return (com.google.protobuf.ByteString) ref; 2371 } 2372 } 2373 2374 public static final int NAME_FIELD_NUMBER = 2; 2375 private volatile java.lang.Object name_; 2376 /** 2377 * <code>optional string name = 2;</code> 2378 */ 2379 public boolean hasName() { 2380 return ((bitField0_ & 0x00000002) == 0x00000002); 2381 } 2382 /** 2383 * <code>optional string name = 2;</code> 2384 */ 2385 public java.lang.String getName() { 2386 java.lang.Object ref = name_; 2387 if (ref instanceof java.lang.String) { 2388 return (java.lang.String) ref; 2389 } else { 2390 com.google.protobuf.ByteString bs = 2391 (com.google.protobuf.ByteString) ref; 2392 java.lang.String s = bs.toStringUtf8(); 2393 if (bs.isValidUtf8()) { 2394 name_ = s; 2395 } 2396 return s; 2397 } 2398 } 2399 /** 2400 * <code>optional string name = 2;</code> 2401 */ 2402 public com.google.protobuf.ByteString 2403 getNameBytes() { 2404 java.lang.Object ref = name_; 2405 if (ref instanceof java.lang.String) { 2406 com.google.protobuf.ByteString b = 2407 com.google.protobuf.ByteString.copyFromUtf8( 2408 (java.lang.String) ref); 2409 name_ = b; 2410 return b; 2411 } else { 2412 return (com.google.protobuf.ByteString) ref; 2413 } 2414 } 2415 2416 private byte memoizedIsInitialized = -1; 2417 public final boolean isInitialized() { 2418 byte isInitialized = memoizedIsInitialized; 2419 if (isInitialized == 1) return true; 2420 if (isInitialized == 0) return false; 2421 2422 memoizedIsInitialized = 1; 2423 return true; 2424 } 2425 2426 public void writeTo(com.google.protobuf.CodedOutputStream output) 2427 throws java.io.IOException { 2428 if (((bitField0_ & 0x00000001) == 0x00000001)) { 2429 output.writeBytes(1, getLoginBytes()); 2430 } 2431 if (((bitField0_ & 0x00000002) == 0x00000002)) { 2432 output.writeBytes(2, getNameBytes()); 2433 } 2434 unknownFields.writeTo(output); 2435 } 2436 2437 private int memoizedSerializedSize = -1; 2438 public int getSerializedSize() { 2439 int size = memoizedSerializedSize; 2440 if (size != -1) return size; 2441 2442 size = 0; 2443 if (((bitField0_ & 0x00000001) == 0x00000001)) { 2444 size += com.google.protobuf.CodedOutputStream 2445 .computeBytesSize(1, getLoginBytes()); 2446 } 2447 if (((bitField0_ & 0x00000002) == 0x00000002)) { 2448 size += com.google.protobuf.CodedOutputStream 2449 .computeBytesSize(2, getNameBytes()); 2450 } 2451 size += unknownFields.getSerializedSize(); 2452 memoizedSerializedSize = size; 2453 return size; 2454 } 2455 2456 private static final long serialVersionUID = 0L; 2457 public static org.sonar.batch.protocol.input.BatchInput.User parseFrom( 2458 com.google.protobuf.ByteString 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 com.google.protobuf.ByteString 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(byte[] data) 2469 throws com.google.protobuf.InvalidProtocolBufferException { 2470 return PARSER.parseFrom(data); 2471 } 2472 public static org.sonar.batch.protocol.input.BatchInput.User parseFrom( 2473 byte[] data, 2474 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2475 throws com.google.protobuf.InvalidProtocolBufferException { 2476 return PARSER.parseFrom(data, extensionRegistry); 2477 } 2478 public static org.sonar.batch.protocol.input.BatchInput.User parseFrom(java.io.InputStream input) 2479 throws java.io.IOException { 2480 return PARSER.parseFrom(input); 2481 } 2482 public static org.sonar.batch.protocol.input.BatchInput.User parseFrom( 2483 java.io.InputStream input, 2484 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2485 throws java.io.IOException { 2486 return PARSER.parseFrom(input, extensionRegistry); 2487 } 2488 public static org.sonar.batch.protocol.input.BatchInput.User parseDelimitedFrom(java.io.InputStream input) 2489 throws java.io.IOException { 2490 return PARSER.parseDelimitedFrom(input); 2491 } 2492 public static org.sonar.batch.protocol.input.BatchInput.User parseDelimitedFrom( 2493 java.io.InputStream input, 2494 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2495 throws java.io.IOException { 2496 return PARSER.parseDelimitedFrom(input, extensionRegistry); 2497 } 2498 public static org.sonar.batch.protocol.input.BatchInput.User parseFrom( 2499 com.google.protobuf.CodedInputStream input) 2500 throws java.io.IOException { 2501 return PARSER.parseFrom(input); 2502 } 2503 public static org.sonar.batch.protocol.input.BatchInput.User parseFrom( 2504 com.google.protobuf.CodedInputStream input, 2505 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2506 throws java.io.IOException { 2507 return PARSER.parseFrom(input, extensionRegistry); 2508 } 2509 2510 public Builder newBuilderForType() { return newBuilder(); } 2511 public static Builder newBuilder() { 2512 return DEFAULT_INSTANCE.toBuilder(); 2513 } 2514 public static Builder newBuilder(org.sonar.batch.protocol.input.BatchInput.User prototype) { 2515 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 2516 } 2517 public Builder toBuilder() { 2518 return this == DEFAULT_INSTANCE 2519 ? new Builder() : new Builder().mergeFrom(this); 2520 } 2521 2522 @java.lang.Override 2523 protected Builder newBuilderForType( 2524 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 2525 Builder builder = new Builder(parent); 2526 return builder; 2527 } 2528 /** 2529 * Protobuf type {@code User} 2530 */ 2531 public static final class Builder extends 2532 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 2533 // @@protoc_insertion_point(builder_implements:User) 2534 org.sonar.batch.protocol.input.BatchInput.UserOrBuilder { 2535 public static final com.google.protobuf.Descriptors.Descriptor 2536 getDescriptor() { 2537 return org.sonar.batch.protocol.input.BatchInput.internal_static_User_descriptor; 2538 } 2539 2540 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 2541 internalGetFieldAccessorTable() { 2542 return org.sonar.batch.protocol.input.BatchInput.internal_static_User_fieldAccessorTable 2543 .ensureFieldAccessorsInitialized( 2544 org.sonar.batch.protocol.input.BatchInput.User.class, org.sonar.batch.protocol.input.BatchInput.User.Builder.class); 2545 } 2546 2547 // Construct using org.sonar.batch.protocol.input.BatchInput.User.newBuilder() 2548 private Builder() { 2549 maybeForceBuilderInitialization(); 2550 } 2551 2552 private Builder( 2553 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 2554 super(parent); 2555 maybeForceBuilderInitialization(); 2556 } 2557 private void maybeForceBuilderInitialization() { 2558 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 2559 } 2560 } 2561 public Builder clear() { 2562 super.clear(); 2563 login_ = ""; 2564 bitField0_ = (bitField0_ & ~0x00000001); 2565 name_ = ""; 2566 bitField0_ = (bitField0_ & ~0x00000002); 2567 return this; 2568 } 2569 2570 public com.google.protobuf.Descriptors.Descriptor 2571 getDescriptorForType() { 2572 return org.sonar.batch.protocol.input.BatchInput.internal_static_User_descriptor; 2573 } 2574 2575 public org.sonar.batch.protocol.input.BatchInput.User getDefaultInstanceForType() { 2576 return org.sonar.batch.protocol.input.BatchInput.User.getDefaultInstance(); 2577 } 2578 2579 public org.sonar.batch.protocol.input.BatchInput.User build() { 2580 org.sonar.batch.protocol.input.BatchInput.User result = buildPartial(); 2581 if (!result.isInitialized()) { 2582 throw newUninitializedMessageException(result); 2583 } 2584 return result; 2585 } 2586 2587 public org.sonar.batch.protocol.input.BatchInput.User buildPartial() { 2588 org.sonar.batch.protocol.input.BatchInput.User result = new org.sonar.batch.protocol.input.BatchInput.User(this); 2589 int from_bitField0_ = bitField0_; 2590 int to_bitField0_ = 0; 2591 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 2592 to_bitField0_ |= 0x00000001; 2593 } 2594 result.login_ = login_; 2595 if (((from_bitField0_ & 0x00000002) == 0x00000002)) { 2596 to_bitField0_ |= 0x00000002; 2597 } 2598 result.name_ = name_; 2599 result.bitField0_ = to_bitField0_; 2600 onBuilt(); 2601 return result; 2602 } 2603 2604 public Builder mergeFrom(com.google.protobuf.Message other) { 2605 if (other instanceof org.sonar.batch.protocol.input.BatchInput.User) { 2606 return mergeFrom((org.sonar.batch.protocol.input.BatchInput.User)other); 2607 } else { 2608 super.mergeFrom(other); 2609 return this; 2610 } 2611 } 2612 2613 public Builder mergeFrom(org.sonar.batch.protocol.input.BatchInput.User other) { 2614 if (other == org.sonar.batch.protocol.input.BatchInput.User.getDefaultInstance()) return this; 2615 if (other.hasLogin()) { 2616 bitField0_ |= 0x00000001; 2617 login_ = other.login_; 2618 onChanged(); 2619 } 2620 if (other.hasName()) { 2621 bitField0_ |= 0x00000002; 2622 name_ = other.name_; 2623 onChanged(); 2624 } 2625 this.mergeUnknownFields(other.unknownFields); 2626 onChanged(); 2627 return this; 2628 } 2629 2630 public final boolean isInitialized() { 2631 return true; 2632 } 2633 2634 public Builder mergeFrom( 2635 com.google.protobuf.CodedInputStream input, 2636 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2637 throws java.io.IOException { 2638 org.sonar.batch.protocol.input.BatchInput.User parsedMessage = null; 2639 try { 2640 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 2641 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 2642 parsedMessage = (org.sonar.batch.protocol.input.BatchInput.User) e.getUnfinishedMessage(); 2643 throw e; 2644 } finally { 2645 if (parsedMessage != null) { 2646 mergeFrom(parsedMessage); 2647 } 2648 } 2649 return this; 2650 } 2651 private int bitField0_; 2652 2653 private java.lang.Object login_ = ""; 2654 /** 2655 * <code>optional string login = 1;</code> 2656 */ 2657 public boolean hasLogin() { 2658 return ((bitField0_ & 0x00000001) == 0x00000001); 2659 } 2660 /** 2661 * <code>optional string login = 1;</code> 2662 */ 2663 public java.lang.String getLogin() { 2664 java.lang.Object ref = login_; 2665 if (!(ref instanceof java.lang.String)) { 2666 com.google.protobuf.ByteString bs = 2667 (com.google.protobuf.ByteString) ref; 2668 java.lang.String s = bs.toStringUtf8(); 2669 if (bs.isValidUtf8()) { 2670 login_ = s; 2671 } 2672 return s; 2673 } else { 2674 return (java.lang.String) ref; 2675 } 2676 } 2677 /** 2678 * <code>optional string login = 1;</code> 2679 */ 2680 public com.google.protobuf.ByteString 2681 getLoginBytes() { 2682 java.lang.Object ref = login_; 2683 if (ref instanceof String) { 2684 com.google.protobuf.ByteString b = 2685 com.google.protobuf.ByteString.copyFromUtf8( 2686 (java.lang.String) ref); 2687 login_ = b; 2688 return b; 2689 } else { 2690 return (com.google.protobuf.ByteString) ref; 2691 } 2692 } 2693 /** 2694 * <code>optional string login = 1;</code> 2695 */ 2696 public Builder setLogin( 2697 java.lang.String value) { 2698 if (value == null) { 2699 throw new NullPointerException(); 2700 } 2701 bitField0_ |= 0x00000001; 2702 login_ = value; 2703 onChanged(); 2704 return this; 2705 } 2706 /** 2707 * <code>optional string login = 1;</code> 2708 */ 2709 public Builder clearLogin() { 2710 bitField0_ = (bitField0_ & ~0x00000001); 2711 login_ = getDefaultInstance().getLogin(); 2712 onChanged(); 2713 return this; 2714 } 2715 /** 2716 * <code>optional string login = 1;</code> 2717 */ 2718 public Builder setLoginBytes( 2719 com.google.protobuf.ByteString value) { 2720 if (value == null) { 2721 throw new NullPointerException(); 2722 } 2723 bitField0_ |= 0x00000001; 2724 login_ = value; 2725 onChanged(); 2726 return this; 2727 } 2728 2729 private java.lang.Object name_ = ""; 2730 /** 2731 * <code>optional string name = 2;</code> 2732 */ 2733 public boolean hasName() { 2734 return ((bitField0_ & 0x00000002) == 0x00000002); 2735 } 2736 /** 2737 * <code>optional string name = 2;</code> 2738 */ 2739 public java.lang.String getName() { 2740 java.lang.Object ref = name_; 2741 if (!(ref instanceof java.lang.String)) { 2742 com.google.protobuf.ByteString bs = 2743 (com.google.protobuf.ByteString) ref; 2744 java.lang.String s = bs.toStringUtf8(); 2745 if (bs.isValidUtf8()) { 2746 name_ = s; 2747 } 2748 return s; 2749 } else { 2750 return (java.lang.String) ref; 2751 } 2752 } 2753 /** 2754 * <code>optional string name = 2;</code> 2755 */ 2756 public com.google.protobuf.ByteString 2757 getNameBytes() { 2758 java.lang.Object ref = name_; 2759 if (ref instanceof String) { 2760 com.google.protobuf.ByteString b = 2761 com.google.protobuf.ByteString.copyFromUtf8( 2762 (java.lang.String) ref); 2763 name_ = b; 2764 return b; 2765 } else { 2766 return (com.google.protobuf.ByteString) ref; 2767 } 2768 } 2769 /** 2770 * <code>optional string name = 2;</code> 2771 */ 2772 public Builder setName( 2773 java.lang.String value) { 2774 if (value == null) { 2775 throw new NullPointerException(); 2776 } 2777 bitField0_ |= 0x00000002; 2778 name_ = value; 2779 onChanged(); 2780 return this; 2781 } 2782 /** 2783 * <code>optional string name = 2;</code> 2784 */ 2785 public Builder clearName() { 2786 bitField0_ = (bitField0_ & ~0x00000002); 2787 name_ = getDefaultInstance().getName(); 2788 onChanged(); 2789 return this; 2790 } 2791 /** 2792 * <code>optional string name = 2;</code> 2793 */ 2794 public Builder setNameBytes( 2795 com.google.protobuf.ByteString value) { 2796 if (value == null) { 2797 throw new NullPointerException(); 2798 } 2799 bitField0_ |= 0x00000002; 2800 name_ = value; 2801 onChanged(); 2802 return this; 2803 } 2804 2805 // @@protoc_insertion_point(builder_scope:User) 2806 } 2807 2808 // @@protoc_insertion_point(class_scope:User) 2809 private static final org.sonar.batch.protocol.input.BatchInput.User DEFAULT_INSTANCE; 2810 static { 2811 DEFAULT_INSTANCE = new org.sonar.batch.protocol.input.BatchInput.User(); 2812 } 2813 2814 public static org.sonar.batch.protocol.input.BatchInput.User getDefaultInstance() { 2815 return DEFAULT_INSTANCE; 2816 } 2817 2818 public static final com.google.protobuf.Parser<User> PARSER = 2819 new com.google.protobuf.AbstractParser<User>() { 2820 public User parsePartialFrom( 2821 com.google.protobuf.CodedInputStream input, 2822 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2823 throws com.google.protobuf.InvalidProtocolBufferException { 2824 try { 2825 return new User(input, extensionRegistry); 2826 } catch (RuntimeException e) { 2827 if (e.getCause() instanceof 2828 com.google.protobuf.InvalidProtocolBufferException) { 2829 throw (com.google.protobuf.InvalidProtocolBufferException) 2830 e.getCause(); 2831 } 2832 throw e; 2833 } 2834 } 2835 }; 2836 2837 @java.lang.Override 2838 public com.google.protobuf.Parser<User> getParserForType() { 2839 return PARSER; 2840 } 2841 2842 public org.sonar.batch.protocol.input.BatchInput.User getDefaultInstanceForType() { 2843 return DEFAULT_INSTANCE; 2844 } 2845 2846 } 2847 2848 private static com.google.protobuf.Descriptors.Descriptor 2849 internal_static_ServerIssue_descriptor; 2850 private static 2851 com.google.protobuf.GeneratedMessage.FieldAccessorTable 2852 internal_static_ServerIssue_fieldAccessorTable; 2853 private static com.google.protobuf.Descriptors.Descriptor 2854 internal_static_User_descriptor; 2855 private static 2856 com.google.protobuf.GeneratedMessage.FieldAccessorTable 2857 internal_static_User_fieldAccessorTable; 2858 2859 public static com.google.protobuf.Descriptors.FileDescriptor 2860 getDescriptor() { 2861 return descriptor; 2862 } 2863 private static com.google.protobuf.Descriptors.FileDescriptor 2864 descriptor; 2865 static { 2866 java.lang.String[] descriptorData = { 2867 "\n\021batch_input.proto\032\017constants.proto\"\235\002\n" + 2868 "\013ServerIssue\022\013\n\003key\030\001 \001(\t\022\022\n\nmodule_key\030" + 2869 "\002 \001(\t\022\014\n\004path\030\003 \001(\t\022\027\n\017rule_repository\030\004" + 2870 " \001(\t\022\020\n\010rule_key\030\005 \001(\t\022\014\n\004line\030\006 \001(\005\022\013\n\003" + 2871 "msg\030\007 \001(\t\022\033\n\010severity\030\010 \001(\0162\t.Severity\022\027" + 2872 "\n\017manual_severity\030\t \001(\010\022\022\n\nresolution\030\n " + 2873 "\001(\t\022\016\n\006status\030\013 \001(\t\022\020\n\010checksum\030\014 \001(\t\022\026\n" + 2874 "\016assignee_login\030\r \001(\t\022\025\n\rcreation_date\030\016" + 2875 " \001(\003\"#\n\004User\022\r\n\005login\030\001 \001(\t\022\014\n\004name\030\002 \001(" + 2876 "\tB\"\n\036org.sonar.batch.protocol.inputH\001" 2877 }; 2878 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = 2879 new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { 2880 public com.google.protobuf.ExtensionRegistry assignDescriptors( 2881 com.google.protobuf.Descriptors.FileDescriptor root) { 2882 descriptor = root; 2883 return null; 2884 } 2885 }; 2886 com.google.protobuf.Descriptors.FileDescriptor 2887 .internalBuildGeneratedFileFrom(descriptorData, 2888 new com.google.protobuf.Descriptors.FileDescriptor[] { 2889 org.sonar.batch.protocol.Constants.getDescriptor(), 2890 }, assigner); 2891 internal_static_ServerIssue_descriptor = 2892 getDescriptor().getMessageTypes().get(0); 2893 internal_static_ServerIssue_fieldAccessorTable = new 2894 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 2895 internal_static_ServerIssue_descriptor, 2896 new java.lang.String[] { "Key", "ModuleKey", "Path", "RuleRepository", "RuleKey", "Line", "Msg", "Severity", "ManualSeverity", "Resolution", "Status", "Checksum", "AssigneeLogin", "CreationDate", }); 2897 internal_static_User_descriptor = 2898 getDescriptor().getMessageTypes().get(1); 2899 internal_static_User_fieldAccessorTable = new 2900 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 2901 internal_static_User_descriptor, 2902 new java.lang.String[] { "Login", "Name", }); 2903 org.sonar.batch.protocol.Constants.getDescriptor(); 2904 } 2905 2906 // @@protoc_insertion_point(outer_class_scope) 2907}