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 012 extends com.google.protobuf.MessageOrBuilder { 013 014 // optional string key = 1; 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 // optional string module_key = 2; 030 /** 031 * <code>optional string module_key = 2;</code> 032 */ 033 boolean hasModuleKey(); 034 /** 035 * <code>optional string module_key = 2;</code> 036 */ 037 java.lang.String getModuleKey(); 038 /** 039 * <code>optional string module_key = 2;</code> 040 */ 041 com.google.protobuf.ByteString 042 getModuleKeyBytes(); 043 044 // optional string path = 3; 045 /** 046 * <code>optional string path = 3;</code> 047 */ 048 boolean hasPath(); 049 /** 050 * <code>optional string path = 3;</code> 051 */ 052 java.lang.String getPath(); 053 /** 054 * <code>optional string path = 3;</code> 055 */ 056 com.google.protobuf.ByteString 057 getPathBytes(); 058 059 // optional string rule_repository = 4; 060 /** 061 * <code>optional string rule_repository = 4;</code> 062 */ 063 boolean hasRuleRepository(); 064 /** 065 * <code>optional string rule_repository = 4;</code> 066 */ 067 java.lang.String getRuleRepository(); 068 /** 069 * <code>optional string rule_repository = 4;</code> 070 */ 071 com.google.protobuf.ByteString 072 getRuleRepositoryBytes(); 073 074 // optional string rule_key = 5; 075 /** 076 * <code>optional string rule_key = 5;</code> 077 */ 078 boolean hasRuleKey(); 079 /** 080 * <code>optional string rule_key = 5;</code> 081 */ 082 java.lang.String getRuleKey(); 083 /** 084 * <code>optional string rule_key = 5;</code> 085 */ 086 com.google.protobuf.ByteString 087 getRuleKeyBytes(); 088 089 // optional int32 line = 6; 090 /** 091 * <code>optional int32 line = 6;</code> 092 */ 093 boolean hasLine(); 094 /** 095 * <code>optional int32 line = 6;</code> 096 */ 097 int getLine(); 098 099 // optional string msg = 7; 100 /** 101 * <code>optional string msg = 7;</code> 102 */ 103 boolean hasMsg(); 104 /** 105 * <code>optional string msg = 7;</code> 106 */ 107 java.lang.String getMsg(); 108 /** 109 * <code>optional string msg = 7;</code> 110 */ 111 com.google.protobuf.ByteString 112 getMsgBytes(); 113 114 // optional .Severity severity = 8; 115 /** 116 * <code>optional .Severity severity = 8;</code> 117 */ 118 boolean hasSeverity(); 119 /** 120 * <code>optional .Severity severity = 8;</code> 121 */ 122 org.sonar.batch.protocol.Constants.Severity getSeverity(); 123 124 // optional bool manual_severity = 9; 125 /** 126 * <code>optional bool manual_severity = 9;</code> 127 */ 128 boolean hasManualSeverity(); 129 /** 130 * <code>optional bool manual_severity = 9;</code> 131 */ 132 boolean getManualSeverity(); 133 134 // optional string resolution = 10; 135 /** 136 * <code>optional string resolution = 10;</code> 137 */ 138 boolean hasResolution(); 139 /** 140 * <code>optional string resolution = 10;</code> 141 */ 142 java.lang.String getResolution(); 143 /** 144 * <code>optional string resolution = 10;</code> 145 */ 146 com.google.protobuf.ByteString 147 getResolutionBytes(); 148 149 // optional string status = 11; 150 /** 151 * <code>optional string status = 11;</code> 152 */ 153 boolean hasStatus(); 154 /** 155 * <code>optional string status = 11;</code> 156 */ 157 java.lang.String getStatus(); 158 /** 159 * <code>optional string status = 11;</code> 160 */ 161 com.google.protobuf.ByteString 162 getStatusBytes(); 163 164 // optional string checksum = 12; 165 /** 166 * <code>optional string checksum = 12;</code> 167 */ 168 boolean hasChecksum(); 169 /** 170 * <code>optional string checksum = 12;</code> 171 */ 172 java.lang.String getChecksum(); 173 /** 174 * <code>optional string checksum = 12;</code> 175 */ 176 com.google.protobuf.ByteString 177 getChecksumBytes(); 178 179 // optional string assignee_login = 13; 180 /** 181 * <code>optional string assignee_login = 13;</code> 182 */ 183 boolean hasAssigneeLogin(); 184 /** 185 * <code>optional string assignee_login = 13;</code> 186 */ 187 java.lang.String getAssigneeLogin(); 188 /** 189 * <code>optional string assignee_login = 13;</code> 190 */ 191 com.google.protobuf.ByteString 192 getAssigneeLoginBytes(); 193 194 // optional int64 creation_date = 14; 195 /** 196 * <code>optional int64 creation_date = 14;</code> 197 */ 198 boolean hasCreationDate(); 199 /** 200 * <code>optional int64 creation_date = 14;</code> 201 */ 202 long getCreationDate(); 203 } 204 /** 205 * Protobuf type {@code ServerIssue} 206 */ 207 public static final class ServerIssue extends 208 com.google.protobuf.GeneratedMessage 209 implements ServerIssueOrBuilder { 210 // Use ServerIssue.newBuilder() to construct. 211 private ServerIssue(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 212 super(builder); 213 this.unknownFields = builder.getUnknownFields(); 214 } 215 private ServerIssue(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 216 217 private static final ServerIssue defaultInstance; 218 public static ServerIssue getDefaultInstance() { 219 return defaultInstance; 220 } 221 222 public ServerIssue getDefaultInstanceForType() { 223 return defaultInstance; 224 } 225 226 private final com.google.protobuf.UnknownFieldSet unknownFields; 227 @java.lang.Override 228 public final com.google.protobuf.UnknownFieldSet 229 getUnknownFields() { 230 return this.unknownFields; 231 } 232 private ServerIssue( 233 com.google.protobuf.CodedInputStream input, 234 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 235 throws com.google.protobuf.InvalidProtocolBufferException { 236 initFields(); 237 int mutable_bitField0_ = 0; 238 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 239 com.google.protobuf.UnknownFieldSet.newBuilder(); 240 try { 241 boolean done = false; 242 while (!done) { 243 int tag = input.readTag(); 244 switch (tag) { 245 case 0: 246 done = true; 247 break; 248 default: { 249 if (!parseUnknownField(input, unknownFields, 250 extensionRegistry, tag)) { 251 done = true; 252 } 253 break; 254 } 255 case 10: { 256 bitField0_ |= 0x00000001; 257 key_ = input.readBytes(); 258 break; 259 } 260 case 18: { 261 bitField0_ |= 0x00000002; 262 moduleKey_ = input.readBytes(); 263 break; 264 } 265 case 26: { 266 bitField0_ |= 0x00000004; 267 path_ = input.readBytes(); 268 break; 269 } 270 case 34: { 271 bitField0_ |= 0x00000008; 272 ruleRepository_ = input.readBytes(); 273 break; 274 } 275 case 42: { 276 bitField0_ |= 0x00000010; 277 ruleKey_ = input.readBytes(); 278 break; 279 } 280 case 48: { 281 bitField0_ |= 0x00000020; 282 line_ = input.readInt32(); 283 break; 284 } 285 case 58: { 286 bitField0_ |= 0x00000040; 287 msg_ = input.readBytes(); 288 break; 289 } 290 case 64: { 291 int rawValue = input.readEnum(); 292 org.sonar.batch.protocol.Constants.Severity value = org.sonar.batch.protocol.Constants.Severity.valueOf(rawValue); 293 if (value == null) { 294 unknownFields.mergeVarintField(8, rawValue); 295 } else { 296 bitField0_ |= 0x00000080; 297 severity_ = value; 298 } 299 break; 300 } 301 case 72: { 302 bitField0_ |= 0x00000100; 303 manualSeverity_ = input.readBool(); 304 break; 305 } 306 case 82: { 307 bitField0_ |= 0x00000200; 308 resolution_ = input.readBytes(); 309 break; 310 } 311 case 90: { 312 bitField0_ |= 0x00000400; 313 status_ = input.readBytes(); 314 break; 315 } 316 case 98: { 317 bitField0_ |= 0x00000800; 318 checksum_ = input.readBytes(); 319 break; 320 } 321 case 106: { 322 bitField0_ |= 0x00001000; 323 assigneeLogin_ = input.readBytes(); 324 break; 325 } 326 case 112: { 327 bitField0_ |= 0x00002000; 328 creationDate_ = input.readInt64(); 329 break; 330 } 331 } 332 } 333 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 334 throw e.setUnfinishedMessage(this); 335 } catch (java.io.IOException e) { 336 throw new com.google.protobuf.InvalidProtocolBufferException( 337 e.getMessage()).setUnfinishedMessage(this); 338 } finally { 339 this.unknownFields = unknownFields.build(); 340 makeExtensionsImmutable(); 341 } 342 } 343 public static final com.google.protobuf.Descriptors.Descriptor 344 getDescriptor() { 345 return org.sonar.batch.protocol.input.BatchInput.internal_static_ServerIssue_descriptor; 346 } 347 348 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 349 internalGetFieldAccessorTable() { 350 return org.sonar.batch.protocol.input.BatchInput.internal_static_ServerIssue_fieldAccessorTable 351 .ensureFieldAccessorsInitialized( 352 org.sonar.batch.protocol.input.BatchInput.ServerIssue.class, org.sonar.batch.protocol.input.BatchInput.ServerIssue.Builder.class); 353 } 354 355 public static com.google.protobuf.Parser<ServerIssue> PARSER = 356 new com.google.protobuf.AbstractParser<ServerIssue>() { 357 public ServerIssue parsePartialFrom( 358 com.google.protobuf.CodedInputStream input, 359 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 360 throws com.google.protobuf.InvalidProtocolBufferException { 361 return new ServerIssue(input, extensionRegistry); 362 } 363 }; 364 365 @java.lang.Override 366 public com.google.protobuf.Parser<ServerIssue> getParserForType() { 367 return PARSER; 368 } 369 370 private int bitField0_; 371 // optional string key = 1; 372 public static final int KEY_FIELD_NUMBER = 1; 373 private java.lang.Object key_; 374 /** 375 * <code>optional string key = 1;</code> 376 */ 377 public boolean hasKey() { 378 return ((bitField0_ & 0x00000001) == 0x00000001); 379 } 380 /** 381 * <code>optional string key = 1;</code> 382 */ 383 public java.lang.String getKey() { 384 java.lang.Object ref = key_; 385 if (ref instanceof java.lang.String) { 386 return (java.lang.String) ref; 387 } else { 388 com.google.protobuf.ByteString bs = 389 (com.google.protobuf.ByteString) ref; 390 java.lang.String s = bs.toStringUtf8(); 391 if (bs.isValidUtf8()) { 392 key_ = s; 393 } 394 return s; 395 } 396 } 397 /** 398 * <code>optional string key = 1;</code> 399 */ 400 public com.google.protobuf.ByteString 401 getKeyBytes() { 402 java.lang.Object ref = key_; 403 if (ref instanceof java.lang.String) { 404 com.google.protobuf.ByteString b = 405 com.google.protobuf.ByteString.copyFromUtf8( 406 (java.lang.String) ref); 407 key_ = b; 408 return b; 409 } else { 410 return (com.google.protobuf.ByteString) ref; 411 } 412 } 413 414 // optional string module_key = 2; 415 public static final int MODULE_KEY_FIELD_NUMBER = 2; 416 private java.lang.Object moduleKey_; 417 /** 418 * <code>optional string module_key = 2;</code> 419 */ 420 public boolean hasModuleKey() { 421 return ((bitField0_ & 0x00000002) == 0x00000002); 422 } 423 /** 424 * <code>optional string module_key = 2;</code> 425 */ 426 public java.lang.String getModuleKey() { 427 java.lang.Object ref = moduleKey_; 428 if (ref instanceof java.lang.String) { 429 return (java.lang.String) ref; 430 } else { 431 com.google.protobuf.ByteString bs = 432 (com.google.protobuf.ByteString) ref; 433 java.lang.String s = bs.toStringUtf8(); 434 if (bs.isValidUtf8()) { 435 moduleKey_ = s; 436 } 437 return s; 438 } 439 } 440 /** 441 * <code>optional string module_key = 2;</code> 442 */ 443 public com.google.protobuf.ByteString 444 getModuleKeyBytes() { 445 java.lang.Object ref = moduleKey_; 446 if (ref instanceof java.lang.String) { 447 com.google.protobuf.ByteString b = 448 com.google.protobuf.ByteString.copyFromUtf8( 449 (java.lang.String) ref); 450 moduleKey_ = b; 451 return b; 452 } else { 453 return (com.google.protobuf.ByteString) ref; 454 } 455 } 456 457 // optional string path = 3; 458 public static final int PATH_FIELD_NUMBER = 3; 459 private java.lang.Object path_; 460 /** 461 * <code>optional string path = 3;</code> 462 */ 463 public boolean hasPath() { 464 return ((bitField0_ & 0x00000004) == 0x00000004); 465 } 466 /** 467 * <code>optional string path = 3;</code> 468 */ 469 public java.lang.String getPath() { 470 java.lang.Object ref = path_; 471 if (ref instanceof java.lang.String) { 472 return (java.lang.String) ref; 473 } else { 474 com.google.protobuf.ByteString bs = 475 (com.google.protobuf.ByteString) ref; 476 java.lang.String s = bs.toStringUtf8(); 477 if (bs.isValidUtf8()) { 478 path_ = s; 479 } 480 return s; 481 } 482 } 483 /** 484 * <code>optional string path = 3;</code> 485 */ 486 public com.google.protobuf.ByteString 487 getPathBytes() { 488 java.lang.Object ref = path_; 489 if (ref instanceof java.lang.String) { 490 com.google.protobuf.ByteString b = 491 com.google.protobuf.ByteString.copyFromUtf8( 492 (java.lang.String) ref); 493 path_ = b; 494 return b; 495 } else { 496 return (com.google.protobuf.ByteString) ref; 497 } 498 } 499 500 // optional string rule_repository = 4; 501 public static final int RULE_REPOSITORY_FIELD_NUMBER = 4; 502 private java.lang.Object ruleRepository_; 503 /** 504 * <code>optional string rule_repository = 4;</code> 505 */ 506 public boolean hasRuleRepository() { 507 return ((bitField0_ & 0x00000008) == 0x00000008); 508 } 509 /** 510 * <code>optional string rule_repository = 4;</code> 511 */ 512 public java.lang.String getRuleRepository() { 513 java.lang.Object ref = ruleRepository_; 514 if (ref instanceof java.lang.String) { 515 return (java.lang.String) ref; 516 } else { 517 com.google.protobuf.ByteString bs = 518 (com.google.protobuf.ByteString) ref; 519 java.lang.String s = bs.toStringUtf8(); 520 if (bs.isValidUtf8()) { 521 ruleRepository_ = s; 522 } 523 return s; 524 } 525 } 526 /** 527 * <code>optional string rule_repository = 4;</code> 528 */ 529 public com.google.protobuf.ByteString 530 getRuleRepositoryBytes() { 531 java.lang.Object ref = ruleRepository_; 532 if (ref instanceof java.lang.String) { 533 com.google.protobuf.ByteString b = 534 com.google.protobuf.ByteString.copyFromUtf8( 535 (java.lang.String) ref); 536 ruleRepository_ = b; 537 return b; 538 } else { 539 return (com.google.protobuf.ByteString) ref; 540 } 541 } 542 543 // optional string rule_key = 5; 544 public static final int RULE_KEY_FIELD_NUMBER = 5; 545 private java.lang.Object ruleKey_; 546 /** 547 * <code>optional string rule_key = 5;</code> 548 */ 549 public boolean hasRuleKey() { 550 return ((bitField0_ & 0x00000010) == 0x00000010); 551 } 552 /** 553 * <code>optional string rule_key = 5;</code> 554 */ 555 public java.lang.String getRuleKey() { 556 java.lang.Object ref = ruleKey_; 557 if (ref instanceof java.lang.String) { 558 return (java.lang.String) ref; 559 } else { 560 com.google.protobuf.ByteString bs = 561 (com.google.protobuf.ByteString) ref; 562 java.lang.String s = bs.toStringUtf8(); 563 if (bs.isValidUtf8()) { 564 ruleKey_ = s; 565 } 566 return s; 567 } 568 } 569 /** 570 * <code>optional string rule_key = 5;</code> 571 */ 572 public com.google.protobuf.ByteString 573 getRuleKeyBytes() { 574 java.lang.Object ref = ruleKey_; 575 if (ref instanceof java.lang.String) { 576 com.google.protobuf.ByteString b = 577 com.google.protobuf.ByteString.copyFromUtf8( 578 (java.lang.String) ref); 579 ruleKey_ = b; 580 return b; 581 } else { 582 return (com.google.protobuf.ByteString) ref; 583 } 584 } 585 586 // optional int32 line = 6; 587 public static final int LINE_FIELD_NUMBER = 6; 588 private int line_; 589 /** 590 * <code>optional int32 line = 6;</code> 591 */ 592 public boolean hasLine() { 593 return ((bitField0_ & 0x00000020) == 0x00000020); 594 } 595 /** 596 * <code>optional int32 line = 6;</code> 597 */ 598 public int getLine() { 599 return line_; 600 } 601 602 // optional string msg = 7; 603 public static final int MSG_FIELD_NUMBER = 7; 604 private java.lang.Object msg_; 605 /** 606 * <code>optional string msg = 7;</code> 607 */ 608 public boolean hasMsg() { 609 return ((bitField0_ & 0x00000040) == 0x00000040); 610 } 611 /** 612 * <code>optional string msg = 7;</code> 613 */ 614 public java.lang.String getMsg() { 615 java.lang.Object ref = msg_; 616 if (ref instanceof java.lang.String) { 617 return (java.lang.String) ref; 618 } else { 619 com.google.protobuf.ByteString bs = 620 (com.google.protobuf.ByteString) ref; 621 java.lang.String s = bs.toStringUtf8(); 622 if (bs.isValidUtf8()) { 623 msg_ = s; 624 } 625 return s; 626 } 627 } 628 /** 629 * <code>optional string msg = 7;</code> 630 */ 631 public com.google.protobuf.ByteString 632 getMsgBytes() { 633 java.lang.Object ref = msg_; 634 if (ref instanceof java.lang.String) { 635 com.google.protobuf.ByteString b = 636 com.google.protobuf.ByteString.copyFromUtf8( 637 (java.lang.String) ref); 638 msg_ = b; 639 return b; 640 } else { 641 return (com.google.protobuf.ByteString) ref; 642 } 643 } 644 645 // optional .Severity severity = 8; 646 public static final int SEVERITY_FIELD_NUMBER = 8; 647 private org.sonar.batch.protocol.Constants.Severity severity_; 648 /** 649 * <code>optional .Severity severity = 8;</code> 650 */ 651 public boolean hasSeverity() { 652 return ((bitField0_ & 0x00000080) == 0x00000080); 653 } 654 /** 655 * <code>optional .Severity severity = 8;</code> 656 */ 657 public org.sonar.batch.protocol.Constants.Severity getSeverity() { 658 return severity_; 659 } 660 661 // optional bool manual_severity = 9; 662 public static final int MANUAL_SEVERITY_FIELD_NUMBER = 9; 663 private boolean manualSeverity_; 664 /** 665 * <code>optional bool manual_severity = 9;</code> 666 */ 667 public boolean hasManualSeverity() { 668 return ((bitField0_ & 0x00000100) == 0x00000100); 669 } 670 /** 671 * <code>optional bool manual_severity = 9;</code> 672 */ 673 public boolean getManualSeverity() { 674 return manualSeverity_; 675 } 676 677 // optional string resolution = 10; 678 public static final int RESOLUTION_FIELD_NUMBER = 10; 679 private java.lang.Object resolution_; 680 /** 681 * <code>optional string resolution = 10;</code> 682 */ 683 public boolean hasResolution() { 684 return ((bitField0_ & 0x00000200) == 0x00000200); 685 } 686 /** 687 * <code>optional string resolution = 10;</code> 688 */ 689 public java.lang.String getResolution() { 690 java.lang.Object ref = resolution_; 691 if (ref instanceof java.lang.String) { 692 return (java.lang.String) ref; 693 } else { 694 com.google.protobuf.ByteString bs = 695 (com.google.protobuf.ByteString) ref; 696 java.lang.String s = bs.toStringUtf8(); 697 if (bs.isValidUtf8()) { 698 resolution_ = s; 699 } 700 return s; 701 } 702 } 703 /** 704 * <code>optional string resolution = 10;</code> 705 */ 706 public com.google.protobuf.ByteString 707 getResolutionBytes() { 708 java.lang.Object ref = resolution_; 709 if (ref instanceof java.lang.String) { 710 com.google.protobuf.ByteString b = 711 com.google.protobuf.ByteString.copyFromUtf8( 712 (java.lang.String) ref); 713 resolution_ = b; 714 return b; 715 } else { 716 return (com.google.protobuf.ByteString) ref; 717 } 718 } 719 720 // optional string status = 11; 721 public static final int STATUS_FIELD_NUMBER = 11; 722 private java.lang.Object status_; 723 /** 724 * <code>optional string status = 11;</code> 725 */ 726 public boolean hasStatus() { 727 return ((bitField0_ & 0x00000400) == 0x00000400); 728 } 729 /** 730 * <code>optional string status = 11;</code> 731 */ 732 public java.lang.String getStatus() { 733 java.lang.Object ref = status_; 734 if (ref instanceof java.lang.String) { 735 return (java.lang.String) ref; 736 } else { 737 com.google.protobuf.ByteString bs = 738 (com.google.protobuf.ByteString) ref; 739 java.lang.String s = bs.toStringUtf8(); 740 if (bs.isValidUtf8()) { 741 status_ = s; 742 } 743 return s; 744 } 745 } 746 /** 747 * <code>optional string status = 11;</code> 748 */ 749 public com.google.protobuf.ByteString 750 getStatusBytes() { 751 java.lang.Object ref = status_; 752 if (ref instanceof java.lang.String) { 753 com.google.protobuf.ByteString b = 754 com.google.protobuf.ByteString.copyFromUtf8( 755 (java.lang.String) ref); 756 status_ = b; 757 return b; 758 } else { 759 return (com.google.protobuf.ByteString) ref; 760 } 761 } 762 763 // optional string checksum = 12; 764 public static final int CHECKSUM_FIELD_NUMBER = 12; 765 private java.lang.Object checksum_; 766 /** 767 * <code>optional string checksum = 12;</code> 768 */ 769 public boolean hasChecksum() { 770 return ((bitField0_ & 0x00000800) == 0x00000800); 771 } 772 /** 773 * <code>optional string checksum = 12;</code> 774 */ 775 public java.lang.String getChecksum() { 776 java.lang.Object ref = checksum_; 777 if (ref instanceof java.lang.String) { 778 return (java.lang.String) ref; 779 } else { 780 com.google.protobuf.ByteString bs = 781 (com.google.protobuf.ByteString) ref; 782 java.lang.String s = bs.toStringUtf8(); 783 if (bs.isValidUtf8()) { 784 checksum_ = s; 785 } 786 return s; 787 } 788 } 789 /** 790 * <code>optional string checksum = 12;</code> 791 */ 792 public com.google.protobuf.ByteString 793 getChecksumBytes() { 794 java.lang.Object ref = checksum_; 795 if (ref instanceof java.lang.String) { 796 com.google.protobuf.ByteString b = 797 com.google.protobuf.ByteString.copyFromUtf8( 798 (java.lang.String) ref); 799 checksum_ = b; 800 return b; 801 } else { 802 return (com.google.protobuf.ByteString) ref; 803 } 804 } 805 806 // optional string assignee_login = 13; 807 public static final int ASSIGNEE_LOGIN_FIELD_NUMBER = 13; 808 private java.lang.Object assigneeLogin_; 809 /** 810 * <code>optional string assignee_login = 13;</code> 811 */ 812 public boolean hasAssigneeLogin() { 813 return ((bitField0_ & 0x00001000) == 0x00001000); 814 } 815 /** 816 * <code>optional string assignee_login = 13;</code> 817 */ 818 public java.lang.String getAssigneeLogin() { 819 java.lang.Object ref = assigneeLogin_; 820 if (ref instanceof java.lang.String) { 821 return (java.lang.String) ref; 822 } else { 823 com.google.protobuf.ByteString bs = 824 (com.google.protobuf.ByteString) ref; 825 java.lang.String s = bs.toStringUtf8(); 826 if (bs.isValidUtf8()) { 827 assigneeLogin_ = s; 828 } 829 return s; 830 } 831 } 832 /** 833 * <code>optional string assignee_login = 13;</code> 834 */ 835 public com.google.protobuf.ByteString 836 getAssigneeLoginBytes() { 837 java.lang.Object ref = assigneeLogin_; 838 if (ref instanceof java.lang.String) { 839 com.google.protobuf.ByteString b = 840 com.google.protobuf.ByteString.copyFromUtf8( 841 (java.lang.String) ref); 842 assigneeLogin_ = b; 843 return b; 844 } else { 845 return (com.google.protobuf.ByteString) ref; 846 } 847 } 848 849 // optional int64 creation_date = 14; 850 public static final int CREATION_DATE_FIELD_NUMBER = 14; 851 private long creationDate_; 852 /** 853 * <code>optional int64 creation_date = 14;</code> 854 */ 855 public boolean hasCreationDate() { 856 return ((bitField0_ & 0x00002000) == 0x00002000); 857 } 858 /** 859 * <code>optional int64 creation_date = 14;</code> 860 */ 861 public long getCreationDate() { 862 return creationDate_; 863 } 864 865 private void initFields() { 866 key_ = ""; 867 moduleKey_ = ""; 868 path_ = ""; 869 ruleRepository_ = ""; 870 ruleKey_ = ""; 871 line_ = 0; 872 msg_ = ""; 873 severity_ = org.sonar.batch.protocol.Constants.Severity.INFO; 874 manualSeverity_ = false; 875 resolution_ = ""; 876 status_ = ""; 877 checksum_ = ""; 878 assigneeLogin_ = ""; 879 creationDate_ = 0L; 880 } 881 private byte memoizedIsInitialized = -1; 882 public final boolean isInitialized() { 883 byte isInitialized = memoizedIsInitialized; 884 if (isInitialized != -1) return isInitialized == 1; 885 886 memoizedIsInitialized = 1; 887 return true; 888 } 889 890 public void writeTo(com.google.protobuf.CodedOutputStream output) 891 throws java.io.IOException { 892 getSerializedSize(); 893 if (((bitField0_ & 0x00000001) == 0x00000001)) { 894 output.writeBytes(1, getKeyBytes()); 895 } 896 if (((bitField0_ & 0x00000002) == 0x00000002)) { 897 output.writeBytes(2, getModuleKeyBytes()); 898 } 899 if (((bitField0_ & 0x00000004) == 0x00000004)) { 900 output.writeBytes(3, getPathBytes()); 901 } 902 if (((bitField0_ & 0x00000008) == 0x00000008)) { 903 output.writeBytes(4, getRuleRepositoryBytes()); 904 } 905 if (((bitField0_ & 0x00000010) == 0x00000010)) { 906 output.writeBytes(5, getRuleKeyBytes()); 907 } 908 if (((bitField0_ & 0x00000020) == 0x00000020)) { 909 output.writeInt32(6, line_); 910 } 911 if (((bitField0_ & 0x00000040) == 0x00000040)) { 912 output.writeBytes(7, getMsgBytes()); 913 } 914 if (((bitField0_ & 0x00000080) == 0x00000080)) { 915 output.writeEnum(8, severity_.getNumber()); 916 } 917 if (((bitField0_ & 0x00000100) == 0x00000100)) { 918 output.writeBool(9, manualSeverity_); 919 } 920 if (((bitField0_ & 0x00000200) == 0x00000200)) { 921 output.writeBytes(10, getResolutionBytes()); 922 } 923 if (((bitField0_ & 0x00000400) == 0x00000400)) { 924 output.writeBytes(11, getStatusBytes()); 925 } 926 if (((bitField0_ & 0x00000800) == 0x00000800)) { 927 output.writeBytes(12, getChecksumBytes()); 928 } 929 if (((bitField0_ & 0x00001000) == 0x00001000)) { 930 output.writeBytes(13, getAssigneeLoginBytes()); 931 } 932 if (((bitField0_ & 0x00002000) == 0x00002000)) { 933 output.writeInt64(14, creationDate_); 934 } 935 getUnknownFields().writeTo(output); 936 } 937 938 private int memoizedSerializedSize = -1; 939 public int getSerializedSize() { 940 int size = memoizedSerializedSize; 941 if (size != -1) return size; 942 943 size = 0; 944 if (((bitField0_ & 0x00000001) == 0x00000001)) { 945 size += com.google.protobuf.CodedOutputStream 946 .computeBytesSize(1, getKeyBytes()); 947 } 948 if (((bitField0_ & 0x00000002) == 0x00000002)) { 949 size += com.google.protobuf.CodedOutputStream 950 .computeBytesSize(2, getModuleKeyBytes()); 951 } 952 if (((bitField0_ & 0x00000004) == 0x00000004)) { 953 size += com.google.protobuf.CodedOutputStream 954 .computeBytesSize(3, getPathBytes()); 955 } 956 if (((bitField0_ & 0x00000008) == 0x00000008)) { 957 size += com.google.protobuf.CodedOutputStream 958 .computeBytesSize(4, getRuleRepositoryBytes()); 959 } 960 if (((bitField0_ & 0x00000010) == 0x00000010)) { 961 size += com.google.protobuf.CodedOutputStream 962 .computeBytesSize(5, getRuleKeyBytes()); 963 } 964 if (((bitField0_ & 0x00000020) == 0x00000020)) { 965 size += com.google.protobuf.CodedOutputStream 966 .computeInt32Size(6, line_); 967 } 968 if (((bitField0_ & 0x00000040) == 0x00000040)) { 969 size += com.google.protobuf.CodedOutputStream 970 .computeBytesSize(7, getMsgBytes()); 971 } 972 if (((bitField0_ & 0x00000080) == 0x00000080)) { 973 size += com.google.protobuf.CodedOutputStream 974 .computeEnumSize(8, severity_.getNumber()); 975 } 976 if (((bitField0_ & 0x00000100) == 0x00000100)) { 977 size += com.google.protobuf.CodedOutputStream 978 .computeBoolSize(9, manualSeverity_); 979 } 980 if (((bitField0_ & 0x00000200) == 0x00000200)) { 981 size += com.google.protobuf.CodedOutputStream 982 .computeBytesSize(10, getResolutionBytes()); 983 } 984 if (((bitField0_ & 0x00000400) == 0x00000400)) { 985 size += com.google.protobuf.CodedOutputStream 986 .computeBytesSize(11, getStatusBytes()); 987 } 988 if (((bitField0_ & 0x00000800) == 0x00000800)) { 989 size += com.google.protobuf.CodedOutputStream 990 .computeBytesSize(12, getChecksumBytes()); 991 } 992 if (((bitField0_ & 0x00001000) == 0x00001000)) { 993 size += com.google.protobuf.CodedOutputStream 994 .computeBytesSize(13, getAssigneeLoginBytes()); 995 } 996 if (((bitField0_ & 0x00002000) == 0x00002000)) { 997 size += com.google.protobuf.CodedOutputStream 998 .computeInt64Size(14, creationDate_); 999 } 1000 size += getUnknownFields().getSerializedSize(); 1001 memoizedSerializedSize = size; 1002 return size; 1003 } 1004 1005 private static final long serialVersionUID = 0L; 1006 @java.lang.Override 1007 protected java.lang.Object writeReplace() 1008 throws java.io.ObjectStreamException { 1009 return super.writeReplace(); 1010 } 1011 1012 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseFrom( 1013 com.google.protobuf.ByteString data) 1014 throws com.google.protobuf.InvalidProtocolBufferException { 1015 return PARSER.parseFrom(data); 1016 } 1017 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseFrom( 1018 com.google.protobuf.ByteString data, 1019 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1020 throws com.google.protobuf.InvalidProtocolBufferException { 1021 return PARSER.parseFrom(data, extensionRegistry); 1022 } 1023 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseFrom(byte[] data) 1024 throws com.google.protobuf.InvalidProtocolBufferException { 1025 return PARSER.parseFrom(data); 1026 } 1027 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseFrom( 1028 byte[] data, 1029 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1030 throws com.google.protobuf.InvalidProtocolBufferException { 1031 return PARSER.parseFrom(data, extensionRegistry); 1032 } 1033 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseFrom(java.io.InputStream input) 1034 throws java.io.IOException { 1035 return PARSER.parseFrom(input); 1036 } 1037 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseFrom( 1038 java.io.InputStream input, 1039 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1040 throws java.io.IOException { 1041 return PARSER.parseFrom(input, extensionRegistry); 1042 } 1043 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseDelimitedFrom(java.io.InputStream input) 1044 throws java.io.IOException { 1045 return PARSER.parseDelimitedFrom(input); 1046 } 1047 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseDelimitedFrom( 1048 java.io.InputStream input, 1049 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1050 throws java.io.IOException { 1051 return PARSER.parseDelimitedFrom(input, extensionRegistry); 1052 } 1053 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseFrom( 1054 com.google.protobuf.CodedInputStream input) 1055 throws java.io.IOException { 1056 return PARSER.parseFrom(input); 1057 } 1058 public static org.sonar.batch.protocol.input.BatchInput.ServerIssue parseFrom( 1059 com.google.protobuf.CodedInputStream input, 1060 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1061 throws java.io.IOException { 1062 return PARSER.parseFrom(input, extensionRegistry); 1063 } 1064 1065 public static Builder newBuilder() { return Builder.create(); } 1066 public Builder newBuilderForType() { return newBuilder(); } 1067 public static Builder newBuilder(org.sonar.batch.protocol.input.BatchInput.ServerIssue prototype) { 1068 return newBuilder().mergeFrom(prototype); 1069 } 1070 public Builder toBuilder() { return newBuilder(this); } 1071 1072 @java.lang.Override 1073 protected Builder newBuilderForType( 1074 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 1075 Builder builder = new Builder(parent); 1076 return builder; 1077 } 1078 /** 1079 * Protobuf type {@code ServerIssue} 1080 */ 1081 public static final class Builder extends 1082 com.google.protobuf.GeneratedMessage.Builder<Builder> 1083 implements org.sonar.batch.protocol.input.BatchInput.ServerIssueOrBuilder { 1084 public static final com.google.protobuf.Descriptors.Descriptor 1085 getDescriptor() { 1086 return org.sonar.batch.protocol.input.BatchInput.internal_static_ServerIssue_descriptor; 1087 } 1088 1089 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 1090 internalGetFieldAccessorTable() { 1091 return org.sonar.batch.protocol.input.BatchInput.internal_static_ServerIssue_fieldAccessorTable 1092 .ensureFieldAccessorsInitialized( 1093 org.sonar.batch.protocol.input.BatchInput.ServerIssue.class, org.sonar.batch.protocol.input.BatchInput.ServerIssue.Builder.class); 1094 } 1095 1096 // Construct using org.sonar.batch.protocol.input.BatchInput.ServerIssue.newBuilder() 1097 private Builder() { 1098 maybeForceBuilderInitialization(); 1099 } 1100 1101 private Builder( 1102 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 1103 super(parent); 1104 maybeForceBuilderInitialization(); 1105 } 1106 private void maybeForceBuilderInitialization() { 1107 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 1108 } 1109 } 1110 private static Builder create() { 1111 return new Builder(); 1112 } 1113 1114 public Builder clear() { 1115 super.clear(); 1116 key_ = ""; 1117 bitField0_ = (bitField0_ & ~0x00000001); 1118 moduleKey_ = ""; 1119 bitField0_ = (bitField0_ & ~0x00000002); 1120 path_ = ""; 1121 bitField0_ = (bitField0_ & ~0x00000004); 1122 ruleRepository_ = ""; 1123 bitField0_ = (bitField0_ & ~0x00000008); 1124 ruleKey_ = ""; 1125 bitField0_ = (bitField0_ & ~0x00000010); 1126 line_ = 0; 1127 bitField0_ = (bitField0_ & ~0x00000020); 1128 msg_ = ""; 1129 bitField0_ = (bitField0_ & ~0x00000040); 1130 severity_ = org.sonar.batch.protocol.Constants.Severity.INFO; 1131 bitField0_ = (bitField0_ & ~0x00000080); 1132 manualSeverity_ = false; 1133 bitField0_ = (bitField0_ & ~0x00000100); 1134 resolution_ = ""; 1135 bitField0_ = (bitField0_ & ~0x00000200); 1136 status_ = ""; 1137 bitField0_ = (bitField0_ & ~0x00000400); 1138 checksum_ = ""; 1139 bitField0_ = (bitField0_ & ~0x00000800); 1140 assigneeLogin_ = ""; 1141 bitField0_ = (bitField0_ & ~0x00001000); 1142 creationDate_ = 0L; 1143 bitField0_ = (bitField0_ & ~0x00002000); 1144 return this; 1145 } 1146 1147 public Builder clone() { 1148 return create().mergeFrom(buildPartial()); 1149 } 1150 1151 public com.google.protobuf.Descriptors.Descriptor 1152 getDescriptorForType() { 1153 return org.sonar.batch.protocol.input.BatchInput.internal_static_ServerIssue_descriptor; 1154 } 1155 1156 public org.sonar.batch.protocol.input.BatchInput.ServerIssue getDefaultInstanceForType() { 1157 return org.sonar.batch.protocol.input.BatchInput.ServerIssue.getDefaultInstance(); 1158 } 1159 1160 public org.sonar.batch.protocol.input.BatchInput.ServerIssue build() { 1161 org.sonar.batch.protocol.input.BatchInput.ServerIssue result = buildPartial(); 1162 if (!result.isInitialized()) { 1163 throw newUninitializedMessageException(result); 1164 } 1165 return result; 1166 } 1167 1168 public org.sonar.batch.protocol.input.BatchInput.ServerIssue buildPartial() { 1169 org.sonar.batch.protocol.input.BatchInput.ServerIssue result = new org.sonar.batch.protocol.input.BatchInput.ServerIssue(this); 1170 int from_bitField0_ = bitField0_; 1171 int to_bitField0_ = 0; 1172 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 1173 to_bitField0_ |= 0x00000001; 1174 } 1175 result.key_ = key_; 1176 if (((from_bitField0_ & 0x00000002) == 0x00000002)) { 1177 to_bitField0_ |= 0x00000002; 1178 } 1179 result.moduleKey_ = moduleKey_; 1180 if (((from_bitField0_ & 0x00000004) == 0x00000004)) { 1181 to_bitField0_ |= 0x00000004; 1182 } 1183 result.path_ = path_; 1184 if (((from_bitField0_ & 0x00000008) == 0x00000008)) { 1185 to_bitField0_ |= 0x00000008; 1186 } 1187 result.ruleRepository_ = ruleRepository_; 1188 if (((from_bitField0_ & 0x00000010) == 0x00000010)) { 1189 to_bitField0_ |= 0x00000010; 1190 } 1191 result.ruleKey_ = ruleKey_; 1192 if (((from_bitField0_ & 0x00000020) == 0x00000020)) { 1193 to_bitField0_ |= 0x00000020; 1194 } 1195 result.line_ = line_; 1196 if (((from_bitField0_ & 0x00000040) == 0x00000040)) { 1197 to_bitField0_ |= 0x00000040; 1198 } 1199 result.msg_ = msg_; 1200 if (((from_bitField0_ & 0x00000080) == 0x00000080)) { 1201 to_bitField0_ |= 0x00000080; 1202 } 1203 result.severity_ = severity_; 1204 if (((from_bitField0_ & 0x00000100) == 0x00000100)) { 1205 to_bitField0_ |= 0x00000100; 1206 } 1207 result.manualSeverity_ = manualSeverity_; 1208 if (((from_bitField0_ & 0x00000200) == 0x00000200)) { 1209 to_bitField0_ |= 0x00000200; 1210 } 1211 result.resolution_ = resolution_; 1212 if (((from_bitField0_ & 0x00000400) == 0x00000400)) { 1213 to_bitField0_ |= 0x00000400; 1214 } 1215 result.status_ = status_; 1216 if (((from_bitField0_ & 0x00000800) == 0x00000800)) { 1217 to_bitField0_ |= 0x00000800; 1218 } 1219 result.checksum_ = checksum_; 1220 if (((from_bitField0_ & 0x00001000) == 0x00001000)) { 1221 to_bitField0_ |= 0x00001000; 1222 } 1223 result.assigneeLogin_ = assigneeLogin_; 1224 if (((from_bitField0_ & 0x00002000) == 0x00002000)) { 1225 to_bitField0_ |= 0x00002000; 1226 } 1227 result.creationDate_ = creationDate_; 1228 result.bitField0_ = to_bitField0_; 1229 onBuilt(); 1230 return result; 1231 } 1232 1233 public Builder mergeFrom(com.google.protobuf.Message other) { 1234 if (other instanceof org.sonar.batch.protocol.input.BatchInput.ServerIssue) { 1235 return mergeFrom((org.sonar.batch.protocol.input.BatchInput.ServerIssue)other); 1236 } else { 1237 super.mergeFrom(other); 1238 return this; 1239 } 1240 } 1241 1242 public Builder mergeFrom(org.sonar.batch.protocol.input.BatchInput.ServerIssue other) { 1243 if (other == org.sonar.batch.protocol.input.BatchInput.ServerIssue.getDefaultInstance()) return this; 1244 if (other.hasKey()) { 1245 bitField0_ |= 0x00000001; 1246 key_ = other.key_; 1247 onChanged(); 1248 } 1249 if (other.hasModuleKey()) { 1250 bitField0_ |= 0x00000002; 1251 moduleKey_ = other.moduleKey_; 1252 onChanged(); 1253 } 1254 if (other.hasPath()) { 1255 bitField0_ |= 0x00000004; 1256 path_ = other.path_; 1257 onChanged(); 1258 } 1259 if (other.hasRuleRepository()) { 1260 bitField0_ |= 0x00000008; 1261 ruleRepository_ = other.ruleRepository_; 1262 onChanged(); 1263 } 1264 if (other.hasRuleKey()) { 1265 bitField0_ |= 0x00000010; 1266 ruleKey_ = other.ruleKey_; 1267 onChanged(); 1268 } 1269 if (other.hasLine()) { 1270 setLine(other.getLine()); 1271 } 1272 if (other.hasMsg()) { 1273 bitField0_ |= 0x00000040; 1274 msg_ = other.msg_; 1275 onChanged(); 1276 } 1277 if (other.hasSeverity()) { 1278 setSeverity(other.getSeverity()); 1279 } 1280 if (other.hasManualSeverity()) { 1281 setManualSeverity(other.getManualSeverity()); 1282 } 1283 if (other.hasResolution()) { 1284 bitField0_ |= 0x00000200; 1285 resolution_ = other.resolution_; 1286 onChanged(); 1287 } 1288 if (other.hasStatus()) { 1289 bitField0_ |= 0x00000400; 1290 status_ = other.status_; 1291 onChanged(); 1292 } 1293 if (other.hasChecksum()) { 1294 bitField0_ |= 0x00000800; 1295 checksum_ = other.checksum_; 1296 onChanged(); 1297 } 1298 if (other.hasAssigneeLogin()) { 1299 bitField0_ |= 0x00001000; 1300 assigneeLogin_ = other.assigneeLogin_; 1301 onChanged(); 1302 } 1303 if (other.hasCreationDate()) { 1304 setCreationDate(other.getCreationDate()); 1305 } 1306 this.mergeUnknownFields(other.getUnknownFields()); 1307 return this; 1308 } 1309 1310 public final boolean isInitialized() { 1311 return true; 1312 } 1313 1314 public Builder mergeFrom( 1315 com.google.protobuf.CodedInputStream input, 1316 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1317 throws java.io.IOException { 1318 org.sonar.batch.protocol.input.BatchInput.ServerIssue parsedMessage = null; 1319 try { 1320 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 1321 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 1322 parsedMessage = (org.sonar.batch.protocol.input.BatchInput.ServerIssue) e.getUnfinishedMessage(); 1323 throw e; 1324 } finally { 1325 if (parsedMessage != null) { 1326 mergeFrom(parsedMessage); 1327 } 1328 } 1329 return this; 1330 } 1331 private int bitField0_; 1332 1333 // optional string key = 1; 1334 private java.lang.Object key_ = ""; 1335 /** 1336 * <code>optional string key = 1;</code> 1337 */ 1338 public boolean hasKey() { 1339 return ((bitField0_ & 0x00000001) == 0x00000001); 1340 } 1341 /** 1342 * <code>optional string key = 1;</code> 1343 */ 1344 public java.lang.String getKey() { 1345 java.lang.Object ref = key_; 1346 if (!(ref instanceof java.lang.String)) { 1347 java.lang.String s = ((com.google.protobuf.ByteString) ref) 1348 .toStringUtf8(); 1349 key_ = s; 1350 return s; 1351 } else { 1352 return (java.lang.String) ref; 1353 } 1354 } 1355 /** 1356 * <code>optional string key = 1;</code> 1357 */ 1358 public com.google.protobuf.ByteString 1359 getKeyBytes() { 1360 java.lang.Object ref = key_; 1361 if (ref instanceof String) { 1362 com.google.protobuf.ByteString b = 1363 com.google.protobuf.ByteString.copyFromUtf8( 1364 (java.lang.String) ref); 1365 key_ = b; 1366 return b; 1367 } else { 1368 return (com.google.protobuf.ByteString) ref; 1369 } 1370 } 1371 /** 1372 * <code>optional string key = 1;</code> 1373 */ 1374 public Builder setKey( 1375 java.lang.String value) { 1376 if (value == null) { 1377 throw new NullPointerException(); 1378 } 1379 bitField0_ |= 0x00000001; 1380 key_ = value; 1381 onChanged(); 1382 return this; 1383 } 1384 /** 1385 * <code>optional string key = 1;</code> 1386 */ 1387 public Builder clearKey() { 1388 bitField0_ = (bitField0_ & ~0x00000001); 1389 key_ = getDefaultInstance().getKey(); 1390 onChanged(); 1391 return this; 1392 } 1393 /** 1394 * <code>optional string key = 1;</code> 1395 */ 1396 public Builder setKeyBytes( 1397 com.google.protobuf.ByteString value) { 1398 if (value == null) { 1399 throw new NullPointerException(); 1400 } 1401 bitField0_ |= 0x00000001; 1402 key_ = value; 1403 onChanged(); 1404 return this; 1405 } 1406 1407 // optional string module_key = 2; 1408 private java.lang.Object moduleKey_ = ""; 1409 /** 1410 * <code>optional string module_key = 2;</code> 1411 */ 1412 public boolean hasModuleKey() { 1413 return ((bitField0_ & 0x00000002) == 0x00000002); 1414 } 1415 /** 1416 * <code>optional string module_key = 2;</code> 1417 */ 1418 public java.lang.String getModuleKey() { 1419 java.lang.Object ref = moduleKey_; 1420 if (!(ref instanceof java.lang.String)) { 1421 java.lang.String s = ((com.google.protobuf.ByteString) ref) 1422 .toStringUtf8(); 1423 moduleKey_ = s; 1424 return s; 1425 } else { 1426 return (java.lang.String) ref; 1427 } 1428 } 1429 /** 1430 * <code>optional string module_key = 2;</code> 1431 */ 1432 public com.google.protobuf.ByteString 1433 getModuleKeyBytes() { 1434 java.lang.Object ref = moduleKey_; 1435 if (ref instanceof String) { 1436 com.google.protobuf.ByteString b = 1437 com.google.protobuf.ByteString.copyFromUtf8( 1438 (java.lang.String) ref); 1439 moduleKey_ = b; 1440 return b; 1441 } else { 1442 return (com.google.protobuf.ByteString) ref; 1443 } 1444 } 1445 /** 1446 * <code>optional string module_key = 2;</code> 1447 */ 1448 public Builder setModuleKey( 1449 java.lang.String value) { 1450 if (value == null) { 1451 throw new NullPointerException(); 1452 } 1453 bitField0_ |= 0x00000002; 1454 moduleKey_ = value; 1455 onChanged(); 1456 return this; 1457 } 1458 /** 1459 * <code>optional string module_key = 2;</code> 1460 */ 1461 public Builder clearModuleKey() { 1462 bitField0_ = (bitField0_ & ~0x00000002); 1463 moduleKey_ = getDefaultInstance().getModuleKey(); 1464 onChanged(); 1465 return this; 1466 } 1467 /** 1468 * <code>optional string module_key = 2;</code> 1469 */ 1470 public Builder setModuleKeyBytes( 1471 com.google.protobuf.ByteString value) { 1472 if (value == null) { 1473 throw new NullPointerException(); 1474 } 1475 bitField0_ |= 0x00000002; 1476 moduleKey_ = value; 1477 onChanged(); 1478 return this; 1479 } 1480 1481 // optional string path = 3; 1482 private java.lang.Object path_ = ""; 1483 /** 1484 * <code>optional string path = 3;</code> 1485 */ 1486 public boolean hasPath() { 1487 return ((bitField0_ & 0x00000004) == 0x00000004); 1488 } 1489 /** 1490 * <code>optional string path = 3;</code> 1491 */ 1492 public java.lang.String getPath() { 1493 java.lang.Object ref = path_; 1494 if (!(ref instanceof java.lang.String)) { 1495 java.lang.String s = ((com.google.protobuf.ByteString) ref) 1496 .toStringUtf8(); 1497 path_ = s; 1498 return s; 1499 } else { 1500 return (java.lang.String) ref; 1501 } 1502 } 1503 /** 1504 * <code>optional string path = 3;</code> 1505 */ 1506 public com.google.protobuf.ByteString 1507 getPathBytes() { 1508 java.lang.Object ref = path_; 1509 if (ref instanceof String) { 1510 com.google.protobuf.ByteString b = 1511 com.google.protobuf.ByteString.copyFromUtf8( 1512 (java.lang.String) ref); 1513 path_ = b; 1514 return b; 1515 } else { 1516 return (com.google.protobuf.ByteString) ref; 1517 } 1518 } 1519 /** 1520 * <code>optional string path = 3;</code> 1521 */ 1522 public Builder setPath( 1523 java.lang.String value) { 1524 if (value == null) { 1525 throw new NullPointerException(); 1526 } 1527 bitField0_ |= 0x00000004; 1528 path_ = value; 1529 onChanged(); 1530 return this; 1531 } 1532 /** 1533 * <code>optional string path = 3;</code> 1534 */ 1535 public Builder clearPath() { 1536 bitField0_ = (bitField0_ & ~0x00000004); 1537 path_ = getDefaultInstance().getPath(); 1538 onChanged(); 1539 return this; 1540 } 1541 /** 1542 * <code>optional string path = 3;</code> 1543 */ 1544 public Builder setPathBytes( 1545 com.google.protobuf.ByteString value) { 1546 if (value == null) { 1547 throw new NullPointerException(); 1548 } 1549 bitField0_ |= 0x00000004; 1550 path_ = value; 1551 onChanged(); 1552 return this; 1553 } 1554 1555 // optional string rule_repository = 4; 1556 private java.lang.Object ruleRepository_ = ""; 1557 /** 1558 * <code>optional string rule_repository = 4;</code> 1559 */ 1560 public boolean hasRuleRepository() { 1561 return ((bitField0_ & 0x00000008) == 0x00000008); 1562 } 1563 /** 1564 * <code>optional string rule_repository = 4;</code> 1565 */ 1566 public java.lang.String getRuleRepository() { 1567 java.lang.Object ref = ruleRepository_; 1568 if (!(ref instanceof java.lang.String)) { 1569 java.lang.String s = ((com.google.protobuf.ByteString) ref) 1570 .toStringUtf8(); 1571 ruleRepository_ = s; 1572 return s; 1573 } else { 1574 return (java.lang.String) ref; 1575 } 1576 } 1577 /** 1578 * <code>optional string rule_repository = 4;</code> 1579 */ 1580 public com.google.protobuf.ByteString 1581 getRuleRepositoryBytes() { 1582 java.lang.Object ref = ruleRepository_; 1583 if (ref instanceof String) { 1584 com.google.protobuf.ByteString b = 1585 com.google.protobuf.ByteString.copyFromUtf8( 1586 (java.lang.String) ref); 1587 ruleRepository_ = b; 1588 return b; 1589 } else { 1590 return (com.google.protobuf.ByteString) ref; 1591 } 1592 } 1593 /** 1594 * <code>optional string rule_repository = 4;</code> 1595 */ 1596 public Builder setRuleRepository( 1597 java.lang.String value) { 1598 if (value == null) { 1599 throw new NullPointerException(); 1600 } 1601 bitField0_ |= 0x00000008; 1602 ruleRepository_ = value; 1603 onChanged(); 1604 return this; 1605 } 1606 /** 1607 * <code>optional string rule_repository = 4;</code> 1608 */ 1609 public Builder clearRuleRepository() { 1610 bitField0_ = (bitField0_ & ~0x00000008); 1611 ruleRepository_ = getDefaultInstance().getRuleRepository(); 1612 onChanged(); 1613 return this; 1614 } 1615 /** 1616 * <code>optional string rule_repository = 4;</code> 1617 */ 1618 public Builder setRuleRepositoryBytes( 1619 com.google.protobuf.ByteString value) { 1620 if (value == null) { 1621 throw new NullPointerException(); 1622 } 1623 bitField0_ |= 0x00000008; 1624 ruleRepository_ = value; 1625 onChanged(); 1626 return this; 1627 } 1628 1629 // optional string rule_key = 5; 1630 private java.lang.Object ruleKey_ = ""; 1631 /** 1632 * <code>optional string rule_key = 5;</code> 1633 */ 1634 public boolean hasRuleKey() { 1635 return ((bitField0_ & 0x00000010) == 0x00000010); 1636 } 1637 /** 1638 * <code>optional string rule_key = 5;</code> 1639 */ 1640 public java.lang.String getRuleKey() { 1641 java.lang.Object ref = ruleKey_; 1642 if (!(ref instanceof java.lang.String)) { 1643 java.lang.String s = ((com.google.protobuf.ByteString) ref) 1644 .toStringUtf8(); 1645 ruleKey_ = s; 1646 return s; 1647 } else { 1648 return (java.lang.String) ref; 1649 } 1650 } 1651 /** 1652 * <code>optional string rule_key = 5;</code> 1653 */ 1654 public com.google.protobuf.ByteString 1655 getRuleKeyBytes() { 1656 java.lang.Object ref = ruleKey_; 1657 if (ref instanceof String) { 1658 com.google.protobuf.ByteString b = 1659 com.google.protobuf.ByteString.copyFromUtf8( 1660 (java.lang.String) ref); 1661 ruleKey_ = b; 1662 return b; 1663 } else { 1664 return (com.google.protobuf.ByteString) ref; 1665 } 1666 } 1667 /** 1668 * <code>optional string rule_key = 5;</code> 1669 */ 1670 public Builder setRuleKey( 1671 java.lang.String value) { 1672 if (value == null) { 1673 throw new NullPointerException(); 1674 } 1675 bitField0_ |= 0x00000010; 1676 ruleKey_ = value; 1677 onChanged(); 1678 return this; 1679 } 1680 /** 1681 * <code>optional string rule_key = 5;</code> 1682 */ 1683 public Builder clearRuleKey() { 1684 bitField0_ = (bitField0_ & ~0x00000010); 1685 ruleKey_ = getDefaultInstance().getRuleKey(); 1686 onChanged(); 1687 return this; 1688 } 1689 /** 1690 * <code>optional string rule_key = 5;</code> 1691 */ 1692 public Builder setRuleKeyBytes( 1693 com.google.protobuf.ByteString value) { 1694 if (value == null) { 1695 throw new NullPointerException(); 1696 } 1697 bitField0_ |= 0x00000010; 1698 ruleKey_ = value; 1699 onChanged(); 1700 return this; 1701 } 1702 1703 // optional int32 line = 6; 1704 private int line_ ; 1705 /** 1706 * <code>optional int32 line = 6;</code> 1707 */ 1708 public boolean hasLine() { 1709 return ((bitField0_ & 0x00000020) == 0x00000020); 1710 } 1711 /** 1712 * <code>optional int32 line = 6;</code> 1713 */ 1714 public int getLine() { 1715 return line_; 1716 } 1717 /** 1718 * <code>optional int32 line = 6;</code> 1719 */ 1720 public Builder setLine(int value) { 1721 bitField0_ |= 0x00000020; 1722 line_ = value; 1723 onChanged(); 1724 return this; 1725 } 1726 /** 1727 * <code>optional int32 line = 6;</code> 1728 */ 1729 public Builder clearLine() { 1730 bitField0_ = (bitField0_ & ~0x00000020); 1731 line_ = 0; 1732 onChanged(); 1733 return this; 1734 } 1735 1736 // optional string msg = 7; 1737 private java.lang.Object msg_ = ""; 1738 /** 1739 * <code>optional string msg = 7;</code> 1740 */ 1741 public boolean hasMsg() { 1742 return ((bitField0_ & 0x00000040) == 0x00000040); 1743 } 1744 /** 1745 * <code>optional string msg = 7;</code> 1746 */ 1747 public java.lang.String getMsg() { 1748 java.lang.Object ref = msg_; 1749 if (!(ref instanceof java.lang.String)) { 1750 java.lang.String s = ((com.google.protobuf.ByteString) ref) 1751 .toStringUtf8(); 1752 msg_ = s; 1753 return s; 1754 } else { 1755 return (java.lang.String) ref; 1756 } 1757 } 1758 /** 1759 * <code>optional string msg = 7;</code> 1760 */ 1761 public com.google.protobuf.ByteString 1762 getMsgBytes() { 1763 java.lang.Object ref = msg_; 1764 if (ref instanceof String) { 1765 com.google.protobuf.ByteString b = 1766 com.google.protobuf.ByteString.copyFromUtf8( 1767 (java.lang.String) ref); 1768 msg_ = b; 1769 return b; 1770 } else { 1771 return (com.google.protobuf.ByteString) ref; 1772 } 1773 } 1774 /** 1775 * <code>optional string msg = 7;</code> 1776 */ 1777 public Builder setMsg( 1778 java.lang.String value) { 1779 if (value == null) { 1780 throw new NullPointerException(); 1781 } 1782 bitField0_ |= 0x00000040; 1783 msg_ = value; 1784 onChanged(); 1785 return this; 1786 } 1787 /** 1788 * <code>optional string msg = 7;</code> 1789 */ 1790 public Builder clearMsg() { 1791 bitField0_ = (bitField0_ & ~0x00000040); 1792 msg_ = getDefaultInstance().getMsg(); 1793 onChanged(); 1794 return this; 1795 } 1796 /** 1797 * <code>optional string msg = 7;</code> 1798 */ 1799 public Builder setMsgBytes( 1800 com.google.protobuf.ByteString value) { 1801 if (value == null) { 1802 throw new NullPointerException(); 1803 } 1804 bitField0_ |= 0x00000040; 1805 msg_ = value; 1806 onChanged(); 1807 return this; 1808 } 1809 1810 // optional .Severity severity = 8; 1811 private org.sonar.batch.protocol.Constants.Severity severity_ = org.sonar.batch.protocol.Constants.Severity.INFO; 1812 /** 1813 * <code>optional .Severity severity = 8;</code> 1814 */ 1815 public boolean hasSeverity() { 1816 return ((bitField0_ & 0x00000080) == 0x00000080); 1817 } 1818 /** 1819 * <code>optional .Severity severity = 8;</code> 1820 */ 1821 public org.sonar.batch.protocol.Constants.Severity getSeverity() { 1822 return severity_; 1823 } 1824 /** 1825 * <code>optional .Severity severity = 8;</code> 1826 */ 1827 public Builder setSeverity(org.sonar.batch.protocol.Constants.Severity value) { 1828 if (value == null) { 1829 throw new NullPointerException(); 1830 } 1831 bitField0_ |= 0x00000080; 1832 severity_ = value; 1833 onChanged(); 1834 return this; 1835 } 1836 /** 1837 * <code>optional .Severity severity = 8;</code> 1838 */ 1839 public Builder clearSeverity() { 1840 bitField0_ = (bitField0_ & ~0x00000080); 1841 severity_ = org.sonar.batch.protocol.Constants.Severity.INFO; 1842 onChanged(); 1843 return this; 1844 } 1845 1846 // optional bool manual_severity = 9; 1847 private boolean manualSeverity_ ; 1848 /** 1849 * <code>optional bool manual_severity = 9;</code> 1850 */ 1851 public boolean hasManualSeverity() { 1852 return ((bitField0_ & 0x00000100) == 0x00000100); 1853 } 1854 /** 1855 * <code>optional bool manual_severity = 9;</code> 1856 */ 1857 public boolean getManualSeverity() { 1858 return manualSeverity_; 1859 } 1860 /** 1861 * <code>optional bool manual_severity = 9;</code> 1862 */ 1863 public Builder setManualSeverity(boolean value) { 1864 bitField0_ |= 0x00000100; 1865 manualSeverity_ = value; 1866 onChanged(); 1867 return this; 1868 } 1869 /** 1870 * <code>optional bool manual_severity = 9;</code> 1871 */ 1872 public Builder clearManualSeverity() { 1873 bitField0_ = (bitField0_ & ~0x00000100); 1874 manualSeverity_ = false; 1875 onChanged(); 1876 return this; 1877 } 1878 1879 // optional string resolution = 10; 1880 private java.lang.Object resolution_ = ""; 1881 /** 1882 * <code>optional string resolution = 10;</code> 1883 */ 1884 public boolean hasResolution() { 1885 return ((bitField0_ & 0x00000200) == 0x00000200); 1886 } 1887 /** 1888 * <code>optional string resolution = 10;</code> 1889 */ 1890 public java.lang.String getResolution() { 1891 java.lang.Object ref = resolution_; 1892 if (!(ref instanceof java.lang.String)) { 1893 java.lang.String s = ((com.google.protobuf.ByteString) ref) 1894 .toStringUtf8(); 1895 resolution_ = s; 1896 return s; 1897 } else { 1898 return (java.lang.String) ref; 1899 } 1900 } 1901 /** 1902 * <code>optional string resolution = 10;</code> 1903 */ 1904 public com.google.protobuf.ByteString 1905 getResolutionBytes() { 1906 java.lang.Object ref = resolution_; 1907 if (ref instanceof String) { 1908 com.google.protobuf.ByteString b = 1909 com.google.protobuf.ByteString.copyFromUtf8( 1910 (java.lang.String) ref); 1911 resolution_ = b; 1912 return b; 1913 } else { 1914 return (com.google.protobuf.ByteString) ref; 1915 } 1916 } 1917 /** 1918 * <code>optional string resolution = 10;</code> 1919 */ 1920 public Builder setResolution( 1921 java.lang.String value) { 1922 if (value == null) { 1923 throw new NullPointerException(); 1924 } 1925 bitField0_ |= 0x00000200; 1926 resolution_ = value; 1927 onChanged(); 1928 return this; 1929 } 1930 /** 1931 * <code>optional string resolution = 10;</code> 1932 */ 1933 public Builder clearResolution() { 1934 bitField0_ = (bitField0_ & ~0x00000200); 1935 resolution_ = getDefaultInstance().getResolution(); 1936 onChanged(); 1937 return this; 1938 } 1939 /** 1940 * <code>optional string resolution = 10;</code> 1941 */ 1942 public Builder setResolutionBytes( 1943 com.google.protobuf.ByteString value) { 1944 if (value == null) { 1945 throw new NullPointerException(); 1946 } 1947 bitField0_ |= 0x00000200; 1948 resolution_ = value; 1949 onChanged(); 1950 return this; 1951 } 1952 1953 // optional string status = 11; 1954 private java.lang.Object status_ = ""; 1955 /** 1956 * <code>optional string status = 11;</code> 1957 */ 1958 public boolean hasStatus() { 1959 return ((bitField0_ & 0x00000400) == 0x00000400); 1960 } 1961 /** 1962 * <code>optional string status = 11;</code> 1963 */ 1964 public java.lang.String getStatus() { 1965 java.lang.Object ref = status_; 1966 if (!(ref instanceof java.lang.String)) { 1967 java.lang.String s = ((com.google.protobuf.ByteString) ref) 1968 .toStringUtf8(); 1969 status_ = s; 1970 return s; 1971 } else { 1972 return (java.lang.String) ref; 1973 } 1974 } 1975 /** 1976 * <code>optional string status = 11;</code> 1977 */ 1978 public com.google.protobuf.ByteString 1979 getStatusBytes() { 1980 java.lang.Object ref = status_; 1981 if (ref instanceof String) { 1982 com.google.protobuf.ByteString b = 1983 com.google.protobuf.ByteString.copyFromUtf8( 1984 (java.lang.String) ref); 1985 status_ = b; 1986 return b; 1987 } else { 1988 return (com.google.protobuf.ByteString) ref; 1989 } 1990 } 1991 /** 1992 * <code>optional string status = 11;</code> 1993 */ 1994 public Builder setStatus( 1995 java.lang.String value) { 1996 if (value == null) { 1997 throw new NullPointerException(); 1998 } 1999 bitField0_ |= 0x00000400; 2000 status_ = value; 2001 onChanged(); 2002 return this; 2003 } 2004 /** 2005 * <code>optional string status = 11;</code> 2006 */ 2007 public Builder clearStatus() { 2008 bitField0_ = (bitField0_ & ~0x00000400); 2009 status_ = getDefaultInstance().getStatus(); 2010 onChanged(); 2011 return this; 2012 } 2013 /** 2014 * <code>optional string status = 11;</code> 2015 */ 2016 public Builder setStatusBytes( 2017 com.google.protobuf.ByteString value) { 2018 if (value == null) { 2019 throw new NullPointerException(); 2020 } 2021 bitField0_ |= 0x00000400; 2022 status_ = value; 2023 onChanged(); 2024 return this; 2025 } 2026 2027 // optional string checksum = 12; 2028 private java.lang.Object checksum_ = ""; 2029 /** 2030 * <code>optional string checksum = 12;</code> 2031 */ 2032 public boolean hasChecksum() { 2033 return ((bitField0_ & 0x00000800) == 0x00000800); 2034 } 2035 /** 2036 * <code>optional string checksum = 12;</code> 2037 */ 2038 public java.lang.String getChecksum() { 2039 java.lang.Object ref = checksum_; 2040 if (!(ref instanceof java.lang.String)) { 2041 java.lang.String s = ((com.google.protobuf.ByteString) ref) 2042 .toStringUtf8(); 2043 checksum_ = s; 2044 return s; 2045 } else { 2046 return (java.lang.String) ref; 2047 } 2048 } 2049 /** 2050 * <code>optional string checksum = 12;</code> 2051 */ 2052 public com.google.protobuf.ByteString 2053 getChecksumBytes() { 2054 java.lang.Object ref = checksum_; 2055 if (ref instanceof String) { 2056 com.google.protobuf.ByteString b = 2057 com.google.protobuf.ByteString.copyFromUtf8( 2058 (java.lang.String) ref); 2059 checksum_ = b; 2060 return b; 2061 } else { 2062 return (com.google.protobuf.ByteString) ref; 2063 } 2064 } 2065 /** 2066 * <code>optional string checksum = 12;</code> 2067 */ 2068 public Builder setChecksum( 2069 java.lang.String value) { 2070 if (value == null) { 2071 throw new NullPointerException(); 2072 } 2073 bitField0_ |= 0x00000800; 2074 checksum_ = value; 2075 onChanged(); 2076 return this; 2077 } 2078 /** 2079 * <code>optional string checksum = 12;</code> 2080 */ 2081 public Builder clearChecksum() { 2082 bitField0_ = (bitField0_ & ~0x00000800); 2083 checksum_ = getDefaultInstance().getChecksum(); 2084 onChanged(); 2085 return this; 2086 } 2087 /** 2088 * <code>optional string checksum = 12;</code> 2089 */ 2090 public Builder setChecksumBytes( 2091 com.google.protobuf.ByteString value) { 2092 if (value == null) { 2093 throw new NullPointerException(); 2094 } 2095 bitField0_ |= 0x00000800; 2096 checksum_ = value; 2097 onChanged(); 2098 return this; 2099 } 2100 2101 // optional string assignee_login = 13; 2102 private java.lang.Object assigneeLogin_ = ""; 2103 /** 2104 * <code>optional string assignee_login = 13;</code> 2105 */ 2106 public boolean hasAssigneeLogin() { 2107 return ((bitField0_ & 0x00001000) == 0x00001000); 2108 } 2109 /** 2110 * <code>optional string assignee_login = 13;</code> 2111 */ 2112 public java.lang.String getAssigneeLogin() { 2113 java.lang.Object ref = assigneeLogin_; 2114 if (!(ref instanceof java.lang.String)) { 2115 java.lang.String s = ((com.google.protobuf.ByteString) ref) 2116 .toStringUtf8(); 2117 assigneeLogin_ = s; 2118 return s; 2119 } else { 2120 return (java.lang.String) ref; 2121 } 2122 } 2123 /** 2124 * <code>optional string assignee_login = 13;</code> 2125 */ 2126 public com.google.protobuf.ByteString 2127 getAssigneeLoginBytes() { 2128 java.lang.Object ref = assigneeLogin_; 2129 if (ref instanceof String) { 2130 com.google.protobuf.ByteString b = 2131 com.google.protobuf.ByteString.copyFromUtf8( 2132 (java.lang.String) ref); 2133 assigneeLogin_ = b; 2134 return b; 2135 } else { 2136 return (com.google.protobuf.ByteString) ref; 2137 } 2138 } 2139 /** 2140 * <code>optional string assignee_login = 13;</code> 2141 */ 2142 public Builder setAssigneeLogin( 2143 java.lang.String value) { 2144 if (value == null) { 2145 throw new NullPointerException(); 2146 } 2147 bitField0_ |= 0x00001000; 2148 assigneeLogin_ = value; 2149 onChanged(); 2150 return this; 2151 } 2152 /** 2153 * <code>optional string assignee_login = 13;</code> 2154 */ 2155 public Builder clearAssigneeLogin() { 2156 bitField0_ = (bitField0_ & ~0x00001000); 2157 assigneeLogin_ = getDefaultInstance().getAssigneeLogin(); 2158 onChanged(); 2159 return this; 2160 } 2161 /** 2162 * <code>optional string assignee_login = 13;</code> 2163 */ 2164 public Builder setAssigneeLoginBytes( 2165 com.google.protobuf.ByteString value) { 2166 if (value == null) { 2167 throw new NullPointerException(); 2168 } 2169 bitField0_ |= 0x00001000; 2170 assigneeLogin_ = value; 2171 onChanged(); 2172 return this; 2173 } 2174 2175 // optional int64 creation_date = 14; 2176 private long creationDate_ ; 2177 /** 2178 * <code>optional int64 creation_date = 14;</code> 2179 */ 2180 public boolean hasCreationDate() { 2181 return ((bitField0_ & 0x00002000) == 0x00002000); 2182 } 2183 /** 2184 * <code>optional int64 creation_date = 14;</code> 2185 */ 2186 public long getCreationDate() { 2187 return creationDate_; 2188 } 2189 /** 2190 * <code>optional int64 creation_date = 14;</code> 2191 */ 2192 public Builder setCreationDate(long value) { 2193 bitField0_ |= 0x00002000; 2194 creationDate_ = value; 2195 onChanged(); 2196 return this; 2197 } 2198 /** 2199 * <code>optional int64 creation_date = 14;</code> 2200 */ 2201 public Builder clearCreationDate() { 2202 bitField0_ = (bitField0_ & ~0x00002000); 2203 creationDate_ = 0L; 2204 onChanged(); 2205 return this; 2206 } 2207 2208 // @@protoc_insertion_point(builder_scope:ServerIssue) 2209 } 2210 2211 static { 2212 defaultInstance = new ServerIssue(true); 2213 defaultInstance.initFields(); 2214 } 2215 2216 // @@protoc_insertion_point(class_scope:ServerIssue) 2217 } 2218 2219 private static com.google.protobuf.Descriptors.Descriptor 2220 internal_static_ServerIssue_descriptor; 2221 private static 2222 com.google.protobuf.GeneratedMessage.FieldAccessorTable 2223 internal_static_ServerIssue_fieldAccessorTable; 2224 2225 public static com.google.protobuf.Descriptors.FileDescriptor 2226 getDescriptor() { 2227 return descriptor; 2228 } 2229 private static com.google.protobuf.Descriptors.FileDescriptor 2230 descriptor; 2231 static { 2232 java.lang.String[] descriptorData = { 2233 "\n\021batch_input.proto\032\017constants.proto\"\235\002\n" + 2234 "\013ServerIssue\022\013\n\003key\030\001 \001(\t\022\022\n\nmodule_key\030" + 2235 "\002 \001(\t\022\014\n\004path\030\003 \001(\t\022\027\n\017rule_repository\030\004" + 2236 " \001(\t\022\020\n\010rule_key\030\005 \001(\t\022\014\n\004line\030\006 \001(\005\022\013\n\003" + 2237 "msg\030\007 \001(\t\022\033\n\010severity\030\010 \001(\0162\t.Severity\022\027" + 2238 "\n\017manual_severity\030\t \001(\010\022\022\n\nresolution\030\n " + 2239 "\001(\t\022\016\n\006status\030\013 \001(\t\022\020\n\010checksum\030\014 \001(\t\022\026\n" + 2240 "\016assignee_login\030\r \001(\t\022\025\n\rcreation_date\030\016" + 2241 " \001(\003B\"\n\036org.sonar.batch.protocol.inputH\001" 2242 }; 2243 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = 2244 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { 2245 public com.google.protobuf.ExtensionRegistry assignDescriptors( 2246 com.google.protobuf.Descriptors.FileDescriptor root) { 2247 descriptor = root; 2248 internal_static_ServerIssue_descriptor = 2249 getDescriptor().getMessageTypes().get(0); 2250 internal_static_ServerIssue_fieldAccessorTable = new 2251 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 2252 internal_static_ServerIssue_descriptor, 2253 new java.lang.String[] { "Key", "ModuleKey", "Path", "RuleRepository", "RuleKey", "Line", "Msg", "Severity", "ManualSeverity", "Resolution", "Status", "Checksum", "AssigneeLogin", "CreationDate", }); 2254 return null; 2255 } 2256 }; 2257 com.google.protobuf.Descriptors.FileDescriptor 2258 .internalBuildGeneratedFileFrom(descriptorData, 2259 new com.google.protobuf.Descriptors.FileDescriptor[] { 2260 org.sonar.batch.protocol.Constants.getDescriptor(), 2261 }, assigner); 2262 } 2263 2264 // @@protoc_insertion_point(outer_class_scope) 2265}