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