001// Generated by the protocol buffer compiler. DO NOT EDIT! 002// source: ws-ce.proto 003 004package org.sonarqube.ws; 005 006public final class WsCe { 007 private WsCe() {} 008 public static void registerAllExtensions( 009 com.google.protobuf.ExtensionRegistry registry) { 010 } 011 /** 012 * Protobuf enum {@code sonarqube.ws.ce.TaskStatus} 013 */ 014 public enum TaskStatus 015 implements com.google.protobuf.ProtocolMessageEnum { 016 /** 017 * <code>PENDING = 0;</code> 018 */ 019 PENDING(0, 0), 020 /** 021 * <code>IN_PROGRESS = 1;</code> 022 */ 023 IN_PROGRESS(1, 1), 024 /** 025 * <code>SUCCESS = 2;</code> 026 */ 027 SUCCESS(2, 2), 028 /** 029 * <code>FAILED = 3;</code> 030 */ 031 FAILED(3, 3), 032 /** 033 * <code>CANCELED = 4;</code> 034 */ 035 CANCELED(4, 4), 036 ; 037 038 /** 039 * <code>PENDING = 0;</code> 040 */ 041 public static final int PENDING_VALUE = 0; 042 /** 043 * <code>IN_PROGRESS = 1;</code> 044 */ 045 public static final int IN_PROGRESS_VALUE = 1; 046 /** 047 * <code>SUCCESS = 2;</code> 048 */ 049 public static final int SUCCESS_VALUE = 2; 050 /** 051 * <code>FAILED = 3;</code> 052 */ 053 public static final int FAILED_VALUE = 3; 054 /** 055 * <code>CANCELED = 4;</code> 056 */ 057 public static final int CANCELED_VALUE = 4; 058 059 060 public final int getNumber() { 061 return value; 062 } 063 064 public static TaskStatus valueOf(int value) { 065 switch (value) { 066 case 0: return PENDING; 067 case 1: return IN_PROGRESS; 068 case 2: return SUCCESS; 069 case 3: return FAILED; 070 case 4: return CANCELED; 071 default: return null; 072 } 073 } 074 075 public static com.google.protobuf.Internal.EnumLiteMap<TaskStatus> 076 internalGetValueMap() { 077 return internalValueMap; 078 } 079 private static final com.google.protobuf.Internal.EnumLiteMap< 080 TaskStatus> internalValueMap = 081 new com.google.protobuf.Internal.EnumLiteMap<TaskStatus>() { 082 public TaskStatus findValueByNumber(int number) { 083 return TaskStatus.valueOf(number); 084 } 085 }; 086 087 public final com.google.protobuf.Descriptors.EnumValueDescriptor 088 getValueDescriptor() { 089 return getDescriptor().getValues().get(index); 090 } 091 public final com.google.protobuf.Descriptors.EnumDescriptor 092 getDescriptorForType() { 093 return getDescriptor(); 094 } 095 public static final com.google.protobuf.Descriptors.EnumDescriptor 096 getDescriptor() { 097 return org.sonarqube.ws.WsCe.getDescriptor().getEnumTypes().get(0); 098 } 099 100 private static final TaskStatus[] VALUES = values(); 101 102 public static TaskStatus valueOf( 103 com.google.protobuf.Descriptors.EnumValueDescriptor desc) { 104 if (desc.getType() != getDescriptor()) { 105 throw new java.lang.IllegalArgumentException( 106 "EnumValueDescriptor is not for this type."); 107 } 108 return VALUES[desc.getIndex()]; 109 } 110 111 private final int index; 112 private final int value; 113 114 private TaskStatus(int index, int value) { 115 this.index = index; 116 this.value = value; 117 } 118 119 // @@protoc_insertion_point(enum_scope:sonarqube.ws.ce.TaskStatus) 120 } 121 122 public interface SubmitResponseOrBuilder extends 123 // @@protoc_insertion_point(interface_extends:sonarqube.ws.ce.SubmitResponse) 124 com.google.protobuf.MessageOrBuilder { 125 126 /** 127 * <code>optional string taskId = 1;</code> 128 */ 129 boolean hasTaskId(); 130 /** 131 * <code>optional string taskId = 1;</code> 132 */ 133 java.lang.String getTaskId(); 134 /** 135 * <code>optional string taskId = 1;</code> 136 */ 137 com.google.protobuf.ByteString 138 getTaskIdBytes(); 139 140 /** 141 * <code>optional string projectId = 2;</code> 142 */ 143 boolean hasProjectId(); 144 /** 145 * <code>optional string projectId = 2;</code> 146 */ 147 java.lang.String getProjectId(); 148 /** 149 * <code>optional string projectId = 2;</code> 150 */ 151 com.google.protobuf.ByteString 152 getProjectIdBytes(); 153 } 154 /** 155 * Protobuf type {@code sonarqube.ws.ce.SubmitResponse} 156 * 157 * <pre> 158 * POST api/ce/submit 159 * </pre> 160 */ 161 public static final class SubmitResponse extends 162 com.google.protobuf.GeneratedMessage implements 163 // @@protoc_insertion_point(message_implements:sonarqube.ws.ce.SubmitResponse) 164 SubmitResponseOrBuilder { 165 // Use SubmitResponse.newBuilder() to construct. 166 private SubmitResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 167 super(builder); 168 } 169 private SubmitResponse() { 170 taskId_ = ""; 171 projectId_ = ""; 172 } 173 174 @java.lang.Override 175 public final com.google.protobuf.UnknownFieldSet 176 getUnknownFields() { 177 return this.unknownFields; 178 } 179 private SubmitResponse( 180 com.google.protobuf.CodedInputStream input, 181 com.google.protobuf.ExtensionRegistryLite extensionRegistry) { 182 this(); 183 int mutable_bitField0_ = 0; 184 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 185 com.google.protobuf.UnknownFieldSet.newBuilder(); 186 try { 187 boolean done = false; 188 while (!done) { 189 int tag = input.readTag(); 190 switch (tag) { 191 case 0: 192 done = true; 193 break; 194 default: { 195 if (!parseUnknownField(input, unknownFields, 196 extensionRegistry, tag)) { 197 done = true; 198 } 199 break; 200 } 201 case 10: { 202 com.google.protobuf.ByteString bs = input.readBytes(); 203 bitField0_ |= 0x00000001; 204 taskId_ = bs; 205 break; 206 } 207 case 18: { 208 com.google.protobuf.ByteString bs = input.readBytes(); 209 bitField0_ |= 0x00000002; 210 projectId_ = bs; 211 break; 212 } 213 } 214 } 215 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 216 throw new RuntimeException(e.setUnfinishedMessage(this)); 217 } catch (java.io.IOException e) { 218 throw new RuntimeException( 219 new com.google.protobuf.InvalidProtocolBufferException( 220 e.getMessage()).setUnfinishedMessage(this)); 221 } finally { 222 this.unknownFields = unknownFields.build(); 223 makeExtensionsImmutable(); 224 } 225 } 226 public static final com.google.protobuf.Descriptors.Descriptor 227 getDescriptor() { 228 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_SubmitResponse_descriptor; 229 } 230 231 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 232 internalGetFieldAccessorTable() { 233 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_SubmitResponse_fieldAccessorTable 234 .ensureFieldAccessorsInitialized( 235 org.sonarqube.ws.WsCe.SubmitResponse.class, org.sonarqube.ws.WsCe.SubmitResponse.Builder.class); 236 } 237 238 private int bitField0_; 239 public static final int TASKID_FIELD_NUMBER = 1; 240 private volatile java.lang.Object taskId_; 241 /** 242 * <code>optional string taskId = 1;</code> 243 */ 244 public boolean hasTaskId() { 245 return ((bitField0_ & 0x00000001) == 0x00000001); 246 } 247 /** 248 * <code>optional string taskId = 1;</code> 249 */ 250 public java.lang.String getTaskId() { 251 java.lang.Object ref = taskId_; 252 if (ref instanceof java.lang.String) { 253 return (java.lang.String) ref; 254 } else { 255 com.google.protobuf.ByteString bs = 256 (com.google.protobuf.ByteString) ref; 257 java.lang.String s = bs.toStringUtf8(); 258 if (bs.isValidUtf8()) { 259 taskId_ = s; 260 } 261 return s; 262 } 263 } 264 /** 265 * <code>optional string taskId = 1;</code> 266 */ 267 public com.google.protobuf.ByteString 268 getTaskIdBytes() { 269 java.lang.Object ref = taskId_; 270 if (ref instanceof java.lang.String) { 271 com.google.protobuf.ByteString b = 272 com.google.protobuf.ByteString.copyFromUtf8( 273 (java.lang.String) ref); 274 taskId_ = b; 275 return b; 276 } else { 277 return (com.google.protobuf.ByteString) ref; 278 } 279 } 280 281 public static final int PROJECTID_FIELD_NUMBER = 2; 282 private volatile java.lang.Object projectId_; 283 /** 284 * <code>optional string projectId = 2;</code> 285 */ 286 public boolean hasProjectId() { 287 return ((bitField0_ & 0x00000002) == 0x00000002); 288 } 289 /** 290 * <code>optional string projectId = 2;</code> 291 */ 292 public java.lang.String getProjectId() { 293 java.lang.Object ref = projectId_; 294 if (ref instanceof java.lang.String) { 295 return (java.lang.String) ref; 296 } else { 297 com.google.protobuf.ByteString bs = 298 (com.google.protobuf.ByteString) ref; 299 java.lang.String s = bs.toStringUtf8(); 300 if (bs.isValidUtf8()) { 301 projectId_ = s; 302 } 303 return s; 304 } 305 } 306 /** 307 * <code>optional string projectId = 2;</code> 308 */ 309 public com.google.protobuf.ByteString 310 getProjectIdBytes() { 311 java.lang.Object ref = projectId_; 312 if (ref instanceof java.lang.String) { 313 com.google.protobuf.ByteString b = 314 com.google.protobuf.ByteString.copyFromUtf8( 315 (java.lang.String) ref); 316 projectId_ = b; 317 return b; 318 } else { 319 return (com.google.protobuf.ByteString) ref; 320 } 321 } 322 323 private byte memoizedIsInitialized = -1; 324 public final boolean isInitialized() { 325 byte isInitialized = memoizedIsInitialized; 326 if (isInitialized == 1) return true; 327 if (isInitialized == 0) return false; 328 329 memoizedIsInitialized = 1; 330 return true; 331 } 332 333 public void writeTo(com.google.protobuf.CodedOutputStream output) 334 throws java.io.IOException { 335 if (((bitField0_ & 0x00000001) == 0x00000001)) { 336 com.google.protobuf.GeneratedMessage.writeString(output, 1, taskId_); 337 } 338 if (((bitField0_ & 0x00000002) == 0x00000002)) { 339 com.google.protobuf.GeneratedMessage.writeString(output, 2, projectId_); 340 } 341 unknownFields.writeTo(output); 342 } 343 344 public int getSerializedSize() { 345 int size = memoizedSize; 346 if (size != -1) return size; 347 348 size = 0; 349 if (((bitField0_ & 0x00000001) == 0x00000001)) { 350 size += com.google.protobuf.GeneratedMessage.computeStringSize(1, taskId_); 351 } 352 if (((bitField0_ & 0x00000002) == 0x00000002)) { 353 size += com.google.protobuf.GeneratedMessage.computeStringSize(2, projectId_); 354 } 355 size += unknownFields.getSerializedSize(); 356 memoizedSize = size; 357 return size; 358 } 359 360 private static final long serialVersionUID = 0L; 361 public static org.sonarqube.ws.WsCe.SubmitResponse parseFrom( 362 com.google.protobuf.ByteString data) 363 throws com.google.protobuf.InvalidProtocolBufferException { 364 return PARSER.parseFrom(data); 365 } 366 public static org.sonarqube.ws.WsCe.SubmitResponse parseFrom( 367 com.google.protobuf.ByteString data, 368 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 369 throws com.google.protobuf.InvalidProtocolBufferException { 370 return PARSER.parseFrom(data, extensionRegistry); 371 } 372 public static org.sonarqube.ws.WsCe.SubmitResponse parseFrom(byte[] data) 373 throws com.google.protobuf.InvalidProtocolBufferException { 374 return PARSER.parseFrom(data); 375 } 376 public static org.sonarqube.ws.WsCe.SubmitResponse parseFrom( 377 byte[] data, 378 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 379 throws com.google.protobuf.InvalidProtocolBufferException { 380 return PARSER.parseFrom(data, extensionRegistry); 381 } 382 public static org.sonarqube.ws.WsCe.SubmitResponse parseFrom(java.io.InputStream input) 383 throws java.io.IOException { 384 return PARSER.parseFrom(input); 385 } 386 public static org.sonarqube.ws.WsCe.SubmitResponse parseFrom( 387 java.io.InputStream input, 388 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 389 throws java.io.IOException { 390 return PARSER.parseFrom(input, extensionRegistry); 391 } 392 public static org.sonarqube.ws.WsCe.SubmitResponse parseDelimitedFrom(java.io.InputStream input) 393 throws java.io.IOException { 394 return PARSER.parseDelimitedFrom(input); 395 } 396 public static org.sonarqube.ws.WsCe.SubmitResponse parseDelimitedFrom( 397 java.io.InputStream input, 398 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 399 throws java.io.IOException { 400 return PARSER.parseDelimitedFrom(input, extensionRegistry); 401 } 402 public static org.sonarqube.ws.WsCe.SubmitResponse parseFrom( 403 com.google.protobuf.CodedInputStream input) 404 throws java.io.IOException { 405 return PARSER.parseFrom(input); 406 } 407 public static org.sonarqube.ws.WsCe.SubmitResponse parseFrom( 408 com.google.protobuf.CodedInputStream input, 409 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 410 throws java.io.IOException { 411 return PARSER.parseFrom(input, extensionRegistry); 412 } 413 414 public Builder newBuilderForType() { return newBuilder(); } 415 public static Builder newBuilder() { 416 return DEFAULT_INSTANCE.toBuilder(); 417 } 418 public static Builder newBuilder(org.sonarqube.ws.WsCe.SubmitResponse prototype) { 419 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 420 } 421 public Builder toBuilder() { 422 return this == DEFAULT_INSTANCE 423 ? new Builder() : new Builder().mergeFrom(this); 424 } 425 426 @java.lang.Override 427 protected Builder newBuilderForType( 428 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 429 Builder builder = new Builder(parent); 430 return builder; 431 } 432 /** 433 * Protobuf type {@code sonarqube.ws.ce.SubmitResponse} 434 * 435 * <pre> 436 * POST api/ce/submit 437 * </pre> 438 */ 439 public static final class Builder extends 440 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 441 // @@protoc_insertion_point(builder_implements:sonarqube.ws.ce.SubmitResponse) 442 org.sonarqube.ws.WsCe.SubmitResponseOrBuilder { 443 public static final com.google.protobuf.Descriptors.Descriptor 444 getDescriptor() { 445 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_SubmitResponse_descriptor; 446 } 447 448 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 449 internalGetFieldAccessorTable() { 450 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_SubmitResponse_fieldAccessorTable 451 .ensureFieldAccessorsInitialized( 452 org.sonarqube.ws.WsCe.SubmitResponse.class, org.sonarqube.ws.WsCe.SubmitResponse.Builder.class); 453 } 454 455 // Construct using org.sonarqube.ws.WsCe.SubmitResponse.newBuilder() 456 private Builder() { 457 maybeForceBuilderInitialization(); 458 } 459 460 private Builder( 461 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 462 super(parent); 463 maybeForceBuilderInitialization(); 464 } 465 private void maybeForceBuilderInitialization() { 466 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 467 } 468 } 469 public Builder clear() { 470 super.clear(); 471 taskId_ = ""; 472 bitField0_ = (bitField0_ & ~0x00000001); 473 projectId_ = ""; 474 bitField0_ = (bitField0_ & ~0x00000002); 475 return this; 476 } 477 478 public com.google.protobuf.Descriptors.Descriptor 479 getDescriptorForType() { 480 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_SubmitResponse_descriptor; 481 } 482 483 public org.sonarqube.ws.WsCe.SubmitResponse getDefaultInstanceForType() { 484 return org.sonarqube.ws.WsCe.SubmitResponse.getDefaultInstance(); 485 } 486 487 public org.sonarqube.ws.WsCe.SubmitResponse build() { 488 org.sonarqube.ws.WsCe.SubmitResponse result = buildPartial(); 489 if (!result.isInitialized()) { 490 throw newUninitializedMessageException(result); 491 } 492 return result; 493 } 494 495 public org.sonarqube.ws.WsCe.SubmitResponse buildPartial() { 496 org.sonarqube.ws.WsCe.SubmitResponse result = new org.sonarqube.ws.WsCe.SubmitResponse(this); 497 int from_bitField0_ = bitField0_; 498 int to_bitField0_ = 0; 499 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 500 to_bitField0_ |= 0x00000001; 501 } 502 result.taskId_ = taskId_; 503 if (((from_bitField0_ & 0x00000002) == 0x00000002)) { 504 to_bitField0_ |= 0x00000002; 505 } 506 result.projectId_ = projectId_; 507 result.bitField0_ = to_bitField0_; 508 onBuilt(); 509 return result; 510 } 511 512 public Builder mergeFrom(com.google.protobuf.Message other) { 513 if (other instanceof org.sonarqube.ws.WsCe.SubmitResponse) { 514 return mergeFrom((org.sonarqube.ws.WsCe.SubmitResponse)other); 515 } else { 516 super.mergeFrom(other); 517 return this; 518 } 519 } 520 521 public Builder mergeFrom(org.sonarqube.ws.WsCe.SubmitResponse other) { 522 if (other == org.sonarqube.ws.WsCe.SubmitResponse.getDefaultInstance()) return this; 523 if (other.hasTaskId()) { 524 bitField0_ |= 0x00000001; 525 taskId_ = other.taskId_; 526 onChanged(); 527 } 528 if (other.hasProjectId()) { 529 bitField0_ |= 0x00000002; 530 projectId_ = other.projectId_; 531 onChanged(); 532 } 533 this.mergeUnknownFields(other.unknownFields); 534 onChanged(); 535 return this; 536 } 537 538 public final boolean isInitialized() { 539 return true; 540 } 541 542 public Builder mergeFrom( 543 com.google.protobuf.CodedInputStream input, 544 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 545 throws java.io.IOException { 546 org.sonarqube.ws.WsCe.SubmitResponse parsedMessage = null; 547 try { 548 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 549 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 550 parsedMessage = (org.sonarqube.ws.WsCe.SubmitResponse) e.getUnfinishedMessage(); 551 throw e; 552 } finally { 553 if (parsedMessage != null) { 554 mergeFrom(parsedMessage); 555 } 556 } 557 return this; 558 } 559 private int bitField0_; 560 561 private java.lang.Object taskId_ = ""; 562 /** 563 * <code>optional string taskId = 1;</code> 564 */ 565 public boolean hasTaskId() { 566 return ((bitField0_ & 0x00000001) == 0x00000001); 567 } 568 /** 569 * <code>optional string taskId = 1;</code> 570 */ 571 public java.lang.String getTaskId() { 572 java.lang.Object ref = taskId_; 573 if (!(ref instanceof java.lang.String)) { 574 com.google.protobuf.ByteString bs = 575 (com.google.protobuf.ByteString) ref; 576 java.lang.String s = bs.toStringUtf8(); 577 if (bs.isValidUtf8()) { 578 taskId_ = s; 579 } 580 return s; 581 } else { 582 return (java.lang.String) ref; 583 } 584 } 585 /** 586 * <code>optional string taskId = 1;</code> 587 */ 588 public com.google.protobuf.ByteString 589 getTaskIdBytes() { 590 java.lang.Object ref = taskId_; 591 if (ref instanceof String) { 592 com.google.protobuf.ByteString b = 593 com.google.protobuf.ByteString.copyFromUtf8( 594 (java.lang.String) ref); 595 taskId_ = b; 596 return b; 597 } else { 598 return (com.google.protobuf.ByteString) ref; 599 } 600 } 601 /** 602 * <code>optional string taskId = 1;</code> 603 */ 604 public Builder setTaskId( 605 java.lang.String value) { 606 if (value == null) { 607 throw new NullPointerException(); 608 } 609 bitField0_ |= 0x00000001; 610 taskId_ = value; 611 onChanged(); 612 return this; 613 } 614 /** 615 * <code>optional string taskId = 1;</code> 616 */ 617 public Builder clearTaskId() { 618 bitField0_ = (bitField0_ & ~0x00000001); 619 taskId_ = getDefaultInstance().getTaskId(); 620 onChanged(); 621 return this; 622 } 623 /** 624 * <code>optional string taskId = 1;</code> 625 */ 626 public Builder setTaskIdBytes( 627 com.google.protobuf.ByteString value) { 628 if (value == null) { 629 throw new NullPointerException(); 630 } 631 bitField0_ |= 0x00000001; 632 taskId_ = value; 633 onChanged(); 634 return this; 635 } 636 637 private java.lang.Object projectId_ = ""; 638 /** 639 * <code>optional string projectId = 2;</code> 640 */ 641 public boolean hasProjectId() { 642 return ((bitField0_ & 0x00000002) == 0x00000002); 643 } 644 /** 645 * <code>optional string projectId = 2;</code> 646 */ 647 public java.lang.String getProjectId() { 648 java.lang.Object ref = projectId_; 649 if (!(ref instanceof java.lang.String)) { 650 com.google.protobuf.ByteString bs = 651 (com.google.protobuf.ByteString) ref; 652 java.lang.String s = bs.toStringUtf8(); 653 if (bs.isValidUtf8()) { 654 projectId_ = s; 655 } 656 return s; 657 } else { 658 return (java.lang.String) ref; 659 } 660 } 661 /** 662 * <code>optional string projectId = 2;</code> 663 */ 664 public com.google.protobuf.ByteString 665 getProjectIdBytes() { 666 java.lang.Object ref = projectId_; 667 if (ref instanceof String) { 668 com.google.protobuf.ByteString b = 669 com.google.protobuf.ByteString.copyFromUtf8( 670 (java.lang.String) ref); 671 projectId_ = b; 672 return b; 673 } else { 674 return (com.google.protobuf.ByteString) ref; 675 } 676 } 677 /** 678 * <code>optional string projectId = 2;</code> 679 */ 680 public Builder setProjectId( 681 java.lang.String value) { 682 if (value == null) { 683 throw new NullPointerException(); 684 } 685 bitField0_ |= 0x00000002; 686 projectId_ = value; 687 onChanged(); 688 return this; 689 } 690 /** 691 * <code>optional string projectId = 2;</code> 692 */ 693 public Builder clearProjectId() { 694 bitField0_ = (bitField0_ & ~0x00000002); 695 projectId_ = getDefaultInstance().getProjectId(); 696 onChanged(); 697 return this; 698 } 699 /** 700 * <code>optional string projectId = 2;</code> 701 */ 702 public Builder setProjectIdBytes( 703 com.google.protobuf.ByteString value) { 704 if (value == null) { 705 throw new NullPointerException(); 706 } 707 bitField0_ |= 0x00000002; 708 projectId_ = value; 709 onChanged(); 710 return this; 711 } 712 713 // @@protoc_insertion_point(builder_scope:sonarqube.ws.ce.SubmitResponse) 714 } 715 716 // @@protoc_insertion_point(class_scope:sonarqube.ws.ce.SubmitResponse) 717 private static final org.sonarqube.ws.WsCe.SubmitResponse DEFAULT_INSTANCE; 718 static { 719 DEFAULT_INSTANCE = new org.sonarqube.ws.WsCe.SubmitResponse(); 720 } 721 722 public static org.sonarqube.ws.WsCe.SubmitResponse getDefaultInstance() { 723 return DEFAULT_INSTANCE; 724 } 725 726 @java.lang.Deprecated public static final com.google.protobuf.Parser<SubmitResponse> 727 PARSER = new com.google.protobuf.AbstractParser<SubmitResponse>() { 728 public SubmitResponse parsePartialFrom( 729 com.google.protobuf.CodedInputStream input, 730 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 731 throws com.google.protobuf.InvalidProtocolBufferException { 732 try { 733 return new SubmitResponse(input, extensionRegistry); 734 } catch (RuntimeException e) { 735 if (e.getCause() instanceof 736 com.google.protobuf.InvalidProtocolBufferException) { 737 throw (com.google.protobuf.InvalidProtocolBufferException) 738 e.getCause(); 739 } 740 throw e; 741 } 742 } 743 }; 744 745 public static com.google.protobuf.Parser<SubmitResponse> parser() { 746 return PARSER; 747 } 748 749 @java.lang.Override 750 public com.google.protobuf.Parser<SubmitResponse> getParserForType() { 751 return PARSER; 752 } 753 754 public org.sonarqube.ws.WsCe.SubmitResponse getDefaultInstanceForType() { 755 return DEFAULT_INSTANCE; 756 } 757 758 } 759 760 public interface TaskResponseOrBuilder extends 761 // @@protoc_insertion_point(interface_extends:sonarqube.ws.ce.TaskResponse) 762 com.google.protobuf.MessageOrBuilder { 763 764 /** 765 * <code>optional .sonarqube.ws.ce.Task task = 1;</code> 766 */ 767 boolean hasTask(); 768 /** 769 * <code>optional .sonarqube.ws.ce.Task task = 1;</code> 770 */ 771 org.sonarqube.ws.WsCe.Task getTask(); 772 /** 773 * <code>optional .sonarqube.ws.ce.Task task = 1;</code> 774 */ 775 org.sonarqube.ws.WsCe.TaskOrBuilder getTaskOrBuilder(); 776 } 777 /** 778 * Protobuf type {@code sonarqube.ws.ce.TaskResponse} 779 * 780 * <pre> 781 * GET api/ce/task 782 * </pre> 783 */ 784 public static final class TaskResponse extends 785 com.google.protobuf.GeneratedMessage implements 786 // @@protoc_insertion_point(message_implements:sonarqube.ws.ce.TaskResponse) 787 TaskResponseOrBuilder { 788 // Use TaskResponse.newBuilder() to construct. 789 private TaskResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 790 super(builder); 791 } 792 private TaskResponse() { 793 } 794 795 @java.lang.Override 796 public final com.google.protobuf.UnknownFieldSet 797 getUnknownFields() { 798 return this.unknownFields; 799 } 800 private TaskResponse( 801 com.google.protobuf.CodedInputStream input, 802 com.google.protobuf.ExtensionRegistryLite extensionRegistry) { 803 this(); 804 int mutable_bitField0_ = 0; 805 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 806 com.google.protobuf.UnknownFieldSet.newBuilder(); 807 try { 808 boolean done = false; 809 while (!done) { 810 int tag = input.readTag(); 811 switch (tag) { 812 case 0: 813 done = true; 814 break; 815 default: { 816 if (!parseUnknownField(input, unknownFields, 817 extensionRegistry, tag)) { 818 done = true; 819 } 820 break; 821 } 822 case 10: { 823 org.sonarqube.ws.WsCe.Task.Builder subBuilder = null; 824 if (((bitField0_ & 0x00000001) == 0x00000001)) { 825 subBuilder = task_.toBuilder(); 826 } 827 task_ = input.readMessage(org.sonarqube.ws.WsCe.Task.parser(), extensionRegistry); 828 if (subBuilder != null) { 829 subBuilder.mergeFrom(task_); 830 task_ = subBuilder.buildPartial(); 831 } 832 bitField0_ |= 0x00000001; 833 break; 834 } 835 } 836 } 837 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 838 throw new RuntimeException(e.setUnfinishedMessage(this)); 839 } catch (java.io.IOException e) { 840 throw new RuntimeException( 841 new com.google.protobuf.InvalidProtocolBufferException( 842 e.getMessage()).setUnfinishedMessage(this)); 843 } finally { 844 this.unknownFields = unknownFields.build(); 845 makeExtensionsImmutable(); 846 } 847 } 848 public static final com.google.protobuf.Descriptors.Descriptor 849 getDescriptor() { 850 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_TaskResponse_descriptor; 851 } 852 853 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 854 internalGetFieldAccessorTable() { 855 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_TaskResponse_fieldAccessorTable 856 .ensureFieldAccessorsInitialized( 857 org.sonarqube.ws.WsCe.TaskResponse.class, org.sonarqube.ws.WsCe.TaskResponse.Builder.class); 858 } 859 860 private int bitField0_; 861 public static final int TASK_FIELD_NUMBER = 1; 862 private org.sonarqube.ws.WsCe.Task task_; 863 /** 864 * <code>optional .sonarqube.ws.ce.Task task = 1;</code> 865 */ 866 public boolean hasTask() { 867 return ((bitField0_ & 0x00000001) == 0x00000001); 868 } 869 /** 870 * <code>optional .sonarqube.ws.ce.Task task = 1;</code> 871 */ 872 public org.sonarqube.ws.WsCe.Task getTask() { 873 return task_ == null ? org.sonarqube.ws.WsCe.Task.getDefaultInstance() : task_; 874 } 875 /** 876 * <code>optional .sonarqube.ws.ce.Task task = 1;</code> 877 */ 878 public org.sonarqube.ws.WsCe.TaskOrBuilder getTaskOrBuilder() { 879 return task_ == null ? org.sonarqube.ws.WsCe.Task.getDefaultInstance() : task_; 880 } 881 882 private byte memoizedIsInitialized = -1; 883 public final boolean isInitialized() { 884 byte isInitialized = memoizedIsInitialized; 885 if (isInitialized == 1) return true; 886 if (isInitialized == 0) return false; 887 888 memoizedIsInitialized = 1; 889 return true; 890 } 891 892 public void writeTo(com.google.protobuf.CodedOutputStream output) 893 throws java.io.IOException { 894 if (((bitField0_ & 0x00000001) == 0x00000001)) { 895 output.writeMessage(1, getTask()); 896 } 897 unknownFields.writeTo(output); 898 } 899 900 public int getSerializedSize() { 901 int size = memoizedSize; 902 if (size != -1) return size; 903 904 size = 0; 905 if (((bitField0_ & 0x00000001) == 0x00000001)) { 906 size += com.google.protobuf.CodedOutputStream 907 .computeMessageSize(1, getTask()); 908 } 909 size += unknownFields.getSerializedSize(); 910 memoizedSize = size; 911 return size; 912 } 913 914 private static final long serialVersionUID = 0L; 915 public static org.sonarqube.ws.WsCe.TaskResponse parseFrom( 916 com.google.protobuf.ByteString data) 917 throws com.google.protobuf.InvalidProtocolBufferException { 918 return PARSER.parseFrom(data); 919 } 920 public static org.sonarqube.ws.WsCe.TaskResponse parseFrom( 921 com.google.protobuf.ByteString data, 922 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 923 throws com.google.protobuf.InvalidProtocolBufferException { 924 return PARSER.parseFrom(data, extensionRegistry); 925 } 926 public static org.sonarqube.ws.WsCe.TaskResponse parseFrom(byte[] data) 927 throws com.google.protobuf.InvalidProtocolBufferException { 928 return PARSER.parseFrom(data); 929 } 930 public static org.sonarqube.ws.WsCe.TaskResponse parseFrom( 931 byte[] data, 932 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 933 throws com.google.protobuf.InvalidProtocolBufferException { 934 return PARSER.parseFrom(data, extensionRegistry); 935 } 936 public static org.sonarqube.ws.WsCe.TaskResponse parseFrom(java.io.InputStream input) 937 throws java.io.IOException { 938 return PARSER.parseFrom(input); 939 } 940 public static org.sonarqube.ws.WsCe.TaskResponse parseFrom( 941 java.io.InputStream input, 942 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 943 throws java.io.IOException { 944 return PARSER.parseFrom(input, extensionRegistry); 945 } 946 public static org.sonarqube.ws.WsCe.TaskResponse parseDelimitedFrom(java.io.InputStream input) 947 throws java.io.IOException { 948 return PARSER.parseDelimitedFrom(input); 949 } 950 public static org.sonarqube.ws.WsCe.TaskResponse parseDelimitedFrom( 951 java.io.InputStream input, 952 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 953 throws java.io.IOException { 954 return PARSER.parseDelimitedFrom(input, extensionRegistry); 955 } 956 public static org.sonarqube.ws.WsCe.TaskResponse parseFrom( 957 com.google.protobuf.CodedInputStream input) 958 throws java.io.IOException { 959 return PARSER.parseFrom(input); 960 } 961 public static org.sonarqube.ws.WsCe.TaskResponse parseFrom( 962 com.google.protobuf.CodedInputStream input, 963 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 964 throws java.io.IOException { 965 return PARSER.parseFrom(input, extensionRegistry); 966 } 967 968 public Builder newBuilderForType() { return newBuilder(); } 969 public static Builder newBuilder() { 970 return DEFAULT_INSTANCE.toBuilder(); 971 } 972 public static Builder newBuilder(org.sonarqube.ws.WsCe.TaskResponse prototype) { 973 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 974 } 975 public Builder toBuilder() { 976 return this == DEFAULT_INSTANCE 977 ? new Builder() : new Builder().mergeFrom(this); 978 } 979 980 @java.lang.Override 981 protected Builder newBuilderForType( 982 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 983 Builder builder = new Builder(parent); 984 return builder; 985 } 986 /** 987 * Protobuf type {@code sonarqube.ws.ce.TaskResponse} 988 * 989 * <pre> 990 * GET api/ce/task 991 * </pre> 992 */ 993 public static final class Builder extends 994 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 995 // @@protoc_insertion_point(builder_implements:sonarqube.ws.ce.TaskResponse) 996 org.sonarqube.ws.WsCe.TaskResponseOrBuilder { 997 public static final com.google.protobuf.Descriptors.Descriptor 998 getDescriptor() { 999 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_TaskResponse_descriptor; 1000 } 1001 1002 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 1003 internalGetFieldAccessorTable() { 1004 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_TaskResponse_fieldAccessorTable 1005 .ensureFieldAccessorsInitialized( 1006 org.sonarqube.ws.WsCe.TaskResponse.class, org.sonarqube.ws.WsCe.TaskResponse.Builder.class); 1007 } 1008 1009 // Construct using org.sonarqube.ws.WsCe.TaskResponse.newBuilder() 1010 private Builder() { 1011 maybeForceBuilderInitialization(); 1012 } 1013 1014 private Builder( 1015 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 1016 super(parent); 1017 maybeForceBuilderInitialization(); 1018 } 1019 private void maybeForceBuilderInitialization() { 1020 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 1021 getTaskFieldBuilder(); 1022 } 1023 } 1024 public Builder clear() { 1025 super.clear(); 1026 if (taskBuilder_ == null) { 1027 task_ = null; 1028 } else { 1029 taskBuilder_.clear(); 1030 } 1031 bitField0_ = (bitField0_ & ~0x00000001); 1032 return this; 1033 } 1034 1035 public com.google.protobuf.Descriptors.Descriptor 1036 getDescriptorForType() { 1037 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_TaskResponse_descriptor; 1038 } 1039 1040 public org.sonarqube.ws.WsCe.TaskResponse getDefaultInstanceForType() { 1041 return org.sonarqube.ws.WsCe.TaskResponse.getDefaultInstance(); 1042 } 1043 1044 public org.sonarqube.ws.WsCe.TaskResponse build() { 1045 org.sonarqube.ws.WsCe.TaskResponse result = buildPartial(); 1046 if (!result.isInitialized()) { 1047 throw newUninitializedMessageException(result); 1048 } 1049 return result; 1050 } 1051 1052 public org.sonarqube.ws.WsCe.TaskResponse buildPartial() { 1053 org.sonarqube.ws.WsCe.TaskResponse result = new org.sonarqube.ws.WsCe.TaskResponse(this); 1054 int from_bitField0_ = bitField0_; 1055 int to_bitField0_ = 0; 1056 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 1057 to_bitField0_ |= 0x00000001; 1058 } 1059 if (taskBuilder_ == null) { 1060 result.task_ = task_; 1061 } else { 1062 result.task_ = taskBuilder_.build(); 1063 } 1064 result.bitField0_ = to_bitField0_; 1065 onBuilt(); 1066 return result; 1067 } 1068 1069 public Builder mergeFrom(com.google.protobuf.Message other) { 1070 if (other instanceof org.sonarqube.ws.WsCe.TaskResponse) { 1071 return mergeFrom((org.sonarqube.ws.WsCe.TaskResponse)other); 1072 } else { 1073 super.mergeFrom(other); 1074 return this; 1075 } 1076 } 1077 1078 public Builder mergeFrom(org.sonarqube.ws.WsCe.TaskResponse other) { 1079 if (other == org.sonarqube.ws.WsCe.TaskResponse.getDefaultInstance()) return this; 1080 if (other.hasTask()) { 1081 mergeTask(other.getTask()); 1082 } 1083 this.mergeUnknownFields(other.unknownFields); 1084 onChanged(); 1085 return this; 1086 } 1087 1088 public final boolean isInitialized() { 1089 return true; 1090 } 1091 1092 public Builder mergeFrom( 1093 com.google.protobuf.CodedInputStream input, 1094 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1095 throws java.io.IOException { 1096 org.sonarqube.ws.WsCe.TaskResponse parsedMessage = null; 1097 try { 1098 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 1099 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 1100 parsedMessage = (org.sonarqube.ws.WsCe.TaskResponse) e.getUnfinishedMessage(); 1101 throw e; 1102 } finally { 1103 if (parsedMessage != null) { 1104 mergeFrom(parsedMessage); 1105 } 1106 } 1107 return this; 1108 } 1109 private int bitField0_; 1110 1111 private org.sonarqube.ws.WsCe.Task task_ = null; 1112 private com.google.protobuf.SingleFieldBuilder< 1113 org.sonarqube.ws.WsCe.Task, org.sonarqube.ws.WsCe.Task.Builder, org.sonarqube.ws.WsCe.TaskOrBuilder> taskBuilder_; 1114 /** 1115 * <code>optional .sonarqube.ws.ce.Task task = 1;</code> 1116 */ 1117 public boolean hasTask() { 1118 return ((bitField0_ & 0x00000001) == 0x00000001); 1119 } 1120 /** 1121 * <code>optional .sonarqube.ws.ce.Task task = 1;</code> 1122 */ 1123 public org.sonarqube.ws.WsCe.Task getTask() { 1124 if (taskBuilder_ == null) { 1125 return task_ == null ? org.sonarqube.ws.WsCe.Task.getDefaultInstance() : task_; 1126 } else { 1127 return taskBuilder_.getMessage(); 1128 } 1129 } 1130 /** 1131 * <code>optional .sonarqube.ws.ce.Task task = 1;</code> 1132 */ 1133 public Builder setTask(org.sonarqube.ws.WsCe.Task value) { 1134 if (taskBuilder_ == null) { 1135 if (value == null) { 1136 throw new NullPointerException(); 1137 } 1138 task_ = value; 1139 onChanged(); 1140 } else { 1141 taskBuilder_.setMessage(value); 1142 } 1143 bitField0_ |= 0x00000001; 1144 return this; 1145 } 1146 /** 1147 * <code>optional .sonarqube.ws.ce.Task task = 1;</code> 1148 */ 1149 public Builder setTask( 1150 org.sonarqube.ws.WsCe.Task.Builder builderForValue) { 1151 if (taskBuilder_ == null) { 1152 task_ = builderForValue.build(); 1153 onChanged(); 1154 } else { 1155 taskBuilder_.setMessage(builderForValue.build()); 1156 } 1157 bitField0_ |= 0x00000001; 1158 return this; 1159 } 1160 /** 1161 * <code>optional .sonarqube.ws.ce.Task task = 1;</code> 1162 */ 1163 public Builder mergeTask(org.sonarqube.ws.WsCe.Task value) { 1164 if (taskBuilder_ == null) { 1165 if (((bitField0_ & 0x00000001) == 0x00000001) && 1166 task_ != null && 1167 task_ != org.sonarqube.ws.WsCe.Task.getDefaultInstance()) { 1168 task_ = 1169 org.sonarqube.ws.WsCe.Task.newBuilder(task_).mergeFrom(value).buildPartial(); 1170 } else { 1171 task_ = value; 1172 } 1173 onChanged(); 1174 } else { 1175 taskBuilder_.mergeFrom(value); 1176 } 1177 bitField0_ |= 0x00000001; 1178 return this; 1179 } 1180 /** 1181 * <code>optional .sonarqube.ws.ce.Task task = 1;</code> 1182 */ 1183 public Builder clearTask() { 1184 if (taskBuilder_ == null) { 1185 task_ = null; 1186 onChanged(); 1187 } else { 1188 taskBuilder_.clear(); 1189 } 1190 bitField0_ = (bitField0_ & ~0x00000001); 1191 return this; 1192 } 1193 /** 1194 * <code>optional .sonarqube.ws.ce.Task task = 1;</code> 1195 */ 1196 public org.sonarqube.ws.WsCe.Task.Builder getTaskBuilder() { 1197 bitField0_ |= 0x00000001; 1198 onChanged(); 1199 return getTaskFieldBuilder().getBuilder(); 1200 } 1201 /** 1202 * <code>optional .sonarqube.ws.ce.Task task = 1;</code> 1203 */ 1204 public org.sonarqube.ws.WsCe.TaskOrBuilder getTaskOrBuilder() { 1205 if (taskBuilder_ != null) { 1206 return taskBuilder_.getMessageOrBuilder(); 1207 } else { 1208 return task_ == null ? 1209 org.sonarqube.ws.WsCe.Task.getDefaultInstance() : task_; 1210 } 1211 } 1212 /** 1213 * <code>optional .sonarqube.ws.ce.Task task = 1;</code> 1214 */ 1215 private com.google.protobuf.SingleFieldBuilder< 1216 org.sonarqube.ws.WsCe.Task, org.sonarqube.ws.WsCe.Task.Builder, org.sonarqube.ws.WsCe.TaskOrBuilder> 1217 getTaskFieldBuilder() { 1218 if (taskBuilder_ == null) { 1219 taskBuilder_ = new com.google.protobuf.SingleFieldBuilder< 1220 org.sonarqube.ws.WsCe.Task, org.sonarqube.ws.WsCe.Task.Builder, org.sonarqube.ws.WsCe.TaskOrBuilder>( 1221 getTask(), 1222 getParentForChildren(), 1223 isClean()); 1224 task_ = null; 1225 } 1226 return taskBuilder_; 1227 } 1228 1229 // @@protoc_insertion_point(builder_scope:sonarqube.ws.ce.TaskResponse) 1230 } 1231 1232 // @@protoc_insertion_point(class_scope:sonarqube.ws.ce.TaskResponse) 1233 private static final org.sonarqube.ws.WsCe.TaskResponse DEFAULT_INSTANCE; 1234 static { 1235 DEFAULT_INSTANCE = new org.sonarqube.ws.WsCe.TaskResponse(); 1236 } 1237 1238 public static org.sonarqube.ws.WsCe.TaskResponse getDefaultInstance() { 1239 return DEFAULT_INSTANCE; 1240 } 1241 1242 @java.lang.Deprecated public static final com.google.protobuf.Parser<TaskResponse> 1243 PARSER = new com.google.protobuf.AbstractParser<TaskResponse>() { 1244 public TaskResponse parsePartialFrom( 1245 com.google.protobuf.CodedInputStream input, 1246 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1247 throws com.google.protobuf.InvalidProtocolBufferException { 1248 try { 1249 return new TaskResponse(input, extensionRegistry); 1250 } catch (RuntimeException e) { 1251 if (e.getCause() instanceof 1252 com.google.protobuf.InvalidProtocolBufferException) { 1253 throw (com.google.protobuf.InvalidProtocolBufferException) 1254 e.getCause(); 1255 } 1256 throw e; 1257 } 1258 } 1259 }; 1260 1261 public static com.google.protobuf.Parser<TaskResponse> parser() { 1262 return PARSER; 1263 } 1264 1265 @java.lang.Override 1266 public com.google.protobuf.Parser<TaskResponse> getParserForType() { 1267 return PARSER; 1268 } 1269 1270 public org.sonarqube.ws.WsCe.TaskResponse getDefaultInstanceForType() { 1271 return DEFAULT_INSTANCE; 1272 } 1273 1274 } 1275 1276 public interface ActivityResponseOrBuilder extends 1277 // @@protoc_insertion_point(interface_extends:sonarqube.ws.ce.ActivityResponse) 1278 com.google.protobuf.MessageOrBuilder { 1279 1280 /** 1281 * <code>optional .sonarqube.ws.commons.Paging unusedPaging = 1;</code> 1282 * 1283 * <pre> 1284 * paging has been deprecated in 5.5 1285 * </pre> 1286 */ 1287 boolean hasUnusedPaging(); 1288 /** 1289 * <code>optional .sonarqube.ws.commons.Paging unusedPaging = 1;</code> 1290 * 1291 * <pre> 1292 * paging has been deprecated in 5.5 1293 * </pre> 1294 */ 1295 org.sonarqube.ws.Common.Paging getUnusedPaging(); 1296 /** 1297 * <code>optional .sonarqube.ws.commons.Paging unusedPaging = 1;</code> 1298 * 1299 * <pre> 1300 * paging has been deprecated in 5.5 1301 * </pre> 1302 */ 1303 org.sonarqube.ws.Common.PagingOrBuilder getUnusedPagingOrBuilder(); 1304 1305 /** 1306 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 1307 */ 1308 java.util.List<org.sonarqube.ws.WsCe.Task> 1309 getTasksList(); 1310 /** 1311 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 1312 */ 1313 org.sonarqube.ws.WsCe.Task getTasks(int index); 1314 /** 1315 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 1316 */ 1317 int getTasksCount(); 1318 /** 1319 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 1320 */ 1321 java.util.List<? extends org.sonarqube.ws.WsCe.TaskOrBuilder> 1322 getTasksOrBuilderList(); 1323 /** 1324 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 1325 */ 1326 org.sonarqube.ws.WsCe.TaskOrBuilder getTasksOrBuilder( 1327 int index); 1328 } 1329 /** 1330 * Protobuf type {@code sonarqube.ws.ce.ActivityResponse} 1331 * 1332 * <pre> 1333 * GET api/ce/activity 1334 * </pre> 1335 */ 1336 public static final class ActivityResponse extends 1337 com.google.protobuf.GeneratedMessage implements 1338 // @@protoc_insertion_point(message_implements:sonarqube.ws.ce.ActivityResponse) 1339 ActivityResponseOrBuilder { 1340 // Use ActivityResponse.newBuilder() to construct. 1341 private ActivityResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 1342 super(builder); 1343 } 1344 private ActivityResponse() { 1345 tasks_ = java.util.Collections.emptyList(); 1346 } 1347 1348 @java.lang.Override 1349 public final com.google.protobuf.UnknownFieldSet 1350 getUnknownFields() { 1351 return this.unknownFields; 1352 } 1353 private ActivityResponse( 1354 com.google.protobuf.CodedInputStream input, 1355 com.google.protobuf.ExtensionRegistryLite extensionRegistry) { 1356 this(); 1357 int mutable_bitField0_ = 0; 1358 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 1359 com.google.protobuf.UnknownFieldSet.newBuilder(); 1360 try { 1361 boolean done = false; 1362 while (!done) { 1363 int tag = input.readTag(); 1364 switch (tag) { 1365 case 0: 1366 done = true; 1367 break; 1368 default: { 1369 if (!parseUnknownField(input, unknownFields, 1370 extensionRegistry, tag)) { 1371 done = true; 1372 } 1373 break; 1374 } 1375 case 10: { 1376 org.sonarqube.ws.Common.Paging.Builder subBuilder = null; 1377 if (((bitField0_ & 0x00000001) == 0x00000001)) { 1378 subBuilder = unusedPaging_.toBuilder(); 1379 } 1380 unusedPaging_ = input.readMessage(org.sonarqube.ws.Common.Paging.parser(), extensionRegistry); 1381 if (subBuilder != null) { 1382 subBuilder.mergeFrom(unusedPaging_); 1383 unusedPaging_ = subBuilder.buildPartial(); 1384 } 1385 bitField0_ |= 0x00000001; 1386 break; 1387 } 1388 case 18: { 1389 if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { 1390 tasks_ = new java.util.ArrayList<org.sonarqube.ws.WsCe.Task>(); 1391 mutable_bitField0_ |= 0x00000002; 1392 } 1393 tasks_.add(input.readMessage(org.sonarqube.ws.WsCe.Task.parser(), extensionRegistry)); 1394 break; 1395 } 1396 } 1397 } 1398 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 1399 throw new RuntimeException(e.setUnfinishedMessage(this)); 1400 } catch (java.io.IOException e) { 1401 throw new RuntimeException( 1402 new com.google.protobuf.InvalidProtocolBufferException( 1403 e.getMessage()).setUnfinishedMessage(this)); 1404 } finally { 1405 if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { 1406 tasks_ = java.util.Collections.unmodifiableList(tasks_); 1407 } 1408 this.unknownFields = unknownFields.build(); 1409 makeExtensionsImmutable(); 1410 } 1411 } 1412 public static final com.google.protobuf.Descriptors.Descriptor 1413 getDescriptor() { 1414 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_ActivityResponse_descriptor; 1415 } 1416 1417 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 1418 internalGetFieldAccessorTable() { 1419 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_ActivityResponse_fieldAccessorTable 1420 .ensureFieldAccessorsInitialized( 1421 org.sonarqube.ws.WsCe.ActivityResponse.class, org.sonarqube.ws.WsCe.ActivityResponse.Builder.class); 1422 } 1423 1424 private int bitField0_; 1425 public static final int UNUSEDPAGING_FIELD_NUMBER = 1; 1426 private org.sonarqube.ws.Common.Paging unusedPaging_; 1427 /** 1428 * <code>optional .sonarqube.ws.commons.Paging unusedPaging = 1;</code> 1429 * 1430 * <pre> 1431 * paging has been deprecated in 5.5 1432 * </pre> 1433 */ 1434 public boolean hasUnusedPaging() { 1435 return ((bitField0_ & 0x00000001) == 0x00000001); 1436 } 1437 /** 1438 * <code>optional .sonarqube.ws.commons.Paging unusedPaging = 1;</code> 1439 * 1440 * <pre> 1441 * paging has been deprecated in 5.5 1442 * </pre> 1443 */ 1444 public org.sonarqube.ws.Common.Paging getUnusedPaging() { 1445 return unusedPaging_ == null ? org.sonarqube.ws.Common.Paging.getDefaultInstance() : unusedPaging_; 1446 } 1447 /** 1448 * <code>optional .sonarqube.ws.commons.Paging unusedPaging = 1;</code> 1449 * 1450 * <pre> 1451 * paging has been deprecated in 5.5 1452 * </pre> 1453 */ 1454 public org.sonarqube.ws.Common.PagingOrBuilder getUnusedPagingOrBuilder() { 1455 return unusedPaging_ == null ? org.sonarqube.ws.Common.Paging.getDefaultInstance() : unusedPaging_; 1456 } 1457 1458 public static final int TASKS_FIELD_NUMBER = 2; 1459 private java.util.List<org.sonarqube.ws.WsCe.Task> tasks_; 1460 /** 1461 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 1462 */ 1463 public java.util.List<org.sonarqube.ws.WsCe.Task> getTasksList() { 1464 return tasks_; 1465 } 1466 /** 1467 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 1468 */ 1469 public java.util.List<? extends org.sonarqube.ws.WsCe.TaskOrBuilder> 1470 getTasksOrBuilderList() { 1471 return tasks_; 1472 } 1473 /** 1474 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 1475 */ 1476 public int getTasksCount() { 1477 return tasks_.size(); 1478 } 1479 /** 1480 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 1481 */ 1482 public org.sonarqube.ws.WsCe.Task getTasks(int index) { 1483 return tasks_.get(index); 1484 } 1485 /** 1486 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 1487 */ 1488 public org.sonarqube.ws.WsCe.TaskOrBuilder getTasksOrBuilder( 1489 int index) { 1490 return tasks_.get(index); 1491 } 1492 1493 private byte memoizedIsInitialized = -1; 1494 public final boolean isInitialized() { 1495 byte isInitialized = memoizedIsInitialized; 1496 if (isInitialized == 1) return true; 1497 if (isInitialized == 0) return false; 1498 1499 memoizedIsInitialized = 1; 1500 return true; 1501 } 1502 1503 public void writeTo(com.google.protobuf.CodedOutputStream output) 1504 throws java.io.IOException { 1505 if (((bitField0_ & 0x00000001) == 0x00000001)) { 1506 output.writeMessage(1, getUnusedPaging()); 1507 } 1508 for (int i = 0; i < tasks_.size(); i++) { 1509 output.writeMessage(2, tasks_.get(i)); 1510 } 1511 unknownFields.writeTo(output); 1512 } 1513 1514 public int getSerializedSize() { 1515 int size = memoizedSize; 1516 if (size != -1) return size; 1517 1518 size = 0; 1519 if (((bitField0_ & 0x00000001) == 0x00000001)) { 1520 size += com.google.protobuf.CodedOutputStream 1521 .computeMessageSize(1, getUnusedPaging()); 1522 } 1523 for (int i = 0; i < tasks_.size(); i++) { 1524 size += com.google.protobuf.CodedOutputStream 1525 .computeMessageSize(2, tasks_.get(i)); 1526 } 1527 size += unknownFields.getSerializedSize(); 1528 memoizedSize = size; 1529 return size; 1530 } 1531 1532 private static final long serialVersionUID = 0L; 1533 public static org.sonarqube.ws.WsCe.ActivityResponse parseFrom( 1534 com.google.protobuf.ByteString data) 1535 throws com.google.protobuf.InvalidProtocolBufferException { 1536 return PARSER.parseFrom(data); 1537 } 1538 public static org.sonarqube.ws.WsCe.ActivityResponse parseFrom( 1539 com.google.protobuf.ByteString data, 1540 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1541 throws com.google.protobuf.InvalidProtocolBufferException { 1542 return PARSER.parseFrom(data, extensionRegistry); 1543 } 1544 public static org.sonarqube.ws.WsCe.ActivityResponse parseFrom(byte[] data) 1545 throws com.google.protobuf.InvalidProtocolBufferException { 1546 return PARSER.parseFrom(data); 1547 } 1548 public static org.sonarqube.ws.WsCe.ActivityResponse parseFrom( 1549 byte[] data, 1550 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1551 throws com.google.protobuf.InvalidProtocolBufferException { 1552 return PARSER.parseFrom(data, extensionRegistry); 1553 } 1554 public static org.sonarqube.ws.WsCe.ActivityResponse parseFrom(java.io.InputStream input) 1555 throws java.io.IOException { 1556 return PARSER.parseFrom(input); 1557 } 1558 public static org.sonarqube.ws.WsCe.ActivityResponse parseFrom( 1559 java.io.InputStream input, 1560 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1561 throws java.io.IOException { 1562 return PARSER.parseFrom(input, extensionRegistry); 1563 } 1564 public static org.sonarqube.ws.WsCe.ActivityResponse parseDelimitedFrom(java.io.InputStream input) 1565 throws java.io.IOException { 1566 return PARSER.parseDelimitedFrom(input); 1567 } 1568 public static org.sonarqube.ws.WsCe.ActivityResponse parseDelimitedFrom( 1569 java.io.InputStream input, 1570 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1571 throws java.io.IOException { 1572 return PARSER.parseDelimitedFrom(input, extensionRegistry); 1573 } 1574 public static org.sonarqube.ws.WsCe.ActivityResponse parseFrom( 1575 com.google.protobuf.CodedInputStream input) 1576 throws java.io.IOException { 1577 return PARSER.parseFrom(input); 1578 } 1579 public static org.sonarqube.ws.WsCe.ActivityResponse parseFrom( 1580 com.google.protobuf.CodedInputStream input, 1581 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1582 throws java.io.IOException { 1583 return PARSER.parseFrom(input, extensionRegistry); 1584 } 1585 1586 public Builder newBuilderForType() { return newBuilder(); } 1587 public static Builder newBuilder() { 1588 return DEFAULT_INSTANCE.toBuilder(); 1589 } 1590 public static Builder newBuilder(org.sonarqube.ws.WsCe.ActivityResponse prototype) { 1591 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 1592 } 1593 public Builder toBuilder() { 1594 return this == DEFAULT_INSTANCE 1595 ? new Builder() : new Builder().mergeFrom(this); 1596 } 1597 1598 @java.lang.Override 1599 protected Builder newBuilderForType( 1600 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 1601 Builder builder = new Builder(parent); 1602 return builder; 1603 } 1604 /** 1605 * Protobuf type {@code sonarqube.ws.ce.ActivityResponse} 1606 * 1607 * <pre> 1608 * GET api/ce/activity 1609 * </pre> 1610 */ 1611 public static final class Builder extends 1612 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 1613 // @@protoc_insertion_point(builder_implements:sonarqube.ws.ce.ActivityResponse) 1614 org.sonarqube.ws.WsCe.ActivityResponseOrBuilder { 1615 public static final com.google.protobuf.Descriptors.Descriptor 1616 getDescriptor() { 1617 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_ActivityResponse_descriptor; 1618 } 1619 1620 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 1621 internalGetFieldAccessorTable() { 1622 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_ActivityResponse_fieldAccessorTable 1623 .ensureFieldAccessorsInitialized( 1624 org.sonarqube.ws.WsCe.ActivityResponse.class, org.sonarqube.ws.WsCe.ActivityResponse.Builder.class); 1625 } 1626 1627 // Construct using org.sonarqube.ws.WsCe.ActivityResponse.newBuilder() 1628 private Builder() { 1629 maybeForceBuilderInitialization(); 1630 } 1631 1632 private Builder( 1633 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 1634 super(parent); 1635 maybeForceBuilderInitialization(); 1636 } 1637 private void maybeForceBuilderInitialization() { 1638 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 1639 getUnusedPagingFieldBuilder(); 1640 getTasksFieldBuilder(); 1641 } 1642 } 1643 public Builder clear() { 1644 super.clear(); 1645 if (unusedPagingBuilder_ == null) { 1646 unusedPaging_ = null; 1647 } else { 1648 unusedPagingBuilder_.clear(); 1649 } 1650 bitField0_ = (bitField0_ & ~0x00000001); 1651 if (tasksBuilder_ == null) { 1652 tasks_ = java.util.Collections.emptyList(); 1653 bitField0_ = (bitField0_ & ~0x00000002); 1654 } else { 1655 tasksBuilder_.clear(); 1656 } 1657 return this; 1658 } 1659 1660 public com.google.protobuf.Descriptors.Descriptor 1661 getDescriptorForType() { 1662 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_ActivityResponse_descriptor; 1663 } 1664 1665 public org.sonarqube.ws.WsCe.ActivityResponse getDefaultInstanceForType() { 1666 return org.sonarqube.ws.WsCe.ActivityResponse.getDefaultInstance(); 1667 } 1668 1669 public org.sonarqube.ws.WsCe.ActivityResponse build() { 1670 org.sonarqube.ws.WsCe.ActivityResponse result = buildPartial(); 1671 if (!result.isInitialized()) { 1672 throw newUninitializedMessageException(result); 1673 } 1674 return result; 1675 } 1676 1677 public org.sonarqube.ws.WsCe.ActivityResponse buildPartial() { 1678 org.sonarqube.ws.WsCe.ActivityResponse result = new org.sonarqube.ws.WsCe.ActivityResponse(this); 1679 int from_bitField0_ = bitField0_; 1680 int to_bitField0_ = 0; 1681 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 1682 to_bitField0_ |= 0x00000001; 1683 } 1684 if (unusedPagingBuilder_ == null) { 1685 result.unusedPaging_ = unusedPaging_; 1686 } else { 1687 result.unusedPaging_ = unusedPagingBuilder_.build(); 1688 } 1689 if (tasksBuilder_ == null) { 1690 if (((bitField0_ & 0x00000002) == 0x00000002)) { 1691 tasks_ = java.util.Collections.unmodifiableList(tasks_); 1692 bitField0_ = (bitField0_ & ~0x00000002); 1693 } 1694 result.tasks_ = tasks_; 1695 } else { 1696 result.tasks_ = tasksBuilder_.build(); 1697 } 1698 result.bitField0_ = to_bitField0_; 1699 onBuilt(); 1700 return result; 1701 } 1702 1703 public Builder mergeFrom(com.google.protobuf.Message other) { 1704 if (other instanceof org.sonarqube.ws.WsCe.ActivityResponse) { 1705 return mergeFrom((org.sonarqube.ws.WsCe.ActivityResponse)other); 1706 } else { 1707 super.mergeFrom(other); 1708 return this; 1709 } 1710 } 1711 1712 public Builder mergeFrom(org.sonarqube.ws.WsCe.ActivityResponse other) { 1713 if (other == org.sonarqube.ws.WsCe.ActivityResponse.getDefaultInstance()) return this; 1714 if (other.hasUnusedPaging()) { 1715 mergeUnusedPaging(other.getUnusedPaging()); 1716 } 1717 if (tasksBuilder_ == null) { 1718 if (!other.tasks_.isEmpty()) { 1719 if (tasks_.isEmpty()) { 1720 tasks_ = other.tasks_; 1721 bitField0_ = (bitField0_ & ~0x00000002); 1722 } else { 1723 ensureTasksIsMutable(); 1724 tasks_.addAll(other.tasks_); 1725 } 1726 onChanged(); 1727 } 1728 } else { 1729 if (!other.tasks_.isEmpty()) { 1730 if (tasksBuilder_.isEmpty()) { 1731 tasksBuilder_.dispose(); 1732 tasksBuilder_ = null; 1733 tasks_ = other.tasks_; 1734 bitField0_ = (bitField0_ & ~0x00000002); 1735 tasksBuilder_ = 1736 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? 1737 getTasksFieldBuilder() : null; 1738 } else { 1739 tasksBuilder_.addAllMessages(other.tasks_); 1740 } 1741 } 1742 } 1743 this.mergeUnknownFields(other.unknownFields); 1744 onChanged(); 1745 return this; 1746 } 1747 1748 public final boolean isInitialized() { 1749 return true; 1750 } 1751 1752 public Builder mergeFrom( 1753 com.google.protobuf.CodedInputStream input, 1754 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1755 throws java.io.IOException { 1756 org.sonarqube.ws.WsCe.ActivityResponse parsedMessage = null; 1757 try { 1758 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 1759 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 1760 parsedMessage = (org.sonarqube.ws.WsCe.ActivityResponse) e.getUnfinishedMessage(); 1761 throw e; 1762 } finally { 1763 if (parsedMessage != null) { 1764 mergeFrom(parsedMessage); 1765 } 1766 } 1767 return this; 1768 } 1769 private int bitField0_; 1770 1771 private org.sonarqube.ws.Common.Paging unusedPaging_ = null; 1772 private com.google.protobuf.SingleFieldBuilder< 1773 org.sonarqube.ws.Common.Paging, org.sonarqube.ws.Common.Paging.Builder, org.sonarqube.ws.Common.PagingOrBuilder> unusedPagingBuilder_; 1774 /** 1775 * <code>optional .sonarqube.ws.commons.Paging unusedPaging = 1;</code> 1776 * 1777 * <pre> 1778 * paging has been deprecated in 5.5 1779 * </pre> 1780 */ 1781 public boolean hasUnusedPaging() { 1782 return ((bitField0_ & 0x00000001) == 0x00000001); 1783 } 1784 /** 1785 * <code>optional .sonarqube.ws.commons.Paging unusedPaging = 1;</code> 1786 * 1787 * <pre> 1788 * paging has been deprecated in 5.5 1789 * </pre> 1790 */ 1791 public org.sonarqube.ws.Common.Paging getUnusedPaging() { 1792 if (unusedPagingBuilder_ == null) { 1793 return unusedPaging_ == null ? org.sonarqube.ws.Common.Paging.getDefaultInstance() : unusedPaging_; 1794 } else { 1795 return unusedPagingBuilder_.getMessage(); 1796 } 1797 } 1798 /** 1799 * <code>optional .sonarqube.ws.commons.Paging unusedPaging = 1;</code> 1800 * 1801 * <pre> 1802 * paging has been deprecated in 5.5 1803 * </pre> 1804 */ 1805 public Builder setUnusedPaging(org.sonarqube.ws.Common.Paging value) { 1806 if (unusedPagingBuilder_ == null) { 1807 if (value == null) { 1808 throw new NullPointerException(); 1809 } 1810 unusedPaging_ = value; 1811 onChanged(); 1812 } else { 1813 unusedPagingBuilder_.setMessage(value); 1814 } 1815 bitField0_ |= 0x00000001; 1816 return this; 1817 } 1818 /** 1819 * <code>optional .sonarqube.ws.commons.Paging unusedPaging = 1;</code> 1820 * 1821 * <pre> 1822 * paging has been deprecated in 5.5 1823 * </pre> 1824 */ 1825 public Builder setUnusedPaging( 1826 org.sonarqube.ws.Common.Paging.Builder builderForValue) { 1827 if (unusedPagingBuilder_ == null) { 1828 unusedPaging_ = builderForValue.build(); 1829 onChanged(); 1830 } else { 1831 unusedPagingBuilder_.setMessage(builderForValue.build()); 1832 } 1833 bitField0_ |= 0x00000001; 1834 return this; 1835 } 1836 /** 1837 * <code>optional .sonarqube.ws.commons.Paging unusedPaging = 1;</code> 1838 * 1839 * <pre> 1840 * paging has been deprecated in 5.5 1841 * </pre> 1842 */ 1843 public Builder mergeUnusedPaging(org.sonarqube.ws.Common.Paging value) { 1844 if (unusedPagingBuilder_ == null) { 1845 if (((bitField0_ & 0x00000001) == 0x00000001) && 1846 unusedPaging_ != null && 1847 unusedPaging_ != org.sonarqube.ws.Common.Paging.getDefaultInstance()) { 1848 unusedPaging_ = 1849 org.sonarqube.ws.Common.Paging.newBuilder(unusedPaging_).mergeFrom(value).buildPartial(); 1850 } else { 1851 unusedPaging_ = value; 1852 } 1853 onChanged(); 1854 } else { 1855 unusedPagingBuilder_.mergeFrom(value); 1856 } 1857 bitField0_ |= 0x00000001; 1858 return this; 1859 } 1860 /** 1861 * <code>optional .sonarqube.ws.commons.Paging unusedPaging = 1;</code> 1862 * 1863 * <pre> 1864 * paging has been deprecated in 5.5 1865 * </pre> 1866 */ 1867 public Builder clearUnusedPaging() { 1868 if (unusedPagingBuilder_ == null) { 1869 unusedPaging_ = null; 1870 onChanged(); 1871 } else { 1872 unusedPagingBuilder_.clear(); 1873 } 1874 bitField0_ = (bitField0_ & ~0x00000001); 1875 return this; 1876 } 1877 /** 1878 * <code>optional .sonarqube.ws.commons.Paging unusedPaging = 1;</code> 1879 * 1880 * <pre> 1881 * paging has been deprecated in 5.5 1882 * </pre> 1883 */ 1884 public org.sonarqube.ws.Common.Paging.Builder getUnusedPagingBuilder() { 1885 bitField0_ |= 0x00000001; 1886 onChanged(); 1887 return getUnusedPagingFieldBuilder().getBuilder(); 1888 } 1889 /** 1890 * <code>optional .sonarqube.ws.commons.Paging unusedPaging = 1;</code> 1891 * 1892 * <pre> 1893 * paging has been deprecated in 5.5 1894 * </pre> 1895 */ 1896 public org.sonarqube.ws.Common.PagingOrBuilder getUnusedPagingOrBuilder() { 1897 if (unusedPagingBuilder_ != null) { 1898 return unusedPagingBuilder_.getMessageOrBuilder(); 1899 } else { 1900 return unusedPaging_ == null ? 1901 org.sonarqube.ws.Common.Paging.getDefaultInstance() : unusedPaging_; 1902 } 1903 } 1904 /** 1905 * <code>optional .sonarqube.ws.commons.Paging unusedPaging = 1;</code> 1906 * 1907 * <pre> 1908 * paging has been deprecated in 5.5 1909 * </pre> 1910 */ 1911 private com.google.protobuf.SingleFieldBuilder< 1912 org.sonarqube.ws.Common.Paging, org.sonarqube.ws.Common.Paging.Builder, org.sonarqube.ws.Common.PagingOrBuilder> 1913 getUnusedPagingFieldBuilder() { 1914 if (unusedPagingBuilder_ == null) { 1915 unusedPagingBuilder_ = new com.google.protobuf.SingleFieldBuilder< 1916 org.sonarqube.ws.Common.Paging, org.sonarqube.ws.Common.Paging.Builder, org.sonarqube.ws.Common.PagingOrBuilder>( 1917 getUnusedPaging(), 1918 getParentForChildren(), 1919 isClean()); 1920 unusedPaging_ = null; 1921 } 1922 return unusedPagingBuilder_; 1923 } 1924 1925 private java.util.List<org.sonarqube.ws.WsCe.Task> tasks_ = 1926 java.util.Collections.emptyList(); 1927 private void ensureTasksIsMutable() { 1928 if (!((bitField0_ & 0x00000002) == 0x00000002)) { 1929 tasks_ = new java.util.ArrayList<org.sonarqube.ws.WsCe.Task>(tasks_); 1930 bitField0_ |= 0x00000002; 1931 } 1932 } 1933 1934 private com.google.protobuf.RepeatedFieldBuilder< 1935 org.sonarqube.ws.WsCe.Task, org.sonarqube.ws.WsCe.Task.Builder, org.sonarqube.ws.WsCe.TaskOrBuilder> tasksBuilder_; 1936 1937 /** 1938 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 1939 */ 1940 public java.util.List<org.sonarqube.ws.WsCe.Task> getTasksList() { 1941 if (tasksBuilder_ == null) { 1942 return java.util.Collections.unmodifiableList(tasks_); 1943 } else { 1944 return tasksBuilder_.getMessageList(); 1945 } 1946 } 1947 /** 1948 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 1949 */ 1950 public int getTasksCount() { 1951 if (tasksBuilder_ == null) { 1952 return tasks_.size(); 1953 } else { 1954 return tasksBuilder_.getCount(); 1955 } 1956 } 1957 /** 1958 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 1959 */ 1960 public org.sonarqube.ws.WsCe.Task getTasks(int index) { 1961 if (tasksBuilder_ == null) { 1962 return tasks_.get(index); 1963 } else { 1964 return tasksBuilder_.getMessage(index); 1965 } 1966 } 1967 /** 1968 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 1969 */ 1970 public Builder setTasks( 1971 int index, org.sonarqube.ws.WsCe.Task value) { 1972 if (tasksBuilder_ == null) { 1973 if (value == null) { 1974 throw new NullPointerException(); 1975 } 1976 ensureTasksIsMutable(); 1977 tasks_.set(index, value); 1978 onChanged(); 1979 } else { 1980 tasksBuilder_.setMessage(index, value); 1981 } 1982 return this; 1983 } 1984 /** 1985 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 1986 */ 1987 public Builder setTasks( 1988 int index, org.sonarqube.ws.WsCe.Task.Builder builderForValue) { 1989 if (tasksBuilder_ == null) { 1990 ensureTasksIsMutable(); 1991 tasks_.set(index, builderForValue.build()); 1992 onChanged(); 1993 } else { 1994 tasksBuilder_.setMessage(index, builderForValue.build()); 1995 } 1996 return this; 1997 } 1998 /** 1999 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 2000 */ 2001 public Builder addTasks(org.sonarqube.ws.WsCe.Task value) { 2002 if (tasksBuilder_ == null) { 2003 if (value == null) { 2004 throw new NullPointerException(); 2005 } 2006 ensureTasksIsMutable(); 2007 tasks_.add(value); 2008 onChanged(); 2009 } else { 2010 tasksBuilder_.addMessage(value); 2011 } 2012 return this; 2013 } 2014 /** 2015 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 2016 */ 2017 public Builder addTasks( 2018 int index, org.sonarqube.ws.WsCe.Task value) { 2019 if (tasksBuilder_ == null) { 2020 if (value == null) { 2021 throw new NullPointerException(); 2022 } 2023 ensureTasksIsMutable(); 2024 tasks_.add(index, value); 2025 onChanged(); 2026 } else { 2027 tasksBuilder_.addMessage(index, value); 2028 } 2029 return this; 2030 } 2031 /** 2032 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 2033 */ 2034 public Builder addTasks( 2035 org.sonarqube.ws.WsCe.Task.Builder builderForValue) { 2036 if (tasksBuilder_ == null) { 2037 ensureTasksIsMutable(); 2038 tasks_.add(builderForValue.build()); 2039 onChanged(); 2040 } else { 2041 tasksBuilder_.addMessage(builderForValue.build()); 2042 } 2043 return this; 2044 } 2045 /** 2046 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 2047 */ 2048 public Builder addTasks( 2049 int index, org.sonarqube.ws.WsCe.Task.Builder builderForValue) { 2050 if (tasksBuilder_ == null) { 2051 ensureTasksIsMutable(); 2052 tasks_.add(index, builderForValue.build()); 2053 onChanged(); 2054 } else { 2055 tasksBuilder_.addMessage(index, builderForValue.build()); 2056 } 2057 return this; 2058 } 2059 /** 2060 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 2061 */ 2062 public Builder addAllTasks( 2063 java.lang.Iterable<? extends org.sonarqube.ws.WsCe.Task> values) { 2064 if (tasksBuilder_ == null) { 2065 ensureTasksIsMutable(); 2066 com.google.protobuf.AbstractMessageLite.Builder.addAll( 2067 values, tasks_); 2068 onChanged(); 2069 } else { 2070 tasksBuilder_.addAllMessages(values); 2071 } 2072 return this; 2073 } 2074 /** 2075 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 2076 */ 2077 public Builder clearTasks() { 2078 if (tasksBuilder_ == null) { 2079 tasks_ = java.util.Collections.emptyList(); 2080 bitField0_ = (bitField0_ & ~0x00000002); 2081 onChanged(); 2082 } else { 2083 tasksBuilder_.clear(); 2084 } 2085 return this; 2086 } 2087 /** 2088 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 2089 */ 2090 public Builder removeTasks(int index) { 2091 if (tasksBuilder_ == null) { 2092 ensureTasksIsMutable(); 2093 tasks_.remove(index); 2094 onChanged(); 2095 } else { 2096 tasksBuilder_.remove(index); 2097 } 2098 return this; 2099 } 2100 /** 2101 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 2102 */ 2103 public org.sonarqube.ws.WsCe.Task.Builder getTasksBuilder( 2104 int index) { 2105 return getTasksFieldBuilder().getBuilder(index); 2106 } 2107 /** 2108 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 2109 */ 2110 public org.sonarqube.ws.WsCe.TaskOrBuilder getTasksOrBuilder( 2111 int index) { 2112 if (tasksBuilder_ == null) { 2113 return tasks_.get(index); } else { 2114 return tasksBuilder_.getMessageOrBuilder(index); 2115 } 2116 } 2117 /** 2118 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 2119 */ 2120 public java.util.List<? extends org.sonarqube.ws.WsCe.TaskOrBuilder> 2121 getTasksOrBuilderList() { 2122 if (tasksBuilder_ != null) { 2123 return tasksBuilder_.getMessageOrBuilderList(); 2124 } else { 2125 return java.util.Collections.unmodifiableList(tasks_); 2126 } 2127 } 2128 /** 2129 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 2130 */ 2131 public org.sonarqube.ws.WsCe.Task.Builder addTasksBuilder() { 2132 return getTasksFieldBuilder().addBuilder( 2133 org.sonarqube.ws.WsCe.Task.getDefaultInstance()); 2134 } 2135 /** 2136 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 2137 */ 2138 public org.sonarqube.ws.WsCe.Task.Builder addTasksBuilder( 2139 int index) { 2140 return getTasksFieldBuilder().addBuilder( 2141 index, org.sonarqube.ws.WsCe.Task.getDefaultInstance()); 2142 } 2143 /** 2144 * <code>repeated .sonarqube.ws.ce.Task tasks = 2;</code> 2145 */ 2146 public java.util.List<org.sonarqube.ws.WsCe.Task.Builder> 2147 getTasksBuilderList() { 2148 return getTasksFieldBuilder().getBuilderList(); 2149 } 2150 private com.google.protobuf.RepeatedFieldBuilder< 2151 org.sonarqube.ws.WsCe.Task, org.sonarqube.ws.WsCe.Task.Builder, org.sonarqube.ws.WsCe.TaskOrBuilder> 2152 getTasksFieldBuilder() { 2153 if (tasksBuilder_ == null) { 2154 tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< 2155 org.sonarqube.ws.WsCe.Task, org.sonarqube.ws.WsCe.Task.Builder, org.sonarqube.ws.WsCe.TaskOrBuilder>( 2156 tasks_, 2157 ((bitField0_ & 0x00000002) == 0x00000002), 2158 getParentForChildren(), 2159 isClean()); 2160 tasks_ = null; 2161 } 2162 return tasksBuilder_; 2163 } 2164 2165 // @@protoc_insertion_point(builder_scope:sonarqube.ws.ce.ActivityResponse) 2166 } 2167 2168 // @@protoc_insertion_point(class_scope:sonarqube.ws.ce.ActivityResponse) 2169 private static final org.sonarqube.ws.WsCe.ActivityResponse DEFAULT_INSTANCE; 2170 static { 2171 DEFAULT_INSTANCE = new org.sonarqube.ws.WsCe.ActivityResponse(); 2172 } 2173 2174 public static org.sonarqube.ws.WsCe.ActivityResponse getDefaultInstance() { 2175 return DEFAULT_INSTANCE; 2176 } 2177 2178 @java.lang.Deprecated public static final com.google.protobuf.Parser<ActivityResponse> 2179 PARSER = new com.google.protobuf.AbstractParser<ActivityResponse>() { 2180 public ActivityResponse parsePartialFrom( 2181 com.google.protobuf.CodedInputStream input, 2182 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2183 throws com.google.protobuf.InvalidProtocolBufferException { 2184 try { 2185 return new ActivityResponse(input, extensionRegistry); 2186 } catch (RuntimeException e) { 2187 if (e.getCause() instanceof 2188 com.google.protobuf.InvalidProtocolBufferException) { 2189 throw (com.google.protobuf.InvalidProtocolBufferException) 2190 e.getCause(); 2191 } 2192 throw e; 2193 } 2194 } 2195 }; 2196 2197 public static com.google.protobuf.Parser<ActivityResponse> parser() { 2198 return PARSER; 2199 } 2200 2201 @java.lang.Override 2202 public com.google.protobuf.Parser<ActivityResponse> getParserForType() { 2203 return PARSER; 2204 } 2205 2206 public org.sonarqube.ws.WsCe.ActivityResponse getDefaultInstanceForType() { 2207 return DEFAULT_INSTANCE; 2208 } 2209 2210 } 2211 2212 public interface ActivityStatusWsResponseOrBuilder extends 2213 // @@protoc_insertion_point(interface_extends:sonarqube.ws.ce.ActivityStatusWsResponse) 2214 com.google.protobuf.MessageOrBuilder { 2215 2216 /** 2217 * <code>optional int32 pending = 1;</code> 2218 */ 2219 boolean hasPending(); 2220 /** 2221 * <code>optional int32 pending = 1;</code> 2222 */ 2223 int getPending(); 2224 2225 /** 2226 * <code>optional int32 failing = 2;</code> 2227 */ 2228 boolean hasFailing(); 2229 /** 2230 * <code>optional int32 failing = 2;</code> 2231 */ 2232 int getFailing(); 2233 } 2234 /** 2235 * Protobuf type {@code sonarqube.ws.ce.ActivityStatusWsResponse} 2236 * 2237 * <pre> 2238 * GET api/ce/activity_status 2239 * </pre> 2240 */ 2241 public static final class ActivityStatusWsResponse extends 2242 com.google.protobuf.GeneratedMessage implements 2243 // @@protoc_insertion_point(message_implements:sonarqube.ws.ce.ActivityStatusWsResponse) 2244 ActivityStatusWsResponseOrBuilder { 2245 // Use ActivityStatusWsResponse.newBuilder() to construct. 2246 private ActivityStatusWsResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 2247 super(builder); 2248 } 2249 private ActivityStatusWsResponse() { 2250 pending_ = 0; 2251 failing_ = 0; 2252 } 2253 2254 @java.lang.Override 2255 public final com.google.protobuf.UnknownFieldSet 2256 getUnknownFields() { 2257 return this.unknownFields; 2258 } 2259 private ActivityStatusWsResponse( 2260 com.google.protobuf.CodedInputStream input, 2261 com.google.protobuf.ExtensionRegistryLite extensionRegistry) { 2262 this(); 2263 int mutable_bitField0_ = 0; 2264 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 2265 com.google.protobuf.UnknownFieldSet.newBuilder(); 2266 try { 2267 boolean done = false; 2268 while (!done) { 2269 int tag = input.readTag(); 2270 switch (tag) { 2271 case 0: 2272 done = true; 2273 break; 2274 default: { 2275 if (!parseUnknownField(input, unknownFields, 2276 extensionRegistry, tag)) { 2277 done = true; 2278 } 2279 break; 2280 } 2281 case 8: { 2282 bitField0_ |= 0x00000001; 2283 pending_ = input.readInt32(); 2284 break; 2285 } 2286 case 16: { 2287 bitField0_ |= 0x00000002; 2288 failing_ = input.readInt32(); 2289 break; 2290 } 2291 } 2292 } 2293 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 2294 throw new RuntimeException(e.setUnfinishedMessage(this)); 2295 } catch (java.io.IOException e) { 2296 throw new RuntimeException( 2297 new com.google.protobuf.InvalidProtocolBufferException( 2298 e.getMessage()).setUnfinishedMessage(this)); 2299 } finally { 2300 this.unknownFields = unknownFields.build(); 2301 makeExtensionsImmutable(); 2302 } 2303 } 2304 public static final com.google.protobuf.Descriptors.Descriptor 2305 getDescriptor() { 2306 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_ActivityStatusWsResponse_descriptor; 2307 } 2308 2309 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 2310 internalGetFieldAccessorTable() { 2311 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_ActivityStatusWsResponse_fieldAccessorTable 2312 .ensureFieldAccessorsInitialized( 2313 org.sonarqube.ws.WsCe.ActivityStatusWsResponse.class, org.sonarqube.ws.WsCe.ActivityStatusWsResponse.Builder.class); 2314 } 2315 2316 private int bitField0_; 2317 public static final int PENDING_FIELD_NUMBER = 1; 2318 private int pending_; 2319 /** 2320 * <code>optional int32 pending = 1;</code> 2321 */ 2322 public boolean hasPending() { 2323 return ((bitField0_ & 0x00000001) == 0x00000001); 2324 } 2325 /** 2326 * <code>optional int32 pending = 1;</code> 2327 */ 2328 public int getPending() { 2329 return pending_; 2330 } 2331 2332 public static final int FAILING_FIELD_NUMBER = 2; 2333 private int failing_; 2334 /** 2335 * <code>optional int32 failing = 2;</code> 2336 */ 2337 public boolean hasFailing() { 2338 return ((bitField0_ & 0x00000002) == 0x00000002); 2339 } 2340 /** 2341 * <code>optional int32 failing = 2;</code> 2342 */ 2343 public int getFailing() { 2344 return failing_; 2345 } 2346 2347 private byte memoizedIsInitialized = -1; 2348 public final boolean isInitialized() { 2349 byte isInitialized = memoizedIsInitialized; 2350 if (isInitialized == 1) return true; 2351 if (isInitialized == 0) return false; 2352 2353 memoizedIsInitialized = 1; 2354 return true; 2355 } 2356 2357 public void writeTo(com.google.protobuf.CodedOutputStream output) 2358 throws java.io.IOException { 2359 if (((bitField0_ & 0x00000001) == 0x00000001)) { 2360 output.writeInt32(1, pending_); 2361 } 2362 if (((bitField0_ & 0x00000002) == 0x00000002)) { 2363 output.writeInt32(2, failing_); 2364 } 2365 unknownFields.writeTo(output); 2366 } 2367 2368 public int getSerializedSize() { 2369 int size = memoizedSize; 2370 if (size != -1) return size; 2371 2372 size = 0; 2373 if (((bitField0_ & 0x00000001) == 0x00000001)) { 2374 size += com.google.protobuf.CodedOutputStream 2375 .computeInt32Size(1, pending_); 2376 } 2377 if (((bitField0_ & 0x00000002) == 0x00000002)) { 2378 size += com.google.protobuf.CodedOutputStream 2379 .computeInt32Size(2, failing_); 2380 } 2381 size += unknownFields.getSerializedSize(); 2382 memoizedSize = size; 2383 return size; 2384 } 2385 2386 private static final long serialVersionUID = 0L; 2387 public static org.sonarqube.ws.WsCe.ActivityStatusWsResponse parseFrom( 2388 com.google.protobuf.ByteString data) 2389 throws com.google.protobuf.InvalidProtocolBufferException { 2390 return PARSER.parseFrom(data); 2391 } 2392 public static org.sonarqube.ws.WsCe.ActivityStatusWsResponse parseFrom( 2393 com.google.protobuf.ByteString data, 2394 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2395 throws com.google.protobuf.InvalidProtocolBufferException { 2396 return PARSER.parseFrom(data, extensionRegistry); 2397 } 2398 public static org.sonarqube.ws.WsCe.ActivityStatusWsResponse parseFrom(byte[] data) 2399 throws com.google.protobuf.InvalidProtocolBufferException { 2400 return PARSER.parseFrom(data); 2401 } 2402 public static org.sonarqube.ws.WsCe.ActivityStatusWsResponse parseFrom( 2403 byte[] data, 2404 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2405 throws com.google.protobuf.InvalidProtocolBufferException { 2406 return PARSER.parseFrom(data, extensionRegistry); 2407 } 2408 public static org.sonarqube.ws.WsCe.ActivityStatusWsResponse parseFrom(java.io.InputStream input) 2409 throws java.io.IOException { 2410 return PARSER.parseFrom(input); 2411 } 2412 public static org.sonarqube.ws.WsCe.ActivityStatusWsResponse parseFrom( 2413 java.io.InputStream input, 2414 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2415 throws java.io.IOException { 2416 return PARSER.parseFrom(input, extensionRegistry); 2417 } 2418 public static org.sonarqube.ws.WsCe.ActivityStatusWsResponse parseDelimitedFrom(java.io.InputStream input) 2419 throws java.io.IOException { 2420 return PARSER.parseDelimitedFrom(input); 2421 } 2422 public static org.sonarqube.ws.WsCe.ActivityStatusWsResponse parseDelimitedFrom( 2423 java.io.InputStream input, 2424 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2425 throws java.io.IOException { 2426 return PARSER.parseDelimitedFrom(input, extensionRegistry); 2427 } 2428 public static org.sonarqube.ws.WsCe.ActivityStatusWsResponse parseFrom( 2429 com.google.protobuf.CodedInputStream input) 2430 throws java.io.IOException { 2431 return PARSER.parseFrom(input); 2432 } 2433 public static org.sonarqube.ws.WsCe.ActivityStatusWsResponse parseFrom( 2434 com.google.protobuf.CodedInputStream input, 2435 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2436 throws java.io.IOException { 2437 return PARSER.parseFrom(input, extensionRegistry); 2438 } 2439 2440 public Builder newBuilderForType() { return newBuilder(); } 2441 public static Builder newBuilder() { 2442 return DEFAULT_INSTANCE.toBuilder(); 2443 } 2444 public static Builder newBuilder(org.sonarqube.ws.WsCe.ActivityStatusWsResponse prototype) { 2445 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 2446 } 2447 public Builder toBuilder() { 2448 return this == DEFAULT_INSTANCE 2449 ? new Builder() : new Builder().mergeFrom(this); 2450 } 2451 2452 @java.lang.Override 2453 protected Builder newBuilderForType( 2454 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 2455 Builder builder = new Builder(parent); 2456 return builder; 2457 } 2458 /** 2459 * Protobuf type {@code sonarqube.ws.ce.ActivityStatusWsResponse} 2460 * 2461 * <pre> 2462 * GET api/ce/activity_status 2463 * </pre> 2464 */ 2465 public static final class Builder extends 2466 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 2467 // @@protoc_insertion_point(builder_implements:sonarqube.ws.ce.ActivityStatusWsResponse) 2468 org.sonarqube.ws.WsCe.ActivityStatusWsResponseOrBuilder { 2469 public static final com.google.protobuf.Descriptors.Descriptor 2470 getDescriptor() { 2471 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_ActivityStatusWsResponse_descriptor; 2472 } 2473 2474 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 2475 internalGetFieldAccessorTable() { 2476 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_ActivityStatusWsResponse_fieldAccessorTable 2477 .ensureFieldAccessorsInitialized( 2478 org.sonarqube.ws.WsCe.ActivityStatusWsResponse.class, org.sonarqube.ws.WsCe.ActivityStatusWsResponse.Builder.class); 2479 } 2480 2481 // Construct using org.sonarqube.ws.WsCe.ActivityStatusWsResponse.newBuilder() 2482 private Builder() { 2483 maybeForceBuilderInitialization(); 2484 } 2485 2486 private Builder( 2487 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 2488 super(parent); 2489 maybeForceBuilderInitialization(); 2490 } 2491 private void maybeForceBuilderInitialization() { 2492 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 2493 } 2494 } 2495 public Builder clear() { 2496 super.clear(); 2497 pending_ = 0; 2498 bitField0_ = (bitField0_ & ~0x00000001); 2499 failing_ = 0; 2500 bitField0_ = (bitField0_ & ~0x00000002); 2501 return this; 2502 } 2503 2504 public com.google.protobuf.Descriptors.Descriptor 2505 getDescriptorForType() { 2506 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_ActivityStatusWsResponse_descriptor; 2507 } 2508 2509 public org.sonarqube.ws.WsCe.ActivityStatusWsResponse getDefaultInstanceForType() { 2510 return org.sonarqube.ws.WsCe.ActivityStatusWsResponse.getDefaultInstance(); 2511 } 2512 2513 public org.sonarqube.ws.WsCe.ActivityStatusWsResponse build() { 2514 org.sonarqube.ws.WsCe.ActivityStatusWsResponse result = buildPartial(); 2515 if (!result.isInitialized()) { 2516 throw newUninitializedMessageException(result); 2517 } 2518 return result; 2519 } 2520 2521 public org.sonarqube.ws.WsCe.ActivityStatusWsResponse buildPartial() { 2522 org.sonarqube.ws.WsCe.ActivityStatusWsResponse result = new org.sonarqube.ws.WsCe.ActivityStatusWsResponse(this); 2523 int from_bitField0_ = bitField0_; 2524 int to_bitField0_ = 0; 2525 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 2526 to_bitField0_ |= 0x00000001; 2527 } 2528 result.pending_ = pending_; 2529 if (((from_bitField0_ & 0x00000002) == 0x00000002)) { 2530 to_bitField0_ |= 0x00000002; 2531 } 2532 result.failing_ = failing_; 2533 result.bitField0_ = to_bitField0_; 2534 onBuilt(); 2535 return result; 2536 } 2537 2538 public Builder mergeFrom(com.google.protobuf.Message other) { 2539 if (other instanceof org.sonarqube.ws.WsCe.ActivityStatusWsResponse) { 2540 return mergeFrom((org.sonarqube.ws.WsCe.ActivityStatusWsResponse)other); 2541 } else { 2542 super.mergeFrom(other); 2543 return this; 2544 } 2545 } 2546 2547 public Builder mergeFrom(org.sonarqube.ws.WsCe.ActivityStatusWsResponse other) { 2548 if (other == org.sonarqube.ws.WsCe.ActivityStatusWsResponse.getDefaultInstance()) return this; 2549 if (other.hasPending()) { 2550 setPending(other.getPending()); 2551 } 2552 if (other.hasFailing()) { 2553 setFailing(other.getFailing()); 2554 } 2555 this.mergeUnknownFields(other.unknownFields); 2556 onChanged(); 2557 return this; 2558 } 2559 2560 public final boolean isInitialized() { 2561 return true; 2562 } 2563 2564 public Builder mergeFrom( 2565 com.google.protobuf.CodedInputStream input, 2566 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2567 throws java.io.IOException { 2568 org.sonarqube.ws.WsCe.ActivityStatusWsResponse parsedMessage = null; 2569 try { 2570 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 2571 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 2572 parsedMessage = (org.sonarqube.ws.WsCe.ActivityStatusWsResponse) e.getUnfinishedMessage(); 2573 throw e; 2574 } finally { 2575 if (parsedMessage != null) { 2576 mergeFrom(parsedMessage); 2577 } 2578 } 2579 return this; 2580 } 2581 private int bitField0_; 2582 2583 private int pending_ ; 2584 /** 2585 * <code>optional int32 pending = 1;</code> 2586 */ 2587 public boolean hasPending() { 2588 return ((bitField0_ & 0x00000001) == 0x00000001); 2589 } 2590 /** 2591 * <code>optional int32 pending = 1;</code> 2592 */ 2593 public int getPending() { 2594 return pending_; 2595 } 2596 /** 2597 * <code>optional int32 pending = 1;</code> 2598 */ 2599 public Builder setPending(int value) { 2600 bitField0_ |= 0x00000001; 2601 pending_ = value; 2602 onChanged(); 2603 return this; 2604 } 2605 /** 2606 * <code>optional int32 pending = 1;</code> 2607 */ 2608 public Builder clearPending() { 2609 bitField0_ = (bitField0_ & ~0x00000001); 2610 pending_ = 0; 2611 onChanged(); 2612 return this; 2613 } 2614 2615 private int failing_ ; 2616 /** 2617 * <code>optional int32 failing = 2;</code> 2618 */ 2619 public boolean hasFailing() { 2620 return ((bitField0_ & 0x00000002) == 0x00000002); 2621 } 2622 /** 2623 * <code>optional int32 failing = 2;</code> 2624 */ 2625 public int getFailing() { 2626 return failing_; 2627 } 2628 /** 2629 * <code>optional int32 failing = 2;</code> 2630 */ 2631 public Builder setFailing(int value) { 2632 bitField0_ |= 0x00000002; 2633 failing_ = value; 2634 onChanged(); 2635 return this; 2636 } 2637 /** 2638 * <code>optional int32 failing = 2;</code> 2639 */ 2640 public Builder clearFailing() { 2641 bitField0_ = (bitField0_ & ~0x00000002); 2642 failing_ = 0; 2643 onChanged(); 2644 return this; 2645 } 2646 2647 // @@protoc_insertion_point(builder_scope:sonarqube.ws.ce.ActivityStatusWsResponse) 2648 } 2649 2650 // @@protoc_insertion_point(class_scope:sonarqube.ws.ce.ActivityStatusWsResponse) 2651 private static final org.sonarqube.ws.WsCe.ActivityStatusWsResponse DEFAULT_INSTANCE; 2652 static { 2653 DEFAULT_INSTANCE = new org.sonarqube.ws.WsCe.ActivityStatusWsResponse(); 2654 } 2655 2656 public static org.sonarqube.ws.WsCe.ActivityStatusWsResponse getDefaultInstance() { 2657 return DEFAULT_INSTANCE; 2658 } 2659 2660 @java.lang.Deprecated public static final com.google.protobuf.Parser<ActivityStatusWsResponse> 2661 PARSER = new com.google.protobuf.AbstractParser<ActivityStatusWsResponse>() { 2662 public ActivityStatusWsResponse parsePartialFrom( 2663 com.google.protobuf.CodedInputStream input, 2664 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2665 throws com.google.protobuf.InvalidProtocolBufferException { 2666 try { 2667 return new ActivityStatusWsResponse(input, extensionRegistry); 2668 } catch (RuntimeException e) { 2669 if (e.getCause() instanceof 2670 com.google.protobuf.InvalidProtocolBufferException) { 2671 throw (com.google.protobuf.InvalidProtocolBufferException) 2672 e.getCause(); 2673 } 2674 throw e; 2675 } 2676 } 2677 }; 2678 2679 public static com.google.protobuf.Parser<ActivityStatusWsResponse> parser() { 2680 return PARSER; 2681 } 2682 2683 @java.lang.Override 2684 public com.google.protobuf.Parser<ActivityStatusWsResponse> getParserForType() { 2685 return PARSER; 2686 } 2687 2688 public org.sonarqube.ws.WsCe.ActivityStatusWsResponse getDefaultInstanceForType() { 2689 return DEFAULT_INSTANCE; 2690 } 2691 2692 } 2693 2694 public interface ProjectResponseOrBuilder extends 2695 // @@protoc_insertion_point(interface_extends:sonarqube.ws.ce.ProjectResponse) 2696 com.google.protobuf.MessageOrBuilder { 2697 2698 /** 2699 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 2700 */ 2701 java.util.List<org.sonarqube.ws.WsCe.Task> 2702 getQueueList(); 2703 /** 2704 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 2705 */ 2706 org.sonarqube.ws.WsCe.Task getQueue(int index); 2707 /** 2708 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 2709 */ 2710 int getQueueCount(); 2711 /** 2712 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 2713 */ 2714 java.util.List<? extends org.sonarqube.ws.WsCe.TaskOrBuilder> 2715 getQueueOrBuilderList(); 2716 /** 2717 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 2718 */ 2719 org.sonarqube.ws.WsCe.TaskOrBuilder getQueueOrBuilder( 2720 int index); 2721 2722 /** 2723 * <code>optional .sonarqube.ws.ce.Task current = 2;</code> 2724 */ 2725 boolean hasCurrent(); 2726 /** 2727 * <code>optional .sonarqube.ws.ce.Task current = 2;</code> 2728 */ 2729 org.sonarqube.ws.WsCe.Task getCurrent(); 2730 /** 2731 * <code>optional .sonarqube.ws.ce.Task current = 2;</code> 2732 */ 2733 org.sonarqube.ws.WsCe.TaskOrBuilder getCurrentOrBuilder(); 2734 } 2735 /** 2736 * Protobuf type {@code sonarqube.ws.ce.ProjectResponse} 2737 * 2738 * <pre> 2739 * GET api/ce/project 2740 * </pre> 2741 */ 2742 public static final class ProjectResponse extends 2743 com.google.protobuf.GeneratedMessage implements 2744 // @@protoc_insertion_point(message_implements:sonarqube.ws.ce.ProjectResponse) 2745 ProjectResponseOrBuilder { 2746 // Use ProjectResponse.newBuilder() to construct. 2747 private ProjectResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 2748 super(builder); 2749 } 2750 private ProjectResponse() { 2751 queue_ = java.util.Collections.emptyList(); 2752 } 2753 2754 @java.lang.Override 2755 public final com.google.protobuf.UnknownFieldSet 2756 getUnknownFields() { 2757 return this.unknownFields; 2758 } 2759 private ProjectResponse( 2760 com.google.protobuf.CodedInputStream input, 2761 com.google.protobuf.ExtensionRegistryLite extensionRegistry) { 2762 this(); 2763 int mutable_bitField0_ = 0; 2764 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 2765 com.google.protobuf.UnknownFieldSet.newBuilder(); 2766 try { 2767 boolean done = false; 2768 while (!done) { 2769 int tag = input.readTag(); 2770 switch (tag) { 2771 case 0: 2772 done = true; 2773 break; 2774 default: { 2775 if (!parseUnknownField(input, unknownFields, 2776 extensionRegistry, tag)) { 2777 done = true; 2778 } 2779 break; 2780 } 2781 case 10: { 2782 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { 2783 queue_ = new java.util.ArrayList<org.sonarqube.ws.WsCe.Task>(); 2784 mutable_bitField0_ |= 0x00000001; 2785 } 2786 queue_.add(input.readMessage(org.sonarqube.ws.WsCe.Task.parser(), extensionRegistry)); 2787 break; 2788 } 2789 case 18: { 2790 org.sonarqube.ws.WsCe.Task.Builder subBuilder = null; 2791 if (((bitField0_ & 0x00000001) == 0x00000001)) { 2792 subBuilder = current_.toBuilder(); 2793 } 2794 current_ = input.readMessage(org.sonarqube.ws.WsCe.Task.parser(), extensionRegistry); 2795 if (subBuilder != null) { 2796 subBuilder.mergeFrom(current_); 2797 current_ = subBuilder.buildPartial(); 2798 } 2799 bitField0_ |= 0x00000001; 2800 break; 2801 } 2802 } 2803 } 2804 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 2805 throw new RuntimeException(e.setUnfinishedMessage(this)); 2806 } catch (java.io.IOException e) { 2807 throw new RuntimeException( 2808 new com.google.protobuf.InvalidProtocolBufferException( 2809 e.getMessage()).setUnfinishedMessage(this)); 2810 } finally { 2811 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { 2812 queue_ = java.util.Collections.unmodifiableList(queue_); 2813 } 2814 this.unknownFields = unknownFields.build(); 2815 makeExtensionsImmutable(); 2816 } 2817 } 2818 public static final com.google.protobuf.Descriptors.Descriptor 2819 getDescriptor() { 2820 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_ProjectResponse_descriptor; 2821 } 2822 2823 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 2824 internalGetFieldAccessorTable() { 2825 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_ProjectResponse_fieldAccessorTable 2826 .ensureFieldAccessorsInitialized( 2827 org.sonarqube.ws.WsCe.ProjectResponse.class, org.sonarqube.ws.WsCe.ProjectResponse.Builder.class); 2828 } 2829 2830 private int bitField0_; 2831 public static final int QUEUE_FIELD_NUMBER = 1; 2832 private java.util.List<org.sonarqube.ws.WsCe.Task> queue_; 2833 /** 2834 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 2835 */ 2836 public java.util.List<org.sonarqube.ws.WsCe.Task> getQueueList() { 2837 return queue_; 2838 } 2839 /** 2840 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 2841 */ 2842 public java.util.List<? extends org.sonarqube.ws.WsCe.TaskOrBuilder> 2843 getQueueOrBuilderList() { 2844 return queue_; 2845 } 2846 /** 2847 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 2848 */ 2849 public int getQueueCount() { 2850 return queue_.size(); 2851 } 2852 /** 2853 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 2854 */ 2855 public org.sonarqube.ws.WsCe.Task getQueue(int index) { 2856 return queue_.get(index); 2857 } 2858 /** 2859 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 2860 */ 2861 public org.sonarqube.ws.WsCe.TaskOrBuilder getQueueOrBuilder( 2862 int index) { 2863 return queue_.get(index); 2864 } 2865 2866 public static final int CURRENT_FIELD_NUMBER = 2; 2867 private org.sonarqube.ws.WsCe.Task current_; 2868 /** 2869 * <code>optional .sonarqube.ws.ce.Task current = 2;</code> 2870 */ 2871 public boolean hasCurrent() { 2872 return ((bitField0_ & 0x00000001) == 0x00000001); 2873 } 2874 /** 2875 * <code>optional .sonarqube.ws.ce.Task current = 2;</code> 2876 */ 2877 public org.sonarqube.ws.WsCe.Task getCurrent() { 2878 return current_ == null ? org.sonarqube.ws.WsCe.Task.getDefaultInstance() : current_; 2879 } 2880 /** 2881 * <code>optional .sonarqube.ws.ce.Task current = 2;</code> 2882 */ 2883 public org.sonarqube.ws.WsCe.TaskOrBuilder getCurrentOrBuilder() { 2884 return current_ == null ? org.sonarqube.ws.WsCe.Task.getDefaultInstance() : current_; 2885 } 2886 2887 private byte memoizedIsInitialized = -1; 2888 public final boolean isInitialized() { 2889 byte isInitialized = memoizedIsInitialized; 2890 if (isInitialized == 1) return true; 2891 if (isInitialized == 0) return false; 2892 2893 memoizedIsInitialized = 1; 2894 return true; 2895 } 2896 2897 public void writeTo(com.google.protobuf.CodedOutputStream output) 2898 throws java.io.IOException { 2899 for (int i = 0; i < queue_.size(); i++) { 2900 output.writeMessage(1, queue_.get(i)); 2901 } 2902 if (((bitField0_ & 0x00000001) == 0x00000001)) { 2903 output.writeMessage(2, getCurrent()); 2904 } 2905 unknownFields.writeTo(output); 2906 } 2907 2908 public int getSerializedSize() { 2909 int size = memoizedSize; 2910 if (size != -1) return size; 2911 2912 size = 0; 2913 for (int i = 0; i < queue_.size(); i++) { 2914 size += com.google.protobuf.CodedOutputStream 2915 .computeMessageSize(1, queue_.get(i)); 2916 } 2917 if (((bitField0_ & 0x00000001) == 0x00000001)) { 2918 size += com.google.protobuf.CodedOutputStream 2919 .computeMessageSize(2, getCurrent()); 2920 } 2921 size += unknownFields.getSerializedSize(); 2922 memoizedSize = size; 2923 return size; 2924 } 2925 2926 private static final long serialVersionUID = 0L; 2927 public static org.sonarqube.ws.WsCe.ProjectResponse parseFrom( 2928 com.google.protobuf.ByteString data) 2929 throws com.google.protobuf.InvalidProtocolBufferException { 2930 return PARSER.parseFrom(data); 2931 } 2932 public static org.sonarqube.ws.WsCe.ProjectResponse parseFrom( 2933 com.google.protobuf.ByteString data, 2934 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2935 throws com.google.protobuf.InvalidProtocolBufferException { 2936 return PARSER.parseFrom(data, extensionRegistry); 2937 } 2938 public static org.sonarqube.ws.WsCe.ProjectResponse parseFrom(byte[] data) 2939 throws com.google.protobuf.InvalidProtocolBufferException { 2940 return PARSER.parseFrom(data); 2941 } 2942 public static org.sonarqube.ws.WsCe.ProjectResponse parseFrom( 2943 byte[] data, 2944 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2945 throws com.google.protobuf.InvalidProtocolBufferException { 2946 return PARSER.parseFrom(data, extensionRegistry); 2947 } 2948 public static org.sonarqube.ws.WsCe.ProjectResponse parseFrom(java.io.InputStream input) 2949 throws java.io.IOException { 2950 return PARSER.parseFrom(input); 2951 } 2952 public static org.sonarqube.ws.WsCe.ProjectResponse parseFrom( 2953 java.io.InputStream input, 2954 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2955 throws java.io.IOException { 2956 return PARSER.parseFrom(input, extensionRegistry); 2957 } 2958 public static org.sonarqube.ws.WsCe.ProjectResponse parseDelimitedFrom(java.io.InputStream input) 2959 throws java.io.IOException { 2960 return PARSER.parseDelimitedFrom(input); 2961 } 2962 public static org.sonarqube.ws.WsCe.ProjectResponse parseDelimitedFrom( 2963 java.io.InputStream input, 2964 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2965 throws java.io.IOException { 2966 return PARSER.parseDelimitedFrom(input, extensionRegistry); 2967 } 2968 public static org.sonarqube.ws.WsCe.ProjectResponse parseFrom( 2969 com.google.protobuf.CodedInputStream input) 2970 throws java.io.IOException { 2971 return PARSER.parseFrom(input); 2972 } 2973 public static org.sonarqube.ws.WsCe.ProjectResponse parseFrom( 2974 com.google.protobuf.CodedInputStream input, 2975 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2976 throws java.io.IOException { 2977 return PARSER.parseFrom(input, extensionRegistry); 2978 } 2979 2980 public Builder newBuilderForType() { return newBuilder(); } 2981 public static Builder newBuilder() { 2982 return DEFAULT_INSTANCE.toBuilder(); 2983 } 2984 public static Builder newBuilder(org.sonarqube.ws.WsCe.ProjectResponse prototype) { 2985 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 2986 } 2987 public Builder toBuilder() { 2988 return this == DEFAULT_INSTANCE 2989 ? new Builder() : new Builder().mergeFrom(this); 2990 } 2991 2992 @java.lang.Override 2993 protected Builder newBuilderForType( 2994 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 2995 Builder builder = new Builder(parent); 2996 return builder; 2997 } 2998 /** 2999 * Protobuf type {@code sonarqube.ws.ce.ProjectResponse} 3000 * 3001 * <pre> 3002 * GET api/ce/project 3003 * </pre> 3004 */ 3005 public static final class Builder extends 3006 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 3007 // @@protoc_insertion_point(builder_implements:sonarqube.ws.ce.ProjectResponse) 3008 org.sonarqube.ws.WsCe.ProjectResponseOrBuilder { 3009 public static final com.google.protobuf.Descriptors.Descriptor 3010 getDescriptor() { 3011 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_ProjectResponse_descriptor; 3012 } 3013 3014 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 3015 internalGetFieldAccessorTable() { 3016 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_ProjectResponse_fieldAccessorTable 3017 .ensureFieldAccessorsInitialized( 3018 org.sonarqube.ws.WsCe.ProjectResponse.class, org.sonarqube.ws.WsCe.ProjectResponse.Builder.class); 3019 } 3020 3021 // Construct using org.sonarqube.ws.WsCe.ProjectResponse.newBuilder() 3022 private Builder() { 3023 maybeForceBuilderInitialization(); 3024 } 3025 3026 private Builder( 3027 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 3028 super(parent); 3029 maybeForceBuilderInitialization(); 3030 } 3031 private void maybeForceBuilderInitialization() { 3032 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 3033 getQueueFieldBuilder(); 3034 getCurrentFieldBuilder(); 3035 } 3036 } 3037 public Builder clear() { 3038 super.clear(); 3039 if (queueBuilder_ == null) { 3040 queue_ = java.util.Collections.emptyList(); 3041 bitField0_ = (bitField0_ & ~0x00000001); 3042 } else { 3043 queueBuilder_.clear(); 3044 } 3045 if (currentBuilder_ == null) { 3046 current_ = null; 3047 } else { 3048 currentBuilder_.clear(); 3049 } 3050 bitField0_ = (bitField0_ & ~0x00000002); 3051 return this; 3052 } 3053 3054 public com.google.protobuf.Descriptors.Descriptor 3055 getDescriptorForType() { 3056 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_ProjectResponse_descriptor; 3057 } 3058 3059 public org.sonarqube.ws.WsCe.ProjectResponse getDefaultInstanceForType() { 3060 return org.sonarqube.ws.WsCe.ProjectResponse.getDefaultInstance(); 3061 } 3062 3063 public org.sonarqube.ws.WsCe.ProjectResponse build() { 3064 org.sonarqube.ws.WsCe.ProjectResponse result = buildPartial(); 3065 if (!result.isInitialized()) { 3066 throw newUninitializedMessageException(result); 3067 } 3068 return result; 3069 } 3070 3071 public org.sonarqube.ws.WsCe.ProjectResponse buildPartial() { 3072 org.sonarqube.ws.WsCe.ProjectResponse result = new org.sonarqube.ws.WsCe.ProjectResponse(this); 3073 int from_bitField0_ = bitField0_; 3074 int to_bitField0_ = 0; 3075 if (queueBuilder_ == null) { 3076 if (((bitField0_ & 0x00000001) == 0x00000001)) { 3077 queue_ = java.util.Collections.unmodifiableList(queue_); 3078 bitField0_ = (bitField0_ & ~0x00000001); 3079 } 3080 result.queue_ = queue_; 3081 } else { 3082 result.queue_ = queueBuilder_.build(); 3083 } 3084 if (((from_bitField0_ & 0x00000002) == 0x00000002)) { 3085 to_bitField0_ |= 0x00000001; 3086 } 3087 if (currentBuilder_ == null) { 3088 result.current_ = current_; 3089 } else { 3090 result.current_ = currentBuilder_.build(); 3091 } 3092 result.bitField0_ = to_bitField0_; 3093 onBuilt(); 3094 return result; 3095 } 3096 3097 public Builder mergeFrom(com.google.protobuf.Message other) { 3098 if (other instanceof org.sonarqube.ws.WsCe.ProjectResponse) { 3099 return mergeFrom((org.sonarqube.ws.WsCe.ProjectResponse)other); 3100 } else { 3101 super.mergeFrom(other); 3102 return this; 3103 } 3104 } 3105 3106 public Builder mergeFrom(org.sonarqube.ws.WsCe.ProjectResponse other) { 3107 if (other == org.sonarqube.ws.WsCe.ProjectResponse.getDefaultInstance()) return this; 3108 if (queueBuilder_ == null) { 3109 if (!other.queue_.isEmpty()) { 3110 if (queue_.isEmpty()) { 3111 queue_ = other.queue_; 3112 bitField0_ = (bitField0_ & ~0x00000001); 3113 } else { 3114 ensureQueueIsMutable(); 3115 queue_.addAll(other.queue_); 3116 } 3117 onChanged(); 3118 } 3119 } else { 3120 if (!other.queue_.isEmpty()) { 3121 if (queueBuilder_.isEmpty()) { 3122 queueBuilder_.dispose(); 3123 queueBuilder_ = null; 3124 queue_ = other.queue_; 3125 bitField0_ = (bitField0_ & ~0x00000001); 3126 queueBuilder_ = 3127 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? 3128 getQueueFieldBuilder() : null; 3129 } else { 3130 queueBuilder_.addAllMessages(other.queue_); 3131 } 3132 } 3133 } 3134 if (other.hasCurrent()) { 3135 mergeCurrent(other.getCurrent()); 3136 } 3137 this.mergeUnknownFields(other.unknownFields); 3138 onChanged(); 3139 return this; 3140 } 3141 3142 public final boolean isInitialized() { 3143 return true; 3144 } 3145 3146 public Builder mergeFrom( 3147 com.google.protobuf.CodedInputStream input, 3148 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3149 throws java.io.IOException { 3150 org.sonarqube.ws.WsCe.ProjectResponse parsedMessage = null; 3151 try { 3152 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 3153 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 3154 parsedMessage = (org.sonarqube.ws.WsCe.ProjectResponse) e.getUnfinishedMessage(); 3155 throw e; 3156 } finally { 3157 if (parsedMessage != null) { 3158 mergeFrom(parsedMessage); 3159 } 3160 } 3161 return this; 3162 } 3163 private int bitField0_; 3164 3165 private java.util.List<org.sonarqube.ws.WsCe.Task> queue_ = 3166 java.util.Collections.emptyList(); 3167 private void ensureQueueIsMutable() { 3168 if (!((bitField0_ & 0x00000001) == 0x00000001)) { 3169 queue_ = new java.util.ArrayList<org.sonarqube.ws.WsCe.Task>(queue_); 3170 bitField0_ |= 0x00000001; 3171 } 3172 } 3173 3174 private com.google.protobuf.RepeatedFieldBuilder< 3175 org.sonarqube.ws.WsCe.Task, org.sonarqube.ws.WsCe.Task.Builder, org.sonarqube.ws.WsCe.TaskOrBuilder> queueBuilder_; 3176 3177 /** 3178 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 3179 */ 3180 public java.util.List<org.sonarqube.ws.WsCe.Task> getQueueList() { 3181 if (queueBuilder_ == null) { 3182 return java.util.Collections.unmodifiableList(queue_); 3183 } else { 3184 return queueBuilder_.getMessageList(); 3185 } 3186 } 3187 /** 3188 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 3189 */ 3190 public int getQueueCount() { 3191 if (queueBuilder_ == null) { 3192 return queue_.size(); 3193 } else { 3194 return queueBuilder_.getCount(); 3195 } 3196 } 3197 /** 3198 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 3199 */ 3200 public org.sonarqube.ws.WsCe.Task getQueue(int index) { 3201 if (queueBuilder_ == null) { 3202 return queue_.get(index); 3203 } else { 3204 return queueBuilder_.getMessage(index); 3205 } 3206 } 3207 /** 3208 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 3209 */ 3210 public Builder setQueue( 3211 int index, org.sonarqube.ws.WsCe.Task value) { 3212 if (queueBuilder_ == null) { 3213 if (value == null) { 3214 throw new NullPointerException(); 3215 } 3216 ensureQueueIsMutable(); 3217 queue_.set(index, value); 3218 onChanged(); 3219 } else { 3220 queueBuilder_.setMessage(index, value); 3221 } 3222 return this; 3223 } 3224 /** 3225 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 3226 */ 3227 public Builder setQueue( 3228 int index, org.sonarqube.ws.WsCe.Task.Builder builderForValue) { 3229 if (queueBuilder_ == null) { 3230 ensureQueueIsMutable(); 3231 queue_.set(index, builderForValue.build()); 3232 onChanged(); 3233 } else { 3234 queueBuilder_.setMessage(index, builderForValue.build()); 3235 } 3236 return this; 3237 } 3238 /** 3239 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 3240 */ 3241 public Builder addQueue(org.sonarqube.ws.WsCe.Task value) { 3242 if (queueBuilder_ == null) { 3243 if (value == null) { 3244 throw new NullPointerException(); 3245 } 3246 ensureQueueIsMutable(); 3247 queue_.add(value); 3248 onChanged(); 3249 } else { 3250 queueBuilder_.addMessage(value); 3251 } 3252 return this; 3253 } 3254 /** 3255 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 3256 */ 3257 public Builder addQueue( 3258 int index, org.sonarqube.ws.WsCe.Task value) { 3259 if (queueBuilder_ == null) { 3260 if (value == null) { 3261 throw new NullPointerException(); 3262 } 3263 ensureQueueIsMutable(); 3264 queue_.add(index, value); 3265 onChanged(); 3266 } else { 3267 queueBuilder_.addMessage(index, value); 3268 } 3269 return this; 3270 } 3271 /** 3272 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 3273 */ 3274 public Builder addQueue( 3275 org.sonarqube.ws.WsCe.Task.Builder builderForValue) { 3276 if (queueBuilder_ == null) { 3277 ensureQueueIsMutable(); 3278 queue_.add(builderForValue.build()); 3279 onChanged(); 3280 } else { 3281 queueBuilder_.addMessage(builderForValue.build()); 3282 } 3283 return this; 3284 } 3285 /** 3286 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 3287 */ 3288 public Builder addQueue( 3289 int index, org.sonarqube.ws.WsCe.Task.Builder builderForValue) { 3290 if (queueBuilder_ == null) { 3291 ensureQueueIsMutable(); 3292 queue_.add(index, builderForValue.build()); 3293 onChanged(); 3294 } else { 3295 queueBuilder_.addMessage(index, builderForValue.build()); 3296 } 3297 return this; 3298 } 3299 /** 3300 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 3301 */ 3302 public Builder addAllQueue( 3303 java.lang.Iterable<? extends org.sonarqube.ws.WsCe.Task> values) { 3304 if (queueBuilder_ == null) { 3305 ensureQueueIsMutable(); 3306 com.google.protobuf.AbstractMessageLite.Builder.addAll( 3307 values, queue_); 3308 onChanged(); 3309 } else { 3310 queueBuilder_.addAllMessages(values); 3311 } 3312 return this; 3313 } 3314 /** 3315 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 3316 */ 3317 public Builder clearQueue() { 3318 if (queueBuilder_ == null) { 3319 queue_ = java.util.Collections.emptyList(); 3320 bitField0_ = (bitField0_ & ~0x00000001); 3321 onChanged(); 3322 } else { 3323 queueBuilder_.clear(); 3324 } 3325 return this; 3326 } 3327 /** 3328 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 3329 */ 3330 public Builder removeQueue(int index) { 3331 if (queueBuilder_ == null) { 3332 ensureQueueIsMutable(); 3333 queue_.remove(index); 3334 onChanged(); 3335 } else { 3336 queueBuilder_.remove(index); 3337 } 3338 return this; 3339 } 3340 /** 3341 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 3342 */ 3343 public org.sonarqube.ws.WsCe.Task.Builder getQueueBuilder( 3344 int index) { 3345 return getQueueFieldBuilder().getBuilder(index); 3346 } 3347 /** 3348 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 3349 */ 3350 public org.sonarqube.ws.WsCe.TaskOrBuilder getQueueOrBuilder( 3351 int index) { 3352 if (queueBuilder_ == null) { 3353 return queue_.get(index); } else { 3354 return queueBuilder_.getMessageOrBuilder(index); 3355 } 3356 } 3357 /** 3358 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 3359 */ 3360 public java.util.List<? extends org.sonarqube.ws.WsCe.TaskOrBuilder> 3361 getQueueOrBuilderList() { 3362 if (queueBuilder_ != null) { 3363 return queueBuilder_.getMessageOrBuilderList(); 3364 } else { 3365 return java.util.Collections.unmodifiableList(queue_); 3366 } 3367 } 3368 /** 3369 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 3370 */ 3371 public org.sonarqube.ws.WsCe.Task.Builder addQueueBuilder() { 3372 return getQueueFieldBuilder().addBuilder( 3373 org.sonarqube.ws.WsCe.Task.getDefaultInstance()); 3374 } 3375 /** 3376 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 3377 */ 3378 public org.sonarqube.ws.WsCe.Task.Builder addQueueBuilder( 3379 int index) { 3380 return getQueueFieldBuilder().addBuilder( 3381 index, org.sonarqube.ws.WsCe.Task.getDefaultInstance()); 3382 } 3383 /** 3384 * <code>repeated .sonarqube.ws.ce.Task queue = 1;</code> 3385 */ 3386 public java.util.List<org.sonarqube.ws.WsCe.Task.Builder> 3387 getQueueBuilderList() { 3388 return getQueueFieldBuilder().getBuilderList(); 3389 } 3390 private com.google.protobuf.RepeatedFieldBuilder< 3391 org.sonarqube.ws.WsCe.Task, org.sonarqube.ws.WsCe.Task.Builder, org.sonarqube.ws.WsCe.TaskOrBuilder> 3392 getQueueFieldBuilder() { 3393 if (queueBuilder_ == null) { 3394 queueBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< 3395 org.sonarqube.ws.WsCe.Task, org.sonarqube.ws.WsCe.Task.Builder, org.sonarqube.ws.WsCe.TaskOrBuilder>( 3396 queue_, 3397 ((bitField0_ & 0x00000001) == 0x00000001), 3398 getParentForChildren(), 3399 isClean()); 3400 queue_ = null; 3401 } 3402 return queueBuilder_; 3403 } 3404 3405 private org.sonarqube.ws.WsCe.Task current_ = null; 3406 private com.google.protobuf.SingleFieldBuilder< 3407 org.sonarqube.ws.WsCe.Task, org.sonarqube.ws.WsCe.Task.Builder, org.sonarqube.ws.WsCe.TaskOrBuilder> currentBuilder_; 3408 /** 3409 * <code>optional .sonarqube.ws.ce.Task current = 2;</code> 3410 */ 3411 public boolean hasCurrent() { 3412 return ((bitField0_ & 0x00000002) == 0x00000002); 3413 } 3414 /** 3415 * <code>optional .sonarqube.ws.ce.Task current = 2;</code> 3416 */ 3417 public org.sonarqube.ws.WsCe.Task getCurrent() { 3418 if (currentBuilder_ == null) { 3419 return current_ == null ? org.sonarqube.ws.WsCe.Task.getDefaultInstance() : current_; 3420 } else { 3421 return currentBuilder_.getMessage(); 3422 } 3423 } 3424 /** 3425 * <code>optional .sonarqube.ws.ce.Task current = 2;</code> 3426 */ 3427 public Builder setCurrent(org.sonarqube.ws.WsCe.Task value) { 3428 if (currentBuilder_ == null) { 3429 if (value == null) { 3430 throw new NullPointerException(); 3431 } 3432 current_ = value; 3433 onChanged(); 3434 } else { 3435 currentBuilder_.setMessage(value); 3436 } 3437 bitField0_ |= 0x00000002; 3438 return this; 3439 } 3440 /** 3441 * <code>optional .sonarqube.ws.ce.Task current = 2;</code> 3442 */ 3443 public Builder setCurrent( 3444 org.sonarqube.ws.WsCe.Task.Builder builderForValue) { 3445 if (currentBuilder_ == null) { 3446 current_ = builderForValue.build(); 3447 onChanged(); 3448 } else { 3449 currentBuilder_.setMessage(builderForValue.build()); 3450 } 3451 bitField0_ |= 0x00000002; 3452 return this; 3453 } 3454 /** 3455 * <code>optional .sonarqube.ws.ce.Task current = 2;</code> 3456 */ 3457 public Builder mergeCurrent(org.sonarqube.ws.WsCe.Task value) { 3458 if (currentBuilder_ == null) { 3459 if (((bitField0_ & 0x00000002) == 0x00000002) && 3460 current_ != null && 3461 current_ != org.sonarqube.ws.WsCe.Task.getDefaultInstance()) { 3462 current_ = 3463 org.sonarqube.ws.WsCe.Task.newBuilder(current_).mergeFrom(value).buildPartial(); 3464 } else { 3465 current_ = value; 3466 } 3467 onChanged(); 3468 } else { 3469 currentBuilder_.mergeFrom(value); 3470 } 3471 bitField0_ |= 0x00000002; 3472 return this; 3473 } 3474 /** 3475 * <code>optional .sonarqube.ws.ce.Task current = 2;</code> 3476 */ 3477 public Builder clearCurrent() { 3478 if (currentBuilder_ == null) { 3479 current_ = null; 3480 onChanged(); 3481 } else { 3482 currentBuilder_.clear(); 3483 } 3484 bitField0_ = (bitField0_ & ~0x00000002); 3485 return this; 3486 } 3487 /** 3488 * <code>optional .sonarqube.ws.ce.Task current = 2;</code> 3489 */ 3490 public org.sonarqube.ws.WsCe.Task.Builder getCurrentBuilder() { 3491 bitField0_ |= 0x00000002; 3492 onChanged(); 3493 return getCurrentFieldBuilder().getBuilder(); 3494 } 3495 /** 3496 * <code>optional .sonarqube.ws.ce.Task current = 2;</code> 3497 */ 3498 public org.sonarqube.ws.WsCe.TaskOrBuilder getCurrentOrBuilder() { 3499 if (currentBuilder_ != null) { 3500 return currentBuilder_.getMessageOrBuilder(); 3501 } else { 3502 return current_ == null ? 3503 org.sonarqube.ws.WsCe.Task.getDefaultInstance() : current_; 3504 } 3505 } 3506 /** 3507 * <code>optional .sonarqube.ws.ce.Task current = 2;</code> 3508 */ 3509 private com.google.protobuf.SingleFieldBuilder< 3510 org.sonarqube.ws.WsCe.Task, org.sonarqube.ws.WsCe.Task.Builder, org.sonarqube.ws.WsCe.TaskOrBuilder> 3511 getCurrentFieldBuilder() { 3512 if (currentBuilder_ == null) { 3513 currentBuilder_ = new com.google.protobuf.SingleFieldBuilder< 3514 org.sonarqube.ws.WsCe.Task, org.sonarqube.ws.WsCe.Task.Builder, org.sonarqube.ws.WsCe.TaskOrBuilder>( 3515 getCurrent(), 3516 getParentForChildren(), 3517 isClean()); 3518 current_ = null; 3519 } 3520 return currentBuilder_; 3521 } 3522 3523 // @@protoc_insertion_point(builder_scope:sonarqube.ws.ce.ProjectResponse) 3524 } 3525 3526 // @@protoc_insertion_point(class_scope:sonarqube.ws.ce.ProjectResponse) 3527 private static final org.sonarqube.ws.WsCe.ProjectResponse DEFAULT_INSTANCE; 3528 static { 3529 DEFAULT_INSTANCE = new org.sonarqube.ws.WsCe.ProjectResponse(); 3530 } 3531 3532 public static org.sonarqube.ws.WsCe.ProjectResponse getDefaultInstance() { 3533 return DEFAULT_INSTANCE; 3534 } 3535 3536 @java.lang.Deprecated public static final com.google.protobuf.Parser<ProjectResponse> 3537 PARSER = new com.google.protobuf.AbstractParser<ProjectResponse>() { 3538 public ProjectResponse parsePartialFrom( 3539 com.google.protobuf.CodedInputStream input, 3540 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3541 throws com.google.protobuf.InvalidProtocolBufferException { 3542 try { 3543 return new ProjectResponse(input, extensionRegistry); 3544 } catch (RuntimeException e) { 3545 if (e.getCause() instanceof 3546 com.google.protobuf.InvalidProtocolBufferException) { 3547 throw (com.google.protobuf.InvalidProtocolBufferException) 3548 e.getCause(); 3549 } 3550 throw e; 3551 } 3552 } 3553 }; 3554 3555 public static com.google.protobuf.Parser<ProjectResponse> parser() { 3556 return PARSER; 3557 } 3558 3559 @java.lang.Override 3560 public com.google.protobuf.Parser<ProjectResponse> getParserForType() { 3561 return PARSER; 3562 } 3563 3564 public org.sonarqube.ws.WsCe.ProjectResponse getDefaultInstanceForType() { 3565 return DEFAULT_INSTANCE; 3566 } 3567 3568 } 3569 3570 public interface TaskTypesWsResponseOrBuilder extends 3571 // @@protoc_insertion_point(interface_extends:sonarqube.ws.ce.TaskTypesWsResponse) 3572 com.google.protobuf.MessageOrBuilder { 3573 3574 /** 3575 * <code>repeated string taskTypes = 1;</code> 3576 */ 3577 com.google.protobuf.ProtocolStringList 3578 getTaskTypesList(); 3579 /** 3580 * <code>repeated string taskTypes = 1;</code> 3581 */ 3582 int getTaskTypesCount(); 3583 /** 3584 * <code>repeated string taskTypes = 1;</code> 3585 */ 3586 java.lang.String getTaskTypes(int index); 3587 /** 3588 * <code>repeated string taskTypes = 1;</code> 3589 */ 3590 com.google.protobuf.ByteString 3591 getTaskTypesBytes(int index); 3592 } 3593 /** 3594 * Protobuf type {@code sonarqube.ws.ce.TaskTypesWsResponse} 3595 * 3596 * <pre> 3597 * GET api/ce/task_types 3598 * </pre> 3599 */ 3600 public static final class TaskTypesWsResponse extends 3601 com.google.protobuf.GeneratedMessage implements 3602 // @@protoc_insertion_point(message_implements:sonarqube.ws.ce.TaskTypesWsResponse) 3603 TaskTypesWsResponseOrBuilder { 3604 // Use TaskTypesWsResponse.newBuilder() to construct. 3605 private TaskTypesWsResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 3606 super(builder); 3607 } 3608 private TaskTypesWsResponse() { 3609 taskTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; 3610 } 3611 3612 @java.lang.Override 3613 public final com.google.protobuf.UnknownFieldSet 3614 getUnknownFields() { 3615 return this.unknownFields; 3616 } 3617 private TaskTypesWsResponse( 3618 com.google.protobuf.CodedInputStream input, 3619 com.google.protobuf.ExtensionRegistryLite extensionRegistry) { 3620 this(); 3621 int mutable_bitField0_ = 0; 3622 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 3623 com.google.protobuf.UnknownFieldSet.newBuilder(); 3624 try { 3625 boolean done = false; 3626 while (!done) { 3627 int tag = input.readTag(); 3628 switch (tag) { 3629 case 0: 3630 done = true; 3631 break; 3632 default: { 3633 if (!parseUnknownField(input, unknownFields, 3634 extensionRegistry, tag)) { 3635 done = true; 3636 } 3637 break; 3638 } 3639 case 10: { 3640 com.google.protobuf.ByteString bs = input.readBytes(); 3641 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { 3642 taskTypes_ = new com.google.protobuf.LazyStringArrayList(); 3643 mutable_bitField0_ |= 0x00000001; 3644 } 3645 taskTypes_.add(bs); 3646 break; 3647 } 3648 } 3649 } 3650 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 3651 throw new RuntimeException(e.setUnfinishedMessage(this)); 3652 } catch (java.io.IOException e) { 3653 throw new RuntimeException( 3654 new com.google.protobuf.InvalidProtocolBufferException( 3655 e.getMessage()).setUnfinishedMessage(this)); 3656 } finally { 3657 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { 3658 taskTypes_ = taskTypes_.getUnmodifiableView(); 3659 } 3660 this.unknownFields = unknownFields.build(); 3661 makeExtensionsImmutable(); 3662 } 3663 } 3664 public static final com.google.protobuf.Descriptors.Descriptor 3665 getDescriptor() { 3666 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_TaskTypesWsResponse_descriptor; 3667 } 3668 3669 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 3670 internalGetFieldAccessorTable() { 3671 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_TaskTypesWsResponse_fieldAccessorTable 3672 .ensureFieldAccessorsInitialized( 3673 org.sonarqube.ws.WsCe.TaskTypesWsResponse.class, org.sonarqube.ws.WsCe.TaskTypesWsResponse.Builder.class); 3674 } 3675 3676 public static final int TASKTYPES_FIELD_NUMBER = 1; 3677 private com.google.protobuf.LazyStringList taskTypes_; 3678 /** 3679 * <code>repeated string taskTypes = 1;</code> 3680 */ 3681 public com.google.protobuf.ProtocolStringList 3682 getTaskTypesList() { 3683 return taskTypes_; 3684 } 3685 /** 3686 * <code>repeated string taskTypes = 1;</code> 3687 */ 3688 public int getTaskTypesCount() { 3689 return taskTypes_.size(); 3690 } 3691 /** 3692 * <code>repeated string taskTypes = 1;</code> 3693 */ 3694 public java.lang.String getTaskTypes(int index) { 3695 return taskTypes_.get(index); 3696 } 3697 /** 3698 * <code>repeated string taskTypes = 1;</code> 3699 */ 3700 public com.google.protobuf.ByteString 3701 getTaskTypesBytes(int index) { 3702 return taskTypes_.getByteString(index); 3703 } 3704 3705 private byte memoizedIsInitialized = -1; 3706 public final boolean isInitialized() { 3707 byte isInitialized = memoizedIsInitialized; 3708 if (isInitialized == 1) return true; 3709 if (isInitialized == 0) return false; 3710 3711 memoizedIsInitialized = 1; 3712 return true; 3713 } 3714 3715 public void writeTo(com.google.protobuf.CodedOutputStream output) 3716 throws java.io.IOException { 3717 for (int i = 0; i < taskTypes_.size(); i++) { 3718 com.google.protobuf.GeneratedMessage.writeString(output, 1, taskTypes_.getRaw(i)); 3719 } 3720 unknownFields.writeTo(output); 3721 } 3722 3723 public int getSerializedSize() { 3724 int size = memoizedSize; 3725 if (size != -1) return size; 3726 3727 size = 0; 3728 { 3729 int dataSize = 0; 3730 for (int i = 0; i < taskTypes_.size(); i++) { 3731 dataSize += computeStringSizeNoTag(taskTypes_.getRaw(i)); 3732 } 3733 size += dataSize; 3734 size += 1 * getTaskTypesList().size(); 3735 } 3736 size += unknownFields.getSerializedSize(); 3737 memoizedSize = size; 3738 return size; 3739 } 3740 3741 private static final long serialVersionUID = 0L; 3742 public static org.sonarqube.ws.WsCe.TaskTypesWsResponse parseFrom( 3743 com.google.protobuf.ByteString data) 3744 throws com.google.protobuf.InvalidProtocolBufferException { 3745 return PARSER.parseFrom(data); 3746 } 3747 public static org.sonarqube.ws.WsCe.TaskTypesWsResponse parseFrom( 3748 com.google.protobuf.ByteString data, 3749 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3750 throws com.google.protobuf.InvalidProtocolBufferException { 3751 return PARSER.parseFrom(data, extensionRegistry); 3752 } 3753 public static org.sonarqube.ws.WsCe.TaskTypesWsResponse parseFrom(byte[] data) 3754 throws com.google.protobuf.InvalidProtocolBufferException { 3755 return PARSER.parseFrom(data); 3756 } 3757 public static org.sonarqube.ws.WsCe.TaskTypesWsResponse parseFrom( 3758 byte[] data, 3759 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3760 throws com.google.protobuf.InvalidProtocolBufferException { 3761 return PARSER.parseFrom(data, extensionRegistry); 3762 } 3763 public static org.sonarqube.ws.WsCe.TaskTypesWsResponse parseFrom(java.io.InputStream input) 3764 throws java.io.IOException { 3765 return PARSER.parseFrom(input); 3766 } 3767 public static org.sonarqube.ws.WsCe.TaskTypesWsResponse parseFrom( 3768 java.io.InputStream input, 3769 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3770 throws java.io.IOException { 3771 return PARSER.parseFrom(input, extensionRegistry); 3772 } 3773 public static org.sonarqube.ws.WsCe.TaskTypesWsResponse parseDelimitedFrom(java.io.InputStream input) 3774 throws java.io.IOException { 3775 return PARSER.parseDelimitedFrom(input); 3776 } 3777 public static org.sonarqube.ws.WsCe.TaskTypesWsResponse parseDelimitedFrom( 3778 java.io.InputStream input, 3779 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3780 throws java.io.IOException { 3781 return PARSER.parseDelimitedFrom(input, extensionRegistry); 3782 } 3783 public static org.sonarqube.ws.WsCe.TaskTypesWsResponse parseFrom( 3784 com.google.protobuf.CodedInputStream input) 3785 throws java.io.IOException { 3786 return PARSER.parseFrom(input); 3787 } 3788 public static org.sonarqube.ws.WsCe.TaskTypesWsResponse parseFrom( 3789 com.google.protobuf.CodedInputStream input, 3790 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3791 throws java.io.IOException { 3792 return PARSER.parseFrom(input, extensionRegistry); 3793 } 3794 3795 public Builder newBuilderForType() { return newBuilder(); } 3796 public static Builder newBuilder() { 3797 return DEFAULT_INSTANCE.toBuilder(); 3798 } 3799 public static Builder newBuilder(org.sonarqube.ws.WsCe.TaskTypesWsResponse prototype) { 3800 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 3801 } 3802 public Builder toBuilder() { 3803 return this == DEFAULT_INSTANCE 3804 ? new Builder() : new Builder().mergeFrom(this); 3805 } 3806 3807 @java.lang.Override 3808 protected Builder newBuilderForType( 3809 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 3810 Builder builder = new Builder(parent); 3811 return builder; 3812 } 3813 /** 3814 * Protobuf type {@code sonarqube.ws.ce.TaskTypesWsResponse} 3815 * 3816 * <pre> 3817 * GET api/ce/task_types 3818 * </pre> 3819 */ 3820 public static final class Builder extends 3821 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 3822 // @@protoc_insertion_point(builder_implements:sonarqube.ws.ce.TaskTypesWsResponse) 3823 org.sonarqube.ws.WsCe.TaskTypesWsResponseOrBuilder { 3824 public static final com.google.protobuf.Descriptors.Descriptor 3825 getDescriptor() { 3826 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_TaskTypesWsResponse_descriptor; 3827 } 3828 3829 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 3830 internalGetFieldAccessorTable() { 3831 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_TaskTypesWsResponse_fieldAccessorTable 3832 .ensureFieldAccessorsInitialized( 3833 org.sonarqube.ws.WsCe.TaskTypesWsResponse.class, org.sonarqube.ws.WsCe.TaskTypesWsResponse.Builder.class); 3834 } 3835 3836 // Construct using org.sonarqube.ws.WsCe.TaskTypesWsResponse.newBuilder() 3837 private Builder() { 3838 maybeForceBuilderInitialization(); 3839 } 3840 3841 private Builder( 3842 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 3843 super(parent); 3844 maybeForceBuilderInitialization(); 3845 } 3846 private void maybeForceBuilderInitialization() { 3847 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 3848 } 3849 } 3850 public Builder clear() { 3851 super.clear(); 3852 taskTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; 3853 bitField0_ = (bitField0_ & ~0x00000001); 3854 return this; 3855 } 3856 3857 public com.google.protobuf.Descriptors.Descriptor 3858 getDescriptorForType() { 3859 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_TaskTypesWsResponse_descriptor; 3860 } 3861 3862 public org.sonarqube.ws.WsCe.TaskTypesWsResponse getDefaultInstanceForType() { 3863 return org.sonarqube.ws.WsCe.TaskTypesWsResponse.getDefaultInstance(); 3864 } 3865 3866 public org.sonarqube.ws.WsCe.TaskTypesWsResponse build() { 3867 org.sonarqube.ws.WsCe.TaskTypesWsResponse result = buildPartial(); 3868 if (!result.isInitialized()) { 3869 throw newUninitializedMessageException(result); 3870 } 3871 return result; 3872 } 3873 3874 public org.sonarqube.ws.WsCe.TaskTypesWsResponse buildPartial() { 3875 org.sonarqube.ws.WsCe.TaskTypesWsResponse result = new org.sonarqube.ws.WsCe.TaskTypesWsResponse(this); 3876 int from_bitField0_ = bitField0_; 3877 if (((bitField0_ & 0x00000001) == 0x00000001)) { 3878 taskTypes_ = taskTypes_.getUnmodifiableView(); 3879 bitField0_ = (bitField0_ & ~0x00000001); 3880 } 3881 result.taskTypes_ = taskTypes_; 3882 onBuilt(); 3883 return result; 3884 } 3885 3886 public Builder mergeFrom(com.google.protobuf.Message other) { 3887 if (other instanceof org.sonarqube.ws.WsCe.TaskTypesWsResponse) { 3888 return mergeFrom((org.sonarqube.ws.WsCe.TaskTypesWsResponse)other); 3889 } else { 3890 super.mergeFrom(other); 3891 return this; 3892 } 3893 } 3894 3895 public Builder mergeFrom(org.sonarqube.ws.WsCe.TaskTypesWsResponse other) { 3896 if (other == org.sonarqube.ws.WsCe.TaskTypesWsResponse.getDefaultInstance()) return this; 3897 if (!other.taskTypes_.isEmpty()) { 3898 if (taskTypes_.isEmpty()) { 3899 taskTypes_ = other.taskTypes_; 3900 bitField0_ = (bitField0_ & ~0x00000001); 3901 } else { 3902 ensureTaskTypesIsMutable(); 3903 taskTypes_.addAll(other.taskTypes_); 3904 } 3905 onChanged(); 3906 } 3907 this.mergeUnknownFields(other.unknownFields); 3908 onChanged(); 3909 return this; 3910 } 3911 3912 public final boolean isInitialized() { 3913 return true; 3914 } 3915 3916 public Builder mergeFrom( 3917 com.google.protobuf.CodedInputStream input, 3918 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3919 throws java.io.IOException { 3920 org.sonarqube.ws.WsCe.TaskTypesWsResponse parsedMessage = null; 3921 try { 3922 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 3923 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 3924 parsedMessage = (org.sonarqube.ws.WsCe.TaskTypesWsResponse) e.getUnfinishedMessage(); 3925 throw e; 3926 } finally { 3927 if (parsedMessage != null) { 3928 mergeFrom(parsedMessage); 3929 } 3930 } 3931 return this; 3932 } 3933 private int bitField0_; 3934 3935 private com.google.protobuf.LazyStringList taskTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; 3936 private void ensureTaskTypesIsMutable() { 3937 if (!((bitField0_ & 0x00000001) == 0x00000001)) { 3938 taskTypes_ = new com.google.protobuf.LazyStringArrayList(taskTypes_); 3939 bitField0_ |= 0x00000001; 3940 } 3941 } 3942 /** 3943 * <code>repeated string taskTypes = 1;</code> 3944 */ 3945 public com.google.protobuf.ProtocolStringList 3946 getTaskTypesList() { 3947 return taskTypes_.getUnmodifiableView(); 3948 } 3949 /** 3950 * <code>repeated string taskTypes = 1;</code> 3951 */ 3952 public int getTaskTypesCount() { 3953 return taskTypes_.size(); 3954 } 3955 /** 3956 * <code>repeated string taskTypes = 1;</code> 3957 */ 3958 public java.lang.String getTaskTypes(int index) { 3959 return taskTypes_.get(index); 3960 } 3961 /** 3962 * <code>repeated string taskTypes = 1;</code> 3963 */ 3964 public com.google.protobuf.ByteString 3965 getTaskTypesBytes(int index) { 3966 return taskTypes_.getByteString(index); 3967 } 3968 /** 3969 * <code>repeated string taskTypes = 1;</code> 3970 */ 3971 public Builder setTaskTypes( 3972 int index, java.lang.String value) { 3973 if (value == null) { 3974 throw new NullPointerException(); 3975 } 3976 ensureTaskTypesIsMutable(); 3977 taskTypes_.set(index, value); 3978 onChanged(); 3979 return this; 3980 } 3981 /** 3982 * <code>repeated string taskTypes = 1;</code> 3983 */ 3984 public Builder addTaskTypes( 3985 java.lang.String value) { 3986 if (value == null) { 3987 throw new NullPointerException(); 3988 } 3989 ensureTaskTypesIsMutable(); 3990 taskTypes_.add(value); 3991 onChanged(); 3992 return this; 3993 } 3994 /** 3995 * <code>repeated string taskTypes = 1;</code> 3996 */ 3997 public Builder addAllTaskTypes( 3998 java.lang.Iterable<java.lang.String> values) { 3999 ensureTaskTypesIsMutable(); 4000 com.google.protobuf.AbstractMessageLite.Builder.addAll( 4001 values, taskTypes_); 4002 onChanged(); 4003 return this; 4004 } 4005 /** 4006 * <code>repeated string taskTypes = 1;</code> 4007 */ 4008 public Builder clearTaskTypes() { 4009 taskTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; 4010 bitField0_ = (bitField0_ & ~0x00000001); 4011 onChanged(); 4012 return this; 4013 } 4014 /** 4015 * <code>repeated string taskTypes = 1;</code> 4016 */ 4017 public Builder addTaskTypesBytes( 4018 com.google.protobuf.ByteString value) { 4019 if (value == null) { 4020 throw new NullPointerException(); 4021 } 4022 ensureTaskTypesIsMutable(); 4023 taskTypes_.add(value); 4024 onChanged(); 4025 return this; 4026 } 4027 4028 // @@protoc_insertion_point(builder_scope:sonarqube.ws.ce.TaskTypesWsResponse) 4029 } 4030 4031 // @@protoc_insertion_point(class_scope:sonarqube.ws.ce.TaskTypesWsResponse) 4032 private static final org.sonarqube.ws.WsCe.TaskTypesWsResponse DEFAULT_INSTANCE; 4033 static { 4034 DEFAULT_INSTANCE = new org.sonarqube.ws.WsCe.TaskTypesWsResponse(); 4035 } 4036 4037 public static org.sonarqube.ws.WsCe.TaskTypesWsResponse getDefaultInstance() { 4038 return DEFAULT_INSTANCE; 4039 } 4040 4041 @java.lang.Deprecated public static final com.google.protobuf.Parser<TaskTypesWsResponse> 4042 PARSER = new com.google.protobuf.AbstractParser<TaskTypesWsResponse>() { 4043 public TaskTypesWsResponse parsePartialFrom( 4044 com.google.protobuf.CodedInputStream input, 4045 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 4046 throws com.google.protobuf.InvalidProtocolBufferException { 4047 try { 4048 return new TaskTypesWsResponse(input, extensionRegistry); 4049 } catch (RuntimeException e) { 4050 if (e.getCause() instanceof 4051 com.google.protobuf.InvalidProtocolBufferException) { 4052 throw (com.google.protobuf.InvalidProtocolBufferException) 4053 e.getCause(); 4054 } 4055 throw e; 4056 } 4057 } 4058 }; 4059 4060 public static com.google.protobuf.Parser<TaskTypesWsResponse> parser() { 4061 return PARSER; 4062 } 4063 4064 @java.lang.Override 4065 public com.google.protobuf.Parser<TaskTypesWsResponse> getParserForType() { 4066 return PARSER; 4067 } 4068 4069 public org.sonarqube.ws.WsCe.TaskTypesWsResponse getDefaultInstanceForType() { 4070 return DEFAULT_INSTANCE; 4071 } 4072 4073 } 4074 4075 public interface TaskOrBuilder extends 4076 // @@protoc_insertion_point(interface_extends:sonarqube.ws.ce.Task) 4077 com.google.protobuf.MessageOrBuilder { 4078 4079 /** 4080 * <code>optional string id = 1;</code> 4081 */ 4082 boolean hasId(); 4083 /** 4084 * <code>optional string id = 1;</code> 4085 */ 4086 java.lang.String getId(); 4087 /** 4088 * <code>optional string id = 1;</code> 4089 */ 4090 com.google.protobuf.ByteString 4091 getIdBytes(); 4092 4093 /** 4094 * <code>optional string type = 2;</code> 4095 */ 4096 boolean hasType(); 4097 /** 4098 * <code>optional string type = 2;</code> 4099 */ 4100 java.lang.String getType(); 4101 /** 4102 * <code>optional string type = 2;</code> 4103 */ 4104 com.google.protobuf.ByteString 4105 getTypeBytes(); 4106 4107 /** 4108 * <code>optional string componentId = 3;</code> 4109 */ 4110 boolean hasComponentId(); 4111 /** 4112 * <code>optional string componentId = 3;</code> 4113 */ 4114 java.lang.String getComponentId(); 4115 /** 4116 * <code>optional string componentId = 3;</code> 4117 */ 4118 com.google.protobuf.ByteString 4119 getComponentIdBytes(); 4120 4121 /** 4122 * <code>optional string componentKey = 4;</code> 4123 */ 4124 boolean hasComponentKey(); 4125 /** 4126 * <code>optional string componentKey = 4;</code> 4127 */ 4128 java.lang.String getComponentKey(); 4129 /** 4130 * <code>optional string componentKey = 4;</code> 4131 */ 4132 com.google.protobuf.ByteString 4133 getComponentKeyBytes(); 4134 4135 /** 4136 * <code>optional string componentName = 5;</code> 4137 */ 4138 boolean hasComponentName(); 4139 /** 4140 * <code>optional string componentName = 5;</code> 4141 */ 4142 java.lang.String getComponentName(); 4143 /** 4144 * <code>optional string componentName = 5;</code> 4145 */ 4146 com.google.protobuf.ByteString 4147 getComponentNameBytes(); 4148 4149 /** 4150 * <code>optional string componentQualifier = 6;</code> 4151 */ 4152 boolean hasComponentQualifier(); 4153 /** 4154 * <code>optional string componentQualifier = 6;</code> 4155 */ 4156 java.lang.String getComponentQualifier(); 4157 /** 4158 * <code>optional string componentQualifier = 6;</code> 4159 */ 4160 com.google.protobuf.ByteString 4161 getComponentQualifierBytes(); 4162 4163 /** 4164 * <code>optional string analysisId = 7;</code> 4165 */ 4166 boolean hasAnalysisId(); 4167 /** 4168 * <code>optional string analysisId = 7;</code> 4169 */ 4170 java.lang.String getAnalysisId(); 4171 /** 4172 * <code>optional string analysisId = 7;</code> 4173 */ 4174 com.google.protobuf.ByteString 4175 getAnalysisIdBytes(); 4176 4177 /** 4178 * <code>optional .sonarqube.ws.ce.TaskStatus status = 8;</code> 4179 */ 4180 boolean hasStatus(); 4181 /** 4182 * <code>optional .sonarqube.ws.ce.TaskStatus status = 8;</code> 4183 */ 4184 org.sonarqube.ws.WsCe.TaskStatus getStatus(); 4185 4186 /** 4187 * <code>optional string submittedAt = 9;</code> 4188 */ 4189 boolean hasSubmittedAt(); 4190 /** 4191 * <code>optional string submittedAt = 9;</code> 4192 */ 4193 java.lang.String getSubmittedAt(); 4194 /** 4195 * <code>optional string submittedAt = 9;</code> 4196 */ 4197 com.google.protobuf.ByteString 4198 getSubmittedAtBytes(); 4199 4200 /** 4201 * <code>optional string submitterLogin = 10;</code> 4202 */ 4203 boolean hasSubmitterLogin(); 4204 /** 4205 * <code>optional string submitterLogin = 10;</code> 4206 */ 4207 java.lang.String getSubmitterLogin(); 4208 /** 4209 * <code>optional string submitterLogin = 10;</code> 4210 */ 4211 com.google.protobuf.ByteString 4212 getSubmitterLoginBytes(); 4213 4214 /** 4215 * <code>optional string startedAt = 11;</code> 4216 */ 4217 boolean hasStartedAt(); 4218 /** 4219 * <code>optional string startedAt = 11;</code> 4220 */ 4221 java.lang.String getStartedAt(); 4222 /** 4223 * <code>optional string startedAt = 11;</code> 4224 */ 4225 com.google.protobuf.ByteString 4226 getStartedAtBytes(); 4227 4228 /** 4229 * <code>optional string executedAt = 12;</code> 4230 */ 4231 boolean hasExecutedAt(); 4232 /** 4233 * <code>optional string executedAt = 12;</code> 4234 */ 4235 java.lang.String getExecutedAt(); 4236 /** 4237 * <code>optional string executedAt = 12;</code> 4238 */ 4239 com.google.protobuf.ByteString 4240 getExecutedAtBytes(); 4241 4242 /** 4243 * <code>optional bool isLastExecuted = 13;</code> 4244 */ 4245 boolean hasIsLastExecuted(); 4246 /** 4247 * <code>optional bool isLastExecuted = 13;</code> 4248 */ 4249 boolean getIsLastExecuted(); 4250 4251 /** 4252 * <code>optional int64 executionTimeMs = 14;</code> 4253 */ 4254 boolean hasExecutionTimeMs(); 4255 /** 4256 * <code>optional int64 executionTimeMs = 14;</code> 4257 */ 4258 long getExecutionTimeMs(); 4259 4260 /** 4261 * <code>optional bool logs = 15;</code> 4262 */ 4263 boolean hasLogs(); 4264 /** 4265 * <code>optional bool logs = 15;</code> 4266 */ 4267 boolean getLogs(); 4268 4269 /** 4270 * <code>optional string errorMessage = 16;</code> 4271 */ 4272 boolean hasErrorMessage(); 4273 /** 4274 * <code>optional string errorMessage = 16;</code> 4275 */ 4276 java.lang.String getErrorMessage(); 4277 /** 4278 * <code>optional string errorMessage = 16;</code> 4279 */ 4280 com.google.protobuf.ByteString 4281 getErrorMessageBytes(); 4282 4283 /** 4284 * <code>optional string errorStacktrace = 17;</code> 4285 */ 4286 boolean hasErrorStacktrace(); 4287 /** 4288 * <code>optional string errorStacktrace = 17;</code> 4289 */ 4290 java.lang.String getErrorStacktrace(); 4291 /** 4292 * <code>optional string errorStacktrace = 17;</code> 4293 */ 4294 com.google.protobuf.ByteString 4295 getErrorStacktraceBytes(); 4296 4297 /** 4298 * <code>optional string scannerContext = 18;</code> 4299 */ 4300 boolean hasScannerContext(); 4301 /** 4302 * <code>optional string scannerContext = 18;</code> 4303 */ 4304 java.lang.String getScannerContext(); 4305 /** 4306 * <code>optional string scannerContext = 18;</code> 4307 */ 4308 com.google.protobuf.ByteString 4309 getScannerContextBytes(); 4310 4311 /** 4312 * <code>optional bool hasScannerContext = 19;</code> 4313 */ 4314 boolean hasHasScannerContext(); 4315 /** 4316 * <code>optional bool hasScannerContext = 19;</code> 4317 */ 4318 boolean getHasScannerContext(); 4319 } 4320 /** 4321 * Protobuf type {@code sonarqube.ws.ce.Task} 4322 */ 4323 public static final class Task extends 4324 com.google.protobuf.GeneratedMessage implements 4325 // @@protoc_insertion_point(message_implements:sonarqube.ws.ce.Task) 4326 TaskOrBuilder { 4327 // Use Task.newBuilder() to construct. 4328 private Task(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 4329 super(builder); 4330 } 4331 private Task() { 4332 id_ = ""; 4333 type_ = ""; 4334 componentId_ = ""; 4335 componentKey_ = ""; 4336 componentName_ = ""; 4337 componentQualifier_ = ""; 4338 analysisId_ = ""; 4339 status_ = 0; 4340 submittedAt_ = ""; 4341 submitterLogin_ = ""; 4342 startedAt_ = ""; 4343 executedAt_ = ""; 4344 isLastExecuted_ = false; 4345 executionTimeMs_ = 0L; 4346 logs_ = false; 4347 errorMessage_ = ""; 4348 errorStacktrace_ = ""; 4349 scannerContext_ = ""; 4350 hasScannerContext_ = false; 4351 } 4352 4353 @java.lang.Override 4354 public final com.google.protobuf.UnknownFieldSet 4355 getUnknownFields() { 4356 return this.unknownFields; 4357 } 4358 private Task( 4359 com.google.protobuf.CodedInputStream input, 4360 com.google.protobuf.ExtensionRegistryLite extensionRegistry) { 4361 this(); 4362 int mutable_bitField0_ = 0; 4363 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 4364 com.google.protobuf.UnknownFieldSet.newBuilder(); 4365 try { 4366 boolean done = false; 4367 while (!done) { 4368 int tag = input.readTag(); 4369 switch (tag) { 4370 case 0: 4371 done = true; 4372 break; 4373 default: { 4374 if (!parseUnknownField(input, unknownFields, 4375 extensionRegistry, tag)) { 4376 done = true; 4377 } 4378 break; 4379 } 4380 case 10: { 4381 com.google.protobuf.ByteString bs = input.readBytes(); 4382 bitField0_ |= 0x00000001; 4383 id_ = bs; 4384 break; 4385 } 4386 case 18: { 4387 com.google.protobuf.ByteString bs = input.readBytes(); 4388 bitField0_ |= 0x00000002; 4389 type_ = bs; 4390 break; 4391 } 4392 case 26: { 4393 com.google.protobuf.ByteString bs = input.readBytes(); 4394 bitField0_ |= 0x00000004; 4395 componentId_ = bs; 4396 break; 4397 } 4398 case 34: { 4399 com.google.protobuf.ByteString bs = input.readBytes(); 4400 bitField0_ |= 0x00000008; 4401 componentKey_ = bs; 4402 break; 4403 } 4404 case 42: { 4405 com.google.protobuf.ByteString bs = input.readBytes(); 4406 bitField0_ |= 0x00000010; 4407 componentName_ = bs; 4408 break; 4409 } 4410 case 50: { 4411 com.google.protobuf.ByteString bs = input.readBytes(); 4412 bitField0_ |= 0x00000020; 4413 componentQualifier_ = bs; 4414 break; 4415 } 4416 case 58: { 4417 com.google.protobuf.ByteString bs = input.readBytes(); 4418 bitField0_ |= 0x00000040; 4419 analysisId_ = bs; 4420 break; 4421 } 4422 case 64: { 4423 int rawValue = input.readEnum(); 4424 org.sonarqube.ws.WsCe.TaskStatus value = org.sonarqube.ws.WsCe.TaskStatus.valueOf(rawValue); 4425 if (value == null) { 4426 unknownFields.mergeVarintField(8, rawValue); 4427 } else { 4428 bitField0_ |= 0x00000080; 4429 status_ = rawValue; 4430 } 4431 break; 4432 } 4433 case 74: { 4434 com.google.protobuf.ByteString bs = input.readBytes(); 4435 bitField0_ |= 0x00000100; 4436 submittedAt_ = bs; 4437 break; 4438 } 4439 case 82: { 4440 com.google.protobuf.ByteString bs = input.readBytes(); 4441 bitField0_ |= 0x00000200; 4442 submitterLogin_ = bs; 4443 break; 4444 } 4445 case 90: { 4446 com.google.protobuf.ByteString bs = input.readBytes(); 4447 bitField0_ |= 0x00000400; 4448 startedAt_ = bs; 4449 break; 4450 } 4451 case 98: { 4452 com.google.protobuf.ByteString bs = input.readBytes(); 4453 bitField0_ |= 0x00000800; 4454 executedAt_ = bs; 4455 break; 4456 } 4457 case 104: { 4458 bitField0_ |= 0x00001000; 4459 isLastExecuted_ = input.readBool(); 4460 break; 4461 } 4462 case 112: { 4463 bitField0_ |= 0x00002000; 4464 executionTimeMs_ = input.readInt64(); 4465 break; 4466 } 4467 case 120: { 4468 bitField0_ |= 0x00004000; 4469 logs_ = input.readBool(); 4470 break; 4471 } 4472 case 130: { 4473 com.google.protobuf.ByteString bs = input.readBytes(); 4474 bitField0_ |= 0x00008000; 4475 errorMessage_ = bs; 4476 break; 4477 } 4478 case 138: { 4479 com.google.protobuf.ByteString bs = input.readBytes(); 4480 bitField0_ |= 0x00010000; 4481 errorStacktrace_ = bs; 4482 break; 4483 } 4484 case 146: { 4485 com.google.protobuf.ByteString bs = input.readBytes(); 4486 bitField0_ |= 0x00020000; 4487 scannerContext_ = bs; 4488 break; 4489 } 4490 case 152: { 4491 bitField0_ |= 0x00040000; 4492 hasScannerContext_ = input.readBool(); 4493 break; 4494 } 4495 } 4496 } 4497 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 4498 throw new RuntimeException(e.setUnfinishedMessage(this)); 4499 } catch (java.io.IOException e) { 4500 throw new RuntimeException( 4501 new com.google.protobuf.InvalidProtocolBufferException( 4502 e.getMessage()).setUnfinishedMessage(this)); 4503 } finally { 4504 this.unknownFields = unknownFields.build(); 4505 makeExtensionsImmutable(); 4506 } 4507 } 4508 public static final com.google.protobuf.Descriptors.Descriptor 4509 getDescriptor() { 4510 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_Task_descriptor; 4511 } 4512 4513 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 4514 internalGetFieldAccessorTable() { 4515 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_Task_fieldAccessorTable 4516 .ensureFieldAccessorsInitialized( 4517 org.sonarqube.ws.WsCe.Task.class, org.sonarqube.ws.WsCe.Task.Builder.class); 4518 } 4519 4520 private int bitField0_; 4521 public static final int ID_FIELD_NUMBER = 1; 4522 private volatile java.lang.Object id_; 4523 /** 4524 * <code>optional string id = 1;</code> 4525 */ 4526 public boolean hasId() { 4527 return ((bitField0_ & 0x00000001) == 0x00000001); 4528 } 4529 /** 4530 * <code>optional string id = 1;</code> 4531 */ 4532 public java.lang.String getId() { 4533 java.lang.Object ref = id_; 4534 if (ref instanceof java.lang.String) { 4535 return (java.lang.String) ref; 4536 } else { 4537 com.google.protobuf.ByteString bs = 4538 (com.google.protobuf.ByteString) ref; 4539 java.lang.String s = bs.toStringUtf8(); 4540 if (bs.isValidUtf8()) { 4541 id_ = s; 4542 } 4543 return s; 4544 } 4545 } 4546 /** 4547 * <code>optional string id = 1;</code> 4548 */ 4549 public com.google.protobuf.ByteString 4550 getIdBytes() { 4551 java.lang.Object ref = id_; 4552 if (ref instanceof java.lang.String) { 4553 com.google.protobuf.ByteString b = 4554 com.google.protobuf.ByteString.copyFromUtf8( 4555 (java.lang.String) ref); 4556 id_ = b; 4557 return b; 4558 } else { 4559 return (com.google.protobuf.ByteString) ref; 4560 } 4561 } 4562 4563 public static final int TYPE_FIELD_NUMBER = 2; 4564 private volatile java.lang.Object type_; 4565 /** 4566 * <code>optional string type = 2;</code> 4567 */ 4568 public boolean hasType() { 4569 return ((bitField0_ & 0x00000002) == 0x00000002); 4570 } 4571 /** 4572 * <code>optional string type = 2;</code> 4573 */ 4574 public java.lang.String getType() { 4575 java.lang.Object ref = type_; 4576 if (ref instanceof java.lang.String) { 4577 return (java.lang.String) ref; 4578 } else { 4579 com.google.protobuf.ByteString bs = 4580 (com.google.protobuf.ByteString) ref; 4581 java.lang.String s = bs.toStringUtf8(); 4582 if (bs.isValidUtf8()) { 4583 type_ = s; 4584 } 4585 return s; 4586 } 4587 } 4588 /** 4589 * <code>optional string type = 2;</code> 4590 */ 4591 public com.google.protobuf.ByteString 4592 getTypeBytes() { 4593 java.lang.Object ref = type_; 4594 if (ref instanceof java.lang.String) { 4595 com.google.protobuf.ByteString b = 4596 com.google.protobuf.ByteString.copyFromUtf8( 4597 (java.lang.String) ref); 4598 type_ = b; 4599 return b; 4600 } else { 4601 return (com.google.protobuf.ByteString) ref; 4602 } 4603 } 4604 4605 public static final int COMPONENTID_FIELD_NUMBER = 3; 4606 private volatile java.lang.Object componentId_; 4607 /** 4608 * <code>optional string componentId = 3;</code> 4609 */ 4610 public boolean hasComponentId() { 4611 return ((bitField0_ & 0x00000004) == 0x00000004); 4612 } 4613 /** 4614 * <code>optional string componentId = 3;</code> 4615 */ 4616 public java.lang.String getComponentId() { 4617 java.lang.Object ref = componentId_; 4618 if (ref instanceof java.lang.String) { 4619 return (java.lang.String) ref; 4620 } else { 4621 com.google.protobuf.ByteString bs = 4622 (com.google.protobuf.ByteString) ref; 4623 java.lang.String s = bs.toStringUtf8(); 4624 if (bs.isValidUtf8()) { 4625 componentId_ = s; 4626 } 4627 return s; 4628 } 4629 } 4630 /** 4631 * <code>optional string componentId = 3;</code> 4632 */ 4633 public com.google.protobuf.ByteString 4634 getComponentIdBytes() { 4635 java.lang.Object ref = componentId_; 4636 if (ref instanceof java.lang.String) { 4637 com.google.protobuf.ByteString b = 4638 com.google.protobuf.ByteString.copyFromUtf8( 4639 (java.lang.String) ref); 4640 componentId_ = b; 4641 return b; 4642 } else { 4643 return (com.google.protobuf.ByteString) ref; 4644 } 4645 } 4646 4647 public static final int COMPONENTKEY_FIELD_NUMBER = 4; 4648 private volatile java.lang.Object componentKey_; 4649 /** 4650 * <code>optional string componentKey = 4;</code> 4651 */ 4652 public boolean hasComponentKey() { 4653 return ((bitField0_ & 0x00000008) == 0x00000008); 4654 } 4655 /** 4656 * <code>optional string componentKey = 4;</code> 4657 */ 4658 public java.lang.String getComponentKey() { 4659 java.lang.Object ref = componentKey_; 4660 if (ref instanceof java.lang.String) { 4661 return (java.lang.String) ref; 4662 } else { 4663 com.google.protobuf.ByteString bs = 4664 (com.google.protobuf.ByteString) ref; 4665 java.lang.String s = bs.toStringUtf8(); 4666 if (bs.isValidUtf8()) { 4667 componentKey_ = s; 4668 } 4669 return s; 4670 } 4671 } 4672 /** 4673 * <code>optional string componentKey = 4;</code> 4674 */ 4675 public com.google.protobuf.ByteString 4676 getComponentKeyBytes() { 4677 java.lang.Object ref = componentKey_; 4678 if (ref instanceof java.lang.String) { 4679 com.google.protobuf.ByteString b = 4680 com.google.protobuf.ByteString.copyFromUtf8( 4681 (java.lang.String) ref); 4682 componentKey_ = b; 4683 return b; 4684 } else { 4685 return (com.google.protobuf.ByteString) ref; 4686 } 4687 } 4688 4689 public static final int COMPONENTNAME_FIELD_NUMBER = 5; 4690 private volatile java.lang.Object componentName_; 4691 /** 4692 * <code>optional string componentName = 5;</code> 4693 */ 4694 public boolean hasComponentName() { 4695 return ((bitField0_ & 0x00000010) == 0x00000010); 4696 } 4697 /** 4698 * <code>optional string componentName = 5;</code> 4699 */ 4700 public java.lang.String getComponentName() { 4701 java.lang.Object ref = componentName_; 4702 if (ref instanceof java.lang.String) { 4703 return (java.lang.String) ref; 4704 } else { 4705 com.google.protobuf.ByteString bs = 4706 (com.google.protobuf.ByteString) ref; 4707 java.lang.String s = bs.toStringUtf8(); 4708 if (bs.isValidUtf8()) { 4709 componentName_ = s; 4710 } 4711 return s; 4712 } 4713 } 4714 /** 4715 * <code>optional string componentName = 5;</code> 4716 */ 4717 public com.google.protobuf.ByteString 4718 getComponentNameBytes() { 4719 java.lang.Object ref = componentName_; 4720 if (ref instanceof java.lang.String) { 4721 com.google.protobuf.ByteString b = 4722 com.google.protobuf.ByteString.copyFromUtf8( 4723 (java.lang.String) ref); 4724 componentName_ = b; 4725 return b; 4726 } else { 4727 return (com.google.protobuf.ByteString) ref; 4728 } 4729 } 4730 4731 public static final int COMPONENTQUALIFIER_FIELD_NUMBER = 6; 4732 private volatile java.lang.Object componentQualifier_; 4733 /** 4734 * <code>optional string componentQualifier = 6;</code> 4735 */ 4736 public boolean hasComponentQualifier() { 4737 return ((bitField0_ & 0x00000020) == 0x00000020); 4738 } 4739 /** 4740 * <code>optional string componentQualifier = 6;</code> 4741 */ 4742 public java.lang.String getComponentQualifier() { 4743 java.lang.Object ref = componentQualifier_; 4744 if (ref instanceof java.lang.String) { 4745 return (java.lang.String) ref; 4746 } else { 4747 com.google.protobuf.ByteString bs = 4748 (com.google.protobuf.ByteString) ref; 4749 java.lang.String s = bs.toStringUtf8(); 4750 if (bs.isValidUtf8()) { 4751 componentQualifier_ = s; 4752 } 4753 return s; 4754 } 4755 } 4756 /** 4757 * <code>optional string componentQualifier = 6;</code> 4758 */ 4759 public com.google.protobuf.ByteString 4760 getComponentQualifierBytes() { 4761 java.lang.Object ref = componentQualifier_; 4762 if (ref instanceof java.lang.String) { 4763 com.google.protobuf.ByteString b = 4764 com.google.protobuf.ByteString.copyFromUtf8( 4765 (java.lang.String) ref); 4766 componentQualifier_ = b; 4767 return b; 4768 } else { 4769 return (com.google.protobuf.ByteString) ref; 4770 } 4771 } 4772 4773 public static final int ANALYSISID_FIELD_NUMBER = 7; 4774 private volatile java.lang.Object analysisId_; 4775 /** 4776 * <code>optional string analysisId = 7;</code> 4777 */ 4778 public boolean hasAnalysisId() { 4779 return ((bitField0_ & 0x00000040) == 0x00000040); 4780 } 4781 /** 4782 * <code>optional string analysisId = 7;</code> 4783 */ 4784 public java.lang.String getAnalysisId() { 4785 java.lang.Object ref = analysisId_; 4786 if (ref instanceof java.lang.String) { 4787 return (java.lang.String) ref; 4788 } else { 4789 com.google.protobuf.ByteString bs = 4790 (com.google.protobuf.ByteString) ref; 4791 java.lang.String s = bs.toStringUtf8(); 4792 if (bs.isValidUtf8()) { 4793 analysisId_ = s; 4794 } 4795 return s; 4796 } 4797 } 4798 /** 4799 * <code>optional string analysisId = 7;</code> 4800 */ 4801 public com.google.protobuf.ByteString 4802 getAnalysisIdBytes() { 4803 java.lang.Object ref = analysisId_; 4804 if (ref instanceof java.lang.String) { 4805 com.google.protobuf.ByteString b = 4806 com.google.protobuf.ByteString.copyFromUtf8( 4807 (java.lang.String) ref); 4808 analysisId_ = b; 4809 return b; 4810 } else { 4811 return (com.google.protobuf.ByteString) ref; 4812 } 4813 } 4814 4815 public static final int STATUS_FIELD_NUMBER = 8; 4816 private int status_; 4817 /** 4818 * <code>optional .sonarqube.ws.ce.TaskStatus status = 8;</code> 4819 */ 4820 public boolean hasStatus() { 4821 return ((bitField0_ & 0x00000080) == 0x00000080); 4822 } 4823 /** 4824 * <code>optional .sonarqube.ws.ce.TaskStatus status = 8;</code> 4825 */ 4826 public org.sonarqube.ws.WsCe.TaskStatus getStatus() { 4827 org.sonarqube.ws.WsCe.TaskStatus result = org.sonarqube.ws.WsCe.TaskStatus.valueOf(status_); 4828 return result == null ? org.sonarqube.ws.WsCe.TaskStatus.PENDING : result; 4829 } 4830 4831 public static final int SUBMITTEDAT_FIELD_NUMBER = 9; 4832 private volatile java.lang.Object submittedAt_; 4833 /** 4834 * <code>optional string submittedAt = 9;</code> 4835 */ 4836 public boolean hasSubmittedAt() { 4837 return ((bitField0_ & 0x00000100) == 0x00000100); 4838 } 4839 /** 4840 * <code>optional string submittedAt = 9;</code> 4841 */ 4842 public java.lang.String getSubmittedAt() { 4843 java.lang.Object ref = submittedAt_; 4844 if (ref instanceof java.lang.String) { 4845 return (java.lang.String) ref; 4846 } else { 4847 com.google.protobuf.ByteString bs = 4848 (com.google.protobuf.ByteString) ref; 4849 java.lang.String s = bs.toStringUtf8(); 4850 if (bs.isValidUtf8()) { 4851 submittedAt_ = s; 4852 } 4853 return s; 4854 } 4855 } 4856 /** 4857 * <code>optional string submittedAt = 9;</code> 4858 */ 4859 public com.google.protobuf.ByteString 4860 getSubmittedAtBytes() { 4861 java.lang.Object ref = submittedAt_; 4862 if (ref instanceof java.lang.String) { 4863 com.google.protobuf.ByteString b = 4864 com.google.protobuf.ByteString.copyFromUtf8( 4865 (java.lang.String) ref); 4866 submittedAt_ = b; 4867 return b; 4868 } else { 4869 return (com.google.protobuf.ByteString) ref; 4870 } 4871 } 4872 4873 public static final int SUBMITTERLOGIN_FIELD_NUMBER = 10; 4874 private volatile java.lang.Object submitterLogin_; 4875 /** 4876 * <code>optional string submitterLogin = 10;</code> 4877 */ 4878 public boolean hasSubmitterLogin() { 4879 return ((bitField0_ & 0x00000200) == 0x00000200); 4880 } 4881 /** 4882 * <code>optional string submitterLogin = 10;</code> 4883 */ 4884 public java.lang.String getSubmitterLogin() { 4885 java.lang.Object ref = submitterLogin_; 4886 if (ref instanceof java.lang.String) { 4887 return (java.lang.String) ref; 4888 } else { 4889 com.google.protobuf.ByteString bs = 4890 (com.google.protobuf.ByteString) ref; 4891 java.lang.String s = bs.toStringUtf8(); 4892 if (bs.isValidUtf8()) { 4893 submitterLogin_ = s; 4894 } 4895 return s; 4896 } 4897 } 4898 /** 4899 * <code>optional string submitterLogin = 10;</code> 4900 */ 4901 public com.google.protobuf.ByteString 4902 getSubmitterLoginBytes() { 4903 java.lang.Object ref = submitterLogin_; 4904 if (ref instanceof java.lang.String) { 4905 com.google.protobuf.ByteString b = 4906 com.google.protobuf.ByteString.copyFromUtf8( 4907 (java.lang.String) ref); 4908 submitterLogin_ = b; 4909 return b; 4910 } else { 4911 return (com.google.protobuf.ByteString) ref; 4912 } 4913 } 4914 4915 public static final int STARTEDAT_FIELD_NUMBER = 11; 4916 private volatile java.lang.Object startedAt_; 4917 /** 4918 * <code>optional string startedAt = 11;</code> 4919 */ 4920 public boolean hasStartedAt() { 4921 return ((bitField0_ & 0x00000400) == 0x00000400); 4922 } 4923 /** 4924 * <code>optional string startedAt = 11;</code> 4925 */ 4926 public java.lang.String getStartedAt() { 4927 java.lang.Object ref = startedAt_; 4928 if (ref instanceof java.lang.String) { 4929 return (java.lang.String) ref; 4930 } else { 4931 com.google.protobuf.ByteString bs = 4932 (com.google.protobuf.ByteString) ref; 4933 java.lang.String s = bs.toStringUtf8(); 4934 if (bs.isValidUtf8()) { 4935 startedAt_ = s; 4936 } 4937 return s; 4938 } 4939 } 4940 /** 4941 * <code>optional string startedAt = 11;</code> 4942 */ 4943 public com.google.protobuf.ByteString 4944 getStartedAtBytes() { 4945 java.lang.Object ref = startedAt_; 4946 if (ref instanceof java.lang.String) { 4947 com.google.protobuf.ByteString b = 4948 com.google.protobuf.ByteString.copyFromUtf8( 4949 (java.lang.String) ref); 4950 startedAt_ = b; 4951 return b; 4952 } else { 4953 return (com.google.protobuf.ByteString) ref; 4954 } 4955 } 4956 4957 public static final int EXECUTEDAT_FIELD_NUMBER = 12; 4958 private volatile java.lang.Object executedAt_; 4959 /** 4960 * <code>optional string executedAt = 12;</code> 4961 */ 4962 public boolean hasExecutedAt() { 4963 return ((bitField0_ & 0x00000800) == 0x00000800); 4964 } 4965 /** 4966 * <code>optional string executedAt = 12;</code> 4967 */ 4968 public java.lang.String getExecutedAt() { 4969 java.lang.Object ref = executedAt_; 4970 if (ref instanceof java.lang.String) { 4971 return (java.lang.String) ref; 4972 } else { 4973 com.google.protobuf.ByteString bs = 4974 (com.google.protobuf.ByteString) ref; 4975 java.lang.String s = bs.toStringUtf8(); 4976 if (bs.isValidUtf8()) { 4977 executedAt_ = s; 4978 } 4979 return s; 4980 } 4981 } 4982 /** 4983 * <code>optional string executedAt = 12;</code> 4984 */ 4985 public com.google.protobuf.ByteString 4986 getExecutedAtBytes() { 4987 java.lang.Object ref = executedAt_; 4988 if (ref instanceof java.lang.String) { 4989 com.google.protobuf.ByteString b = 4990 com.google.protobuf.ByteString.copyFromUtf8( 4991 (java.lang.String) ref); 4992 executedAt_ = b; 4993 return b; 4994 } else { 4995 return (com.google.protobuf.ByteString) ref; 4996 } 4997 } 4998 4999 public static final int ISLASTEXECUTED_FIELD_NUMBER = 13; 5000 private boolean isLastExecuted_; 5001 /** 5002 * <code>optional bool isLastExecuted = 13;</code> 5003 */ 5004 public boolean hasIsLastExecuted() { 5005 return ((bitField0_ & 0x00001000) == 0x00001000); 5006 } 5007 /** 5008 * <code>optional bool isLastExecuted = 13;</code> 5009 */ 5010 public boolean getIsLastExecuted() { 5011 return isLastExecuted_; 5012 } 5013 5014 public static final int EXECUTIONTIMEMS_FIELD_NUMBER = 14; 5015 private long executionTimeMs_; 5016 /** 5017 * <code>optional int64 executionTimeMs = 14;</code> 5018 */ 5019 public boolean hasExecutionTimeMs() { 5020 return ((bitField0_ & 0x00002000) == 0x00002000); 5021 } 5022 /** 5023 * <code>optional int64 executionTimeMs = 14;</code> 5024 */ 5025 public long getExecutionTimeMs() { 5026 return executionTimeMs_; 5027 } 5028 5029 public static final int LOGS_FIELD_NUMBER = 15; 5030 private boolean logs_; 5031 /** 5032 * <code>optional bool logs = 15;</code> 5033 */ 5034 public boolean hasLogs() { 5035 return ((bitField0_ & 0x00004000) == 0x00004000); 5036 } 5037 /** 5038 * <code>optional bool logs = 15;</code> 5039 */ 5040 public boolean getLogs() { 5041 return logs_; 5042 } 5043 5044 public static final int ERRORMESSAGE_FIELD_NUMBER = 16; 5045 private volatile java.lang.Object errorMessage_; 5046 /** 5047 * <code>optional string errorMessage = 16;</code> 5048 */ 5049 public boolean hasErrorMessage() { 5050 return ((bitField0_ & 0x00008000) == 0x00008000); 5051 } 5052 /** 5053 * <code>optional string errorMessage = 16;</code> 5054 */ 5055 public java.lang.String getErrorMessage() { 5056 java.lang.Object ref = errorMessage_; 5057 if (ref instanceof java.lang.String) { 5058 return (java.lang.String) ref; 5059 } else { 5060 com.google.protobuf.ByteString bs = 5061 (com.google.protobuf.ByteString) ref; 5062 java.lang.String s = bs.toStringUtf8(); 5063 if (bs.isValidUtf8()) { 5064 errorMessage_ = s; 5065 } 5066 return s; 5067 } 5068 } 5069 /** 5070 * <code>optional string errorMessage = 16;</code> 5071 */ 5072 public com.google.protobuf.ByteString 5073 getErrorMessageBytes() { 5074 java.lang.Object ref = errorMessage_; 5075 if (ref instanceof java.lang.String) { 5076 com.google.protobuf.ByteString b = 5077 com.google.protobuf.ByteString.copyFromUtf8( 5078 (java.lang.String) ref); 5079 errorMessage_ = b; 5080 return b; 5081 } else { 5082 return (com.google.protobuf.ByteString) ref; 5083 } 5084 } 5085 5086 public static final int ERRORSTACKTRACE_FIELD_NUMBER = 17; 5087 private volatile java.lang.Object errorStacktrace_; 5088 /** 5089 * <code>optional string errorStacktrace = 17;</code> 5090 */ 5091 public boolean hasErrorStacktrace() { 5092 return ((bitField0_ & 0x00010000) == 0x00010000); 5093 } 5094 /** 5095 * <code>optional string errorStacktrace = 17;</code> 5096 */ 5097 public java.lang.String getErrorStacktrace() { 5098 java.lang.Object ref = errorStacktrace_; 5099 if (ref instanceof java.lang.String) { 5100 return (java.lang.String) ref; 5101 } else { 5102 com.google.protobuf.ByteString bs = 5103 (com.google.protobuf.ByteString) ref; 5104 java.lang.String s = bs.toStringUtf8(); 5105 if (bs.isValidUtf8()) { 5106 errorStacktrace_ = s; 5107 } 5108 return s; 5109 } 5110 } 5111 /** 5112 * <code>optional string errorStacktrace = 17;</code> 5113 */ 5114 public com.google.protobuf.ByteString 5115 getErrorStacktraceBytes() { 5116 java.lang.Object ref = errorStacktrace_; 5117 if (ref instanceof java.lang.String) { 5118 com.google.protobuf.ByteString b = 5119 com.google.protobuf.ByteString.copyFromUtf8( 5120 (java.lang.String) ref); 5121 errorStacktrace_ = b; 5122 return b; 5123 } else { 5124 return (com.google.protobuf.ByteString) ref; 5125 } 5126 } 5127 5128 public static final int SCANNERCONTEXT_FIELD_NUMBER = 18; 5129 private volatile java.lang.Object scannerContext_; 5130 /** 5131 * <code>optional string scannerContext = 18;</code> 5132 */ 5133 public boolean hasScannerContext() { 5134 return ((bitField0_ & 0x00020000) == 0x00020000); 5135 } 5136 /** 5137 * <code>optional string scannerContext = 18;</code> 5138 */ 5139 public java.lang.String getScannerContext() { 5140 java.lang.Object ref = scannerContext_; 5141 if (ref instanceof java.lang.String) { 5142 return (java.lang.String) ref; 5143 } else { 5144 com.google.protobuf.ByteString bs = 5145 (com.google.protobuf.ByteString) ref; 5146 java.lang.String s = bs.toStringUtf8(); 5147 if (bs.isValidUtf8()) { 5148 scannerContext_ = s; 5149 } 5150 return s; 5151 } 5152 } 5153 /** 5154 * <code>optional string scannerContext = 18;</code> 5155 */ 5156 public com.google.protobuf.ByteString 5157 getScannerContextBytes() { 5158 java.lang.Object ref = scannerContext_; 5159 if (ref instanceof java.lang.String) { 5160 com.google.protobuf.ByteString b = 5161 com.google.protobuf.ByteString.copyFromUtf8( 5162 (java.lang.String) ref); 5163 scannerContext_ = b; 5164 return b; 5165 } else { 5166 return (com.google.protobuf.ByteString) ref; 5167 } 5168 } 5169 5170 public static final int HASSCANNERCONTEXT_FIELD_NUMBER = 19; 5171 private boolean hasScannerContext_; 5172 /** 5173 * <code>optional bool hasScannerContext = 19;</code> 5174 */ 5175 public boolean hasHasScannerContext() { 5176 return ((bitField0_ & 0x00040000) == 0x00040000); 5177 } 5178 /** 5179 * <code>optional bool hasScannerContext = 19;</code> 5180 */ 5181 public boolean getHasScannerContext() { 5182 return hasScannerContext_; 5183 } 5184 5185 private byte memoizedIsInitialized = -1; 5186 public final boolean isInitialized() { 5187 byte isInitialized = memoizedIsInitialized; 5188 if (isInitialized == 1) return true; 5189 if (isInitialized == 0) return false; 5190 5191 memoizedIsInitialized = 1; 5192 return true; 5193 } 5194 5195 public void writeTo(com.google.protobuf.CodedOutputStream output) 5196 throws java.io.IOException { 5197 if (((bitField0_ & 0x00000001) == 0x00000001)) { 5198 com.google.protobuf.GeneratedMessage.writeString(output, 1, id_); 5199 } 5200 if (((bitField0_ & 0x00000002) == 0x00000002)) { 5201 com.google.protobuf.GeneratedMessage.writeString(output, 2, type_); 5202 } 5203 if (((bitField0_ & 0x00000004) == 0x00000004)) { 5204 com.google.protobuf.GeneratedMessage.writeString(output, 3, componentId_); 5205 } 5206 if (((bitField0_ & 0x00000008) == 0x00000008)) { 5207 com.google.protobuf.GeneratedMessage.writeString(output, 4, componentKey_); 5208 } 5209 if (((bitField0_ & 0x00000010) == 0x00000010)) { 5210 com.google.protobuf.GeneratedMessage.writeString(output, 5, componentName_); 5211 } 5212 if (((bitField0_ & 0x00000020) == 0x00000020)) { 5213 com.google.protobuf.GeneratedMessage.writeString(output, 6, componentQualifier_); 5214 } 5215 if (((bitField0_ & 0x00000040) == 0x00000040)) { 5216 com.google.protobuf.GeneratedMessage.writeString(output, 7, analysisId_); 5217 } 5218 if (((bitField0_ & 0x00000080) == 0x00000080)) { 5219 output.writeEnum(8, status_); 5220 } 5221 if (((bitField0_ & 0x00000100) == 0x00000100)) { 5222 com.google.protobuf.GeneratedMessage.writeString(output, 9, submittedAt_); 5223 } 5224 if (((bitField0_ & 0x00000200) == 0x00000200)) { 5225 com.google.protobuf.GeneratedMessage.writeString(output, 10, submitterLogin_); 5226 } 5227 if (((bitField0_ & 0x00000400) == 0x00000400)) { 5228 com.google.protobuf.GeneratedMessage.writeString(output, 11, startedAt_); 5229 } 5230 if (((bitField0_ & 0x00000800) == 0x00000800)) { 5231 com.google.protobuf.GeneratedMessage.writeString(output, 12, executedAt_); 5232 } 5233 if (((bitField0_ & 0x00001000) == 0x00001000)) { 5234 output.writeBool(13, isLastExecuted_); 5235 } 5236 if (((bitField0_ & 0x00002000) == 0x00002000)) { 5237 output.writeInt64(14, executionTimeMs_); 5238 } 5239 if (((bitField0_ & 0x00004000) == 0x00004000)) { 5240 output.writeBool(15, logs_); 5241 } 5242 if (((bitField0_ & 0x00008000) == 0x00008000)) { 5243 com.google.protobuf.GeneratedMessage.writeString(output, 16, errorMessage_); 5244 } 5245 if (((bitField0_ & 0x00010000) == 0x00010000)) { 5246 com.google.protobuf.GeneratedMessage.writeString(output, 17, errorStacktrace_); 5247 } 5248 if (((bitField0_ & 0x00020000) == 0x00020000)) { 5249 com.google.protobuf.GeneratedMessage.writeString(output, 18, scannerContext_); 5250 } 5251 if (((bitField0_ & 0x00040000) == 0x00040000)) { 5252 output.writeBool(19, hasScannerContext_); 5253 } 5254 unknownFields.writeTo(output); 5255 } 5256 5257 public int getSerializedSize() { 5258 int size = memoizedSize; 5259 if (size != -1) return size; 5260 5261 size = 0; 5262 if (((bitField0_ & 0x00000001) == 0x00000001)) { 5263 size += com.google.protobuf.GeneratedMessage.computeStringSize(1, id_); 5264 } 5265 if (((bitField0_ & 0x00000002) == 0x00000002)) { 5266 size += com.google.protobuf.GeneratedMessage.computeStringSize(2, type_); 5267 } 5268 if (((bitField0_ & 0x00000004) == 0x00000004)) { 5269 size += com.google.protobuf.GeneratedMessage.computeStringSize(3, componentId_); 5270 } 5271 if (((bitField0_ & 0x00000008) == 0x00000008)) { 5272 size += com.google.protobuf.GeneratedMessage.computeStringSize(4, componentKey_); 5273 } 5274 if (((bitField0_ & 0x00000010) == 0x00000010)) { 5275 size += com.google.protobuf.GeneratedMessage.computeStringSize(5, componentName_); 5276 } 5277 if (((bitField0_ & 0x00000020) == 0x00000020)) { 5278 size += com.google.protobuf.GeneratedMessage.computeStringSize(6, componentQualifier_); 5279 } 5280 if (((bitField0_ & 0x00000040) == 0x00000040)) { 5281 size += com.google.protobuf.GeneratedMessage.computeStringSize(7, analysisId_); 5282 } 5283 if (((bitField0_ & 0x00000080) == 0x00000080)) { 5284 size += com.google.protobuf.CodedOutputStream 5285 .computeEnumSize(8, status_); 5286 } 5287 if (((bitField0_ & 0x00000100) == 0x00000100)) { 5288 size += com.google.protobuf.GeneratedMessage.computeStringSize(9, submittedAt_); 5289 } 5290 if (((bitField0_ & 0x00000200) == 0x00000200)) { 5291 size += com.google.protobuf.GeneratedMessage.computeStringSize(10, submitterLogin_); 5292 } 5293 if (((bitField0_ & 0x00000400) == 0x00000400)) { 5294 size += com.google.protobuf.GeneratedMessage.computeStringSize(11, startedAt_); 5295 } 5296 if (((bitField0_ & 0x00000800) == 0x00000800)) { 5297 size += com.google.protobuf.GeneratedMessage.computeStringSize(12, executedAt_); 5298 } 5299 if (((bitField0_ & 0x00001000) == 0x00001000)) { 5300 size += com.google.protobuf.CodedOutputStream 5301 .computeBoolSize(13, isLastExecuted_); 5302 } 5303 if (((bitField0_ & 0x00002000) == 0x00002000)) { 5304 size += com.google.protobuf.CodedOutputStream 5305 .computeInt64Size(14, executionTimeMs_); 5306 } 5307 if (((bitField0_ & 0x00004000) == 0x00004000)) { 5308 size += com.google.protobuf.CodedOutputStream 5309 .computeBoolSize(15, logs_); 5310 } 5311 if (((bitField0_ & 0x00008000) == 0x00008000)) { 5312 size += com.google.protobuf.GeneratedMessage.computeStringSize(16, errorMessage_); 5313 } 5314 if (((bitField0_ & 0x00010000) == 0x00010000)) { 5315 size += com.google.protobuf.GeneratedMessage.computeStringSize(17, errorStacktrace_); 5316 } 5317 if (((bitField0_ & 0x00020000) == 0x00020000)) { 5318 size += com.google.protobuf.GeneratedMessage.computeStringSize(18, scannerContext_); 5319 } 5320 if (((bitField0_ & 0x00040000) == 0x00040000)) { 5321 size += com.google.protobuf.CodedOutputStream 5322 .computeBoolSize(19, hasScannerContext_); 5323 } 5324 size += unknownFields.getSerializedSize(); 5325 memoizedSize = size; 5326 return size; 5327 } 5328 5329 private static final long serialVersionUID = 0L; 5330 public static org.sonarqube.ws.WsCe.Task parseFrom( 5331 com.google.protobuf.ByteString data) 5332 throws com.google.protobuf.InvalidProtocolBufferException { 5333 return PARSER.parseFrom(data); 5334 } 5335 public static org.sonarqube.ws.WsCe.Task parseFrom( 5336 com.google.protobuf.ByteString data, 5337 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5338 throws com.google.protobuf.InvalidProtocolBufferException { 5339 return PARSER.parseFrom(data, extensionRegistry); 5340 } 5341 public static org.sonarqube.ws.WsCe.Task parseFrom(byte[] data) 5342 throws com.google.protobuf.InvalidProtocolBufferException { 5343 return PARSER.parseFrom(data); 5344 } 5345 public static org.sonarqube.ws.WsCe.Task parseFrom( 5346 byte[] data, 5347 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5348 throws com.google.protobuf.InvalidProtocolBufferException { 5349 return PARSER.parseFrom(data, extensionRegistry); 5350 } 5351 public static org.sonarqube.ws.WsCe.Task parseFrom(java.io.InputStream input) 5352 throws java.io.IOException { 5353 return PARSER.parseFrom(input); 5354 } 5355 public static org.sonarqube.ws.WsCe.Task parseFrom( 5356 java.io.InputStream input, 5357 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5358 throws java.io.IOException { 5359 return PARSER.parseFrom(input, extensionRegistry); 5360 } 5361 public static org.sonarqube.ws.WsCe.Task parseDelimitedFrom(java.io.InputStream input) 5362 throws java.io.IOException { 5363 return PARSER.parseDelimitedFrom(input); 5364 } 5365 public static org.sonarqube.ws.WsCe.Task parseDelimitedFrom( 5366 java.io.InputStream input, 5367 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5368 throws java.io.IOException { 5369 return PARSER.parseDelimitedFrom(input, extensionRegistry); 5370 } 5371 public static org.sonarqube.ws.WsCe.Task parseFrom( 5372 com.google.protobuf.CodedInputStream input) 5373 throws java.io.IOException { 5374 return PARSER.parseFrom(input); 5375 } 5376 public static org.sonarqube.ws.WsCe.Task parseFrom( 5377 com.google.protobuf.CodedInputStream input, 5378 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5379 throws java.io.IOException { 5380 return PARSER.parseFrom(input, extensionRegistry); 5381 } 5382 5383 public Builder newBuilderForType() { return newBuilder(); } 5384 public static Builder newBuilder() { 5385 return DEFAULT_INSTANCE.toBuilder(); 5386 } 5387 public static Builder newBuilder(org.sonarqube.ws.WsCe.Task prototype) { 5388 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 5389 } 5390 public Builder toBuilder() { 5391 return this == DEFAULT_INSTANCE 5392 ? new Builder() : new Builder().mergeFrom(this); 5393 } 5394 5395 @java.lang.Override 5396 protected Builder newBuilderForType( 5397 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 5398 Builder builder = new Builder(parent); 5399 return builder; 5400 } 5401 /** 5402 * Protobuf type {@code sonarqube.ws.ce.Task} 5403 */ 5404 public static final class Builder extends 5405 com.google.protobuf.GeneratedMessage.Builder<Builder> implements 5406 // @@protoc_insertion_point(builder_implements:sonarqube.ws.ce.Task) 5407 org.sonarqube.ws.WsCe.TaskOrBuilder { 5408 public static final com.google.protobuf.Descriptors.Descriptor 5409 getDescriptor() { 5410 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_Task_descriptor; 5411 } 5412 5413 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 5414 internalGetFieldAccessorTable() { 5415 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_Task_fieldAccessorTable 5416 .ensureFieldAccessorsInitialized( 5417 org.sonarqube.ws.WsCe.Task.class, org.sonarqube.ws.WsCe.Task.Builder.class); 5418 } 5419 5420 // Construct using org.sonarqube.ws.WsCe.Task.newBuilder() 5421 private Builder() { 5422 maybeForceBuilderInitialization(); 5423 } 5424 5425 private Builder( 5426 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 5427 super(parent); 5428 maybeForceBuilderInitialization(); 5429 } 5430 private void maybeForceBuilderInitialization() { 5431 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 5432 } 5433 } 5434 public Builder clear() { 5435 super.clear(); 5436 id_ = ""; 5437 bitField0_ = (bitField0_ & ~0x00000001); 5438 type_ = ""; 5439 bitField0_ = (bitField0_ & ~0x00000002); 5440 componentId_ = ""; 5441 bitField0_ = (bitField0_ & ~0x00000004); 5442 componentKey_ = ""; 5443 bitField0_ = (bitField0_ & ~0x00000008); 5444 componentName_ = ""; 5445 bitField0_ = (bitField0_ & ~0x00000010); 5446 componentQualifier_ = ""; 5447 bitField0_ = (bitField0_ & ~0x00000020); 5448 analysisId_ = ""; 5449 bitField0_ = (bitField0_ & ~0x00000040); 5450 status_ = 0; 5451 bitField0_ = (bitField0_ & ~0x00000080); 5452 submittedAt_ = ""; 5453 bitField0_ = (bitField0_ & ~0x00000100); 5454 submitterLogin_ = ""; 5455 bitField0_ = (bitField0_ & ~0x00000200); 5456 startedAt_ = ""; 5457 bitField0_ = (bitField0_ & ~0x00000400); 5458 executedAt_ = ""; 5459 bitField0_ = (bitField0_ & ~0x00000800); 5460 isLastExecuted_ = false; 5461 bitField0_ = (bitField0_ & ~0x00001000); 5462 executionTimeMs_ = 0L; 5463 bitField0_ = (bitField0_ & ~0x00002000); 5464 logs_ = false; 5465 bitField0_ = (bitField0_ & ~0x00004000); 5466 errorMessage_ = ""; 5467 bitField0_ = (bitField0_ & ~0x00008000); 5468 errorStacktrace_ = ""; 5469 bitField0_ = (bitField0_ & ~0x00010000); 5470 scannerContext_ = ""; 5471 bitField0_ = (bitField0_ & ~0x00020000); 5472 hasScannerContext_ = false; 5473 bitField0_ = (bitField0_ & ~0x00040000); 5474 return this; 5475 } 5476 5477 public com.google.protobuf.Descriptors.Descriptor 5478 getDescriptorForType() { 5479 return org.sonarqube.ws.WsCe.internal_static_sonarqube_ws_ce_Task_descriptor; 5480 } 5481 5482 public org.sonarqube.ws.WsCe.Task getDefaultInstanceForType() { 5483 return org.sonarqube.ws.WsCe.Task.getDefaultInstance(); 5484 } 5485 5486 public org.sonarqube.ws.WsCe.Task build() { 5487 org.sonarqube.ws.WsCe.Task result = buildPartial(); 5488 if (!result.isInitialized()) { 5489 throw newUninitializedMessageException(result); 5490 } 5491 return result; 5492 } 5493 5494 public org.sonarqube.ws.WsCe.Task buildPartial() { 5495 org.sonarqube.ws.WsCe.Task result = new org.sonarqube.ws.WsCe.Task(this); 5496 int from_bitField0_ = bitField0_; 5497 int to_bitField0_ = 0; 5498 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 5499 to_bitField0_ |= 0x00000001; 5500 } 5501 result.id_ = id_; 5502 if (((from_bitField0_ & 0x00000002) == 0x00000002)) { 5503 to_bitField0_ |= 0x00000002; 5504 } 5505 result.type_ = type_; 5506 if (((from_bitField0_ & 0x00000004) == 0x00000004)) { 5507 to_bitField0_ |= 0x00000004; 5508 } 5509 result.componentId_ = componentId_; 5510 if (((from_bitField0_ & 0x00000008) == 0x00000008)) { 5511 to_bitField0_ |= 0x00000008; 5512 } 5513 result.componentKey_ = componentKey_; 5514 if (((from_bitField0_ & 0x00000010) == 0x00000010)) { 5515 to_bitField0_ |= 0x00000010; 5516 } 5517 result.componentName_ = componentName_; 5518 if (((from_bitField0_ & 0x00000020) == 0x00000020)) { 5519 to_bitField0_ |= 0x00000020; 5520 } 5521 result.componentQualifier_ = componentQualifier_; 5522 if (((from_bitField0_ & 0x00000040) == 0x00000040)) { 5523 to_bitField0_ |= 0x00000040; 5524 } 5525 result.analysisId_ = analysisId_; 5526 if (((from_bitField0_ & 0x00000080) == 0x00000080)) { 5527 to_bitField0_ |= 0x00000080; 5528 } 5529 result.status_ = status_; 5530 if (((from_bitField0_ & 0x00000100) == 0x00000100)) { 5531 to_bitField0_ |= 0x00000100; 5532 } 5533 result.submittedAt_ = submittedAt_; 5534 if (((from_bitField0_ & 0x00000200) == 0x00000200)) { 5535 to_bitField0_ |= 0x00000200; 5536 } 5537 result.submitterLogin_ = submitterLogin_; 5538 if (((from_bitField0_ & 0x00000400) == 0x00000400)) { 5539 to_bitField0_ |= 0x00000400; 5540 } 5541 result.startedAt_ = startedAt_; 5542 if (((from_bitField0_ & 0x00000800) == 0x00000800)) { 5543 to_bitField0_ |= 0x00000800; 5544 } 5545 result.executedAt_ = executedAt_; 5546 if (((from_bitField0_ & 0x00001000) == 0x00001000)) { 5547 to_bitField0_ |= 0x00001000; 5548 } 5549 result.isLastExecuted_ = isLastExecuted_; 5550 if (((from_bitField0_ & 0x00002000) == 0x00002000)) { 5551 to_bitField0_ |= 0x00002000; 5552 } 5553 result.executionTimeMs_ = executionTimeMs_; 5554 if (((from_bitField0_ & 0x00004000) == 0x00004000)) { 5555 to_bitField0_ |= 0x00004000; 5556 } 5557 result.logs_ = logs_; 5558 if (((from_bitField0_ & 0x00008000) == 0x00008000)) { 5559 to_bitField0_ |= 0x00008000; 5560 } 5561 result.errorMessage_ = errorMessage_; 5562 if (((from_bitField0_ & 0x00010000) == 0x00010000)) { 5563 to_bitField0_ |= 0x00010000; 5564 } 5565 result.errorStacktrace_ = errorStacktrace_; 5566 if (((from_bitField0_ & 0x00020000) == 0x00020000)) { 5567 to_bitField0_ |= 0x00020000; 5568 } 5569 result.scannerContext_ = scannerContext_; 5570 if (((from_bitField0_ & 0x00040000) == 0x00040000)) { 5571 to_bitField0_ |= 0x00040000; 5572 } 5573 result.hasScannerContext_ = hasScannerContext_; 5574 result.bitField0_ = to_bitField0_; 5575 onBuilt(); 5576 return result; 5577 } 5578 5579 public Builder mergeFrom(com.google.protobuf.Message other) { 5580 if (other instanceof org.sonarqube.ws.WsCe.Task) { 5581 return mergeFrom((org.sonarqube.ws.WsCe.Task)other); 5582 } else { 5583 super.mergeFrom(other); 5584 return this; 5585 } 5586 } 5587 5588 public Builder mergeFrom(org.sonarqube.ws.WsCe.Task other) { 5589 if (other == org.sonarqube.ws.WsCe.Task.getDefaultInstance()) return this; 5590 if (other.hasId()) { 5591 bitField0_ |= 0x00000001; 5592 id_ = other.id_; 5593 onChanged(); 5594 } 5595 if (other.hasType()) { 5596 bitField0_ |= 0x00000002; 5597 type_ = other.type_; 5598 onChanged(); 5599 } 5600 if (other.hasComponentId()) { 5601 bitField0_ |= 0x00000004; 5602 componentId_ = other.componentId_; 5603 onChanged(); 5604 } 5605 if (other.hasComponentKey()) { 5606 bitField0_ |= 0x00000008; 5607 componentKey_ = other.componentKey_; 5608 onChanged(); 5609 } 5610 if (other.hasComponentName()) { 5611 bitField0_ |= 0x00000010; 5612 componentName_ = other.componentName_; 5613 onChanged(); 5614 } 5615 if (other.hasComponentQualifier()) { 5616 bitField0_ |= 0x00000020; 5617 componentQualifier_ = other.componentQualifier_; 5618 onChanged(); 5619 } 5620 if (other.hasAnalysisId()) { 5621 bitField0_ |= 0x00000040; 5622 analysisId_ = other.analysisId_; 5623 onChanged(); 5624 } 5625 if (other.hasStatus()) { 5626 setStatus(other.getStatus()); 5627 } 5628 if (other.hasSubmittedAt()) { 5629 bitField0_ |= 0x00000100; 5630 submittedAt_ = other.submittedAt_; 5631 onChanged(); 5632 } 5633 if (other.hasSubmitterLogin()) { 5634 bitField0_ |= 0x00000200; 5635 submitterLogin_ = other.submitterLogin_; 5636 onChanged(); 5637 } 5638 if (other.hasStartedAt()) { 5639 bitField0_ |= 0x00000400; 5640 startedAt_ = other.startedAt_; 5641 onChanged(); 5642 } 5643 if (other.hasExecutedAt()) { 5644 bitField0_ |= 0x00000800; 5645 executedAt_ = other.executedAt_; 5646 onChanged(); 5647 } 5648 if (other.hasIsLastExecuted()) { 5649 setIsLastExecuted(other.getIsLastExecuted()); 5650 } 5651 if (other.hasExecutionTimeMs()) { 5652 setExecutionTimeMs(other.getExecutionTimeMs()); 5653 } 5654 if (other.hasLogs()) { 5655 setLogs(other.getLogs()); 5656 } 5657 if (other.hasErrorMessage()) { 5658 bitField0_ |= 0x00008000; 5659 errorMessage_ = other.errorMessage_; 5660 onChanged(); 5661 } 5662 if (other.hasErrorStacktrace()) { 5663 bitField0_ |= 0x00010000; 5664 errorStacktrace_ = other.errorStacktrace_; 5665 onChanged(); 5666 } 5667 if (other.hasScannerContext()) { 5668 bitField0_ |= 0x00020000; 5669 scannerContext_ = other.scannerContext_; 5670 onChanged(); 5671 } 5672 if (other.hasHasScannerContext()) { 5673 setHasScannerContext(other.getHasScannerContext()); 5674 } 5675 this.mergeUnknownFields(other.unknownFields); 5676 onChanged(); 5677 return this; 5678 } 5679 5680 public final boolean isInitialized() { 5681 return true; 5682 } 5683 5684 public Builder mergeFrom( 5685 com.google.protobuf.CodedInputStream input, 5686 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5687 throws java.io.IOException { 5688 org.sonarqube.ws.WsCe.Task parsedMessage = null; 5689 try { 5690 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 5691 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 5692 parsedMessage = (org.sonarqube.ws.WsCe.Task) e.getUnfinishedMessage(); 5693 throw e; 5694 } finally { 5695 if (parsedMessage != null) { 5696 mergeFrom(parsedMessage); 5697 } 5698 } 5699 return this; 5700 } 5701 private int bitField0_; 5702 5703 private java.lang.Object id_ = ""; 5704 /** 5705 * <code>optional string id = 1;</code> 5706 */ 5707 public boolean hasId() { 5708 return ((bitField0_ & 0x00000001) == 0x00000001); 5709 } 5710 /** 5711 * <code>optional string id = 1;</code> 5712 */ 5713 public java.lang.String getId() { 5714 java.lang.Object ref = id_; 5715 if (!(ref instanceof java.lang.String)) { 5716 com.google.protobuf.ByteString bs = 5717 (com.google.protobuf.ByteString) ref; 5718 java.lang.String s = bs.toStringUtf8(); 5719 if (bs.isValidUtf8()) { 5720 id_ = s; 5721 } 5722 return s; 5723 } else { 5724 return (java.lang.String) ref; 5725 } 5726 } 5727 /** 5728 * <code>optional string id = 1;</code> 5729 */ 5730 public com.google.protobuf.ByteString 5731 getIdBytes() { 5732 java.lang.Object ref = id_; 5733 if (ref instanceof String) { 5734 com.google.protobuf.ByteString b = 5735 com.google.protobuf.ByteString.copyFromUtf8( 5736 (java.lang.String) ref); 5737 id_ = b; 5738 return b; 5739 } else { 5740 return (com.google.protobuf.ByteString) ref; 5741 } 5742 } 5743 /** 5744 * <code>optional string id = 1;</code> 5745 */ 5746 public Builder setId( 5747 java.lang.String value) { 5748 if (value == null) { 5749 throw new NullPointerException(); 5750 } 5751 bitField0_ |= 0x00000001; 5752 id_ = value; 5753 onChanged(); 5754 return this; 5755 } 5756 /** 5757 * <code>optional string id = 1;</code> 5758 */ 5759 public Builder clearId() { 5760 bitField0_ = (bitField0_ & ~0x00000001); 5761 id_ = getDefaultInstance().getId(); 5762 onChanged(); 5763 return this; 5764 } 5765 /** 5766 * <code>optional string id = 1;</code> 5767 */ 5768 public Builder setIdBytes( 5769 com.google.protobuf.ByteString value) { 5770 if (value == null) { 5771 throw new NullPointerException(); 5772 } 5773 bitField0_ |= 0x00000001; 5774 id_ = value; 5775 onChanged(); 5776 return this; 5777 } 5778 5779 private java.lang.Object type_ = ""; 5780 /** 5781 * <code>optional string type = 2;</code> 5782 */ 5783 public boolean hasType() { 5784 return ((bitField0_ & 0x00000002) == 0x00000002); 5785 } 5786 /** 5787 * <code>optional string type = 2;</code> 5788 */ 5789 public java.lang.String getType() { 5790 java.lang.Object ref = type_; 5791 if (!(ref instanceof java.lang.String)) { 5792 com.google.protobuf.ByteString bs = 5793 (com.google.protobuf.ByteString) ref; 5794 java.lang.String s = bs.toStringUtf8(); 5795 if (bs.isValidUtf8()) { 5796 type_ = s; 5797 } 5798 return s; 5799 } else { 5800 return (java.lang.String) ref; 5801 } 5802 } 5803 /** 5804 * <code>optional string type = 2;</code> 5805 */ 5806 public com.google.protobuf.ByteString 5807 getTypeBytes() { 5808 java.lang.Object ref = type_; 5809 if (ref instanceof String) { 5810 com.google.protobuf.ByteString b = 5811 com.google.protobuf.ByteString.copyFromUtf8( 5812 (java.lang.String) ref); 5813 type_ = b; 5814 return b; 5815 } else { 5816 return (com.google.protobuf.ByteString) ref; 5817 } 5818 } 5819 /** 5820 * <code>optional string type = 2;</code> 5821 */ 5822 public Builder setType( 5823 java.lang.String value) { 5824 if (value == null) { 5825 throw new NullPointerException(); 5826 } 5827 bitField0_ |= 0x00000002; 5828 type_ = value; 5829 onChanged(); 5830 return this; 5831 } 5832 /** 5833 * <code>optional string type = 2;</code> 5834 */ 5835 public Builder clearType() { 5836 bitField0_ = (bitField0_ & ~0x00000002); 5837 type_ = getDefaultInstance().getType(); 5838 onChanged(); 5839 return this; 5840 } 5841 /** 5842 * <code>optional string type = 2;</code> 5843 */ 5844 public Builder setTypeBytes( 5845 com.google.protobuf.ByteString value) { 5846 if (value == null) { 5847 throw new NullPointerException(); 5848 } 5849 bitField0_ |= 0x00000002; 5850 type_ = value; 5851 onChanged(); 5852 return this; 5853 } 5854 5855 private java.lang.Object componentId_ = ""; 5856 /** 5857 * <code>optional string componentId = 3;</code> 5858 */ 5859 public boolean hasComponentId() { 5860 return ((bitField0_ & 0x00000004) == 0x00000004); 5861 } 5862 /** 5863 * <code>optional string componentId = 3;</code> 5864 */ 5865 public java.lang.String getComponentId() { 5866 java.lang.Object ref = componentId_; 5867 if (!(ref instanceof java.lang.String)) { 5868 com.google.protobuf.ByteString bs = 5869 (com.google.protobuf.ByteString) ref; 5870 java.lang.String s = bs.toStringUtf8(); 5871 if (bs.isValidUtf8()) { 5872 componentId_ = s; 5873 } 5874 return s; 5875 } else { 5876 return (java.lang.String) ref; 5877 } 5878 } 5879 /** 5880 * <code>optional string componentId = 3;</code> 5881 */ 5882 public com.google.protobuf.ByteString 5883 getComponentIdBytes() { 5884 java.lang.Object ref = componentId_; 5885 if (ref instanceof String) { 5886 com.google.protobuf.ByteString b = 5887 com.google.protobuf.ByteString.copyFromUtf8( 5888 (java.lang.String) ref); 5889 componentId_ = b; 5890 return b; 5891 } else { 5892 return (com.google.protobuf.ByteString) ref; 5893 } 5894 } 5895 /** 5896 * <code>optional string componentId = 3;</code> 5897 */ 5898 public Builder setComponentId( 5899 java.lang.String value) { 5900 if (value == null) { 5901 throw new NullPointerException(); 5902 } 5903 bitField0_ |= 0x00000004; 5904 componentId_ = value; 5905 onChanged(); 5906 return this; 5907 } 5908 /** 5909 * <code>optional string componentId = 3;</code> 5910 */ 5911 public Builder clearComponentId() { 5912 bitField0_ = (bitField0_ & ~0x00000004); 5913 componentId_ = getDefaultInstance().getComponentId(); 5914 onChanged(); 5915 return this; 5916 } 5917 /** 5918 * <code>optional string componentId = 3;</code> 5919 */ 5920 public Builder setComponentIdBytes( 5921 com.google.protobuf.ByteString value) { 5922 if (value == null) { 5923 throw new NullPointerException(); 5924 } 5925 bitField0_ |= 0x00000004; 5926 componentId_ = value; 5927 onChanged(); 5928 return this; 5929 } 5930 5931 private java.lang.Object componentKey_ = ""; 5932 /** 5933 * <code>optional string componentKey = 4;</code> 5934 */ 5935 public boolean hasComponentKey() { 5936 return ((bitField0_ & 0x00000008) == 0x00000008); 5937 } 5938 /** 5939 * <code>optional string componentKey = 4;</code> 5940 */ 5941 public java.lang.String getComponentKey() { 5942 java.lang.Object ref = componentKey_; 5943 if (!(ref instanceof java.lang.String)) { 5944 com.google.protobuf.ByteString bs = 5945 (com.google.protobuf.ByteString) ref; 5946 java.lang.String s = bs.toStringUtf8(); 5947 if (bs.isValidUtf8()) { 5948 componentKey_ = s; 5949 } 5950 return s; 5951 } else { 5952 return (java.lang.String) ref; 5953 } 5954 } 5955 /** 5956 * <code>optional string componentKey = 4;</code> 5957 */ 5958 public com.google.protobuf.ByteString 5959 getComponentKeyBytes() { 5960 java.lang.Object ref = componentKey_; 5961 if (ref instanceof String) { 5962 com.google.protobuf.ByteString b = 5963 com.google.protobuf.ByteString.copyFromUtf8( 5964 (java.lang.String) ref); 5965 componentKey_ = b; 5966 return b; 5967 } else { 5968 return (com.google.protobuf.ByteString) ref; 5969 } 5970 } 5971 /** 5972 * <code>optional string componentKey = 4;</code> 5973 */ 5974 public Builder setComponentKey( 5975 java.lang.String value) { 5976 if (value == null) { 5977 throw new NullPointerException(); 5978 } 5979 bitField0_ |= 0x00000008; 5980 componentKey_ = value; 5981 onChanged(); 5982 return this; 5983 } 5984 /** 5985 * <code>optional string componentKey = 4;</code> 5986 */ 5987 public Builder clearComponentKey() { 5988 bitField0_ = (bitField0_ & ~0x00000008); 5989 componentKey_ = getDefaultInstance().getComponentKey(); 5990 onChanged(); 5991 return this; 5992 } 5993 /** 5994 * <code>optional string componentKey = 4;</code> 5995 */ 5996 public Builder setComponentKeyBytes( 5997 com.google.protobuf.ByteString value) { 5998 if (value == null) { 5999 throw new NullPointerException(); 6000 } 6001 bitField0_ |= 0x00000008; 6002 componentKey_ = value; 6003 onChanged(); 6004 return this; 6005 } 6006 6007 private java.lang.Object componentName_ = ""; 6008 /** 6009 * <code>optional string componentName = 5;</code> 6010 */ 6011 public boolean hasComponentName() { 6012 return ((bitField0_ & 0x00000010) == 0x00000010); 6013 } 6014 /** 6015 * <code>optional string componentName = 5;</code> 6016 */ 6017 public java.lang.String getComponentName() { 6018 java.lang.Object ref = componentName_; 6019 if (!(ref instanceof java.lang.String)) { 6020 com.google.protobuf.ByteString bs = 6021 (com.google.protobuf.ByteString) ref; 6022 java.lang.String s = bs.toStringUtf8(); 6023 if (bs.isValidUtf8()) { 6024 componentName_ = s; 6025 } 6026 return s; 6027 } else { 6028 return (java.lang.String) ref; 6029 } 6030 } 6031 /** 6032 * <code>optional string componentName = 5;</code> 6033 */ 6034 public com.google.protobuf.ByteString 6035 getComponentNameBytes() { 6036 java.lang.Object ref = componentName_; 6037 if (ref instanceof String) { 6038 com.google.protobuf.ByteString b = 6039 com.google.protobuf.ByteString.copyFromUtf8( 6040 (java.lang.String) ref); 6041 componentName_ = b; 6042 return b; 6043 } else { 6044 return (com.google.protobuf.ByteString) ref; 6045 } 6046 } 6047 /** 6048 * <code>optional string componentName = 5;</code> 6049 */ 6050 public Builder setComponentName( 6051 java.lang.String value) { 6052 if (value == null) { 6053 throw new NullPointerException(); 6054 } 6055 bitField0_ |= 0x00000010; 6056 componentName_ = value; 6057 onChanged(); 6058 return this; 6059 } 6060 /** 6061 * <code>optional string componentName = 5;</code> 6062 */ 6063 public Builder clearComponentName() { 6064 bitField0_ = (bitField0_ & ~0x00000010); 6065 componentName_ = getDefaultInstance().getComponentName(); 6066 onChanged(); 6067 return this; 6068 } 6069 /** 6070 * <code>optional string componentName = 5;</code> 6071 */ 6072 public Builder setComponentNameBytes( 6073 com.google.protobuf.ByteString value) { 6074 if (value == null) { 6075 throw new NullPointerException(); 6076 } 6077 bitField0_ |= 0x00000010; 6078 componentName_ = value; 6079 onChanged(); 6080 return this; 6081 } 6082 6083 private java.lang.Object componentQualifier_ = ""; 6084 /** 6085 * <code>optional string componentQualifier = 6;</code> 6086 */ 6087 public boolean hasComponentQualifier() { 6088 return ((bitField0_ & 0x00000020) == 0x00000020); 6089 } 6090 /** 6091 * <code>optional string componentQualifier = 6;</code> 6092 */ 6093 public java.lang.String getComponentQualifier() { 6094 java.lang.Object ref = componentQualifier_; 6095 if (!(ref instanceof java.lang.String)) { 6096 com.google.protobuf.ByteString bs = 6097 (com.google.protobuf.ByteString) ref; 6098 java.lang.String s = bs.toStringUtf8(); 6099 if (bs.isValidUtf8()) { 6100 componentQualifier_ = s; 6101 } 6102 return s; 6103 } else { 6104 return (java.lang.String) ref; 6105 } 6106 } 6107 /** 6108 * <code>optional string componentQualifier = 6;</code> 6109 */ 6110 public com.google.protobuf.ByteString 6111 getComponentQualifierBytes() { 6112 java.lang.Object ref = componentQualifier_; 6113 if (ref instanceof String) { 6114 com.google.protobuf.ByteString b = 6115 com.google.protobuf.ByteString.copyFromUtf8( 6116 (java.lang.String) ref); 6117 componentQualifier_ = b; 6118 return b; 6119 } else { 6120 return (com.google.protobuf.ByteString) ref; 6121 } 6122 } 6123 /** 6124 * <code>optional string componentQualifier = 6;</code> 6125 */ 6126 public Builder setComponentQualifier( 6127 java.lang.String value) { 6128 if (value == null) { 6129 throw new NullPointerException(); 6130 } 6131 bitField0_ |= 0x00000020; 6132 componentQualifier_ = value; 6133 onChanged(); 6134 return this; 6135 } 6136 /** 6137 * <code>optional string componentQualifier = 6;</code> 6138 */ 6139 public Builder clearComponentQualifier() { 6140 bitField0_ = (bitField0_ & ~0x00000020); 6141 componentQualifier_ = getDefaultInstance().getComponentQualifier(); 6142 onChanged(); 6143 return this; 6144 } 6145 /** 6146 * <code>optional string componentQualifier = 6;</code> 6147 */ 6148 public Builder setComponentQualifierBytes( 6149 com.google.protobuf.ByteString value) { 6150 if (value == null) { 6151 throw new NullPointerException(); 6152 } 6153 bitField0_ |= 0x00000020; 6154 componentQualifier_ = value; 6155 onChanged(); 6156 return this; 6157 } 6158 6159 private java.lang.Object analysisId_ = ""; 6160 /** 6161 * <code>optional string analysisId = 7;</code> 6162 */ 6163 public boolean hasAnalysisId() { 6164 return ((bitField0_ & 0x00000040) == 0x00000040); 6165 } 6166 /** 6167 * <code>optional string analysisId = 7;</code> 6168 */ 6169 public java.lang.String getAnalysisId() { 6170 java.lang.Object ref = analysisId_; 6171 if (!(ref instanceof java.lang.String)) { 6172 com.google.protobuf.ByteString bs = 6173 (com.google.protobuf.ByteString) ref; 6174 java.lang.String s = bs.toStringUtf8(); 6175 if (bs.isValidUtf8()) { 6176 analysisId_ = s; 6177 } 6178 return s; 6179 } else { 6180 return (java.lang.String) ref; 6181 } 6182 } 6183 /** 6184 * <code>optional string analysisId = 7;</code> 6185 */ 6186 public com.google.protobuf.ByteString 6187 getAnalysisIdBytes() { 6188 java.lang.Object ref = analysisId_; 6189 if (ref instanceof String) { 6190 com.google.protobuf.ByteString b = 6191 com.google.protobuf.ByteString.copyFromUtf8( 6192 (java.lang.String) ref); 6193 analysisId_ = b; 6194 return b; 6195 } else { 6196 return (com.google.protobuf.ByteString) ref; 6197 } 6198 } 6199 /** 6200 * <code>optional string analysisId = 7;</code> 6201 */ 6202 public Builder setAnalysisId( 6203 java.lang.String value) { 6204 if (value == null) { 6205 throw new NullPointerException(); 6206 } 6207 bitField0_ |= 0x00000040; 6208 analysisId_ = value; 6209 onChanged(); 6210 return this; 6211 } 6212 /** 6213 * <code>optional string analysisId = 7;</code> 6214 */ 6215 public Builder clearAnalysisId() { 6216 bitField0_ = (bitField0_ & ~0x00000040); 6217 analysisId_ = getDefaultInstance().getAnalysisId(); 6218 onChanged(); 6219 return this; 6220 } 6221 /** 6222 * <code>optional string analysisId = 7;</code> 6223 */ 6224 public Builder setAnalysisIdBytes( 6225 com.google.protobuf.ByteString value) { 6226 if (value == null) { 6227 throw new NullPointerException(); 6228 } 6229 bitField0_ |= 0x00000040; 6230 analysisId_ = value; 6231 onChanged(); 6232 return this; 6233 } 6234 6235 private int status_ = 0; 6236 /** 6237 * <code>optional .sonarqube.ws.ce.TaskStatus status = 8;</code> 6238 */ 6239 public boolean hasStatus() { 6240 return ((bitField0_ & 0x00000080) == 0x00000080); 6241 } 6242 /** 6243 * <code>optional .sonarqube.ws.ce.TaskStatus status = 8;</code> 6244 */ 6245 public org.sonarqube.ws.WsCe.TaskStatus getStatus() { 6246 org.sonarqube.ws.WsCe.TaskStatus result = org.sonarqube.ws.WsCe.TaskStatus.valueOf(status_); 6247 return result == null ? org.sonarqube.ws.WsCe.TaskStatus.PENDING : result; 6248 } 6249 /** 6250 * <code>optional .sonarqube.ws.ce.TaskStatus status = 8;</code> 6251 */ 6252 public Builder setStatus(org.sonarqube.ws.WsCe.TaskStatus value) { 6253 if (value == null) { 6254 throw new NullPointerException(); 6255 } 6256 bitField0_ |= 0x00000080; 6257 status_ = value.getNumber(); 6258 onChanged(); 6259 return this; 6260 } 6261 /** 6262 * <code>optional .sonarqube.ws.ce.TaskStatus status = 8;</code> 6263 */ 6264 public Builder clearStatus() { 6265 bitField0_ = (bitField0_ & ~0x00000080); 6266 status_ = 0; 6267 onChanged(); 6268 return this; 6269 } 6270 6271 private java.lang.Object submittedAt_ = ""; 6272 /** 6273 * <code>optional string submittedAt = 9;</code> 6274 */ 6275 public boolean hasSubmittedAt() { 6276 return ((bitField0_ & 0x00000100) == 0x00000100); 6277 } 6278 /** 6279 * <code>optional string submittedAt = 9;</code> 6280 */ 6281 public java.lang.String getSubmittedAt() { 6282 java.lang.Object ref = submittedAt_; 6283 if (!(ref instanceof java.lang.String)) { 6284 com.google.protobuf.ByteString bs = 6285 (com.google.protobuf.ByteString) ref; 6286 java.lang.String s = bs.toStringUtf8(); 6287 if (bs.isValidUtf8()) { 6288 submittedAt_ = s; 6289 } 6290 return s; 6291 } else { 6292 return (java.lang.String) ref; 6293 } 6294 } 6295 /** 6296 * <code>optional string submittedAt = 9;</code> 6297 */ 6298 public com.google.protobuf.ByteString 6299 getSubmittedAtBytes() { 6300 java.lang.Object ref = submittedAt_; 6301 if (ref instanceof String) { 6302 com.google.protobuf.ByteString b = 6303 com.google.protobuf.ByteString.copyFromUtf8( 6304 (java.lang.String) ref); 6305 submittedAt_ = b; 6306 return b; 6307 } else { 6308 return (com.google.protobuf.ByteString) ref; 6309 } 6310 } 6311 /** 6312 * <code>optional string submittedAt = 9;</code> 6313 */ 6314 public Builder setSubmittedAt( 6315 java.lang.String value) { 6316 if (value == null) { 6317 throw new NullPointerException(); 6318 } 6319 bitField0_ |= 0x00000100; 6320 submittedAt_ = value; 6321 onChanged(); 6322 return this; 6323 } 6324 /** 6325 * <code>optional string submittedAt = 9;</code> 6326 */ 6327 public Builder clearSubmittedAt() { 6328 bitField0_ = (bitField0_ & ~0x00000100); 6329 submittedAt_ = getDefaultInstance().getSubmittedAt(); 6330 onChanged(); 6331 return this; 6332 } 6333 /** 6334 * <code>optional string submittedAt = 9;</code> 6335 */ 6336 public Builder setSubmittedAtBytes( 6337 com.google.protobuf.ByteString value) { 6338 if (value == null) { 6339 throw new NullPointerException(); 6340 } 6341 bitField0_ |= 0x00000100; 6342 submittedAt_ = value; 6343 onChanged(); 6344 return this; 6345 } 6346 6347 private java.lang.Object submitterLogin_ = ""; 6348 /** 6349 * <code>optional string submitterLogin = 10;</code> 6350 */ 6351 public boolean hasSubmitterLogin() { 6352 return ((bitField0_ & 0x00000200) == 0x00000200); 6353 } 6354 /** 6355 * <code>optional string submitterLogin = 10;</code> 6356 */ 6357 public java.lang.String getSubmitterLogin() { 6358 java.lang.Object ref = submitterLogin_; 6359 if (!(ref instanceof java.lang.String)) { 6360 com.google.protobuf.ByteString bs = 6361 (com.google.protobuf.ByteString) ref; 6362 java.lang.String s = bs.toStringUtf8(); 6363 if (bs.isValidUtf8()) { 6364 submitterLogin_ = s; 6365 } 6366 return s; 6367 } else { 6368 return (java.lang.String) ref; 6369 } 6370 } 6371 /** 6372 * <code>optional string submitterLogin = 10;</code> 6373 */ 6374 public com.google.protobuf.ByteString 6375 getSubmitterLoginBytes() { 6376 java.lang.Object ref = submitterLogin_; 6377 if (ref instanceof String) { 6378 com.google.protobuf.ByteString b = 6379 com.google.protobuf.ByteString.copyFromUtf8( 6380 (java.lang.String) ref); 6381 submitterLogin_ = b; 6382 return b; 6383 } else { 6384 return (com.google.protobuf.ByteString) ref; 6385 } 6386 } 6387 /** 6388 * <code>optional string submitterLogin = 10;</code> 6389 */ 6390 public Builder setSubmitterLogin( 6391 java.lang.String value) { 6392 if (value == null) { 6393 throw new NullPointerException(); 6394 } 6395 bitField0_ |= 0x00000200; 6396 submitterLogin_ = value; 6397 onChanged(); 6398 return this; 6399 } 6400 /** 6401 * <code>optional string submitterLogin = 10;</code> 6402 */ 6403 public Builder clearSubmitterLogin() { 6404 bitField0_ = (bitField0_ & ~0x00000200); 6405 submitterLogin_ = getDefaultInstance().getSubmitterLogin(); 6406 onChanged(); 6407 return this; 6408 } 6409 /** 6410 * <code>optional string submitterLogin = 10;</code> 6411 */ 6412 public Builder setSubmitterLoginBytes( 6413 com.google.protobuf.ByteString value) { 6414 if (value == null) { 6415 throw new NullPointerException(); 6416 } 6417 bitField0_ |= 0x00000200; 6418 submitterLogin_ = value; 6419 onChanged(); 6420 return this; 6421 } 6422 6423 private java.lang.Object startedAt_ = ""; 6424 /** 6425 * <code>optional string startedAt = 11;</code> 6426 */ 6427 public boolean hasStartedAt() { 6428 return ((bitField0_ & 0x00000400) == 0x00000400); 6429 } 6430 /** 6431 * <code>optional string startedAt = 11;</code> 6432 */ 6433 public java.lang.String getStartedAt() { 6434 java.lang.Object ref = startedAt_; 6435 if (!(ref instanceof java.lang.String)) { 6436 com.google.protobuf.ByteString bs = 6437 (com.google.protobuf.ByteString) ref; 6438 java.lang.String s = bs.toStringUtf8(); 6439 if (bs.isValidUtf8()) { 6440 startedAt_ = s; 6441 } 6442 return s; 6443 } else { 6444 return (java.lang.String) ref; 6445 } 6446 } 6447 /** 6448 * <code>optional string startedAt = 11;</code> 6449 */ 6450 public com.google.protobuf.ByteString 6451 getStartedAtBytes() { 6452 java.lang.Object ref = startedAt_; 6453 if (ref instanceof String) { 6454 com.google.protobuf.ByteString b = 6455 com.google.protobuf.ByteString.copyFromUtf8( 6456 (java.lang.String) ref); 6457 startedAt_ = b; 6458 return b; 6459 } else { 6460 return (com.google.protobuf.ByteString) ref; 6461 } 6462 } 6463 /** 6464 * <code>optional string startedAt = 11;</code> 6465 */ 6466 public Builder setStartedAt( 6467 java.lang.String value) { 6468 if (value == null) { 6469 throw new NullPointerException(); 6470 } 6471 bitField0_ |= 0x00000400; 6472 startedAt_ = value; 6473 onChanged(); 6474 return this; 6475 } 6476 /** 6477 * <code>optional string startedAt = 11;</code> 6478 */ 6479 public Builder clearStartedAt() { 6480 bitField0_ = (bitField0_ & ~0x00000400); 6481 startedAt_ = getDefaultInstance().getStartedAt(); 6482 onChanged(); 6483 return this; 6484 } 6485 /** 6486 * <code>optional string startedAt = 11;</code> 6487 */ 6488 public Builder setStartedAtBytes( 6489 com.google.protobuf.ByteString value) { 6490 if (value == null) { 6491 throw new NullPointerException(); 6492 } 6493 bitField0_ |= 0x00000400; 6494 startedAt_ = value; 6495 onChanged(); 6496 return this; 6497 } 6498 6499 private java.lang.Object executedAt_ = ""; 6500 /** 6501 * <code>optional string executedAt = 12;</code> 6502 */ 6503 public boolean hasExecutedAt() { 6504 return ((bitField0_ & 0x00000800) == 0x00000800); 6505 } 6506 /** 6507 * <code>optional string executedAt = 12;</code> 6508 */ 6509 public java.lang.String getExecutedAt() { 6510 java.lang.Object ref = executedAt_; 6511 if (!(ref instanceof java.lang.String)) { 6512 com.google.protobuf.ByteString bs = 6513 (com.google.protobuf.ByteString) ref; 6514 java.lang.String s = bs.toStringUtf8(); 6515 if (bs.isValidUtf8()) { 6516 executedAt_ = s; 6517 } 6518 return s; 6519 } else { 6520 return (java.lang.String) ref; 6521 } 6522 } 6523 /** 6524 * <code>optional string executedAt = 12;</code> 6525 */ 6526 public com.google.protobuf.ByteString 6527 getExecutedAtBytes() { 6528 java.lang.Object ref = executedAt_; 6529 if (ref instanceof String) { 6530 com.google.protobuf.ByteString b = 6531 com.google.protobuf.ByteString.copyFromUtf8( 6532 (java.lang.String) ref); 6533 executedAt_ = b; 6534 return b; 6535 } else { 6536 return (com.google.protobuf.ByteString) ref; 6537 } 6538 } 6539 /** 6540 * <code>optional string executedAt = 12;</code> 6541 */ 6542 public Builder setExecutedAt( 6543 java.lang.String value) { 6544 if (value == null) { 6545 throw new NullPointerException(); 6546 } 6547 bitField0_ |= 0x00000800; 6548 executedAt_ = value; 6549 onChanged(); 6550 return this; 6551 } 6552 /** 6553 * <code>optional string executedAt = 12;</code> 6554 */ 6555 public Builder clearExecutedAt() { 6556 bitField0_ = (bitField0_ & ~0x00000800); 6557 executedAt_ = getDefaultInstance().getExecutedAt(); 6558 onChanged(); 6559 return this; 6560 } 6561 /** 6562 * <code>optional string executedAt = 12;</code> 6563 */ 6564 public Builder setExecutedAtBytes( 6565 com.google.protobuf.ByteString value) { 6566 if (value == null) { 6567 throw new NullPointerException(); 6568 } 6569 bitField0_ |= 0x00000800; 6570 executedAt_ = value; 6571 onChanged(); 6572 return this; 6573 } 6574 6575 private boolean isLastExecuted_ ; 6576 /** 6577 * <code>optional bool isLastExecuted = 13;</code> 6578 */ 6579 public boolean hasIsLastExecuted() { 6580 return ((bitField0_ & 0x00001000) == 0x00001000); 6581 } 6582 /** 6583 * <code>optional bool isLastExecuted = 13;</code> 6584 */ 6585 public boolean getIsLastExecuted() { 6586 return isLastExecuted_; 6587 } 6588 /** 6589 * <code>optional bool isLastExecuted = 13;</code> 6590 */ 6591 public Builder setIsLastExecuted(boolean value) { 6592 bitField0_ |= 0x00001000; 6593 isLastExecuted_ = value; 6594 onChanged(); 6595 return this; 6596 } 6597 /** 6598 * <code>optional bool isLastExecuted = 13;</code> 6599 */ 6600 public Builder clearIsLastExecuted() { 6601 bitField0_ = (bitField0_ & ~0x00001000); 6602 isLastExecuted_ = false; 6603 onChanged(); 6604 return this; 6605 } 6606 6607 private long executionTimeMs_ ; 6608 /** 6609 * <code>optional int64 executionTimeMs = 14;</code> 6610 */ 6611 public boolean hasExecutionTimeMs() { 6612 return ((bitField0_ & 0x00002000) == 0x00002000); 6613 } 6614 /** 6615 * <code>optional int64 executionTimeMs = 14;</code> 6616 */ 6617 public long getExecutionTimeMs() { 6618 return executionTimeMs_; 6619 } 6620 /** 6621 * <code>optional int64 executionTimeMs = 14;</code> 6622 */ 6623 public Builder setExecutionTimeMs(long value) { 6624 bitField0_ |= 0x00002000; 6625 executionTimeMs_ = value; 6626 onChanged(); 6627 return this; 6628 } 6629 /** 6630 * <code>optional int64 executionTimeMs = 14;</code> 6631 */ 6632 public Builder clearExecutionTimeMs() { 6633 bitField0_ = (bitField0_ & ~0x00002000); 6634 executionTimeMs_ = 0L; 6635 onChanged(); 6636 return this; 6637 } 6638 6639 private boolean logs_ ; 6640 /** 6641 * <code>optional bool logs = 15;</code> 6642 */ 6643 public boolean hasLogs() { 6644 return ((bitField0_ & 0x00004000) == 0x00004000); 6645 } 6646 /** 6647 * <code>optional bool logs = 15;</code> 6648 */ 6649 public boolean getLogs() { 6650 return logs_; 6651 } 6652 /** 6653 * <code>optional bool logs = 15;</code> 6654 */ 6655 public Builder setLogs(boolean value) { 6656 bitField0_ |= 0x00004000; 6657 logs_ = value; 6658 onChanged(); 6659 return this; 6660 } 6661 /** 6662 * <code>optional bool logs = 15;</code> 6663 */ 6664 public Builder clearLogs() { 6665 bitField0_ = (bitField0_ & ~0x00004000); 6666 logs_ = false; 6667 onChanged(); 6668 return this; 6669 } 6670 6671 private java.lang.Object errorMessage_ = ""; 6672 /** 6673 * <code>optional string errorMessage = 16;</code> 6674 */ 6675 public boolean hasErrorMessage() { 6676 return ((bitField0_ & 0x00008000) == 0x00008000); 6677 } 6678 /** 6679 * <code>optional string errorMessage = 16;</code> 6680 */ 6681 public java.lang.String getErrorMessage() { 6682 java.lang.Object ref = errorMessage_; 6683 if (!(ref instanceof java.lang.String)) { 6684 com.google.protobuf.ByteString bs = 6685 (com.google.protobuf.ByteString) ref; 6686 java.lang.String s = bs.toStringUtf8(); 6687 if (bs.isValidUtf8()) { 6688 errorMessage_ = s; 6689 } 6690 return s; 6691 } else { 6692 return (java.lang.String) ref; 6693 } 6694 } 6695 /** 6696 * <code>optional string errorMessage = 16;</code> 6697 */ 6698 public com.google.protobuf.ByteString 6699 getErrorMessageBytes() { 6700 java.lang.Object ref = errorMessage_; 6701 if (ref instanceof String) { 6702 com.google.protobuf.ByteString b = 6703 com.google.protobuf.ByteString.copyFromUtf8( 6704 (java.lang.String) ref); 6705 errorMessage_ = b; 6706 return b; 6707 } else { 6708 return (com.google.protobuf.ByteString) ref; 6709 } 6710 } 6711 /** 6712 * <code>optional string errorMessage = 16;</code> 6713 */ 6714 public Builder setErrorMessage( 6715 java.lang.String value) { 6716 if (value == null) { 6717 throw new NullPointerException(); 6718 } 6719 bitField0_ |= 0x00008000; 6720 errorMessage_ = value; 6721 onChanged(); 6722 return this; 6723 } 6724 /** 6725 * <code>optional string errorMessage = 16;</code> 6726 */ 6727 public Builder clearErrorMessage() { 6728 bitField0_ = (bitField0_ & ~0x00008000); 6729 errorMessage_ = getDefaultInstance().getErrorMessage(); 6730 onChanged(); 6731 return this; 6732 } 6733 /** 6734 * <code>optional string errorMessage = 16;</code> 6735 */ 6736 public Builder setErrorMessageBytes( 6737 com.google.protobuf.ByteString value) { 6738 if (value == null) { 6739 throw new NullPointerException(); 6740 } 6741 bitField0_ |= 0x00008000; 6742 errorMessage_ = value; 6743 onChanged(); 6744 return this; 6745 } 6746 6747 private java.lang.Object errorStacktrace_ = ""; 6748 /** 6749 * <code>optional string errorStacktrace = 17;</code> 6750 */ 6751 public boolean hasErrorStacktrace() { 6752 return ((bitField0_ & 0x00010000) == 0x00010000); 6753 } 6754 /** 6755 * <code>optional string errorStacktrace = 17;</code> 6756 */ 6757 public java.lang.String getErrorStacktrace() { 6758 java.lang.Object ref = errorStacktrace_; 6759 if (!(ref instanceof java.lang.String)) { 6760 com.google.protobuf.ByteString bs = 6761 (com.google.protobuf.ByteString) ref; 6762 java.lang.String s = bs.toStringUtf8(); 6763 if (bs.isValidUtf8()) { 6764 errorStacktrace_ = s; 6765 } 6766 return s; 6767 } else { 6768 return (java.lang.String) ref; 6769 } 6770 } 6771 /** 6772 * <code>optional string errorStacktrace = 17;</code> 6773 */ 6774 public com.google.protobuf.ByteString 6775 getErrorStacktraceBytes() { 6776 java.lang.Object ref = errorStacktrace_; 6777 if (ref instanceof String) { 6778 com.google.protobuf.ByteString b = 6779 com.google.protobuf.ByteString.copyFromUtf8( 6780 (java.lang.String) ref); 6781 errorStacktrace_ = b; 6782 return b; 6783 } else { 6784 return (com.google.protobuf.ByteString) ref; 6785 } 6786 } 6787 /** 6788 * <code>optional string errorStacktrace = 17;</code> 6789 */ 6790 public Builder setErrorStacktrace( 6791 java.lang.String value) { 6792 if (value == null) { 6793 throw new NullPointerException(); 6794 } 6795 bitField0_ |= 0x00010000; 6796 errorStacktrace_ = value; 6797 onChanged(); 6798 return this; 6799 } 6800 /** 6801 * <code>optional string errorStacktrace = 17;</code> 6802 */ 6803 public Builder clearErrorStacktrace() { 6804 bitField0_ = (bitField0_ & ~0x00010000); 6805 errorStacktrace_ = getDefaultInstance().getErrorStacktrace(); 6806 onChanged(); 6807 return this; 6808 } 6809 /** 6810 * <code>optional string errorStacktrace = 17;</code> 6811 */ 6812 public Builder setErrorStacktraceBytes( 6813 com.google.protobuf.ByteString value) { 6814 if (value == null) { 6815 throw new NullPointerException(); 6816 } 6817 bitField0_ |= 0x00010000; 6818 errorStacktrace_ = value; 6819 onChanged(); 6820 return this; 6821 } 6822 6823 private java.lang.Object scannerContext_ = ""; 6824 /** 6825 * <code>optional string scannerContext = 18;</code> 6826 */ 6827 public boolean hasScannerContext() { 6828 return ((bitField0_ & 0x00020000) == 0x00020000); 6829 } 6830 /** 6831 * <code>optional string scannerContext = 18;</code> 6832 */ 6833 public java.lang.String getScannerContext() { 6834 java.lang.Object ref = scannerContext_; 6835 if (!(ref instanceof java.lang.String)) { 6836 com.google.protobuf.ByteString bs = 6837 (com.google.protobuf.ByteString) ref; 6838 java.lang.String s = bs.toStringUtf8(); 6839 if (bs.isValidUtf8()) { 6840 scannerContext_ = s; 6841 } 6842 return s; 6843 } else { 6844 return (java.lang.String) ref; 6845 } 6846 } 6847 /** 6848 * <code>optional string scannerContext = 18;</code> 6849 */ 6850 public com.google.protobuf.ByteString 6851 getScannerContextBytes() { 6852 java.lang.Object ref = scannerContext_; 6853 if (ref instanceof String) { 6854 com.google.protobuf.ByteString b = 6855 com.google.protobuf.ByteString.copyFromUtf8( 6856 (java.lang.String) ref); 6857 scannerContext_ = b; 6858 return b; 6859 } else { 6860 return (com.google.protobuf.ByteString) ref; 6861 } 6862 } 6863 /** 6864 * <code>optional string scannerContext = 18;</code> 6865 */ 6866 public Builder setScannerContext( 6867 java.lang.String value) { 6868 if (value == null) { 6869 throw new NullPointerException(); 6870 } 6871 bitField0_ |= 0x00020000; 6872 scannerContext_ = value; 6873 onChanged(); 6874 return this; 6875 } 6876 /** 6877 * <code>optional string scannerContext = 18;</code> 6878 */ 6879 public Builder clearScannerContext() { 6880 bitField0_ = (bitField0_ & ~0x00020000); 6881 scannerContext_ = getDefaultInstance().getScannerContext(); 6882 onChanged(); 6883 return this; 6884 } 6885 /** 6886 * <code>optional string scannerContext = 18;</code> 6887 */ 6888 public Builder setScannerContextBytes( 6889 com.google.protobuf.ByteString value) { 6890 if (value == null) { 6891 throw new NullPointerException(); 6892 } 6893 bitField0_ |= 0x00020000; 6894 scannerContext_ = value; 6895 onChanged(); 6896 return this; 6897 } 6898 6899 private boolean hasScannerContext_ ; 6900 /** 6901 * <code>optional bool hasScannerContext = 19;</code> 6902 */ 6903 public boolean hasHasScannerContext() { 6904 return ((bitField0_ & 0x00040000) == 0x00040000); 6905 } 6906 /** 6907 * <code>optional bool hasScannerContext = 19;</code> 6908 */ 6909 public boolean getHasScannerContext() { 6910 return hasScannerContext_; 6911 } 6912 /** 6913 * <code>optional bool hasScannerContext = 19;</code> 6914 */ 6915 public Builder setHasScannerContext(boolean value) { 6916 bitField0_ |= 0x00040000; 6917 hasScannerContext_ = value; 6918 onChanged(); 6919 return this; 6920 } 6921 /** 6922 * <code>optional bool hasScannerContext = 19;</code> 6923 */ 6924 public Builder clearHasScannerContext() { 6925 bitField0_ = (bitField0_ & ~0x00040000); 6926 hasScannerContext_ = false; 6927 onChanged(); 6928 return this; 6929 } 6930 6931 // @@protoc_insertion_point(builder_scope:sonarqube.ws.ce.Task) 6932 } 6933 6934 // @@protoc_insertion_point(class_scope:sonarqube.ws.ce.Task) 6935 private static final org.sonarqube.ws.WsCe.Task DEFAULT_INSTANCE; 6936 static { 6937 DEFAULT_INSTANCE = new org.sonarqube.ws.WsCe.Task(); 6938 } 6939 6940 public static org.sonarqube.ws.WsCe.Task getDefaultInstance() { 6941 return DEFAULT_INSTANCE; 6942 } 6943 6944 @java.lang.Deprecated public static final com.google.protobuf.Parser<Task> 6945 PARSER = new com.google.protobuf.AbstractParser<Task>() { 6946 public Task parsePartialFrom( 6947 com.google.protobuf.CodedInputStream input, 6948 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 6949 throws com.google.protobuf.InvalidProtocolBufferException { 6950 try { 6951 return new Task(input, extensionRegistry); 6952 } catch (RuntimeException e) { 6953 if (e.getCause() instanceof 6954 com.google.protobuf.InvalidProtocolBufferException) { 6955 throw (com.google.protobuf.InvalidProtocolBufferException) 6956 e.getCause(); 6957 } 6958 throw e; 6959 } 6960 } 6961 }; 6962 6963 public static com.google.protobuf.Parser<Task> parser() { 6964 return PARSER; 6965 } 6966 6967 @java.lang.Override 6968 public com.google.protobuf.Parser<Task> getParserForType() { 6969 return PARSER; 6970 } 6971 6972 public org.sonarqube.ws.WsCe.Task getDefaultInstanceForType() { 6973 return DEFAULT_INSTANCE; 6974 } 6975 6976 } 6977 6978 private static com.google.protobuf.Descriptors.Descriptor 6979 internal_static_sonarqube_ws_ce_SubmitResponse_descriptor; 6980 private static 6981 com.google.protobuf.GeneratedMessage.FieldAccessorTable 6982 internal_static_sonarqube_ws_ce_SubmitResponse_fieldAccessorTable; 6983 private static com.google.protobuf.Descriptors.Descriptor 6984 internal_static_sonarqube_ws_ce_TaskResponse_descriptor; 6985 private static 6986 com.google.protobuf.GeneratedMessage.FieldAccessorTable 6987 internal_static_sonarqube_ws_ce_TaskResponse_fieldAccessorTable; 6988 private static com.google.protobuf.Descriptors.Descriptor 6989 internal_static_sonarqube_ws_ce_ActivityResponse_descriptor; 6990 private static 6991 com.google.protobuf.GeneratedMessage.FieldAccessorTable 6992 internal_static_sonarqube_ws_ce_ActivityResponse_fieldAccessorTable; 6993 private static com.google.protobuf.Descriptors.Descriptor 6994 internal_static_sonarqube_ws_ce_ActivityStatusWsResponse_descriptor; 6995 private static 6996 com.google.protobuf.GeneratedMessage.FieldAccessorTable 6997 internal_static_sonarqube_ws_ce_ActivityStatusWsResponse_fieldAccessorTable; 6998 private static com.google.protobuf.Descriptors.Descriptor 6999 internal_static_sonarqube_ws_ce_ProjectResponse_descriptor; 7000 private static 7001 com.google.protobuf.GeneratedMessage.FieldAccessorTable 7002 internal_static_sonarqube_ws_ce_ProjectResponse_fieldAccessorTable; 7003 private static com.google.protobuf.Descriptors.Descriptor 7004 internal_static_sonarqube_ws_ce_TaskTypesWsResponse_descriptor; 7005 private static 7006 com.google.protobuf.GeneratedMessage.FieldAccessorTable 7007 internal_static_sonarqube_ws_ce_TaskTypesWsResponse_fieldAccessorTable; 7008 private static com.google.protobuf.Descriptors.Descriptor 7009 internal_static_sonarqube_ws_ce_Task_descriptor; 7010 private static 7011 com.google.protobuf.GeneratedMessage.FieldAccessorTable 7012 internal_static_sonarqube_ws_ce_Task_fieldAccessorTable; 7013 7014 public static com.google.protobuf.Descriptors.FileDescriptor 7015 getDescriptor() { 7016 return descriptor; 7017 } 7018 private static com.google.protobuf.Descriptors.FileDescriptor 7019 descriptor; 7020 static { 7021 java.lang.String[] descriptorData = { 7022 "\n\013ws-ce.proto\022\017sonarqube.ws.ce\032\020ws-commo" + 7023 "ns.proto\"3\n\016SubmitResponse\022\016\n\006taskId\030\001 \001" + 7024 "(\t\022\021\n\tprojectId\030\002 \001(\t\"3\n\014TaskResponse\022#\n" + 7025 "\004task\030\001 \001(\0132\025.sonarqube.ws.ce.Task\"l\n\020Ac" + 7026 "tivityResponse\0222\n\014unusedPaging\030\001 \001(\0132\034.s" + 7027 "onarqube.ws.commons.Paging\022$\n\005tasks\030\002 \003(" + 7028 "\0132\025.sonarqube.ws.ce.Task\"<\n\030ActivityStat" + 7029 "usWsResponse\022\017\n\007pending\030\001 \001(\005\022\017\n\007failing" + 7030 "\030\002 \001(\005\"_\n\017ProjectResponse\022$\n\005queue\030\001 \003(\013" + 7031 "2\025.sonarqube.ws.ce.Task\022&\n\007current\030\002 \001(\013", 7032 "2\025.sonarqube.ws.ce.Task\"(\n\023TaskTypesWsRe" + 7033 "sponse\022\021\n\ttaskTypes\030\001 \003(\t\"\264\003\n\004Task\022\n\n\002id" + 7034 "\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022\023\n\013componentId\030\003 \001(" + 7035 "\t\022\024\n\014componentKey\030\004 \001(\t\022\025\n\rcomponentName" + 7036 "\030\005 \001(\t\022\032\n\022componentQualifier\030\006 \001(\t\022\022\n\nan" + 7037 "alysisId\030\007 \001(\t\022+\n\006status\030\010 \001(\0162\033.sonarqu" + 7038 "be.ws.ce.TaskStatus\022\023\n\013submittedAt\030\t \001(\t" + 7039 "\022\026\n\016submitterLogin\030\n \001(\t\022\021\n\tstartedAt\030\013 " + 7040 "\001(\t\022\022\n\nexecutedAt\030\014 \001(\t\022\026\n\016isLastExecute" + 7041 "d\030\r \001(\010\022\027\n\017executionTimeMs\030\016 \001(\003\022\014\n\004logs", 7042 "\030\017 \001(\010\022\024\n\014errorMessage\030\020 \001(\t\022\027\n\017errorSta" + 7043 "cktrace\030\021 \001(\t\022\026\n\016scannerContext\030\022 \001(\t\022\031\n" + 7044 "\021hasScannerContext\030\023 \001(\010*Q\n\nTaskStatus\022\013" + 7045 "\n\007PENDING\020\000\022\017\n\013IN_PROGRESS\020\001\022\013\n\007SUCCESS\020" + 7046 "\002\022\n\n\006FAILED\020\003\022\014\n\010CANCELED\020\004B\032\n\020org.sonar" + 7047 "qube.wsB\004WsCeH\001" 7048 }; 7049 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = 7050 new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { 7051 public com.google.protobuf.ExtensionRegistry assignDescriptors( 7052 com.google.protobuf.Descriptors.FileDescriptor root) { 7053 descriptor = root; 7054 return null; 7055 } 7056 }; 7057 com.google.protobuf.Descriptors.FileDescriptor 7058 .internalBuildGeneratedFileFrom(descriptorData, 7059 new com.google.protobuf.Descriptors.FileDescriptor[] { 7060 org.sonarqube.ws.Common.getDescriptor(), 7061 }, assigner); 7062 internal_static_sonarqube_ws_ce_SubmitResponse_descriptor = 7063 getDescriptor().getMessageTypes().get(0); 7064 internal_static_sonarqube_ws_ce_SubmitResponse_fieldAccessorTable = new 7065 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 7066 internal_static_sonarqube_ws_ce_SubmitResponse_descriptor, 7067 new java.lang.String[] { "TaskId", "ProjectId", }); 7068 internal_static_sonarqube_ws_ce_TaskResponse_descriptor = 7069 getDescriptor().getMessageTypes().get(1); 7070 internal_static_sonarqube_ws_ce_TaskResponse_fieldAccessorTable = new 7071 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 7072 internal_static_sonarqube_ws_ce_TaskResponse_descriptor, 7073 new java.lang.String[] { "Task", }); 7074 internal_static_sonarqube_ws_ce_ActivityResponse_descriptor = 7075 getDescriptor().getMessageTypes().get(2); 7076 internal_static_sonarqube_ws_ce_ActivityResponse_fieldAccessorTable = new 7077 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 7078 internal_static_sonarqube_ws_ce_ActivityResponse_descriptor, 7079 new java.lang.String[] { "UnusedPaging", "Tasks", }); 7080 internal_static_sonarqube_ws_ce_ActivityStatusWsResponse_descriptor = 7081 getDescriptor().getMessageTypes().get(3); 7082 internal_static_sonarqube_ws_ce_ActivityStatusWsResponse_fieldAccessorTable = new 7083 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 7084 internal_static_sonarqube_ws_ce_ActivityStatusWsResponse_descriptor, 7085 new java.lang.String[] { "Pending", "Failing", }); 7086 internal_static_sonarqube_ws_ce_ProjectResponse_descriptor = 7087 getDescriptor().getMessageTypes().get(4); 7088 internal_static_sonarqube_ws_ce_ProjectResponse_fieldAccessorTable = new 7089 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 7090 internal_static_sonarqube_ws_ce_ProjectResponse_descriptor, 7091 new java.lang.String[] { "Queue", "Current", }); 7092 internal_static_sonarqube_ws_ce_TaskTypesWsResponse_descriptor = 7093 getDescriptor().getMessageTypes().get(5); 7094 internal_static_sonarqube_ws_ce_TaskTypesWsResponse_fieldAccessorTable = new 7095 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 7096 internal_static_sonarqube_ws_ce_TaskTypesWsResponse_descriptor, 7097 new java.lang.String[] { "TaskTypes", }); 7098 internal_static_sonarqube_ws_ce_Task_descriptor = 7099 getDescriptor().getMessageTypes().get(6); 7100 internal_static_sonarqube_ws_ce_Task_fieldAccessorTable = new 7101 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 7102 internal_static_sonarqube_ws_ce_Task_descriptor, 7103 new java.lang.String[] { "Id", "Type", "ComponentId", "ComponentKey", "ComponentName", "ComponentQualifier", "AnalysisId", "Status", "SubmittedAt", "SubmitterLogin", "StartedAt", "ExecutedAt", "IsLastExecuted", "ExecutionTimeMs", "Logs", "ErrorMessage", "ErrorStacktrace", "ScannerContext", "HasScannerContext", }); 7104 org.sonarqube.ws.Common.getDescriptor(); 7105 } 7106 7107 // @@protoc_insertion_point(outer_class_scope) 7108}