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.packageFqName);
011 registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.classAnnotation);
012 registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.classContainingFileId);
013 registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.constructorAnnotation);
014 registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.functionAnnotation);
015 registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.functionContainingFileId);
016 registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.propertyAnnotation);
017 registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.compileTimeValue);
018 registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.propertyContainingFileId);
019 registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.enumEntryAnnotation);
020 registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.parameterAnnotation);
021 registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.typeAnnotation);
022 registry.add(org.jetbrains.kotlin.serialization.js.JsProtoBuf.typeParameterAnnotation);
023 }
024 public interface HeaderOrBuilder extends
025 // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.js.Header)
026 org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
027
028 /**
029 * <code>optional int32 flags = 1;</code>
030 *
031 * <pre>
032 *preRelease
033 * </pre>
034 */
035 boolean hasFlags();
036 /**
037 * <code>optional int32 flags = 1;</code>
038 *
039 * <pre>
040 *preRelease
041 * </pre>
042 */
043 int getFlags();
044
045 /**
046 * <code>optional int32 js_code_binary_version = 2;</code>
047 *
048 * <pre>
049 * (patch << 16) + (minor << 8) + major
050 * </pre>
051 */
052 boolean hasJsCodeBinaryVersion();
053 /**
054 * <code>optional int32 js_code_binary_version = 2;</code>
055 *
056 * <pre>
057 * (patch << 16) + (minor << 8) + major
058 * </pre>
059 */
060 int getJsCodeBinaryVersion();
061
062 /**
063 * <code>optional string package_fq_name = 3;</code>
064 */
065 boolean hasPackageFqName();
066 /**
067 * <code>optional string package_fq_name = 3;</code>
068 */
069 java.lang.String getPackageFqName();
070 /**
071 * <code>optional string package_fq_name = 3;</code>
072 */
073 org.jetbrains.kotlin.protobuf.ByteString
074 getPackageFqNameBytes();
075 }
076 /**
077 * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Header}
078 */
079 public static final class Header extends
080 org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements
081 // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.js.Header)
082 HeaderOrBuilder {
083 // Use Header.newBuilder() to construct.
084 private Header(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) {
085 super(builder);
086 this.unknownFields = builder.getUnknownFields();
087 }
088 private Header(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;}
089
090 private static final Header defaultInstance;
091 public static Header getDefaultInstance() {
092 return defaultInstance;
093 }
094
095 public Header getDefaultInstanceForType() {
096 return defaultInstance;
097 }
098
099 private final org.jetbrains.kotlin.protobuf.ByteString unknownFields;
100 private Header(
101 org.jetbrains.kotlin.protobuf.CodedInputStream input,
102 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
103 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
104 initFields();
105 int mutable_bitField0_ = 0;
106 org.jetbrains.kotlin.protobuf.ByteString.Output unknownFieldsOutput =
107 org.jetbrains.kotlin.protobuf.ByteString.newOutput();
108 org.jetbrains.kotlin.protobuf.CodedOutputStream unknownFieldsCodedOutput =
109 org.jetbrains.kotlin.protobuf.CodedOutputStream.newInstance(
110 unknownFieldsOutput);
111 try {
112 boolean done = false;
113 while (!done) {
114 int tag = input.readTag();
115 switch (tag) {
116 case 0:
117 done = true;
118 break;
119 default: {
120 if (!parseUnknownField(input, unknownFieldsCodedOutput,
121 extensionRegistry, tag)) {
122 done = true;
123 }
124 break;
125 }
126 case 8: {
127 bitField0_ |= 0x00000001;
128 flags_ = input.readInt32();
129 break;
130 }
131 case 16: {
132 bitField0_ |= 0x00000002;
133 jsCodeBinaryVersion_ = input.readInt32();
134 break;
135 }
136 case 26: {
137 org.jetbrains.kotlin.protobuf.ByteString bs = input.readBytes();
138 bitField0_ |= 0x00000004;
139 packageFqName_ = bs;
140 break;
141 }
142 }
143 }
144 } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
145 throw e.setUnfinishedMessage(this);
146 } catch (java.io.IOException e) {
147 throw new org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException(
148 e.getMessage()).setUnfinishedMessage(this);
149 } finally {
150 try {
151 unknownFieldsCodedOutput.flush();
152 } catch (java.io.IOException e) {
153 // Should not happen
154 } finally {
155 unknownFields = unknownFieldsOutput.toByteString();
156 }
157 makeExtensionsImmutable();
158 }
159 }
160 public static org.jetbrains.kotlin.protobuf.Parser<Header> PARSER =
161 new org.jetbrains.kotlin.protobuf.AbstractParser<Header>() {
162 public Header parsePartialFrom(
163 org.jetbrains.kotlin.protobuf.CodedInputStream input,
164 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
165 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
166 return new Header(input, extensionRegistry);
167 }
168 };
169
170 @java.lang.Override
171 public org.jetbrains.kotlin.protobuf.Parser<Header> getParserForType() {
172 return PARSER;
173 }
174
175 private int bitField0_;
176 public static final int FLAGS_FIELD_NUMBER = 1;
177 private int flags_;
178 /**
179 * <code>optional int32 flags = 1;</code>
180 *
181 * <pre>
182 *preRelease
183 * </pre>
184 */
185 public boolean hasFlags() {
186 return ((bitField0_ & 0x00000001) == 0x00000001);
187 }
188 /**
189 * <code>optional int32 flags = 1;</code>
190 *
191 * <pre>
192 *preRelease
193 * </pre>
194 */
195 public int getFlags() {
196 return flags_;
197 }
198
199 public static final int JS_CODE_BINARY_VERSION_FIELD_NUMBER = 2;
200 private int jsCodeBinaryVersion_;
201 /**
202 * <code>optional int32 js_code_binary_version = 2;</code>
203 *
204 * <pre>
205 * (patch << 16) + (minor << 8) + major
206 * </pre>
207 */
208 public boolean hasJsCodeBinaryVersion() {
209 return ((bitField0_ & 0x00000002) == 0x00000002);
210 }
211 /**
212 * <code>optional int32 js_code_binary_version = 2;</code>
213 *
214 * <pre>
215 * (patch << 16) + (minor << 8) + major
216 * </pre>
217 */
218 public int getJsCodeBinaryVersion() {
219 return jsCodeBinaryVersion_;
220 }
221
222 public static final int PACKAGE_FQ_NAME_FIELD_NUMBER = 3;
223 private java.lang.Object packageFqName_;
224 /**
225 * <code>optional string package_fq_name = 3;</code>
226 */
227 public boolean hasPackageFqName() {
228 return ((bitField0_ & 0x00000004) == 0x00000004);
229 }
230 /**
231 * <code>optional string package_fq_name = 3;</code>
232 */
233 public java.lang.String getPackageFqName() {
234 java.lang.Object ref = packageFqName_;
235 if (ref instanceof java.lang.String) {
236 return (java.lang.String) ref;
237 } else {
238 org.jetbrains.kotlin.protobuf.ByteString bs =
239 (org.jetbrains.kotlin.protobuf.ByteString) ref;
240 java.lang.String s = bs.toStringUtf8();
241 if (bs.isValidUtf8()) {
242 packageFqName_ = s;
243 }
244 return s;
245 }
246 }
247 /**
248 * <code>optional string package_fq_name = 3;</code>
249 */
250 public org.jetbrains.kotlin.protobuf.ByteString
251 getPackageFqNameBytes() {
252 java.lang.Object ref = packageFqName_;
253 if (ref instanceof java.lang.String) {
254 org.jetbrains.kotlin.protobuf.ByteString b =
255 org.jetbrains.kotlin.protobuf.ByteString.copyFromUtf8(
256 (java.lang.String) ref);
257 packageFqName_ = b;
258 return b;
259 } else {
260 return (org.jetbrains.kotlin.protobuf.ByteString) ref;
261 }
262 }
263
264 private void initFields() {
265 flags_ = 0;
266 jsCodeBinaryVersion_ = 0;
267 packageFqName_ = "";
268 }
269 private byte memoizedIsInitialized = -1;
270 public final boolean isInitialized() {
271 byte isInitialized = memoizedIsInitialized;
272 if (isInitialized == 1) return true;
273 if (isInitialized == 0) return false;
274
275 memoizedIsInitialized = 1;
276 return true;
277 }
278
279 public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output)
280 throws java.io.IOException {
281 getSerializedSize();
282 if (((bitField0_ & 0x00000001) == 0x00000001)) {
283 output.writeInt32(1, flags_);
284 }
285 if (((bitField0_ & 0x00000002) == 0x00000002)) {
286 output.writeInt32(2, jsCodeBinaryVersion_);
287 }
288 if (((bitField0_ & 0x00000004) == 0x00000004)) {
289 output.writeBytes(3, getPackageFqNameBytes());
290 }
291 output.writeRawBytes(unknownFields);
292 }
293
294 private int memoizedSerializedSize = -1;
295 public int getSerializedSize() {
296 int size = memoizedSerializedSize;
297 if (size != -1) return size;
298
299 size = 0;
300 if (((bitField0_ & 0x00000001) == 0x00000001)) {
301 size += org.jetbrains.kotlin.protobuf.CodedOutputStream
302 .computeInt32Size(1, flags_);
303 }
304 if (((bitField0_ & 0x00000002) == 0x00000002)) {
305 size += org.jetbrains.kotlin.protobuf.CodedOutputStream
306 .computeInt32Size(2, jsCodeBinaryVersion_);
307 }
308 if (((bitField0_ & 0x00000004) == 0x00000004)) {
309 size += org.jetbrains.kotlin.protobuf.CodedOutputStream
310 .computeBytesSize(3, getPackageFqNameBytes());
311 }
312 size += unknownFields.size();
313 memoizedSerializedSize = size;
314 return size;
315 }
316
317 private static final long serialVersionUID = 0L;
318 @java.lang.Override
319 protected java.lang.Object writeReplace()
320 throws java.io.ObjectStreamException {
321 return super.writeReplace();
322 }
323
324 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Header parseFrom(
325 org.jetbrains.kotlin.protobuf.ByteString data)
326 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
327 return PARSER.parseFrom(data);
328 }
329 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Header parseFrom(
330 org.jetbrains.kotlin.protobuf.ByteString data,
331 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
332 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
333 return PARSER.parseFrom(data, extensionRegistry);
334 }
335 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Header parseFrom(byte[] data)
336 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
337 return PARSER.parseFrom(data);
338 }
339 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Header parseFrom(
340 byte[] data,
341 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
342 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
343 return PARSER.parseFrom(data, extensionRegistry);
344 }
345 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Header parseFrom(java.io.InputStream input)
346 throws java.io.IOException {
347 return PARSER.parseFrom(input);
348 }
349 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Header parseFrom(
350 java.io.InputStream input,
351 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
352 throws java.io.IOException {
353 return PARSER.parseFrom(input, extensionRegistry);
354 }
355 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Header parseDelimitedFrom(java.io.InputStream input)
356 throws java.io.IOException {
357 return PARSER.parseDelimitedFrom(input);
358 }
359 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Header parseDelimitedFrom(
360 java.io.InputStream input,
361 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
362 throws java.io.IOException {
363 return PARSER.parseDelimitedFrom(input, extensionRegistry);
364 }
365 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Header parseFrom(
366 org.jetbrains.kotlin.protobuf.CodedInputStream input)
367 throws java.io.IOException {
368 return PARSER.parseFrom(input);
369 }
370 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Header parseFrom(
371 org.jetbrains.kotlin.protobuf.CodedInputStream input,
372 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
373 throws java.io.IOException {
374 return PARSER.parseFrom(input, extensionRegistry);
375 }
376
377 public static Builder newBuilder() { return Builder.create(); }
378 public Builder newBuilderForType() { return newBuilder(); }
379 public static Builder newBuilder(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Header prototype) {
380 return newBuilder().mergeFrom(prototype);
381 }
382 public Builder toBuilder() { return newBuilder(this); }
383
384 /**
385 * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Header}
386 */
387 public static final class Builder extends
388 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder<
389 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Header, Builder>
390 implements
391 // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.js.Header)
392 org.jetbrains.kotlin.serialization.js.JsProtoBuf.HeaderOrBuilder {
393 // Construct using org.jetbrains.kotlin.serialization.js.JsProtoBuf.Header.newBuilder()
394 private Builder() {
395 maybeForceBuilderInitialization();
396 }
397
398 private void maybeForceBuilderInitialization() {
399 }
400 private static Builder create() {
401 return new Builder();
402 }
403
404 public Builder clear() {
405 super.clear();
406 flags_ = 0;
407 bitField0_ = (bitField0_ & ~0x00000001);
408 jsCodeBinaryVersion_ = 0;
409 bitField0_ = (bitField0_ & ~0x00000002);
410 packageFqName_ = "";
411 bitField0_ = (bitField0_ & ~0x00000004);
412 return this;
413 }
414
415 public Builder clone() {
416 return create().mergeFrom(buildPartial());
417 }
418
419 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Header getDefaultInstanceForType() {
420 return org.jetbrains.kotlin.serialization.js.JsProtoBuf.Header.getDefaultInstance();
421 }
422
423 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Header build() {
424 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Header result = buildPartial();
425 if (!result.isInitialized()) {
426 throw newUninitializedMessageException(result);
427 }
428 return result;
429 }
430
431 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Header buildPartial() {
432 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Header result = new org.jetbrains.kotlin.serialization.js.JsProtoBuf.Header(this);
433 int from_bitField0_ = bitField0_;
434 int to_bitField0_ = 0;
435 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
436 to_bitField0_ |= 0x00000001;
437 }
438 result.flags_ = flags_;
439 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
440 to_bitField0_ |= 0x00000002;
441 }
442 result.jsCodeBinaryVersion_ = jsCodeBinaryVersion_;
443 if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
444 to_bitField0_ |= 0x00000004;
445 }
446 result.packageFqName_ = packageFqName_;
447 result.bitField0_ = to_bitField0_;
448 return result;
449 }
450
451 public Builder mergeFrom(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Header other) {
452 if (other == org.jetbrains.kotlin.serialization.js.JsProtoBuf.Header.getDefaultInstance()) return this;
453 if (other.hasFlags()) {
454 setFlags(other.getFlags());
455 }
456 if (other.hasJsCodeBinaryVersion()) {
457 setJsCodeBinaryVersion(other.getJsCodeBinaryVersion());
458 }
459 if (other.hasPackageFqName()) {
460 bitField0_ |= 0x00000004;
461 packageFqName_ = other.packageFqName_;
462
463 }
464 setUnknownFields(
465 getUnknownFields().concat(other.unknownFields));
466 return this;
467 }
468
469 public final boolean isInitialized() {
470 return true;
471 }
472
473 public Builder mergeFrom(
474 org.jetbrains.kotlin.protobuf.CodedInputStream input,
475 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
476 throws java.io.IOException {
477 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Header parsedMessage = null;
478 try {
479 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
480 } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
481 parsedMessage = (org.jetbrains.kotlin.serialization.js.JsProtoBuf.Header) e.getUnfinishedMessage();
482 throw e;
483 } finally {
484 if (parsedMessage != null) {
485 mergeFrom(parsedMessage);
486 }
487 }
488 return this;
489 }
490 private int bitField0_;
491
492 private int flags_ ;
493 /**
494 * <code>optional int32 flags = 1;</code>
495 *
496 * <pre>
497 *preRelease
498 * </pre>
499 */
500 public boolean hasFlags() {
501 return ((bitField0_ & 0x00000001) == 0x00000001);
502 }
503 /**
504 * <code>optional int32 flags = 1;</code>
505 *
506 * <pre>
507 *preRelease
508 * </pre>
509 */
510 public int getFlags() {
511 return flags_;
512 }
513 /**
514 * <code>optional int32 flags = 1;</code>
515 *
516 * <pre>
517 *preRelease
518 * </pre>
519 */
520 public Builder setFlags(int value) {
521 bitField0_ |= 0x00000001;
522 flags_ = value;
523
524 return this;
525 }
526 /**
527 * <code>optional int32 flags = 1;</code>
528 *
529 * <pre>
530 *preRelease
531 * </pre>
532 */
533 public Builder clearFlags() {
534 bitField0_ = (bitField0_ & ~0x00000001);
535 flags_ = 0;
536
537 return this;
538 }
539
540 private int jsCodeBinaryVersion_ ;
541 /**
542 * <code>optional int32 js_code_binary_version = 2;</code>
543 *
544 * <pre>
545 * (patch << 16) + (minor << 8) + major
546 * </pre>
547 */
548 public boolean hasJsCodeBinaryVersion() {
549 return ((bitField0_ & 0x00000002) == 0x00000002);
550 }
551 /**
552 * <code>optional int32 js_code_binary_version = 2;</code>
553 *
554 * <pre>
555 * (patch << 16) + (minor << 8) + major
556 * </pre>
557 */
558 public int getJsCodeBinaryVersion() {
559 return jsCodeBinaryVersion_;
560 }
561 /**
562 * <code>optional int32 js_code_binary_version = 2;</code>
563 *
564 * <pre>
565 * (patch << 16) + (minor << 8) + major
566 * </pre>
567 */
568 public Builder setJsCodeBinaryVersion(int value) {
569 bitField0_ |= 0x00000002;
570 jsCodeBinaryVersion_ = value;
571
572 return this;
573 }
574 /**
575 * <code>optional int32 js_code_binary_version = 2;</code>
576 *
577 * <pre>
578 * (patch << 16) + (minor << 8) + major
579 * </pre>
580 */
581 public Builder clearJsCodeBinaryVersion() {
582 bitField0_ = (bitField0_ & ~0x00000002);
583 jsCodeBinaryVersion_ = 0;
584
585 return this;
586 }
587
588 private java.lang.Object packageFqName_ = "";
589 /**
590 * <code>optional string package_fq_name = 3;</code>
591 */
592 public boolean hasPackageFqName() {
593 return ((bitField0_ & 0x00000004) == 0x00000004);
594 }
595 /**
596 * <code>optional string package_fq_name = 3;</code>
597 */
598 public java.lang.String getPackageFqName() {
599 java.lang.Object ref = packageFqName_;
600 if (!(ref instanceof java.lang.String)) {
601 org.jetbrains.kotlin.protobuf.ByteString bs =
602 (org.jetbrains.kotlin.protobuf.ByteString) ref;
603 java.lang.String s = bs.toStringUtf8();
604 if (bs.isValidUtf8()) {
605 packageFqName_ = s;
606 }
607 return s;
608 } else {
609 return (java.lang.String) ref;
610 }
611 }
612 /**
613 * <code>optional string package_fq_name = 3;</code>
614 */
615 public org.jetbrains.kotlin.protobuf.ByteString
616 getPackageFqNameBytes() {
617 java.lang.Object ref = packageFqName_;
618 if (ref instanceof String) {
619 org.jetbrains.kotlin.protobuf.ByteString b =
620 org.jetbrains.kotlin.protobuf.ByteString.copyFromUtf8(
621 (java.lang.String) ref);
622 packageFqName_ = b;
623 return b;
624 } else {
625 return (org.jetbrains.kotlin.protobuf.ByteString) ref;
626 }
627 }
628 /**
629 * <code>optional string package_fq_name = 3;</code>
630 */
631 public Builder setPackageFqName(
632 java.lang.String value) {
633 if (value == null) {
634 throw new NullPointerException();
635 }
636 bitField0_ |= 0x00000004;
637 packageFqName_ = value;
638
639 return this;
640 }
641 /**
642 * <code>optional string package_fq_name = 3;</code>
643 */
644 public Builder clearPackageFqName() {
645 bitField0_ = (bitField0_ & ~0x00000004);
646 packageFqName_ = getDefaultInstance().getPackageFqName();
647
648 return this;
649 }
650 /**
651 * <code>optional string package_fq_name = 3;</code>
652 */
653 public Builder setPackageFqNameBytes(
654 org.jetbrains.kotlin.protobuf.ByteString value) {
655 if (value == null) {
656 throw new NullPointerException();
657 }
658 bitField0_ |= 0x00000004;
659 packageFqName_ = value;
660
661 return this;
662 }
663
664 // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.js.Header)
665 }
666
667 static {
668 defaultInstance = new Header(true);
669 defaultInstance.initFields();
670 }
671
672 // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.js.Header)
673 }
674
675 public interface FileOrBuilder extends
676 // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.js.File)
677 org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
678
679 /**
680 * <code>optional int32 id = 1;</code>
681 *
682 * <pre>
683 * If absent, id is the index of the file in the Files.file list
684 * </pre>
685 */
686 boolean hasId();
687 /**
688 * <code>optional int32 id = 1;</code>
689 *
690 * <pre>
691 * If absent, id is the index of the file in the Files.file list
692 * </pre>
693 */
694 int getId();
695
696 /**
697 * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 2;</code>
698 */
699 java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation>
700 getAnnotationList();
701 /**
702 * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 2;</code>
703 */
704 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation getAnnotation(int index);
705 /**
706 * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 2;</code>
707 */
708 int getAnnotationCount();
709 }
710 /**
711 * Protobuf type {@code org.jetbrains.kotlin.serialization.js.File}
712 */
713 public static final class File extends
714 org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements
715 // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.js.File)
716 FileOrBuilder {
717 // Use File.newBuilder() to construct.
718 private File(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) {
719 super(builder);
720 this.unknownFields = builder.getUnknownFields();
721 }
722 private File(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;}
723
724 private static final File defaultInstance;
725 public static File getDefaultInstance() {
726 return defaultInstance;
727 }
728
729 public File getDefaultInstanceForType() {
730 return defaultInstance;
731 }
732
733 private final org.jetbrains.kotlin.protobuf.ByteString unknownFields;
734 private File(
735 org.jetbrains.kotlin.protobuf.CodedInputStream input,
736 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
737 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
738 initFields();
739 int mutable_bitField0_ = 0;
740 org.jetbrains.kotlin.protobuf.ByteString.Output unknownFieldsOutput =
741 org.jetbrains.kotlin.protobuf.ByteString.newOutput();
742 org.jetbrains.kotlin.protobuf.CodedOutputStream unknownFieldsCodedOutput =
743 org.jetbrains.kotlin.protobuf.CodedOutputStream.newInstance(
744 unknownFieldsOutput);
745 try {
746 boolean done = false;
747 while (!done) {
748 int tag = input.readTag();
749 switch (tag) {
750 case 0:
751 done = true;
752 break;
753 default: {
754 if (!parseUnknownField(input, unknownFieldsCodedOutput,
755 extensionRegistry, tag)) {
756 done = true;
757 }
758 break;
759 }
760 case 8: {
761 bitField0_ |= 0x00000001;
762 id_ = input.readInt32();
763 break;
764 }
765 case 18: {
766 if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
767 annotation_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation>();
768 mutable_bitField0_ |= 0x00000002;
769 }
770 annotation_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.PARSER, extensionRegistry));
771 break;
772 }
773 }
774 }
775 } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
776 throw e.setUnfinishedMessage(this);
777 } catch (java.io.IOException e) {
778 throw new org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException(
779 e.getMessage()).setUnfinishedMessage(this);
780 } finally {
781 if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
782 annotation_ = java.util.Collections.unmodifiableList(annotation_);
783 }
784 try {
785 unknownFieldsCodedOutput.flush();
786 } catch (java.io.IOException e) {
787 // Should not happen
788 } finally {
789 unknownFields = unknownFieldsOutput.toByteString();
790 }
791 makeExtensionsImmutable();
792 }
793 }
794 public static org.jetbrains.kotlin.protobuf.Parser<File> PARSER =
795 new org.jetbrains.kotlin.protobuf.AbstractParser<File>() {
796 public File parsePartialFrom(
797 org.jetbrains.kotlin.protobuf.CodedInputStream input,
798 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
799 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
800 return new File(input, extensionRegistry);
801 }
802 };
803
804 @java.lang.Override
805 public org.jetbrains.kotlin.protobuf.Parser<File> getParserForType() {
806 return PARSER;
807 }
808
809 private int bitField0_;
810 public static final int ID_FIELD_NUMBER = 1;
811 private int id_;
812 /**
813 * <code>optional int32 id = 1;</code>
814 *
815 * <pre>
816 * If absent, id is the index of the file in the Files.file list
817 * </pre>
818 */
819 public boolean hasId() {
820 return ((bitField0_ & 0x00000001) == 0x00000001);
821 }
822 /**
823 * <code>optional int32 id = 1;</code>
824 *
825 * <pre>
826 * If absent, id is the index of the file in the Files.file list
827 * </pre>
828 */
829 public int getId() {
830 return id_;
831 }
832
833 public static final int ANNOTATION_FIELD_NUMBER = 2;
834 private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation> annotation_;
835 /**
836 * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 2;</code>
837 */
838 public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation> getAnnotationList() {
839 return annotation_;
840 }
841 /**
842 * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 2;</code>
843 */
844 public java.util.List<? extends org.jetbrains.kotlin.serialization.ProtoBuf.AnnotationOrBuilder>
845 getAnnotationOrBuilderList() {
846 return annotation_;
847 }
848 /**
849 * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 2;</code>
850 */
851 public int getAnnotationCount() {
852 return annotation_.size();
853 }
854 /**
855 * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 2;</code>
856 */
857 public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation getAnnotation(int index) {
858 return annotation_.get(index);
859 }
860 /**
861 * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 2;</code>
862 */
863 public org.jetbrains.kotlin.serialization.ProtoBuf.AnnotationOrBuilder getAnnotationOrBuilder(
864 int index) {
865 return annotation_.get(index);
866 }
867
868 private void initFields() {
869 id_ = 0;
870 annotation_ = java.util.Collections.emptyList();
871 }
872 private byte memoizedIsInitialized = -1;
873 public final boolean isInitialized() {
874 byte isInitialized = memoizedIsInitialized;
875 if (isInitialized == 1) return true;
876 if (isInitialized == 0) return false;
877
878 for (int i = 0; i < getAnnotationCount(); i++) {
879 if (!getAnnotation(i).isInitialized()) {
880 memoizedIsInitialized = 0;
881 return false;
882 }
883 }
884 memoizedIsInitialized = 1;
885 return true;
886 }
887
888 public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output)
889 throws java.io.IOException {
890 getSerializedSize();
891 if (((bitField0_ & 0x00000001) == 0x00000001)) {
892 output.writeInt32(1, id_);
893 }
894 for (int i = 0; i < annotation_.size(); i++) {
895 output.writeMessage(2, annotation_.get(i));
896 }
897 output.writeRawBytes(unknownFields);
898 }
899
900 private int memoizedSerializedSize = -1;
901 public int getSerializedSize() {
902 int size = memoizedSerializedSize;
903 if (size != -1) return size;
904
905 size = 0;
906 if (((bitField0_ & 0x00000001) == 0x00000001)) {
907 size += org.jetbrains.kotlin.protobuf.CodedOutputStream
908 .computeInt32Size(1, id_);
909 }
910 for (int i = 0; i < annotation_.size(); i++) {
911 size += org.jetbrains.kotlin.protobuf.CodedOutputStream
912 .computeMessageSize(2, annotation_.get(i));
913 }
914 size += unknownFields.size();
915 memoizedSerializedSize = size;
916 return size;
917 }
918
919 private static final long serialVersionUID = 0L;
920 @java.lang.Override
921 protected java.lang.Object writeReplace()
922 throws java.io.ObjectStreamException {
923 return super.writeReplace();
924 }
925
926 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.File parseFrom(
927 org.jetbrains.kotlin.protobuf.ByteString data)
928 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
929 return PARSER.parseFrom(data);
930 }
931 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.File parseFrom(
932 org.jetbrains.kotlin.protobuf.ByteString data,
933 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
934 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
935 return PARSER.parseFrom(data, extensionRegistry);
936 }
937 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.File parseFrom(byte[] data)
938 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
939 return PARSER.parseFrom(data);
940 }
941 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.File parseFrom(
942 byte[] data,
943 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
944 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
945 return PARSER.parseFrom(data, extensionRegistry);
946 }
947 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.File parseFrom(java.io.InputStream input)
948 throws java.io.IOException {
949 return PARSER.parseFrom(input);
950 }
951 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.File parseFrom(
952 java.io.InputStream input,
953 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
954 throws java.io.IOException {
955 return PARSER.parseFrom(input, extensionRegistry);
956 }
957 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.File parseDelimitedFrom(java.io.InputStream input)
958 throws java.io.IOException {
959 return PARSER.parseDelimitedFrom(input);
960 }
961 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.File parseDelimitedFrom(
962 java.io.InputStream input,
963 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
964 throws java.io.IOException {
965 return PARSER.parseDelimitedFrom(input, extensionRegistry);
966 }
967 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.File parseFrom(
968 org.jetbrains.kotlin.protobuf.CodedInputStream input)
969 throws java.io.IOException {
970 return PARSER.parseFrom(input);
971 }
972 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.File parseFrom(
973 org.jetbrains.kotlin.protobuf.CodedInputStream input,
974 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
975 throws java.io.IOException {
976 return PARSER.parseFrom(input, extensionRegistry);
977 }
978
979 public static Builder newBuilder() { return Builder.create(); }
980 public Builder newBuilderForType() { return newBuilder(); }
981 public static Builder newBuilder(org.jetbrains.kotlin.serialization.js.JsProtoBuf.File prototype) {
982 return newBuilder().mergeFrom(prototype);
983 }
984 public Builder toBuilder() { return newBuilder(this); }
985
986 /**
987 * Protobuf type {@code org.jetbrains.kotlin.serialization.js.File}
988 */
989 public static final class Builder extends
990 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder<
991 org.jetbrains.kotlin.serialization.js.JsProtoBuf.File, Builder>
992 implements
993 // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.js.File)
994 org.jetbrains.kotlin.serialization.js.JsProtoBuf.FileOrBuilder {
995 // Construct using org.jetbrains.kotlin.serialization.js.JsProtoBuf.File.newBuilder()
996 private Builder() {
997 maybeForceBuilderInitialization();
998 }
999
1000 private void maybeForceBuilderInitialization() {
1001 }
1002 private static Builder create() {
1003 return new Builder();
1004 }
1005
1006 public Builder clear() {
1007 super.clear();
1008 id_ = 0;
1009 bitField0_ = (bitField0_ & ~0x00000001);
1010 annotation_ = java.util.Collections.emptyList();
1011 bitField0_ = (bitField0_ & ~0x00000002);
1012 return this;
1013 }
1014
1015 public Builder clone() {
1016 return create().mergeFrom(buildPartial());
1017 }
1018
1019 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.File getDefaultInstanceForType() {
1020 return org.jetbrains.kotlin.serialization.js.JsProtoBuf.File.getDefaultInstance();
1021 }
1022
1023 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.File build() {
1024 org.jetbrains.kotlin.serialization.js.JsProtoBuf.File result = buildPartial();
1025 if (!result.isInitialized()) {
1026 throw newUninitializedMessageException(result);
1027 }
1028 return result;
1029 }
1030
1031 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.File buildPartial() {
1032 org.jetbrains.kotlin.serialization.js.JsProtoBuf.File result = new org.jetbrains.kotlin.serialization.js.JsProtoBuf.File(this);
1033 int from_bitField0_ = bitField0_;
1034 int to_bitField0_ = 0;
1035 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1036 to_bitField0_ |= 0x00000001;
1037 }
1038 result.id_ = id_;
1039 if (((bitField0_ & 0x00000002) == 0x00000002)) {
1040 annotation_ = java.util.Collections.unmodifiableList(annotation_);
1041 bitField0_ = (bitField0_ & ~0x00000002);
1042 }
1043 result.annotation_ = annotation_;
1044 result.bitField0_ = to_bitField0_;
1045 return result;
1046 }
1047
1048 public Builder mergeFrom(org.jetbrains.kotlin.serialization.js.JsProtoBuf.File other) {
1049 if (other == org.jetbrains.kotlin.serialization.js.JsProtoBuf.File.getDefaultInstance()) return this;
1050 if (other.hasId()) {
1051 setId(other.getId());
1052 }
1053 if (!other.annotation_.isEmpty()) {
1054 if (annotation_.isEmpty()) {
1055 annotation_ = other.annotation_;
1056 bitField0_ = (bitField0_ & ~0x00000002);
1057 } else {
1058 ensureAnnotationIsMutable();
1059 annotation_.addAll(other.annotation_);
1060 }
1061
1062 }
1063 setUnknownFields(
1064 getUnknownFields().concat(other.unknownFields));
1065 return this;
1066 }
1067
1068 public final boolean isInitialized() {
1069 for (int i = 0; i < getAnnotationCount(); i++) {
1070 if (!getAnnotation(i).isInitialized()) {
1071
1072 return false;
1073 }
1074 }
1075 return true;
1076 }
1077
1078 public Builder mergeFrom(
1079 org.jetbrains.kotlin.protobuf.CodedInputStream input,
1080 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
1081 throws java.io.IOException {
1082 org.jetbrains.kotlin.serialization.js.JsProtoBuf.File parsedMessage = null;
1083 try {
1084 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1085 } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
1086 parsedMessage = (org.jetbrains.kotlin.serialization.js.JsProtoBuf.File) e.getUnfinishedMessage();
1087 throw e;
1088 } finally {
1089 if (parsedMessage != null) {
1090 mergeFrom(parsedMessage);
1091 }
1092 }
1093 return this;
1094 }
1095 private int bitField0_;
1096
1097 private int id_ ;
1098 /**
1099 * <code>optional int32 id = 1;</code>
1100 *
1101 * <pre>
1102 * If absent, id is the index of the file in the Files.file list
1103 * </pre>
1104 */
1105 public boolean hasId() {
1106 return ((bitField0_ & 0x00000001) == 0x00000001);
1107 }
1108 /**
1109 * <code>optional int32 id = 1;</code>
1110 *
1111 * <pre>
1112 * If absent, id is the index of the file in the Files.file list
1113 * </pre>
1114 */
1115 public int getId() {
1116 return id_;
1117 }
1118 /**
1119 * <code>optional int32 id = 1;</code>
1120 *
1121 * <pre>
1122 * If absent, id is the index of the file in the Files.file list
1123 * </pre>
1124 */
1125 public Builder setId(int value) {
1126 bitField0_ |= 0x00000001;
1127 id_ = value;
1128
1129 return this;
1130 }
1131 /**
1132 * <code>optional int32 id = 1;</code>
1133 *
1134 * <pre>
1135 * If absent, id is the index of the file in the Files.file list
1136 * </pre>
1137 */
1138 public Builder clearId() {
1139 bitField0_ = (bitField0_ & ~0x00000001);
1140 id_ = 0;
1141
1142 return this;
1143 }
1144
1145 private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation> annotation_ =
1146 java.util.Collections.emptyList();
1147 private void ensureAnnotationIsMutable() {
1148 if (!((bitField0_ & 0x00000002) == 0x00000002)) {
1149 annotation_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation>(annotation_);
1150 bitField0_ |= 0x00000002;
1151 }
1152 }
1153
1154 /**
1155 * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 2;</code>
1156 */
1157 public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation> getAnnotationList() {
1158 return java.util.Collections.unmodifiableList(annotation_);
1159 }
1160 /**
1161 * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 2;</code>
1162 */
1163 public int getAnnotationCount() {
1164 return annotation_.size();
1165 }
1166 /**
1167 * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 2;</code>
1168 */
1169 public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation getAnnotation(int index) {
1170 return annotation_.get(index);
1171 }
1172 /**
1173 * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 2;</code>
1174 */
1175 public Builder setAnnotation(
1176 int index, org.jetbrains.kotlin.serialization.ProtoBuf.Annotation value) {
1177 if (value == null) {
1178 throw new NullPointerException();
1179 }
1180 ensureAnnotationIsMutable();
1181 annotation_.set(index, value);
1182
1183 return this;
1184 }
1185 /**
1186 * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 2;</code>
1187 */
1188 public Builder setAnnotation(
1189 int index, org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Builder builderForValue) {
1190 ensureAnnotationIsMutable();
1191 annotation_.set(index, builderForValue.build());
1192
1193 return this;
1194 }
1195 /**
1196 * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 2;</code>
1197 */
1198 public Builder addAnnotation(org.jetbrains.kotlin.serialization.ProtoBuf.Annotation value) {
1199 if (value == null) {
1200 throw new NullPointerException();
1201 }
1202 ensureAnnotationIsMutable();
1203 annotation_.add(value);
1204
1205 return this;
1206 }
1207 /**
1208 * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 2;</code>
1209 */
1210 public Builder addAnnotation(
1211 int index, org.jetbrains.kotlin.serialization.ProtoBuf.Annotation value) {
1212 if (value == null) {
1213 throw new NullPointerException();
1214 }
1215 ensureAnnotationIsMutable();
1216 annotation_.add(index, value);
1217
1218 return this;
1219 }
1220 /**
1221 * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 2;</code>
1222 */
1223 public Builder addAnnotation(
1224 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Builder builderForValue) {
1225 ensureAnnotationIsMutable();
1226 annotation_.add(builderForValue.build());
1227
1228 return this;
1229 }
1230 /**
1231 * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 2;</code>
1232 */
1233 public Builder addAnnotation(
1234 int index, org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Builder builderForValue) {
1235 ensureAnnotationIsMutable();
1236 annotation_.add(index, builderForValue.build());
1237
1238 return this;
1239 }
1240 /**
1241 * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 2;</code>
1242 */
1243 public Builder addAllAnnotation(
1244 java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.ProtoBuf.Annotation> values) {
1245 ensureAnnotationIsMutable();
1246 org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
1247 values, annotation_);
1248
1249 return this;
1250 }
1251 /**
1252 * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 2;</code>
1253 */
1254 public Builder clearAnnotation() {
1255 annotation_ = java.util.Collections.emptyList();
1256 bitField0_ = (bitField0_ & ~0x00000002);
1257
1258 return this;
1259 }
1260 /**
1261 * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 2;</code>
1262 */
1263 public Builder removeAnnotation(int index) {
1264 ensureAnnotationIsMutable();
1265 annotation_.remove(index);
1266
1267 return this;
1268 }
1269
1270 // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.js.File)
1271 }
1272
1273 static {
1274 defaultInstance = new File(true);
1275 defaultInstance.initFields();
1276 }
1277
1278 // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.js.File)
1279 }
1280
1281 public interface FilesOrBuilder extends
1282 // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.js.Files)
1283 org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
1284
1285 /**
1286 * <code>repeated .org.jetbrains.kotlin.serialization.js.File file = 1;</code>
1287 */
1288 java.util.List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.File>
1289 getFileList();
1290 /**
1291 * <code>repeated .org.jetbrains.kotlin.serialization.js.File file = 1;</code>
1292 */
1293 org.jetbrains.kotlin.serialization.js.JsProtoBuf.File getFile(int index);
1294 /**
1295 * <code>repeated .org.jetbrains.kotlin.serialization.js.File file = 1;</code>
1296 */
1297 int getFileCount();
1298 }
1299 /**
1300 * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Files}
1301 */
1302 public static final class Files extends
1303 org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements
1304 // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.js.Files)
1305 FilesOrBuilder {
1306 // Use Files.newBuilder() to construct.
1307 private Files(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) {
1308 super(builder);
1309 this.unknownFields = builder.getUnknownFields();
1310 }
1311 private Files(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;}
1312
1313 private static final Files defaultInstance;
1314 public static Files getDefaultInstance() {
1315 return defaultInstance;
1316 }
1317
1318 public Files getDefaultInstanceForType() {
1319 return defaultInstance;
1320 }
1321
1322 private final org.jetbrains.kotlin.protobuf.ByteString unknownFields;
1323 private Files(
1324 org.jetbrains.kotlin.protobuf.CodedInputStream input,
1325 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
1326 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
1327 initFields();
1328 int mutable_bitField0_ = 0;
1329 org.jetbrains.kotlin.protobuf.ByteString.Output unknownFieldsOutput =
1330 org.jetbrains.kotlin.protobuf.ByteString.newOutput();
1331 org.jetbrains.kotlin.protobuf.CodedOutputStream unknownFieldsCodedOutput =
1332 org.jetbrains.kotlin.protobuf.CodedOutputStream.newInstance(
1333 unknownFieldsOutput);
1334 try {
1335 boolean done = false;
1336 while (!done) {
1337 int tag = input.readTag();
1338 switch (tag) {
1339 case 0:
1340 done = true;
1341 break;
1342 default: {
1343 if (!parseUnknownField(input, unknownFieldsCodedOutput,
1344 extensionRegistry, tag)) {
1345 done = true;
1346 }
1347 break;
1348 }
1349 case 10: {
1350 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
1351 file_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.js.JsProtoBuf.File>();
1352 mutable_bitField0_ |= 0x00000001;
1353 }
1354 file_.add(input.readMessage(org.jetbrains.kotlin.serialization.js.JsProtoBuf.File.PARSER, extensionRegistry));
1355 break;
1356 }
1357 }
1358 }
1359 } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
1360 throw e.setUnfinishedMessage(this);
1361 } catch (java.io.IOException e) {
1362 throw new org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException(
1363 e.getMessage()).setUnfinishedMessage(this);
1364 } finally {
1365 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
1366 file_ = java.util.Collections.unmodifiableList(file_);
1367 }
1368 try {
1369 unknownFieldsCodedOutput.flush();
1370 } catch (java.io.IOException e) {
1371 // Should not happen
1372 } finally {
1373 unknownFields = unknownFieldsOutput.toByteString();
1374 }
1375 makeExtensionsImmutable();
1376 }
1377 }
1378 public static org.jetbrains.kotlin.protobuf.Parser<Files> PARSER =
1379 new org.jetbrains.kotlin.protobuf.AbstractParser<Files>() {
1380 public Files parsePartialFrom(
1381 org.jetbrains.kotlin.protobuf.CodedInputStream input,
1382 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
1383 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
1384 return new Files(input, extensionRegistry);
1385 }
1386 };
1387
1388 @java.lang.Override
1389 public org.jetbrains.kotlin.protobuf.Parser<Files> getParserForType() {
1390 return PARSER;
1391 }
1392
1393 public static final int FILE_FIELD_NUMBER = 1;
1394 private java.util.List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.File> file_;
1395 /**
1396 * <code>repeated .org.jetbrains.kotlin.serialization.js.File file = 1;</code>
1397 */
1398 public java.util.List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.File> getFileList() {
1399 return file_;
1400 }
1401 /**
1402 * <code>repeated .org.jetbrains.kotlin.serialization.js.File file = 1;</code>
1403 */
1404 public java.util.List<? extends org.jetbrains.kotlin.serialization.js.JsProtoBuf.FileOrBuilder>
1405 getFileOrBuilderList() {
1406 return file_;
1407 }
1408 /**
1409 * <code>repeated .org.jetbrains.kotlin.serialization.js.File file = 1;</code>
1410 */
1411 public int getFileCount() {
1412 return file_.size();
1413 }
1414 /**
1415 * <code>repeated .org.jetbrains.kotlin.serialization.js.File file = 1;</code>
1416 */
1417 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.File getFile(int index) {
1418 return file_.get(index);
1419 }
1420 /**
1421 * <code>repeated .org.jetbrains.kotlin.serialization.js.File file = 1;</code>
1422 */
1423 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.FileOrBuilder getFileOrBuilder(
1424 int index) {
1425 return file_.get(index);
1426 }
1427
1428 private void initFields() {
1429 file_ = java.util.Collections.emptyList();
1430 }
1431 private byte memoizedIsInitialized = -1;
1432 public final boolean isInitialized() {
1433 byte isInitialized = memoizedIsInitialized;
1434 if (isInitialized == 1) return true;
1435 if (isInitialized == 0) return false;
1436
1437 for (int i = 0; i < getFileCount(); i++) {
1438 if (!getFile(i).isInitialized()) {
1439 memoizedIsInitialized = 0;
1440 return false;
1441 }
1442 }
1443 memoizedIsInitialized = 1;
1444 return true;
1445 }
1446
1447 public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output)
1448 throws java.io.IOException {
1449 getSerializedSize();
1450 for (int i = 0; i < file_.size(); i++) {
1451 output.writeMessage(1, file_.get(i));
1452 }
1453 output.writeRawBytes(unknownFields);
1454 }
1455
1456 private int memoizedSerializedSize = -1;
1457 public int getSerializedSize() {
1458 int size = memoizedSerializedSize;
1459 if (size != -1) return size;
1460
1461 size = 0;
1462 for (int i = 0; i < file_.size(); i++) {
1463 size += org.jetbrains.kotlin.protobuf.CodedOutputStream
1464 .computeMessageSize(1, file_.get(i));
1465 }
1466 size += unknownFields.size();
1467 memoizedSerializedSize = size;
1468 return size;
1469 }
1470
1471 private static final long serialVersionUID = 0L;
1472 @java.lang.Override
1473 protected java.lang.Object writeReplace()
1474 throws java.io.ObjectStreamException {
1475 return super.writeReplace();
1476 }
1477
1478 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files parseFrom(
1479 org.jetbrains.kotlin.protobuf.ByteString data)
1480 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
1481 return PARSER.parseFrom(data);
1482 }
1483 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files parseFrom(
1484 org.jetbrains.kotlin.protobuf.ByteString data,
1485 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
1486 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
1487 return PARSER.parseFrom(data, extensionRegistry);
1488 }
1489 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files parseFrom(byte[] data)
1490 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
1491 return PARSER.parseFrom(data);
1492 }
1493 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files parseFrom(
1494 byte[] data,
1495 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
1496 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
1497 return PARSER.parseFrom(data, extensionRegistry);
1498 }
1499 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files parseFrom(java.io.InputStream input)
1500 throws java.io.IOException {
1501 return PARSER.parseFrom(input);
1502 }
1503 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files parseFrom(
1504 java.io.InputStream input,
1505 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
1506 throws java.io.IOException {
1507 return PARSER.parseFrom(input, extensionRegistry);
1508 }
1509 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files parseDelimitedFrom(java.io.InputStream input)
1510 throws java.io.IOException {
1511 return PARSER.parseDelimitedFrom(input);
1512 }
1513 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files parseDelimitedFrom(
1514 java.io.InputStream input,
1515 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
1516 throws java.io.IOException {
1517 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1518 }
1519 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files parseFrom(
1520 org.jetbrains.kotlin.protobuf.CodedInputStream input)
1521 throws java.io.IOException {
1522 return PARSER.parseFrom(input);
1523 }
1524 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files parseFrom(
1525 org.jetbrains.kotlin.protobuf.CodedInputStream input,
1526 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
1527 throws java.io.IOException {
1528 return PARSER.parseFrom(input, extensionRegistry);
1529 }
1530
1531 public static Builder newBuilder() { return Builder.create(); }
1532 public Builder newBuilderForType() { return newBuilder(); }
1533 public static Builder newBuilder(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files prototype) {
1534 return newBuilder().mergeFrom(prototype);
1535 }
1536 public Builder toBuilder() { return newBuilder(this); }
1537
1538 /**
1539 * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Files}
1540 */
1541 public static final class Builder extends
1542 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder<
1543 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files, Builder>
1544 implements
1545 // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.js.Files)
1546 org.jetbrains.kotlin.serialization.js.JsProtoBuf.FilesOrBuilder {
1547 // Construct using org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files.newBuilder()
1548 private Builder() {
1549 maybeForceBuilderInitialization();
1550 }
1551
1552 private void maybeForceBuilderInitialization() {
1553 }
1554 private static Builder create() {
1555 return new Builder();
1556 }
1557
1558 public Builder clear() {
1559 super.clear();
1560 file_ = java.util.Collections.emptyList();
1561 bitField0_ = (bitField0_ & ~0x00000001);
1562 return this;
1563 }
1564
1565 public Builder clone() {
1566 return create().mergeFrom(buildPartial());
1567 }
1568
1569 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files getDefaultInstanceForType() {
1570 return org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files.getDefaultInstance();
1571 }
1572
1573 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files build() {
1574 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files result = buildPartial();
1575 if (!result.isInitialized()) {
1576 throw newUninitializedMessageException(result);
1577 }
1578 return result;
1579 }
1580
1581 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files buildPartial() {
1582 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files result = new org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files(this);
1583 int from_bitField0_ = bitField0_;
1584 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1585 file_ = java.util.Collections.unmodifiableList(file_);
1586 bitField0_ = (bitField0_ & ~0x00000001);
1587 }
1588 result.file_ = file_;
1589 return result;
1590 }
1591
1592 public Builder mergeFrom(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files other) {
1593 if (other == org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files.getDefaultInstance()) return this;
1594 if (!other.file_.isEmpty()) {
1595 if (file_.isEmpty()) {
1596 file_ = other.file_;
1597 bitField0_ = (bitField0_ & ~0x00000001);
1598 } else {
1599 ensureFileIsMutable();
1600 file_.addAll(other.file_);
1601 }
1602
1603 }
1604 setUnknownFields(
1605 getUnknownFields().concat(other.unknownFields));
1606 return this;
1607 }
1608
1609 public final boolean isInitialized() {
1610 for (int i = 0; i < getFileCount(); i++) {
1611 if (!getFile(i).isInitialized()) {
1612
1613 return false;
1614 }
1615 }
1616 return true;
1617 }
1618
1619 public Builder mergeFrom(
1620 org.jetbrains.kotlin.protobuf.CodedInputStream input,
1621 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
1622 throws java.io.IOException {
1623 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files parsedMessage = null;
1624 try {
1625 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1626 } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
1627 parsedMessage = (org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files) e.getUnfinishedMessage();
1628 throw e;
1629 } finally {
1630 if (parsedMessage != null) {
1631 mergeFrom(parsedMessage);
1632 }
1633 }
1634 return this;
1635 }
1636 private int bitField0_;
1637
1638 private java.util.List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.File> file_ =
1639 java.util.Collections.emptyList();
1640 private void ensureFileIsMutable() {
1641 if (!((bitField0_ & 0x00000001) == 0x00000001)) {
1642 file_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.js.JsProtoBuf.File>(file_);
1643 bitField0_ |= 0x00000001;
1644 }
1645 }
1646
1647 /**
1648 * <code>repeated .org.jetbrains.kotlin.serialization.js.File file = 1;</code>
1649 */
1650 public java.util.List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.File> getFileList() {
1651 return java.util.Collections.unmodifiableList(file_);
1652 }
1653 /**
1654 * <code>repeated .org.jetbrains.kotlin.serialization.js.File file = 1;</code>
1655 */
1656 public int getFileCount() {
1657 return file_.size();
1658 }
1659 /**
1660 * <code>repeated .org.jetbrains.kotlin.serialization.js.File file = 1;</code>
1661 */
1662 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.File getFile(int index) {
1663 return file_.get(index);
1664 }
1665 /**
1666 * <code>repeated .org.jetbrains.kotlin.serialization.js.File file = 1;</code>
1667 */
1668 public Builder setFile(
1669 int index, org.jetbrains.kotlin.serialization.js.JsProtoBuf.File value) {
1670 if (value == null) {
1671 throw new NullPointerException();
1672 }
1673 ensureFileIsMutable();
1674 file_.set(index, value);
1675
1676 return this;
1677 }
1678 /**
1679 * <code>repeated .org.jetbrains.kotlin.serialization.js.File file = 1;</code>
1680 */
1681 public Builder setFile(
1682 int index, org.jetbrains.kotlin.serialization.js.JsProtoBuf.File.Builder builderForValue) {
1683 ensureFileIsMutable();
1684 file_.set(index, builderForValue.build());
1685
1686 return this;
1687 }
1688 /**
1689 * <code>repeated .org.jetbrains.kotlin.serialization.js.File file = 1;</code>
1690 */
1691 public Builder addFile(org.jetbrains.kotlin.serialization.js.JsProtoBuf.File value) {
1692 if (value == null) {
1693 throw new NullPointerException();
1694 }
1695 ensureFileIsMutable();
1696 file_.add(value);
1697
1698 return this;
1699 }
1700 /**
1701 * <code>repeated .org.jetbrains.kotlin.serialization.js.File file = 1;</code>
1702 */
1703 public Builder addFile(
1704 int index, org.jetbrains.kotlin.serialization.js.JsProtoBuf.File value) {
1705 if (value == null) {
1706 throw new NullPointerException();
1707 }
1708 ensureFileIsMutable();
1709 file_.add(index, value);
1710
1711 return this;
1712 }
1713 /**
1714 * <code>repeated .org.jetbrains.kotlin.serialization.js.File file = 1;</code>
1715 */
1716 public Builder addFile(
1717 org.jetbrains.kotlin.serialization.js.JsProtoBuf.File.Builder builderForValue) {
1718 ensureFileIsMutable();
1719 file_.add(builderForValue.build());
1720
1721 return this;
1722 }
1723 /**
1724 * <code>repeated .org.jetbrains.kotlin.serialization.js.File file = 1;</code>
1725 */
1726 public Builder addFile(
1727 int index, org.jetbrains.kotlin.serialization.js.JsProtoBuf.File.Builder builderForValue) {
1728 ensureFileIsMutable();
1729 file_.add(index, builderForValue.build());
1730
1731 return this;
1732 }
1733 /**
1734 * <code>repeated .org.jetbrains.kotlin.serialization.js.File file = 1;</code>
1735 */
1736 public Builder addAllFile(
1737 java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.js.JsProtoBuf.File> values) {
1738 ensureFileIsMutable();
1739 org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
1740 values, file_);
1741
1742 return this;
1743 }
1744 /**
1745 * <code>repeated .org.jetbrains.kotlin.serialization.js.File file = 1;</code>
1746 */
1747 public Builder clearFile() {
1748 file_ = java.util.Collections.emptyList();
1749 bitField0_ = (bitField0_ & ~0x00000001);
1750
1751 return this;
1752 }
1753 /**
1754 * <code>repeated .org.jetbrains.kotlin.serialization.js.File file = 1;</code>
1755 */
1756 public Builder removeFile(int index) {
1757 ensureFileIsMutable();
1758 file_.remove(index);
1759
1760 return this;
1761 }
1762
1763 // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.js.Files)
1764 }
1765
1766 static {
1767 defaultInstance = new Files(true);
1768 defaultInstance.initFields();
1769 }
1770
1771 // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.js.Files)
1772 }
1773
1774 public interface ClassesOrBuilder extends
1775 // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.js.Classes)
1776 org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
1777
1778 /**
1779 * <code>repeated int32 class_name = 1 [packed = true];</code>
1780 *
1781 * <pre>
1782 * id in StringTable
1783 * </pre>
1784 */
1785 java.util.List<java.lang.Integer> getClassNameList();
1786 /**
1787 * <code>repeated int32 class_name = 1 [packed = true];</code>
1788 *
1789 * <pre>
1790 * id in StringTable
1791 * </pre>
1792 */
1793 int getClassNameCount();
1794 /**
1795 * <code>repeated int32 class_name = 1 [packed = true];</code>
1796 *
1797 * <pre>
1798 * id in StringTable
1799 * </pre>
1800 */
1801 int getClassName(int index);
1802 }
1803 /**
1804 * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Classes}
1805 */
1806 public static final class Classes extends
1807 org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements
1808 // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.js.Classes)
1809 ClassesOrBuilder {
1810 // Use Classes.newBuilder() to construct.
1811 private Classes(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) {
1812 super(builder);
1813 this.unknownFields = builder.getUnknownFields();
1814 }
1815 private Classes(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;}
1816
1817 private static final Classes defaultInstance;
1818 public static Classes getDefaultInstance() {
1819 return defaultInstance;
1820 }
1821
1822 public Classes getDefaultInstanceForType() {
1823 return defaultInstance;
1824 }
1825
1826 private final org.jetbrains.kotlin.protobuf.ByteString unknownFields;
1827 private Classes(
1828 org.jetbrains.kotlin.protobuf.CodedInputStream input,
1829 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
1830 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
1831 initFields();
1832 int mutable_bitField0_ = 0;
1833 org.jetbrains.kotlin.protobuf.ByteString.Output unknownFieldsOutput =
1834 org.jetbrains.kotlin.protobuf.ByteString.newOutput();
1835 org.jetbrains.kotlin.protobuf.CodedOutputStream unknownFieldsCodedOutput =
1836 org.jetbrains.kotlin.protobuf.CodedOutputStream.newInstance(
1837 unknownFieldsOutput);
1838 try {
1839 boolean done = false;
1840 while (!done) {
1841 int tag = input.readTag();
1842 switch (tag) {
1843 case 0:
1844 done = true;
1845 break;
1846 default: {
1847 if (!parseUnknownField(input, unknownFieldsCodedOutput,
1848 extensionRegistry, tag)) {
1849 done = true;
1850 }
1851 break;
1852 }
1853 case 8: {
1854 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
1855 className_ = new java.util.ArrayList<java.lang.Integer>();
1856 mutable_bitField0_ |= 0x00000001;
1857 }
1858 className_.add(input.readInt32());
1859 break;
1860 }
1861 case 10: {
1862 int length = input.readRawVarint32();
1863 int limit = input.pushLimit(length);
1864 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) {
1865 className_ = new java.util.ArrayList<java.lang.Integer>();
1866 mutable_bitField0_ |= 0x00000001;
1867 }
1868 while (input.getBytesUntilLimit() > 0) {
1869 className_.add(input.readInt32());
1870 }
1871 input.popLimit(limit);
1872 break;
1873 }
1874 }
1875 }
1876 } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
1877 throw e.setUnfinishedMessage(this);
1878 } catch (java.io.IOException e) {
1879 throw new org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException(
1880 e.getMessage()).setUnfinishedMessage(this);
1881 } finally {
1882 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
1883 className_ = java.util.Collections.unmodifiableList(className_);
1884 }
1885 try {
1886 unknownFieldsCodedOutput.flush();
1887 } catch (java.io.IOException e) {
1888 // Should not happen
1889 } finally {
1890 unknownFields = unknownFieldsOutput.toByteString();
1891 }
1892 makeExtensionsImmutable();
1893 }
1894 }
1895 public static org.jetbrains.kotlin.protobuf.Parser<Classes> PARSER =
1896 new org.jetbrains.kotlin.protobuf.AbstractParser<Classes>() {
1897 public Classes parsePartialFrom(
1898 org.jetbrains.kotlin.protobuf.CodedInputStream input,
1899 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
1900 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
1901 return new Classes(input, extensionRegistry);
1902 }
1903 };
1904
1905 @java.lang.Override
1906 public org.jetbrains.kotlin.protobuf.Parser<Classes> getParserForType() {
1907 return PARSER;
1908 }
1909
1910 public static final int CLASS_NAME_FIELD_NUMBER = 1;
1911 private java.util.List<java.lang.Integer> className_;
1912 /**
1913 * <code>repeated int32 class_name = 1 [packed = true];</code>
1914 *
1915 * <pre>
1916 * id in StringTable
1917 * </pre>
1918 */
1919 public java.util.List<java.lang.Integer>
1920 getClassNameList() {
1921 return className_;
1922 }
1923 /**
1924 * <code>repeated int32 class_name = 1 [packed = true];</code>
1925 *
1926 * <pre>
1927 * id in StringTable
1928 * </pre>
1929 */
1930 public int getClassNameCount() {
1931 return className_.size();
1932 }
1933 /**
1934 * <code>repeated int32 class_name = 1 [packed = true];</code>
1935 *
1936 * <pre>
1937 * id in StringTable
1938 * </pre>
1939 */
1940 public int getClassName(int index) {
1941 return className_.get(index);
1942 }
1943 private int classNameMemoizedSerializedSize = -1;
1944
1945 private void initFields() {
1946 className_ = java.util.Collections.emptyList();
1947 }
1948 private byte memoizedIsInitialized = -1;
1949 public final boolean isInitialized() {
1950 byte isInitialized = memoizedIsInitialized;
1951 if (isInitialized == 1) return true;
1952 if (isInitialized == 0) return false;
1953
1954 memoizedIsInitialized = 1;
1955 return true;
1956 }
1957
1958 public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output)
1959 throws java.io.IOException {
1960 getSerializedSize();
1961 if (getClassNameList().size() > 0) {
1962 output.writeRawVarint32(10);
1963 output.writeRawVarint32(classNameMemoizedSerializedSize);
1964 }
1965 for (int i = 0; i < className_.size(); i++) {
1966 output.writeInt32NoTag(className_.get(i));
1967 }
1968 output.writeRawBytes(unknownFields);
1969 }
1970
1971 private int memoizedSerializedSize = -1;
1972 public int getSerializedSize() {
1973 int size = memoizedSerializedSize;
1974 if (size != -1) return size;
1975
1976 size = 0;
1977 {
1978 int dataSize = 0;
1979 for (int i = 0; i < className_.size(); i++) {
1980 dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream
1981 .computeInt32SizeNoTag(className_.get(i));
1982 }
1983 size += dataSize;
1984 if (!getClassNameList().isEmpty()) {
1985 size += 1;
1986 size += org.jetbrains.kotlin.protobuf.CodedOutputStream
1987 .computeInt32SizeNoTag(dataSize);
1988 }
1989 classNameMemoizedSerializedSize = dataSize;
1990 }
1991 size += unknownFields.size();
1992 memoizedSerializedSize = size;
1993 return size;
1994 }
1995
1996 private static final long serialVersionUID = 0L;
1997 @java.lang.Override
1998 protected java.lang.Object writeReplace()
1999 throws java.io.ObjectStreamException {
2000 return super.writeReplace();
2001 }
2002
2003 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom(
2004 org.jetbrains.kotlin.protobuf.ByteString data)
2005 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
2006 return PARSER.parseFrom(data);
2007 }
2008 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom(
2009 org.jetbrains.kotlin.protobuf.ByteString data,
2010 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
2011 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
2012 return PARSER.parseFrom(data, extensionRegistry);
2013 }
2014 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom(byte[] data)
2015 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
2016 return PARSER.parseFrom(data);
2017 }
2018 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom(
2019 byte[] data,
2020 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
2021 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
2022 return PARSER.parseFrom(data, extensionRegistry);
2023 }
2024 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom(java.io.InputStream input)
2025 throws java.io.IOException {
2026 return PARSER.parseFrom(input);
2027 }
2028 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom(
2029 java.io.InputStream input,
2030 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
2031 throws java.io.IOException {
2032 return PARSER.parseFrom(input, extensionRegistry);
2033 }
2034 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseDelimitedFrom(java.io.InputStream input)
2035 throws java.io.IOException {
2036 return PARSER.parseDelimitedFrom(input);
2037 }
2038 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseDelimitedFrom(
2039 java.io.InputStream input,
2040 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
2041 throws java.io.IOException {
2042 return PARSER.parseDelimitedFrom(input, extensionRegistry);
2043 }
2044 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom(
2045 org.jetbrains.kotlin.protobuf.CodedInputStream input)
2046 throws java.io.IOException {
2047 return PARSER.parseFrom(input);
2048 }
2049 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parseFrom(
2050 org.jetbrains.kotlin.protobuf.CodedInputStream input,
2051 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
2052 throws java.io.IOException {
2053 return PARSER.parseFrom(input, extensionRegistry);
2054 }
2055
2056 public static Builder newBuilder() { return Builder.create(); }
2057 public Builder newBuilderForType() { return newBuilder(); }
2058 public static Builder newBuilder(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes prototype) {
2059 return newBuilder().mergeFrom(prototype);
2060 }
2061 public Builder toBuilder() { return newBuilder(this); }
2062
2063 /**
2064 * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Classes}
2065 */
2066 public static final class Builder extends
2067 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder<
2068 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes, Builder>
2069 implements
2070 // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.js.Classes)
2071 org.jetbrains.kotlin.serialization.js.JsProtoBuf.ClassesOrBuilder {
2072 // Construct using org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes.newBuilder()
2073 private Builder() {
2074 maybeForceBuilderInitialization();
2075 }
2076
2077 private void maybeForceBuilderInitialization() {
2078 }
2079 private static Builder create() {
2080 return new Builder();
2081 }
2082
2083 public Builder clear() {
2084 super.clear();
2085 className_ = java.util.Collections.emptyList();
2086 bitField0_ = (bitField0_ & ~0x00000001);
2087 return this;
2088 }
2089
2090 public Builder clone() {
2091 return create().mergeFrom(buildPartial());
2092 }
2093
2094 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes getDefaultInstanceForType() {
2095 return org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes.getDefaultInstance();
2096 }
2097
2098 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes build() {
2099 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes result = buildPartial();
2100 if (!result.isInitialized()) {
2101 throw newUninitializedMessageException(result);
2102 }
2103 return result;
2104 }
2105
2106 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes buildPartial() {
2107 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes result = new org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes(this);
2108 int from_bitField0_ = bitField0_;
2109 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2110 className_ = java.util.Collections.unmodifiableList(className_);
2111 bitField0_ = (bitField0_ & ~0x00000001);
2112 }
2113 result.className_ = className_;
2114 return result;
2115 }
2116
2117 public Builder mergeFrom(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes other) {
2118 if (other == org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes.getDefaultInstance()) return this;
2119 if (!other.className_.isEmpty()) {
2120 if (className_.isEmpty()) {
2121 className_ = other.className_;
2122 bitField0_ = (bitField0_ & ~0x00000001);
2123 } else {
2124 ensureClassNameIsMutable();
2125 className_.addAll(other.className_);
2126 }
2127
2128 }
2129 setUnknownFields(
2130 getUnknownFields().concat(other.unknownFields));
2131 return this;
2132 }
2133
2134 public final boolean isInitialized() {
2135 return true;
2136 }
2137
2138 public Builder mergeFrom(
2139 org.jetbrains.kotlin.protobuf.CodedInputStream input,
2140 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
2141 throws java.io.IOException {
2142 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes parsedMessage = null;
2143 try {
2144 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2145 } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
2146 parsedMessage = (org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes) e.getUnfinishedMessage();
2147 throw e;
2148 } finally {
2149 if (parsedMessage != null) {
2150 mergeFrom(parsedMessage);
2151 }
2152 }
2153 return this;
2154 }
2155 private int bitField0_;
2156
2157 private java.util.List<java.lang.Integer> className_ = java.util.Collections.emptyList();
2158 private void ensureClassNameIsMutable() {
2159 if (!((bitField0_ & 0x00000001) == 0x00000001)) {
2160 className_ = new java.util.ArrayList<java.lang.Integer>(className_);
2161 bitField0_ |= 0x00000001;
2162 }
2163 }
2164 /**
2165 * <code>repeated int32 class_name = 1 [packed = true];</code>
2166 *
2167 * <pre>
2168 * id in StringTable
2169 * </pre>
2170 */
2171 public java.util.List<java.lang.Integer>
2172 getClassNameList() {
2173 return java.util.Collections.unmodifiableList(className_);
2174 }
2175 /**
2176 * <code>repeated int32 class_name = 1 [packed = true];</code>
2177 *
2178 * <pre>
2179 * id in StringTable
2180 * </pre>
2181 */
2182 public int getClassNameCount() {
2183 return className_.size();
2184 }
2185 /**
2186 * <code>repeated int32 class_name = 1 [packed = true];</code>
2187 *
2188 * <pre>
2189 * id in StringTable
2190 * </pre>
2191 */
2192 public int getClassName(int index) {
2193 return className_.get(index);
2194 }
2195 /**
2196 * <code>repeated int32 class_name = 1 [packed = true];</code>
2197 *
2198 * <pre>
2199 * id in StringTable
2200 * </pre>
2201 */
2202 public Builder setClassName(
2203 int index, int value) {
2204 ensureClassNameIsMutable();
2205 className_.set(index, value);
2206
2207 return this;
2208 }
2209 /**
2210 * <code>repeated int32 class_name = 1 [packed = true];</code>
2211 *
2212 * <pre>
2213 * id in StringTable
2214 * </pre>
2215 */
2216 public Builder addClassName(int value) {
2217 ensureClassNameIsMutable();
2218 className_.add(value);
2219
2220 return this;
2221 }
2222 /**
2223 * <code>repeated int32 class_name = 1 [packed = true];</code>
2224 *
2225 * <pre>
2226 * id in StringTable
2227 * </pre>
2228 */
2229 public Builder addAllClassName(
2230 java.lang.Iterable<? extends java.lang.Integer> values) {
2231 ensureClassNameIsMutable();
2232 org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
2233 values, className_);
2234
2235 return this;
2236 }
2237 /**
2238 * <code>repeated int32 class_name = 1 [packed = true];</code>
2239 *
2240 * <pre>
2241 * id in StringTable
2242 * </pre>
2243 */
2244 public Builder clearClassName() {
2245 className_ = java.util.Collections.emptyList();
2246 bitField0_ = (bitField0_ & ~0x00000001);
2247
2248 return this;
2249 }
2250
2251 // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.js.Classes)
2252 }
2253
2254 static {
2255 defaultInstance = new Classes(true);
2256 defaultInstance.initFields();
2257 }
2258
2259 // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.js.Classes)
2260 }
2261
2262 public interface LibraryOrBuilder extends
2263 // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.js.Library)
2264 org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
2265
2266 /**
2267 * <code>optional .org.jetbrains.kotlin.serialization.js.Library.Kind kind = 1 [default = PLAIN];</code>
2268 */
2269 boolean hasKind();
2270 /**
2271 * <code>optional .org.jetbrains.kotlin.serialization.js.Library.Kind kind = 1 [default = PLAIN];</code>
2272 */
2273 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Kind getKind();
2274
2275 /**
2276 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.Part part = 2;</code>
2277 */
2278 java.util.List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part>
2279 getPartList();
2280 /**
2281 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.Part part = 2;</code>
2282 */
2283 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part getPart(int index);
2284 /**
2285 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.Part part = 2;</code>
2286 */
2287 int getPartCount();
2288
2289 /**
2290 * <code>repeated string imported_module = 3;</code>
2291 */
2292 org.jetbrains.kotlin.protobuf.ProtocolStringList
2293 getImportedModuleList();
2294 /**
2295 * <code>repeated string imported_module = 3;</code>
2296 */
2297 int getImportedModuleCount();
2298 /**
2299 * <code>repeated string imported_module = 3;</code>
2300 */
2301 java.lang.String getImportedModule(int index);
2302 /**
2303 * <code>repeated string imported_module = 3;</code>
2304 */
2305 org.jetbrains.kotlin.protobuf.ByteString
2306 getImportedModuleBytes(int index);
2307 }
2308 /**
2309 * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Library}
2310 */
2311 public static final class Library extends
2312 org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements
2313 // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.js.Library)
2314 LibraryOrBuilder {
2315 // Use Library.newBuilder() to construct.
2316 private Library(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) {
2317 super(builder);
2318 this.unknownFields = builder.getUnknownFields();
2319 }
2320 private Library(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;}
2321
2322 private static final Library defaultInstance;
2323 public static Library getDefaultInstance() {
2324 return defaultInstance;
2325 }
2326
2327 public Library getDefaultInstanceForType() {
2328 return defaultInstance;
2329 }
2330
2331 private final org.jetbrains.kotlin.protobuf.ByteString unknownFields;
2332 private Library(
2333 org.jetbrains.kotlin.protobuf.CodedInputStream input,
2334 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
2335 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
2336 initFields();
2337 int mutable_bitField0_ = 0;
2338 org.jetbrains.kotlin.protobuf.ByteString.Output unknownFieldsOutput =
2339 org.jetbrains.kotlin.protobuf.ByteString.newOutput();
2340 org.jetbrains.kotlin.protobuf.CodedOutputStream unknownFieldsCodedOutput =
2341 org.jetbrains.kotlin.protobuf.CodedOutputStream.newInstance(
2342 unknownFieldsOutput);
2343 try {
2344 boolean done = false;
2345 while (!done) {
2346 int tag = input.readTag();
2347 switch (tag) {
2348 case 0:
2349 done = true;
2350 break;
2351 default: {
2352 if (!parseUnknownField(input, unknownFieldsCodedOutput,
2353 extensionRegistry, tag)) {
2354 done = true;
2355 }
2356 break;
2357 }
2358 case 8: {
2359 int rawValue = input.readEnum();
2360 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Kind value = org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Kind.valueOf(rawValue);
2361 if (value == null) {
2362 unknownFieldsCodedOutput.writeRawVarint32(tag);
2363 unknownFieldsCodedOutput.writeRawVarint32(rawValue);
2364 } else {
2365 bitField0_ |= 0x00000001;
2366 kind_ = value;
2367 }
2368 break;
2369 }
2370 case 18: {
2371 if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
2372 part_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part>();
2373 mutable_bitField0_ |= 0x00000002;
2374 }
2375 part_.add(input.readMessage(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part.PARSER, extensionRegistry));
2376 break;
2377 }
2378 case 26: {
2379 org.jetbrains.kotlin.protobuf.ByteString bs = input.readBytes();
2380 if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
2381 importedModule_ = new org.jetbrains.kotlin.protobuf.LazyStringArrayList();
2382 mutable_bitField0_ |= 0x00000004;
2383 }
2384 importedModule_.add(bs);
2385 break;
2386 }
2387 }
2388 }
2389 } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
2390 throw e.setUnfinishedMessage(this);
2391 } catch (java.io.IOException e) {
2392 throw new org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException(
2393 e.getMessage()).setUnfinishedMessage(this);
2394 } finally {
2395 if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
2396 part_ = java.util.Collections.unmodifiableList(part_);
2397 }
2398 if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
2399 importedModule_ = importedModule_.getUnmodifiableView();
2400 }
2401 try {
2402 unknownFieldsCodedOutput.flush();
2403 } catch (java.io.IOException e) {
2404 // Should not happen
2405 } finally {
2406 unknownFields = unknownFieldsOutput.toByteString();
2407 }
2408 makeExtensionsImmutable();
2409 }
2410 }
2411 public static org.jetbrains.kotlin.protobuf.Parser<Library> PARSER =
2412 new org.jetbrains.kotlin.protobuf.AbstractParser<Library>() {
2413 public Library parsePartialFrom(
2414 org.jetbrains.kotlin.protobuf.CodedInputStream input,
2415 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
2416 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
2417 return new Library(input, extensionRegistry);
2418 }
2419 };
2420
2421 @java.lang.Override
2422 public org.jetbrains.kotlin.protobuf.Parser<Library> getParserForType() {
2423 return PARSER;
2424 }
2425
2426 /**
2427 * Protobuf enum {@code org.jetbrains.kotlin.serialization.js.Library.Kind}
2428 */
2429 public enum Kind
2430 implements org.jetbrains.kotlin.protobuf.Internal.EnumLite {
2431 /**
2432 * <code>PLAIN = 1;</code>
2433 */
2434 PLAIN(0, 1),
2435 /**
2436 * <code>AMD = 2;</code>
2437 */
2438 AMD(1, 2),
2439 /**
2440 * <code>COMMON_JS = 3;</code>
2441 */
2442 COMMON_JS(2, 3),
2443 /**
2444 * <code>UMD = 4;</code>
2445 */
2446 UMD(3, 4),
2447 ;
2448
2449 /**
2450 * <code>PLAIN = 1;</code>
2451 */
2452 public static final int PLAIN_VALUE = 1;
2453 /**
2454 * <code>AMD = 2;</code>
2455 */
2456 public static final int AMD_VALUE = 2;
2457 /**
2458 * <code>COMMON_JS = 3;</code>
2459 */
2460 public static final int COMMON_JS_VALUE = 3;
2461 /**
2462 * <code>UMD = 4;</code>
2463 */
2464 public static final int UMD_VALUE = 4;
2465
2466
2467 public final int getNumber() { return value; }
2468
2469 public static Kind valueOf(int value) {
2470 switch (value) {
2471 case 1: return PLAIN;
2472 case 2: return AMD;
2473 case 3: return COMMON_JS;
2474 case 4: return UMD;
2475 default: return null;
2476 }
2477 }
2478
2479 public static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<Kind>
2480 internalGetValueMap() {
2481 return internalValueMap;
2482 }
2483 private static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<Kind>
2484 internalValueMap =
2485 new org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<Kind>() {
2486 public Kind findValueByNumber(int number) {
2487 return Kind.valueOf(number);
2488 }
2489 };
2490
2491 private final int value;
2492
2493 private Kind(int index, int value) {
2494 this.value = value;
2495 }
2496
2497 // @@protoc_insertion_point(enum_scope:org.jetbrains.kotlin.serialization.js.Library.Kind)
2498 }
2499
2500 public interface PartOrBuilder extends
2501 // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.js.Library.Part)
2502 org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
2503
2504 /**
2505 * <code>optional .org.jetbrains.kotlin.serialization.StringTable strings = 1;</code>
2506 */
2507 boolean hasStrings();
2508 /**
2509 * <code>optional .org.jetbrains.kotlin.serialization.StringTable strings = 1;</code>
2510 */
2511 org.jetbrains.kotlin.serialization.ProtoBuf.StringTable getStrings();
2512
2513 /**
2514 * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable qualified_names = 2;</code>
2515 */
2516 boolean hasQualifiedNames();
2517 /**
2518 * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable qualified_names = 2;</code>
2519 */
2520 org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable getQualifiedNames();
2521
2522 /**
2523 * <code>optional .org.jetbrains.kotlin.serialization.Package package = 3;</code>
2524 */
2525 boolean hasPackage();
2526 /**
2527 * <code>optional .org.jetbrains.kotlin.serialization.Package package = 3;</code>
2528 */
2529 org.jetbrains.kotlin.serialization.ProtoBuf.Package getPackage();
2530
2531 /**
2532 * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code>
2533 */
2534 java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Class>
2535 getClass_List();
2536 /**
2537 * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code>
2538 */
2539 org.jetbrains.kotlin.serialization.ProtoBuf.Class getClass_(int index);
2540 /**
2541 * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code>
2542 */
2543 int getClass_Count();
2544
2545 /**
2546 * <code>optional .org.jetbrains.kotlin.serialization.js.Files files = 130;</code>
2547 */
2548 boolean hasFiles();
2549 /**
2550 * <code>optional .org.jetbrains.kotlin.serialization.js.Files files = 130;</code>
2551 */
2552 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files getFiles();
2553 }
2554 /**
2555 * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Library.Part}
2556 *
2557 * <pre>
2558 * This is a copy of BuiltIns in builtins.proto
2559 * TODO: combine the two
2560 * </pre>
2561 */
2562 public static final class Part extends
2563 org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements
2564 // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.js.Library.Part)
2565 PartOrBuilder {
2566 // Use Part.newBuilder() to construct.
2567 private Part(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) {
2568 super(builder);
2569 this.unknownFields = builder.getUnknownFields();
2570 }
2571 private Part(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;}
2572
2573 private static final Part defaultInstance;
2574 public static Part getDefaultInstance() {
2575 return defaultInstance;
2576 }
2577
2578 public Part getDefaultInstanceForType() {
2579 return defaultInstance;
2580 }
2581
2582 private final org.jetbrains.kotlin.protobuf.ByteString unknownFields;
2583 private Part(
2584 org.jetbrains.kotlin.protobuf.CodedInputStream input,
2585 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
2586 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
2587 initFields();
2588 int mutable_bitField0_ = 0;
2589 org.jetbrains.kotlin.protobuf.ByteString.Output unknownFieldsOutput =
2590 org.jetbrains.kotlin.protobuf.ByteString.newOutput();
2591 org.jetbrains.kotlin.protobuf.CodedOutputStream unknownFieldsCodedOutput =
2592 org.jetbrains.kotlin.protobuf.CodedOutputStream.newInstance(
2593 unknownFieldsOutput);
2594 try {
2595 boolean done = false;
2596 while (!done) {
2597 int tag = input.readTag();
2598 switch (tag) {
2599 case 0:
2600 done = true;
2601 break;
2602 default: {
2603 if (!parseUnknownField(input, unknownFieldsCodedOutput,
2604 extensionRegistry, tag)) {
2605 done = true;
2606 }
2607 break;
2608 }
2609 case 10: {
2610 org.jetbrains.kotlin.serialization.ProtoBuf.StringTable.Builder subBuilder = null;
2611 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2612 subBuilder = strings_.toBuilder();
2613 }
2614 strings_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.StringTable.PARSER, extensionRegistry);
2615 if (subBuilder != null) {
2616 subBuilder.mergeFrom(strings_);
2617 strings_ = subBuilder.buildPartial();
2618 }
2619 bitField0_ |= 0x00000001;
2620 break;
2621 }
2622 case 18: {
2623 org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.Builder subBuilder = null;
2624 if (((bitField0_ & 0x00000002) == 0x00000002)) {
2625 subBuilder = qualifiedNames_.toBuilder();
2626 }
2627 qualifiedNames_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.PARSER, extensionRegistry);
2628 if (subBuilder != null) {
2629 subBuilder.mergeFrom(qualifiedNames_);
2630 qualifiedNames_ = subBuilder.buildPartial();
2631 }
2632 bitField0_ |= 0x00000002;
2633 break;
2634 }
2635 case 26: {
2636 org.jetbrains.kotlin.serialization.ProtoBuf.Package.Builder subBuilder = null;
2637 if (((bitField0_ & 0x00000004) == 0x00000004)) {
2638 subBuilder = package_.toBuilder();
2639 }
2640 package_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Package.PARSER, extensionRegistry);
2641 if (subBuilder != null) {
2642 subBuilder.mergeFrom(package_);
2643 package_ = subBuilder.buildPartial();
2644 }
2645 bitField0_ |= 0x00000004;
2646 break;
2647 }
2648 case 34: {
2649 if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
2650 class__ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.Class>();
2651 mutable_bitField0_ |= 0x00000008;
2652 }
2653 class__.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Class.PARSER, extensionRegistry));
2654 break;
2655 }
2656 case 1042: {
2657 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files.Builder subBuilder = null;
2658 if (((bitField0_ & 0x00000008) == 0x00000008)) {
2659 subBuilder = files_.toBuilder();
2660 }
2661 files_ = input.readMessage(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files.PARSER, extensionRegistry);
2662 if (subBuilder != null) {
2663 subBuilder.mergeFrom(files_);
2664 files_ = subBuilder.buildPartial();
2665 }
2666 bitField0_ |= 0x00000008;
2667 break;
2668 }
2669 }
2670 }
2671 } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
2672 throw e.setUnfinishedMessage(this);
2673 } catch (java.io.IOException e) {
2674 throw new org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException(
2675 e.getMessage()).setUnfinishedMessage(this);
2676 } finally {
2677 if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
2678 class__ = java.util.Collections.unmodifiableList(class__);
2679 }
2680 try {
2681 unknownFieldsCodedOutput.flush();
2682 } catch (java.io.IOException e) {
2683 // Should not happen
2684 } finally {
2685 unknownFields = unknownFieldsOutput.toByteString();
2686 }
2687 makeExtensionsImmutable();
2688 }
2689 }
2690 public static org.jetbrains.kotlin.protobuf.Parser<Part> PARSER =
2691 new org.jetbrains.kotlin.protobuf.AbstractParser<Part>() {
2692 public Part parsePartialFrom(
2693 org.jetbrains.kotlin.protobuf.CodedInputStream input,
2694 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
2695 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
2696 return new Part(input, extensionRegistry);
2697 }
2698 };
2699
2700 @java.lang.Override
2701 public org.jetbrains.kotlin.protobuf.Parser<Part> getParserForType() {
2702 return PARSER;
2703 }
2704
2705 private int bitField0_;
2706 public static final int STRINGS_FIELD_NUMBER = 1;
2707 private org.jetbrains.kotlin.serialization.ProtoBuf.StringTable strings_;
2708 /**
2709 * <code>optional .org.jetbrains.kotlin.serialization.StringTable strings = 1;</code>
2710 */
2711 public boolean hasStrings() {
2712 return ((bitField0_ & 0x00000001) == 0x00000001);
2713 }
2714 /**
2715 * <code>optional .org.jetbrains.kotlin.serialization.StringTable strings = 1;</code>
2716 */
2717 public org.jetbrains.kotlin.serialization.ProtoBuf.StringTable getStrings() {
2718 return strings_;
2719 }
2720
2721 public static final int QUALIFIED_NAMES_FIELD_NUMBER = 2;
2722 private org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable qualifiedNames_;
2723 /**
2724 * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable qualified_names = 2;</code>
2725 */
2726 public boolean hasQualifiedNames() {
2727 return ((bitField0_ & 0x00000002) == 0x00000002);
2728 }
2729 /**
2730 * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable qualified_names = 2;</code>
2731 */
2732 public org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable getQualifiedNames() {
2733 return qualifiedNames_;
2734 }
2735
2736 public static final int PACKAGE_FIELD_NUMBER = 3;
2737 private org.jetbrains.kotlin.serialization.ProtoBuf.Package package_;
2738 /**
2739 * <code>optional .org.jetbrains.kotlin.serialization.Package package = 3;</code>
2740 */
2741 public boolean hasPackage() {
2742 return ((bitField0_ & 0x00000004) == 0x00000004);
2743 }
2744 /**
2745 * <code>optional .org.jetbrains.kotlin.serialization.Package package = 3;</code>
2746 */
2747 public org.jetbrains.kotlin.serialization.ProtoBuf.Package getPackage() {
2748 return package_;
2749 }
2750
2751 public static final int CLASS_FIELD_NUMBER = 4;
2752 private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Class> class__;
2753 /**
2754 * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code>
2755 */
2756 public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Class> getClass_List() {
2757 return class__;
2758 }
2759 /**
2760 * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code>
2761 */
2762 public java.util.List<? extends org.jetbrains.kotlin.serialization.ProtoBuf.ClassOrBuilder>
2763 getClass_OrBuilderList() {
2764 return class__;
2765 }
2766 /**
2767 * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code>
2768 */
2769 public int getClass_Count() {
2770 return class__.size();
2771 }
2772 /**
2773 * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code>
2774 */
2775 public org.jetbrains.kotlin.serialization.ProtoBuf.Class getClass_(int index) {
2776 return class__.get(index);
2777 }
2778 /**
2779 * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code>
2780 */
2781 public org.jetbrains.kotlin.serialization.ProtoBuf.ClassOrBuilder getClass_OrBuilder(
2782 int index) {
2783 return class__.get(index);
2784 }
2785
2786 public static final int FILES_FIELD_NUMBER = 130;
2787 private org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files files_;
2788 /**
2789 * <code>optional .org.jetbrains.kotlin.serialization.js.Files files = 130;</code>
2790 */
2791 public boolean hasFiles() {
2792 return ((bitField0_ & 0x00000008) == 0x00000008);
2793 }
2794 /**
2795 * <code>optional .org.jetbrains.kotlin.serialization.js.Files files = 130;</code>
2796 */
2797 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files getFiles() {
2798 return files_;
2799 }
2800
2801 private void initFields() {
2802 strings_ = org.jetbrains.kotlin.serialization.ProtoBuf.StringTable.getDefaultInstance();
2803 qualifiedNames_ = org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.getDefaultInstance();
2804 package_ = org.jetbrains.kotlin.serialization.ProtoBuf.Package.getDefaultInstance();
2805 class__ = java.util.Collections.emptyList();
2806 files_ = org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files.getDefaultInstance();
2807 }
2808 private byte memoizedIsInitialized = -1;
2809 public final boolean isInitialized() {
2810 byte isInitialized = memoizedIsInitialized;
2811 if (isInitialized == 1) return true;
2812 if (isInitialized == 0) return false;
2813
2814 if (hasQualifiedNames()) {
2815 if (!getQualifiedNames().isInitialized()) {
2816 memoizedIsInitialized = 0;
2817 return false;
2818 }
2819 }
2820 if (hasPackage()) {
2821 if (!getPackage().isInitialized()) {
2822 memoizedIsInitialized = 0;
2823 return false;
2824 }
2825 }
2826 for (int i = 0; i < getClass_Count(); i++) {
2827 if (!getClass_(i).isInitialized()) {
2828 memoizedIsInitialized = 0;
2829 return false;
2830 }
2831 }
2832 if (hasFiles()) {
2833 if (!getFiles().isInitialized()) {
2834 memoizedIsInitialized = 0;
2835 return false;
2836 }
2837 }
2838 memoizedIsInitialized = 1;
2839 return true;
2840 }
2841
2842 public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output)
2843 throws java.io.IOException {
2844 getSerializedSize();
2845 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2846 output.writeMessage(1, strings_);
2847 }
2848 if (((bitField0_ & 0x00000002) == 0x00000002)) {
2849 output.writeMessage(2, qualifiedNames_);
2850 }
2851 if (((bitField0_ & 0x00000004) == 0x00000004)) {
2852 output.writeMessage(3, package_);
2853 }
2854 for (int i = 0; i < class__.size(); i++) {
2855 output.writeMessage(4, class__.get(i));
2856 }
2857 if (((bitField0_ & 0x00000008) == 0x00000008)) {
2858 output.writeMessage(130, files_);
2859 }
2860 output.writeRawBytes(unknownFields);
2861 }
2862
2863 private int memoizedSerializedSize = -1;
2864 public int getSerializedSize() {
2865 int size = memoizedSerializedSize;
2866 if (size != -1) return size;
2867
2868 size = 0;
2869 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2870 size += org.jetbrains.kotlin.protobuf.CodedOutputStream
2871 .computeMessageSize(1, strings_);
2872 }
2873 if (((bitField0_ & 0x00000002) == 0x00000002)) {
2874 size += org.jetbrains.kotlin.protobuf.CodedOutputStream
2875 .computeMessageSize(2, qualifiedNames_);
2876 }
2877 if (((bitField0_ & 0x00000004) == 0x00000004)) {
2878 size += org.jetbrains.kotlin.protobuf.CodedOutputStream
2879 .computeMessageSize(3, package_);
2880 }
2881 for (int i = 0; i < class__.size(); i++) {
2882 size += org.jetbrains.kotlin.protobuf.CodedOutputStream
2883 .computeMessageSize(4, class__.get(i));
2884 }
2885 if (((bitField0_ & 0x00000008) == 0x00000008)) {
2886 size += org.jetbrains.kotlin.protobuf.CodedOutputStream
2887 .computeMessageSize(130, files_);
2888 }
2889 size += unknownFields.size();
2890 memoizedSerializedSize = size;
2891 return size;
2892 }
2893
2894 private static final long serialVersionUID = 0L;
2895 @java.lang.Override
2896 protected java.lang.Object writeReplace()
2897 throws java.io.ObjectStreamException {
2898 return super.writeReplace();
2899 }
2900
2901 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part parseFrom(
2902 org.jetbrains.kotlin.protobuf.ByteString data)
2903 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
2904 return PARSER.parseFrom(data);
2905 }
2906 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part parseFrom(
2907 org.jetbrains.kotlin.protobuf.ByteString data,
2908 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
2909 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
2910 return PARSER.parseFrom(data, extensionRegistry);
2911 }
2912 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part parseFrom(byte[] data)
2913 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
2914 return PARSER.parseFrom(data);
2915 }
2916 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part parseFrom(
2917 byte[] data,
2918 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
2919 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
2920 return PARSER.parseFrom(data, extensionRegistry);
2921 }
2922 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part parseFrom(java.io.InputStream input)
2923 throws java.io.IOException {
2924 return PARSER.parseFrom(input);
2925 }
2926 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part parseFrom(
2927 java.io.InputStream input,
2928 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
2929 throws java.io.IOException {
2930 return PARSER.parseFrom(input, extensionRegistry);
2931 }
2932 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part parseDelimitedFrom(java.io.InputStream input)
2933 throws java.io.IOException {
2934 return PARSER.parseDelimitedFrom(input);
2935 }
2936 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part parseDelimitedFrom(
2937 java.io.InputStream input,
2938 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
2939 throws java.io.IOException {
2940 return PARSER.parseDelimitedFrom(input, extensionRegistry);
2941 }
2942 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part parseFrom(
2943 org.jetbrains.kotlin.protobuf.CodedInputStream input)
2944 throws java.io.IOException {
2945 return PARSER.parseFrom(input);
2946 }
2947 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part parseFrom(
2948 org.jetbrains.kotlin.protobuf.CodedInputStream input,
2949 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
2950 throws java.io.IOException {
2951 return PARSER.parseFrom(input, extensionRegistry);
2952 }
2953
2954 public static Builder newBuilder() { return Builder.create(); }
2955 public Builder newBuilderForType() { return newBuilder(); }
2956 public static Builder newBuilder(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part prototype) {
2957 return newBuilder().mergeFrom(prototype);
2958 }
2959 public Builder toBuilder() { return newBuilder(this); }
2960
2961 /**
2962 * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Library.Part}
2963 *
2964 * <pre>
2965 * This is a copy of BuiltIns in builtins.proto
2966 * TODO: combine the two
2967 * </pre>
2968 */
2969 public static final class Builder extends
2970 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder<
2971 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part, Builder>
2972 implements
2973 // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.js.Library.Part)
2974 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.PartOrBuilder {
2975 // Construct using org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part.newBuilder()
2976 private Builder() {
2977 maybeForceBuilderInitialization();
2978 }
2979
2980 private void maybeForceBuilderInitialization() {
2981 }
2982 private static Builder create() {
2983 return new Builder();
2984 }
2985
2986 public Builder clear() {
2987 super.clear();
2988 strings_ = org.jetbrains.kotlin.serialization.ProtoBuf.StringTable.getDefaultInstance();
2989 bitField0_ = (bitField0_ & ~0x00000001);
2990 qualifiedNames_ = org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.getDefaultInstance();
2991 bitField0_ = (bitField0_ & ~0x00000002);
2992 package_ = org.jetbrains.kotlin.serialization.ProtoBuf.Package.getDefaultInstance();
2993 bitField0_ = (bitField0_ & ~0x00000004);
2994 class__ = java.util.Collections.emptyList();
2995 bitField0_ = (bitField0_ & ~0x00000008);
2996 files_ = org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files.getDefaultInstance();
2997 bitField0_ = (bitField0_ & ~0x00000010);
2998 return this;
2999 }
3000
3001 public Builder clone() {
3002 return create().mergeFrom(buildPartial());
3003 }
3004
3005 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part getDefaultInstanceForType() {
3006 return org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part.getDefaultInstance();
3007 }
3008
3009 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part build() {
3010 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part result = buildPartial();
3011 if (!result.isInitialized()) {
3012 throw newUninitializedMessageException(result);
3013 }
3014 return result;
3015 }
3016
3017 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part buildPartial() {
3018 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part result = new org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part(this);
3019 int from_bitField0_ = bitField0_;
3020 int to_bitField0_ = 0;
3021 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
3022 to_bitField0_ |= 0x00000001;
3023 }
3024 result.strings_ = strings_;
3025 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
3026 to_bitField0_ |= 0x00000002;
3027 }
3028 result.qualifiedNames_ = qualifiedNames_;
3029 if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
3030 to_bitField0_ |= 0x00000004;
3031 }
3032 result.package_ = package_;
3033 if (((bitField0_ & 0x00000008) == 0x00000008)) {
3034 class__ = java.util.Collections.unmodifiableList(class__);
3035 bitField0_ = (bitField0_ & ~0x00000008);
3036 }
3037 result.class__ = class__;
3038 if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
3039 to_bitField0_ |= 0x00000008;
3040 }
3041 result.files_ = files_;
3042 result.bitField0_ = to_bitField0_;
3043 return result;
3044 }
3045
3046 public Builder mergeFrom(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part other) {
3047 if (other == org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part.getDefaultInstance()) return this;
3048 if (other.hasStrings()) {
3049 mergeStrings(other.getStrings());
3050 }
3051 if (other.hasQualifiedNames()) {
3052 mergeQualifiedNames(other.getQualifiedNames());
3053 }
3054 if (other.hasPackage()) {
3055 mergePackage(other.getPackage());
3056 }
3057 if (!other.class__.isEmpty()) {
3058 if (class__.isEmpty()) {
3059 class__ = other.class__;
3060 bitField0_ = (bitField0_ & ~0x00000008);
3061 } else {
3062 ensureClass_IsMutable();
3063 class__.addAll(other.class__);
3064 }
3065
3066 }
3067 if (other.hasFiles()) {
3068 mergeFiles(other.getFiles());
3069 }
3070 setUnknownFields(
3071 getUnknownFields().concat(other.unknownFields));
3072 return this;
3073 }
3074
3075 public final boolean isInitialized() {
3076 if (hasQualifiedNames()) {
3077 if (!getQualifiedNames().isInitialized()) {
3078
3079 return false;
3080 }
3081 }
3082 if (hasPackage()) {
3083 if (!getPackage().isInitialized()) {
3084
3085 return false;
3086 }
3087 }
3088 for (int i = 0; i < getClass_Count(); i++) {
3089 if (!getClass_(i).isInitialized()) {
3090
3091 return false;
3092 }
3093 }
3094 if (hasFiles()) {
3095 if (!getFiles().isInitialized()) {
3096
3097 return false;
3098 }
3099 }
3100 return true;
3101 }
3102
3103 public Builder mergeFrom(
3104 org.jetbrains.kotlin.protobuf.CodedInputStream input,
3105 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
3106 throws java.io.IOException {
3107 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part parsedMessage = null;
3108 try {
3109 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
3110 } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
3111 parsedMessage = (org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part) e.getUnfinishedMessage();
3112 throw e;
3113 } finally {
3114 if (parsedMessage != null) {
3115 mergeFrom(parsedMessage);
3116 }
3117 }
3118 return this;
3119 }
3120 private int bitField0_;
3121
3122 private org.jetbrains.kotlin.serialization.ProtoBuf.StringTable strings_ = org.jetbrains.kotlin.serialization.ProtoBuf.StringTable.getDefaultInstance();
3123 /**
3124 * <code>optional .org.jetbrains.kotlin.serialization.StringTable strings = 1;</code>
3125 */
3126 public boolean hasStrings() {
3127 return ((bitField0_ & 0x00000001) == 0x00000001);
3128 }
3129 /**
3130 * <code>optional .org.jetbrains.kotlin.serialization.StringTable strings = 1;</code>
3131 */
3132 public org.jetbrains.kotlin.serialization.ProtoBuf.StringTable getStrings() {
3133 return strings_;
3134 }
3135 /**
3136 * <code>optional .org.jetbrains.kotlin.serialization.StringTable strings = 1;</code>
3137 */
3138 public Builder setStrings(org.jetbrains.kotlin.serialization.ProtoBuf.StringTable value) {
3139 if (value == null) {
3140 throw new NullPointerException();
3141 }
3142 strings_ = value;
3143
3144 bitField0_ |= 0x00000001;
3145 return this;
3146 }
3147 /**
3148 * <code>optional .org.jetbrains.kotlin.serialization.StringTable strings = 1;</code>
3149 */
3150 public Builder setStrings(
3151 org.jetbrains.kotlin.serialization.ProtoBuf.StringTable.Builder builderForValue) {
3152 strings_ = builderForValue.build();
3153
3154 bitField0_ |= 0x00000001;
3155 return this;
3156 }
3157 /**
3158 * <code>optional .org.jetbrains.kotlin.serialization.StringTable strings = 1;</code>
3159 */
3160 public Builder mergeStrings(org.jetbrains.kotlin.serialization.ProtoBuf.StringTable value) {
3161 if (((bitField0_ & 0x00000001) == 0x00000001) &&
3162 strings_ != org.jetbrains.kotlin.serialization.ProtoBuf.StringTable.getDefaultInstance()) {
3163 strings_ =
3164 org.jetbrains.kotlin.serialization.ProtoBuf.StringTable.newBuilder(strings_).mergeFrom(value).buildPartial();
3165 } else {
3166 strings_ = value;
3167 }
3168
3169 bitField0_ |= 0x00000001;
3170 return this;
3171 }
3172 /**
3173 * <code>optional .org.jetbrains.kotlin.serialization.StringTable strings = 1;</code>
3174 */
3175 public Builder clearStrings() {
3176 strings_ = org.jetbrains.kotlin.serialization.ProtoBuf.StringTable.getDefaultInstance();
3177
3178 bitField0_ = (bitField0_ & ~0x00000001);
3179 return this;
3180 }
3181
3182 private org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable qualifiedNames_ = org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.getDefaultInstance();
3183 /**
3184 * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable qualified_names = 2;</code>
3185 */
3186 public boolean hasQualifiedNames() {
3187 return ((bitField0_ & 0x00000002) == 0x00000002);
3188 }
3189 /**
3190 * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable qualified_names = 2;</code>
3191 */
3192 public org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable getQualifiedNames() {
3193 return qualifiedNames_;
3194 }
3195 /**
3196 * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable qualified_names = 2;</code>
3197 */
3198 public Builder setQualifiedNames(org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable value) {
3199 if (value == null) {
3200 throw new NullPointerException();
3201 }
3202 qualifiedNames_ = value;
3203
3204 bitField0_ |= 0x00000002;
3205 return this;
3206 }
3207 /**
3208 * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable qualified_names = 2;</code>
3209 */
3210 public Builder setQualifiedNames(
3211 org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.Builder builderForValue) {
3212 qualifiedNames_ = builderForValue.build();
3213
3214 bitField0_ |= 0x00000002;
3215 return this;
3216 }
3217 /**
3218 * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable qualified_names = 2;</code>
3219 */
3220 public Builder mergeQualifiedNames(org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable value) {
3221 if (((bitField0_ & 0x00000002) == 0x00000002) &&
3222 qualifiedNames_ != org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.getDefaultInstance()) {
3223 qualifiedNames_ =
3224 org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.newBuilder(qualifiedNames_).mergeFrom(value).buildPartial();
3225 } else {
3226 qualifiedNames_ = value;
3227 }
3228
3229 bitField0_ |= 0x00000002;
3230 return this;
3231 }
3232 /**
3233 * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable qualified_names = 2;</code>
3234 */
3235 public Builder clearQualifiedNames() {
3236 qualifiedNames_ = org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.getDefaultInstance();
3237
3238 bitField0_ = (bitField0_ & ~0x00000002);
3239 return this;
3240 }
3241
3242 private org.jetbrains.kotlin.serialization.ProtoBuf.Package package_ = org.jetbrains.kotlin.serialization.ProtoBuf.Package.getDefaultInstance();
3243 /**
3244 * <code>optional .org.jetbrains.kotlin.serialization.Package package = 3;</code>
3245 */
3246 public boolean hasPackage() {
3247 return ((bitField0_ & 0x00000004) == 0x00000004);
3248 }
3249 /**
3250 * <code>optional .org.jetbrains.kotlin.serialization.Package package = 3;</code>
3251 */
3252 public org.jetbrains.kotlin.serialization.ProtoBuf.Package getPackage() {
3253 return package_;
3254 }
3255 /**
3256 * <code>optional .org.jetbrains.kotlin.serialization.Package package = 3;</code>
3257 */
3258 public Builder setPackage(org.jetbrains.kotlin.serialization.ProtoBuf.Package value) {
3259 if (value == null) {
3260 throw new NullPointerException();
3261 }
3262 package_ = value;
3263
3264 bitField0_ |= 0x00000004;
3265 return this;
3266 }
3267 /**
3268 * <code>optional .org.jetbrains.kotlin.serialization.Package package = 3;</code>
3269 */
3270 public Builder setPackage(
3271 org.jetbrains.kotlin.serialization.ProtoBuf.Package.Builder builderForValue) {
3272 package_ = builderForValue.build();
3273
3274 bitField0_ |= 0x00000004;
3275 return this;
3276 }
3277 /**
3278 * <code>optional .org.jetbrains.kotlin.serialization.Package package = 3;</code>
3279 */
3280 public Builder mergePackage(org.jetbrains.kotlin.serialization.ProtoBuf.Package value) {
3281 if (((bitField0_ & 0x00000004) == 0x00000004) &&
3282 package_ != org.jetbrains.kotlin.serialization.ProtoBuf.Package.getDefaultInstance()) {
3283 package_ =
3284 org.jetbrains.kotlin.serialization.ProtoBuf.Package.newBuilder(package_).mergeFrom(value).buildPartial();
3285 } else {
3286 package_ = value;
3287 }
3288
3289 bitField0_ |= 0x00000004;
3290 return this;
3291 }
3292 /**
3293 * <code>optional .org.jetbrains.kotlin.serialization.Package package = 3;</code>
3294 */
3295 public Builder clearPackage() {
3296 package_ = org.jetbrains.kotlin.serialization.ProtoBuf.Package.getDefaultInstance();
3297
3298 bitField0_ = (bitField0_ & ~0x00000004);
3299 return this;
3300 }
3301
3302 private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Class> class__ =
3303 java.util.Collections.emptyList();
3304 private void ensureClass_IsMutable() {
3305 if (!((bitField0_ & 0x00000008) == 0x00000008)) {
3306 class__ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.Class>(class__);
3307 bitField0_ |= 0x00000008;
3308 }
3309 }
3310
3311 /**
3312 * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code>
3313 */
3314 public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Class> getClass_List() {
3315 return java.util.Collections.unmodifiableList(class__);
3316 }
3317 /**
3318 * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code>
3319 */
3320 public int getClass_Count() {
3321 return class__.size();
3322 }
3323 /**
3324 * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code>
3325 */
3326 public org.jetbrains.kotlin.serialization.ProtoBuf.Class getClass_(int index) {
3327 return class__.get(index);
3328 }
3329 /**
3330 * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code>
3331 */
3332 public Builder setClass_(
3333 int index, org.jetbrains.kotlin.serialization.ProtoBuf.Class value) {
3334 if (value == null) {
3335 throw new NullPointerException();
3336 }
3337 ensureClass_IsMutable();
3338 class__.set(index, value);
3339
3340 return this;
3341 }
3342 /**
3343 * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code>
3344 */
3345 public Builder setClass_(
3346 int index, org.jetbrains.kotlin.serialization.ProtoBuf.Class.Builder builderForValue) {
3347 ensureClass_IsMutable();
3348 class__.set(index, builderForValue.build());
3349
3350 return this;
3351 }
3352 /**
3353 * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code>
3354 */
3355 public Builder addClass_(org.jetbrains.kotlin.serialization.ProtoBuf.Class value) {
3356 if (value == null) {
3357 throw new NullPointerException();
3358 }
3359 ensureClass_IsMutable();
3360 class__.add(value);
3361
3362 return this;
3363 }
3364 /**
3365 * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code>
3366 */
3367 public Builder addClass_(
3368 int index, org.jetbrains.kotlin.serialization.ProtoBuf.Class value) {
3369 if (value == null) {
3370 throw new NullPointerException();
3371 }
3372 ensureClass_IsMutable();
3373 class__.add(index, value);
3374
3375 return this;
3376 }
3377 /**
3378 * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code>
3379 */
3380 public Builder addClass_(
3381 org.jetbrains.kotlin.serialization.ProtoBuf.Class.Builder builderForValue) {
3382 ensureClass_IsMutable();
3383 class__.add(builderForValue.build());
3384
3385 return this;
3386 }
3387 /**
3388 * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code>
3389 */
3390 public Builder addClass_(
3391 int index, org.jetbrains.kotlin.serialization.ProtoBuf.Class.Builder builderForValue) {
3392 ensureClass_IsMutable();
3393 class__.add(index, builderForValue.build());
3394
3395 return this;
3396 }
3397 /**
3398 * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code>
3399 */
3400 public Builder addAllClass_(
3401 java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.ProtoBuf.Class> values) {
3402 ensureClass_IsMutable();
3403 org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
3404 values, class__);
3405
3406 return this;
3407 }
3408 /**
3409 * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code>
3410 */
3411 public Builder clearClass_() {
3412 class__ = java.util.Collections.emptyList();
3413 bitField0_ = (bitField0_ & ~0x00000008);
3414
3415 return this;
3416 }
3417 /**
3418 * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code>
3419 */
3420 public Builder removeClass_(int index) {
3421 ensureClass_IsMutable();
3422 class__.remove(index);
3423
3424 return this;
3425 }
3426
3427 private org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files files_ = org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files.getDefaultInstance();
3428 /**
3429 * <code>optional .org.jetbrains.kotlin.serialization.js.Files files = 130;</code>
3430 */
3431 public boolean hasFiles() {
3432 return ((bitField0_ & 0x00000010) == 0x00000010);
3433 }
3434 /**
3435 * <code>optional .org.jetbrains.kotlin.serialization.js.Files files = 130;</code>
3436 */
3437 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files getFiles() {
3438 return files_;
3439 }
3440 /**
3441 * <code>optional .org.jetbrains.kotlin.serialization.js.Files files = 130;</code>
3442 */
3443 public Builder setFiles(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files value) {
3444 if (value == null) {
3445 throw new NullPointerException();
3446 }
3447 files_ = value;
3448
3449 bitField0_ |= 0x00000010;
3450 return this;
3451 }
3452 /**
3453 * <code>optional .org.jetbrains.kotlin.serialization.js.Files files = 130;</code>
3454 */
3455 public Builder setFiles(
3456 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files.Builder builderForValue) {
3457 files_ = builderForValue.build();
3458
3459 bitField0_ |= 0x00000010;
3460 return this;
3461 }
3462 /**
3463 * <code>optional .org.jetbrains.kotlin.serialization.js.Files files = 130;</code>
3464 */
3465 public Builder mergeFiles(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files value) {
3466 if (((bitField0_ & 0x00000010) == 0x00000010) &&
3467 files_ != org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files.getDefaultInstance()) {
3468 files_ =
3469 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files.newBuilder(files_).mergeFrom(value).buildPartial();
3470 } else {
3471 files_ = value;
3472 }
3473
3474 bitField0_ |= 0x00000010;
3475 return this;
3476 }
3477 /**
3478 * <code>optional .org.jetbrains.kotlin.serialization.js.Files files = 130;</code>
3479 */
3480 public Builder clearFiles() {
3481 files_ = org.jetbrains.kotlin.serialization.js.JsProtoBuf.Files.getDefaultInstance();
3482
3483 bitField0_ = (bitField0_ & ~0x00000010);
3484 return this;
3485 }
3486
3487 // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.js.Library.Part)
3488 }
3489
3490 static {
3491 defaultInstance = new Part(true);
3492 defaultInstance.initFields();
3493 }
3494
3495 // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.js.Library.Part)
3496 }
3497
3498 private int bitField0_;
3499 public static final int KIND_FIELD_NUMBER = 1;
3500 private org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Kind kind_;
3501 /**
3502 * <code>optional .org.jetbrains.kotlin.serialization.js.Library.Kind kind = 1 [default = PLAIN];</code>
3503 */
3504 public boolean hasKind() {
3505 return ((bitField0_ & 0x00000001) == 0x00000001);
3506 }
3507 /**
3508 * <code>optional .org.jetbrains.kotlin.serialization.js.Library.Kind kind = 1 [default = PLAIN];</code>
3509 */
3510 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Kind getKind() {
3511 return kind_;
3512 }
3513
3514 public static final int PART_FIELD_NUMBER = 2;
3515 private java.util.List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part> part_;
3516 /**
3517 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.Part part = 2;</code>
3518 */
3519 public java.util.List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part> getPartList() {
3520 return part_;
3521 }
3522 /**
3523 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.Part part = 2;</code>
3524 */
3525 public java.util.List<? extends org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.PartOrBuilder>
3526 getPartOrBuilderList() {
3527 return part_;
3528 }
3529 /**
3530 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.Part part = 2;</code>
3531 */
3532 public int getPartCount() {
3533 return part_.size();
3534 }
3535 /**
3536 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.Part part = 2;</code>
3537 */
3538 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part getPart(int index) {
3539 return part_.get(index);
3540 }
3541 /**
3542 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.Part part = 2;</code>
3543 */
3544 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.PartOrBuilder getPartOrBuilder(
3545 int index) {
3546 return part_.get(index);
3547 }
3548
3549 public static final int IMPORTED_MODULE_FIELD_NUMBER = 3;
3550 private org.jetbrains.kotlin.protobuf.LazyStringList importedModule_;
3551 /**
3552 * <code>repeated string imported_module = 3;</code>
3553 */
3554 public org.jetbrains.kotlin.protobuf.ProtocolStringList
3555 getImportedModuleList() {
3556 return importedModule_;
3557 }
3558 /**
3559 * <code>repeated string imported_module = 3;</code>
3560 */
3561 public int getImportedModuleCount() {
3562 return importedModule_.size();
3563 }
3564 /**
3565 * <code>repeated string imported_module = 3;</code>
3566 */
3567 public java.lang.String getImportedModule(int index) {
3568 return importedModule_.get(index);
3569 }
3570 /**
3571 * <code>repeated string imported_module = 3;</code>
3572 */
3573 public org.jetbrains.kotlin.protobuf.ByteString
3574 getImportedModuleBytes(int index) {
3575 return importedModule_.getByteString(index);
3576 }
3577
3578 private void initFields() {
3579 kind_ = org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Kind.PLAIN;
3580 part_ = java.util.Collections.emptyList();
3581 importedModule_ = org.jetbrains.kotlin.protobuf.LazyStringArrayList.EMPTY;
3582 }
3583 private byte memoizedIsInitialized = -1;
3584 public final boolean isInitialized() {
3585 byte isInitialized = memoizedIsInitialized;
3586 if (isInitialized == 1) return true;
3587 if (isInitialized == 0) return false;
3588
3589 for (int i = 0; i < getPartCount(); i++) {
3590 if (!getPart(i).isInitialized()) {
3591 memoizedIsInitialized = 0;
3592 return false;
3593 }
3594 }
3595 memoizedIsInitialized = 1;
3596 return true;
3597 }
3598
3599 public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output)
3600 throws java.io.IOException {
3601 getSerializedSize();
3602 if (((bitField0_ & 0x00000001) == 0x00000001)) {
3603 output.writeEnum(1, kind_.getNumber());
3604 }
3605 for (int i = 0; i < part_.size(); i++) {
3606 output.writeMessage(2, part_.get(i));
3607 }
3608 for (int i = 0; i < importedModule_.size(); i++) {
3609 output.writeBytes(3, importedModule_.getByteString(i));
3610 }
3611 output.writeRawBytes(unknownFields);
3612 }
3613
3614 private int memoizedSerializedSize = -1;
3615 public int getSerializedSize() {
3616 int size = memoizedSerializedSize;
3617 if (size != -1) return size;
3618
3619 size = 0;
3620 if (((bitField0_ & 0x00000001) == 0x00000001)) {
3621 size += org.jetbrains.kotlin.protobuf.CodedOutputStream
3622 .computeEnumSize(1, kind_.getNumber());
3623 }
3624 for (int i = 0; i < part_.size(); i++) {
3625 size += org.jetbrains.kotlin.protobuf.CodedOutputStream
3626 .computeMessageSize(2, part_.get(i));
3627 }
3628 {
3629 int dataSize = 0;
3630 for (int i = 0; i < importedModule_.size(); i++) {
3631 dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream
3632 .computeBytesSizeNoTag(importedModule_.getByteString(i));
3633 }
3634 size += dataSize;
3635 size += 1 * getImportedModuleList().size();
3636 }
3637 size += unknownFields.size();
3638 memoizedSerializedSize = size;
3639 return size;
3640 }
3641
3642 private static final long serialVersionUID = 0L;
3643 @java.lang.Override
3644 protected java.lang.Object writeReplace()
3645 throws java.io.ObjectStreamException {
3646 return super.writeReplace();
3647 }
3648
3649 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(
3650 org.jetbrains.kotlin.protobuf.ByteString data)
3651 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
3652 return PARSER.parseFrom(data);
3653 }
3654 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(
3655 org.jetbrains.kotlin.protobuf.ByteString data,
3656 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
3657 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
3658 return PARSER.parseFrom(data, extensionRegistry);
3659 }
3660 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(byte[] data)
3661 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
3662 return PARSER.parseFrom(data);
3663 }
3664 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(
3665 byte[] data,
3666 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
3667 throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
3668 return PARSER.parseFrom(data, extensionRegistry);
3669 }
3670 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(java.io.InputStream input)
3671 throws java.io.IOException {
3672 return PARSER.parseFrom(input);
3673 }
3674 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(
3675 java.io.InputStream input,
3676 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
3677 throws java.io.IOException {
3678 return PARSER.parseFrom(input, extensionRegistry);
3679 }
3680 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseDelimitedFrom(java.io.InputStream input)
3681 throws java.io.IOException {
3682 return PARSER.parseDelimitedFrom(input);
3683 }
3684 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseDelimitedFrom(
3685 java.io.InputStream input,
3686 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
3687 throws java.io.IOException {
3688 return PARSER.parseDelimitedFrom(input, extensionRegistry);
3689 }
3690 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(
3691 org.jetbrains.kotlin.protobuf.CodedInputStream input)
3692 throws java.io.IOException {
3693 return PARSER.parseFrom(input);
3694 }
3695 public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(
3696 org.jetbrains.kotlin.protobuf.CodedInputStream input,
3697 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
3698 throws java.io.IOException {
3699 return PARSER.parseFrom(input, extensionRegistry);
3700 }
3701
3702 public static Builder newBuilder() { return Builder.create(); }
3703 public Builder newBuilderForType() { return newBuilder(); }
3704 public static Builder newBuilder(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library prototype) {
3705 return newBuilder().mergeFrom(prototype);
3706 }
3707 public Builder toBuilder() { return newBuilder(this); }
3708
3709 /**
3710 * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Library}
3711 */
3712 public static final class Builder extends
3713 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder<
3714 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library, Builder>
3715 implements
3716 // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.js.Library)
3717 org.jetbrains.kotlin.serialization.js.JsProtoBuf.LibraryOrBuilder {
3718 // Construct using org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.newBuilder()
3719 private Builder() {
3720 maybeForceBuilderInitialization();
3721 }
3722
3723 private void maybeForceBuilderInitialization() {
3724 }
3725 private static Builder create() {
3726 return new Builder();
3727 }
3728
3729 public Builder clear() {
3730 super.clear();
3731 kind_ = org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Kind.PLAIN;
3732 bitField0_ = (bitField0_ & ~0x00000001);
3733 part_ = java.util.Collections.emptyList();
3734 bitField0_ = (bitField0_ & ~0x00000002);
3735 importedModule_ = org.jetbrains.kotlin.protobuf.LazyStringArrayList.EMPTY;
3736 bitField0_ = (bitField0_ & ~0x00000004);
3737 return this;
3738 }
3739
3740 public Builder clone() {
3741 return create().mergeFrom(buildPartial());
3742 }
3743
3744 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library getDefaultInstanceForType() {
3745 return org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.getDefaultInstance();
3746 }
3747
3748 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library build() {
3749 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library result = buildPartial();
3750 if (!result.isInitialized()) {
3751 throw newUninitializedMessageException(result);
3752 }
3753 return result;
3754 }
3755
3756 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library buildPartial() {
3757 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library result = new org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library(this);
3758 int from_bitField0_ = bitField0_;
3759 int to_bitField0_ = 0;
3760 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
3761 to_bitField0_ |= 0x00000001;
3762 }
3763 result.kind_ = kind_;
3764 if (((bitField0_ & 0x00000002) == 0x00000002)) {
3765 part_ = java.util.Collections.unmodifiableList(part_);
3766 bitField0_ = (bitField0_ & ~0x00000002);
3767 }
3768 result.part_ = part_;
3769 if (((bitField0_ & 0x00000004) == 0x00000004)) {
3770 importedModule_ = importedModule_.getUnmodifiableView();
3771 bitField0_ = (bitField0_ & ~0x00000004);
3772 }
3773 result.importedModule_ = importedModule_;
3774 result.bitField0_ = to_bitField0_;
3775 return result;
3776 }
3777
3778 public Builder mergeFrom(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library other) {
3779 if (other == org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.getDefaultInstance()) return this;
3780 if (other.hasKind()) {
3781 setKind(other.getKind());
3782 }
3783 if (!other.part_.isEmpty()) {
3784 if (part_.isEmpty()) {
3785 part_ = other.part_;
3786 bitField0_ = (bitField0_ & ~0x00000002);
3787 } else {
3788 ensurePartIsMutable();
3789 part_.addAll(other.part_);
3790 }
3791
3792 }
3793 if (!other.importedModule_.isEmpty()) {
3794 if (importedModule_.isEmpty()) {
3795 importedModule_ = other.importedModule_;
3796 bitField0_ = (bitField0_ & ~0x00000004);
3797 } else {
3798 ensureImportedModuleIsMutable();
3799 importedModule_.addAll(other.importedModule_);
3800 }
3801
3802 }
3803 setUnknownFields(
3804 getUnknownFields().concat(other.unknownFields));
3805 return this;
3806 }
3807
3808 public final boolean isInitialized() {
3809 for (int i = 0; i < getPartCount(); i++) {
3810 if (!getPart(i).isInitialized()) {
3811
3812 return false;
3813 }
3814 }
3815 return true;
3816 }
3817
3818 public Builder mergeFrom(
3819 org.jetbrains.kotlin.protobuf.CodedInputStream input,
3820 org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
3821 throws java.io.IOException {
3822 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parsedMessage = null;
3823 try {
3824 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
3825 } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
3826 parsedMessage = (org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library) e.getUnfinishedMessage();
3827 throw e;
3828 } finally {
3829 if (parsedMessage != null) {
3830 mergeFrom(parsedMessage);
3831 }
3832 }
3833 return this;
3834 }
3835 private int bitField0_;
3836
3837 private org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Kind kind_ = org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Kind.PLAIN;
3838 /**
3839 * <code>optional .org.jetbrains.kotlin.serialization.js.Library.Kind kind = 1 [default = PLAIN];</code>
3840 */
3841 public boolean hasKind() {
3842 return ((bitField0_ & 0x00000001) == 0x00000001);
3843 }
3844 /**
3845 * <code>optional .org.jetbrains.kotlin.serialization.js.Library.Kind kind = 1 [default = PLAIN];</code>
3846 */
3847 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Kind getKind() {
3848 return kind_;
3849 }
3850 /**
3851 * <code>optional .org.jetbrains.kotlin.serialization.js.Library.Kind kind = 1 [default = PLAIN];</code>
3852 */
3853 public Builder setKind(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Kind value) {
3854 if (value == null) {
3855 throw new NullPointerException();
3856 }
3857 bitField0_ |= 0x00000001;
3858 kind_ = value;
3859
3860 return this;
3861 }
3862 /**
3863 * <code>optional .org.jetbrains.kotlin.serialization.js.Library.Kind kind = 1 [default = PLAIN];</code>
3864 */
3865 public Builder clearKind() {
3866 bitField0_ = (bitField0_ & ~0x00000001);
3867 kind_ = org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Kind.PLAIN;
3868
3869 return this;
3870 }
3871
3872 private java.util.List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part> part_ =
3873 java.util.Collections.emptyList();
3874 private void ensurePartIsMutable() {
3875 if (!((bitField0_ & 0x00000002) == 0x00000002)) {
3876 part_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part>(part_);
3877 bitField0_ |= 0x00000002;
3878 }
3879 }
3880
3881 /**
3882 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.Part part = 2;</code>
3883 */
3884 public java.util.List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part> getPartList() {
3885 return java.util.Collections.unmodifiableList(part_);
3886 }
3887 /**
3888 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.Part part = 2;</code>
3889 */
3890 public int getPartCount() {
3891 return part_.size();
3892 }
3893 /**
3894 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.Part part = 2;</code>
3895 */
3896 public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part getPart(int index) {
3897 return part_.get(index);
3898 }
3899 /**
3900 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.Part part = 2;</code>
3901 */
3902 public Builder setPart(
3903 int index, org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part value) {
3904 if (value == null) {
3905 throw new NullPointerException();
3906 }
3907 ensurePartIsMutable();
3908 part_.set(index, value);
3909
3910 return this;
3911 }
3912 /**
3913 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.Part part = 2;</code>
3914 */
3915 public Builder setPart(
3916 int index, org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part.Builder builderForValue) {
3917 ensurePartIsMutable();
3918 part_.set(index, builderForValue.build());
3919
3920 return this;
3921 }
3922 /**
3923 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.Part part = 2;</code>
3924 */
3925 public Builder addPart(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part value) {
3926 if (value == null) {
3927 throw new NullPointerException();
3928 }
3929 ensurePartIsMutable();
3930 part_.add(value);
3931
3932 return this;
3933 }
3934 /**
3935 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.Part part = 2;</code>
3936 */
3937 public Builder addPart(
3938 int index, org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part value) {
3939 if (value == null) {
3940 throw new NullPointerException();
3941 }
3942 ensurePartIsMutable();
3943 part_.add(index, value);
3944
3945 return this;
3946 }
3947 /**
3948 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.Part part = 2;</code>
3949 */
3950 public Builder addPart(
3951 org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part.Builder builderForValue) {
3952 ensurePartIsMutable();
3953 part_.add(builderForValue.build());
3954
3955 return this;
3956 }
3957 /**
3958 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.Part part = 2;</code>
3959 */
3960 public Builder addPart(
3961 int index, org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part.Builder builderForValue) {
3962 ensurePartIsMutable();
3963 part_.add(index, builderForValue.build());
3964
3965 return this;
3966 }
3967 /**
3968 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.Part part = 2;</code>
3969 */
3970 public Builder addAllPart(
3971 java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.Part> values) {
3972 ensurePartIsMutable();
3973 org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
3974 values, part_);
3975
3976 return this;
3977 }
3978 /**
3979 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.Part part = 2;</code>
3980 */
3981 public Builder clearPart() {
3982 part_ = java.util.Collections.emptyList();
3983 bitField0_ = (bitField0_ & ~0x00000002);
3984
3985 return this;
3986 }
3987 /**
3988 * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.Part part = 2;</code>
3989 */
3990 public Builder removePart(int index) {
3991 ensurePartIsMutable();
3992 part_.remove(index);
3993
3994 return this;
3995 }
3996
3997 private org.jetbrains.kotlin.protobuf.LazyStringList importedModule_ = org.jetbrains.kotlin.protobuf.LazyStringArrayList.EMPTY;
3998 private void ensureImportedModuleIsMutable() {
3999 if (!((bitField0_ & 0x00000004) == 0x00000004)) {
4000 importedModule_ = new org.jetbrains.kotlin.protobuf.LazyStringArrayList(importedModule_);
4001 bitField0_ |= 0x00000004;
4002 }
4003 }
4004 /**
4005 * <code>repeated string imported_module = 3;</code>
4006 */
4007 public org.jetbrains.kotlin.protobuf.ProtocolStringList
4008 getImportedModuleList() {
4009 return importedModule_.getUnmodifiableView();
4010 }
4011 /**
4012 * <code>repeated string imported_module = 3;</code>
4013 */
4014 public int getImportedModuleCount() {
4015 return importedModule_.size();
4016 }
4017 /**
4018 * <code>repeated string imported_module = 3;</code>
4019 */
4020 public java.lang.String getImportedModule(int index) {
4021 return importedModule_.get(index);
4022 }
4023 /**
4024 * <code>repeated string imported_module = 3;</code>
4025 */
4026 public org.jetbrains.kotlin.protobuf.ByteString
4027 getImportedModuleBytes(int index) {
4028 return importedModule_.getByteString(index);
4029 }
4030 /**
4031 * <code>repeated string imported_module = 3;</code>
4032 */
4033 public Builder setImportedModule(
4034 int index, java.lang.String value) {
4035 if (value == null) {
4036 throw new NullPointerException();
4037 }
4038 ensureImportedModuleIsMutable();
4039 importedModule_.set(index, value);
4040
4041 return this;
4042 }
4043 /**
4044 * <code>repeated string imported_module = 3;</code>
4045 */
4046 public Builder addImportedModule(
4047 java.lang.String value) {
4048 if (value == null) {
4049 throw new NullPointerException();
4050 }
4051 ensureImportedModuleIsMutable();
4052 importedModule_.add(value);
4053
4054 return this;
4055 }
4056 /**
4057 * <code>repeated string imported_module = 3;</code>
4058 */
4059 public Builder addAllImportedModule(
4060 java.lang.Iterable<java.lang.String> values) {
4061 ensureImportedModuleIsMutable();
4062 org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
4063 values, importedModule_);
4064
4065 return this;
4066 }
4067 /**
4068 * <code>repeated string imported_module = 3;</code>
4069 */
4070 public Builder clearImportedModule() {
4071 importedModule_ = org.jetbrains.kotlin.protobuf.LazyStringArrayList.EMPTY;
4072 bitField0_ = (bitField0_ & ~0x00000004);
4073
4074 return this;
4075 }
4076 /**
4077 * <code>repeated string imported_module = 3;</code>
4078 */
4079 public Builder addImportedModuleBytes(
4080 org.jetbrains.kotlin.protobuf.ByteString value) {
4081 if (value == null) {
4082 throw new NullPointerException();
4083 }
4084 ensureImportedModuleIsMutable();
4085 importedModule_.add(value);
4086
4087 return this;
4088 }
4089
4090 // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.js.Library)
4091 }
4092
4093 static {
4094 defaultInstance = new Library(true);
4095 defaultInstance.initFields();
4096 }
4097
4098 // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.js.Library)
4099 }
4100
4101 public static final int PACKAGE_FQ_NAME_FIELD_NUMBER = 131;
4102 /**
4103 * <code>extend .org.jetbrains.kotlin.serialization.Package { ... }</code>
4104 */
4105 public static final
4106 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension<
4107 org.jetbrains.kotlin.serialization.ProtoBuf.Package,
4108 java.lang.Integer> packageFqName = org.jetbrains.kotlin.protobuf.GeneratedMessageLite
4109 .newSingularGeneratedExtension(
4110 org.jetbrains.kotlin.serialization.ProtoBuf.Package.getDefaultInstance(),
4111 0,
4112 null,
4113 null,
4114 131,
4115 org.jetbrains.kotlin.protobuf.WireFormat.FieldType.INT32,
4116 java.lang.Integer.class);
4117 public static final int CLASS_ANNOTATION_FIELD_NUMBER = 130;
4118 /**
4119 * <code>extend .org.jetbrains.kotlin.serialization.Class { ... }</code>
4120 */
4121 public static final
4122 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension<
4123 org.jetbrains.kotlin.serialization.ProtoBuf.Class,
4124 java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation>> classAnnotation = org.jetbrains.kotlin.protobuf.GeneratedMessageLite
4125 .newRepeatedGeneratedExtension(
4126 org.jetbrains.kotlin.serialization.ProtoBuf.Class.getDefaultInstance(),
4127 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(),
4128 null,
4129 130,
4130 org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE,
4131 false,
4132 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.class);
4133 public static final int CLASS_CONTAINING_FILE_ID_FIELD_NUMBER = 135;
4134 /**
4135 * <code>extend .org.jetbrains.kotlin.serialization.Class { ... }</code>
4136 */
4137 public static final
4138 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension<
4139 org.jetbrains.kotlin.serialization.ProtoBuf.Class,
4140 java.lang.Integer> classContainingFileId = org.jetbrains.kotlin.protobuf.GeneratedMessageLite
4141 .newSingularGeneratedExtension(
4142 org.jetbrains.kotlin.serialization.ProtoBuf.Class.getDefaultInstance(),
4143 0,
4144 null,
4145 null,
4146 135,
4147 org.jetbrains.kotlin.protobuf.WireFormat.FieldType.INT32,
4148 java.lang.Integer.class);
4149 public static final int CONSTRUCTOR_ANNOTATION_FIELD_NUMBER = 130;
4150 /**
4151 * <code>extend .org.jetbrains.kotlin.serialization.Constructor { ... }</code>
4152 */
4153 public static final
4154 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension<
4155 org.jetbrains.kotlin.serialization.ProtoBuf.Constructor,
4156 java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation>> constructorAnnotation = org.jetbrains.kotlin.protobuf.GeneratedMessageLite
4157 .newRepeatedGeneratedExtension(
4158 org.jetbrains.kotlin.serialization.ProtoBuf.Constructor.getDefaultInstance(),
4159 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(),
4160 null,
4161 130,
4162 org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE,
4163 false,
4164 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.class);
4165 public static final int FUNCTION_ANNOTATION_FIELD_NUMBER = 130;
4166 /**
4167 * <code>extend .org.jetbrains.kotlin.serialization.Function { ... }</code>
4168 */
4169 public static final
4170 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension<
4171 org.jetbrains.kotlin.serialization.ProtoBuf.Function,
4172 java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation>> functionAnnotation = org.jetbrains.kotlin.protobuf.GeneratedMessageLite
4173 .newRepeatedGeneratedExtension(
4174 org.jetbrains.kotlin.serialization.ProtoBuf.Function.getDefaultInstance(),
4175 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(),
4176 null,
4177 130,
4178 org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE,
4179 false,
4180 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.class);
4181 public static final int FUNCTION_CONTAINING_FILE_ID_FIELD_NUMBER = 135;
4182 /**
4183 * <code>extend .org.jetbrains.kotlin.serialization.Function { ... }</code>
4184 */
4185 public static final
4186 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension<
4187 org.jetbrains.kotlin.serialization.ProtoBuf.Function,
4188 java.lang.Integer> functionContainingFileId = org.jetbrains.kotlin.protobuf.GeneratedMessageLite
4189 .newSingularGeneratedExtension(
4190 org.jetbrains.kotlin.serialization.ProtoBuf.Function.getDefaultInstance(),
4191 0,
4192 null,
4193 null,
4194 135,
4195 org.jetbrains.kotlin.protobuf.WireFormat.FieldType.INT32,
4196 java.lang.Integer.class);
4197 public static final int PROPERTY_ANNOTATION_FIELD_NUMBER = 130;
4198 /**
4199 * <code>extend .org.jetbrains.kotlin.serialization.Property { ... }</code>
4200 */
4201 public static final
4202 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension<
4203 org.jetbrains.kotlin.serialization.ProtoBuf.Property,
4204 java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation>> propertyAnnotation = org.jetbrains.kotlin.protobuf.GeneratedMessageLite
4205 .newRepeatedGeneratedExtension(
4206 org.jetbrains.kotlin.serialization.ProtoBuf.Property.getDefaultInstance(),
4207 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(),
4208 null,
4209 130,
4210 org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE,
4211 false,
4212 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.class);
4213 public static final int COMPILE_TIME_VALUE_FIELD_NUMBER = 131;
4214 /**
4215 * <code>extend .org.jetbrains.kotlin.serialization.Property { ... }</code>
4216 */
4217 public static final
4218 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension<
4219 org.jetbrains.kotlin.serialization.ProtoBuf.Property,
4220 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value> compileTimeValue = org.jetbrains.kotlin.protobuf.GeneratedMessageLite
4221 .newSingularGeneratedExtension(
4222 org.jetbrains.kotlin.serialization.ProtoBuf.Property.getDefaultInstance(),
4223 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.getDefaultInstance(),
4224 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.getDefaultInstance(),
4225 null,
4226 131,
4227 org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE,
4228 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.class);
4229 public static final int PROPERTY_CONTAINING_FILE_ID_FIELD_NUMBER = 135;
4230 /**
4231 * <code>extend .org.jetbrains.kotlin.serialization.Property { ... }</code>
4232 */
4233 public static final
4234 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension<
4235 org.jetbrains.kotlin.serialization.ProtoBuf.Property,
4236 java.lang.Integer> propertyContainingFileId = org.jetbrains.kotlin.protobuf.GeneratedMessageLite
4237 .newSingularGeneratedExtension(
4238 org.jetbrains.kotlin.serialization.ProtoBuf.Property.getDefaultInstance(),
4239 0,
4240 null,
4241 null,
4242 135,
4243 org.jetbrains.kotlin.protobuf.WireFormat.FieldType.INT32,
4244 java.lang.Integer.class);
4245 public static final int ENUM_ENTRY_ANNOTATION_FIELD_NUMBER = 130;
4246 /**
4247 * <code>extend .org.jetbrains.kotlin.serialization.EnumEntry { ... }</code>
4248 */
4249 public static final
4250 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension<
4251 org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry,
4252 java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation>> enumEntryAnnotation = org.jetbrains.kotlin.protobuf.GeneratedMessageLite
4253 .newRepeatedGeneratedExtension(
4254 org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry.getDefaultInstance(),
4255 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(),
4256 null,
4257 130,
4258 org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE,
4259 false,
4260 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.class);
4261 public static final int PARAMETER_ANNOTATION_FIELD_NUMBER = 130;
4262 /**
4263 * <code>extend .org.jetbrains.kotlin.serialization.ValueParameter { ... }</code>
4264 */
4265 public static final
4266 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension<
4267 org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter,
4268 java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation>> parameterAnnotation = org.jetbrains.kotlin.protobuf.GeneratedMessageLite
4269 .newRepeatedGeneratedExtension(
4270 org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter.getDefaultInstance(),
4271 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(),
4272 null,
4273 130,
4274 org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE,
4275 false,
4276 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.class);
4277 public static final int TYPE_ANNOTATION_FIELD_NUMBER = 130;
4278 /**
4279 * <code>extend .org.jetbrains.kotlin.serialization.Type { ... }</code>
4280 */
4281 public static final
4282 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension<
4283 org.jetbrains.kotlin.serialization.ProtoBuf.Type,
4284 java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation>> typeAnnotation = org.jetbrains.kotlin.protobuf.GeneratedMessageLite
4285 .newRepeatedGeneratedExtension(
4286 org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(),
4287 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(),
4288 null,
4289 130,
4290 org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE,
4291 false,
4292 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.class);
4293 public static final int TYPE_PARAMETER_ANNOTATION_FIELD_NUMBER = 130;
4294 /**
4295 * <code>extend .org.jetbrains.kotlin.serialization.TypeParameter { ... }</code>
4296 */
4297 public static final
4298 org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension<
4299 org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter,
4300 java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation>> typeParameterAnnotation = org.jetbrains.kotlin.protobuf.GeneratedMessageLite
4301 .newRepeatedGeneratedExtension(
4302 org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.getDefaultInstance(),
4303 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(),
4304 null,
4305 130,
4306 org.jetbrains.kotlin.protobuf.WireFormat.FieldType.MESSAGE,
4307 false,
4308 org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.class);
4309
4310 static {
4311 }
4312
4313 // @@protoc_insertion_point(outer_class_scope)
4314 }