001 // Generated by the protocol buffer compiler. DO NOT EDIT! 002 // source: js/js.serializer/src/js.proto 003 004 package org.jetbrains.kotlin.serialization.js; 005 006 public final class JsProtoBuf { 007 private JsProtoBuf() {} 008 public static void registerAllExtensions( 009 com.google.protobuf.ExtensionRegistryLite registry) { 010 registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.classAnnotation); 011 registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.callableAnnotation); 012 registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.compileTimeValue); 013 registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.parameterAnnotation); 014 registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.typeAnnotation); 015 } 016 public interface ClassesOrBuilder 017 extends com.google.protobuf.MessageLiteOrBuilder { 018 019 // repeated int32 class_name = 1 [packed = true]; 020 /** 021 * <code>repeated int32 class_name = 1 [packed = true];</code> 022 * 023 * <pre> 024 * id in StringTable 025 * </pre> 026 */ 027 java.util.List<java.lang.Integer> getClassNameList(); 028 /** 029 * <code>repeated int32 class_name = 1 [packed = true];</code> 030 * 031 * <pre> 032 * id in StringTable 033 * </pre> 034 */ 035 int getClassNameCount(); 036 /** 037 * <code>repeated int32 class_name = 1 [packed = true];</code> 038 * 039 * <pre> 040 * id in StringTable 041 * </pre> 042 */ 043 int getClassName(int index); 044 } 045 /** 046 * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Classes} 047 */ 048 public static final class Classes extends 049 com.google.protobuf.GeneratedMessageLite 050 implements ClassesOrBuilder { 051 // Use Classes.newBuilder() to construct. 052 private Classes(com.google.protobuf.GeneratedMessageLite.Builder builder) { 053 super(builder); 054 055 } 056 private Classes(boolean noInit) {} 057 058 private static final Classes defaultInstance; 059 public static Classes getDefaultInstance() { 060 return defaultInstance; 061 } 062 063 public Classes getDefaultInstanceForType() { 064 return defaultInstance; 065 } 066 067 private Classes( 068 com.google.protobuf.CodedInputStream input, 069 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 070 throws com.google.protobuf.InvalidProtocolBufferException { 071 initFields(); 072 int mutable_bitField0_ = 0; 073 try { 074 boolean done = false; 075 while (!done) { 076 int tag = input.readTag(); 077 switch (tag) { 078 case 0: 079 done = true; 080 break; 081 default: { 082 if (!parseUnknownField(input, 083 extensionRegistry, tag)) { 084 done = true; 085 } 086 break; 087 } 088 case 8: { 089 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { 090 className_ = new java.util.ArrayList<java.lang.Integer>(); 091 mutable_bitField0_ |= 0x00000001; 092 } 093 className_.add(input.readInt32()); 094 break; 095 } 096 case 10: { 097 int length = input.readRawVarint32(); 098 int limit = input.pushLimit(length); 099 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) { 100 className_ = new java.util.ArrayList<java.lang.Integer>(); 101 mutable_bitField0_ |= 0x00000001; 102 } 103 while (input.getBytesUntilLimit() > 0) { 104 className_.add(input.readInt32()); 105 } 106 input.popLimit(limit); 107 break; 108 } 109 } 110 } 111 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 112 throw e.setUnfinishedMessage(this); 113 } catch (java.io.IOException e) { 114 throw new com.google.protobuf.InvalidProtocolBufferException( 115 e.getMessage()).setUnfinishedMessage(this); 116 } finally { 117 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { 118 className_ = java.util.Collections.unmodifiableList(className_); 119 } 120 makeExtensionsImmutable(); 121 } 122 } 123 public static com.google.protobuf.Parser<Classes> PARSER = 124 new com.google.protobuf.AbstractParser<Classes>() { 125 public Classes parsePartialFrom( 126 com.google.protobuf.CodedInputStream input, 127 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 128 throws com.google.protobuf.InvalidProtocolBufferException { 129 return new Classes(input, extensionRegistry); 130 } 131 }; 132 133 @java.lang.Override 134 public com.google.protobuf.Parser<Classes> getParserForType() { 135 return PARSER; 136 } 137 138 // repeated int32 class_name = 1 [packed = true]; 139 public static final int CLASS_NAME_FIELD_NUMBER = 1; 140 private java.util.List<java.lang.Integer> className_; 141 /** 142 * <code>repeated int32 class_name = 1 [packed = true];</code> 143 * 144 * <pre> 145 * id in StringTable 146 * </pre> 147 */ 148 public java.util.List<java.lang.Integer> 149 getClassNameList() { 150 return className_; 151 } 152 /** 153 * <code>repeated int32 class_name = 1 [packed = true];</code> 154 * 155 * <pre> 156 * id in StringTable 157 * </pre> 158 */ 159 public int getClassNameCount() { 160 return className_.size(); 161 } 162 /** 163 * <code>repeated int32 class_name = 1 [packed = true];</code> 164 * 165 * <pre> 166 * id in StringTable 167 * </pre> 168 */ 169 public int getClassName(int index) { 170 return className_.get(index); 171 } 172 private int classNameMemoizedSerializedSize = -1; 173 174 private void initFields() { 175 className_ = java.util.Collections.emptyList(); 176 } 177 private byte memoizedIsInitialized = -1; 178 public final boolean isInitialized() { 179 byte isInitialized = memoizedIsInitialized; 180 if (isInitialized != -1) return isInitialized == 1; 181 182 memoizedIsInitialized = 1; 183 return true; 184 } 185 186 public void writeTo(com.google.protobuf.CodedOutputStream output) 187 throws java.io.IOException { 188 getSerializedSize(); 189 if (getClassNameList().size() > 0) { 190 output.writeRawVarint32(10); 191 output.writeRawVarint32(classNameMemoizedSerializedSize); 192 } 193 for (int i = 0; i < className_.size(); i++) { 194 output.writeInt32NoTag(className_.get(i)); 195 } 196 } 197 198 private int memoizedSerializedSize = -1; 199 public int getSerializedSize() { 200 int size = memoizedSerializedSize; 201 if (size != -1) return size; 202 203 size = 0; 204 { 205 int dataSize = 0; 206 for (int i = 0; i < className_.size(); i++) { 207 dataSize += com.google.protobuf.CodedOutputStream 208 .computeInt32SizeNoTag(className_.get(i)); 209 } 210 size += dataSize; 211 if (!getClassNameList().isEmpty()) { 212 size += 1; 213 size += com.google.protobuf.CodedOutputStream 214 .computeInt32SizeNoTag(dataSize); 215 } 216 classNameMemoizedSerializedSize = dataSize; 217 } 218 memoizedSerializedSize = size; 219 return size; 220 } 221 222 private static final long serialVersionUID = 0L; 223 @java.lang.Override 224 protected java.lang.Object writeReplace() 225 throws java.io.ObjectStreamException { 226 return super.writeReplace(); 227 } 228 229 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom( 230 com.google.protobuf.ByteString data) 231 throws com.google.protobuf.InvalidProtocolBufferException { 232 return PARSER.parseFrom(data); 233 } 234 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom( 235 com.google.protobuf.ByteString data, 236 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 237 throws com.google.protobuf.InvalidProtocolBufferException { 238 return PARSER.parseFrom(data, extensionRegistry); 239 } 240 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom(byte[] data) 241 throws com.google.protobuf.InvalidProtocolBufferException { 242 return PARSER.parseFrom(data); 243 } 244 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom( 245 byte[] data, 246 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 247 throws com.google.protobuf.InvalidProtocolBufferException { 248 return PARSER.parseFrom(data, extensionRegistry); 249 } 250 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom(java.io.InputStream input) 251 throws java.io.IOException { 252 return PARSER.parseFrom(input); 253 } 254 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom( 255 java.io.InputStream input, 256 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 257 throws java.io.IOException { 258 return PARSER.parseFrom(input, extensionRegistry); 259 } 260 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseDelimitedFrom(java.io.InputStream input) 261 throws java.io.IOException { 262 return PARSER.parseDelimitedFrom(input); 263 } 264 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseDelimitedFrom( 265 java.io.InputStream input, 266 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 267 throws java.io.IOException { 268 return PARSER.parseDelimitedFrom(input, extensionRegistry); 269 } 270 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom( 271 com.google.protobuf.CodedInputStream input) 272 throws java.io.IOException { 273 return PARSER.parseFrom(input); 274 } 275 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom( 276 com.google.protobuf.CodedInputStream input, 277 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 278 throws java.io.IOException { 279 return PARSER.parseFrom(input, extensionRegistry); 280 } 281 282 public static Builder newBuilder() { return Builder.create(); } 283 public Builder newBuilderForType() { return newBuilder(); } 284 public static Builder newBuilder(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes prototype) { 285 return newBuilder().mergeFrom(prototype); 286 } 287 public Builder toBuilder() { return newBuilder(this); } 288 289 /** 290 * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Classes} 291 */ 292 public static final class Builder extends 293 com.google.protobuf.GeneratedMessageLite.Builder< 294 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes, Builder> 295 implements org.jetbrains.kotlin.serialization.js.JsProtoBuf.ClassesOrBuilder { 296 // Construct using org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes.newBuilder() 297 private Builder() { 298 maybeForceBuilderInitialization(); 299 } 300 301 private void maybeForceBuilderInitialization() { 302 } 303 private static Builder create() { 304 return new Builder(); 305 } 306 307 public Builder clear() { 308 super.clear(); 309 className_ = java.util.Collections.emptyList(); 310 bitField0_ = (bitField0_ & ~0x00000001); 311 return this; 312 } 313 314 public Builder clone() { 315 return create().mergeFrom(buildPartial()); 316 } 317 318 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes getDefaultInstanceForType() { 319 return org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes.getDefaultInstance(); 320 } 321 322 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes build() { 323 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes result = buildPartial(); 324 if (!result.isInitialized()) { 325 throw newUninitializedMessageException(result); 326 } 327 return result; 328 } 329 330 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes buildPartial() { 331 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes result = new org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes(this); 332 int from_bitField0_ = bitField0_; 333 if (((bitField0_ & 0x00000001) == 0x00000001)) { 334 className_ = java.util.Collections.unmodifiableList(className_); 335 bitField0_ = (bitField0_ & ~0x00000001); 336 } 337 result.className_ = className_; 338 return result; 339 } 340 341 public Builder mergeFrom(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes other) { 342 if (other == org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes.getDefaultInstance()) return this; 343 if (!other.className_.isEmpty()) { 344 if (className_.isEmpty()) { 345 className_ = other.className_; 346 bitField0_ = (bitField0_ & ~0x00000001); 347 } else { 348 ensureClassNameIsMutable(); 349 className_.addAll(other.className_); 350 } 351 352 } 353 return this; 354 } 355 356 public final boolean isInitialized() { 357 return true; 358 } 359 360 public Builder mergeFrom( 361 com.google.protobuf.CodedInputStream input, 362 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 363 throws java.io.IOException { 364 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parsedMessage = null; 365 try { 366 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 367 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 368 parsedMessage = (org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes) e.getUnfinishedMessage(); 369 throw e; 370 } finally { 371 if (parsedMessage != null) { 372 mergeFrom(parsedMessage); 373 } 374 } 375 return this; 376 } 377 private int bitField0_; 378 379 // repeated int32 class_name = 1 [packed = true]; 380 private java.util.List<java.lang.Integer> className_ = java.util.Collections.emptyList(); 381 private void ensureClassNameIsMutable() { 382 if (!((bitField0_ & 0x00000001) == 0x00000001)) { 383 className_ = new java.util.ArrayList<java.lang.Integer>(className_); 384 bitField0_ |= 0x00000001; 385 } 386 } 387 /** 388 * <code>repeated int32 class_name = 1 [packed = true];</code> 389 * 390 * <pre> 391 * id in StringTable 392 * </pre> 393 */ 394 public java.util.List<java.lang.Integer> 395 getClassNameList() { 396 return java.util.Collections.unmodifiableList(className_); 397 } 398 /** 399 * <code>repeated int32 class_name = 1 [packed = true];</code> 400 * 401 * <pre> 402 * id in StringTable 403 * </pre> 404 */ 405 public int getClassNameCount() { 406 return className_.size(); 407 } 408 /** 409 * <code>repeated int32 class_name = 1 [packed = true];</code> 410 * 411 * <pre> 412 * id in StringTable 413 * </pre> 414 */ 415 public int getClassName(int index) { 416 return className_.get(index); 417 } 418 /** 419 * <code>repeated int32 class_name = 1 [packed = true];</code> 420 * 421 * <pre> 422 * id in StringTable 423 * </pre> 424 */ 425 public Builder setClassName( 426 int index, int value) { 427 ensureClassNameIsMutable(); 428 className_.set(index, value); 429 430 return this; 431 } 432 /** 433 * <code>repeated int32 class_name = 1 [packed = true];</code> 434 * 435 * <pre> 436 * id in StringTable 437 * </pre> 438 */ 439 public Builder addClassName(int value) { 440 ensureClassNameIsMutable(); 441 className_.add(value); 442 443 return this; 444 } 445 /** 446 * <code>repeated int32 class_name = 1 [packed = true];</code> 447 * 448 * <pre> 449 * id in StringTable 450 * </pre> 451 */ 452 public Builder addAllClassName( 453 java.lang.Iterable<? extends java.lang.Integer> values) { 454 ensureClassNameIsMutable(); 455 super.addAll(values, className_); 456 457 return this; 458 } 459 /** 460 * <code>repeated int32 class_name = 1 [packed = true];</code> 461 * 462 * <pre> 463 * id in StringTable 464 * </pre> 465 */ 466 public Builder clearClassName() { 467 className_ = java.util.Collections.emptyList(); 468 bitField0_ = (bitField0_ & ~0x00000001); 469 470 return this; 471 } 472 473 // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.js.Classes) 474 } 475 476 static { 477 defaultInstance = new Classes(true); 478 defaultInstance.initFields(); 479 } 480 481 // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.js.Classes) 482 } 483 484 public interface LibraryOrBuilder 485 extends com.google.protobuf.MessageLiteOrBuilder { 486 487 // repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; 488 /** 489 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 490 */ 491 java.util.List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry> 492 getEntryList(); 493 /** 494 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 495 */ 496 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry getEntry(int index); 497 /** 498 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 499 */ 500 int getEntryCount(); 501 } 502 /** 503 * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Library} 504 */ 505 public static final class Library extends 506 com.google.protobuf.GeneratedMessageLite 507 implements LibraryOrBuilder { 508 // Use Library.newBuilder() to construct. 509 private Library(com.google.protobuf.GeneratedMessageLite.Builder builder) { 510 super(builder); 511 512 } 513 private Library(boolean noInit) {} 514 515 private static final Library defaultInstance; 516 public static Library getDefaultInstance() { 517 return defaultInstance; 518 } 519 520 public Library getDefaultInstanceForType() { 521 return defaultInstance; 522 } 523 524 private Library( 525 com.google.protobuf.CodedInputStream input, 526 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 527 throws com.google.protobuf.InvalidProtocolBufferException { 528 initFields(); 529 int mutable_bitField0_ = 0; 530 try { 531 boolean done = false; 532 while (!done) { 533 int tag = input.readTag(); 534 switch (tag) { 535 case 0: 536 done = true; 537 break; 538 default: { 539 if (!parseUnknownField(input, 540 extensionRegistry, tag)) { 541 done = true; 542 } 543 break; 544 } 545 case 10: { 546 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { 547 entry_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry>(); 548 mutable_bitField0_ |= 0x00000001; 549 } 550 entry_.add(input.readMessage(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.PARSER, extensionRegistry)); 551 break; 552 } 553 } 554 } 555 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 556 throw e.setUnfinishedMessage(this); 557 } catch (java.io.IOException e) { 558 throw new com.google.protobuf.InvalidProtocolBufferException( 559 e.getMessage()).setUnfinishedMessage(this); 560 } finally { 561 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { 562 entry_ = java.util.Collections.unmodifiableList(entry_); 563 } 564 makeExtensionsImmutable(); 565 } 566 } 567 public static com.google.protobuf.Parser<Library> PARSER = 568 new com.google.protobuf.AbstractParser<Library>() { 569 public Library parsePartialFrom( 570 com.google.protobuf.CodedInputStream input, 571 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 572 throws com.google.protobuf.InvalidProtocolBufferException { 573 return new Library(input, extensionRegistry); 574 } 575 }; 576 577 @java.lang.Override 578 public com.google.protobuf.Parser<Library> getParserForType() { 579 return PARSER; 580 } 581 582 public interface FileEntryOrBuilder 583 extends com.google.protobuf.MessageLiteOrBuilder { 584 585 // required string path = 1; 586 /** 587 * <code>required string path = 1;</code> 588 */ 589 boolean hasPath(); 590 /** 591 * <code>required string path = 1;</code> 592 */ 593 java.lang.String getPath(); 594 /** 595 * <code>required string path = 1;</code> 596 */ 597 com.google.protobuf.ByteString 598 getPathBytes(); 599 600 // required bytes content = 2; 601 /** 602 * <code>required bytes content = 2;</code> 603 */ 604 boolean hasContent(); 605 /** 606 * <code>required bytes content = 2;</code> 607 */ 608 com.google.protobuf.ByteString getContent(); 609 } 610 /** 611 * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Library.FileEntry} 612 */ 613 public static final class FileEntry extends 614 com.google.protobuf.GeneratedMessageLite 615 implements FileEntryOrBuilder { 616 // Use FileEntry.newBuilder() to construct. 617 private FileEntry(com.google.protobuf.GeneratedMessageLite.Builder builder) { 618 super(builder); 619 620 } 621 private FileEntry(boolean noInit) {} 622 623 private static final FileEntry defaultInstance; 624 public static FileEntry getDefaultInstance() { 625 return defaultInstance; 626 } 627 628 public FileEntry getDefaultInstanceForType() { 629 return defaultInstance; 630 } 631 632 private FileEntry( 633 com.google.protobuf.CodedInputStream input, 634 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 635 throws com.google.protobuf.InvalidProtocolBufferException { 636 initFields(); 637 int mutable_bitField0_ = 0; 638 try { 639 boolean done = false; 640 while (!done) { 641 int tag = input.readTag(); 642 switch (tag) { 643 case 0: 644 done = true; 645 break; 646 default: { 647 if (!parseUnknownField(input, 648 extensionRegistry, tag)) { 649 done = true; 650 } 651 break; 652 } 653 case 10: { 654 bitField0_ |= 0x00000001; 655 path_ = input.readBytes(); 656 break; 657 } 658 case 18: { 659 bitField0_ |= 0x00000002; 660 content_ = input.readBytes(); 661 break; 662 } 663 } 664 } 665 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 666 throw e.setUnfinishedMessage(this); 667 } catch (java.io.IOException e) { 668 throw new com.google.protobuf.InvalidProtocolBufferException( 669 e.getMessage()).setUnfinishedMessage(this); 670 } finally { 671 makeExtensionsImmutable(); 672 } 673 } 674 public static com.google.protobuf.Parser<FileEntry> PARSER = 675 new com.google.protobuf.AbstractParser<FileEntry>() { 676 public FileEntry parsePartialFrom( 677 com.google.protobuf.CodedInputStream input, 678 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 679 throws com.google.protobuf.InvalidProtocolBufferException { 680 return new FileEntry(input, extensionRegistry); 681 } 682 }; 683 684 @java.lang.Override 685 public com.google.protobuf.Parser<FileEntry> getParserForType() { 686 return PARSER; 687 } 688 689 private int bitField0_; 690 // required string path = 1; 691 public static final int PATH_FIELD_NUMBER = 1; 692 private java.lang.Object path_; 693 /** 694 * <code>required string path = 1;</code> 695 */ 696 public boolean hasPath() { 697 return ((bitField0_ & 0x00000001) == 0x00000001); 698 } 699 /** 700 * <code>required string path = 1;</code> 701 */ 702 public java.lang.String getPath() { 703 java.lang.Object ref = path_; 704 if (ref instanceof java.lang.String) { 705 return (java.lang.String) ref; 706 } else { 707 com.google.protobuf.ByteString bs = 708 (com.google.protobuf.ByteString) ref; 709 java.lang.String s = bs.toStringUtf8(); 710 if (bs.isValidUtf8()) { 711 path_ = s; 712 } 713 return s; 714 } 715 } 716 /** 717 * <code>required string path = 1;</code> 718 */ 719 public com.google.protobuf.ByteString 720 getPathBytes() { 721 java.lang.Object ref = path_; 722 if (ref instanceof java.lang.String) { 723 com.google.protobuf.ByteString b = 724 com.google.protobuf.ByteString.copyFromUtf8( 725 (java.lang.String) ref); 726 path_ = b; 727 return b; 728 } else { 729 return (com.google.protobuf.ByteString) ref; 730 } 731 } 732 733 // required bytes content = 2; 734 public static final int CONTENT_FIELD_NUMBER = 2; 735 private com.google.protobuf.ByteString content_; 736 /** 737 * <code>required bytes content = 2;</code> 738 */ 739 public boolean hasContent() { 740 return ((bitField0_ & 0x00000002) == 0x00000002); 741 } 742 /** 743 * <code>required bytes content = 2;</code> 744 */ 745 public com.google.protobuf.ByteString getContent() { 746 return content_; 747 } 748 749 private void initFields() { 750 path_ = ""; 751 content_ = com.google.protobuf.ByteString.EMPTY; 752 } 753 private byte memoizedIsInitialized = -1; 754 public final boolean isInitialized() { 755 byte isInitialized = memoizedIsInitialized; 756 if (isInitialized != -1) return isInitialized == 1; 757 758 if (!hasPath()) { 759 memoizedIsInitialized = 0; 760 return false; 761 } 762 if (!hasContent()) { 763 memoizedIsInitialized = 0; 764 return false; 765 } 766 memoizedIsInitialized = 1; 767 return true; 768 } 769 770 public void writeTo(com.google.protobuf.CodedOutputStream output) 771 throws java.io.IOException { 772 getSerializedSize(); 773 if (((bitField0_ & 0x00000001) == 0x00000001)) { 774 output.writeBytes(1, getPathBytes()); 775 } 776 if (((bitField0_ & 0x00000002) == 0x00000002)) { 777 output.writeBytes(2, content_); 778 } 779 } 780 781 private int memoizedSerializedSize = -1; 782 public int getSerializedSize() { 783 int size = memoizedSerializedSize; 784 if (size != -1) return size; 785 786 size = 0; 787 if (((bitField0_ & 0x00000001) == 0x00000001)) { 788 size += com.google.protobuf.CodedOutputStream 789 .computeBytesSize(1, getPathBytes()); 790 } 791 if (((bitField0_ & 0x00000002) == 0x00000002)) { 792 size += com.google.protobuf.CodedOutputStream 793 .computeBytesSize(2, content_); 794 } 795 memoizedSerializedSize = size; 796 return size; 797 } 798 799 private static final long serialVersionUID = 0L; 800 @java.lang.Override 801 protected java.lang.Object writeReplace() 802 throws java.io.ObjectStreamException { 803 return super.writeReplace(); 804 } 805 806 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom( 807 com.google.protobuf.ByteString data) 808 throws com.google.protobuf.InvalidProtocolBufferException { 809 return PARSER.parseFrom(data); 810 } 811 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom( 812 com.google.protobuf.ByteString data, 813 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 814 throws com.google.protobuf.InvalidProtocolBufferException { 815 return PARSER.parseFrom(data, extensionRegistry); 816 } 817 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom(byte[] data) 818 throws com.google.protobuf.InvalidProtocolBufferException { 819 return PARSER.parseFrom(data); 820 } 821 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom( 822 byte[] data, 823 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 824 throws com.google.protobuf.InvalidProtocolBufferException { 825 return PARSER.parseFrom(data, extensionRegistry); 826 } 827 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom(java.io.InputStream input) 828 throws java.io.IOException { 829 return PARSER.parseFrom(input); 830 } 831 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom( 832 java.io.InputStream input, 833 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 834 throws java.io.IOException { 835 return PARSER.parseFrom(input, extensionRegistry); 836 } 837 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseDelimitedFrom(java.io.InputStream input) 838 throws java.io.IOException { 839 return PARSER.parseDelimitedFrom(input); 840 } 841 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseDelimitedFrom( 842 java.io.InputStream input, 843 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 844 throws java.io.IOException { 845 return PARSER.parseDelimitedFrom(input, extensionRegistry); 846 } 847 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom( 848 com.google.protobuf.CodedInputStream input) 849 throws java.io.IOException { 850 return PARSER.parseFrom(input); 851 } 852 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom( 853 com.google.protobuf.CodedInputStream input, 854 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 855 throws java.io.IOException { 856 return PARSER.parseFrom(input, extensionRegistry); 857 } 858 859 public static Builder newBuilder() { return Builder.create(); } 860 public Builder newBuilderForType() { return newBuilder(); } 861 public static Builder newBuilder(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry prototype) { 862 return newBuilder().mergeFrom(prototype); 863 } 864 public Builder toBuilder() { return newBuilder(this); } 865 866 /** 867 * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Library.FileEntry} 868 */ 869 public static final class Builder extends 870 com.google.protobuf.GeneratedMessageLite.Builder< 871 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry, Builder> 872 implements org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntryOrBuilder { 873 // Construct using org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.newBuilder() 874 private Builder() { 875 maybeForceBuilderInitialization(); 876 } 877 878 private void maybeForceBuilderInitialization() { 879 } 880 private static Builder create() { 881 return new Builder(); 882 } 883 884 public Builder clear() { 885 super.clear(); 886 path_ = ""; 887 bitField0_ = (bitField0_ & ~0x00000001); 888 content_ = com.google.protobuf.ByteString.EMPTY; 889 bitField0_ = (bitField0_ & ~0x00000002); 890 return this; 891 } 892 893 public Builder clone() { 894 return create().mergeFrom(buildPartial()); 895 } 896 897 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry getDefaultInstanceForType() { 898 return org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.getDefaultInstance(); 899 } 900 901 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry build() { 902 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry result = buildPartial(); 903 if (!result.isInitialized()) { 904 throw newUninitializedMessageException(result); 905 } 906 return result; 907 } 908 909 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry buildPartial() { 910 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry result = new org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry(this); 911 int from_bitField0_ = bitField0_; 912 int to_bitField0_ = 0; 913 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 914 to_bitField0_ |= 0x00000001; 915 } 916 result.path_ = path_; 917 if (((from_bitField0_ & 0x00000002) == 0x00000002)) { 918 to_bitField0_ |= 0x00000002; 919 } 920 result.content_ = content_; 921 result.bitField0_ = to_bitField0_; 922 return result; 923 } 924 925 public Builder mergeFrom(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry other) { 926 if (other == org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.getDefaultInstance()) return this; 927 if (other.hasPath()) { 928 bitField0_ |= 0x00000001; 929 path_ = other.path_; 930 931 } 932 if (other.hasContent()) { 933 setContent(other.getContent()); 934 } 935 return this; 936 } 937 938 public final boolean isInitialized() { 939 if (!hasPath()) { 940 941 return false; 942 } 943 if (!hasContent()) { 944 945 return false; 946 } 947 return true; 948 } 949 950 public Builder mergeFrom( 951 com.google.protobuf.CodedInputStream input, 952 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 953 throws java.io.IOException { 954 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parsedMessage = null; 955 try { 956 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 957 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 958 parsedMessage = (org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry) e.getUnfinishedMessage(); 959 throw e; 960 } finally { 961 if (parsedMessage != null) { 962 mergeFrom(parsedMessage); 963 } 964 } 965 return this; 966 } 967 private int bitField0_; 968 969 // required string path = 1; 970 private java.lang.Object path_ = ""; 971 /** 972 * <code>required string path = 1;</code> 973 */ 974 public boolean hasPath() { 975 return ((bitField0_ & 0x00000001) == 0x00000001); 976 } 977 /** 978 * <code>required string path = 1;</code> 979 */ 980 public java.lang.String getPath() { 981 java.lang.Object ref = path_; 982 if (!(ref instanceof java.lang.String)) { 983 java.lang.String s = ((com.google.protobuf.ByteString) ref) 984 .toStringUtf8(); 985 path_ = s; 986 return s; 987 } else { 988 return (java.lang.String) ref; 989 } 990 } 991 /** 992 * <code>required string path = 1;</code> 993 */ 994 public com.google.protobuf.ByteString 995 getPathBytes() { 996 java.lang.Object ref = path_; 997 if (ref instanceof String) { 998 com.google.protobuf.ByteString b = 999 com.google.protobuf.ByteString.copyFromUtf8( 1000 (java.lang.String) ref); 1001 path_ = b; 1002 return b; 1003 } else { 1004 return (com.google.protobuf.ByteString) ref; 1005 } 1006 } 1007 /** 1008 * <code>required string path = 1;</code> 1009 */ 1010 public Builder setPath( 1011 java.lang.String value) { 1012 if (value == null) { 1013 throw new NullPointerException(); 1014 } 1015 bitField0_ |= 0x00000001; 1016 path_ = value; 1017 1018 return this; 1019 } 1020 /** 1021 * <code>required string path = 1;</code> 1022 */ 1023 public Builder clearPath() { 1024 bitField0_ = (bitField0_ & ~0x00000001); 1025 path_ = getDefaultInstance().getPath(); 1026 1027 return this; 1028 } 1029 /** 1030 * <code>required string path = 1;</code> 1031 */ 1032 public Builder setPathBytes( 1033 com.google.protobuf.ByteString value) { 1034 if (value == null) { 1035 throw new NullPointerException(); 1036 } 1037 bitField0_ |= 0x00000001; 1038 path_ = value; 1039 1040 return this; 1041 } 1042 1043 // required bytes content = 2; 1044 private com.google.protobuf.ByteString content_ = com.google.protobuf.ByteString.EMPTY; 1045 /** 1046 * <code>required bytes content = 2;</code> 1047 */ 1048 public boolean hasContent() { 1049 return ((bitField0_ & 0x00000002) == 0x00000002); 1050 } 1051 /** 1052 * <code>required bytes content = 2;</code> 1053 */ 1054 public com.google.protobuf.ByteString getContent() { 1055 return content_; 1056 } 1057 /** 1058 * <code>required bytes content = 2;</code> 1059 */ 1060 public Builder setContent(com.google.protobuf.ByteString value) { 1061 if (value == null) { 1062 throw new NullPointerException(); 1063 } 1064 bitField0_ |= 0x00000002; 1065 content_ = value; 1066 1067 return this; 1068 } 1069 /** 1070 * <code>required bytes content = 2;</code> 1071 */ 1072 public Builder clearContent() { 1073 bitField0_ = (bitField0_ & ~0x00000002); 1074 content_ = getDefaultInstance().getContent(); 1075 1076 return this; 1077 } 1078 1079 // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.js.Library.FileEntry) 1080 } 1081 1082 static { 1083 defaultInstance = new FileEntry(true); 1084 defaultInstance.initFields(); 1085 } 1086 1087 // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.js.Library.FileEntry) 1088 } 1089 1090 // repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; 1091 public static final int ENTRY_FIELD_NUMBER = 1; 1092 private java.util.List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry> entry_; 1093 /** 1094 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1095 */ 1096 public java.util.List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry> getEntryList() { 1097 return entry_; 1098 } 1099 /** 1100 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1101 */ 1102 public java.util.List<? extends org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntryOrBuilder> 1103 getEntryOrBuilderList() { 1104 return entry_; 1105 } 1106 /** 1107 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1108 */ 1109 public int getEntryCount() { 1110 return entry_.size(); 1111 } 1112 /** 1113 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1114 */ 1115 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry getEntry(int index) { 1116 return entry_.get(index); 1117 } 1118 /** 1119 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1120 */ 1121 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntryOrBuilder getEntryOrBuilder( 1122 int index) { 1123 return entry_.get(index); 1124 } 1125 1126 private void initFields() { 1127 entry_ = java.util.Collections.emptyList(); 1128 } 1129 private byte memoizedIsInitialized = -1; 1130 public final boolean isInitialized() { 1131 byte isInitialized = memoizedIsInitialized; 1132 if (isInitialized != -1) return isInitialized == 1; 1133 1134 for (int i = 0; i < getEntryCount(); i++) { 1135 if (!getEntry(i).isInitialized()) { 1136 memoizedIsInitialized = 0; 1137 return false; 1138 } 1139 } 1140 memoizedIsInitialized = 1; 1141 return true; 1142 } 1143 1144 public void writeTo(com.google.protobuf.CodedOutputStream output) 1145 throws java.io.IOException { 1146 getSerializedSize(); 1147 for (int i = 0; i < entry_.size(); i++) { 1148 output.writeMessage(1, entry_.get(i)); 1149 } 1150 } 1151 1152 private int memoizedSerializedSize = -1; 1153 public int getSerializedSize() { 1154 int size = memoizedSerializedSize; 1155 if (size != -1) return size; 1156 1157 size = 0; 1158 for (int i = 0; i < entry_.size(); i++) { 1159 size += com.google.protobuf.CodedOutputStream 1160 .computeMessageSize(1, entry_.get(i)); 1161 } 1162 memoizedSerializedSize = size; 1163 return size; 1164 } 1165 1166 private static final long serialVersionUID = 0L; 1167 @java.lang.Override 1168 protected java.lang.Object writeReplace() 1169 throws java.io.ObjectStreamException { 1170 return super.writeReplace(); 1171 } 1172 1173 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom( 1174 com.google.protobuf.ByteString data) 1175 throws com.google.protobuf.InvalidProtocolBufferException { 1176 return PARSER.parseFrom(data); 1177 } 1178 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom( 1179 com.google.protobuf.ByteString data, 1180 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1181 throws com.google.protobuf.InvalidProtocolBufferException { 1182 return PARSER.parseFrom(data, extensionRegistry); 1183 } 1184 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(byte[] data) 1185 throws com.google.protobuf.InvalidProtocolBufferException { 1186 return PARSER.parseFrom(data); 1187 } 1188 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom( 1189 byte[] data, 1190 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1191 throws com.google.protobuf.InvalidProtocolBufferException { 1192 return PARSER.parseFrom(data, extensionRegistry); 1193 } 1194 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(java.io.InputStream input) 1195 throws java.io.IOException { 1196 return PARSER.parseFrom(input); 1197 } 1198 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom( 1199 java.io.InputStream input, 1200 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1201 throws java.io.IOException { 1202 return PARSER.parseFrom(input, extensionRegistry); 1203 } 1204 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseDelimitedFrom(java.io.InputStream input) 1205 throws java.io.IOException { 1206 return PARSER.parseDelimitedFrom(input); 1207 } 1208 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseDelimitedFrom( 1209 java.io.InputStream input, 1210 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1211 throws java.io.IOException { 1212 return PARSER.parseDelimitedFrom(input, extensionRegistry); 1213 } 1214 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom( 1215 com.google.protobuf.CodedInputStream input) 1216 throws java.io.IOException { 1217 return PARSER.parseFrom(input); 1218 } 1219 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom( 1220 com.google.protobuf.CodedInputStream input, 1221 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1222 throws java.io.IOException { 1223 return PARSER.parseFrom(input, extensionRegistry); 1224 } 1225 1226 public static Builder newBuilder() { return Builder.create(); } 1227 public Builder newBuilderForType() { return newBuilder(); } 1228 public static Builder newBuilder(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library prototype) { 1229 return newBuilder().mergeFrom(prototype); 1230 } 1231 public Builder toBuilder() { return newBuilder(this); } 1232 1233 /** 1234 * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Library} 1235 */ 1236 public static final class Builder extends 1237 com.google.protobuf.GeneratedMessageLite.Builder< 1238 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library, Builder> 1239 implements org.jetbrains.kotlin.serialization.js.JsProtoBuf.LibraryOrBuilder { 1240 // Construct using org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.newBuilder() 1241 private Builder() { 1242 maybeForceBuilderInitialization(); 1243 } 1244 1245 private void maybeForceBuilderInitialization() { 1246 } 1247 private static Builder create() { 1248 return new Builder(); 1249 } 1250 1251 public Builder clear() { 1252 super.clear(); 1253 entry_ = java.util.Collections.emptyList(); 1254 bitField0_ = (bitField0_ & ~0x00000001); 1255 return this; 1256 } 1257 1258 public Builder clone() { 1259 return create().mergeFrom(buildPartial()); 1260 } 1261 1262 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library getDefaultInstanceForType() { 1263 return org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.getDefaultInstance(); 1264 } 1265 1266 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library build() { 1267 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library result = buildPartial(); 1268 if (!result.isInitialized()) { 1269 throw newUninitializedMessageException(result); 1270 } 1271 return result; 1272 } 1273 1274 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library buildPartial() { 1275 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library result = new org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library(this); 1276 int from_bitField0_ = bitField0_; 1277 if (((bitField0_ & 0x00000001) == 0x00000001)) { 1278 entry_ = java.util.Collections.unmodifiableList(entry_); 1279 bitField0_ = (bitField0_ & ~0x00000001); 1280 } 1281 result.entry_ = entry_; 1282 return result; 1283 } 1284 1285 public Builder mergeFrom(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library other) { 1286 if (other == org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.getDefaultInstance()) return this; 1287 if (!other.entry_.isEmpty()) { 1288 if (entry_.isEmpty()) { 1289 entry_ = other.entry_; 1290 bitField0_ = (bitField0_ & ~0x00000001); 1291 } else { 1292 ensureEntryIsMutable(); 1293 entry_.addAll(other.entry_); 1294 } 1295 1296 } 1297 return this; 1298 } 1299 1300 public final boolean isInitialized() { 1301 for (int i = 0; i < getEntryCount(); i++) { 1302 if (!getEntry(i).isInitialized()) { 1303 1304 return false; 1305 } 1306 } 1307 return true; 1308 } 1309 1310 public Builder mergeFrom( 1311 com.google.protobuf.CodedInputStream input, 1312 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1313 throws java.io.IOException { 1314 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parsedMessage = null; 1315 try { 1316 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 1317 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 1318 parsedMessage = (org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library) e.getUnfinishedMessage(); 1319 throw e; 1320 } finally { 1321 if (parsedMessage != null) { 1322 mergeFrom(parsedMessage); 1323 } 1324 } 1325 return this; 1326 } 1327 private int bitField0_; 1328 1329 // repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; 1330 private java.util.List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry> entry_ = 1331 java.util.Collections.emptyList(); 1332 private void ensureEntryIsMutable() { 1333 if (!((bitField0_ & 0x00000001) == 0x00000001)) { 1334 entry_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry>(entry_); 1335 bitField0_ |= 0x00000001; 1336 } 1337 } 1338 1339 /** 1340 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1341 */ 1342 public java.util.List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry> getEntryList() { 1343 return java.util.Collections.unmodifiableList(entry_); 1344 } 1345 /** 1346 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1347 */ 1348 public int getEntryCount() { 1349 return entry_.size(); 1350 } 1351 /** 1352 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1353 */ 1354 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry getEntry(int index) { 1355 return entry_.get(index); 1356 } 1357 /** 1358 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1359 */ 1360 public Builder setEntry( 1361 int index, org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry value) { 1362 if (value == null) { 1363 throw new NullPointerException(); 1364 } 1365 ensureEntryIsMutable(); 1366 entry_.set(index, value); 1367 1368 return this; 1369 } 1370 /** 1371 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1372 */ 1373 public Builder setEntry( 1374 int index, org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.Builder builderForValue) { 1375 ensureEntryIsMutable(); 1376 entry_.set(index, builderForValue.build()); 1377 1378 return this; 1379 } 1380 /** 1381 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1382 */ 1383 public Builder addEntry(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry value) { 1384 if (value == null) { 1385 throw new NullPointerException(); 1386 } 1387 ensureEntryIsMutable(); 1388 entry_.add(value); 1389 1390 return this; 1391 } 1392 /** 1393 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1394 */ 1395 public Builder addEntry( 1396 int index, org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry value) { 1397 if (value == null) { 1398 throw new NullPointerException(); 1399 } 1400 ensureEntryIsMutable(); 1401 entry_.add(index, value); 1402 1403 return this; 1404 } 1405 /** 1406 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1407 */ 1408 public Builder addEntry( 1409 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.Builder builderForValue) { 1410 ensureEntryIsMutable(); 1411 entry_.add(builderForValue.build()); 1412 1413 return this; 1414 } 1415 /** 1416 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1417 */ 1418 public Builder addEntry( 1419 int index, org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.Builder builderForValue) { 1420 ensureEntryIsMutable(); 1421 entry_.add(index, builderForValue.build()); 1422 1423 return this; 1424 } 1425 /** 1426 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1427 */ 1428 public Builder addAllEntry( 1429 java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry> values) { 1430 ensureEntryIsMutable(); 1431 super.addAll(values, entry_); 1432 1433 return this; 1434 } 1435 /** 1436 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1437 */ 1438 public Builder clearEntry() { 1439 entry_ = java.util.Collections.emptyList(); 1440 bitField0_ = (bitField0_ & ~0x00000001); 1441 1442 return this; 1443 } 1444 /** 1445 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1446 */ 1447 public Builder removeEntry(int index) { 1448 ensureEntryIsMutable(); 1449 entry_.remove(index); 1450 1451 return this; 1452 } 1453 1454 // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.js.Library) 1455 } 1456 1457 static { 1458 defaultInstance = new Library(true); 1459 defaultInstance.initFields(); 1460 } 1461 1462 // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.js.Library) 1463 } 1464 1465 public static final int CLASS_ANNOTATION_FIELD_NUMBER = 130; 1466 /** 1467 * <code>extend .org.jetbrains.kotlin.serialization.Class { ... }</code> 1468 */ 1469 public static final 1470 com.google.protobuf.GeneratedMessageLite.GeneratedExtension< 1471 org.jetbrains.kotlin.serialization.ProtoBuf.Class, 1472 java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation>> classAnnotation = com.google.protobuf.GeneratedMessageLite 1473 .newRepeatedGeneratedExtension( 1474 org.jetbrains.kotlin.serialization.ProtoBuf.Class.getDefaultInstance(), 1475 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(), 1476 null, 1477 130, 1478 com.google.protobuf.WireFormat.FieldType.MESSAGE, 1479 false); 1480 public static final int CALLABLE_ANNOTATION_FIELD_NUMBER = 130; 1481 /** 1482 * <code>extend .org.jetbrains.kotlin.serialization.Callable { ... }</code> 1483 */ 1484 public static final 1485 com.google.protobuf.GeneratedMessageLite.GeneratedExtension< 1486 org.jetbrains.kotlin.serialization.ProtoBuf.Callable, 1487 java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation>> callableAnnotation = com.google.protobuf.GeneratedMessageLite 1488 .newRepeatedGeneratedExtension( 1489 org.jetbrains.kotlin.serialization.ProtoBuf.Callable.getDefaultInstance(), 1490 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(), 1491 null, 1492 130, 1493 com.google.protobuf.WireFormat.FieldType.MESSAGE, 1494 false); 1495 public static final int COMPILE_TIME_VALUE_FIELD_NUMBER = 131; 1496 /** 1497 * <code>extend .org.jetbrains.kotlin.serialization.Callable { ... }</code> 1498 */ 1499 public static final 1500 com.google.protobuf.GeneratedMessageLite.GeneratedExtension< 1501 org.jetbrains.kotlin.serialization.ProtoBuf.Callable, 1502 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value> compileTimeValue = com.google.protobuf.GeneratedMessageLite 1503 .newSingularGeneratedExtension( 1504 org.jetbrains.kotlin.serialization.ProtoBuf.Callable.getDefaultInstance(), 1505 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.getDefaultInstance(), 1506 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.getDefaultInstance(), 1507 null, 1508 131, 1509 com.google.protobuf.WireFormat.FieldType.MESSAGE); 1510 public static final int PARAMETER_ANNOTATION_FIELD_NUMBER = 130; 1511 /** 1512 * <code>extend .org.jetbrains.kotlin.serialization.Callable.ValueParameter { ... }</code> 1513 */ 1514 public static final 1515 com.google.protobuf.GeneratedMessageLite.GeneratedExtension< 1516 org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter, 1517 java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation>> parameterAnnotation = com.google.protobuf.GeneratedMessageLite 1518 .newRepeatedGeneratedExtension( 1519 org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter.getDefaultInstance(), 1520 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(), 1521 null, 1522 130, 1523 com.google.protobuf.WireFormat.FieldType.MESSAGE, 1524 false); 1525 public static final int TYPE_ANNOTATION_FIELD_NUMBER = 130; 1526 /** 1527 * <code>extend .org.jetbrains.kotlin.serialization.Type { ... }</code> 1528 */ 1529 public static final 1530 com.google.protobuf.GeneratedMessageLite.GeneratedExtension< 1531 org.jetbrains.kotlin.serialization.ProtoBuf.Type, 1532 java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation>> typeAnnotation = com.google.protobuf.GeneratedMessageLite 1533 .newRepeatedGeneratedExtension( 1534 org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(), 1535 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(), 1536 null, 1537 130, 1538 com.google.protobuf.WireFormat.FieldType.MESSAGE, 1539 false); 1540 1541 static { 1542 } 1543 1544 // @@protoc_insertion_point(outer_class_scope) 1545 }