diff --git a/compiler/tests/org/jetbrains/kotlin/serialization/js/DebugJsProtoBuf.java b/compiler/tests/org/jetbrains/kotlin/serialization/js/DebugJsProtoBuf.java
index 22573dc2adf..98de7858305 100644
--- a/compiler/tests/org/jetbrains/kotlin/serialization/js/DebugJsProtoBuf.java
+++ b/compiler/tests/org/jetbrains/kotlin/serialization/js/DebugJsProtoBuf.java
@@ -3,24 +3,569 @@
package org.jetbrains.kotlin.serialization.js;
+import com.google.protobuf.*;
+import org.jetbrains.kotlin.serialization.DebugProtoBuf;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.ObjectStreamException;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
public final class DebugJsProtoBuf {
private DebugJsProtoBuf() {}
public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
+ ExtensionRegistry registry) {
+ registry.add(DebugJsProtoBuf.classAnnotation);
+ registry.add(DebugJsProtoBuf.callableAnnotation);
+ registry.add(DebugJsProtoBuf.compileTimeValue);
+ registry.add(DebugJsProtoBuf.parameterAnnotation);
}
+ public interface ClassesOrBuilder
+ extends MessageOrBuilder {
+
+ // repeated int32 class_name = 1 [packed = true];
+ /**
+ * repeated int32 class_name = 1 [packed = true];
+ *
+ *
+ * id in StringTable + *+ */ + List
repeated int32 class_name = 1 [packed = true];
+ *
+ * + * id in StringTable + *+ */ + int getClassNameCount(); + /** + *
repeated int32 class_name = 1 [packed = true];
+ *
+ * + * id in StringTable + *+ */ + int getClassName(int index); + } + /** + * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Classes} + */ + public static final class Classes extends + GeneratedMessage + implements ClassesOrBuilder { + // Use Classes.newBuilder() to construct. + private Classes(GeneratedMessage.Builder> builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private Classes(boolean noInit) { this.unknownFields = UnknownFieldSet.getDefaultInstance(); } + + private static final Classes defaultInstance; + public static Classes getDefaultInstance() { + return defaultInstance; + } + + public Classes getDefaultInstanceForType() { + return defaultInstance; + } + + private final UnknownFieldSet unknownFields; + @Override + public final UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Classes( + CodedInputStream input, + ExtensionRegistryLite extensionRegistry) + throws InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + UnknownFieldSet.Builder unknownFields = + UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + className_ = new ArrayList
repeated int32 class_name = 1 [packed = true];
+ *
+ * + * id in StringTable + *+ */ + public List
repeated int32 class_name = 1 [packed = true];
+ *
+ * + * id in StringTable + *+ */ + public int getClassNameCount() { + return className_.size(); + } + /** + *
repeated int32 class_name = 1 [packed = true];
+ *
+ * + * id in StringTable + *+ */ + public int getClassName(int index) { + return className_.get(index); + } + private int classNameMemoizedSerializedSize = -1; + + private void initFields() { + className_ = Collections.emptyList(); + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(CodedOutputStream output) + throws IOException { + getSerializedSize(); + if (getClassNameList().size() > 0) { + output.writeRawVarint32(10); + output.writeRawVarint32(classNameMemoizedSerializedSize); + } + for (int i = 0; i < className_.size(); i++) { + output.writeInt32NoTag(className_.get(i)); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < className_.size(); i++) { + dataSize += CodedOutputStream + .computeInt32SizeNoTag(className_.get(i)); + } + size += dataSize; + if (!getClassNameList().isEmpty()) { + size += 1; + size += CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + classNameMemoizedSerializedSize = dataSize; + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @Override + protected Object writeReplace() + throws ObjectStreamException { + return super.writeReplace(); + } + + public static DebugJsProtoBuf.Classes parseFrom( + ByteString data) + throws InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static DebugJsProtoBuf.Classes parseFrom( + ByteString data, + ExtensionRegistryLite extensionRegistry) + throws InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static DebugJsProtoBuf.Classes parseFrom(byte[] data) + throws InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static DebugJsProtoBuf.Classes parseFrom( + byte[] data, + ExtensionRegistryLite extensionRegistry) + throws InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static DebugJsProtoBuf.Classes parseFrom(InputStream input) + throws IOException { + return PARSER.parseFrom(input); + } + public static DebugJsProtoBuf.Classes parseFrom( + InputStream input, + ExtensionRegistryLite extensionRegistry) + throws IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static DebugJsProtoBuf.Classes parseDelimitedFrom(InputStream input) + throws IOException { + return PARSER.parseDelimitedFrom(input); + } + public static DebugJsProtoBuf.Classes parseDelimitedFrom( + InputStream input, + ExtensionRegistryLite extensionRegistry) + throws IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static DebugJsProtoBuf.Classes parseFrom( + CodedInputStream input) + throws IOException { + return PARSER.parseFrom(input); + } + public static DebugJsProtoBuf.Classes parseFrom( + CodedInputStream input, + ExtensionRegistryLite extensionRegistry) + throws IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(DebugJsProtoBuf.Classes prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + @Override + protected Builder newBuilderForType( + GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Classes} + */ + public static final class Builder extends + GeneratedMessage.Builder
repeated int32 class_name = 1 [packed = true];
+ *
+ * + * id in StringTable + *+ */ + public List
repeated int32 class_name = 1 [packed = true];
+ *
+ * + * id in StringTable + *+ */ + public int getClassNameCount() { + return className_.size(); + } + /** + *
repeated int32 class_name = 1 [packed = true];
+ *
+ * + * id in StringTable + *+ */ + public int getClassName(int index) { + return className_.get(index); + } + /** + *
repeated int32 class_name = 1 [packed = true];
+ *
+ * + * id in StringTable + *+ */ + public Builder setClassName( + int index, int value) { + ensureClassNameIsMutable(); + className_.set(index, value); + onChanged(); + return this; + } + /** + *
repeated int32 class_name = 1 [packed = true];
+ *
+ * + * id in StringTable + *+ */ + public Builder addClassName(int value) { + ensureClassNameIsMutable(); + className_.add(value); + onChanged(); + return this; + } + /** + *
repeated int32 class_name = 1 [packed = true];
+ *
+ * + * id in StringTable + *+ */ + public Builder addAllClassName( + Iterable extends Integer> values) { + ensureClassNameIsMutable(); + addAll(values, className_); + onChanged(); + return this; + } + /** + *
repeated int32 class_name = 1 [packed = true];
+ *
+ * + * id in StringTable + *+ */ + public Builder clearClassName() { + className_ = Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.js.Classes) + } + + static { + defaultInstance = new Classes(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.js.Classes) + } + public interface LibraryOrBuilder - extends com.google.protobuf.MessageOrBuilder { + extends MessageOrBuilder { // repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; /** *
repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
- java.util.Listrepeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
- org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry getEntry(int index);
+ DebugJsProtoBuf.Library.FileEntry getEntry(int index);
/**
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
@@ -28,12 +573,12 @@ public final class DebugJsProtoBuf {
/**
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
- java.util.List extends org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntryOrBuilder>
+ List extends DebugJsProtoBuf.Library.FileEntryOrBuilder>
getEntryOrBuilderList();
/**
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
- org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntryOrBuilder getEntryOrBuilder(
+ DebugJsProtoBuf.Library.FileEntryOrBuilder getEntryOrBuilder(
int index);
}
/**
@@ -44,14 +589,14 @@ public final class DebugJsProtoBuf {
*
*/
public static final class Library extends
- com.google.protobuf.GeneratedMessage
+ GeneratedMessage
implements LibraryOrBuilder {
// Use Library.newBuilder() to construct.
- private Library(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private Library(GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
- private Library(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+ private Library(boolean noInit) { this.unknownFields = UnknownFieldSet.getDefaultInstance(); }
private static final Library defaultInstance;
public static Library getDefaultInstance() {
@@ -62,20 +607,20 @@ public final class DebugJsProtoBuf {
return defaultInstance;
}
- private final com.google.protobuf.UnknownFieldSet unknownFields;
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
+ private final UnknownFieldSet unknownFields;
+ @Override
+ public final UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Library(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
+ CodedInputStream input,
+ ExtensionRegistryLite extensionRegistry)
+ throws InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
+ UnknownFieldSet.Builder unknownFields =
+ UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
@@ -93,56 +638,56 @@ public final class DebugJsProtoBuf {
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
- entry_ = new java.util.ArrayListrequired string path = 1;
*/
- java.lang.String getPath();
+ String getPath();
/**
* required string path = 1;
*/
- com.google.protobuf.ByteString
+ ByteString
getPathBytes();
// required bytes content = 2;
@@ -167,20 +712,20 @@ public final class DebugJsProtoBuf {
/**
* required bytes content = 2;
*/
- com.google.protobuf.ByteString getContent();
+ ByteString getContent();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.serialization.js.Library.FileEntry}
*/
public static final class FileEntry extends
- com.google.protobuf.GeneratedMessage
+ GeneratedMessage
implements FileEntryOrBuilder {
// Use FileEntry.newBuilder() to construct.
- private FileEntry(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private FileEntry(GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
- private FileEntry(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+ private FileEntry(boolean noInit) { this.unknownFields = UnknownFieldSet.getDefaultInstance(); }
private static final FileEntry defaultInstance;
public static FileEntry getDefaultInstance() {
@@ -191,20 +736,20 @@ public final class DebugJsProtoBuf {
return defaultInstance;
}
- private final com.google.protobuf.UnknownFieldSet unknownFields;
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
+ private final UnknownFieldSet unknownFields;
+ @Override
+ public final UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FileEntry(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
+ CodedInputStream input,
+ ExtensionRegistryLite extensionRegistry)
+ throws InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
+ UnknownFieldSet.Builder unknownFields =
+ UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
@@ -232,47 +777,47 @@ public final class DebugJsProtoBuf {
}
}
}
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ } catch (InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
+ } catch (IOException e) {
+ throw new InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
- public static final com.google.protobuf.Descriptors.Descriptor
+ public static final Descriptors.Descriptor
getDescriptor() {
- return org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.internal_static_org_jetbrains_kotlin_serialization_js_Library_FileEntry_descriptor;
+ return DebugJsProtoBuf.internal_static_org_jetbrains_kotlin_serialization_js_Library_FileEntry_descriptor;
}
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.internal_static_org_jetbrains_kotlin_serialization_js_Library_FileEntry_fieldAccessorTable
+ return DebugJsProtoBuf.internal_static_org_jetbrains_kotlin_serialization_js_Library_FileEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry.class, org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry.Builder.class);
+ DebugJsProtoBuf.Library.FileEntry.class, DebugJsProtoBuf.Library.FileEntry.Builder.class);
}
- public static com.google.protobuf.Parserrequired string path = 1;
*/
@@ -282,14 +827,14 @@ public final class DebugJsProtoBuf {
/**
* required string path = 1;
*/
- public java.lang.String getPath() {
- java.lang.Object ref = path_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
+ public String getPath() {
+ Object ref = path_;
+ if (ref instanceof String) {
+ return (String) ref;
} else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
+ ByteString bs =
+ (ByteString) ref;
+ String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
path_ = s;
}
@@ -299,23 +844,23 @@ public final class DebugJsProtoBuf {
/**
* required string path = 1;
*/
- public com.google.protobuf.ByteString
+ public ByteString
getPathBytes() {
- java.lang.Object ref = path_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
+ Object ref = path_;
+ if (ref instanceof String) {
+ ByteString b =
+ ByteString.copyFromUtf8(
+ (String) ref);
path_ = b;
return b;
} else {
- return (com.google.protobuf.ByteString) ref;
+ return (ByteString) ref;
}
}
// required bytes content = 2;
public static final int CONTENT_FIELD_NUMBER = 2;
- private com.google.protobuf.ByteString content_;
+ private ByteString content_;
/**
* required bytes content = 2;
*/
@@ -325,13 +870,13 @@ public final class DebugJsProtoBuf {
/**
* required bytes content = 2;
*/
- public com.google.protobuf.ByteString getContent() {
+ public ByteString getContent() {
return content_;
}
private void initFields() {
path_ = "";
- content_ = com.google.protobuf.ByteString.EMPTY;
+ content_ = ByteString.EMPTY;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
@@ -350,8 +895,8 @@ public final class DebugJsProtoBuf {
return true;
}
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
+ public void writeTo(CodedOutputStream output)
+ throws IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getPathBytes());
@@ -369,11 +914,11 @@ public final class DebugJsProtoBuf {
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
+ size += CodedOutputStream
.computeBytesSize(1, getPathBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
+ size += CodedOutputStream
.computeBytesSize(2, content_);
}
size += getUnknownFields().getSerializedSize();
@@ -382,75 +927,75 @@ public final class DebugJsProtoBuf {
}
private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
+ @Override
+ protected Object writeReplace()
+ throws ObjectStreamException {
return super.writeReplace();
}
- public static org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
+ public static DebugJsProtoBuf.Library.FileEntry parseFrom(
+ ByteString data)
+ throws InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
+ public static DebugJsProtoBuf.Library.FileEntry parseFrom(
+ ByteString data,
+ ExtensionRegistryLite extensionRegistry)
+ throws InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
+ public static DebugJsProtoBuf.Library.FileEntry parseFrom(byte[] data)
+ throws InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry parseFrom(
+ public static DebugJsProtoBuf.Library.FileEntry parseFrom(
byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
+ ExtensionRegistryLite extensionRegistry)
+ throws InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry parseFrom(java.io.InputStream input)
- throws java.io.IOException {
+ public static DebugJsProtoBuf.Library.FileEntry parseFrom(InputStream input)
+ throws IOException {
return PARSER.parseFrom(input);
}
- public static org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
+ public static DebugJsProtoBuf.Library.FileEntry parseFrom(
+ InputStream input,
+ ExtensionRegistryLite extensionRegistry)
+ throws IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
- public static org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
+ public static DebugJsProtoBuf.Library.FileEntry parseDelimitedFrom(InputStream input)
+ throws IOException {
return PARSER.parseDelimitedFrom(input);
}
- public static org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
+ public static DebugJsProtoBuf.Library.FileEntry parseDelimitedFrom(
+ InputStream input,
+ ExtensionRegistryLite extensionRegistry)
+ throws IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
- public static org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
+ public static DebugJsProtoBuf.Library.FileEntry parseFrom(
+ CodedInputStream input)
+ throws IOException {
return PARSER.parseFrom(input);
}
- public static org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
+ public static DebugJsProtoBuf.Library.FileEntry parseFrom(
+ CodedInputStream input,
+ ExtensionRegistryLite extensionRegistry)
+ throws IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry prototype) {
+ public static Builder newBuilder(DebugJsProtoBuf.Library.FileEntry prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
- @java.lang.Override
+ @Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -458,18 +1003,18 @@ public final class DebugJsProtoBuf {
* Protobuf type {@code org.jetbrains.kotlin.serialization.js.Library.FileEntry}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderrequired string path = 1;
*/
@@ -602,38 +1147,38 @@ public final class DebugJsProtoBuf {
/**
* required string path = 1;
*/
- public java.lang.String getPath() {
- java.lang.Object ref = path_;
- if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ public String getPath() {
+ Object ref = path_;
+ if (!(ref instanceof String)) {
+ String s = ((ByteString) ref)
.toStringUtf8();
path_ = s;
return s;
} else {
- return (java.lang.String) ref;
+ return (String) ref;
}
}
/**
* required string path = 1;
*/
- public com.google.protobuf.ByteString
+ public ByteString
getPathBytes() {
- java.lang.Object ref = path_;
+ Object ref = path_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
+ ByteString b =
+ ByteString.copyFromUtf8(
+ (String) ref);
path_ = b;
return b;
} else {
- return (com.google.protobuf.ByteString) ref;
+ return (ByteString) ref;
}
}
/**
* required string path = 1;
*/
public Builder setPath(
- java.lang.String value) {
+ String value) {
if (value == null) {
throw new NullPointerException();
}
@@ -655,7 +1200,7 @@ public final class DebugJsProtoBuf {
* required string path = 1;
*/
public Builder setPathBytes(
- com.google.protobuf.ByteString value) {
+ ByteString value) {
if (value == null) {
throw new NullPointerException();
}
@@ -666,7 +1211,7 @@ public final class DebugJsProtoBuf {
}
// required bytes content = 2;
- private com.google.protobuf.ByteString content_ = com.google.protobuf.ByteString.EMPTY;
+ private ByteString content_ = ByteString.EMPTY;
/**
* required bytes content = 2;
*/
@@ -676,13 +1221,13 @@ public final class DebugJsProtoBuf {
/**
* required bytes content = 2;
*/
- public com.google.protobuf.ByteString getContent() {
+ public ByteString getContent() {
return content_;
}
/**
* required bytes content = 2;
*/
- public Builder setContent(com.google.protobuf.ByteString value) {
+ public Builder setContent(ByteString value) {
if (value == null) {
throw new NullPointerException();
}
@@ -714,17 +1259,17 @@ public final class DebugJsProtoBuf {
// repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
public static final int ENTRY_FIELD_NUMBER = 1;
- private java.util.Listrepeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
- public java.util.Listrepeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
- public java.util.List extends org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntryOrBuilder>
+ public List extends DebugJsProtoBuf.Library.FileEntryOrBuilder>
getEntryOrBuilderList() {
return entry_;
}
@@ -737,19 +1282,19 @@ public final class DebugJsProtoBuf {
/**
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
- public org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry getEntry(int index) {
+ public DebugJsProtoBuf.Library.FileEntry getEntry(int index) {
return entry_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
- public org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntryOrBuilder getEntryOrBuilder(
+ public DebugJsProtoBuf.Library.FileEntryOrBuilder getEntryOrBuilder(
int index) {
return entry_.get(index);
}
private void initFields() {
- entry_ = java.util.Collections.emptyList();
+ entry_ = Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
@@ -766,8 +1311,8 @@ public final class DebugJsProtoBuf {
return true;
}
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
+ public void writeTo(CodedOutputStream output)
+ throws IOException {
getSerializedSize();
for (int i = 0; i < entry_.size(); i++) {
output.writeMessage(1, entry_.get(i));
@@ -782,7 +1327,7 @@ public final class DebugJsProtoBuf {
size = 0;
for (int i = 0; i < entry_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
+ size += CodedOutputStream
.computeMessageSize(1, entry_.get(i));
}
size += getUnknownFields().getSerializedSize();
@@ -791,75 +1336,75 @@ public final class DebugJsProtoBuf {
}
private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
+ @Override
+ protected Object writeReplace()
+ throws ObjectStreamException {
return super.writeReplace();
}
- public static org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
+ public static DebugJsProtoBuf.Library parseFrom(
+ ByteString data)
+ throws InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
+ public static DebugJsProtoBuf.Library parseFrom(
+ ByteString data,
+ ExtensionRegistryLite extensionRegistry)
+ throws InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
+ public static DebugJsProtoBuf.Library parseFrom(byte[] data)
+ throws InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library parseFrom(
+ public static DebugJsProtoBuf.Library parseFrom(
byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
+ ExtensionRegistryLite extensionRegistry)
+ throws InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library parseFrom(java.io.InputStream input)
- throws java.io.IOException {
+ public static DebugJsProtoBuf.Library parseFrom(InputStream input)
+ throws IOException {
return PARSER.parseFrom(input);
}
- public static org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
+ public static DebugJsProtoBuf.Library parseFrom(
+ InputStream input,
+ ExtensionRegistryLite extensionRegistry)
+ throws IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
- public static org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
+ public static DebugJsProtoBuf.Library parseDelimitedFrom(InputStream input)
+ throws IOException {
return PARSER.parseDelimitedFrom(input);
}
- public static org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
+ public static DebugJsProtoBuf.Library parseDelimitedFrom(
+ InputStream input,
+ ExtensionRegistryLite extensionRegistry)
+ throws IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
- public static org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
+ public static DebugJsProtoBuf.Library parseFrom(
+ CodedInputStream input)
+ throws IOException {
return PARSER.parseFrom(input);
}
- public static org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
+ public static DebugJsProtoBuf.Library parseFrom(
+ CodedInputStream input,
+ ExtensionRegistryLite extensionRegistry)
+ throws IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library prototype) {
+ public static Builder newBuilder(DebugJsProtoBuf.Library prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
- @java.lang.Override
+ @Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -871,18 +1416,18 @@ public final class DebugJsProtoBuf {
*
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderrepeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
- public java.util.Listrepeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
- public org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry getEntry(int index) {
+ public DebugJsProtoBuf.Library.FileEntry getEntry(int index) {
if (entryBuilder_ == null) {
return entry_.get(index);
} else {
@@ -1069,7 +1614,7 @@ public final class DebugJsProtoBuf {
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
public Builder setEntry(
- int index, org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry value) {
+ int index, DebugJsProtoBuf.Library.FileEntry value) {
if (entryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
@@ -1086,7 +1631,7 @@ public final class DebugJsProtoBuf {
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
public Builder setEntry(
- int index, org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry.Builder builderForValue) {
+ int index, DebugJsProtoBuf.Library.FileEntry.Builder builderForValue) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
entry_.set(index, builderForValue.build());
@@ -1099,7 +1644,7 @@ public final class DebugJsProtoBuf {
/**
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
- public Builder addEntry(org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry value) {
+ public Builder addEntry(DebugJsProtoBuf.Library.FileEntry value) {
if (entryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
@@ -1116,7 +1661,7 @@ public final class DebugJsProtoBuf {
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
public Builder addEntry(
- int index, org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry value) {
+ int index, DebugJsProtoBuf.Library.FileEntry value) {
if (entryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
@@ -1133,7 +1678,7 @@ public final class DebugJsProtoBuf {
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
public Builder addEntry(
- org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry.Builder builderForValue) {
+ DebugJsProtoBuf.Library.FileEntry.Builder builderForValue) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
entry_.add(builderForValue.build());
@@ -1147,7 +1692,7 @@ public final class DebugJsProtoBuf {
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
public Builder addEntry(
- int index, org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry.Builder builderForValue) {
+ int index, DebugJsProtoBuf.Library.FileEntry.Builder builderForValue) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
entry_.add(index, builderForValue.build());
@@ -1161,10 +1706,10 @@ public final class DebugJsProtoBuf {
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
public Builder addAllEntry(
- java.lang.Iterable extends org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry> values) {
+ Iterable extends DebugJsProtoBuf.Library.FileEntry> values) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
- super.addAll(values, entry_);
+ addAll(values, entry_);
onChanged();
} else {
entryBuilder_.addAllMessages(values);
@@ -1176,7 +1721,7 @@ public final class DebugJsProtoBuf {
*/
public Builder clearEntry() {
if (entryBuilder_ == null) {
- entry_ = java.util.Collections.emptyList();
+ entry_ = Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
@@ -1200,14 +1745,14 @@ public final class DebugJsProtoBuf {
/**
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
- public org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry.Builder getEntryBuilder(
+ public DebugJsProtoBuf.Library.FileEntry.Builder getEntryBuilder(
int index) {
return getEntryFieldBuilder().getBuilder(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
- public org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntryOrBuilder getEntryOrBuilder(
+ public DebugJsProtoBuf.Library.FileEntryOrBuilder getEntryOrBuilder(
int index) {
if (entryBuilder_ == null) {
return entry_.get(index); } else {
@@ -1217,42 +1762,42 @@ public final class DebugJsProtoBuf {
/**
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
- public java.util.List extends org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntryOrBuilder>
+ public List extends DebugJsProtoBuf.Library.FileEntryOrBuilder>
getEntryOrBuilderList() {
if (entryBuilder_ != null) {
return entryBuilder_.getMessageOrBuilderList();
} else {
- return java.util.Collections.unmodifiableList(entry_);
+ return Collections.unmodifiableList(entry_);
}
}
/**
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
- public org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry.Builder addEntryBuilder() {
+ public DebugJsProtoBuf.Library.FileEntry.Builder addEntryBuilder() {
return getEntryFieldBuilder().addBuilder(
- org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry.getDefaultInstance());
+ DebugJsProtoBuf.Library.FileEntry.getDefaultInstance());
}
/**
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
- public org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry.Builder addEntryBuilder(
+ public DebugJsProtoBuf.Library.FileEntry.Builder addEntryBuilder(
int index) {
return getEntryFieldBuilder().addBuilder(
- index, org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.FileEntry.getDefaultInstance());
+ index, DebugJsProtoBuf.Library.FileEntry.getDefaultInstance());
}
/**
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
- public java.util.Listextend .org.jetbrains.kotlin.serialization.Class { ... }
+ */
+ public static final
+ GeneratedMessage.GeneratedExtension<
+ DebugProtoBuf.Class,
+ Listextend .org.jetbrains.kotlin.serialization.Callable { ... }
+ */
+ public static final
+ GeneratedMessage.GeneratedExtension<
+ DebugProtoBuf.Callable,
+ Listextend .org.jetbrains.kotlin.serialization.Callable { ... }
+ */
+ public static final
+ GeneratedMessage.GeneratedExtension<
+ DebugProtoBuf.Callable,
+ DebugProtoBuf.Annotation.Argument.Value> compileTimeValue = GeneratedMessage
+ .newFileScopedGeneratedExtension(
+ DebugProtoBuf.Annotation.Argument.Value.class,
+ DebugProtoBuf.Annotation.Argument.Value.getDefaultInstance());
+ public static final int PARAMETER_ANNOTATION_FIELD_NUMBER = 130;
+ /**
+ * extend .org.jetbrains.kotlin.serialization.Callable.ValueParameter { ... }
+ */
+ public static final
+ GeneratedMessage.GeneratedExtension<
+ DebugProtoBuf.Callable.ValueParameter,
+ Listrepeated int32 class_name = 1 [packed = true];
+ *
+ * + * id in StringTable + *+ */ + List
repeated int32 class_name = 1 [packed = true];
+ *
+ * + * id in StringTable + *+ */ + int getClassNameCount(); + /** + *
repeated int32 class_name = 1 [packed = true];
+ *
+ * + * id in StringTable + *+ */ + int getClassName(int index); + } + /** + * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Classes} + */ + public static final class Classes extends + GeneratedMessageLite + implements ClassesOrBuilder { + // Use Classes.newBuilder() to construct. + private Classes(GeneratedMessageLite.Builder builder) { + super(builder); + + } + private Classes(boolean noInit) {} + + private static final Classes defaultInstance; + public static Classes getDefaultInstance() { + return defaultInstance; + } + + public Classes getDefaultInstanceForType() { + return defaultInstance; + } + + private Classes( + CodedInputStream input, + ExtensionRegistryLite extensionRegistry) + throws InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + className_ = new ArrayList
repeated int32 class_name = 1 [packed = true];
+ *
+ * + * id in StringTable + *+ */ + public List
repeated int32 class_name = 1 [packed = true];
+ *
+ * + * id in StringTable + *+ */ + public int getClassNameCount() { + return className_.size(); + } + /** + *
repeated int32 class_name = 1 [packed = true];
+ *
+ * + * id in StringTable + *+ */ + public int getClassName(int index) { + return className_.get(index); + } + private int classNameMemoizedSerializedSize = -1; + + private void initFields() { + className_ = Collections.emptyList(); + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(CodedOutputStream output) + throws IOException { + getSerializedSize(); + if (getClassNameList().size() > 0) { + output.writeRawVarint32(10); + output.writeRawVarint32(classNameMemoizedSerializedSize); + } + for (int i = 0; i < className_.size(); i++) { + output.writeInt32NoTag(className_.get(i)); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < className_.size(); i++) { + dataSize += CodedOutputStream + .computeInt32SizeNoTag(className_.get(i)); + } + size += dataSize; + if (!getClassNameList().isEmpty()) { + size += 1; + size += CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + classNameMemoizedSerializedSize = dataSize; + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @Override + protected Object writeReplace() + throws ObjectStreamException { + return super.writeReplace(); + } + + public static JsProtoBuf.Classes parseFrom( + ByteString data) + throws InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static JsProtoBuf.Classes parseFrom( + ByteString data, + ExtensionRegistryLite extensionRegistry) + throws InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static JsProtoBuf.Classes parseFrom(byte[] data) + throws InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static JsProtoBuf.Classes parseFrom( + byte[] data, + ExtensionRegistryLite extensionRegistry) + throws InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static JsProtoBuf.Classes parseFrom(InputStream input) + throws IOException { + return PARSER.parseFrom(input); + } + public static JsProtoBuf.Classes parseFrom( + InputStream input, + ExtensionRegistryLite extensionRegistry) + throws IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static JsProtoBuf.Classes parseDelimitedFrom(InputStream input) + throws IOException { + return PARSER.parseDelimitedFrom(input); + } + public static JsProtoBuf.Classes parseDelimitedFrom( + InputStream input, + ExtensionRegistryLite extensionRegistry) + throws IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static JsProtoBuf.Classes parseFrom( + CodedInputStream input) + throws IOException { + return PARSER.parseFrom(input); + } + public static JsProtoBuf.Classes parseFrom( + CodedInputStream input, + ExtensionRegistryLite extensionRegistry) + throws IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(JsProtoBuf.Classes prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Classes} + */ + public static final class Builder extends + GeneratedMessageLite.Builder< + JsProtoBuf.Classes, Builder> + implements JsProtoBuf.ClassesOrBuilder { + // Construct using org.jetbrains.kotlin.serialization.js.JsProtoBuf.Classes.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + className_ = Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public JsProtoBuf.Classes getDefaultInstanceForType() { + return getDefaultInstance(); + } + + public JsProtoBuf.Classes build() { + JsProtoBuf.Classes result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public JsProtoBuf.Classes buildPartial() { + JsProtoBuf.Classes result = new JsProtoBuf.Classes(this); + int from_bitField0_ = bitField0_; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + className_ = Collections.unmodifiableList(className_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.className_ = className_; + return result; + } + + public Builder mergeFrom(JsProtoBuf.Classes other) { + if (other == getDefaultInstance()) return this; + if (!other.className_.isEmpty()) { + if (className_.isEmpty()) { + className_ = other.className_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureClassNameIsMutable(); + className_.addAll(other.className_); + } + + } + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + CodedInputStream input, + ExtensionRegistryLite extensionRegistry) + throws IOException { + JsProtoBuf.Classes parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (InvalidProtocolBufferException e) { + parsedMessage = (JsProtoBuf.Classes) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // repeated int32 class_name = 1 [packed = true]; + private List
repeated int32 class_name = 1 [packed = true];
+ *
+ * + * id in StringTable + *+ */ + public List
repeated int32 class_name = 1 [packed = true];
+ *
+ * + * id in StringTable + *+ */ + public int getClassNameCount() { + return className_.size(); + } + /** + *
repeated int32 class_name = 1 [packed = true];
+ *
+ * + * id in StringTable + *+ */ + public int getClassName(int index) { + return className_.get(index); + } + /** + *
repeated int32 class_name = 1 [packed = true];
+ *
+ * + * id in StringTable + *+ */ + public Builder setClassName( + int index, int value) { + ensureClassNameIsMutable(); + className_.set(index, value); + + return this; + } + /** + *
repeated int32 class_name = 1 [packed = true];
+ *
+ * + * id in StringTable + *+ */ + public Builder addClassName(int value) { + ensureClassNameIsMutable(); + className_.add(value); + + return this; + } + /** + *
repeated int32 class_name = 1 [packed = true];
+ *
+ * + * id in StringTable + *+ */ + public Builder addAllClassName( + Iterable extends Integer> values) { + ensureClassNameIsMutable(); + addAll(values, className_); + + return this; + } + /** + *
repeated int32 class_name = 1 [packed = true];
+ *
+ * + * id in StringTable + *+ */ + public Builder clearClassName() { + className_ = Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + + return this; + } + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.js.Classes) + } + + static { + defaultInstance = new Classes(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.js.Classes) + } + public interface LibraryOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + extends MessageLiteOrBuilder { // repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; /** *
repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
- java.util.Listrepeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
- org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry getEntry(int index);
+ JsProtoBuf.Library.FileEntry getEntry(int index);
/**
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
@@ -34,10 +516,10 @@ public final class JsProtoBuf {
*
*/
public static final class Library extends
- com.google.protobuf.GeneratedMessageLite
+ GeneratedMessageLite
implements LibraryOrBuilder {
// Use Library.newBuilder() to construct.
- private Library(com.google.protobuf.GeneratedMessageLite.Builder builder) {
+ private Library(GeneratedMessageLite.Builder builder) {
super(builder);
}
@@ -53,9 +535,9 @@ public final class JsProtoBuf {
}
private Library(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
+ CodedInputStream input,
+ ExtensionRegistryLite extensionRegistry)
+ throws InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
@@ -75,43 +557,43 @@ public final class JsProtoBuf {
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
- entry_ = new java.util.ArrayListrequired string path = 1;
*/
- java.lang.String getPath();
+ String getPath();
/**
* required string path = 1;
*/
- com.google.protobuf.ByteString
+ ByteString
getPathBytes();
// required bytes content = 2;
@@ -136,16 +618,16 @@ public final class JsProtoBuf {
/**
* required bytes content = 2;
*/
- com.google.protobuf.ByteString getContent();
+ ByteString getContent();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.serialization.js.Library.FileEntry}
*/
public static final class FileEntry extends
- com.google.protobuf.GeneratedMessageLite
+ GeneratedMessageLite
implements FileEntryOrBuilder {
// Use FileEntry.newBuilder() to construct.
- private FileEntry(com.google.protobuf.GeneratedMessageLite.Builder builder) {
+ private FileEntry(GeneratedMessageLite.Builder builder) {
super(builder);
}
@@ -161,9 +643,9 @@ public final class JsProtoBuf {
}
private FileEntry(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
+ CodedInputStream input,
+ ExtensionRegistryLite extensionRegistry)
+ throws InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
@@ -193,34 +675,34 @@ public final class JsProtoBuf {
}
}
}
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ } catch (InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
+ } catch (IOException e) {
+ throw new InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
makeExtensionsImmutable();
}
}
- public static com.google.protobuf.Parserrequired string path = 1;
*/
@@ -230,14 +712,14 @@ public final class JsProtoBuf {
/**
* required string path = 1;
*/
- public java.lang.String getPath() {
- java.lang.Object ref = path_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
+ public String getPath() {
+ Object ref = path_;
+ if (ref instanceof String) {
+ return (String) ref;
} else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
+ ByteString bs =
+ (ByteString) ref;
+ String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
path_ = s;
}
@@ -247,23 +729,23 @@ public final class JsProtoBuf {
/**
* required string path = 1;
*/
- public com.google.protobuf.ByteString
+ public ByteString
getPathBytes() {
- java.lang.Object ref = path_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
+ Object ref = path_;
+ if (ref instanceof String) {
+ ByteString b =
+ ByteString.copyFromUtf8(
+ (String) ref);
path_ = b;
return b;
} else {
- return (com.google.protobuf.ByteString) ref;
+ return (ByteString) ref;
}
}
// required bytes content = 2;
public static final int CONTENT_FIELD_NUMBER = 2;
- private com.google.protobuf.ByteString content_;
+ private ByteString content_;
/**
* required bytes content = 2;
*/
@@ -273,13 +755,13 @@ public final class JsProtoBuf {
/**
* required bytes content = 2;
*/
- public com.google.protobuf.ByteString getContent() {
+ public ByteString getContent() {
return content_;
}
private void initFields() {
path_ = "";
- content_ = com.google.protobuf.ByteString.EMPTY;
+ content_ = ByteString.EMPTY;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
@@ -298,8 +780,8 @@ public final class JsProtoBuf {
return true;
}
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
+ public void writeTo(CodedOutputStream output)
+ throws IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getPathBytes());
@@ -316,11 +798,11 @@ public final class JsProtoBuf {
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
+ size += CodedOutputStream
.computeBytesSize(1, getPathBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
+ size += CodedOutputStream
.computeBytesSize(2, content_);
}
memoizedSerializedSize = size;
@@ -328,68 +810,68 @@ public final class JsProtoBuf {
}
private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
+ @Override
+ protected Object writeReplace()
+ throws ObjectStreamException {
return super.writeReplace();
}
- public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
+ public static JsProtoBuf.Library.FileEntry parseFrom(
+ ByteString data)
+ throws InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
+ public static JsProtoBuf.Library.FileEntry parseFrom(
+ ByteString data,
+ ExtensionRegistryLite extensionRegistry)
+ throws InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
+ public static JsProtoBuf.Library.FileEntry parseFrom(byte[] data)
+ throws InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom(
+ public static JsProtoBuf.Library.FileEntry parseFrom(
byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
+ ExtensionRegistryLite extensionRegistry)
+ throws InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom(java.io.InputStream input)
- throws java.io.IOException {
+ public static JsProtoBuf.Library.FileEntry parseFrom(InputStream input)
+ throws IOException {
return PARSER.parseFrom(input);
}
- public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
+ public static JsProtoBuf.Library.FileEntry parseFrom(
+ InputStream input,
+ ExtensionRegistryLite extensionRegistry)
+ throws IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
- public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
+ public static JsProtoBuf.Library.FileEntry parseDelimitedFrom(InputStream input)
+ throws IOException {
return PARSER.parseDelimitedFrom(input);
}
- public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
+ public static JsProtoBuf.Library.FileEntry parseDelimitedFrom(
+ InputStream input,
+ ExtensionRegistryLite extensionRegistry)
+ throws IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
- public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
+ public static JsProtoBuf.Library.FileEntry parseFrom(
+ CodedInputStream input)
+ throws IOException {
return PARSER.parseFrom(input);
}
- public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
+ public static JsProtoBuf.Library.FileEntry parseFrom(
+ CodedInputStream input,
+ ExtensionRegistryLite extensionRegistry)
+ throws IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry prototype) {
+ public static Builder newBuilder(JsProtoBuf.Library.FileEntry prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@@ -398,9 +880,9 @@ public final class JsProtoBuf {
* Protobuf type {@code org.jetbrains.kotlin.serialization.js.Library.FileEntry}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageLite.Builder<
- org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry, Builder>
- implements org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntryOrBuilder {
+ GeneratedMessageLite.Builder<
+ JsProtoBuf.Library.FileEntry, Builder>
+ implements JsProtoBuf.Library.FileEntryOrBuilder {
// Construct using org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
@@ -416,7 +898,7 @@ public final class JsProtoBuf {
super.clear();
path_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
- content_ = com.google.protobuf.ByteString.EMPTY;
+ content_ = ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@@ -425,20 +907,20 @@ public final class JsProtoBuf {
return create().mergeFrom(buildPartial());
}
- public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry getDefaultInstanceForType() {
- return org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.getDefaultInstance();
+ public JsProtoBuf.Library.FileEntry getDefaultInstanceForType() {
+ return getDefaultInstance();
}
- public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry build() {
- org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry result = buildPartial();
+ public JsProtoBuf.Library.FileEntry build() {
+ JsProtoBuf.Library.FileEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
- public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry buildPartial() {
- org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry result = new org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry(this);
+ public JsProtoBuf.Library.FileEntry buildPartial() {
+ JsProtoBuf.Library.FileEntry result = new JsProtoBuf.Library.FileEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
@@ -453,8 +935,8 @@ public final class JsProtoBuf {
return result;
}
- public Builder mergeFrom(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry other) {
- if (other == org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.getDefaultInstance()) return this;
+ public Builder mergeFrom(JsProtoBuf.Library.FileEntry other) {
+ if (other == getDefaultInstance()) return this;
if (other.hasPath()) {
bitField0_ |= 0x00000001;
path_ = other.path_;
@@ -479,14 +961,14 @@ public final class JsProtoBuf {
}
public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parsedMessage = null;
+ CodedInputStream input,
+ ExtensionRegistryLite extensionRegistry)
+ throws IOException {
+ JsProtoBuf.Library.FileEntry parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry) e.getUnfinishedMessage();
+ } catch (InvalidProtocolBufferException e) {
+ parsedMessage = (JsProtoBuf.Library.FileEntry) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
@@ -498,7 +980,7 @@ public final class JsProtoBuf {
private int bitField0_;
// required string path = 1;
- private java.lang.Object path_ = "";
+ private Object path_ = "";
/**
* required string path = 1;
*/
@@ -508,38 +990,38 @@ public final class JsProtoBuf {
/**
* required string path = 1;
*/
- public java.lang.String getPath() {
- java.lang.Object ref = path_;
- if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ public String getPath() {
+ Object ref = path_;
+ if (!(ref instanceof String)) {
+ String s = ((ByteString) ref)
.toStringUtf8();
path_ = s;
return s;
} else {
- return (java.lang.String) ref;
+ return (String) ref;
}
}
/**
* required string path = 1;
*/
- public com.google.protobuf.ByteString
+ public ByteString
getPathBytes() {
- java.lang.Object ref = path_;
+ Object ref = path_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
+ ByteString b =
+ ByteString.copyFromUtf8(
+ (String) ref);
path_ = b;
return b;
} else {
- return (com.google.protobuf.ByteString) ref;
+ return (ByteString) ref;
}
}
/**
* required string path = 1;
*/
public Builder setPath(
- java.lang.String value) {
+ String value) {
if (value == null) {
throw new NullPointerException();
}
@@ -561,7 +1043,7 @@ public final class JsProtoBuf {
* required string path = 1;
*/
public Builder setPathBytes(
- com.google.protobuf.ByteString value) {
+ ByteString value) {
if (value == null) {
throw new NullPointerException();
}
@@ -572,7 +1054,7 @@ public final class JsProtoBuf {
}
// required bytes content = 2;
- private com.google.protobuf.ByteString content_ = com.google.protobuf.ByteString.EMPTY;
+ private ByteString content_ = ByteString.EMPTY;
/**
* required bytes content = 2;
*/
@@ -582,13 +1064,13 @@ public final class JsProtoBuf {
/**
* required bytes content = 2;
*/
- public com.google.protobuf.ByteString getContent() {
+ public ByteString getContent() {
return content_;
}
/**
* required bytes content = 2;
*/
- public Builder setContent(com.google.protobuf.ByteString value) {
+ public Builder setContent(ByteString value) {
if (value == null) {
throw new NullPointerException();
}
@@ -620,17 +1102,17 @@ public final class JsProtoBuf {
// repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
public static final int ENTRY_FIELD_NUMBER = 1;
- private java.util.Listrepeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
- public java.util.Listrepeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
- public java.util.List extends org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntryOrBuilder>
+ public List extends JsProtoBuf.Library.FileEntryOrBuilder>
getEntryOrBuilderList() {
return entry_;
}
@@ -643,19 +1125,19 @@ public final class JsProtoBuf {
/**
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
- public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry getEntry(int index) {
+ public JsProtoBuf.Library.FileEntry getEntry(int index) {
return entry_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
- public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntryOrBuilder getEntryOrBuilder(
+ public JsProtoBuf.Library.FileEntryOrBuilder getEntryOrBuilder(
int index) {
return entry_.get(index);
}
private void initFields() {
- entry_ = java.util.Collections.emptyList();
+ entry_ = Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
@@ -672,8 +1154,8 @@ public final class JsProtoBuf {
return true;
}
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
+ public void writeTo(CodedOutputStream output)
+ throws IOException {
getSerializedSize();
for (int i = 0; i < entry_.size(); i++) {
output.writeMessage(1, entry_.get(i));
@@ -687,7 +1169,7 @@ public final class JsProtoBuf {
size = 0;
for (int i = 0; i < entry_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
+ size += CodedOutputStream
.computeMessageSize(1, entry_.get(i));
}
memoizedSerializedSize = size;
@@ -695,68 +1177,68 @@ public final class JsProtoBuf {
}
private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
+ @Override
+ protected Object writeReplace()
+ throws ObjectStreamException {
return super.writeReplace();
}
- public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
+ public static JsProtoBuf.Library parseFrom(
+ ByteString data)
+ throws InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
+ public static JsProtoBuf.Library parseFrom(
+ ByteString data,
+ ExtensionRegistryLite extensionRegistry)
+ throws InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
+ public static JsProtoBuf.Library parseFrom(byte[] data)
+ throws InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(
+ public static JsProtoBuf.Library parseFrom(
byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
+ ExtensionRegistryLite extensionRegistry)
+ throws InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(java.io.InputStream input)
- throws java.io.IOException {
+ public static JsProtoBuf.Library parseFrom(InputStream input)
+ throws IOException {
return PARSER.parseFrom(input);
}
- public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
+ public static JsProtoBuf.Library parseFrom(
+ InputStream input,
+ ExtensionRegistryLite extensionRegistry)
+ throws IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
- public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
+ public static JsProtoBuf.Library parseDelimitedFrom(InputStream input)
+ throws IOException {
return PARSER.parseDelimitedFrom(input);
}
- public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
+ public static JsProtoBuf.Library parseDelimitedFrom(
+ InputStream input,
+ ExtensionRegistryLite extensionRegistry)
+ throws IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
- public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
+ public static JsProtoBuf.Library parseFrom(
+ CodedInputStream input)
+ throws IOException {
return PARSER.parseFrom(input);
}
- public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
+ public static JsProtoBuf.Library parseFrom(
+ CodedInputStream input,
+ ExtensionRegistryLite extensionRegistry)
+ throws IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library prototype) {
+ public static Builder newBuilder(JsProtoBuf.Library prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@@ -769,9 +1251,9 @@ public final class JsProtoBuf {
*
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageLite.Builder<
- org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library, Builder>
- implements org.jetbrains.kotlin.serialization.js.JsProtoBuf.LibraryOrBuilder {
+ GeneratedMessageLite.Builder<
+ JsProtoBuf.Library, Builder>
+ implements JsProtoBuf.LibraryOrBuilder {
// Construct using org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
@@ -785,7 +1267,7 @@ public final class JsProtoBuf {
public Builder clear() {
super.clear();
- entry_ = java.util.Collections.emptyList();
+ entry_ = Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@@ -794,31 +1276,31 @@ public final class JsProtoBuf {
return create().mergeFrom(buildPartial());
}
- public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library getDefaultInstanceForType() {
- return org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.getDefaultInstance();
+ public JsProtoBuf.Library getDefaultInstanceForType() {
+ return getDefaultInstance();
}
- public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library build() {
- org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library result = buildPartial();
+ public JsProtoBuf.Library build() {
+ JsProtoBuf.Library result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
- public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library buildPartial() {
- org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library result = new org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library(this);
+ public JsProtoBuf.Library buildPartial() {
+ JsProtoBuf.Library result = new JsProtoBuf.Library(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
- entry_ = java.util.Collections.unmodifiableList(entry_);
+ entry_ = Collections.unmodifiableList(entry_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.entry_ = entry_;
return result;
}
- public Builder mergeFrom(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library other) {
- if (other == org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.getDefaultInstance()) return this;
+ public Builder mergeFrom(JsProtoBuf.Library other) {
+ if (other == getDefaultInstance()) return this;
if (!other.entry_.isEmpty()) {
if (entry_.isEmpty()) {
entry_ = other.entry_;
@@ -843,14 +1325,14 @@ public final class JsProtoBuf {
}
public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parsedMessage = null;
+ CodedInputStream input,
+ ExtensionRegistryLite extensionRegistry)
+ throws IOException {
+ JsProtoBuf.Library parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library) e.getUnfinishedMessage();
+ } catch (InvalidProtocolBufferException e) {
+ parsedMessage = (JsProtoBuf.Library) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
@@ -862,11 +1344,11 @@ public final class JsProtoBuf {
private int bitField0_;
// repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
- private java.util.Listrepeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
- public java.util.Listrepeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
@@ -886,14 +1368,14 @@ public final class JsProtoBuf {
/**
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
- public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry getEntry(int index) {
+ public JsProtoBuf.Library.FileEntry getEntry(int index) {
return entry_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
public Builder setEntry(
- int index, org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry value) {
+ int index, JsProtoBuf.Library.FileEntry value) {
if (value == null) {
throw new NullPointerException();
}
@@ -906,7 +1388,7 @@ public final class JsProtoBuf {
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
public Builder setEntry(
- int index, org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.Builder builderForValue) {
+ int index, JsProtoBuf.Library.FileEntry.Builder builderForValue) {
ensureEntryIsMutable();
entry_.set(index, builderForValue.build());
@@ -915,7 +1397,7 @@ public final class JsProtoBuf {
/**
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
- public Builder addEntry(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry value) {
+ public Builder addEntry(JsProtoBuf.Library.FileEntry value) {
if (value == null) {
throw new NullPointerException();
}
@@ -928,7 +1410,7 @@ public final class JsProtoBuf {
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
public Builder addEntry(
- int index, org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry value) {
+ int index, JsProtoBuf.Library.FileEntry value) {
if (value == null) {
throw new NullPointerException();
}
@@ -941,7 +1423,7 @@ public final class JsProtoBuf {
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
public Builder addEntry(
- org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.Builder builderForValue) {
+ JsProtoBuf.Library.FileEntry.Builder builderForValue) {
ensureEntryIsMutable();
entry_.add(builderForValue.build());
@@ -951,7 +1433,7 @@ public final class JsProtoBuf {
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
public Builder addEntry(
- int index, org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.Builder builderForValue) {
+ int index, JsProtoBuf.Library.FileEntry.Builder builderForValue) {
ensureEntryIsMutable();
entry_.add(index, builderForValue.build());
@@ -961,9 +1443,9 @@ public final class JsProtoBuf {
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
public Builder addAllEntry(
- java.lang.Iterable extends org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry> values) {
+ Iterable extends JsProtoBuf.Library.FileEntry> values) {
ensureEntryIsMutable();
- super.addAll(values, entry_);
+ addAll(values, entry_);
return this;
}
@@ -971,7 +1453,7 @@ public final class JsProtoBuf {
* repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
*/
public Builder clearEntry() {
- entry_ = java.util.Collections.emptyList();
+ entry_ = Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
@@ -997,6 +1479,66 @@ public final class JsProtoBuf {
// @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.js.Library)
}
+ public static final int CLASS_ANNOTATION_FIELD_NUMBER = 130;
+ /**
+ * extend .org.jetbrains.kotlin.serialization.Class { ... }
+ */
+ public static final
+ GeneratedMessageLite.GeneratedExtension<
+ ProtoBuf.Class,
+ Listextend .org.jetbrains.kotlin.serialization.Callable { ... }
+ */
+ public static final
+ GeneratedMessageLite.GeneratedExtension<
+ ProtoBuf.Callable,
+ Listextend .org.jetbrains.kotlin.serialization.Callable { ... }
+ */
+ public static final
+ GeneratedMessageLite.GeneratedExtension<
+ ProtoBuf.Callable,
+ ProtoBuf.Annotation.Argument.Value> compileTimeValue = GeneratedMessageLite
+ .newSingularGeneratedExtension(
+ ProtoBuf.Callable.getDefaultInstance(),
+ ProtoBuf.Annotation.Argument.Value.getDefaultInstance(),
+ ProtoBuf.Annotation.Argument.Value.getDefaultInstance(),
+ null,
+ 131,
+ WireFormat.FieldType.MESSAGE);
+ public static final int PARAMETER_ANNOTATION_FIELD_NUMBER = 130;
+ /**
+ * extend .org.jetbrains.kotlin.serialization.Callable.ValueParameter { ... }
+ */
+ public static final
+ GeneratedMessageLite.GeneratedExtension<
+ ProtoBuf.Callable.ValueParameter,
+ List