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 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite registry) { 010 registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.classAnnotation); 011 registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.constructorAnnotation); 012 registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.functionAnnotation); 013 registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.propertyAnnotation); 014 registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.compileTimeValue); 015 registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.enumEntryAnnotation); 016 registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.parameterAnnotation); 017 registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.typeAnnotation); 018 registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.typeParameterAnnotation); 019 } 020 public interface ClassesOrBuilder extends 021 // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.js.Classes) 022 org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder { 023 024 /** 025 * <code>repeated int32 class_name = 1 [packed = true];</code> 026 * 027 * <pre> 028 * id in StringTable 029 * </pre> 030 */ 031 java.util.List<java.lang.Integer> getClassNameList(); 032 /** 033 * <code>repeated int32 class_name = 1 [packed = true];</code> 034 * 035 * <pre> 036 * id in StringTable 037 * </pre> 038 */ 039 int getClassNameCount(); 040 /** 041 * <code>repeated int32 class_name = 1 [packed = true];</code> 042 * 043 * <pre> 044 * id in StringTable 045 * </pre> 046 */ 047 int getClassName(int index); 048 } 049 /** 050 * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Classes} 051 */ 052 public static final class Classes extends 053 org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements 054 // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.js.Classes) 055 ClassesOrBuilder { 056 // Use Classes.newBuilder() to construct. 057 private Classes(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) { 058 super(builder); 059 this.unknownFields = builder.getUnknownFields(); 060 } 061 private Classes(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;} 062 063 private static final Classes defaultInstance; 064 public static Classes getDefaultInstance() { 065 return defaultInstance; 066 } 067 068 public Classes getDefaultInstanceForType() { 069 return defaultInstance; 070 } 071 072 private final org.jetbrains.kotlin.protobuf.ByteString unknownFields; 073 private Classes( 074 org.jetbrains.kotlin.protobuf.CodedInputStream input, 075 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) 076 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { 077 initFields(); 078 int mutable_bitField0_ = 0; 079 org.jetbrains.kotlin.protobuf.ByteString.Output unknownFieldsOutput = 080 org.jetbrains.kotlin.protobuf.ByteString.newOutput(); 081 org.jetbrains.kotlin.protobuf.CodedOutputStream unknownFieldsCodedOutput = 082 org.jetbrains.kotlin.protobuf.CodedOutputStream.newInstance( 083 unknownFieldsOutput); 084 try { 085 boolean done = false; 086 while (!done) { 087 int tag = input.readTag(); 088 switch (tag) { 089 case 0: 090 done = true; 091 break; 092 default: { 093 if (!parseUnknownField(input, unknownFieldsCodedOutput, 094 extensionRegistry, tag)) { 095 done = true; 096 } 097 break; 098 } 099 case 8: { 100 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { 101 className_ = new java.util.ArrayList<java.lang.Integer>(); 102 mutable_bitField0_ |= 0x00000001; 103 } 104 className_.add(input.readInt32()); 105 break; 106 } 107 case 10: { 108 int length = input.readRawVarint32(); 109 int limit = input.pushLimit(length); 110 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) { 111 className_ = new java.util.ArrayList<java.lang.Integer>(); 112 mutable_bitField0_ |= 0x00000001; 113 } 114 while (input.getBytesUntilLimit() > 0) { 115 className_.add(input.readInt32()); 116 } 117 input.popLimit(limit); 118 break; 119 } 120 } 121 } 122 } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { 123 throw e.setUnfinishedMessage(this); 124 } catch (java.io.IOException e) { 125 throw new org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException( 126 e.getMessage()).setUnfinishedMessage(this); 127 } finally { 128 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { 129 className_ = java.util.Collections.unmodifiableList(className_); 130 } 131 try { 132 unknownFieldsCodedOutput.flush(); 133 } catch (java.io.IOException e) { 134 // Should not happen 135 } finally { 136 unknownFields = unknownFieldsOutput.toByteString(); 137 } 138 makeExtensionsImmutable(); 139 } 140 } 141 public static org.jetbrains.kotlin.protobuf.Parser<Classes> PARSER = 142 new org.jetbrains.kotlin.protobuf.AbstractParser<Classes>() { 143 public Classes parsePartialFrom( 144 org.jetbrains.kotlin.protobuf.CodedInputStream input, 145 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) 146 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { 147 return new Classes(input, extensionRegistry); 148 } 149 }; 150 151 @java.lang.Override 152 public org.jetbrains.kotlin.protobuf.Parser<Classes> getParserForType() { 153 return PARSER; 154 } 155 156 public static final int CLASS_NAME_FIELD_NUMBER = 1; 157 private java.util.List<java.lang.Integer> className_; 158 /** 159 * <code>repeated int32 class_name = 1 [packed = true];</code> 160 * 161 * <pre> 162 * id in StringTable 163 * </pre> 164 */ 165 public java.util.List<java.lang.Integer> 166 getClassNameList() { 167 return className_; 168 } 169 /** 170 * <code>repeated int32 class_name = 1 [packed = true];</code> 171 * 172 * <pre> 173 * id in StringTable 174 * </pre> 175 */ 176 public int getClassNameCount() { 177 return className_.size(); 178 } 179 /** 180 * <code>repeated int32 class_name = 1 [packed = true];</code> 181 * 182 * <pre> 183 * id in StringTable 184 * </pre> 185 */ 186 public int getClassName(int index) { 187 return className_.get(index); 188 } 189 private int classNameMemoizedSerializedSize = -1; 190 191 private void initFields() { 192 className_ = java.util.Collections.emptyList(); 193 } 194 private byte memoizedIsInitialized = -1; 195 public final boolean isInitialized() { 196 byte isInitialized = memoizedIsInitialized; 197 if (isInitialized == 1) return true; 198 if (isInitialized == 0) return false; 199 200 memoizedIsInitialized = 1; 201 return true; 202 } 203 204 public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output) 205 throws java.io.IOException { 206 getSerializedSize(); 207 if (getClassNameList().size() > 0) { 208 output.writeRawVarint32(10); 209 output.writeRawVarint32(classNameMemoizedSerializedSize); 210 } 211 for (int i = 0; i < className_.size(); i++) { 212 output.writeInt32NoTag(className_.get(i)); 213 } 214 output.writeRawBytes(unknownFields); 215 } 216 217 private int memoizedSerializedSize = -1; 218 public int getSerializedSize() { 219 int size = memoizedSerializedSize; 220 if (size != -1) return size; 221 222 size = 0; 223 { 224 int dataSize = 0; 225 for (int i = 0; i < className_.size(); i++) { 226 dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream 227 .computeInt32SizeNoTag(className_.get(i)); 228 } 229 size += dataSize; 230 if (!getClassNameList().isEmpty()) { 231 size += 1; 232 size += org.jetbrains.kotlin.protobuf.CodedOutputStream 233 .computeInt32SizeNoTag(dataSize); 234 } 235 classNameMemoizedSerializedSize = dataSize; 236 } 237 size += unknownFields.size(); 238 memoizedSerializedSize = size; 239 return size; 240 } 241 242 private static final long serialVersionUID = 0L; 243 @java.lang.Override 244 protected java.lang.Object writeReplace() 245 throws java.io.ObjectStreamException { 246 return super.writeReplace(); 247 } 248 249 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom( 250 org.jetbrains.kotlin.protobuf.ByteString data) 251 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { 252 return PARSER.parseFrom(data); 253 } 254 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom( 255 org.jetbrains.kotlin.protobuf.ByteString data, 256 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) 257 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { 258 return PARSER.parseFrom(data, extensionRegistry); 259 } 260 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom(byte[] data) 261 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { 262 return PARSER.parseFrom(data); 263 } 264 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom( 265 byte[] data, 266 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) 267 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { 268 return PARSER.parseFrom(data, extensionRegistry); 269 } 270 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom(java.io.InputStream input) 271 throws java.io.IOException { 272 return PARSER.parseFrom(input); 273 } 274 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom( 275 java.io.InputStream input, 276 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) 277 throws java.io.IOException { 278 return PARSER.parseFrom(input, extensionRegistry); 279 } 280 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseDelimitedFrom(java.io.InputStream input) 281 throws java.io.IOException { 282 return PARSER.parseDelimitedFrom(input); 283 } 284 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseDelimitedFrom( 285 java.io.InputStream input, 286 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) 287 throws java.io.IOException { 288 return PARSER.parseDelimitedFrom(input, extensionRegistry); 289 } 290 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom( 291 org.jetbrains.kotlin.protobuf.CodedInputStream input) 292 throws java.io.IOException { 293 return PARSER.parseFrom(input); 294 } 295 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom( 296 org.jetbrains.kotlin.protobuf.CodedInputStream input, 297 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) 298 throws java.io.IOException { 299 return PARSER.parseFrom(input, extensionRegistry); 300 } 301 302 public static Builder newBuilder() { return Builder.create(); } 303 public Builder newBuilderForType() { return newBuilder(); } 304 public static Builder newBuilder(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes prototype) { 305 return newBuilder().mergeFrom(prototype); 306 } 307 public Builder toBuilder() { return newBuilder(this); } 308 309 /** 310 * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Classes} 311 */ 312 public static final class Builder extends 313 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder< 314 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes, Builder> 315 implements 316 // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.js.Classes) 317 org.jetbrains.kotlin.serialization.js.JsProtoBuf.ClassesOrBuilder { 318 // Construct using org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes.newBuilder() 319 private Builder() { 320 maybeForceBuilderInitialization(); 321 } 322 323 private void maybeForceBuilderInitialization() { 324 } 325 private static Builder create() { 326 return new Builder(); 327 } 328 329 public Builder clear() { 330 super.clear(); 331 className_ = java.util.Collections.emptyList(); 332 bitField0_ = (bitField0_ & ~0x00000001); 333 return this; 334 } 335 336 public Builder clone() { 337 return create().mergeFrom(buildPartial()); 338 } 339 340 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes getDefaultInstanceForType() { 341 return org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes.getDefaultInstance(); 342 } 343 344 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes build() { 345 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes result = buildPartial(); 346 if (!result.isInitialized()) { 347 throw newUninitializedMessageException(result); 348 } 349 return result; 350 } 351 352 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes buildPartial() { 353 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes result = new org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes(this); 354 int from_bitField0_ = bitField0_; 355 if (((bitField0_ & 0x00000001) == 0x00000001)) { 356 className_ = java.util.Collections.unmodifiableList(className_); 357 bitField0_ = (bitField0_ & ~0x00000001); 358 } 359 result.className_ = className_; 360 return result; 361 } 362 363 public Builder mergeFrom(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes other) { 364 if (other == org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes.getDefaultInstance()) return this; 365 if (!other.className_.isEmpty()) { 366 if (className_.isEmpty()) { 367 className_ = other.className_; 368 bitField0_ = (bitField0_ & ~0x00000001); 369 } else { 370 ensureClassNameIsMutable(); 371 className_.addAll(other.className_); 372 } 373 374 } 375 setUnknownFields( 376 getUnknownFields().concat(other.unknownFields)); 377 return this; 378 } 379 380 public final boolean isInitialized() { 381 return true; 382 } 383 384 public Builder mergeFrom( 385 org.jetbrains.kotlin.protobuf.CodedInputStream input, 386 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) 387 throws java.io.IOException { 388 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parsedMessage = null; 389 try { 390 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 391 } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { 392 parsedMessage = (org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes) e.getUnfinishedMessage(); 393 throw e; 394 } finally { 395 if (parsedMessage != null) { 396 mergeFrom(parsedMessage); 397 } 398 } 399 return this; 400 } 401 private int bitField0_; 402 403 private java.util.List<java.lang.Integer> className_ = java.util.Collections.emptyList(); 404 private void ensureClassNameIsMutable() { 405 if (!((bitField0_ & 0x00000001) == 0x00000001)) { 406 className_ = new java.util.ArrayList<java.lang.Integer>(className_); 407 bitField0_ |= 0x00000001; 408 } 409 } 410 /** 411 * <code>repeated int32 class_name = 1 [packed = true];</code> 412 * 413 * <pre> 414 * id in StringTable 415 * </pre> 416 */ 417 public java.util.List<java.lang.Integer> 418 getClassNameList() { 419 return java.util.Collections.unmodifiableList(className_); 420 } 421 /** 422 * <code>repeated int32 class_name = 1 [packed = true];</code> 423 * 424 * <pre> 425 * id in StringTable 426 * </pre> 427 */ 428 public int getClassNameCount() { 429 return className_.size(); 430 } 431 /** 432 * <code>repeated int32 class_name = 1 [packed = true];</code> 433 * 434 * <pre> 435 * id in StringTable 436 * </pre> 437 */ 438 public int getClassName(int index) { 439 return className_.get(index); 440 } 441 /** 442 * <code>repeated int32 class_name = 1 [packed = true];</code> 443 * 444 * <pre> 445 * id in StringTable 446 * </pre> 447 */ 448 public Builder setClassName( 449 int index, int value) { 450 ensureClassNameIsMutable(); 451 className_.set(index, value); 452 453 return this; 454 } 455 /** 456 * <code>repeated int32 class_name = 1 [packed = true];</code> 457 * 458 * <pre> 459 * id in StringTable 460 * </pre> 461 */ 462 public Builder addClassName(int value) { 463 ensureClassNameIsMutable(); 464 className_.add(value); 465 466 return this; 467 } 468 /** 469 * <code>repeated int32 class_name = 1 [packed = true];</code> 470 * 471 * <pre> 472 * id in StringTable 473 * </pre> 474 */ 475 public Builder addAllClassName( 476 java.lang.Iterable<? extends java.lang.Integer> values) { 477 ensureClassNameIsMutable(); 478 org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( 479 values, className_); 480 481 return this; 482 } 483 /** 484 * <code>repeated int32 class_name = 1 [packed = true];</code> 485 * 486 * <pre> 487 * id in StringTable 488 * </pre> 489 */ 490 public Builder clearClassName() { 491 className_ = java.util.Collections.emptyList(); 492 bitField0_ = (bitField0_ & ~0x00000001); 493 494 return this; 495 } 496 497 // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.js.Classes) 498 } 499 500 static { 501 defaultInstance = new Classes(true); 502 defaultInstance.initFields(); 503 } 504 505 // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.js.Classes) 506 } 507 508 public interface LibraryOrBuilder extends 509 // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.js.Library) 510 org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder { 511 512 /** 513 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 514 */ 515 java.util.List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry> 516 getEntryList(); 517 /** 518 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 519 */ 520 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry getEntry(int index); 521 /** 522 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 523 */ 524 int getEntryCount(); 525 526 /** 527 * <code>optional .org.jetbrains.kotlin.serialization.js.Library.Kind kind = 2 [default = PLAIN];</code> 528 */ 529 boolean hasKind(); 530 /** 531 * <code>optional .org.jetbrains.kotlin.serialization.js.Library.Kind kind = 2 [default = PLAIN];</code> 532 */ 533 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Kind getKind(); 534 535 /** 536 * <code>repeated string imported_module = 3;</code> 537 */ 538 org.jetbrains.kotlin.protobuf.ProtocolStringList 539 getImportedModuleList(); 540 /** 541 * <code>repeated string imported_module = 3;</code> 542 */ 543 int getImportedModuleCount(); 544 /** 545 * <code>repeated string imported_module = 3;</code> 546 */ 547 java.lang.String getImportedModule(int index); 548 /** 549 * <code>repeated string imported_module = 3;</code> 550 */ 551 org.jetbrains.kotlin.protobuf.ByteString 552 getImportedModuleBytes(int index); 553 } 554 /** 555 * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Library} 556 */ 557 public static final class Library extends 558 org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements 559 // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.js.Library) 560 LibraryOrBuilder { 561 // Use Library.newBuilder() to construct. 562 private Library(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) { 563 super(builder); 564 this.unknownFields = builder.getUnknownFields(); 565 } 566 private Library(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;} 567 568 private static final Library defaultInstance; 569 public static Library getDefaultInstance() { 570 return defaultInstance; 571 } 572 573 public Library getDefaultInstanceForType() { 574 return defaultInstance; 575 } 576 577 private final org.jetbrains.kotlin.protobuf.ByteString unknownFields; 578 private Library( 579 org.jetbrains.kotlin.protobuf.CodedInputStream input, 580 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) 581 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { 582 initFields(); 583 int mutable_bitField0_ = 0; 584 org.jetbrains.kotlin.protobuf.ByteString.Output unknownFieldsOutput = 585 org.jetbrains.kotlin.protobuf.ByteString.newOutput(); 586 org.jetbrains.kotlin.protobuf.CodedOutputStream unknownFieldsCodedOutput = 587 org.jetbrains.kotlin.protobuf.CodedOutputStream.newInstance( 588 unknownFieldsOutput); 589 try { 590 boolean done = false; 591 while (!done) { 592 int tag = input.readTag(); 593 switch (tag) { 594 case 0: 595 done = true; 596 break; 597 default: { 598 if (!parseUnknownField(input, unknownFieldsCodedOutput, 599 extensionRegistry, tag)) { 600 done = true; 601 } 602 break; 603 } 604 case 10: { 605 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { 606 entry_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry>(); 607 mutable_bitField0_ |= 0x00000001; 608 } 609 entry_.add(input.readMessage(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.PARSER, extensionRegistry)); 610 break; 611 } 612 case 16: { 613 int rawValue = input.readEnum(); 614 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Kind value = org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Kind.valueOf(rawValue); 615 if (value == null) { 616 unknownFieldsCodedOutput.writeRawVarint32(tag); 617 unknownFieldsCodedOutput.writeRawVarint32(rawValue); 618 } else { 619 bitField0_ |= 0x00000001; 620 kind_ = value; 621 } 622 break; 623 } 624 case 26: { 625 org.jetbrains.kotlin.protobuf.ByteString bs = input.readBytes(); 626 if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { 627 importedModule_ = new org.jetbrains.kotlin.protobuf.LazyStringArrayList(); 628 mutable_bitField0_ |= 0x00000004; 629 } 630 importedModule_.add(bs); 631 break; 632 } 633 } 634 } 635 } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { 636 throw e.setUnfinishedMessage(this); 637 } catch (java.io.IOException e) { 638 throw new org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException( 639 e.getMessage()).setUnfinishedMessage(this); 640 } finally { 641 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { 642 entry_ = java.util.Collections.unmodifiableList(entry_); 643 } 644 if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { 645 importedModule_ = importedModule_.getUnmodifiableView(); 646 } 647 try { 648 unknownFieldsCodedOutput.flush(); 649 } catch (java.io.IOException e) { 650 // Should not happen 651 } finally { 652 unknownFields = unknownFieldsOutput.toByteString(); 653 } 654 makeExtensionsImmutable(); 655 } 656 } 657 public static org.jetbrains.kotlin.protobuf.Parser<Library> PARSER = 658 new org.jetbrains.kotlin.protobuf.AbstractParser<Library>() { 659 public Library parsePartialFrom( 660 org.jetbrains.kotlin.protobuf.CodedInputStream input, 661 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) 662 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { 663 return new Library(input, extensionRegistry); 664 } 665 }; 666 667 @java.lang.Override 668 public org.jetbrains.kotlin.protobuf.Parser<Library> getParserForType() { 669 return PARSER; 670 } 671 672 /** 673 * Protobuf enum {@code org.jetbrains.kotlin.serialization.js.Library.Kind} 674 */ 675 public enum Kind 676 implements org.jetbrains.kotlin.protobuf.Internal.EnumLite { 677 /** 678 * <code>PLAIN = 1;</code> 679 */ 680 PLAIN(0, 1), 681 /** 682 * <code>AMD = 2;</code> 683 */ 684 AMD(1, 2), 685 /** 686 * <code>COMMON_JS = 3;</code> 687 */ 688 COMMON_JS(2, 3), 689 /** 690 * <code>UMD = 4;</code> 691 */ 692 UMD(3, 4), 693 ; 694 695 /** 696 * <code>PLAIN = 1;</code> 697 */ 698 public static final int PLAIN_VALUE = 1; 699 /** 700 * <code>AMD = 2;</code> 701 */ 702 public static final int AMD_VALUE = 2; 703 /** 704 * <code>COMMON_JS = 3;</code> 705 */ 706 public static final int COMMON_JS_VALUE = 3; 707 /** 708 * <code>UMD = 4;</code> 709 */ 710 public static final int UMD_VALUE = 4; 711 712 713 public final int getNumber() { return value; } 714 715 public static Kind valueOf(int value) { 716 switch (value) { 717 case 1: return PLAIN; 718 case 2: return AMD; 719 case 3: return COMMON_JS; 720 case 4: return UMD; 721 default: return null; 722 } 723 } 724 725 public static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<Kind> 726 internalGetValueMap() { 727 return internalValueMap; 728 } 729 private static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<Kind> 730 internalValueMap = 731 new org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<Kind>() { 732 public Kind findValueByNumber(int number) { 733 return Kind.valueOf(number); 734 } 735 }; 736 737 private final int value; 738 739 private Kind(int index, int value) { 740 this.value = value; 741 } 742 743 // @@protoc_insertion_point(enum_scope:org.jetbrains.kotlin.serialization.js.Library.Kind) 744 } 745 746 public interface FileEntryOrBuilder extends 747 // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.js.Library.FileEntry) 748 org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder { 749 750 /** 751 * <code>required string path = 1;</code> 752 */ 753 boolean hasPath(); 754 /** 755 * <code>required string path = 1;</code> 756 */ 757 java.lang.String getPath(); 758 /** 759 * <code>required string path = 1;</code> 760 */ 761 org.jetbrains.kotlin.protobuf.ByteString 762 getPathBytes(); 763 764 /** 765 * <code>required bytes content = 2;</code> 766 */ 767 boolean hasContent(); 768 /** 769 * <code>required bytes content = 2;</code> 770 */ 771 org.jetbrains.kotlin.protobuf.ByteString getContent(); 772 } 773 /** 774 * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Library.FileEntry} 775 */ 776 public static final class FileEntry extends 777 org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements 778 // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.js.Library.FileEntry) 779 FileEntryOrBuilder { 780 // Use FileEntry.newBuilder() to construct. 781 private FileEntry(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) { 782 super(builder); 783 this.unknownFields = builder.getUnknownFields(); 784 } 785 private FileEntry(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;} 786 787 private static final FileEntry defaultInstance; 788 public static FileEntry getDefaultInstance() { 789 return defaultInstance; 790 } 791 792 public FileEntry getDefaultInstanceForType() { 793 return defaultInstance; 794 } 795 796 private final org.jetbrains.kotlin.protobuf.ByteString unknownFields; 797 private FileEntry( 798 org.jetbrains.kotlin.protobuf.CodedInputStream input, 799 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) 800 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { 801 initFields(); 802 int mutable_bitField0_ = 0; 803 org.jetbrains.kotlin.protobuf.ByteString.Output unknownFieldsOutput = 804 org.jetbrains.kotlin.protobuf.ByteString.newOutput(); 805 org.jetbrains.kotlin.protobuf.CodedOutputStream unknownFieldsCodedOutput = 806 org.jetbrains.kotlin.protobuf.CodedOutputStream.newInstance( 807 unknownFieldsOutput); 808 try { 809 boolean done = false; 810 while (!done) { 811 int tag = input.readTag(); 812 switch (tag) { 813 case 0: 814 done = true; 815 break; 816 default: { 817 if (!parseUnknownField(input, unknownFieldsCodedOutput, 818 extensionRegistry, tag)) { 819 done = true; 820 } 821 break; 822 } 823 case 10: { 824 org.jetbrains.kotlin.protobuf.ByteString bs = input.readBytes(); 825 bitField0_ |= 0x00000001; 826 path_ = bs; 827 break; 828 } 829 case 18: { 830 bitField0_ |= 0x00000002; 831 content_ = input.readBytes(); 832 break; 833 } 834 } 835 } 836 } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { 837 throw e.setUnfinishedMessage(this); 838 } catch (java.io.IOException e) { 839 throw new org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException( 840 e.getMessage()).setUnfinishedMessage(this); 841 } finally { 842 try { 843 unknownFieldsCodedOutput.flush(); 844 } catch (java.io.IOException e) { 845 // Should not happen 846 } finally { 847 unknownFields = unknownFieldsOutput.toByteString(); 848 } 849 makeExtensionsImmutable(); 850 } 851 } 852 public static org.jetbrains.kotlin.protobuf.Parser<FileEntry> PARSER = 853 new org.jetbrains.kotlin.protobuf.AbstractParser<FileEntry>() { 854 public FileEntry parsePartialFrom( 855 org.jetbrains.kotlin.protobuf.CodedInputStream input, 856 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) 857 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { 858 return new FileEntry(input, extensionRegistry); 859 } 860 }; 861 862 @java.lang.Override 863 public org.jetbrains.kotlin.protobuf.Parser<FileEntry> getParserForType() { 864 return PARSER; 865 } 866 867 private int bitField0_; 868 public static final int PATH_FIELD_NUMBER = 1; 869 private java.lang.Object path_; 870 /** 871 * <code>required string path = 1;</code> 872 */ 873 public boolean hasPath() { 874 return ((bitField0_ & 0x00000001) == 0x00000001); 875 } 876 /** 877 * <code>required string path = 1;</code> 878 */ 879 public java.lang.String getPath() { 880 java.lang.Object ref = path_; 881 if (ref instanceof java.lang.String) { 882 return (java.lang.String) ref; 883 } else { 884 org.jetbrains.kotlin.protobuf.ByteString bs = 885 (org.jetbrains.kotlin.protobuf.ByteString) ref; 886 java.lang.String s = bs.toStringUtf8(); 887 if (bs.isValidUtf8()) { 888 path_ = s; 889 } 890 return s; 891 } 892 } 893 /** 894 * <code>required string path = 1;</code> 895 */ 896 public org.jetbrains.kotlin.protobuf.ByteString 897 getPathBytes() { 898 java.lang.Object ref = path_; 899 if (ref instanceof java.lang.String) { 900 org.jetbrains.kotlin.protobuf.ByteString b = 901 org.jetbrains.kotlin.protobuf.ByteString.copyFromUtf8( 902 (java.lang.String) ref); 903 path_ = b; 904 return b; 905 } else { 906 return (org.jetbrains.kotlin.protobuf.ByteString) ref; 907 } 908 } 909 910 public static final int CONTENT_FIELD_NUMBER = 2; 911 private org.jetbrains.kotlin.protobuf.ByteString content_; 912 /** 913 * <code>required bytes content = 2;</code> 914 */ 915 public boolean hasContent() { 916 return ((bitField0_ & 0x00000002) == 0x00000002); 917 } 918 /** 919 * <code>required bytes content = 2;</code> 920 */ 921 public org.jetbrains.kotlin.protobuf.ByteString getContent() { 922 return content_; 923 } 924 925 private void initFields() { 926 path_ = ""; 927 content_ = org.jetbrains.kotlin.protobuf.ByteString.EMPTY; 928 } 929 private byte memoizedIsInitialized = -1; 930 public final boolean isInitialized() { 931 byte isInitialized = memoizedIsInitialized; 932 if (isInitialized == 1) return true; 933 if (isInitialized == 0) return false; 934 935 if (!hasPath()) { 936 memoizedIsInitialized = 0; 937 return false; 938 } 939 if (!hasContent()) { 940 memoizedIsInitialized = 0; 941 return false; 942 } 943 memoizedIsInitialized = 1; 944 return true; 945 } 946 947 public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output) 948 throws java.io.IOException { 949 getSerializedSize(); 950 if (((bitField0_ & 0x00000001) == 0x00000001)) { 951 output.writeBytes(1, getPathBytes()); 952 } 953 if (((bitField0_ & 0x00000002) == 0x00000002)) { 954 output.writeBytes(2, content_); 955 } 956 output.writeRawBytes(unknownFields); 957 } 958 959 private int memoizedSerializedSize = -1; 960 public int getSerializedSize() { 961 int size = memoizedSerializedSize; 962 if (size != -1) return size; 963 964 size = 0; 965 if (((bitField0_ & 0x00000001) == 0x00000001)) { 966 size += org.jetbrains.kotlin.protobuf.CodedOutputStream 967 .computeBytesSize(1, getPathBytes()); 968 } 969 if (((bitField0_ & 0x00000002) == 0x00000002)) { 970 size += org.jetbrains.kotlin.protobuf.CodedOutputStream 971 .computeBytesSize(2, content_); 972 } 973 size += unknownFields.size(); 974 memoizedSerializedSize = size; 975 return size; 976 } 977 978 private static final long serialVersionUID = 0L; 979 @java.lang.Override 980 protected java.lang.Object writeReplace() 981 throws java.io.ObjectStreamException { 982 return super.writeReplace(); 983 } 984 985 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom( 986 org.jetbrains.kotlin.protobuf.ByteString data) 987 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { 988 return PARSER.parseFrom(data); 989 } 990 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom( 991 org.jetbrains.kotlin.protobuf.ByteString data, 992 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) 993 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { 994 return PARSER.parseFrom(data, extensionRegistry); 995 } 996 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom(byte[] data) 997 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { 998 return PARSER.parseFrom(data); 999 } 1000 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom( 1001 byte[] data, 1002 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) 1003 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { 1004 return PARSER.parseFrom(data, extensionRegistry); 1005 } 1006 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom(java.io.InputStream input) 1007 throws java.io.IOException { 1008 return PARSER.parseFrom(input); 1009 } 1010 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom( 1011 java.io.InputStream input, 1012 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) 1013 throws java.io.IOException { 1014 return PARSER.parseFrom(input, extensionRegistry); 1015 } 1016 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseDelimitedFrom(java.io.InputStream input) 1017 throws java.io.IOException { 1018 return PARSER.parseDelimitedFrom(input); 1019 } 1020 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseDelimitedFrom( 1021 java.io.InputStream input, 1022 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) 1023 throws java.io.IOException { 1024 return PARSER.parseDelimitedFrom(input, extensionRegistry); 1025 } 1026 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom( 1027 org.jetbrains.kotlin.protobuf.CodedInputStream input) 1028 throws java.io.IOException { 1029 return PARSER.parseFrom(input); 1030 } 1031 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom( 1032 org.jetbrains.kotlin.protobuf.CodedInputStream input, 1033 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) 1034 throws java.io.IOException { 1035 return PARSER.parseFrom(input, extensionRegistry); 1036 } 1037 1038 public static Builder newBuilder() { return Builder.create(); } 1039 public Builder newBuilderForType() { return newBuilder(); } 1040 public static Builder newBuilder(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry prototype) { 1041 return newBuilder().mergeFrom(prototype); 1042 } 1043 public Builder toBuilder() { return newBuilder(this); } 1044 1045 /** 1046 * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Library.FileEntry} 1047 */ 1048 public static final class Builder extends 1049 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder< 1050 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry, Builder> 1051 implements 1052 // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.js.Library.FileEntry) 1053 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntryOrBuilder { 1054 // Construct using org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.newBuilder() 1055 private Builder() { 1056 maybeForceBuilderInitialization(); 1057 } 1058 1059 private void maybeForceBuilderInitialization() { 1060 } 1061 private static Builder create() { 1062 return new Builder(); 1063 } 1064 1065 public Builder clear() { 1066 super.clear(); 1067 path_ = ""; 1068 bitField0_ = (bitField0_ & ~0x00000001); 1069 content_ = org.jetbrains.kotlin.protobuf.ByteString.EMPTY; 1070 bitField0_ = (bitField0_ & ~0x00000002); 1071 return this; 1072 } 1073 1074 public Builder clone() { 1075 return create().mergeFrom(buildPartial()); 1076 } 1077 1078 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry getDefaultInstanceForType() { 1079 return org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.getDefaultInstance(); 1080 } 1081 1082 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry build() { 1083 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry result = buildPartial(); 1084 if (!result.isInitialized()) { 1085 throw newUninitializedMessageException(result); 1086 } 1087 return result; 1088 } 1089 1090 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry buildPartial() { 1091 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry result = new org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry(this); 1092 int from_bitField0_ = bitField0_; 1093 int to_bitField0_ = 0; 1094 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 1095 to_bitField0_ |= 0x00000001; 1096 } 1097 result.path_ = path_; 1098 if (((from_bitField0_ & 0x00000002) == 0x00000002)) { 1099 to_bitField0_ |= 0x00000002; 1100 } 1101 result.content_ = content_; 1102 result.bitField0_ = to_bitField0_; 1103 return result; 1104 } 1105 1106 public Builder mergeFrom(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry other) { 1107 if (other == org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.getDefaultInstance()) return this; 1108 if (other.hasPath()) { 1109 bitField0_ |= 0x00000001; 1110 path_ = other.path_; 1111 1112 } 1113 if (other.hasContent()) { 1114 setContent(other.getContent()); 1115 } 1116 setUnknownFields( 1117 getUnknownFields().concat(other.unknownFields)); 1118 return this; 1119 } 1120 1121 public final boolean isInitialized() { 1122 if (!hasPath()) { 1123 1124 return false; 1125 } 1126 if (!hasContent()) { 1127 1128 return false; 1129 } 1130 return true; 1131 } 1132 1133 public Builder mergeFrom( 1134 org.jetbrains.kotlin.protobuf.CodedInputStream input, 1135 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) 1136 throws java.io.IOException { 1137 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parsedMessage = null; 1138 try { 1139 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 1140 } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { 1141 parsedMessage = (org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry) e.getUnfinishedMessage(); 1142 throw e; 1143 } finally { 1144 if (parsedMessage != null) { 1145 mergeFrom(parsedMessage); 1146 } 1147 } 1148 return this; 1149 } 1150 private int bitField0_; 1151 1152 private java.lang.Object path_ = ""; 1153 /** 1154 * <code>required string path = 1;</code> 1155 */ 1156 public boolean hasPath() { 1157 return ((bitField0_ & 0x00000001) == 0x00000001); 1158 } 1159 /** 1160 * <code>required string path = 1;</code> 1161 */ 1162 public java.lang.String getPath() { 1163 java.lang.Object ref = path_; 1164 if (!(ref instanceof java.lang.String)) { 1165 org.jetbrains.kotlin.protobuf.ByteString bs = 1166 (org.jetbrains.kotlin.protobuf.ByteString) ref; 1167 java.lang.String s = bs.toStringUtf8(); 1168 if (bs.isValidUtf8()) { 1169 path_ = s; 1170 } 1171 return s; 1172 } else { 1173 return (java.lang.String) ref; 1174 } 1175 } 1176 /** 1177 * <code>required string path = 1;</code> 1178 */ 1179 public org.jetbrains.kotlin.protobuf.ByteString 1180 getPathBytes() { 1181 java.lang.Object ref = path_; 1182 if (ref instanceof String) { 1183 org.jetbrains.kotlin.protobuf.ByteString b = 1184 org.jetbrains.kotlin.protobuf.ByteString.copyFromUtf8( 1185 (java.lang.String) ref); 1186 path_ = b; 1187 return b; 1188 } else { 1189 return (org.jetbrains.kotlin.protobuf.ByteString) ref; 1190 } 1191 } 1192 /** 1193 * <code>required string path = 1;</code> 1194 */ 1195 public Builder setPath( 1196 java.lang.String value) { 1197 if (value == null) { 1198 throw new NullPointerException(); 1199 } 1200 bitField0_ |= 0x00000001; 1201 path_ = value; 1202 1203 return this; 1204 } 1205 /** 1206 * <code>required string path = 1;</code> 1207 */ 1208 public Builder clearPath() { 1209 bitField0_ = (bitField0_ & ~0x00000001); 1210 path_ = getDefaultInstance().getPath(); 1211 1212 return this; 1213 } 1214 /** 1215 * <code>required string path = 1;</code> 1216 */ 1217 public Builder setPathBytes( 1218 org.jetbrains.kotlin.protobuf.ByteString value) { 1219 if (value == null) { 1220 throw new NullPointerException(); 1221 } 1222 bitField0_ |= 0x00000001; 1223 path_ = value; 1224 1225 return this; 1226 } 1227 1228 private org.jetbrains.kotlin.protobuf.ByteString content_ = org.jetbrains.kotlin.protobuf.ByteString.EMPTY; 1229 /** 1230 * <code>required bytes content = 2;</code> 1231 */ 1232 public boolean hasContent() { 1233 return ((bitField0_ & 0x00000002) == 0x00000002); 1234 } 1235 /** 1236 * <code>required bytes content = 2;</code> 1237 */ 1238 public org.jetbrains.kotlin.protobuf.ByteString getContent() { 1239 return content_; 1240 } 1241 /** 1242 * <code>required bytes content = 2;</code> 1243 */ 1244 public Builder setContent(org.jetbrains.kotlin.protobuf.ByteString value) { 1245 if (value == null) { 1246 throw new NullPointerException(); 1247 } 1248 bitField0_ |= 0x00000002; 1249 content_ = value; 1250 1251 return this; 1252 } 1253 /** 1254 * <code>required bytes content = 2;</code> 1255 */ 1256 public Builder clearContent() { 1257 bitField0_ = (bitField0_ & ~0x00000002); 1258 content_ = getDefaultInstance().getContent(); 1259 1260 return this; 1261 } 1262 1263 // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.js.Library.FileEntry) 1264 } 1265 1266 static { 1267 defaultInstance = new FileEntry(true); 1268 defaultInstance.initFields(); 1269 } 1270 1271 // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.js.Library.FileEntry) 1272 } 1273 1274 private int bitField0_; 1275 public static final int ENTRY_FIELD_NUMBER = 1; 1276 private java.util.List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry> entry_; 1277 /** 1278 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1279 */ 1280 public java.util.List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry> getEntryList() { 1281 return entry_; 1282 } 1283 /** 1284 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1285 */ 1286 public java.util.List<? extends org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntryOrBuilder> 1287 getEntryOrBuilderList() { 1288 return entry_; 1289 } 1290 /** 1291 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1292 */ 1293 public int getEntryCount() { 1294 return entry_.size(); 1295 } 1296 /** 1297 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1298 */ 1299 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry getEntry(int index) { 1300 return entry_.get(index); 1301 } 1302 /** 1303 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1304 */ 1305 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntryOrBuilder getEntryOrBuilder( 1306 int index) { 1307 return entry_.get(index); 1308 } 1309 1310 public static final int KIND_FIELD_NUMBER = 2; 1311 private org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Kind kind_; 1312 /** 1313 * <code>optional .org.jetbrains.kotlin.serialization.js.Library.Kind kind = 2 [default = PLAIN];</code> 1314 */ 1315 public boolean hasKind() { 1316 return ((bitField0_ & 0x00000001) == 0x00000001); 1317 } 1318 /** 1319 * <code>optional .org.jetbrains.kotlin.serialization.js.Library.Kind kind = 2 [default = PLAIN];</code> 1320 */ 1321 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Kind getKind() { 1322 return kind_; 1323 } 1324 1325 public static final int IMPORTED_MODULE_FIELD_NUMBER = 3; 1326 private org.jetbrains.kotlin.protobuf.LazyStringList importedModule_; 1327 /** 1328 * <code>repeated string imported_module = 3;</code> 1329 */ 1330 public org.jetbrains.kotlin.protobuf.ProtocolStringList 1331 getImportedModuleList() { 1332 return importedModule_; 1333 } 1334 /** 1335 * <code>repeated string imported_module = 3;</code> 1336 */ 1337 public int getImportedModuleCount() { 1338 return importedModule_.size(); 1339 } 1340 /** 1341 * <code>repeated string imported_module = 3;</code> 1342 */ 1343 public java.lang.String getImportedModule(int index) { 1344 return importedModule_.get(index); 1345 } 1346 /** 1347 * <code>repeated string imported_module = 3;</code> 1348 */ 1349 public org.jetbrains.kotlin.protobuf.ByteString 1350 getImportedModuleBytes(int index) { 1351 return importedModule_.getByteString(index); 1352 } 1353 1354 private void initFields() { 1355 entry_ = java.util.Collections.emptyList(); 1356 kind_ = org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Kind.PLAIN; 1357 importedModule_ = org.jetbrains.kotlin.protobuf.LazyStringArrayList.EMPTY; 1358 } 1359 private byte memoizedIsInitialized = -1; 1360 public final boolean isInitialized() { 1361 byte isInitialized = memoizedIsInitialized; 1362 if (isInitialized == 1) return true; 1363 if (isInitialized == 0) return false; 1364 1365 for (int i = 0; i < getEntryCount(); i++) { 1366 if (!getEntry(i).isInitialized()) { 1367 memoizedIsInitialized = 0; 1368 return false; 1369 } 1370 } 1371 memoizedIsInitialized = 1; 1372 return true; 1373 } 1374 1375 public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output) 1376 throws java.io.IOException { 1377 getSerializedSize(); 1378 for (int i = 0; i < entry_.size(); i++) { 1379 output.writeMessage(1, entry_.get(i)); 1380 } 1381 if (((bitField0_ & 0x00000001) == 0x00000001)) { 1382 output.writeEnum(2, kind_.getNumber()); 1383 } 1384 for (int i = 0; i < importedModule_.size(); i++) { 1385 output.writeBytes(3, importedModule_.getByteString(i)); 1386 } 1387 output.writeRawBytes(unknownFields); 1388 } 1389 1390 private int memoizedSerializedSize = -1; 1391 public int getSerializedSize() { 1392 int size = memoizedSerializedSize; 1393 if (size != -1) return size; 1394 1395 size = 0; 1396 for (int i = 0; i < entry_.size(); i++) { 1397 size += org.jetbrains.kotlin.protobuf.CodedOutputStream 1398 .computeMessageSize(1, entry_.get(i)); 1399 } 1400 if (((bitField0_ & 0x00000001) == 0x00000001)) { 1401 size += org.jetbrains.kotlin.protobuf.CodedOutputStream 1402 .computeEnumSize(2, kind_.getNumber()); 1403 } 1404 { 1405 int dataSize = 0; 1406 for (int i = 0; i < importedModule_.size(); i++) { 1407 dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream 1408 .computeBytesSizeNoTag(importedModule_.getByteString(i)); 1409 } 1410 size += dataSize; 1411 size += 1 * getImportedModuleList().size(); 1412 } 1413 size += unknownFields.size(); 1414 memoizedSerializedSize = size; 1415 return size; 1416 } 1417 1418 private static final long serialVersionUID = 0L; 1419 @java.lang.Override 1420 protected java.lang.Object writeReplace() 1421 throws java.io.ObjectStreamException { 1422 return super.writeReplace(); 1423 } 1424 1425 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom( 1426 org.jetbrains.kotlin.protobuf.ByteString data) 1427 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { 1428 return PARSER.parseFrom(data); 1429 } 1430 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom( 1431 org.jetbrains.kotlin.protobuf.ByteString data, 1432 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) 1433 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { 1434 return PARSER.parseFrom(data, extensionRegistry); 1435 } 1436 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(byte[] data) 1437 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { 1438 return PARSER.parseFrom(data); 1439 } 1440 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom( 1441 byte[] data, 1442 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) 1443 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { 1444 return PARSER.parseFrom(data, extensionRegistry); 1445 } 1446 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(java.io.InputStream input) 1447 throws java.io.IOException { 1448 return PARSER.parseFrom(input); 1449 } 1450 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom( 1451 java.io.InputStream input, 1452 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) 1453 throws java.io.IOException { 1454 return PARSER.parseFrom(input, extensionRegistry); 1455 } 1456 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseDelimitedFrom(java.io.InputStream input) 1457 throws java.io.IOException { 1458 return PARSER.parseDelimitedFrom(input); 1459 } 1460 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseDelimitedFrom( 1461 java.io.InputStream input, 1462 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) 1463 throws java.io.IOException { 1464 return PARSER.parseDelimitedFrom(input, extensionRegistry); 1465 } 1466 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom( 1467 org.jetbrains.kotlin.protobuf.CodedInputStream input) 1468 throws java.io.IOException { 1469 return PARSER.parseFrom(input); 1470 } 1471 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom( 1472 org.jetbrains.kotlin.protobuf.CodedInputStream input, 1473 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) 1474 throws java.io.IOException { 1475 return PARSER.parseFrom(input, extensionRegistry); 1476 } 1477 1478 public static Builder newBuilder() { return Builder.create(); } 1479 public Builder newBuilderForType() { return newBuilder(); } 1480 public static Builder newBuilder(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library prototype) { 1481 return newBuilder().mergeFrom(prototype); 1482 } 1483 public Builder toBuilder() { return newBuilder(this); } 1484 1485 /** 1486 * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Library} 1487 */ 1488 public static final class Builder extends 1489 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder< 1490 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library, Builder> 1491 implements 1492 // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.js.Library) 1493 org.jetbrains.kotlin.serialization.js.JsProtoBuf.LibraryOrBuilder { 1494 // Construct using org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.newBuilder() 1495 private Builder() { 1496 maybeForceBuilderInitialization(); 1497 } 1498 1499 private void maybeForceBuilderInitialization() { 1500 } 1501 private static Builder create() { 1502 return new Builder(); 1503 } 1504 1505 public Builder clear() { 1506 super.clear(); 1507 entry_ = java.util.Collections.emptyList(); 1508 bitField0_ = (bitField0_ & ~0x00000001); 1509 kind_ = org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Kind.PLAIN; 1510 bitField0_ = (bitField0_ & ~0x00000002); 1511 importedModule_ = org.jetbrains.kotlin.protobuf.LazyStringArrayList.EMPTY; 1512 bitField0_ = (bitField0_ & ~0x00000004); 1513 return this; 1514 } 1515 1516 public Builder clone() { 1517 return create().mergeFrom(buildPartial()); 1518 } 1519 1520 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library getDefaultInstanceForType() { 1521 return org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.getDefaultInstance(); 1522 } 1523 1524 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library build() { 1525 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library result = buildPartial(); 1526 if (!result.isInitialized()) { 1527 throw newUninitializedMessageException(result); 1528 } 1529 return result; 1530 } 1531 1532 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library buildPartial() { 1533 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library result = new org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library(this); 1534 int from_bitField0_ = bitField0_; 1535 int to_bitField0_ = 0; 1536 if (((bitField0_ & 0x00000001) == 0x00000001)) { 1537 entry_ = java.util.Collections.unmodifiableList(entry_); 1538 bitField0_ = (bitField0_ & ~0x00000001); 1539 } 1540 result.entry_ = entry_; 1541 if (((from_bitField0_ & 0x00000002) == 0x00000002)) { 1542 to_bitField0_ |= 0x00000001; 1543 } 1544 result.kind_ = kind_; 1545 if (((bitField0_ & 0x00000004) == 0x00000004)) { 1546 importedModule_ = importedModule_.getUnmodifiableView(); 1547 bitField0_ = (bitField0_ & ~0x00000004); 1548 } 1549 result.importedModule_ = importedModule_; 1550 result.bitField0_ = to_bitField0_; 1551 return result; 1552 } 1553 1554 public Builder mergeFrom(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library other) { 1555 if (other == org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.getDefaultInstance()) return this; 1556 if (!other.entry_.isEmpty()) { 1557 if (entry_.isEmpty()) { 1558 entry_ = other.entry_; 1559 bitField0_ = (bitField0_ & ~0x00000001); 1560 } else { 1561 ensureEntryIsMutable(); 1562 entry_.addAll(other.entry_); 1563 } 1564 1565 } 1566 if (other.hasKind()) { 1567 setKind(other.getKind()); 1568 } 1569 if (!other.importedModule_.isEmpty()) { 1570 if (importedModule_.isEmpty()) { 1571 importedModule_ = other.importedModule_; 1572 bitField0_ = (bitField0_ & ~0x00000004); 1573 } else { 1574 ensureImportedModuleIsMutable(); 1575 importedModule_.addAll(other.importedModule_); 1576 } 1577 1578 } 1579 setUnknownFields( 1580 getUnknownFields().concat(other.unknownFields)); 1581 return this; 1582 } 1583 1584 public final boolean isInitialized() { 1585 for (int i = 0; i < getEntryCount(); i++) { 1586 if (!getEntry(i).isInitialized()) { 1587 1588 return false; 1589 } 1590 } 1591 return true; 1592 } 1593 1594 public Builder mergeFrom( 1595 org.jetbrains.kotlin.protobuf.CodedInputStream input, 1596 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) 1597 throws java.io.IOException { 1598 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parsedMessage = null; 1599 try { 1600 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 1601 } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { 1602 parsedMessage = (org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library) e.getUnfinishedMessage(); 1603 throw e; 1604 } finally { 1605 if (parsedMessage != null) { 1606 mergeFrom(parsedMessage); 1607 } 1608 } 1609 return this; 1610 } 1611 private int bitField0_; 1612 1613 private java.util.List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry> entry_ = 1614 java.util.Collections.emptyList(); 1615 private void ensureEntryIsMutable() { 1616 if (!((bitField0_ & 0x00000001) == 0x00000001)) { 1617 entry_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry>(entry_); 1618 bitField0_ |= 0x00000001; 1619 } 1620 } 1621 1622 /** 1623 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1624 */ 1625 public java.util.List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry> getEntryList() { 1626 return java.util.Collections.unmodifiableList(entry_); 1627 } 1628 /** 1629 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1630 */ 1631 public int getEntryCount() { 1632 return entry_.size(); 1633 } 1634 /** 1635 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1636 */ 1637 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry getEntry(int index) { 1638 return entry_.get(index); 1639 } 1640 /** 1641 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1642 */ 1643 public Builder setEntry( 1644 int index, org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry value) { 1645 if (value == null) { 1646 throw new NullPointerException(); 1647 } 1648 ensureEntryIsMutable(); 1649 entry_.set(index, value); 1650 1651 return this; 1652 } 1653 /** 1654 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1655 */ 1656 public Builder setEntry( 1657 int index, org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.Builder builderForValue) { 1658 ensureEntryIsMutable(); 1659 entry_.set(index, builderForValue.build()); 1660 1661 return this; 1662 } 1663 /** 1664 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1665 */ 1666 public Builder addEntry(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry value) { 1667 if (value == null) { 1668 throw new NullPointerException(); 1669 } 1670 ensureEntryIsMutable(); 1671 entry_.add(value); 1672 1673 return this; 1674 } 1675 /** 1676 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1677 */ 1678 public Builder addEntry( 1679 int index, org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry value) { 1680 if (value == null) { 1681 throw new NullPointerException(); 1682 } 1683 ensureEntryIsMutable(); 1684 entry_.add(index, value); 1685 1686 return this; 1687 } 1688 /** 1689 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1690 */ 1691 public Builder addEntry( 1692 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.Builder builderForValue) { 1693 ensureEntryIsMutable(); 1694 entry_.add(builderForValue.build()); 1695 1696 return this; 1697 } 1698 /** 1699 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1700 */ 1701 public Builder addEntry( 1702 int index, org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.Builder builderForValue) { 1703 ensureEntryIsMutable(); 1704 entry_.add(index, builderForValue.build()); 1705 1706 return this; 1707 } 1708 /** 1709 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1710 */ 1711 public Builder addAllEntry( 1712 java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry> values) { 1713 ensureEntryIsMutable(); 1714 org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( 1715 values, entry_); 1716 1717 return this; 1718 } 1719 /** 1720 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1721 */ 1722 public Builder clearEntry() { 1723 entry_ = java.util.Collections.emptyList(); 1724 bitField0_ = (bitField0_ & ~0x00000001); 1725 1726 return this; 1727 } 1728 /** 1729 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> 1730 */ 1731 public Builder removeEntry(int index) { 1732 ensureEntryIsMutable(); 1733 entry_.remove(index); 1734 1735 return this; 1736 } 1737 1738 private org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Kind kind_ = org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Kind.PLAIN; 1739 /** 1740 * <code>optional .org.jetbrains.kotlin.serialization.js.Library.Kind kind = 2 [default = PLAIN];</code> 1741 */ 1742 public boolean hasKind() { 1743 return ((bitField0_ & 0x00000002) == 0x00000002); 1744 } 1745 /** 1746 * <code>optional .org.jetbrains.kotlin.serialization.js.Library.Kind kind = 2 [default = PLAIN];</code> 1747 */ 1748 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Kind getKind() { 1749 return kind_; 1750 } 1751 /** 1752 * <code>optional .org.jetbrains.kotlin.serialization.js.Library.Kind kind = 2 [default = PLAIN];</code> 1753 */ 1754 public Builder setKind(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Kind value) { 1755 if (value == null) { 1756 throw new NullPointerException(); 1757 } 1758 bitField0_ |= 0x00000002; 1759 kind_ = value; 1760 1761 return this; 1762 } 1763 /** 1764 * <code>optional .org.jetbrains.kotlin.serialization.js.Library.Kind kind = 2 [default = PLAIN];</code> 1765 */ 1766 public Builder clearKind() { 1767 bitField0_ = (bitField0_ & ~0x00000002); 1768 kind_ = org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Kind.PLAIN; 1769 1770 return this; 1771 } 1772 1773 private org.jetbrains.kotlin.protobuf.LazyStringList importedModule_ = org.jetbrains.kotlin.protobuf.LazyStringArrayList.EMPTY; 1774 private void ensureImportedModuleIsMutable() { 1775 if (!((bitField0_ & 0x00000004) == 0x00000004)) { 1776 importedModule_ = new org.jetbrains.kotlin.protobuf.LazyStringArrayList(importedModule_); 1777 bitField0_ |= 0x00000004; 1778 } 1779 } 1780 /** 1781 * <code>repeated string imported_module = 3;</code> 1782 */ 1783 public org.jetbrains.kotlin.protobuf.ProtocolStringList 1784 getImportedModuleList() { 1785 return importedModule_.getUnmodifiableView(); 1786 } 1787 /** 1788 * <code>repeated string imported_module = 3;</code> 1789 */ 1790 public int getImportedModuleCount() { 1791 return importedModule_.size(); 1792 } 1793 /** 1794 * <code>repeated string imported_module = 3;</code> 1795 */ 1796 public java.lang.String getImportedModule(int index) { 1797 return importedModule_.get(index); 1798 } 1799 /** 1800 * <code>repeated string imported_module = 3;</code> 1801 */ 1802 public org.jetbrains.kotlin.protobuf.ByteString 1803 getImportedModuleBytes(int index) { 1804 return importedModule_.getByteString(index); 1805 } 1806 /** 1807 * <code>repeated string imported_module = 3;</code> 1808 */ 1809 public Builder setImportedModule( 1810 int index, java.lang.String value) { 1811 if (value == null) { 1812 throw new NullPointerException(); 1813 } 1814 ensureImportedModuleIsMutable(); 1815 importedModule_.set(index, value); 1816 1817 return this; 1818 } 1819 /** 1820 * <code>repeated string imported_module = 3;</code> 1821 */ 1822 public Builder addImportedModule( 1823 java.lang.String value) { 1824 if (value == null) { 1825 throw new NullPointerException(); 1826 } 1827 ensureImportedModuleIsMutable(); 1828 importedModule_.add(value); 1829 1830 return this; 1831 } 1832 /** 1833 * <code>repeated string imported_module = 3;</code> 1834 */ 1835 public Builder addAllImportedModule( 1836 java.lang.Iterable<java.lang.String> values) { 1837 ensureImportedModuleIsMutable(); 1838 org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( 1839 values, importedModule_); 1840 1841 return this; 1842 } 1843 /** 1844 * <code>repeated string imported_module = 3;</code> 1845 */ 1846 public Builder clearImportedModule() { 1847 importedModule_ = org.jetbrains.kotlin.protobuf.LazyStringArrayList.EMPTY; 1848 bitField0_ = (bitField0_ & ~0x00000004); 1849 1850 return this; 1851 } 1852 /** 1853 * <code>repeated string imported_module = 3;</code> 1854 */ 1855 public Builder addImportedModuleBytes( 1856 org.jetbrains.kotlin.protobuf.ByteString value) { 1857 if (value == null) { 1858 throw new NullPointerException(); 1859 } 1860 ensureImportedModuleIsMutable(); 1861 importedModule_.add(value); 1862 1863 return this; 1864 } 1865 1866 // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.js.Library) 1867 } 1868 1869 static { 1870 defaultInstance = new Library(true); 1871 defaultInstance.initFields(); 1872 } 1873 1874 // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.js.Library) 1875 } 1876 1877 public static final int CLASS_ANNOTATION_FIELD_NUMBER = 130; 1878 /** 1879 * <code>extend .org.jetbrains.kotlin.serialization.Class { ... }</code> 1880 */ 1881 public static final 1882 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension< 1883 org.jetbrains.kotlin.serialization.ProtoBuf.Class, 1884 java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation>> classAnnotation = org.jetbrains.kotlin.protobuf.GeneratedMessageLite 1885 .newRepeatedGeneratedExtension( 1886 org.jetbrains.kotlin.serialization.ProtoBuf.Class.getDefaultInstance(), 1887 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(), 1888 null, 1889 130, 1890 org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE, 1891 false, 1892 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.class); 1893 public static final int CONSTRUCTOR_ANNOTATION_FIELD_NUMBER = 130; 1894 /** 1895 * <code>extend .org.jetbrains.kotlin.serialization.Constructor { ... }</code> 1896 */ 1897 public static final 1898 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension< 1899 org.jetbrains.kotlin.serialization.ProtoBuf.Constructor, 1900 java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation>> constructorAnnotation = org.jetbrains.kotlin.protobuf.GeneratedMessageLite 1901 .newRepeatedGeneratedExtension( 1902 org.jetbrains.kotlin.serialization.ProtoBuf.Constructor.getDefaultInstance(), 1903 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(), 1904 null, 1905 130, 1906 org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE, 1907 false, 1908 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.class); 1909 public static final int FUNCTION_ANNOTATION_FIELD_NUMBER = 130; 1910 /** 1911 * <code>extend .org.jetbrains.kotlin.serialization.Function { ... }</code> 1912 */ 1913 public static final 1914 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension< 1915 org.jetbrains.kotlin.serialization.ProtoBuf.Function, 1916 java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation>> functionAnnotation = org.jetbrains.kotlin.protobuf.GeneratedMessageLite 1917 .newRepeatedGeneratedExtension( 1918 org.jetbrains.kotlin.serialization.ProtoBuf.Function.getDefaultInstance(), 1919 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(), 1920 null, 1921 130, 1922 org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE, 1923 false, 1924 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.class); 1925 public static final int PROPERTY_ANNOTATION_FIELD_NUMBER = 130; 1926 /** 1927 * <code>extend .org.jetbrains.kotlin.serialization.Property { ... }</code> 1928 */ 1929 public static final 1930 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension< 1931 org.jetbrains.kotlin.serialization.ProtoBuf.Property, 1932 java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation>> propertyAnnotation = org.jetbrains.kotlin.protobuf.GeneratedMessageLite 1933 .newRepeatedGeneratedExtension( 1934 org.jetbrains.kotlin.serialization.ProtoBuf.Property.getDefaultInstance(), 1935 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(), 1936 null, 1937 130, 1938 org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE, 1939 false, 1940 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.class); 1941 public static final int COMPILE_TIME_VALUE_FIELD_NUMBER = 131; 1942 /** 1943 * <code>extend .org.jetbrains.kotlin.serialization.Property { ... }</code> 1944 */ 1945 public static final 1946 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension< 1947 org.jetbrains.kotlin.serialization.ProtoBuf.Property, 1948 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value> compileTimeValue = org.jetbrains.kotlin.protobuf.GeneratedMessageLite 1949 .newSingularGeneratedExtension( 1950 org.jetbrains.kotlin.serialization.ProtoBuf.Property.getDefaultInstance(), 1951 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.getDefaultInstance(), 1952 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.getDefaultInstance(), 1953 null, 1954 131, 1955 org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE, 1956 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.class); 1957 public static final int ENUM_ENTRY_ANNOTATION_FIELD_NUMBER = 130; 1958 /** 1959 * <code>extend .org.jetbrains.kotlin.serialization.EnumEntry { ... }</code> 1960 */ 1961 public static final 1962 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension< 1963 org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry, 1964 java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation>> enumEntryAnnotation = org.jetbrains.kotlin.protobuf.GeneratedMessageLite 1965 .newRepeatedGeneratedExtension( 1966 org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry.getDefaultInstance(), 1967 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(), 1968 null, 1969 130, 1970 org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE, 1971 false, 1972 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.class); 1973 public static final int PARAMETER_ANNOTATION_FIELD_NUMBER = 130; 1974 /** 1975 * <code>extend .org.jetbrains.kotlin.serialization.ValueParameter { ... }</code> 1976 */ 1977 public static final 1978 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension< 1979 org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter, 1980 java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation>> parameterAnnotation = org.jetbrains.kotlin.protobuf.GeneratedMessageLite 1981 .newRepeatedGeneratedExtension( 1982 org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter.getDefaultInstance(), 1983 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(), 1984 null, 1985 130, 1986 org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE, 1987 false, 1988 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.class); 1989 public static final int TYPE_ANNOTATION_FIELD_NUMBER = 130; 1990 /** 1991 * <code>extend .org.jetbrains.kotlin.serialization.Type { ... }</code> 1992 */ 1993 public static final 1994 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension< 1995 org.jetbrains.kotlin.serialization.ProtoBuf.Type, 1996 java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation>> typeAnnotation = org.jetbrains.kotlin.protobuf.GeneratedMessageLite 1997 .newRepeatedGeneratedExtension( 1998 org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(), 1999 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(), 2000 null, 2001 130, 2002 org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE, 2003 false, 2004 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.class); 2005 public static final int TYPE_PARAMETER_ANNOTATION_FIELD_NUMBER = 130; 2006 /** 2007 * <code>extend .org.jetbrains.kotlin.serialization.TypeParameter { ... }</code> 2008 */ 2009 public static final 2010 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension< 2011 org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter, 2012 java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation>> typeParameterAnnotation = org.jetbrains.kotlin.protobuf.GeneratedMessageLite 2013 .newRepeatedGeneratedExtension( 2014 org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.getDefaultInstance(), 2015 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(), 2016 null, 2017 130, 2018 org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE, 2019 false, 2020 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.class); 2021 2022 static { 2023 } 2024 2025 // @@protoc_insertion_point(outer_class_scope) 2026 }