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