Clarify 'class_fq_name` field in jvm_descriptors.proto

Regenerate protobuf files with protoc 2.5.0
This commit is contained in:
Alexander Udalov
2015-03-19 19:03:32 +03:00
parent 5d0af36432
commit 06537c5b14
7 changed files with 565 additions and 464 deletions
@@ -6229,14 +6229,26 @@ public final class DebugProtoBuf {
// optional .org.jetbrains.kotlin.serialization.Type type = 2; // optional .org.jetbrains.kotlin.serialization.Type type = 2;
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code>
*
* <pre>
* when projection is STAR, no type is written, otherwise type must be specified
* </pre>
*/ */
boolean hasType(); boolean hasType();
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code>
*
* <pre>
* when projection is STAR, no type is written, otherwise type must be specified
* </pre>
*/ */
org.jetbrains.kotlin.serialization.DebugProtoBuf.Type getType(); org.jetbrains.kotlin.serialization.DebugProtoBuf.Type getType();
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code>
*
* <pre>
* when projection is STAR, no type is written, otherwise type must be specified
* </pre>
*/ */
org.jetbrains.kotlin.serialization.DebugProtoBuf.TypeOrBuilder getTypeOrBuilder(); org.jetbrains.kotlin.serialization.DebugProtoBuf.TypeOrBuilder getTypeOrBuilder();
} }
@@ -6476,18 +6488,30 @@ public final class DebugProtoBuf {
private org.jetbrains.kotlin.serialization.DebugProtoBuf.Type type_; private org.jetbrains.kotlin.serialization.DebugProtoBuf.Type type_;
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code>
*
* <pre>
* when projection is STAR, no type is written, otherwise type must be specified
* </pre>
*/ */
public boolean hasType() { public boolean hasType() {
return ((bitField0_ & 0x00000002) == 0x00000002); return ((bitField0_ & 0x00000002) == 0x00000002);
} }
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code>
*
* <pre>
* when projection is STAR, no type is written, otherwise type must be specified
* </pre>
*/ */
public org.jetbrains.kotlin.serialization.DebugProtoBuf.Type getType() { public org.jetbrains.kotlin.serialization.DebugProtoBuf.Type getType() {
return type_; return type_;
} }
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code>
*
* <pre>
* when projection is STAR, no type is written, otherwise type must be specified
* </pre>
*/ */
public org.jetbrains.kotlin.serialization.DebugProtoBuf.TypeOrBuilder getTypeOrBuilder() { public org.jetbrains.kotlin.serialization.DebugProtoBuf.TypeOrBuilder getTypeOrBuilder() {
return type_; return type_;
@@ -6800,12 +6824,20 @@ public final class DebugProtoBuf {
org.jetbrains.kotlin.serialization.DebugProtoBuf.Type, org.jetbrains.kotlin.serialization.DebugProtoBuf.Type.Builder, org.jetbrains.kotlin.serialization.DebugProtoBuf.TypeOrBuilder> typeBuilder_; org.jetbrains.kotlin.serialization.DebugProtoBuf.Type, org.jetbrains.kotlin.serialization.DebugProtoBuf.Type.Builder, org.jetbrains.kotlin.serialization.DebugProtoBuf.TypeOrBuilder> typeBuilder_;
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code>
*
* <pre>
* when projection is STAR, no type is written, otherwise type must be specified
* </pre>
*/ */
public boolean hasType() { public boolean hasType() {
return ((bitField0_ & 0x00000002) == 0x00000002); return ((bitField0_ & 0x00000002) == 0x00000002);
} }
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code>
*
* <pre>
* when projection is STAR, no type is written, otherwise type must be specified
* </pre>
*/ */
public org.jetbrains.kotlin.serialization.DebugProtoBuf.Type getType() { public org.jetbrains.kotlin.serialization.DebugProtoBuf.Type getType() {
if (typeBuilder_ == null) { if (typeBuilder_ == null) {
@@ -6816,6 +6848,10 @@ public final class DebugProtoBuf {
} }
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code>
*
* <pre>
* when projection is STAR, no type is written, otherwise type must be specified
* </pre>
*/ */
public Builder setType(org.jetbrains.kotlin.serialization.DebugProtoBuf.Type value) { public Builder setType(org.jetbrains.kotlin.serialization.DebugProtoBuf.Type value) {
if (typeBuilder_ == null) { if (typeBuilder_ == null) {
@@ -6832,6 +6868,10 @@ public final class DebugProtoBuf {
} }
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code>
*
* <pre>
* when projection is STAR, no type is written, otherwise type must be specified
* </pre>
*/ */
public Builder setType( public Builder setType(
org.jetbrains.kotlin.serialization.DebugProtoBuf.Type.Builder builderForValue) { org.jetbrains.kotlin.serialization.DebugProtoBuf.Type.Builder builderForValue) {
@@ -6846,6 +6886,10 @@ public final class DebugProtoBuf {
} }
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code>
*
* <pre>
* when projection is STAR, no type is written, otherwise type must be specified
* </pre>
*/ */
public Builder mergeType(org.jetbrains.kotlin.serialization.DebugProtoBuf.Type value) { public Builder mergeType(org.jetbrains.kotlin.serialization.DebugProtoBuf.Type value) {
if (typeBuilder_ == null) { if (typeBuilder_ == null) {
@@ -6865,6 +6909,10 @@ public final class DebugProtoBuf {
} }
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code>
*
* <pre>
* when projection is STAR, no type is written, otherwise type must be specified
* </pre>
*/ */
public Builder clearType() { public Builder clearType() {
if (typeBuilder_ == null) { if (typeBuilder_ == null) {
@@ -6878,6 +6926,10 @@ public final class DebugProtoBuf {
} }
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code>
*
* <pre>
* when projection is STAR, no type is written, otherwise type must be specified
* </pre>
*/ */
public org.jetbrains.kotlin.serialization.DebugProtoBuf.Type.Builder getTypeBuilder() { public org.jetbrains.kotlin.serialization.DebugProtoBuf.Type.Builder getTypeBuilder() {
bitField0_ |= 0x00000002; bitField0_ |= 0x00000002;
@@ -6886,6 +6938,10 @@ public final class DebugProtoBuf {
} }
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code>
*
* <pre>
* when projection is STAR, no type is written, otherwise type must be specified
* </pre>
*/ */
public org.jetbrains.kotlin.serialization.DebugProtoBuf.TypeOrBuilder getTypeOrBuilder() { public org.jetbrains.kotlin.serialization.DebugProtoBuf.TypeOrBuilder getTypeOrBuilder() {
if (typeBuilder_ != null) { if (typeBuilder_ != null) {
@@ -6896,6 +6952,10 @@ public final class DebugProtoBuf {
} }
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code>
*
* <pre>
* when projection is STAR, no type is written, otherwise type must be specified
* </pre>
*/ */
private com.google.protobuf.SingleFieldBuilder< private com.google.protobuf.SingleFieldBuilder<
org.jetbrains.kotlin.serialization.DebugProtoBuf.Type, org.jetbrains.kotlin.serialization.DebugProtoBuf.Type.Builder, org.jetbrains.kotlin.serialization.DebugProtoBuf.TypeOrBuilder> org.jetbrains.kotlin.serialization.DebugProtoBuf.Type, org.jetbrains.kotlin.serialization.DebugProtoBuf.Type.Builder, org.jetbrains.kotlin.serialization.DebugProtoBuf.TypeOrBuilder>
File diff suppressed because it is too large Load Diff
@@ -18,28 +18,28 @@ public final class DebugJvmProtoBuf {
// optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1; // optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code> * <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code>
*
* <pre>
* One of these should be present
* </pre>
*/ */
boolean hasPrimitiveType(); boolean hasPrimitiveType();
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code> * <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code>
*
* <pre>
* One of these should be present
* </pre>
*/ */
org.jetbrains.kotlin.serialization.jvm.DebugJvmProtoBuf.JvmType.PrimitiveType getPrimitiveType(); org.jetbrains.kotlin.serialization.jvm.DebugJvmProtoBuf.JvmType.PrimitiveType getPrimitiveType();
// optional int32 class_fq_name = 2; // optional int32 class_fq_name = 2;
/** /**
* <code>optional int32 class_fq_name = 2;</code> * <code>optional int32 class_fq_name = 2;</code>
*
* <pre>
* id in QualifiedNameTable of a name in the following format: 'package.Outer$Nested'
* </pre>
*/ */
boolean hasClassFqName(); boolean hasClassFqName();
/** /**
* <code>optional int32 class_fq_name = 2;</code> * <code>optional int32 class_fq_name = 2;</code>
*
* <pre>
* id in QualifiedNameTable of a name in the following format: 'package.Outer$Nested'
* </pre>
*/ */
int getClassFqName(); int getClassFqName();
@@ -55,6 +55,10 @@ public final class DebugJvmProtoBuf {
} }
/** /**
* Protobuf type {@code org.jetbrains.kotlin.serialization.jvm.JvmType} * Protobuf type {@code org.jetbrains.kotlin.serialization.jvm.JvmType}
*
* <pre>
* Either a primitive type, or a class FQ name should be present
* </pre>
*/ */
public static final class JvmType extends public static final class JvmType extends
com.google.protobuf.GeneratedMessage com.google.protobuf.GeneratedMessage
@@ -323,20 +327,12 @@ public final class DebugJvmProtoBuf {
private org.jetbrains.kotlin.serialization.jvm.DebugJvmProtoBuf.JvmType.PrimitiveType primitiveType_; private org.jetbrains.kotlin.serialization.jvm.DebugJvmProtoBuf.JvmType.PrimitiveType primitiveType_;
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code> * <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code>
*
* <pre>
* One of these should be present
* </pre>
*/ */
public boolean hasPrimitiveType() { public boolean hasPrimitiveType() {
return ((bitField0_ & 0x00000001) == 0x00000001); return ((bitField0_ & 0x00000001) == 0x00000001);
} }
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code> * <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code>
*
* <pre>
* One of these should be present
* </pre>
*/ */
public org.jetbrains.kotlin.serialization.jvm.DebugJvmProtoBuf.JvmType.PrimitiveType getPrimitiveType() { public org.jetbrains.kotlin.serialization.jvm.DebugJvmProtoBuf.JvmType.PrimitiveType getPrimitiveType() {
return primitiveType_; return primitiveType_;
@@ -347,12 +343,20 @@ public final class DebugJvmProtoBuf {
private int classFqName_; private int classFqName_;
/** /**
* <code>optional int32 class_fq_name = 2;</code> * <code>optional int32 class_fq_name = 2;</code>
*
* <pre>
* id in QualifiedNameTable of a name in the following format: 'package.Outer$Nested'
* </pre>
*/ */
public boolean hasClassFqName() { public boolean hasClassFqName() {
return ((bitField0_ & 0x00000002) == 0x00000002); return ((bitField0_ & 0x00000002) == 0x00000002);
} }
/** /**
* <code>optional int32 class_fq_name = 2;</code> * <code>optional int32 class_fq_name = 2;</code>
*
* <pre>
* id in QualifiedNameTable of a name in the following format: 'package.Outer$Nested'
* </pre>
*/ */
public int getClassFqName() { public int getClassFqName() {
return classFqName_; return classFqName_;
@@ -501,6 +505,10 @@ public final class DebugJvmProtoBuf {
} }
/** /**
* Protobuf type {@code org.jetbrains.kotlin.serialization.jvm.JvmType} * Protobuf type {@code org.jetbrains.kotlin.serialization.jvm.JvmType}
*
* <pre>
* Either a primitive type, or a class FQ name should be present
* </pre>
*/ */
public static final class Builder extends public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder> com.google.protobuf.GeneratedMessage.Builder<Builder>
@@ -639,30 +647,18 @@ public final class DebugJvmProtoBuf {
private org.jetbrains.kotlin.serialization.jvm.DebugJvmProtoBuf.JvmType.PrimitiveType primitiveType_ = org.jetbrains.kotlin.serialization.jvm.DebugJvmProtoBuf.JvmType.PrimitiveType.VOID; private org.jetbrains.kotlin.serialization.jvm.DebugJvmProtoBuf.JvmType.PrimitiveType primitiveType_ = org.jetbrains.kotlin.serialization.jvm.DebugJvmProtoBuf.JvmType.PrimitiveType.VOID;
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code> * <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code>
*
* <pre>
* One of these should be present
* </pre>
*/ */
public boolean hasPrimitiveType() { public boolean hasPrimitiveType() {
return ((bitField0_ & 0x00000001) == 0x00000001); return ((bitField0_ & 0x00000001) == 0x00000001);
} }
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code> * <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code>
*
* <pre>
* One of these should be present
* </pre>
*/ */
public org.jetbrains.kotlin.serialization.jvm.DebugJvmProtoBuf.JvmType.PrimitiveType getPrimitiveType() { public org.jetbrains.kotlin.serialization.jvm.DebugJvmProtoBuf.JvmType.PrimitiveType getPrimitiveType() {
return primitiveType_; return primitiveType_;
} }
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code> * <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code>
*
* <pre>
* One of these should be present
* </pre>
*/ */
public Builder setPrimitiveType(org.jetbrains.kotlin.serialization.jvm.DebugJvmProtoBuf.JvmType.PrimitiveType value) { public Builder setPrimitiveType(org.jetbrains.kotlin.serialization.jvm.DebugJvmProtoBuf.JvmType.PrimitiveType value) {
if (value == null) { if (value == null) {
@@ -675,10 +671,6 @@ public final class DebugJvmProtoBuf {
} }
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code> * <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code>
*
* <pre>
* One of these should be present
* </pre>
*/ */
public Builder clearPrimitiveType() { public Builder clearPrimitiveType() {
bitField0_ = (bitField0_ & ~0x00000001); bitField0_ = (bitField0_ & ~0x00000001);
@@ -691,18 +683,30 @@ public final class DebugJvmProtoBuf {
private int classFqName_ ; private int classFqName_ ;
/** /**
* <code>optional int32 class_fq_name = 2;</code> * <code>optional int32 class_fq_name = 2;</code>
*
* <pre>
* id in QualifiedNameTable of a name in the following format: 'package.Outer$Nested'
* </pre>
*/ */
public boolean hasClassFqName() { public boolean hasClassFqName() {
return ((bitField0_ & 0x00000002) == 0x00000002); return ((bitField0_ & 0x00000002) == 0x00000002);
} }
/** /**
* <code>optional int32 class_fq_name = 2;</code> * <code>optional int32 class_fq_name = 2;</code>
*
* <pre>
* id in QualifiedNameTable of a name in the following format: 'package.Outer$Nested'
* </pre>
*/ */
public int getClassFqName() { public int getClassFqName() {
return classFqName_; return classFqName_;
} }
/** /**
* <code>optional int32 class_fq_name = 2;</code> * <code>optional int32 class_fq_name = 2;</code>
*
* <pre>
* id in QualifiedNameTable of a name in the following format: 'package.Outer$Nested'
* </pre>
*/ */
public Builder setClassFqName(int value) { public Builder setClassFqName(int value) {
bitField0_ |= 0x00000002; bitField0_ |= 0x00000002;
@@ -712,6 +716,10 @@ public final class DebugJvmProtoBuf {
} }
/** /**
* <code>optional int32 class_fq_name = 2;</code> * <code>optional int32 class_fq_name = 2;</code>
*
* <pre>
* id in QualifiedNameTable of a name in the following format: 'package.Outer$Nested'
* </pre>
*/ */
public Builder clearClassFqName() { public Builder clearClassFqName() {
bitField0_ = (bitField0_ & ~0x00000002); bitField0_ = (bitField0_ & ~0x00000002);
@@ -3,28 +3,19 @@
package org.jetbrains.kotlin.serialization.js; package org.jetbrains.kotlin.serialization.js;
import com.google.protobuf.*;
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 JsProtoBuf { public final class JsProtoBuf {
private JsProtoBuf() {} private JsProtoBuf() {}
public static void registerAllExtensions( public static void registerAllExtensions(
ExtensionRegistryLite registry) { com.google.protobuf.ExtensionRegistryLite registry) {
} }
public interface LibraryOrBuilder public interface LibraryOrBuilder
extends MessageLiteOrBuilder { extends com.google.protobuf.MessageLiteOrBuilder {
// repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; // repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
/** /**
* <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code>
*/ */
List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry> java.util.List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry>
getEntryList(); getEntryList();
/** /**
* <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code>
@@ -43,10 +34,10 @@ public final class JsProtoBuf {
* </pre> * </pre>
*/ */
public static final class Library extends public static final class Library extends
GeneratedMessageLite com.google.protobuf.GeneratedMessageLite
implements LibraryOrBuilder { implements LibraryOrBuilder {
// Use Library.newBuilder() to construct. // Use Library.newBuilder() to construct.
private Library(GeneratedMessageLite.Builder builder) { private Library(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder); super(builder);
} }
@@ -62,9 +53,9 @@ public final class JsProtoBuf {
} }
private Library( private Library(
CodedInputStream input, com.google.protobuf.CodedInputStream input,
ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
initFields(); initFields();
int mutable_bitField0_ = 0; int mutable_bitField0_ = 0;
try { try {
@@ -84,7 +75,7 @@ public final class JsProtoBuf {
} }
case 10: { case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
entry_ = new ArrayList<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry>(); entry_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry>();
mutable_bitField0_ |= 0x00000001; mutable_bitField0_ |= 0x00000001;
} }
entry_.add(input.readMessage(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.PARSER, extensionRegistry)); entry_.add(input.readMessage(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.PARSER, extensionRegistry));
@@ -92,35 +83,35 @@ public final class JsProtoBuf {
} }
} }
} }
} catch (InvalidProtocolBufferException e) { } catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this); throw e.setUnfinishedMessage(this);
} catch (IOException e) { } catch (java.io.IOException e) {
throw new InvalidProtocolBufferException( throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this); e.getMessage()).setUnfinishedMessage(this);
} finally { } finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
entry_ = Collections.unmodifiableList(entry_); entry_ = java.util.Collections.unmodifiableList(entry_);
} }
makeExtensionsImmutable(); makeExtensionsImmutable();
} }
} }
public static Parser<Library> PARSER = public static com.google.protobuf.Parser<Library> PARSER =
new AbstractParser<Library>() { new com.google.protobuf.AbstractParser<Library>() {
public Library parsePartialFrom( public Library parsePartialFrom(
CodedInputStream input, com.google.protobuf.CodedInputStream input,
ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return new Library(input, extensionRegistry); return new Library(input, extensionRegistry);
} }
}; };
@Override @java.lang.Override
public Parser<Library> getParserForType() { public com.google.protobuf.Parser<Library> getParserForType() {
return PARSER; return PARSER;
} }
public interface FileEntryOrBuilder public interface FileEntryOrBuilder
extends MessageLiteOrBuilder { extends com.google.protobuf.MessageLiteOrBuilder {
// required string path = 1; // required string path = 1;
/** /**
@@ -130,11 +121,11 @@ public final class JsProtoBuf {
/** /**
* <code>required string path = 1;</code> * <code>required string path = 1;</code>
*/ */
String getPath(); java.lang.String getPath();
/** /**
* <code>required string path = 1;</code> * <code>required string path = 1;</code>
*/ */
ByteString com.google.protobuf.ByteString
getPathBytes(); getPathBytes();
// required bytes content = 2; // required bytes content = 2;
@@ -145,16 +136,16 @@ public final class JsProtoBuf {
/** /**
* <code>required bytes content = 2;</code> * <code>required bytes content = 2;</code>
*/ */
ByteString getContent(); com.google.protobuf.ByteString getContent();
} }
/** /**
* Protobuf type {@code org.jetbrains.kotlin.serialization.js.Library.FileEntry} * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Library.FileEntry}
*/ */
public static final class FileEntry extends public static final class FileEntry extends
GeneratedMessageLite com.google.protobuf.GeneratedMessageLite
implements FileEntryOrBuilder { implements FileEntryOrBuilder {
// Use FileEntry.newBuilder() to construct. // Use FileEntry.newBuilder() to construct.
private FileEntry(GeneratedMessageLite.Builder builder) { private FileEntry(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder); super(builder);
} }
@@ -170,9 +161,9 @@ public final class JsProtoBuf {
} }
private FileEntry( private FileEntry(
CodedInputStream input, com.google.protobuf.CodedInputStream input,
ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
initFields(); initFields();
int mutable_bitField0_ = 0; int mutable_bitField0_ = 0;
try { try {
@@ -202,34 +193,34 @@ public final class JsProtoBuf {
} }
} }
} }
} catch (InvalidProtocolBufferException e) { } catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this); throw e.setUnfinishedMessage(this);
} catch (IOException e) { } catch (java.io.IOException e) {
throw new InvalidProtocolBufferException( throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this); e.getMessage()).setUnfinishedMessage(this);
} finally { } finally {
makeExtensionsImmutable(); makeExtensionsImmutable();
} }
} }
public static Parser<FileEntry> PARSER = public static com.google.protobuf.Parser<FileEntry> PARSER =
new AbstractParser<FileEntry>() { new com.google.protobuf.AbstractParser<FileEntry>() {
public FileEntry parsePartialFrom( public FileEntry parsePartialFrom(
CodedInputStream input, com.google.protobuf.CodedInputStream input,
ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return new FileEntry(input, extensionRegistry); return new FileEntry(input, extensionRegistry);
} }
}; };
@Override @java.lang.Override
public Parser<FileEntry> getParserForType() { public com.google.protobuf.Parser<FileEntry> getParserForType() {
return PARSER; return PARSER;
} }
private int bitField0_; private int bitField0_;
// required string path = 1; // required string path = 1;
public static final int PATH_FIELD_NUMBER = 1; public static final int PATH_FIELD_NUMBER = 1;
private Object path_; private java.lang.Object path_;
/** /**
* <code>required string path = 1;</code> * <code>required string path = 1;</code>
*/ */
@@ -239,14 +230,14 @@ public final class JsProtoBuf {
/** /**
* <code>required string path = 1;</code> * <code>required string path = 1;</code>
*/ */
public String getPath() { public java.lang.String getPath() {
Object ref = path_; java.lang.Object ref = path_;
if (ref instanceof String) { if (ref instanceof java.lang.String) {
return (String) ref; return (java.lang.String) ref;
} else { } else {
ByteString bs = com.google.protobuf.ByteString bs =
(ByteString) ref; (com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8(); java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) { if (bs.isValidUtf8()) {
path_ = s; path_ = s;
} }
@@ -256,23 +247,23 @@ public final class JsProtoBuf {
/** /**
* <code>required string path = 1;</code> * <code>required string path = 1;</code>
*/ */
public ByteString public com.google.protobuf.ByteString
getPathBytes() { getPathBytes() {
Object ref = path_; java.lang.Object ref = path_;
if (ref instanceof String) { if (ref instanceof java.lang.String) {
ByteString b = com.google.protobuf.ByteString b =
ByteString.copyFromUtf8( com.google.protobuf.ByteString.copyFromUtf8(
(String) ref); (java.lang.String) ref);
path_ = b; path_ = b;
return b; return b;
} else { } else {
return (ByteString) ref; return (com.google.protobuf.ByteString) ref;
} }
} }
// required bytes content = 2; // required bytes content = 2;
public static final int CONTENT_FIELD_NUMBER = 2; public static final int CONTENT_FIELD_NUMBER = 2;
private ByteString content_; private com.google.protobuf.ByteString content_;
/** /**
* <code>required bytes content = 2;</code> * <code>required bytes content = 2;</code>
*/ */
@@ -282,13 +273,13 @@ public final class JsProtoBuf {
/** /**
* <code>required bytes content = 2;</code> * <code>required bytes content = 2;</code>
*/ */
public ByteString getContent() { public com.google.protobuf.ByteString getContent() {
return content_; return content_;
} }
private void initFields() { private void initFields() {
path_ = ""; path_ = "";
content_ = ByteString.EMPTY; content_ = com.google.protobuf.ByteString.EMPTY;
} }
private byte memoizedIsInitialized = -1; private byte memoizedIsInitialized = -1;
public final boolean isInitialized() { public final boolean isInitialized() {
@@ -307,8 +298,8 @@ public final class JsProtoBuf {
return true; return true;
} }
public void writeTo(CodedOutputStream output) public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException { throws java.io.IOException {
getSerializedSize(); getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) { if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getPathBytes()); output.writeBytes(1, getPathBytes());
@@ -325,11 +316,11 @@ public final class JsProtoBuf {
size = 0; size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) { if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += CodedOutputStream size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getPathBytes()); .computeBytesSize(1, getPathBytes());
} }
if (((bitField0_ & 0x00000002) == 0x00000002)) { if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += CodedOutputStream size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, content_); .computeBytesSize(2, content_);
} }
memoizedSerializedSize = size; memoizedSerializedSize = size;
@@ -337,62 +328,62 @@ public final class JsProtoBuf {
} }
private static final long serialVersionUID = 0L; private static final long serialVersionUID = 0L;
@Override @java.lang.Override
protected Object writeReplace() protected java.lang.Object writeReplace()
throws ObjectStreamException { throws java.io.ObjectStreamException {
return super.writeReplace(); return super.writeReplace();
} }
public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom( public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom(
ByteString data) com.google.protobuf.ByteString data)
throws InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data); return PARSER.parseFrom(data);
} }
public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom( public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom(
ByteString data, com.google.protobuf.ByteString data,
ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry); return PARSER.parseFrom(data, extensionRegistry);
} }
public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom(byte[] data) public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom(byte[] data)
throws InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data); return PARSER.parseFrom(data);
} }
public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom( public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom(
byte[] data, byte[] data,
ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry); return PARSER.parseFrom(data, extensionRegistry);
} }
public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom(InputStream input) public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom(java.io.InputStream input)
throws IOException { throws java.io.IOException {
return PARSER.parseFrom(input); return PARSER.parseFrom(input);
} }
public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom( public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom(
InputStream input, java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException { throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry); return PARSER.parseFrom(input, extensionRegistry);
} }
public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseDelimitedFrom(InputStream input) public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseDelimitedFrom(java.io.InputStream input)
throws IOException { throws java.io.IOException {
return PARSER.parseDelimitedFrom(input); return PARSER.parseDelimitedFrom(input);
} }
public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseDelimitedFrom( public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseDelimitedFrom(
InputStream input, java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException { throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry); return PARSER.parseDelimitedFrom(input, extensionRegistry);
} }
public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom( public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom(
CodedInputStream input) com.google.protobuf.CodedInputStream input)
throws IOException { throws java.io.IOException {
return PARSER.parseFrom(input); return PARSER.parseFrom(input);
} }
public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom( public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parseFrom(
CodedInputStream input, com.google.protobuf.CodedInputStream input,
ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException { throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry); return PARSER.parseFrom(input, extensionRegistry);
} }
@@ -407,7 +398,7 @@ public final class JsProtoBuf {
* Protobuf type {@code org.jetbrains.kotlin.serialization.js.Library.FileEntry} * Protobuf type {@code org.jetbrains.kotlin.serialization.js.Library.FileEntry}
*/ */
public static final class Builder extends public static final class Builder extends
GeneratedMessageLite.Builder< com.google.protobuf.GeneratedMessageLite.Builder<
org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry, Builder> org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry, Builder>
implements org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntryOrBuilder { implements org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntryOrBuilder {
// Construct using org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.newBuilder() // Construct using org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.newBuilder()
@@ -425,7 +416,7 @@ public final class JsProtoBuf {
super.clear(); super.clear();
path_ = ""; path_ = "";
bitField0_ = (bitField0_ & ~0x00000001); bitField0_ = (bitField0_ & ~0x00000001);
content_ = ByteString.EMPTY; content_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002); bitField0_ = (bitField0_ & ~0x00000002);
return this; return this;
} }
@@ -435,7 +426,7 @@ public final class JsProtoBuf {
} }
public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry getDefaultInstanceForType() { public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry getDefaultInstanceForType() {
return getDefaultInstance(); return org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.getDefaultInstance();
} }
public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry build() { public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry build() {
@@ -463,7 +454,7 @@ public final class JsProtoBuf {
} }
public Builder mergeFrom(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry other) { public Builder mergeFrom(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry other) {
if (other == getDefaultInstance()) return this; if (other == org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry.getDefaultInstance()) return this;
if (other.hasPath()) { if (other.hasPath()) {
bitField0_ |= 0x00000001; bitField0_ |= 0x00000001;
path_ = other.path_; path_ = other.path_;
@@ -488,13 +479,13 @@ public final class JsProtoBuf {
} }
public Builder mergeFrom( public Builder mergeFrom(
CodedInputStream input, com.google.protobuf.CodedInputStream input,
ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException { throws java.io.IOException {
org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parsedMessage = null; org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry parsedMessage = null;
try { try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (InvalidProtocolBufferException e) { } catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry) e.getUnfinishedMessage(); parsedMessage = (org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry) e.getUnfinishedMessage();
throw e; throw e;
} finally { } finally {
@@ -507,7 +498,7 @@ public final class JsProtoBuf {
private int bitField0_; private int bitField0_;
// required string path = 1; // required string path = 1;
private Object path_ = ""; private java.lang.Object path_ = "";
/** /**
* <code>required string path = 1;</code> * <code>required string path = 1;</code>
*/ */
@@ -517,38 +508,38 @@ public final class JsProtoBuf {
/** /**
* <code>required string path = 1;</code> * <code>required string path = 1;</code>
*/ */
public String getPath() { public java.lang.String getPath() {
Object ref = path_; java.lang.Object ref = path_;
if (!(ref instanceof String)) { if (!(ref instanceof java.lang.String)) {
String s = ((ByteString) ref) java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8(); .toStringUtf8();
path_ = s; path_ = s;
return s; return s;
} else { } else {
return (String) ref; return (java.lang.String) ref;
} }
} }
/** /**
* <code>required string path = 1;</code> * <code>required string path = 1;</code>
*/ */
public ByteString public com.google.protobuf.ByteString
getPathBytes() { getPathBytes() {
Object ref = path_; java.lang.Object ref = path_;
if (ref instanceof String) { if (ref instanceof String) {
ByteString b = com.google.protobuf.ByteString b =
ByteString.copyFromUtf8( com.google.protobuf.ByteString.copyFromUtf8(
(String) ref); (java.lang.String) ref);
path_ = b; path_ = b;
return b; return b;
} else { } else {
return (ByteString) ref; return (com.google.protobuf.ByteString) ref;
} }
} }
/** /**
* <code>required string path = 1;</code> * <code>required string path = 1;</code>
*/ */
public Builder setPath( public Builder setPath(
String value) { java.lang.String value) {
if (value == null) { if (value == null) {
throw new NullPointerException(); throw new NullPointerException();
} }
@@ -570,7 +561,7 @@ public final class JsProtoBuf {
* <code>required string path = 1;</code> * <code>required string path = 1;</code>
*/ */
public Builder setPathBytes( public Builder setPathBytes(
ByteString value) { com.google.protobuf.ByteString value) {
if (value == null) { if (value == null) {
throw new NullPointerException(); throw new NullPointerException();
} }
@@ -581,7 +572,7 @@ public final class JsProtoBuf {
} }
// required bytes content = 2; // required bytes content = 2;
private ByteString content_ = ByteString.EMPTY; private com.google.protobuf.ByteString content_ = com.google.protobuf.ByteString.EMPTY;
/** /**
* <code>required bytes content = 2;</code> * <code>required bytes content = 2;</code>
*/ */
@@ -591,13 +582,13 @@ public final class JsProtoBuf {
/** /**
* <code>required bytes content = 2;</code> * <code>required bytes content = 2;</code>
*/ */
public ByteString getContent() { public com.google.protobuf.ByteString getContent() {
return content_; return content_;
} }
/** /**
* <code>required bytes content = 2;</code> * <code>required bytes content = 2;</code>
*/ */
public Builder setContent(ByteString value) { public Builder setContent(com.google.protobuf.ByteString value) {
if (value == null) { if (value == null) {
throw new NullPointerException(); throw new NullPointerException();
} }
@@ -629,17 +620,17 @@ public final class JsProtoBuf {
// repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; // repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
public static final int ENTRY_FIELD_NUMBER = 1; public static final int ENTRY_FIELD_NUMBER = 1;
private List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry> entry_; private java.util.List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry> entry_;
/** /**
* <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code>
*/ */
public List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry> getEntryList() { public java.util.List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry> getEntryList() {
return entry_; return entry_;
} }
/** /**
* <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code>
*/ */
public List<? extends org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntryOrBuilder> public java.util.List<? extends org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntryOrBuilder>
getEntryOrBuilderList() { getEntryOrBuilderList() {
return entry_; return entry_;
} }
@@ -664,7 +655,7 @@ public final class JsProtoBuf {
} }
private void initFields() { private void initFields() {
entry_ = Collections.emptyList(); entry_ = java.util.Collections.emptyList();
} }
private byte memoizedIsInitialized = -1; private byte memoizedIsInitialized = -1;
public final boolean isInitialized() { public final boolean isInitialized() {
@@ -681,8 +672,8 @@ public final class JsProtoBuf {
return true; return true;
} }
public void writeTo(CodedOutputStream output) public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException { throws java.io.IOException {
getSerializedSize(); getSerializedSize();
for (int i = 0; i < entry_.size(); i++) { for (int i = 0; i < entry_.size(); i++) {
output.writeMessage(1, entry_.get(i)); output.writeMessage(1, entry_.get(i));
@@ -696,7 +687,7 @@ public final class JsProtoBuf {
size = 0; size = 0;
for (int i = 0; i < entry_.size(); i++) { for (int i = 0; i < entry_.size(); i++) {
size += CodedOutputStream size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, entry_.get(i)); .computeMessageSize(1, entry_.get(i));
} }
memoizedSerializedSize = size; memoizedSerializedSize = size;
@@ -704,62 +695,62 @@ public final class JsProtoBuf {
} }
private static final long serialVersionUID = 0L; private static final long serialVersionUID = 0L;
@Override @java.lang.Override
protected Object writeReplace() protected java.lang.Object writeReplace()
throws ObjectStreamException { throws java.io.ObjectStreamException {
return super.writeReplace(); return super.writeReplace();
} }
public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom( public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(
ByteString data) com.google.protobuf.ByteString data)
throws InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data); return PARSER.parseFrom(data);
} }
public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom( public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(
ByteString data, com.google.protobuf.ByteString data,
ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry); return PARSER.parseFrom(data, extensionRegistry);
} }
public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(byte[] data) public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(byte[] data)
throws InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data); return PARSER.parseFrom(data);
} }
public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom( public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(
byte[] data, byte[] data,
ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry); return PARSER.parseFrom(data, extensionRegistry);
} }
public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(InputStream input) public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(java.io.InputStream input)
throws IOException { throws java.io.IOException {
return PARSER.parseFrom(input); return PARSER.parseFrom(input);
} }
public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom( public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(
InputStream input, java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException { throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry); return PARSER.parseFrom(input, extensionRegistry);
} }
public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseDelimitedFrom(InputStream input) public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseDelimitedFrom(java.io.InputStream input)
throws IOException { throws java.io.IOException {
return PARSER.parseDelimitedFrom(input); return PARSER.parseDelimitedFrom(input);
} }
public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseDelimitedFrom( public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseDelimitedFrom(
InputStream input, java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException { throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry); return PARSER.parseDelimitedFrom(input, extensionRegistry);
} }
public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom( public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(
CodedInputStream input) com.google.protobuf.CodedInputStream input)
throws IOException { throws java.io.IOException {
return PARSER.parseFrom(input); return PARSER.parseFrom(input);
} }
public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom( public static org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parseFrom(
CodedInputStream input, com.google.protobuf.CodedInputStream input,
ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException { throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry); return PARSER.parseFrom(input, extensionRegistry);
} }
@@ -778,7 +769,7 @@ public final class JsProtoBuf {
* </pre> * </pre>
*/ */
public static final class Builder extends public static final class Builder extends
GeneratedMessageLite.Builder< com.google.protobuf.GeneratedMessageLite.Builder<
org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library, Builder> org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library, Builder>
implements org.jetbrains.kotlin.serialization.js.JsProtoBuf.LibraryOrBuilder { implements org.jetbrains.kotlin.serialization.js.JsProtoBuf.LibraryOrBuilder {
// Construct using org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.newBuilder() // Construct using org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.newBuilder()
@@ -794,7 +785,7 @@ public final class JsProtoBuf {
public Builder clear() { public Builder clear() {
super.clear(); super.clear();
entry_ = Collections.emptyList(); entry_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001); bitField0_ = (bitField0_ & ~0x00000001);
return this; return this;
} }
@@ -804,7 +795,7 @@ public final class JsProtoBuf {
} }
public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library getDefaultInstanceForType() { public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library getDefaultInstanceForType() {
return getDefaultInstance(); return org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.getDefaultInstance();
} }
public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library build() { public org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library build() {
@@ -819,7 +810,7 @@ public final class JsProtoBuf {
org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library result = new org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library(this); org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library result = new org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library(this);
int from_bitField0_ = bitField0_; int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) == 0x00000001)) { if (((bitField0_ & 0x00000001) == 0x00000001)) {
entry_ = Collections.unmodifiableList(entry_); entry_ = java.util.Collections.unmodifiableList(entry_);
bitField0_ = (bitField0_ & ~0x00000001); bitField0_ = (bitField0_ & ~0x00000001);
} }
result.entry_ = entry_; result.entry_ = entry_;
@@ -827,7 +818,7 @@ public final class JsProtoBuf {
} }
public Builder mergeFrom(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library other) { public Builder mergeFrom(org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library other) {
if (other == getDefaultInstance()) return this; if (other == org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.getDefaultInstance()) return this;
if (!other.entry_.isEmpty()) { if (!other.entry_.isEmpty()) {
if (entry_.isEmpty()) { if (entry_.isEmpty()) {
entry_ = other.entry_; entry_ = other.entry_;
@@ -852,13 +843,13 @@ public final class JsProtoBuf {
} }
public Builder mergeFrom( public Builder mergeFrom(
CodedInputStream input, com.google.protobuf.CodedInputStream input,
ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException { throws java.io.IOException {
org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parsedMessage = null; org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library parsedMessage = null;
try { try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (InvalidProtocolBufferException e) { } catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library) e.getUnfinishedMessage(); parsedMessage = (org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library) e.getUnfinishedMessage();
throw e; throw e;
} finally { } finally {
@@ -871,11 +862,11 @@ public final class JsProtoBuf {
private int bitField0_; private int bitField0_;
// repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1; // repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;
private List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry> entry_ = private java.util.List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry> entry_ =
Collections.emptyList(); java.util.Collections.emptyList();
private void ensureEntryIsMutable() { private void ensureEntryIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) { if (!((bitField0_ & 0x00000001) == 0x00000001)) {
entry_ = new ArrayList<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry>(entry_); entry_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry>(entry_);
bitField0_ |= 0x00000001; bitField0_ |= 0x00000001;
} }
} }
@@ -883,8 +874,8 @@ public final class JsProtoBuf {
/** /**
* <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code>
*/ */
public List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry> getEntryList() { public java.util.List<org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry> getEntryList() {
return Collections.unmodifiableList(entry_); return java.util.Collections.unmodifiableList(entry_);
} }
/** /**
* <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code>
@@ -970,9 +961,9 @@ public final class JsProtoBuf {
* <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code>
*/ */
public Builder addAllEntry( public Builder addAllEntry(
Iterable<? extends org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry> values) { java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.js.JsProtoBuf.Library.FileEntry> values) {
ensureEntryIsMutable(); ensureEntryIsMutable();
addAll(values, entry_); super.addAll(values, entry_);
return this; return this;
} }
@@ -980,7 +971,7 @@ public final class JsProtoBuf {
* <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code> * <code>repeated .org.jetbrains.kotlin.serialization.js.Library.FileEntry entry = 1;</code>
*/ */
public Builder clearEntry() { public Builder clearEntry() {
entry_ = Collections.emptyList(); entry_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001); bitField0_ = (bitField0_ & ~0x00000001);
return this; return this;
@@ -22,6 +22,8 @@ option java_outer_classname = "JvmProtoBuf";
option optimize_for = LITE_RUNTIME; option optimize_for = LITE_RUNTIME;
message JvmType { message JvmType {
// Either a primitive type, or a class FQ name should be present
enum PrimitiveType { enum PrimitiveType {
// These values correspond to ASM Type sorts // These values correspond to ASM Type sorts
VOID = 0; VOID = 0;
@@ -35,8 +37,9 @@ message JvmType {
DOUBLE = 8; DOUBLE = 8;
} }
// One of these should be present
optional PrimitiveType primitive_type = 1; optional PrimitiveType primitive_type = 1;
// id in QualifiedNameTable of a name in the following format: 'package.Outer$Nested'
optional int32 class_fq_name = 2; optional int32 class_fq_name = 2;
optional int32 array_dimension = 3 [default = 0]; optional int32 array_dimension = 3 [default = 0];
@@ -18,28 +18,28 @@ public final class JvmProtoBuf {
// optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1; // optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code> * <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code>
*
* <pre>
* One of these should be present
* </pre>
*/ */
boolean hasPrimitiveType(); boolean hasPrimitiveType();
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code> * <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code>
*
* <pre>
* One of these should be present
* </pre>
*/ */
org.jetbrains.kotlin.serialization.jvm.JvmProtoBuf.JvmType.PrimitiveType getPrimitiveType(); org.jetbrains.kotlin.serialization.jvm.JvmProtoBuf.JvmType.PrimitiveType getPrimitiveType();
// optional int32 class_fq_name = 2; // optional int32 class_fq_name = 2;
/** /**
* <code>optional int32 class_fq_name = 2;</code> * <code>optional int32 class_fq_name = 2;</code>
*
* <pre>
* id in QualifiedNameTable of a name in the following format: 'package.Outer$Nested'
* </pre>
*/ */
boolean hasClassFqName(); boolean hasClassFqName();
/** /**
* <code>optional int32 class_fq_name = 2;</code> * <code>optional int32 class_fq_name = 2;</code>
*
* <pre>
* id in QualifiedNameTable of a name in the following format: 'package.Outer$Nested'
* </pre>
*/ */
int getClassFqName(); int getClassFqName();
@@ -55,6 +55,10 @@ public final class JvmProtoBuf {
} }
/** /**
* Protobuf type {@code org.jetbrains.kotlin.serialization.jvm.JvmType} * Protobuf type {@code org.jetbrains.kotlin.serialization.jvm.JvmType}
*
* <pre>
* Either a primitive type, or a class FQ name should be present
* </pre>
*/ */
public static final class JvmType extends public static final class JvmType extends
com.google.protobuf.GeneratedMessageLite com.google.protobuf.GeneratedMessageLite
@@ -274,20 +278,12 @@ public final class JvmProtoBuf {
private org.jetbrains.kotlin.serialization.jvm.JvmProtoBuf.JvmType.PrimitiveType primitiveType_; private org.jetbrains.kotlin.serialization.jvm.JvmProtoBuf.JvmType.PrimitiveType primitiveType_;
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code> * <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code>
*
* <pre>
* One of these should be present
* </pre>
*/ */
public boolean hasPrimitiveType() { public boolean hasPrimitiveType() {
return ((bitField0_ & 0x00000001) == 0x00000001); return ((bitField0_ & 0x00000001) == 0x00000001);
} }
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code> * <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code>
*
* <pre>
* One of these should be present
* </pre>
*/ */
public org.jetbrains.kotlin.serialization.jvm.JvmProtoBuf.JvmType.PrimitiveType getPrimitiveType() { public org.jetbrains.kotlin.serialization.jvm.JvmProtoBuf.JvmType.PrimitiveType getPrimitiveType() {
return primitiveType_; return primitiveType_;
@@ -298,12 +294,20 @@ public final class JvmProtoBuf {
private int classFqName_; private int classFqName_;
/** /**
* <code>optional int32 class_fq_name = 2;</code> * <code>optional int32 class_fq_name = 2;</code>
*
* <pre>
* id in QualifiedNameTable of a name in the following format: 'package.Outer$Nested'
* </pre>
*/ */
public boolean hasClassFqName() { public boolean hasClassFqName() {
return ((bitField0_ & 0x00000002) == 0x00000002); return ((bitField0_ & 0x00000002) == 0x00000002);
} }
/** /**
* <code>optional int32 class_fq_name = 2;</code> * <code>optional int32 class_fq_name = 2;</code>
*
* <pre>
* id in QualifiedNameTable of a name in the following format: 'package.Outer$Nested'
* </pre>
*/ */
public int getClassFqName() { public int getClassFqName() {
return classFqName_; return classFqName_;
@@ -444,6 +448,10 @@ public final class JvmProtoBuf {
/** /**
* Protobuf type {@code org.jetbrains.kotlin.serialization.jvm.JvmType} * Protobuf type {@code org.jetbrains.kotlin.serialization.jvm.JvmType}
*
* <pre>
* Either a primitive type, or a class FQ name should be present
* </pre>
*/ */
public static final class Builder extends public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder< com.google.protobuf.GeneratedMessageLite.Builder<
@@ -548,30 +556,18 @@ public final class JvmProtoBuf {
private org.jetbrains.kotlin.serialization.jvm.JvmProtoBuf.JvmType.PrimitiveType primitiveType_ = org.jetbrains.kotlin.serialization.jvm.JvmProtoBuf.JvmType.PrimitiveType.VOID; private org.jetbrains.kotlin.serialization.jvm.JvmProtoBuf.JvmType.PrimitiveType primitiveType_ = org.jetbrains.kotlin.serialization.jvm.JvmProtoBuf.JvmType.PrimitiveType.VOID;
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code> * <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code>
*
* <pre>
* One of these should be present
* </pre>
*/ */
public boolean hasPrimitiveType() { public boolean hasPrimitiveType() {
return ((bitField0_ & 0x00000001) == 0x00000001); return ((bitField0_ & 0x00000001) == 0x00000001);
} }
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code> * <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code>
*
* <pre>
* One of these should be present
* </pre>
*/ */
public org.jetbrains.kotlin.serialization.jvm.JvmProtoBuf.JvmType.PrimitiveType getPrimitiveType() { public org.jetbrains.kotlin.serialization.jvm.JvmProtoBuf.JvmType.PrimitiveType getPrimitiveType() {
return primitiveType_; return primitiveType_;
} }
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code> * <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code>
*
* <pre>
* One of these should be present
* </pre>
*/ */
public Builder setPrimitiveType(org.jetbrains.kotlin.serialization.jvm.JvmProtoBuf.JvmType.PrimitiveType value) { public Builder setPrimitiveType(org.jetbrains.kotlin.serialization.jvm.JvmProtoBuf.JvmType.PrimitiveType value) {
if (value == null) { if (value == null) {
@@ -584,10 +580,6 @@ public final class JvmProtoBuf {
} }
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code> * <code>optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;</code>
*
* <pre>
* One of these should be present
* </pre>
*/ */
public Builder clearPrimitiveType() { public Builder clearPrimitiveType() {
bitField0_ = (bitField0_ & ~0x00000001); bitField0_ = (bitField0_ & ~0x00000001);
@@ -600,18 +592,30 @@ public final class JvmProtoBuf {
private int classFqName_ ; private int classFqName_ ;
/** /**
* <code>optional int32 class_fq_name = 2;</code> * <code>optional int32 class_fq_name = 2;</code>
*
* <pre>
* id in QualifiedNameTable of a name in the following format: 'package.Outer$Nested'
* </pre>
*/ */
public boolean hasClassFqName() { public boolean hasClassFqName() {
return ((bitField0_ & 0x00000002) == 0x00000002); return ((bitField0_ & 0x00000002) == 0x00000002);
} }
/** /**
* <code>optional int32 class_fq_name = 2;</code> * <code>optional int32 class_fq_name = 2;</code>
*
* <pre>
* id in QualifiedNameTable of a name in the following format: 'package.Outer$Nested'
* </pre>
*/ */
public int getClassFqName() { public int getClassFqName() {
return classFqName_; return classFqName_;
} }
/** /**
* <code>optional int32 class_fq_name = 2;</code> * <code>optional int32 class_fq_name = 2;</code>
*
* <pre>
* id in QualifiedNameTable of a name in the following format: 'package.Outer$Nested'
* </pre>
*/ */
public Builder setClassFqName(int value) { public Builder setClassFqName(int value) {
bitField0_ |= 0x00000002; bitField0_ |= 0x00000002;
@@ -621,6 +625,10 @@ public final class JvmProtoBuf {
} }
/** /**
* <code>optional int32 class_fq_name = 2;</code> * <code>optional int32 class_fq_name = 2;</code>
*
* <pre>
* id in QualifiedNameTable of a name in the following format: 'package.Outer$Nested'
* </pre>
*/ */
public Builder clearClassFqName() { public Builder clearClassFqName() {
bitField0_ = (bitField0_ & ~0x00000002); bitField0_ = (bitField0_ & ~0x00000002);
@@ -5007,10 +5007,18 @@ public final class ProtoBuf {
// optional .org.jetbrains.kotlin.serialization.Type type = 2; // optional .org.jetbrains.kotlin.serialization.Type type = 2;
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code>
*
* <pre>
* when projection is STAR, no type is written, otherwise type must be specified
* </pre>
*/ */
boolean hasType(); boolean hasType();
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code>
*
* <pre>
* when projection is STAR, no type is written, otherwise type must be specified
* </pre>
*/ */
org.jetbrains.kotlin.serialization.ProtoBuf.Type getType(); org.jetbrains.kotlin.serialization.ProtoBuf.Type getType();
} }
@@ -5201,12 +5209,20 @@ public final class ProtoBuf {
private org.jetbrains.kotlin.serialization.ProtoBuf.Type type_; private org.jetbrains.kotlin.serialization.ProtoBuf.Type type_;
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code>
*
* <pre>
* when projection is STAR, no type is written, otherwise type must be specified
* </pre>
*/ */
public boolean hasType() { public boolean hasType() {
return ((bitField0_ & 0x00000002) == 0x00000002); return ((bitField0_ & 0x00000002) == 0x00000002);
} }
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code>
*
* <pre>
* when projection is STAR, no type is written, otherwise type must be specified
* </pre>
*/ */
public org.jetbrains.kotlin.serialization.ProtoBuf.Type getType() { public org.jetbrains.kotlin.serialization.ProtoBuf.Type getType() {
return type_; return type_;
@@ -5466,18 +5482,30 @@ public final class ProtoBuf {
private org.jetbrains.kotlin.serialization.ProtoBuf.Type type_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); private org.jetbrains.kotlin.serialization.ProtoBuf.Type type_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance();
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code>
*
* <pre>
* when projection is STAR, no type is written, otherwise type must be specified
* </pre>
*/ */
public boolean hasType() { public boolean hasType() {
return ((bitField0_ & 0x00000002) == 0x00000002); return ((bitField0_ & 0x00000002) == 0x00000002);
} }
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code>
*
* <pre>
* when projection is STAR, no type is written, otherwise type must be specified
* </pre>
*/ */
public org.jetbrains.kotlin.serialization.ProtoBuf.Type getType() { public org.jetbrains.kotlin.serialization.ProtoBuf.Type getType() {
return type_; return type_;
} }
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code>
*
* <pre>
* when projection is STAR, no type is written, otherwise type must be specified
* </pre>
*/ */
public Builder setType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { public Builder setType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) {
if (value == null) { if (value == null) {
@@ -5490,6 +5518,10 @@ public final class ProtoBuf {
} }
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code>
*
* <pre>
* when projection is STAR, no type is written, otherwise type must be specified
* </pre>
*/ */
public Builder setType( public Builder setType(
org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) { org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) {
@@ -5500,6 +5532,10 @@ public final class ProtoBuf {
} }
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code>
*
* <pre>
* when projection is STAR, no type is written, otherwise type must be specified
* </pre>
*/ */
public Builder mergeType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { public Builder mergeType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) {
if (((bitField0_ & 0x00000002) == 0x00000002) && if (((bitField0_ & 0x00000002) == 0x00000002) &&
@@ -5515,6 +5551,10 @@ public final class ProtoBuf {
} }
/** /**
* <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code>
*
* <pre>
* when projection is STAR, no type is written, otherwise type must be specified
* </pre>
*/ */
public Builder clearType() { public Builder clearType() {
type_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); type_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance();