// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: js/js.serializer/src/js.proto
package org.jetbrains.kotlin.metadata.js;
public final class
JsProtoBuf {
private
JsProtoBuf() {}
public static void
registerAllExtensions(
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite registry) {
registry.
add(org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
packageFqName);
registry.
add(org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
classAnnotation);
registry.
add(org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
classContainingFileId);
registry.
add(org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
constructorAnnotation);
registry.
add(org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
functionAnnotation);
registry.
add(org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
functionContainingFileId);
registry.
add(org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
propertyAnnotation);
registry.
add(org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
compileTimeValue);
registry.
add(org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
propertyContainingFileId);
registry.
add(org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
enumEntryAnnotation);
registry.
add(org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
parameterAnnotation);
registry.
add(org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
typeAnnotation);
registry.
add(org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
typeParameterAnnotation);
registry.
add(org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
packageFragmentFiles);
}
public interface
HeaderOrBuilder extends
// @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.metadata.js.Header)
org.jetbrains.kotlin.protobuf.
MessageLiteOrBuilder {
/**
* <code>optional int32 flags = 1;</code>
*
* <pre>
*preRelease
* </pre>
*/
boolean
hasFlags();
/**
* <code>optional int32 flags = 1;</code>
*
* <pre>
*preRelease
* </pre>
*/
int
getFlags();
/**
* <code>optional int32 js_code_binary_version = 2 [default = 1];</code>
*
* <pre>
* (patch << 16) + (minor << 8) + major
* </pre>
*/
boolean
hasJsCodeBinaryVersion();
/**
* <code>optional int32 js_code_binary_version = 2 [default = 1];</code>
*
* <pre>
* (patch << 16) + (minor << 8) + major
* </pre>
*/
int
getJsCodeBinaryVersion();
/**
* <code>optional string package_fq_name = 3;</code>
*/
boolean
hasPackageFqName();
/**
* <code>optional string package_fq_name = 3;</code>
*/
java.lang.
String getPackageFqName();
/**
* <code>optional string package_fq_name = 3;</code>
*/
org.jetbrains.kotlin.protobuf.
ByteString
getPackageFqNameBytes();
/**
* <code>optional .org.jetbrains.kotlin.metadata.StringTable strings = 4;</code>
*/
boolean
hasStrings();
/**
* <code>optional .org.jetbrains.kotlin.metadata.StringTable strings = 4;</code>
*/
org.jetbrains.kotlin.metadata.
ProtoBuf.
StringTable getStrings();
/**
* <code>optional .org.jetbrains.kotlin.metadata.QualifiedNameTable qualified_names = 5;</code>
*/
boolean
hasQualifiedNames();
/**
* <code>optional .org.jetbrains.kotlin.metadata.QualifiedNameTable qualified_names = 5;</code>
*/
org.jetbrains.kotlin.metadata.
ProtoBuf.
QualifiedNameTable getQualifiedNames();
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6;</code>
*
* <pre>
* Annotations on the whole module
* </pre>
*/
java.util.
List<org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation>
getAnnotationList();
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6;</code>
*
* <pre>
* Annotations on the whole module
* </pre>
*/
org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation getAnnotation(int
index);
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6;</code>
*
* <pre>
* Annotations on the whole module
* </pre>
*/
int
getAnnotationCount();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.js.Header}
*/
public static final class
Header extends
org.jetbrains.kotlin.protobuf.
GeneratedMessageLite implements
// @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.metadata.js.Header)
HeaderOrBuilder {
// Use Header.newBuilder() to construct.
private
Header(org.jetbrains.kotlin.protobuf.
GeneratedMessageLite.
Builder builder) {
super(
builder);
this.
unknownFields =
builder.
getUnknownFields();
}
private
Header(boolean
noInit) { this.
unknownFields = org.jetbrains.kotlin.protobuf.
ByteString.
EMPTY;}
private static final
Header defaultInstance;
public static
Header getDefaultInstance() {
return
defaultInstance;
}
public
Header getDefaultInstanceForType() {
return
defaultInstance;
}
private final org.jetbrains.kotlin.protobuf.
ByteString unknownFields;
private
Header(
org.jetbrains.kotlin.protobuf.
CodedInputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
initFields();
int
mutable_bitField0_ = 0;
org.jetbrains.kotlin.protobuf.
ByteString.
Output unknownFieldsOutput =
org.jetbrains.kotlin.protobuf.
ByteString.
newOutput();
org.jetbrains.kotlin.protobuf.
CodedOutputStream unknownFieldsCodedOutput =
org.jetbrains.kotlin.protobuf.
CodedOutputStream.
newInstance(
unknownFieldsOutput, 1);
try {
boolean
done = false;
while (!
done) {
int
tag =
input.
readTag();
switch (
tag) {
case 0:
done = true;
break;
default: {
if (!
parseUnknownField(
input,
unknownFieldsCodedOutput,
extensionRegistry,
tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
flags_ =
input.
readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
jsCodeBinaryVersion_ =
input.
readInt32();
break;
}
case 26: {
org.jetbrains.kotlin.protobuf.
ByteString bs =
input.
readBytes();
bitField0_ |= 0x00000004;
packageFqName_ =
bs;
break;
}
case 34: {
org.jetbrains.kotlin.metadata.
ProtoBuf.
StringTable.
Builder subBuilder = null;
if (((
bitField0_ & 0x00000008) == 0x00000008)) {
subBuilder =
strings_.
toBuilder();
}
strings_ =
input.
readMessage(org.jetbrains.kotlin.metadata.
ProtoBuf.
StringTable.
PARSER,
extensionRegistry);
if (
subBuilder != null) {
subBuilder.
mergeFrom(
strings_);
strings_ =
subBuilder.
buildPartial();
}
bitField0_ |= 0x00000008;
break;
}
case 42: {
org.jetbrains.kotlin.metadata.
ProtoBuf.
QualifiedNameTable.
Builder subBuilder = null;
if (((
bitField0_ & 0x00000010) == 0x00000010)) {
subBuilder =
qualifiedNames_.
toBuilder();
}
qualifiedNames_ =
input.
readMessage(org.jetbrains.kotlin.metadata.
ProtoBuf.
QualifiedNameTable.
PARSER,
extensionRegistry);
if (
subBuilder != null) {
subBuilder.
mergeFrom(
qualifiedNames_);
qualifiedNames_ =
subBuilder.
buildPartial();
}
bitField0_ |= 0x00000010;
break;
}
case 50: {
if (!((
mutable_bitField0_ & 0x00000020) == 0x00000020)) {
annotation_ = new java.util.
ArrayList<org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation>();
mutable_bitField0_ |= 0x00000020;
}
annotation_.
add(
input.
readMessage(org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.
PARSER,
extensionRegistry));
break;
}
}
}
} catch (org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException e) {
throw
e.
setUnfinishedMessage(this);
} catch (java.io.
IOException e) {
throw new org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException(
e.
getMessage()).
setUnfinishedMessage(this);
} finally {
if (((
mutable_bitField0_ & 0x00000020) == 0x00000020)) {
annotation_ = java.util.
Collections.
unmodifiableList(
annotation_);
}
try {
unknownFieldsCodedOutput.
flush();
} catch (java.io.
IOException e) {
// Should not happen
} finally {
unknownFields =
unknownFieldsOutput.
toByteString();
}
makeExtensionsImmutable();
}
}
public static org.jetbrains.kotlin.protobuf.
Parser<
Header>
PARSER =
new org.jetbrains.kotlin.protobuf.
AbstractParser<
Header>() {
public
Header parsePartialFrom(
org.jetbrains.kotlin.protobuf.
CodedInputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
return new
Header(
input,
extensionRegistry);
}
};
@java.lang.
Override
public org.jetbrains.kotlin.protobuf.
Parser<
Header>
getParserForType() {
return
PARSER;
}
private int
bitField0_;
public static final int
FLAGS_FIELD_NUMBER = 1;
private int
flags_;
/**
* <code>optional int32 flags = 1;</code>
*
* <pre>
*preRelease
* </pre>
*/
public boolean
hasFlags() {
return ((
bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int32 flags = 1;</code>
*
* <pre>
*preRelease
* </pre>
*/
public int
getFlags() {
return
flags_;
}
public static final int
JS_CODE_BINARY_VERSION_FIELD_NUMBER = 2;
private int
jsCodeBinaryVersion_;
/**
* <code>optional int32 js_code_binary_version = 2 [default = 1];</code>
*
* <pre>
* (patch << 16) + (minor << 8) + major
* </pre>
*/
public boolean
hasJsCodeBinaryVersion() {
return ((
bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional int32 js_code_binary_version = 2 [default = 1];</code>
*
* <pre>
* (patch << 16) + (minor << 8) + major
* </pre>
*/
public int
getJsCodeBinaryVersion() {
return
jsCodeBinaryVersion_;
}
public static final int
PACKAGE_FQ_NAME_FIELD_NUMBER = 3;
private java.lang.
Object packageFqName_;
/**
* <code>optional string package_fq_name = 3;</code>
*/
public boolean
hasPackageFqName() {
return ((
bitField0_ & 0x00000004) == 0x00000004);
}
/**
* <code>optional string package_fq_name = 3;</code>
*/
public java.lang.
String getPackageFqName() {
java.lang.
Object ref =
packageFqName_;
if (
ref instanceof java.lang.
String) {
return (java.lang.
String)
ref;
} else {
org.jetbrains.kotlin.protobuf.
ByteString bs =
(org.jetbrains.kotlin.protobuf.
ByteString)
ref;
java.lang.
String s =
bs.
toStringUtf8();
if (
bs.
isValidUtf8()) {
packageFqName_ =
s;
}
return
s;
}
}
/**
* <code>optional string package_fq_name = 3;</code>
*/
public org.jetbrains.kotlin.protobuf.
ByteString
getPackageFqNameBytes() {
java.lang.
Object ref =
packageFqName_;
if (
ref instanceof java.lang.
String) {
org.jetbrains.kotlin.protobuf.
ByteString b =
org.jetbrains.kotlin.protobuf.
ByteString.
copyFromUtf8(
(java.lang.
String)
ref);
packageFqName_ =
b;
return
b;
} else {
return (org.jetbrains.kotlin.protobuf.
ByteString)
ref;
}
}
public static final int
STRINGS_FIELD_NUMBER = 4;
private org.jetbrains.kotlin.metadata.
ProtoBuf.
StringTable strings_;
/**
* <code>optional .org.jetbrains.kotlin.metadata.StringTable strings = 4;</code>
*/
public boolean
hasStrings() {
return ((
bitField0_ & 0x00000008) == 0x00000008);
}
/**
* <code>optional .org.jetbrains.kotlin.metadata.StringTable strings = 4;</code>
*/
public org.jetbrains.kotlin.metadata.
ProtoBuf.
StringTable getStrings() {
return
strings_;
}
public static final int
QUALIFIED_NAMES_FIELD_NUMBER = 5;
private org.jetbrains.kotlin.metadata.
ProtoBuf.
QualifiedNameTable qualifiedNames_;
/**
* <code>optional .org.jetbrains.kotlin.metadata.QualifiedNameTable qualified_names = 5;</code>
*/
public boolean
hasQualifiedNames() {
return ((
bitField0_ & 0x00000010) == 0x00000010);
}
/**
* <code>optional .org.jetbrains.kotlin.metadata.QualifiedNameTable qualified_names = 5;</code>
*/
public org.jetbrains.kotlin.metadata.
ProtoBuf.
QualifiedNameTable getQualifiedNames() {
return
qualifiedNames_;
}
public static final int
ANNOTATION_FIELD_NUMBER = 6;
private java.util.
List<org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation>
annotation_;
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6;</code>
*
* <pre>
* Annotations on the whole module
* </pre>
*/
public java.util.
List<org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation>
getAnnotationList() {
return
annotation_;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6;</code>
*
* <pre>
* Annotations on the whole module
* </pre>
*/
public java.util.
List<? extends org.jetbrains.kotlin.metadata.
ProtoBuf.
AnnotationOrBuilder>
getAnnotationOrBuilderList() {
return
annotation_;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6;</code>
*
* <pre>
* Annotations on the whole module
* </pre>
*/
public int
getAnnotationCount() {
return
annotation_.
size();
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6;</code>
*
* <pre>
* Annotations on the whole module
* </pre>
*/
public org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation getAnnotation(int
index) {
return
annotation_.
get(
index);
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6;</code>
*
* <pre>
* Annotations on the whole module
* </pre>
*/
public org.jetbrains.kotlin.metadata.
ProtoBuf.
AnnotationOrBuilder getAnnotationOrBuilder(
int
index) {
return
annotation_.
get(
index);
}
private void
initFields() {
flags_ = 0;
jsCodeBinaryVersion_ = 1;
packageFqName_ = "";
strings_ = org.jetbrains.kotlin.metadata.
ProtoBuf.
StringTable.
getDefaultInstance();
qualifiedNames_ = org.jetbrains.kotlin.metadata.
ProtoBuf.
QualifiedNameTable.
getDefaultInstance();
annotation_ = java.util.
Collections.
emptyList();
}
private byte
memoizedIsInitialized = -1;
public final boolean
isInitialized() {
byte
isInitialized =
memoizedIsInitialized;
if (
isInitialized == 1) return true;
if (
isInitialized == 0) return false;
if (
hasQualifiedNames()) {
if (!
getQualifiedNames().
isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int
i = 0;
i <
getAnnotationCount();
i++) {
if (!
getAnnotation(
i).
isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void
writeTo(org.jetbrains.kotlin.protobuf.
CodedOutputStream output)
throws java.io.
IOException {
getSerializedSize();
if (((
bitField0_ & 0x00000001) == 0x00000001)) {
output.
writeInt32(1,
flags_);
}
if (((
bitField0_ & 0x00000002) == 0x00000002)) {
output.
writeInt32(2,
jsCodeBinaryVersion_);
}
if (((
bitField0_ & 0x00000004) == 0x00000004)) {
output.
writeBytes(3,
getPackageFqNameBytes());
}
if (((
bitField0_ & 0x00000008) == 0x00000008)) {
output.
writeMessage(4,
strings_);
}
if (((
bitField0_ & 0x00000010) == 0x00000010)) {
output.
writeMessage(5,
qualifiedNames_);
}
for (int
i = 0;
i <
annotation_.
size();
i++) {
output.
writeMessage(6,
annotation_.
get(
i));
}
output.
writeRawBytes(
unknownFields);
}
private int
memoizedSerializedSize = -1;
public int
getSerializedSize() {
int
size =
memoizedSerializedSize;
if (
size != -1) return
size;
size = 0;
if (((
bitField0_ & 0x00000001) == 0x00000001)) {
size += org.jetbrains.kotlin.protobuf.
CodedOutputStream
.
computeInt32Size(1,
flags_);
}
if (((
bitField0_ & 0x00000002) == 0x00000002)) {
size += org.jetbrains.kotlin.protobuf.
CodedOutputStream
.
computeInt32Size(2,
jsCodeBinaryVersion_);
}
if (((
bitField0_ & 0x00000004) == 0x00000004)) {
size += org.jetbrains.kotlin.protobuf.
CodedOutputStream
.
computeBytesSize(3,
getPackageFqNameBytes());
}
if (((
bitField0_ & 0x00000008) == 0x00000008)) {
size += org.jetbrains.kotlin.protobuf.
CodedOutputStream
.
computeMessageSize(4,
strings_);
}
if (((
bitField0_ & 0x00000010) == 0x00000010)) {
size += org.jetbrains.kotlin.protobuf.
CodedOutputStream
.
computeMessageSize(5,
qualifiedNames_);
}
for (int
i = 0;
i <
annotation_.
size();
i++) {
size += org.jetbrains.kotlin.protobuf.
CodedOutputStream
.
computeMessageSize(6,
annotation_.
get(
i));
}
size +=
unknownFields.
size();
memoizedSerializedSize =
size;
return
size;
}
private static final long
serialVersionUID = 0L;
@java.lang.
Override
protected java.lang.
Object writeReplace()
throws java.io.
ObjectStreamException {
return super.writeReplace();
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Header parseFrom(
org.jetbrains.kotlin.protobuf.
ByteString data)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
return
PARSER.
parseFrom(
data);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Header parseFrom(
org.jetbrains.kotlin.protobuf.
ByteString data,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
return
PARSER.
parseFrom(
data,
extensionRegistry);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Header parseFrom(byte[]
data)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
return
PARSER.
parseFrom(
data);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Header parseFrom(
byte[]
data,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
return
PARSER.
parseFrom(
data,
extensionRegistry);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Header parseFrom(java.io.
InputStream input)
throws java.io.
IOException {
return
PARSER.
parseFrom(
input);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Header parseFrom(
java.io.
InputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws java.io.
IOException {
return
PARSER.
parseFrom(
input,
extensionRegistry);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Header parseDelimitedFrom(java.io.
InputStream input)
throws java.io.
IOException {
return
PARSER.
parseDelimitedFrom(
input);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Header parseDelimitedFrom(
java.io.
InputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws java.io.
IOException {
return
PARSER.
parseDelimitedFrom(
input,
extensionRegistry);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Header parseFrom(
org.jetbrains.kotlin.protobuf.
CodedInputStream input)
throws java.io.
IOException {
return
PARSER.
parseFrom(
input);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Header parseFrom(
org.jetbrains.kotlin.protobuf.
CodedInputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws java.io.
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.metadata.js.
JsProtoBuf.
Header prototype) {
return
newBuilder().
mergeFrom(
prototype);
}
public
Builder toBuilder() { return
newBuilder(this); }
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.js.Header}
*/
public static final class
Builder extends
org.jetbrains.kotlin.protobuf.
GeneratedMessageLite.
Builder<
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Header,
Builder>
implements
// @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.metadata.js.Header)
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
HeaderOrBuilder {
// Construct using org.jetbrains.kotlin.metadata.js.JsProtoBuf.Header.newBuilder()
private
Builder() {
maybeForceBuilderInitialization();
}
private void
maybeForceBuilderInitialization() {
}
private static
Builder create() {
return new
Builder();
}
public
Builder clear() {
super.clear();
flags_ = 0;
bitField0_ = (
bitField0_ & ~0x00000001);
jsCodeBinaryVersion_ = 1;
bitField0_ = (
bitField0_ & ~0x00000002);
packageFqName_ = "";
bitField0_ = (
bitField0_ & ~0x00000004);
strings_ = org.jetbrains.kotlin.metadata.
ProtoBuf.
StringTable.
getDefaultInstance();
bitField0_ = (
bitField0_ & ~0x00000008);
qualifiedNames_ = org.jetbrains.kotlin.metadata.
ProtoBuf.
QualifiedNameTable.
getDefaultInstance();
bitField0_ = (
bitField0_ & ~0x00000010);
annotation_ = java.util.
Collections.
emptyList();
bitField0_ = (
bitField0_ & ~0x00000020);
return this;
}
public
Builder clone() {
return
create().
mergeFrom(
buildPartial());
}
public org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Header getDefaultInstanceForType() {
return org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Header.
getDefaultInstance();
}
public org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Header build() {
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Header result =
buildPartial();
if (!
result.
isInitialized()) {
throw
newUninitializedMessageException(
result);
}
return
result;
}
public org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Header buildPartial() {
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Header result = new org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Header(this);
int
from_bitField0_ =
bitField0_;
int
to_bitField0_ = 0;
if (((
from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.
flags_ =
flags_;
if (((
from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.
jsCodeBinaryVersion_ =
jsCodeBinaryVersion_;
if (((
from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.
packageFqName_ =
packageFqName_;
if (((
from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.
strings_ =
strings_;
if (((
from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.
qualifiedNames_ =
qualifiedNames_;
if (((
bitField0_ & 0x00000020) == 0x00000020)) {
annotation_ = java.util.
Collections.
unmodifiableList(
annotation_);
bitField0_ = (
bitField0_ & ~0x00000020);
}
result.
annotation_ =
annotation_;
result.
bitField0_ =
to_bitField0_;
return
result;
}
public
Builder mergeFrom(org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Header other) {
if (
other == org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Header.
getDefaultInstance()) return this;
if (
other.
hasFlags()) {
setFlags(
other.
getFlags());
}
if (
other.
hasJsCodeBinaryVersion()) {
setJsCodeBinaryVersion(
other.
getJsCodeBinaryVersion());
}
if (
other.
hasPackageFqName()) {
bitField0_ |= 0x00000004;
packageFqName_ =
other.
packageFqName_;
}
if (
other.
hasStrings()) {
mergeStrings(
other.
getStrings());
}
if (
other.
hasQualifiedNames()) {
mergeQualifiedNames(
other.
getQualifiedNames());
}
if (!
other.
annotation_.
isEmpty()) {
if (
annotation_.
isEmpty()) {
annotation_ =
other.
annotation_;
bitField0_ = (
bitField0_ & ~0x00000020);
} else {
ensureAnnotationIsMutable();
annotation_.
addAll(
other.
annotation_);
}
}
setUnknownFields(
getUnknownFields().
concat(
other.
unknownFields));
return this;
}
public final boolean
isInitialized() {
if (
hasQualifiedNames()) {
if (!
getQualifiedNames().
isInitialized()) {
return false;
}
}
for (int
i = 0;
i <
getAnnotationCount();
i++) {
if (!
getAnnotation(
i).
isInitialized()) {
return false;
}
}
return true;
}
public
Builder mergeFrom(
org.jetbrains.kotlin.protobuf.
CodedInputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws java.io.
IOException {
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Header parsedMessage = null;
try {
parsedMessage =
PARSER.
parsePartialFrom(
input,
extensionRegistry);
} catch (org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException e) {
parsedMessage = (org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Header)
e.
getUnfinishedMessage();
throw
e;
} finally {
if (
parsedMessage != null) {
mergeFrom(
parsedMessage);
}
}
return this;
}
private int
bitField0_;
private int
flags_ ;
/**
* <code>optional int32 flags = 1;</code>
*
* <pre>
*preRelease
* </pre>
*/
public boolean
hasFlags() {
return ((
bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int32 flags = 1;</code>
*
* <pre>
*preRelease
* </pre>
*/
public int
getFlags() {
return
flags_;
}
/**
* <code>optional int32 flags = 1;</code>
*
* <pre>
*preRelease
* </pre>
*/
public
Builder setFlags(int
value) {
bitField0_ |= 0x00000001;
flags_ =
value;
return this;
}
/**
* <code>optional int32 flags = 1;</code>
*
* <pre>
*preRelease
* </pre>
*/
public
Builder clearFlags() {
bitField0_ = (
bitField0_ & ~0x00000001);
flags_ = 0;
return this;
}
private int
jsCodeBinaryVersion_ = 1;
/**
* <code>optional int32 js_code_binary_version = 2 [default = 1];</code>
*
* <pre>
* (patch << 16) + (minor << 8) + major
* </pre>
*/
public boolean
hasJsCodeBinaryVersion() {
return ((
bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional int32 js_code_binary_version = 2 [default = 1];</code>
*
* <pre>
* (patch << 16) + (minor << 8) + major
* </pre>
*/
public int
getJsCodeBinaryVersion() {
return
jsCodeBinaryVersion_;
}
/**
* <code>optional int32 js_code_binary_version = 2 [default = 1];</code>
*
* <pre>
* (patch << 16) + (minor << 8) + major
* </pre>
*/
public
Builder setJsCodeBinaryVersion(int
value) {
bitField0_ |= 0x00000002;
jsCodeBinaryVersion_ =
value;
return this;
}
/**
* <code>optional int32 js_code_binary_version = 2 [default = 1];</code>
*
* <pre>
* (patch << 16) + (minor << 8) + major
* </pre>
*/
public
Builder clearJsCodeBinaryVersion() {
bitField0_ = (
bitField0_ & ~0x00000002);
jsCodeBinaryVersion_ = 1;
return this;
}
private java.lang.
Object packageFqName_ = "";
/**
* <code>optional string package_fq_name = 3;</code>
*/
public boolean
hasPackageFqName() {
return ((
bitField0_ & 0x00000004) == 0x00000004);
}
/**
* <code>optional string package_fq_name = 3;</code>
*/
public java.lang.
String getPackageFqName() {
java.lang.
Object ref =
packageFqName_;
if (!(
ref instanceof java.lang.
String)) {
org.jetbrains.kotlin.protobuf.
ByteString bs =
(org.jetbrains.kotlin.protobuf.
ByteString)
ref;
java.lang.
String s =
bs.
toStringUtf8();
if (
bs.
isValidUtf8()) {
packageFqName_ =
s;
}
return
s;
} else {
return (java.lang.
String)
ref;
}
}
/**
* <code>optional string package_fq_name = 3;</code>
*/
public org.jetbrains.kotlin.protobuf.
ByteString
getPackageFqNameBytes() {
java.lang.
Object ref =
packageFqName_;
if (
ref instanceof
String) {
org.jetbrains.kotlin.protobuf.
ByteString b =
org.jetbrains.kotlin.protobuf.
ByteString.
copyFromUtf8(
(java.lang.
String)
ref);
packageFqName_ =
b;
return
b;
} else {
return (org.jetbrains.kotlin.protobuf.
ByteString)
ref;
}
}
/**
* <code>optional string package_fq_name = 3;</code>
*/
public
Builder setPackageFqName(
java.lang.
String value) {
if (
value == null) {
throw new
NullPointerException();
}
bitField0_ |= 0x00000004;
packageFqName_ =
value;
return this;
}
/**
* <code>optional string package_fq_name = 3;</code>
*/
public
Builder clearPackageFqName() {
bitField0_ = (
bitField0_ & ~0x00000004);
packageFqName_ =
getDefaultInstance().
getPackageFqName();
return this;
}
/**
* <code>optional string package_fq_name = 3;</code>
*/
public
Builder setPackageFqNameBytes(
org.jetbrains.kotlin.protobuf.
ByteString value) {
if (
value == null) {
throw new
NullPointerException();
}
bitField0_ |= 0x00000004;
packageFqName_ =
value;
return this;
}
private org.jetbrains.kotlin.metadata.
ProtoBuf.
StringTable strings_ = org.jetbrains.kotlin.metadata.
ProtoBuf.
StringTable.
getDefaultInstance();
/**
* <code>optional .org.jetbrains.kotlin.metadata.StringTable strings = 4;</code>
*/
public boolean
hasStrings() {
return ((
bitField0_ & 0x00000008) == 0x00000008);
}
/**
* <code>optional .org.jetbrains.kotlin.metadata.StringTable strings = 4;</code>
*/
public org.jetbrains.kotlin.metadata.
ProtoBuf.
StringTable getStrings() {
return
strings_;
}
/**
* <code>optional .org.jetbrains.kotlin.metadata.StringTable strings = 4;</code>
*/
public
Builder setStrings(org.jetbrains.kotlin.metadata.
ProtoBuf.
StringTable value) {
if (
value == null) {
throw new
NullPointerException();
}
strings_ =
value;
bitField0_ |= 0x00000008;
return this;
}
/**
* <code>optional .org.jetbrains.kotlin.metadata.StringTable strings = 4;</code>
*/
public
Builder setStrings(
org.jetbrains.kotlin.metadata.
ProtoBuf.
StringTable.
Builder builderForValue) {
strings_ =
builderForValue.
build();
bitField0_ |= 0x00000008;
return this;
}
/**
* <code>optional .org.jetbrains.kotlin.metadata.StringTable strings = 4;</code>
*/
public
Builder mergeStrings(org.jetbrains.kotlin.metadata.
ProtoBuf.
StringTable value) {
if (((
bitField0_ & 0x00000008) == 0x00000008) &&
strings_ != org.jetbrains.kotlin.metadata.
ProtoBuf.
StringTable.
getDefaultInstance()) {
strings_ =
org.jetbrains.kotlin.metadata.
ProtoBuf.
StringTable.
newBuilder(
strings_).
mergeFrom(
value).
buildPartial();
} else {
strings_ =
value;
}
bitField0_ |= 0x00000008;
return this;
}
/**
* <code>optional .org.jetbrains.kotlin.metadata.StringTable strings = 4;</code>
*/
public
Builder clearStrings() {
strings_ = org.jetbrains.kotlin.metadata.
ProtoBuf.
StringTable.
getDefaultInstance();
bitField0_ = (
bitField0_ & ~0x00000008);
return this;
}
private org.jetbrains.kotlin.metadata.
ProtoBuf.
QualifiedNameTable qualifiedNames_ = org.jetbrains.kotlin.metadata.
ProtoBuf.
QualifiedNameTable.
getDefaultInstance();
/**
* <code>optional .org.jetbrains.kotlin.metadata.QualifiedNameTable qualified_names = 5;</code>
*/
public boolean
hasQualifiedNames() {
return ((
bitField0_ & 0x00000010) == 0x00000010);
}
/**
* <code>optional .org.jetbrains.kotlin.metadata.QualifiedNameTable qualified_names = 5;</code>
*/
public org.jetbrains.kotlin.metadata.
ProtoBuf.
QualifiedNameTable getQualifiedNames() {
return
qualifiedNames_;
}
/**
* <code>optional .org.jetbrains.kotlin.metadata.QualifiedNameTable qualified_names = 5;</code>
*/
public
Builder setQualifiedNames(org.jetbrains.kotlin.metadata.
ProtoBuf.
QualifiedNameTable value) {
if (
value == null) {
throw new
NullPointerException();
}
qualifiedNames_ =
value;
bitField0_ |= 0x00000010;
return this;
}
/**
* <code>optional .org.jetbrains.kotlin.metadata.QualifiedNameTable qualified_names = 5;</code>
*/
public
Builder setQualifiedNames(
org.jetbrains.kotlin.metadata.
ProtoBuf.
QualifiedNameTable.
Builder builderForValue) {
qualifiedNames_ =
builderForValue.
build();
bitField0_ |= 0x00000010;
return this;
}
/**
* <code>optional .org.jetbrains.kotlin.metadata.QualifiedNameTable qualified_names = 5;</code>
*/
public
Builder mergeQualifiedNames(org.jetbrains.kotlin.metadata.
ProtoBuf.
QualifiedNameTable value) {
if (((
bitField0_ & 0x00000010) == 0x00000010) &&
qualifiedNames_ != org.jetbrains.kotlin.metadata.
ProtoBuf.
QualifiedNameTable.
getDefaultInstance()) {
qualifiedNames_ =
org.jetbrains.kotlin.metadata.
ProtoBuf.
QualifiedNameTable.
newBuilder(
qualifiedNames_).
mergeFrom(
value).
buildPartial();
} else {
qualifiedNames_ =
value;
}
bitField0_ |= 0x00000010;
return this;
}
/**
* <code>optional .org.jetbrains.kotlin.metadata.QualifiedNameTable qualified_names = 5;</code>
*/
public
Builder clearQualifiedNames() {
qualifiedNames_ = org.jetbrains.kotlin.metadata.
ProtoBuf.
QualifiedNameTable.
getDefaultInstance();
bitField0_ = (
bitField0_ & ~0x00000010);
return this;
}
private java.util.
List<org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation>
annotation_ =
java.util.
Collections.
emptyList();
private void
ensureAnnotationIsMutable() {
if (!((
bitField0_ & 0x00000020) == 0x00000020)) {
annotation_ = new java.util.
ArrayList<org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation>(
annotation_);
bitField0_ |= 0x00000020;
}
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6;</code>
*
* <pre>
* Annotations on the whole module
* </pre>
*/
public java.util.
List<org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation>
getAnnotationList() {
return java.util.
Collections.
unmodifiableList(
annotation_);
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6;</code>
*
* <pre>
* Annotations on the whole module
* </pre>
*/
public int
getAnnotationCount() {
return
annotation_.
size();
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6;</code>
*
* <pre>
* Annotations on the whole module
* </pre>
*/
public org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation getAnnotation(int
index) {
return
annotation_.
get(
index);
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6;</code>
*
* <pre>
* Annotations on the whole module
* </pre>
*/
public
Builder setAnnotation(
int
index, org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation value) {
if (
value == null) {
throw new
NullPointerException();
}
ensureAnnotationIsMutable();
annotation_.
set(
index,
value);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6;</code>
*
* <pre>
* Annotations on the whole module
* </pre>
*/
public
Builder setAnnotation(
int
index, org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.
Builder builderForValue) {
ensureAnnotationIsMutable();
annotation_.
set(
index,
builderForValue.
build());
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6;</code>
*
* <pre>
* Annotations on the whole module
* </pre>
*/
public
Builder addAnnotation(org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation value) {
if (
value == null) {
throw new
NullPointerException();
}
ensureAnnotationIsMutable();
annotation_.
add(
value);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6;</code>
*
* <pre>
* Annotations on the whole module
* </pre>
*/
public
Builder addAnnotation(
int
index, org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation value) {
if (
value == null) {
throw new
NullPointerException();
}
ensureAnnotationIsMutable();
annotation_.
add(
index,
value);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6;</code>
*
* <pre>
* Annotations on the whole module
* </pre>
*/
public
Builder addAnnotation(
org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.
Builder builderForValue) {
ensureAnnotationIsMutable();
annotation_.
add(
builderForValue.
build());
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6;</code>
*
* <pre>
* Annotations on the whole module
* </pre>
*/
public
Builder addAnnotation(
int
index, org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.
Builder builderForValue) {
ensureAnnotationIsMutable();
annotation_.
add(
index,
builderForValue.
build());
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6;</code>
*
* <pre>
* Annotations on the whole module
* </pre>
*/
public
Builder addAllAnnotation(
java.lang.
Iterable<? extends org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation>
values) {
ensureAnnotationIsMutable();
org.jetbrains.kotlin.protobuf.
AbstractMessageLite.
Builder.
addAll(
values,
annotation_);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6;</code>
*
* <pre>
* Annotations on the whole module
* </pre>
*/
public
Builder clearAnnotation() {
annotation_ = java.util.
Collections.
emptyList();
bitField0_ = (
bitField0_ & ~0x00000020);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 6;</code>
*
* <pre>
* Annotations on the whole module
* </pre>
*/
public
Builder removeAnnotation(int
index) {
ensureAnnotationIsMutable();
annotation_.
remove(
index);
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.metadata.js.Header)
}
static {
defaultInstance = new
Header(true);
defaultInstance.
initFields();
}
// @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.metadata.js.Header)
}
public interface
FileOrBuilder extends
// @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.metadata.js.File)
org.jetbrains.kotlin.protobuf.
MessageLiteOrBuilder {
/**
* <code>optional int32 id = 1;</code>
*
* <pre>
* If absent, id is the index of the file in the Files.file list
* </pre>
*/
boolean
hasId();
/**
* <code>optional int32 id = 1;</code>
*
* <pre>
* If absent, id is the index of the file in the Files.file list
* </pre>
*/
int
getId();
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2;</code>
*/
java.util.
List<org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation>
getAnnotationList();
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2;</code>
*/
org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation getAnnotation(int
index);
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2;</code>
*/
int
getAnnotationCount();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.js.File}
*/
public static final class
File extends
org.jetbrains.kotlin.protobuf.
GeneratedMessageLite implements
// @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.metadata.js.File)
FileOrBuilder {
// Use File.newBuilder() to construct.
private
File(org.jetbrains.kotlin.protobuf.
GeneratedMessageLite.
Builder builder) {
super(
builder);
this.
unknownFields =
builder.
getUnknownFields();
}
private
File(boolean
noInit) { this.
unknownFields = org.jetbrains.kotlin.protobuf.
ByteString.
EMPTY;}
private static final
File defaultInstance;
public static
File getDefaultInstance() {
return
defaultInstance;
}
public
File getDefaultInstanceForType() {
return
defaultInstance;
}
private final org.jetbrains.kotlin.protobuf.
ByteString unknownFields;
private
File(
org.jetbrains.kotlin.protobuf.
CodedInputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
initFields();
int
mutable_bitField0_ = 0;
org.jetbrains.kotlin.protobuf.
ByteString.
Output unknownFieldsOutput =
org.jetbrains.kotlin.protobuf.
ByteString.
newOutput();
org.jetbrains.kotlin.protobuf.
CodedOutputStream unknownFieldsCodedOutput =
org.jetbrains.kotlin.protobuf.
CodedOutputStream.
newInstance(
unknownFieldsOutput, 1);
try {
boolean
done = false;
while (!
done) {
int
tag =
input.
readTag();
switch (
tag) {
case 0:
done = true;
break;
default: {
if (!
parseUnknownField(
input,
unknownFieldsCodedOutput,
extensionRegistry,
tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
id_ =
input.
readInt32();
break;
}
case 18: {
if (!((
mutable_bitField0_ & 0x00000002) == 0x00000002)) {
annotation_ = new java.util.
ArrayList<org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation>();
mutable_bitField0_ |= 0x00000002;
}
annotation_.
add(
input.
readMessage(org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.
PARSER,
extensionRegistry));
break;
}
}
}
} catch (org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException e) {
throw
e.
setUnfinishedMessage(this);
} catch (java.io.
IOException e) {
throw new org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException(
e.
getMessage()).
setUnfinishedMessage(this);
} finally {
if (((
mutable_bitField0_ & 0x00000002) == 0x00000002)) {
annotation_ = java.util.
Collections.
unmodifiableList(
annotation_);
}
try {
unknownFieldsCodedOutput.
flush();
} catch (java.io.
IOException e) {
// Should not happen
} finally {
unknownFields =
unknownFieldsOutput.
toByteString();
}
makeExtensionsImmutable();
}
}
public static org.jetbrains.kotlin.protobuf.
Parser<
File>
PARSER =
new org.jetbrains.kotlin.protobuf.
AbstractParser<
File>() {
public
File parsePartialFrom(
org.jetbrains.kotlin.protobuf.
CodedInputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
return new
File(
input,
extensionRegistry);
}
};
@java.lang.
Override
public org.jetbrains.kotlin.protobuf.
Parser<
File>
getParserForType() {
return
PARSER;
}
private int
bitField0_;
public static final int
ID_FIELD_NUMBER = 1;
private int
id_;
/**
* <code>optional int32 id = 1;</code>
*
* <pre>
* If absent, id is the index of the file in the Files.file list
* </pre>
*/
public boolean
hasId() {
return ((
bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int32 id = 1;</code>
*
* <pre>
* If absent, id is the index of the file in the Files.file list
* </pre>
*/
public int
getId() {
return
id_;
}
public static final int
ANNOTATION_FIELD_NUMBER = 2;
private java.util.
List<org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation>
annotation_;
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2;</code>
*/
public java.util.
List<org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation>
getAnnotationList() {
return
annotation_;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2;</code>
*/
public java.util.
List<? extends org.jetbrains.kotlin.metadata.
ProtoBuf.
AnnotationOrBuilder>
getAnnotationOrBuilderList() {
return
annotation_;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2;</code>
*/
public int
getAnnotationCount() {
return
annotation_.
size();
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2;</code>
*/
public org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation getAnnotation(int
index) {
return
annotation_.
get(
index);
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2;</code>
*/
public org.jetbrains.kotlin.metadata.
ProtoBuf.
AnnotationOrBuilder getAnnotationOrBuilder(
int
index) {
return
annotation_.
get(
index);
}
private void
initFields() {
id_ = 0;
annotation_ = java.util.
Collections.
emptyList();
}
private byte
memoizedIsInitialized = -1;
public final boolean
isInitialized() {
byte
isInitialized =
memoizedIsInitialized;
if (
isInitialized == 1) return true;
if (
isInitialized == 0) return false;
for (int
i = 0;
i <
getAnnotationCount();
i++) {
if (!
getAnnotation(
i).
isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void
writeTo(org.jetbrains.kotlin.protobuf.
CodedOutputStream output)
throws java.io.
IOException {
getSerializedSize();
if (((
bitField0_ & 0x00000001) == 0x00000001)) {
output.
writeInt32(1,
id_);
}
for (int
i = 0;
i <
annotation_.
size();
i++) {
output.
writeMessage(2,
annotation_.
get(
i));
}
output.
writeRawBytes(
unknownFields);
}
private int
memoizedSerializedSize = -1;
public int
getSerializedSize() {
int
size =
memoizedSerializedSize;
if (
size != -1) return
size;
size = 0;
if (((
bitField0_ & 0x00000001) == 0x00000001)) {
size += org.jetbrains.kotlin.protobuf.
CodedOutputStream
.
computeInt32Size(1,
id_);
}
for (int
i = 0;
i <
annotation_.
size();
i++) {
size += org.jetbrains.kotlin.protobuf.
CodedOutputStream
.
computeMessageSize(2,
annotation_.
get(
i));
}
size +=
unknownFields.
size();
memoizedSerializedSize =
size;
return
size;
}
private static final long
serialVersionUID = 0L;
@java.lang.
Override
protected java.lang.
Object writeReplace()
throws java.io.
ObjectStreamException {
return super.writeReplace();
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File parseFrom(
org.jetbrains.kotlin.protobuf.
ByteString data)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
return
PARSER.
parseFrom(
data);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File parseFrom(
org.jetbrains.kotlin.protobuf.
ByteString data,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
return
PARSER.
parseFrom(
data,
extensionRegistry);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File parseFrom(byte[]
data)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
return
PARSER.
parseFrom(
data);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File parseFrom(
byte[]
data,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
return
PARSER.
parseFrom(
data,
extensionRegistry);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File parseFrom(java.io.
InputStream input)
throws java.io.
IOException {
return
PARSER.
parseFrom(
input);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File parseFrom(
java.io.
InputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws java.io.
IOException {
return
PARSER.
parseFrom(
input,
extensionRegistry);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File parseDelimitedFrom(java.io.
InputStream input)
throws java.io.
IOException {
return
PARSER.
parseDelimitedFrom(
input);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File parseDelimitedFrom(
java.io.
InputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws java.io.
IOException {
return
PARSER.
parseDelimitedFrom(
input,
extensionRegistry);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File parseFrom(
org.jetbrains.kotlin.protobuf.
CodedInputStream input)
throws java.io.
IOException {
return
PARSER.
parseFrom(
input);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File parseFrom(
org.jetbrains.kotlin.protobuf.
CodedInputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws java.io.
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.metadata.js.
JsProtoBuf.
File prototype) {
return
newBuilder().
mergeFrom(
prototype);
}
public
Builder toBuilder() { return
newBuilder(this); }
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.js.File}
*/
public static final class
Builder extends
org.jetbrains.kotlin.protobuf.
GeneratedMessageLite.
Builder<
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File,
Builder>
implements
// @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.metadata.js.File)
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
FileOrBuilder {
// Construct using org.jetbrains.kotlin.metadata.js.JsProtoBuf.File.newBuilder()
private
Builder() {
maybeForceBuilderInitialization();
}
private void
maybeForceBuilderInitialization() {
}
private static
Builder create() {
return new
Builder();
}
public
Builder clear() {
super.clear();
id_ = 0;
bitField0_ = (
bitField0_ & ~0x00000001);
annotation_ = java.util.
Collections.
emptyList();
bitField0_ = (
bitField0_ & ~0x00000002);
return this;
}
public
Builder clone() {
return
create().
mergeFrom(
buildPartial());
}
public org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File getDefaultInstanceForType() {
return org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File.
getDefaultInstance();
}
public org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File build() {
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File result =
buildPartial();
if (!
result.
isInitialized()) {
throw
newUninitializedMessageException(
result);
}
return
result;
}
public org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File buildPartial() {
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File result = new org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File(this);
int
from_bitField0_ =
bitField0_;
int
to_bitField0_ = 0;
if (((
from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.
id_ =
id_;
if (((
bitField0_ & 0x00000002) == 0x00000002)) {
annotation_ = java.util.
Collections.
unmodifiableList(
annotation_);
bitField0_ = (
bitField0_ & ~0x00000002);
}
result.
annotation_ =
annotation_;
result.
bitField0_ =
to_bitField0_;
return
result;
}
public
Builder mergeFrom(org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File other) {
if (
other == org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File.
getDefaultInstance()) return this;
if (
other.
hasId()) {
setId(
other.
getId());
}
if (!
other.
annotation_.
isEmpty()) {
if (
annotation_.
isEmpty()) {
annotation_ =
other.
annotation_;
bitField0_ = (
bitField0_ & ~0x00000002);
} else {
ensureAnnotationIsMutable();
annotation_.
addAll(
other.
annotation_);
}
}
setUnknownFields(
getUnknownFields().
concat(
other.
unknownFields));
return this;
}
public final boolean
isInitialized() {
for (int
i = 0;
i <
getAnnotationCount();
i++) {
if (!
getAnnotation(
i).
isInitialized()) {
return false;
}
}
return true;
}
public
Builder mergeFrom(
org.jetbrains.kotlin.protobuf.
CodedInputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws java.io.
IOException {
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File parsedMessage = null;
try {
parsedMessage =
PARSER.
parsePartialFrom(
input,
extensionRegistry);
} catch (org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException e) {
parsedMessage = (org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File)
e.
getUnfinishedMessage();
throw
e;
} finally {
if (
parsedMessage != null) {
mergeFrom(
parsedMessage);
}
}
return this;
}
private int
bitField0_;
private int
id_ ;
/**
* <code>optional int32 id = 1;</code>
*
* <pre>
* If absent, id is the index of the file in the Files.file list
* </pre>
*/
public boolean
hasId() {
return ((
bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional int32 id = 1;</code>
*
* <pre>
* If absent, id is the index of the file in the Files.file list
* </pre>
*/
public int
getId() {
return
id_;
}
/**
* <code>optional int32 id = 1;</code>
*
* <pre>
* If absent, id is the index of the file in the Files.file list
* </pre>
*/
public
Builder setId(int
value) {
bitField0_ |= 0x00000001;
id_ =
value;
return this;
}
/**
* <code>optional int32 id = 1;</code>
*
* <pre>
* If absent, id is the index of the file in the Files.file list
* </pre>
*/
public
Builder clearId() {
bitField0_ = (
bitField0_ & ~0x00000001);
id_ = 0;
return this;
}
private java.util.
List<org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation>
annotation_ =
java.util.
Collections.
emptyList();
private void
ensureAnnotationIsMutable() {
if (!((
bitField0_ & 0x00000002) == 0x00000002)) {
annotation_ = new java.util.
ArrayList<org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation>(
annotation_);
bitField0_ |= 0x00000002;
}
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2;</code>
*/
public java.util.
List<org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation>
getAnnotationList() {
return java.util.
Collections.
unmodifiableList(
annotation_);
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2;</code>
*/
public int
getAnnotationCount() {
return
annotation_.
size();
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2;</code>
*/
public org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation getAnnotation(int
index) {
return
annotation_.
get(
index);
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2;</code>
*/
public
Builder setAnnotation(
int
index, org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation value) {
if (
value == null) {
throw new
NullPointerException();
}
ensureAnnotationIsMutable();
annotation_.
set(
index,
value);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2;</code>
*/
public
Builder setAnnotation(
int
index, org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.
Builder builderForValue) {
ensureAnnotationIsMutable();
annotation_.
set(
index,
builderForValue.
build());
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2;</code>
*/
public
Builder addAnnotation(org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation value) {
if (
value == null) {
throw new
NullPointerException();
}
ensureAnnotationIsMutable();
annotation_.
add(
value);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2;</code>
*/
public
Builder addAnnotation(
int
index, org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation value) {
if (
value == null) {
throw new
NullPointerException();
}
ensureAnnotationIsMutable();
annotation_.
add(
index,
value);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2;</code>
*/
public
Builder addAnnotation(
org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.
Builder builderForValue) {
ensureAnnotationIsMutable();
annotation_.
add(
builderForValue.
build());
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2;</code>
*/
public
Builder addAnnotation(
int
index, org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.
Builder builderForValue) {
ensureAnnotationIsMutable();
annotation_.
add(
index,
builderForValue.
build());
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2;</code>
*/
public
Builder addAllAnnotation(
java.lang.
Iterable<? extends org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation>
values) {
ensureAnnotationIsMutable();
org.jetbrains.kotlin.protobuf.
AbstractMessageLite.
Builder.
addAll(
values,
annotation_);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2;</code>
*/
public
Builder clearAnnotation() {
annotation_ = java.util.
Collections.
emptyList();
bitField0_ = (
bitField0_ & ~0x00000002);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.Annotation annotation = 2;</code>
*/
public
Builder removeAnnotation(int
index) {
ensureAnnotationIsMutable();
annotation_.
remove(
index);
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.metadata.js.File)
}
static {
defaultInstance = new
File(true);
defaultInstance.
initFields();
}
// @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.metadata.js.File)
}
public interface
FilesOrBuilder extends
// @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.metadata.js.Files)
org.jetbrains.kotlin.protobuf.
MessageLiteOrBuilder {
/**
* <code>repeated .org.jetbrains.kotlin.metadata.js.File file = 1;</code>
*/
java.util.
List<org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File>
getFileList();
/**
* <code>repeated .org.jetbrains.kotlin.metadata.js.File file = 1;</code>
*/
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File getFile(int
index);
/**
* <code>repeated .org.jetbrains.kotlin.metadata.js.File file = 1;</code>
*/
int
getFileCount();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.js.Files}
*/
public static final class
Files extends
org.jetbrains.kotlin.protobuf.
GeneratedMessageLite implements
// @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.metadata.js.Files)
FilesOrBuilder {
// Use Files.newBuilder() to construct.
private
Files(org.jetbrains.kotlin.protobuf.
GeneratedMessageLite.
Builder builder) {
super(
builder);
this.
unknownFields =
builder.
getUnknownFields();
}
private
Files(boolean
noInit) { this.
unknownFields = org.jetbrains.kotlin.protobuf.
ByteString.
EMPTY;}
private static final
Files defaultInstance;
public static
Files getDefaultInstance() {
return
defaultInstance;
}
public
Files getDefaultInstanceForType() {
return
defaultInstance;
}
private final org.jetbrains.kotlin.protobuf.
ByteString unknownFields;
private
Files(
org.jetbrains.kotlin.protobuf.
CodedInputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
initFields();
int
mutable_bitField0_ = 0;
org.jetbrains.kotlin.protobuf.
ByteString.
Output unknownFieldsOutput =
org.jetbrains.kotlin.protobuf.
ByteString.
newOutput();
org.jetbrains.kotlin.protobuf.
CodedOutputStream unknownFieldsCodedOutput =
org.jetbrains.kotlin.protobuf.
CodedOutputStream.
newInstance(
unknownFieldsOutput, 1);
try {
boolean
done = false;
while (!
done) {
int
tag =
input.
readTag();
switch (
tag) {
case 0:
done = true;
break;
default: {
if (!
parseUnknownField(
input,
unknownFieldsCodedOutput,
extensionRegistry,
tag)) {
done = true;
}
break;
}
case 10: {
if (!((
mutable_bitField0_ & 0x00000001) == 0x00000001)) {
file_ = new java.util.
ArrayList<org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File>();
mutable_bitField0_ |= 0x00000001;
}
file_.
add(
input.
readMessage(org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File.
PARSER,
extensionRegistry));
break;
}
}
}
} catch (org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException e) {
throw
e.
setUnfinishedMessage(this);
} catch (java.io.
IOException e) {
throw new org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException(
e.
getMessage()).
setUnfinishedMessage(this);
} finally {
if (((
mutable_bitField0_ & 0x00000001) == 0x00000001)) {
file_ = java.util.
Collections.
unmodifiableList(
file_);
}
try {
unknownFieldsCodedOutput.
flush();
} catch (java.io.
IOException e) {
// Should not happen
} finally {
unknownFields =
unknownFieldsOutput.
toByteString();
}
makeExtensionsImmutable();
}
}
public static org.jetbrains.kotlin.protobuf.
Parser<
Files>
PARSER =
new org.jetbrains.kotlin.protobuf.
AbstractParser<
Files>() {
public
Files parsePartialFrom(
org.jetbrains.kotlin.protobuf.
CodedInputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
return new
Files(
input,
extensionRegistry);
}
};
@java.lang.
Override
public org.jetbrains.kotlin.protobuf.
Parser<
Files>
getParserForType() {
return
PARSER;
}
public static final int
FILE_FIELD_NUMBER = 1;
private java.util.
List<org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File>
file_;
/**
* <code>repeated .org.jetbrains.kotlin.metadata.js.File file = 1;</code>
*/
public java.util.
List<org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File>
getFileList() {
return
file_;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.js.File file = 1;</code>
*/
public java.util.
List<? extends org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
FileOrBuilder>
getFileOrBuilderList() {
return
file_;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.js.File file = 1;</code>
*/
public int
getFileCount() {
return
file_.
size();
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.js.File file = 1;</code>
*/
public org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File getFile(int
index) {
return
file_.
get(
index);
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.js.File file = 1;</code>
*/
public org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
FileOrBuilder getFileOrBuilder(
int
index) {
return
file_.
get(
index);
}
private void
initFields() {
file_ = java.util.
Collections.
emptyList();
}
private byte
memoizedIsInitialized = -1;
public final boolean
isInitialized() {
byte
isInitialized =
memoizedIsInitialized;
if (
isInitialized == 1) return true;
if (
isInitialized == 0) return false;
for (int
i = 0;
i <
getFileCount();
i++) {
if (!
getFile(
i).
isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void
writeTo(org.jetbrains.kotlin.protobuf.
CodedOutputStream output)
throws java.io.
IOException {
getSerializedSize();
for (int
i = 0;
i <
file_.
size();
i++) {
output.
writeMessage(1,
file_.
get(
i));
}
output.
writeRawBytes(
unknownFields);
}
private int
memoizedSerializedSize = -1;
public int
getSerializedSize() {
int
size =
memoizedSerializedSize;
if (
size != -1) return
size;
size = 0;
for (int
i = 0;
i <
file_.
size();
i++) {
size += org.jetbrains.kotlin.protobuf.
CodedOutputStream
.
computeMessageSize(1,
file_.
get(
i));
}
size +=
unknownFields.
size();
memoizedSerializedSize =
size;
return
size;
}
private static final long
serialVersionUID = 0L;
@java.lang.
Override
protected java.lang.
Object writeReplace()
throws java.io.
ObjectStreamException {
return super.writeReplace();
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Files parseFrom(
org.jetbrains.kotlin.protobuf.
ByteString data)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
return
PARSER.
parseFrom(
data);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Files parseFrom(
org.jetbrains.kotlin.protobuf.
ByteString data,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
return
PARSER.
parseFrom(
data,
extensionRegistry);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Files parseFrom(byte[]
data)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
return
PARSER.
parseFrom(
data);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Files parseFrom(
byte[]
data,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
return
PARSER.
parseFrom(
data,
extensionRegistry);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Files parseFrom(java.io.
InputStream input)
throws java.io.
IOException {
return
PARSER.
parseFrom(
input);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Files parseFrom(
java.io.
InputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws java.io.
IOException {
return
PARSER.
parseFrom(
input,
extensionRegistry);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Files parseDelimitedFrom(java.io.
InputStream input)
throws java.io.
IOException {
return
PARSER.
parseDelimitedFrom(
input);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Files parseDelimitedFrom(
java.io.
InputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws java.io.
IOException {
return
PARSER.
parseDelimitedFrom(
input,
extensionRegistry);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Files parseFrom(
org.jetbrains.kotlin.protobuf.
CodedInputStream input)
throws java.io.
IOException {
return
PARSER.
parseFrom(
input);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Files parseFrom(
org.jetbrains.kotlin.protobuf.
CodedInputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws java.io.
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.metadata.js.
JsProtoBuf.
Files prototype) {
return
newBuilder().
mergeFrom(
prototype);
}
public
Builder toBuilder() { return
newBuilder(this); }
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.js.Files}
*/
public static final class
Builder extends
org.jetbrains.kotlin.protobuf.
GeneratedMessageLite.
Builder<
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Files,
Builder>
implements
// @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.metadata.js.Files)
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
FilesOrBuilder {
// Construct using org.jetbrains.kotlin.metadata.js.JsProtoBuf.Files.newBuilder()
private
Builder() {
maybeForceBuilderInitialization();
}
private void
maybeForceBuilderInitialization() {
}
private static
Builder create() {
return new
Builder();
}
public
Builder clear() {
super.clear();
file_ = java.util.
Collections.
emptyList();
bitField0_ = (
bitField0_ & ~0x00000001);
return this;
}
public
Builder clone() {
return
create().
mergeFrom(
buildPartial());
}
public org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Files getDefaultInstanceForType() {
return org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Files.
getDefaultInstance();
}
public org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Files build() {
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Files result =
buildPartial();
if (!
result.
isInitialized()) {
throw
newUninitializedMessageException(
result);
}
return
result;
}
public org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Files buildPartial() {
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Files result = new org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Files(this);
int
from_bitField0_ =
bitField0_;
if (((
bitField0_ & 0x00000001) == 0x00000001)) {
file_ = java.util.
Collections.
unmodifiableList(
file_);
bitField0_ = (
bitField0_ & ~0x00000001);
}
result.
file_ =
file_;
return
result;
}
public
Builder mergeFrom(org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Files other) {
if (
other == org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Files.
getDefaultInstance()) return this;
if (!
other.
file_.
isEmpty()) {
if (
file_.
isEmpty()) {
file_ =
other.
file_;
bitField0_ = (
bitField0_ & ~0x00000001);
} else {
ensureFileIsMutable();
file_.
addAll(
other.
file_);
}
}
setUnknownFields(
getUnknownFields().
concat(
other.
unknownFields));
return this;
}
public final boolean
isInitialized() {
for (int
i = 0;
i <
getFileCount();
i++) {
if (!
getFile(
i).
isInitialized()) {
return false;
}
}
return true;
}
public
Builder mergeFrom(
org.jetbrains.kotlin.protobuf.
CodedInputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws java.io.
IOException {
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Files parsedMessage = null;
try {
parsedMessage =
PARSER.
parsePartialFrom(
input,
extensionRegistry);
} catch (org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException e) {
parsedMessage = (org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Files)
e.
getUnfinishedMessage();
throw
e;
} finally {
if (
parsedMessage != null) {
mergeFrom(
parsedMessage);
}
}
return this;
}
private int
bitField0_;
private java.util.
List<org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File>
file_ =
java.util.
Collections.
emptyList();
private void
ensureFileIsMutable() {
if (!((
bitField0_ & 0x00000001) == 0x00000001)) {
file_ = new java.util.
ArrayList<org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File>(
file_);
bitField0_ |= 0x00000001;
}
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.js.File file = 1;</code>
*/
public java.util.
List<org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File>
getFileList() {
return java.util.
Collections.
unmodifiableList(
file_);
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.js.File file = 1;</code>
*/
public int
getFileCount() {
return
file_.
size();
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.js.File file = 1;</code>
*/
public org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File getFile(int
index) {
return
file_.
get(
index);
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.js.File file = 1;</code>
*/
public
Builder setFile(
int
index, org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File value) {
if (
value == null) {
throw new
NullPointerException();
}
ensureFileIsMutable();
file_.
set(
index,
value);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.js.File file = 1;</code>
*/
public
Builder setFile(
int
index, org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File.
Builder builderForValue) {
ensureFileIsMutable();
file_.
set(
index,
builderForValue.
build());
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.js.File file = 1;</code>
*/
public
Builder addFile(org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File value) {
if (
value == null) {
throw new
NullPointerException();
}
ensureFileIsMutable();
file_.
add(
value);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.js.File file = 1;</code>
*/
public
Builder addFile(
int
index, org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File value) {
if (
value == null) {
throw new
NullPointerException();
}
ensureFileIsMutable();
file_.
add(
index,
value);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.js.File file = 1;</code>
*/
public
Builder addFile(
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File.
Builder builderForValue) {
ensureFileIsMutable();
file_.
add(
builderForValue.
build());
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.js.File file = 1;</code>
*/
public
Builder addFile(
int
index, org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File.
Builder builderForValue) {
ensureFileIsMutable();
file_.
add(
index,
builderForValue.
build());
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.js.File file = 1;</code>
*/
public
Builder addAllFile(
java.lang.
Iterable<? extends org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
File>
values) {
ensureFileIsMutable();
org.jetbrains.kotlin.protobuf.
AbstractMessageLite.
Builder.
addAll(
values,
file_);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.js.File file = 1;</code>
*/
public
Builder clearFile() {
file_ = java.util.
Collections.
emptyList();
bitField0_ = (
bitField0_ & ~0x00000001);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.js.File file = 1;</code>
*/
public
Builder removeFile(int
index) {
ensureFileIsMutable();
file_.
remove(
index);
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.metadata.js.Files)
}
static {
defaultInstance = new
Files(true);
defaultInstance.
initFields();
}
// @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.metadata.js.Files)
}
public interface
ClassesOrBuilder extends
// @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.metadata.js.Classes)
org.jetbrains.kotlin.protobuf.
MessageLiteOrBuilder {
/**
* <code>repeated int32 class_name = 1 [packed = true];</code>
*
* <pre>
* id in StringTable
* </pre>
*/
java.util.
List<java.lang.
Integer>
getClassNameList();
/**
* <code>repeated int32 class_name = 1 [packed = true];</code>
*
* <pre>
* id in StringTable
* </pre>
*/
int
getClassNameCount();
/**
* <code>repeated int32 class_name = 1 [packed = true];</code>
*
* <pre>
* id in StringTable
* </pre>
*/
int
getClassName(int
index);
}
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.js.Classes}
*/
public static final class
Classes extends
org.jetbrains.kotlin.protobuf.
GeneratedMessageLite implements
// @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.metadata.js.Classes)
ClassesOrBuilder {
// Use Classes.newBuilder() to construct.
private
Classes(org.jetbrains.kotlin.protobuf.
GeneratedMessageLite.
Builder builder) {
super(
builder);
this.
unknownFields =
builder.
getUnknownFields();
}
private
Classes(boolean
noInit) { this.
unknownFields = org.jetbrains.kotlin.protobuf.
ByteString.
EMPTY;}
private static final
Classes defaultInstance;
public static
Classes getDefaultInstance() {
return
defaultInstance;
}
public
Classes getDefaultInstanceForType() {
return
defaultInstance;
}
private final org.jetbrains.kotlin.protobuf.
ByteString unknownFields;
private
Classes(
org.jetbrains.kotlin.protobuf.
CodedInputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
initFields();
int
mutable_bitField0_ = 0;
org.jetbrains.kotlin.protobuf.
ByteString.
Output unknownFieldsOutput =
org.jetbrains.kotlin.protobuf.
ByteString.
newOutput();
org.jetbrains.kotlin.protobuf.
CodedOutputStream unknownFieldsCodedOutput =
org.jetbrains.kotlin.protobuf.
CodedOutputStream.
newInstance(
unknownFieldsOutput, 1);
try {
boolean
done = false;
while (!
done) {
int
tag =
input.
readTag();
switch (
tag) {
case 0:
done = true;
break;
default: {
if (!
parseUnknownField(
input,
unknownFieldsCodedOutput,
extensionRegistry,
tag)) {
done = true;
}
break;
}
case 8: {
if (!((
mutable_bitField0_ & 0x00000001) == 0x00000001)) {
className_ = new java.util.
ArrayList<java.lang.
Integer>();
mutable_bitField0_ |= 0x00000001;
}
className_.
add(
input.
readInt32());
break;
}
case 10: {
int
length =
input.
readRawVarint32();
int
limit =
input.
pushLimit(
length);
if (!((
mutable_bitField0_ & 0x00000001) == 0x00000001) &&
input.
getBytesUntilLimit() > 0) {
className_ = new java.util.
ArrayList<java.lang.
Integer>();
mutable_bitField0_ |= 0x00000001;
}
while (
input.
getBytesUntilLimit() > 0) {
className_.
add(
input.
readInt32());
}
input.
popLimit(
limit);
break;
}
}
}
} catch (org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException e) {
throw
e.
setUnfinishedMessage(this);
} catch (java.io.
IOException e) {
throw new org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException(
e.
getMessage()).
setUnfinishedMessage(this);
} finally {
if (((
mutable_bitField0_ & 0x00000001) == 0x00000001)) {
className_ = java.util.
Collections.
unmodifiableList(
className_);
}
try {
unknownFieldsCodedOutput.
flush();
} catch (java.io.
IOException e) {
// Should not happen
} finally {
unknownFields =
unknownFieldsOutput.
toByteString();
}
makeExtensionsImmutable();
}
}
public static org.jetbrains.kotlin.protobuf.
Parser<
Classes>
PARSER =
new org.jetbrains.kotlin.protobuf.
AbstractParser<
Classes>() {
public
Classes parsePartialFrom(
org.jetbrains.kotlin.protobuf.
CodedInputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
return new
Classes(
input,
extensionRegistry);
}
};
@java.lang.
Override
public org.jetbrains.kotlin.protobuf.
Parser<
Classes>
getParserForType() {
return
PARSER;
}
public static final int
CLASS_NAME_FIELD_NUMBER = 1;
private java.util.
List<java.lang.
Integer>
className_;
/**
* <code>repeated int32 class_name = 1 [packed = true];</code>
*
* <pre>
* id in StringTable
* </pre>
*/
public java.util.
List<java.lang.
Integer>
getClassNameList() {
return
className_;
}
/**
* <code>repeated int32 class_name = 1 [packed = true];</code>
*
* <pre>
* id in StringTable
* </pre>
*/
public int
getClassNameCount() {
return
className_.
size();
}
/**
* <code>repeated int32 class_name = 1 [packed = true];</code>
*
* <pre>
* id in StringTable
* </pre>
*/
public int
getClassName(int
index) {
return
className_.
get(
index);
}
private int
classNameMemoizedSerializedSize = -1;
private void
initFields() {
className_ = java.util.
Collections.
emptyList();
}
private byte
memoizedIsInitialized = -1;
public final boolean
isInitialized() {
byte
isInitialized =
memoizedIsInitialized;
if (
isInitialized == 1) return true;
if (
isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void
writeTo(org.jetbrains.kotlin.protobuf.
CodedOutputStream output)
throws java.io.
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));
}
output.
writeRawBytes(
unknownFields);
}
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 += org.jetbrains.kotlin.protobuf.
CodedOutputStream
.
computeInt32SizeNoTag(
className_.
get(
i));
}
size +=
dataSize;
if (!
getClassNameList().
isEmpty()) {
size += 1;
size += org.jetbrains.kotlin.protobuf.
CodedOutputStream
.
computeInt32SizeNoTag(
dataSize);
}
classNameMemoizedSerializedSize =
dataSize;
}
size +=
unknownFields.
size();
memoizedSerializedSize =
size;
return
size;
}
private static final long
serialVersionUID = 0L;
@java.lang.
Override
protected java.lang.
Object writeReplace()
throws java.io.
ObjectStreamException {
return super.writeReplace();
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Classes parseFrom(
org.jetbrains.kotlin.protobuf.
ByteString data)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
return
PARSER.
parseFrom(
data);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Classes parseFrom(
org.jetbrains.kotlin.protobuf.
ByteString data,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
return
PARSER.
parseFrom(
data,
extensionRegistry);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Classes parseFrom(byte[]
data)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
return
PARSER.
parseFrom(
data);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Classes parseFrom(
byte[]
data,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
return
PARSER.
parseFrom(
data,
extensionRegistry);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Classes parseFrom(java.io.
InputStream input)
throws java.io.
IOException {
return
PARSER.
parseFrom(
input);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Classes parseFrom(
java.io.
InputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws java.io.
IOException {
return
PARSER.
parseFrom(
input,
extensionRegistry);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Classes parseDelimitedFrom(java.io.
InputStream input)
throws java.io.
IOException {
return
PARSER.
parseDelimitedFrom(
input);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Classes parseDelimitedFrom(
java.io.
InputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws java.io.
IOException {
return
PARSER.
parseDelimitedFrom(
input,
extensionRegistry);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Classes parseFrom(
org.jetbrains.kotlin.protobuf.
CodedInputStream input)
throws java.io.
IOException {
return
PARSER.
parseFrom(
input);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Classes parseFrom(
org.jetbrains.kotlin.protobuf.
CodedInputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws java.io.
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.metadata.js.
JsProtoBuf.
Classes prototype) {
return
newBuilder().
mergeFrom(
prototype);
}
public
Builder toBuilder() { return
newBuilder(this); }
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.js.Classes}
*/
public static final class
Builder extends
org.jetbrains.kotlin.protobuf.
GeneratedMessageLite.
Builder<
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Classes,
Builder>
implements
// @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.metadata.js.Classes)
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
ClassesOrBuilder {
// Construct using org.jetbrains.kotlin.metadata.js.JsProtoBuf.Classes.newBuilder()
private
Builder() {
maybeForceBuilderInitialization();
}
private void
maybeForceBuilderInitialization() {
}
private static
Builder create() {
return new
Builder();
}
public
Builder clear() {
super.clear();
className_ = java.util.
Collections.
emptyList();
bitField0_ = (
bitField0_ & ~0x00000001);
return this;
}
public
Builder clone() {
return
create().
mergeFrom(
buildPartial());
}
public org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Classes getDefaultInstanceForType() {
return org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Classes.
getDefaultInstance();
}
public org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Classes build() {
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Classes result =
buildPartial();
if (!
result.
isInitialized()) {
throw
newUninitializedMessageException(
result);
}
return
result;
}
public org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Classes buildPartial() {
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Classes result = new org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Classes(this);
int
from_bitField0_ =
bitField0_;
if (((
bitField0_ & 0x00000001) == 0x00000001)) {
className_ = java.util.
Collections.
unmodifiableList(
className_);
bitField0_ = (
bitField0_ & ~0x00000001);
}
result.
className_ =
className_;
return
result;
}
public
Builder mergeFrom(org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Classes other) {
if (
other == org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Classes.
getDefaultInstance()) return this;
if (!
other.
className_.
isEmpty()) {
if (
className_.
isEmpty()) {
className_ =
other.
className_;
bitField0_ = (
bitField0_ & ~0x00000001);
} else {
ensureClassNameIsMutable();
className_.
addAll(
other.
className_);
}
}
setUnknownFields(
getUnknownFields().
concat(
other.
unknownFields));
return this;
}
public final boolean
isInitialized() {
return true;
}
public
Builder mergeFrom(
org.jetbrains.kotlin.protobuf.
CodedInputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws java.io.
IOException {
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Classes parsedMessage = null;
try {
parsedMessage =
PARSER.
parsePartialFrom(
input,
extensionRegistry);
} catch (org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException e) {
parsedMessage = (org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Classes)
e.
getUnfinishedMessage();
throw
e;
} finally {
if (
parsedMessage != null) {
mergeFrom(
parsedMessage);
}
}
return this;
}
private int
bitField0_;
private java.util.
List<java.lang.
Integer>
className_ = java.util.
Collections.
emptyList();
private void
ensureClassNameIsMutable() {
if (!((
bitField0_ & 0x00000001) == 0x00000001)) {
className_ = new java.util.
ArrayList<java.lang.
Integer>(
className_);
bitField0_ |= 0x00000001;
}
}
/**
* <code>repeated int32 class_name = 1 [packed = true];</code>
*
* <pre>
* id in StringTable
* </pre>
*/
public java.util.
List<java.lang.
Integer>
getClassNameList() {
return java.util.
Collections.
unmodifiableList(
className_);
}
/**
* <code>repeated int32 class_name = 1 [packed = true];</code>
*
* <pre>
* id in StringTable
* </pre>
*/
public int
getClassNameCount() {
return
className_.
size();
}
/**
* <code>repeated int32 class_name = 1 [packed = true];</code>
*
* <pre>
* id in StringTable
* </pre>
*/
public int
getClassName(int
index) {
return
className_.
get(
index);
}
/**
* <code>repeated int32 class_name = 1 [packed = true];</code>
*
* <pre>
* id in StringTable
* </pre>
*/
public
Builder setClassName(
int
index, int
value) {
ensureClassNameIsMutable();
className_.
set(
index,
value);
return this;
}
/**
* <code>repeated int32 class_name = 1 [packed = true];</code>
*
* <pre>
* id in StringTable
* </pre>
*/
public
Builder addClassName(int
value) {
ensureClassNameIsMutable();
className_.
add(
value);
return this;
}
/**
* <code>repeated int32 class_name = 1 [packed = true];</code>
*
* <pre>
* id in StringTable
* </pre>
*/
public
Builder addAllClassName(
java.lang.
Iterable<? extends java.lang.
Integer>
values) {
ensureClassNameIsMutable();
org.jetbrains.kotlin.protobuf.
AbstractMessageLite.
Builder.
addAll(
values,
className_);
return this;
}
/**
* <code>repeated int32 class_name = 1 [packed = true];</code>
*
* <pre>
* id in StringTable
* </pre>
*/
public
Builder clearClassName() {
className_ = java.util.
Collections.
emptyList();
bitField0_ = (
bitField0_ & ~0x00000001);
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.metadata.js.Classes)
}
static {
defaultInstance = new
Classes(true);
defaultInstance.
initFields();
}
// @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.metadata.js.Classes)
}
public interface
LibraryOrBuilder extends
// @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.metadata.js.Library)
org.jetbrains.kotlin.protobuf.
MessageLiteOrBuilder {
/**
* <code>optional .org.jetbrains.kotlin.metadata.js.Library.Kind kind = 1 [default = PLAIN];</code>
*/
boolean
hasKind();
/**
* <code>optional .org.jetbrains.kotlin.metadata.js.Library.Kind kind = 1 [default = PLAIN];</code>
*/
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library.
Kind getKind();
/**
* <code>repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2;</code>
*/
java.util.
List<org.jetbrains.kotlin.metadata.
ProtoBuf.
PackageFragment>
getPackageFragmentList();
/**
* <code>repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2;</code>
*/
org.jetbrains.kotlin.metadata.
ProtoBuf.
PackageFragment getPackageFragment(int
index);
/**
* <code>repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2;</code>
*/
int
getPackageFragmentCount();
/**
* <code>repeated string imported_module = 3;</code>
*/
org.jetbrains.kotlin.protobuf.
ProtocolStringList
getImportedModuleList();
/**
* <code>repeated string imported_module = 3;</code>
*/
int
getImportedModuleCount();
/**
* <code>repeated string imported_module = 3;</code>
*/
java.lang.
String getImportedModule(int
index);
/**
* <code>repeated string imported_module = 3;</code>
*/
org.jetbrains.kotlin.protobuf.
ByteString
getImportedModuleBytes(int
index);
}
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.js.Library}
*/
public static final class
Library extends
org.jetbrains.kotlin.protobuf.
GeneratedMessageLite implements
// @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.metadata.js.Library)
LibraryOrBuilder {
// Use Library.newBuilder() to construct.
private
Library(org.jetbrains.kotlin.protobuf.
GeneratedMessageLite.
Builder builder) {
super(
builder);
this.
unknownFields =
builder.
getUnknownFields();
}
private
Library(boolean
noInit) { this.
unknownFields = org.jetbrains.kotlin.protobuf.
ByteString.
EMPTY;}
private static final
Library defaultInstance;
public static
Library getDefaultInstance() {
return
defaultInstance;
}
public
Library getDefaultInstanceForType() {
return
defaultInstance;
}
private final org.jetbrains.kotlin.protobuf.
ByteString unknownFields;
private
Library(
org.jetbrains.kotlin.protobuf.
CodedInputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
initFields();
int
mutable_bitField0_ = 0;
org.jetbrains.kotlin.protobuf.
ByteString.
Output unknownFieldsOutput =
org.jetbrains.kotlin.protobuf.
ByteString.
newOutput();
org.jetbrains.kotlin.protobuf.
CodedOutputStream unknownFieldsCodedOutput =
org.jetbrains.kotlin.protobuf.
CodedOutputStream.
newInstance(
unknownFieldsOutput, 1);
try {
boolean
done = false;
while (!
done) {
int
tag =
input.
readTag();
switch (
tag) {
case 0:
done = true;
break;
default: {
if (!
parseUnknownField(
input,
unknownFieldsCodedOutput,
extensionRegistry,
tag)) {
done = true;
}
break;
}
case 8: {
int
rawValue =
input.
readEnum();
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library.
Kind value = org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library.
Kind.
valueOf(
rawValue);
if (
value == null) {
unknownFieldsCodedOutput.
writeRawVarint32(
tag);
unknownFieldsCodedOutput.
writeRawVarint32(
rawValue);
} else {
bitField0_ |= 0x00000001;
kind_ =
value;
}
break;
}
case 18: {
if (!((
mutable_bitField0_ & 0x00000002) == 0x00000002)) {
packageFragment_ = new java.util.
ArrayList<org.jetbrains.kotlin.metadata.
ProtoBuf.
PackageFragment>();
mutable_bitField0_ |= 0x00000002;
}
packageFragment_.
add(
input.
readMessage(org.jetbrains.kotlin.metadata.
ProtoBuf.
PackageFragment.
PARSER,
extensionRegistry));
break;
}
case 26: {
org.jetbrains.kotlin.protobuf.
ByteString bs =
input.
readBytes();
if (!((
mutable_bitField0_ & 0x00000004) == 0x00000004)) {
importedModule_ = new org.jetbrains.kotlin.protobuf.
LazyStringArrayList();
mutable_bitField0_ |= 0x00000004;
}
importedModule_.
add(
bs);
break;
}
}
}
} catch (org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException e) {
throw
e.
setUnfinishedMessage(this);
} catch (java.io.
IOException e) {
throw new org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException(
e.
getMessage()).
setUnfinishedMessage(this);
} finally {
if (((
mutable_bitField0_ & 0x00000002) == 0x00000002)) {
packageFragment_ = java.util.
Collections.
unmodifiableList(
packageFragment_);
}
if (((
mutable_bitField0_ & 0x00000004) == 0x00000004)) {
importedModule_ =
importedModule_.
getUnmodifiableView();
}
try {
unknownFieldsCodedOutput.
flush();
} catch (java.io.
IOException e) {
// Should not happen
} finally {
unknownFields =
unknownFieldsOutput.
toByteString();
}
makeExtensionsImmutable();
}
}
public static org.jetbrains.kotlin.protobuf.
Parser<
Library>
PARSER =
new org.jetbrains.kotlin.protobuf.
AbstractParser<
Library>() {
public
Library parsePartialFrom(
org.jetbrains.kotlin.protobuf.
CodedInputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
return new
Library(
input,
extensionRegistry);
}
};
@java.lang.
Override
public org.jetbrains.kotlin.protobuf.
Parser<
Library>
getParserForType() {
return
PARSER;
}
/**
* Protobuf enum {@code org.jetbrains.kotlin.metadata.js.Library.Kind}
*/
public enum
Kind
implements org.jetbrains.kotlin.protobuf.
Internal.
EnumLite {
/**
* <code>PLAIN = 1;</code>
*/
PLAIN(0, 1),
/**
* <code>AMD = 2;</code>
*/
AMD(1, 2),
/**
* <code>COMMON_JS = 3;</code>
*/
COMMON_JS(2, 3),
/**
* <code>UMD = 4;</code>
*/
UMD(3, 4),
;
/**
* <code>PLAIN = 1;</code>
*/
public static final int
PLAIN_VALUE = 1;
/**
* <code>AMD = 2;</code>
*/
public static final int
AMD_VALUE = 2;
/**
* <code>COMMON_JS = 3;</code>
*/
public static final int
COMMON_JS_VALUE = 3;
/**
* <code>UMD = 4;</code>
*/
public static final int
UMD_VALUE = 4;
public final int
getNumber() { return
value; }
public static
Kind valueOf(int
value) {
switch (
value) {
case 1: return
PLAIN;
case 2: return
AMD;
case 3: return
COMMON_JS;
case 4: return
UMD;
default: return null;
}
}
public static org.jetbrains.kotlin.protobuf.
Internal.
EnumLiteMap<
Kind>
internalGetValueMap() {
return
internalValueMap;
}
private static org.jetbrains.kotlin.protobuf.
Internal.
EnumLiteMap<
Kind>
internalValueMap =
new org.jetbrains.kotlin.protobuf.
Internal.
EnumLiteMap<
Kind>() {
public
Kind findValueByNumber(int
number) {
return
Kind.
valueOf(
number);
}
};
private final int
value;
private
Kind(int
index, int
value) {
this.
value =
value;
}
// @@protoc_insertion_point(enum_scope:org.jetbrains.kotlin.metadata.js.Library.Kind)
}
private int
bitField0_;
public static final int
KIND_FIELD_NUMBER = 1;
private org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library.
Kind kind_;
/**
* <code>optional .org.jetbrains.kotlin.metadata.js.Library.Kind kind = 1 [default = PLAIN];</code>
*/
public boolean
hasKind() {
return ((
bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional .org.jetbrains.kotlin.metadata.js.Library.Kind kind = 1 [default = PLAIN];</code>
*/
public org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library.
Kind getKind() {
return
kind_;
}
public static final int
PACKAGE_FRAGMENT_FIELD_NUMBER = 2;
private java.util.
List<org.jetbrains.kotlin.metadata.
ProtoBuf.
PackageFragment>
packageFragment_;
/**
* <code>repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2;</code>
*/
public java.util.
List<org.jetbrains.kotlin.metadata.
ProtoBuf.
PackageFragment>
getPackageFragmentList() {
return
packageFragment_;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2;</code>
*/
public java.util.
List<? extends org.jetbrains.kotlin.metadata.
ProtoBuf.
PackageFragmentOrBuilder>
getPackageFragmentOrBuilderList() {
return
packageFragment_;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2;</code>
*/
public int
getPackageFragmentCount() {
return
packageFragment_.
size();
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2;</code>
*/
public org.jetbrains.kotlin.metadata.
ProtoBuf.
PackageFragment getPackageFragment(int
index) {
return
packageFragment_.
get(
index);
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2;</code>
*/
public org.jetbrains.kotlin.metadata.
ProtoBuf.
PackageFragmentOrBuilder getPackageFragmentOrBuilder(
int
index) {
return
packageFragment_.
get(
index);
}
public static final int
IMPORTED_MODULE_FIELD_NUMBER = 3;
private org.jetbrains.kotlin.protobuf.
LazyStringList importedModule_;
/**
* <code>repeated string imported_module = 3;</code>
*/
public org.jetbrains.kotlin.protobuf.
ProtocolStringList
getImportedModuleList() {
return
importedModule_;
}
/**
* <code>repeated string imported_module = 3;</code>
*/
public int
getImportedModuleCount() {
return
importedModule_.
size();
}
/**
* <code>repeated string imported_module = 3;</code>
*/
public java.lang.
String getImportedModule(int
index) {
return
importedModule_.
get(
index);
}
/**
* <code>repeated string imported_module = 3;</code>
*/
public org.jetbrains.kotlin.protobuf.
ByteString
getImportedModuleBytes(int
index) {
return
importedModule_.
getByteString(
index);
}
private void
initFields() {
kind_ = org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library.
Kind.
PLAIN;
packageFragment_ = java.util.
Collections.
emptyList();
importedModule_ = org.jetbrains.kotlin.protobuf.
LazyStringArrayList.
EMPTY;
}
private byte
memoizedIsInitialized = -1;
public final boolean
isInitialized() {
byte
isInitialized =
memoizedIsInitialized;
if (
isInitialized == 1) return true;
if (
isInitialized == 0) return false;
for (int
i = 0;
i <
getPackageFragmentCount();
i++) {
if (!
getPackageFragment(
i).
isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void
writeTo(org.jetbrains.kotlin.protobuf.
CodedOutputStream output)
throws java.io.
IOException {
getSerializedSize();
if (((
bitField0_ & 0x00000001) == 0x00000001)) {
output.
writeEnum(1,
kind_.
getNumber());
}
for (int
i = 0;
i <
packageFragment_.
size();
i++) {
output.
writeMessage(2,
packageFragment_.
get(
i));
}
for (int
i = 0;
i <
importedModule_.
size();
i++) {
output.
writeBytes(3,
importedModule_.
getByteString(
i));
}
output.
writeRawBytes(
unknownFields);
}
private int
memoizedSerializedSize = -1;
public int
getSerializedSize() {
int
size =
memoizedSerializedSize;
if (
size != -1) return
size;
size = 0;
if (((
bitField0_ & 0x00000001) == 0x00000001)) {
size += org.jetbrains.kotlin.protobuf.
CodedOutputStream
.
computeEnumSize(1,
kind_.
getNumber());
}
for (int
i = 0;
i <
packageFragment_.
size();
i++) {
size += org.jetbrains.kotlin.protobuf.
CodedOutputStream
.
computeMessageSize(2,
packageFragment_.
get(
i));
}
{
int
dataSize = 0;
for (int
i = 0;
i <
importedModule_.
size();
i++) {
dataSize += org.jetbrains.kotlin.protobuf.
CodedOutputStream
.
computeBytesSizeNoTag(
importedModule_.
getByteString(
i));
}
size +=
dataSize;
size += 1 *
getImportedModuleList().
size();
}
size +=
unknownFields.
size();
memoizedSerializedSize =
size;
return
size;
}
private static final long
serialVersionUID = 0L;
@java.lang.
Override
protected java.lang.
Object writeReplace()
throws java.io.
ObjectStreamException {
return super.writeReplace();
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library parseFrom(
org.jetbrains.kotlin.protobuf.
ByteString data)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
return
PARSER.
parseFrom(
data);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library parseFrom(
org.jetbrains.kotlin.protobuf.
ByteString data,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
return
PARSER.
parseFrom(
data,
extensionRegistry);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library parseFrom(byte[]
data)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
return
PARSER.
parseFrom(
data);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library parseFrom(
byte[]
data,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException {
return
PARSER.
parseFrom(
data,
extensionRegistry);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library parseFrom(java.io.
InputStream input)
throws java.io.
IOException {
return
PARSER.
parseFrom(
input);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library parseFrom(
java.io.
InputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws java.io.
IOException {
return
PARSER.
parseFrom(
input,
extensionRegistry);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library parseDelimitedFrom(java.io.
InputStream input)
throws java.io.
IOException {
return
PARSER.
parseDelimitedFrom(
input);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library parseDelimitedFrom(
java.io.
InputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws java.io.
IOException {
return
PARSER.
parseDelimitedFrom(
input,
extensionRegistry);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library parseFrom(
org.jetbrains.kotlin.protobuf.
CodedInputStream input)
throws java.io.
IOException {
return
PARSER.
parseFrom(
input);
}
public static org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library parseFrom(
org.jetbrains.kotlin.protobuf.
CodedInputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws java.io.
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.metadata.js.
JsProtoBuf.
Library prototype) {
return
newBuilder().
mergeFrom(
prototype);
}
public
Builder toBuilder() { return
newBuilder(this); }
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.js.Library}
*/
public static final class
Builder extends
org.jetbrains.kotlin.protobuf.
GeneratedMessageLite.
Builder<
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library,
Builder>
implements
// @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.metadata.js.Library)
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
LibraryOrBuilder {
// Construct using org.jetbrains.kotlin.metadata.js.JsProtoBuf.Library.newBuilder()
private
Builder() {
maybeForceBuilderInitialization();
}
private void
maybeForceBuilderInitialization() {
}
private static
Builder create() {
return new
Builder();
}
public
Builder clear() {
super.clear();
kind_ = org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library.
Kind.
PLAIN;
bitField0_ = (
bitField0_ & ~0x00000001);
packageFragment_ = java.util.
Collections.
emptyList();
bitField0_ = (
bitField0_ & ~0x00000002);
importedModule_ = org.jetbrains.kotlin.protobuf.
LazyStringArrayList.
EMPTY;
bitField0_ = (
bitField0_ & ~0x00000004);
return this;
}
public
Builder clone() {
return
create().
mergeFrom(
buildPartial());
}
public org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library getDefaultInstanceForType() {
return org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library.
getDefaultInstance();
}
public org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library build() {
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library result =
buildPartial();
if (!
result.
isInitialized()) {
throw
newUninitializedMessageException(
result);
}
return
result;
}
public org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library buildPartial() {
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library result = new org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library(this);
int
from_bitField0_ =
bitField0_;
int
to_bitField0_ = 0;
if (((
from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.
kind_ =
kind_;
if (((
bitField0_ & 0x00000002) == 0x00000002)) {
packageFragment_ = java.util.
Collections.
unmodifiableList(
packageFragment_);
bitField0_ = (
bitField0_ & ~0x00000002);
}
result.
packageFragment_ =
packageFragment_;
if (((
bitField0_ & 0x00000004) == 0x00000004)) {
importedModule_ =
importedModule_.
getUnmodifiableView();
bitField0_ = (
bitField0_ & ~0x00000004);
}
result.
importedModule_ =
importedModule_;
result.
bitField0_ =
to_bitField0_;
return
result;
}
public
Builder mergeFrom(org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library other) {
if (
other == org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library.
getDefaultInstance()) return this;
if (
other.
hasKind()) {
setKind(
other.
getKind());
}
if (!
other.
packageFragment_.
isEmpty()) {
if (
packageFragment_.
isEmpty()) {
packageFragment_ =
other.
packageFragment_;
bitField0_ = (
bitField0_ & ~0x00000002);
} else {
ensurePackageFragmentIsMutable();
packageFragment_.
addAll(
other.
packageFragment_);
}
}
if (!
other.
importedModule_.
isEmpty()) {
if (
importedModule_.
isEmpty()) {
importedModule_ =
other.
importedModule_;
bitField0_ = (
bitField0_ & ~0x00000004);
} else {
ensureImportedModuleIsMutable();
importedModule_.
addAll(
other.
importedModule_);
}
}
setUnknownFields(
getUnknownFields().
concat(
other.
unknownFields));
return this;
}
public final boolean
isInitialized() {
for (int
i = 0;
i <
getPackageFragmentCount();
i++) {
if (!
getPackageFragment(
i).
isInitialized()) {
return false;
}
}
return true;
}
public
Builder mergeFrom(
org.jetbrains.kotlin.protobuf.
CodedInputStream input,
org.jetbrains.kotlin.protobuf.
ExtensionRegistryLite extensionRegistry)
throws java.io.
IOException {
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library parsedMessage = null;
try {
parsedMessage =
PARSER.
parsePartialFrom(
input,
extensionRegistry);
} catch (org.jetbrains.kotlin.protobuf.
InvalidProtocolBufferException e) {
parsedMessage = (org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library)
e.
getUnfinishedMessage();
throw
e;
} finally {
if (
parsedMessage != null) {
mergeFrom(
parsedMessage);
}
}
return this;
}
private int
bitField0_;
private org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library.
Kind kind_ = org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library.
Kind.
PLAIN;
/**
* <code>optional .org.jetbrains.kotlin.metadata.js.Library.Kind kind = 1 [default = PLAIN];</code>
*/
public boolean
hasKind() {
return ((
bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional .org.jetbrains.kotlin.metadata.js.Library.Kind kind = 1 [default = PLAIN];</code>
*/
public org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library.
Kind getKind() {
return
kind_;
}
/**
* <code>optional .org.jetbrains.kotlin.metadata.js.Library.Kind kind = 1 [default = PLAIN];</code>
*/
public
Builder setKind(org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library.
Kind value) {
if (
value == null) {
throw new
NullPointerException();
}
bitField0_ |= 0x00000001;
kind_ =
value;
return this;
}
/**
* <code>optional .org.jetbrains.kotlin.metadata.js.Library.Kind kind = 1 [default = PLAIN];</code>
*/
public
Builder clearKind() {
bitField0_ = (
bitField0_ & ~0x00000001);
kind_ = org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Library.
Kind.
PLAIN;
return this;
}
private java.util.
List<org.jetbrains.kotlin.metadata.
ProtoBuf.
PackageFragment>
packageFragment_ =
java.util.
Collections.
emptyList();
private void
ensurePackageFragmentIsMutable() {
if (!((
bitField0_ & 0x00000002) == 0x00000002)) {
packageFragment_ = new java.util.
ArrayList<org.jetbrains.kotlin.metadata.
ProtoBuf.
PackageFragment>(
packageFragment_);
bitField0_ |= 0x00000002;
}
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2;</code>
*/
public java.util.
List<org.jetbrains.kotlin.metadata.
ProtoBuf.
PackageFragment>
getPackageFragmentList() {
return java.util.
Collections.
unmodifiableList(
packageFragment_);
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2;</code>
*/
public int
getPackageFragmentCount() {
return
packageFragment_.
size();
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2;</code>
*/
public org.jetbrains.kotlin.metadata.
ProtoBuf.
PackageFragment getPackageFragment(int
index) {
return
packageFragment_.
get(
index);
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2;</code>
*/
public
Builder setPackageFragment(
int
index, org.jetbrains.kotlin.metadata.
ProtoBuf.
PackageFragment value) {
if (
value == null) {
throw new
NullPointerException();
}
ensurePackageFragmentIsMutable();
packageFragment_.
set(
index,
value);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2;</code>
*/
public
Builder setPackageFragment(
int
index, org.jetbrains.kotlin.metadata.
ProtoBuf.
PackageFragment.
Builder builderForValue) {
ensurePackageFragmentIsMutable();
packageFragment_.
set(
index,
builderForValue.
build());
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2;</code>
*/
public
Builder addPackageFragment(org.jetbrains.kotlin.metadata.
ProtoBuf.
PackageFragment value) {
if (
value == null) {
throw new
NullPointerException();
}
ensurePackageFragmentIsMutable();
packageFragment_.
add(
value);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2;</code>
*/
public
Builder addPackageFragment(
int
index, org.jetbrains.kotlin.metadata.
ProtoBuf.
PackageFragment value) {
if (
value == null) {
throw new
NullPointerException();
}
ensurePackageFragmentIsMutable();
packageFragment_.
add(
index,
value);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2;</code>
*/
public
Builder addPackageFragment(
org.jetbrains.kotlin.metadata.
ProtoBuf.
PackageFragment.
Builder builderForValue) {
ensurePackageFragmentIsMutable();
packageFragment_.
add(
builderForValue.
build());
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2;</code>
*/
public
Builder addPackageFragment(
int
index, org.jetbrains.kotlin.metadata.
ProtoBuf.
PackageFragment.
Builder builderForValue) {
ensurePackageFragmentIsMutable();
packageFragment_.
add(
index,
builderForValue.
build());
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2;</code>
*/
public
Builder addAllPackageFragment(
java.lang.
Iterable<? extends org.jetbrains.kotlin.metadata.
ProtoBuf.
PackageFragment>
values) {
ensurePackageFragmentIsMutable();
org.jetbrains.kotlin.protobuf.
AbstractMessageLite.
Builder.
addAll(
values,
packageFragment_);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2;</code>
*/
public
Builder clearPackageFragment() {
packageFragment_ = java.util.
Collections.
emptyList();
bitField0_ = (
bitField0_ & ~0x00000002);
return this;
}
/**
* <code>repeated .org.jetbrains.kotlin.metadata.PackageFragment package_fragment = 2;</code>
*/
public
Builder removePackageFragment(int
index) {
ensurePackageFragmentIsMutable();
packageFragment_.
remove(
index);
return this;
}
private org.jetbrains.kotlin.protobuf.
LazyStringList importedModule_ = org.jetbrains.kotlin.protobuf.
LazyStringArrayList.
EMPTY;
private void
ensureImportedModuleIsMutable() {
if (!((
bitField0_ & 0x00000004) == 0x00000004)) {
importedModule_ = new org.jetbrains.kotlin.protobuf.
LazyStringArrayList(
importedModule_);
bitField0_ |= 0x00000004;
}
}
/**
* <code>repeated string imported_module = 3;</code>
*/
public org.jetbrains.kotlin.protobuf.
ProtocolStringList
getImportedModuleList() {
return
importedModule_.
getUnmodifiableView();
}
/**
* <code>repeated string imported_module = 3;</code>
*/
public int
getImportedModuleCount() {
return
importedModule_.
size();
}
/**
* <code>repeated string imported_module = 3;</code>
*/
public java.lang.
String getImportedModule(int
index) {
return
importedModule_.
get(
index);
}
/**
* <code>repeated string imported_module = 3;</code>
*/
public org.jetbrains.kotlin.protobuf.
ByteString
getImportedModuleBytes(int
index) {
return
importedModule_.
getByteString(
index);
}
/**
* <code>repeated string imported_module = 3;</code>
*/
public
Builder setImportedModule(
int
index, java.lang.
String value) {
if (
value == null) {
throw new
NullPointerException();
}
ensureImportedModuleIsMutable();
importedModule_.
set(
index,
value);
return this;
}
/**
* <code>repeated string imported_module = 3;</code>
*/
public
Builder addImportedModule(
java.lang.
String value) {
if (
value == null) {
throw new
NullPointerException();
}
ensureImportedModuleIsMutable();
importedModule_.
add(
value);
return this;
}
/**
* <code>repeated string imported_module = 3;</code>
*/
public
Builder addAllImportedModule(
java.lang.
Iterable<java.lang.
String>
values) {
ensureImportedModuleIsMutable();
org.jetbrains.kotlin.protobuf.
AbstractMessageLite.
Builder.
addAll(
values,
importedModule_);
return this;
}
/**
* <code>repeated string imported_module = 3;</code>
*/
public
Builder clearImportedModule() {
importedModule_ = org.jetbrains.kotlin.protobuf.
LazyStringArrayList.
EMPTY;
bitField0_ = (
bitField0_ & ~0x00000004);
return this;
}
/**
* <code>repeated string imported_module = 3;</code>
*/
public
Builder addImportedModuleBytes(
org.jetbrains.kotlin.protobuf.
ByteString value) {
if (
value == null) {
throw new
NullPointerException();
}
ensureImportedModuleIsMutable();
importedModule_.
add(
value);
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.metadata.js.Library)
}
static {
defaultInstance = new
Library(true);
defaultInstance.
initFields();
}
// @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.metadata.js.Library)
}
public static final int
PACKAGE_FQ_NAME_FIELD_NUMBER = 131;
/**
* <code>extend .org.jetbrains.kotlin.metadata.Package { ... }</code>
*/
public static final
org.jetbrains.kotlin.protobuf.
GeneratedMessageLite.
GeneratedExtension<
org.jetbrains.kotlin.metadata.
ProtoBuf.
Package,
java.lang.
Integer>
packageFqName = org.jetbrains.kotlin.protobuf.
GeneratedMessageLite
.
newSingularGeneratedExtension(
org.jetbrains.kotlin.metadata.
ProtoBuf.
Package.
getDefaultInstance(),
0,
null,
null,
131,
org.jetbrains.kotlin.protobuf.
WireFormat.
FieldType.
INT32,
java.lang.
Integer.class);
public static final int
CLASS_ANNOTATION_FIELD_NUMBER = 130;
/**
* <code>extend .org.jetbrains.kotlin.metadata.Class { ... }</code>
*/
public static final
org.jetbrains.kotlin.protobuf.
GeneratedMessageLite.
GeneratedExtension<
org.jetbrains.kotlin.metadata.
ProtoBuf.
Class,
java.util.
List<org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation>>
classAnnotation = org.jetbrains.kotlin.protobuf.
GeneratedMessageLite
.
newRepeatedGeneratedExtension(
org.jetbrains.kotlin.metadata.
ProtoBuf.
Class.
getDefaultInstance(),
org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.
getDefaultInstance(),
null,
130,
org.jetbrains.kotlin.protobuf.
WireFormat.
FieldType.
MESSAGE,
false,
org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.class);
public static final int
CLASS_CONTAINING_FILE_ID_FIELD_NUMBER = 135;
/**
* <code>extend .org.jetbrains.kotlin.metadata.Class { ... }</code>
*/
public static final
org.jetbrains.kotlin.protobuf.
GeneratedMessageLite.
GeneratedExtension<
org.jetbrains.kotlin.metadata.
ProtoBuf.
Class,
java.lang.
Integer>
classContainingFileId = org.jetbrains.kotlin.protobuf.
GeneratedMessageLite
.
newSingularGeneratedExtension(
org.jetbrains.kotlin.metadata.
ProtoBuf.
Class.
getDefaultInstance(),
0,
null,
null,
135,
org.jetbrains.kotlin.protobuf.
WireFormat.
FieldType.
INT32,
java.lang.
Integer.class);
public static final int
CONSTRUCTOR_ANNOTATION_FIELD_NUMBER = 130;
/**
* <code>extend .org.jetbrains.kotlin.metadata.Constructor { ... }</code>
*/
public static final
org.jetbrains.kotlin.protobuf.
GeneratedMessageLite.
GeneratedExtension<
org.jetbrains.kotlin.metadata.
ProtoBuf.
Constructor,
java.util.
List<org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation>>
constructorAnnotation = org.jetbrains.kotlin.protobuf.
GeneratedMessageLite
.
newRepeatedGeneratedExtension(
org.jetbrains.kotlin.metadata.
ProtoBuf.
Constructor.
getDefaultInstance(),
org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.
getDefaultInstance(),
null,
130,
org.jetbrains.kotlin.protobuf.
WireFormat.
FieldType.
MESSAGE,
false,
org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.class);
public static final int
FUNCTION_ANNOTATION_FIELD_NUMBER = 130;
/**
* <code>extend .org.jetbrains.kotlin.metadata.Function { ... }</code>
*/
public static final
org.jetbrains.kotlin.protobuf.
GeneratedMessageLite.
GeneratedExtension<
org.jetbrains.kotlin.metadata.
ProtoBuf.
Function,
java.util.
List<org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation>>
functionAnnotation = org.jetbrains.kotlin.protobuf.
GeneratedMessageLite
.
newRepeatedGeneratedExtension(
org.jetbrains.kotlin.metadata.
ProtoBuf.
Function.
getDefaultInstance(),
org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.
getDefaultInstance(),
null,
130,
org.jetbrains.kotlin.protobuf.
WireFormat.
FieldType.
MESSAGE,
false,
org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.class);
public static final int
FUNCTION_CONTAINING_FILE_ID_FIELD_NUMBER = 135;
/**
* <code>extend .org.jetbrains.kotlin.metadata.Function { ... }</code>
*/
public static final
org.jetbrains.kotlin.protobuf.
GeneratedMessageLite.
GeneratedExtension<
org.jetbrains.kotlin.metadata.
ProtoBuf.
Function,
java.lang.
Integer>
functionContainingFileId = org.jetbrains.kotlin.protobuf.
GeneratedMessageLite
.
newSingularGeneratedExtension(
org.jetbrains.kotlin.metadata.
ProtoBuf.
Function.
getDefaultInstance(),
0,
null,
null,
135,
org.jetbrains.kotlin.protobuf.
WireFormat.
FieldType.
INT32,
java.lang.
Integer.class);
public static final int
PROPERTY_ANNOTATION_FIELD_NUMBER = 130;
/**
* <code>extend .org.jetbrains.kotlin.metadata.Property { ... }</code>
*/
public static final
org.jetbrains.kotlin.protobuf.
GeneratedMessageLite.
GeneratedExtension<
org.jetbrains.kotlin.metadata.
ProtoBuf.
Property,
java.util.
List<org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation>>
propertyAnnotation = org.jetbrains.kotlin.protobuf.
GeneratedMessageLite
.
newRepeatedGeneratedExtension(
org.jetbrains.kotlin.metadata.
ProtoBuf.
Property.
getDefaultInstance(),
org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.
getDefaultInstance(),
null,
130,
org.jetbrains.kotlin.protobuf.
WireFormat.
FieldType.
MESSAGE,
false,
org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.class);
public static final int
COMPILE_TIME_VALUE_FIELD_NUMBER = 131;
/**
* <code>extend .org.jetbrains.kotlin.metadata.Property { ... }</code>
*/
public static final
org.jetbrains.kotlin.protobuf.
GeneratedMessageLite.
GeneratedExtension<
org.jetbrains.kotlin.metadata.
ProtoBuf.
Property,
org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.
Argument.
Value>
compileTimeValue = org.jetbrains.kotlin.protobuf.
GeneratedMessageLite
.
newSingularGeneratedExtension(
org.jetbrains.kotlin.metadata.
ProtoBuf.
Property.
getDefaultInstance(),
org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.
Argument.
Value.
getDefaultInstance(),
org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.
Argument.
Value.
getDefaultInstance(),
null,
131,
org.jetbrains.kotlin.protobuf.
WireFormat.
FieldType.
MESSAGE,
org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.
Argument.
Value.class);
public static final int
PROPERTY_CONTAINING_FILE_ID_FIELD_NUMBER = 135;
/**
* <code>extend .org.jetbrains.kotlin.metadata.Property { ... }</code>
*/
public static final
org.jetbrains.kotlin.protobuf.
GeneratedMessageLite.
GeneratedExtension<
org.jetbrains.kotlin.metadata.
ProtoBuf.
Property,
java.lang.
Integer>
propertyContainingFileId = org.jetbrains.kotlin.protobuf.
GeneratedMessageLite
.
newSingularGeneratedExtension(
org.jetbrains.kotlin.metadata.
ProtoBuf.
Property.
getDefaultInstance(),
0,
null,
null,
135,
org.jetbrains.kotlin.protobuf.
WireFormat.
FieldType.
INT32,
java.lang.
Integer.class);
public static final int
ENUM_ENTRY_ANNOTATION_FIELD_NUMBER = 130;
/**
* <code>extend .org.jetbrains.kotlin.metadata.EnumEntry { ... }</code>
*/
public static final
org.jetbrains.kotlin.protobuf.
GeneratedMessageLite.
GeneratedExtension<
org.jetbrains.kotlin.metadata.
ProtoBuf.
EnumEntry,
java.util.
List<org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation>>
enumEntryAnnotation = org.jetbrains.kotlin.protobuf.
GeneratedMessageLite
.
newRepeatedGeneratedExtension(
org.jetbrains.kotlin.metadata.
ProtoBuf.
EnumEntry.
getDefaultInstance(),
org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.
getDefaultInstance(),
null,
130,
org.jetbrains.kotlin.protobuf.
WireFormat.
FieldType.
MESSAGE,
false,
org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.class);
public static final int
PARAMETER_ANNOTATION_FIELD_NUMBER = 130;
/**
* <code>extend .org.jetbrains.kotlin.metadata.ValueParameter { ... }</code>
*/
public static final
org.jetbrains.kotlin.protobuf.
GeneratedMessageLite.
GeneratedExtension<
org.jetbrains.kotlin.metadata.
ProtoBuf.
ValueParameter,
java.util.
List<org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation>>
parameterAnnotation = org.jetbrains.kotlin.protobuf.
GeneratedMessageLite
.
newRepeatedGeneratedExtension(
org.jetbrains.kotlin.metadata.
ProtoBuf.
ValueParameter.
getDefaultInstance(),
org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.
getDefaultInstance(),
null,
130,
org.jetbrains.kotlin.protobuf.
WireFormat.
FieldType.
MESSAGE,
false,
org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.class);
public static final int
TYPE_ANNOTATION_FIELD_NUMBER = 130;
/**
* <code>extend .org.jetbrains.kotlin.metadata.Type { ... }</code>
*/
public static final
org.jetbrains.kotlin.protobuf.
GeneratedMessageLite.
GeneratedExtension<
org.jetbrains.kotlin.metadata.
ProtoBuf.
Type,
java.util.
List<org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation>>
typeAnnotation = org.jetbrains.kotlin.protobuf.
GeneratedMessageLite
.
newRepeatedGeneratedExtension(
org.jetbrains.kotlin.metadata.
ProtoBuf.
Type.
getDefaultInstance(),
org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.
getDefaultInstance(),
null,
130,
org.jetbrains.kotlin.protobuf.
WireFormat.
FieldType.
MESSAGE,
false,
org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.class);
public static final int
TYPE_PARAMETER_ANNOTATION_FIELD_NUMBER = 130;
/**
* <code>extend .org.jetbrains.kotlin.metadata.TypeParameter { ... }</code>
*/
public static final
org.jetbrains.kotlin.protobuf.
GeneratedMessageLite.
GeneratedExtension<
org.jetbrains.kotlin.metadata.
ProtoBuf.
TypeParameter,
java.util.
List<org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation>>
typeParameterAnnotation = org.jetbrains.kotlin.protobuf.
GeneratedMessageLite
.
newRepeatedGeneratedExtension(
org.jetbrains.kotlin.metadata.
ProtoBuf.
TypeParameter.
getDefaultInstance(),
org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.
getDefaultInstance(),
null,
130,
org.jetbrains.kotlin.protobuf.
WireFormat.
FieldType.
MESSAGE,
false,
org.jetbrains.kotlin.metadata.
ProtoBuf.
Annotation.class);
public static final int
PACKAGE_FRAGMENT_FILES_FIELD_NUMBER = 130;
/**
* <code>extend .org.jetbrains.kotlin.metadata.PackageFragment { ... }</code>
*/
public static final
org.jetbrains.kotlin.protobuf.
GeneratedMessageLite.
GeneratedExtension<
org.jetbrains.kotlin.metadata.
ProtoBuf.
PackageFragment,
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Files>
packageFragmentFiles = org.jetbrains.kotlin.protobuf.
GeneratedMessageLite
.
newSingularGeneratedExtension(
org.jetbrains.kotlin.metadata.
ProtoBuf.
PackageFragment.
getDefaultInstance(),
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Files.
getDefaultInstance(),
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Files.
getDefaultInstance(),
null,
130,
org.jetbrains.kotlin.protobuf.
WireFormat.
FieldType.
MESSAGE,
org.jetbrains.kotlin.metadata.js.
JsProtoBuf.
Files.class);
static {
}
// @@protoc_insertion_point(outer_class_scope)
}