org.jetbrains.kotlin.metadata.ProtoBuf Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-util-klib Show documentation
Show all versions of kotlin-util-klib Show documentation
Common klib reader and writer
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: core/metadata/src/metadata.proto
package org.jetbrains.kotlin.metadata;
public final class ProtoBuf {
private ProtoBuf() {}
public static void registerAllExtensions(
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite registry) {
}
/**
* Protobuf enum {@code org.jetbrains.kotlin.metadata.Modality}
*/
public enum Modality
implements org.jetbrains.kotlin.protobuf.Internal.EnumLite {
/**
* FINAL = 0;
*
*
* 2 bits
*
*/
FINAL(0, 0),
/**
* OPEN = 1;
*/
OPEN(1, 1),
/**
* ABSTRACT = 2;
*/
ABSTRACT(2, 2),
/**
* SEALED = 3;
*/
SEALED(3, 3),
;
/**
* FINAL = 0;
*
*
* 2 bits
*
*/
public static final int FINAL_VALUE = 0;
/**
* OPEN = 1;
*/
public static final int OPEN_VALUE = 1;
/**
* ABSTRACT = 2;
*/
public static final int ABSTRACT_VALUE = 2;
/**
* SEALED = 3;
*/
public static final int SEALED_VALUE = 3;
public final int getNumber() { return value; }
public static Modality valueOf(int value) {
switch (value) {
case 0: return FINAL;
case 1: return OPEN;
case 2: return ABSTRACT;
case 3: return SEALED;
default: return null;
}
}
public static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap
internalValueMap =
new org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap() {
public Modality findValueByNumber(int number) {
return Modality.valueOf(number);
}
};
private final int value;
private Modality(int index, int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org.jetbrains.kotlin.metadata.Modality)
}
/**
* Protobuf enum {@code org.jetbrains.kotlin.metadata.Visibility}
*/
public enum Visibility
implements org.jetbrains.kotlin.protobuf.Internal.EnumLite {
/**
* INTERNAL = 0;
*
*
* 3 bits
*
*/
INTERNAL(0, 0),
/**
* PRIVATE = 1;
*/
PRIVATE(1, 1),
/**
* PROTECTED = 2;
*/
PROTECTED(2, 2),
/**
* PUBLIC = 3;
*/
PUBLIC(3, 3),
/**
* PRIVATE_TO_THIS = 4;
*/
PRIVATE_TO_THIS(4, 4),
/**
* LOCAL = 5;
*/
LOCAL(5, 5),
;
/**
* INTERNAL = 0;
*
*
* 3 bits
*
*/
public static final int INTERNAL_VALUE = 0;
/**
* PRIVATE = 1;
*/
public static final int PRIVATE_VALUE = 1;
/**
* PROTECTED = 2;
*/
public static final int PROTECTED_VALUE = 2;
/**
* PUBLIC = 3;
*/
public static final int PUBLIC_VALUE = 3;
/**
* PRIVATE_TO_THIS = 4;
*/
public static final int PRIVATE_TO_THIS_VALUE = 4;
/**
* LOCAL = 5;
*/
public static final int LOCAL_VALUE = 5;
public final int getNumber() { return value; }
public static Visibility valueOf(int value) {
switch (value) {
case 0: return INTERNAL;
case 1: return PRIVATE;
case 2: return PROTECTED;
case 3: return PUBLIC;
case 4: return PRIVATE_TO_THIS;
case 5: return LOCAL;
default: return null;
}
}
public static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap
internalValueMap =
new org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap() {
public Visibility findValueByNumber(int number) {
return Visibility.valueOf(number);
}
};
private final int value;
private Visibility(int index, int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org.jetbrains.kotlin.metadata.Visibility)
}
/**
* Protobuf enum {@code org.jetbrains.kotlin.metadata.MemberKind}
*/
public enum MemberKind
implements org.jetbrains.kotlin.protobuf.Internal.EnumLite {
/**
* DECLARATION = 0;
*
*
* 2 bits
*
*/
DECLARATION(0, 0),
/**
* FAKE_OVERRIDE = 1;
*/
FAKE_OVERRIDE(1, 1),
/**
* DELEGATION = 2;
*/
DELEGATION(2, 2),
/**
* SYNTHESIZED = 3;
*/
SYNTHESIZED(3, 3),
;
/**
* DECLARATION = 0;
*
*
* 2 bits
*
*/
public static final int DECLARATION_VALUE = 0;
/**
* FAKE_OVERRIDE = 1;
*/
public static final int FAKE_OVERRIDE_VALUE = 1;
/**
* DELEGATION = 2;
*/
public static final int DELEGATION_VALUE = 2;
/**
* SYNTHESIZED = 3;
*/
public static final int SYNTHESIZED_VALUE = 3;
public final int getNumber() { return value; }
public static MemberKind valueOf(int value) {
switch (value) {
case 0: return DECLARATION;
case 1: return FAKE_OVERRIDE;
case 2: return DELEGATION;
case 3: return SYNTHESIZED;
default: return null;
}
}
public static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap
internalValueMap =
new org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap() {
public MemberKind findValueByNumber(int number) {
return MemberKind.valueOf(number);
}
};
private final int value;
private MemberKind(int index, int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org.jetbrains.kotlin.metadata.MemberKind)
}
public interface StringTableOrBuilder extends
// @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.metadata.StringTable)
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
/**
* repeated string string = 1;
*/
org.jetbrains.kotlin.protobuf.ProtocolStringList
getStringList();
/**
* repeated string string = 1;
*/
int getStringCount();
/**
* repeated string string = 1;
*/
java.lang.String getString(int index);
/**
* repeated string string = 1;
*/
org.jetbrains.kotlin.protobuf.ByteString
getStringBytes(int index);
}
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.StringTable}
*/
public static final class StringTable extends
org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements
// @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.metadata.StringTable)
StringTableOrBuilder {
// Use StringTable.newBuilder() to construct.
private StringTable(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private StringTable(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;}
private static final StringTable defaultInstance;
public static StringTable getDefaultInstance() {
return defaultInstance;
}
public StringTable getDefaultInstanceForType() {
return defaultInstance;
}
private final org.jetbrains.kotlin.protobuf.ByteString unknownFields;
private StringTable(
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: {
org.jetbrains.kotlin.protobuf.ByteString bs = input.readBytes();
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
string_ = new org.jetbrains.kotlin.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
string_.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_ & 0x00000001) == 0x00000001)) {
string_ = string_.getUnmodifiableView();
}
try {
unknownFieldsCodedOutput.flush();
} catch (java.io.IOException e) {
// Should not happen
} finally {
unknownFields = unknownFieldsOutput.toByteString();
}
makeExtensionsImmutable();
}
}
public static org.jetbrains.kotlin.protobuf.Parser PARSER =
new org.jetbrains.kotlin.protobuf.AbstractParser() {
public StringTable parsePartialFrom(
org.jetbrains.kotlin.protobuf.CodedInputStream input,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return new StringTable(input, extensionRegistry);
}
};
@java.lang.Override
public org.jetbrains.kotlin.protobuf.Parser getParserForType() {
return PARSER;
}
public static final int STRING_FIELD_NUMBER = 1;
private org.jetbrains.kotlin.protobuf.LazyStringList string_;
/**
* repeated string string = 1;
*/
public org.jetbrains.kotlin.protobuf.ProtocolStringList
getStringList() {
return string_;
}
/**
* repeated string string = 1;
*/
public int getStringCount() {
return string_.size();
}
/**
* repeated string string = 1;
*/
public java.lang.String getString(int index) {
return string_.get(index);
}
/**
* repeated string string = 1;
*/
public org.jetbrains.kotlin.protobuf.ByteString
getStringBytes(int index) {
return string_.getByteString(index);
}
private void initFields() {
string_ = 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;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < string_.size(); i++) {
output.writeBytes(1, string_.getByteString(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 < string_.size(); i++) {
dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeBytesSizeNoTag(string_.getByteString(i));
}
size += dataSize;
size += 1 * getStringList().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.ProtoBuf.StringTable parseFrom(
org.jetbrains.kotlin.protobuf.ByteString data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.StringTable 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.ProtoBuf.StringTable parseFrom(byte[] data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.StringTable 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.ProtoBuf.StringTable parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.StringTable 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.ProtoBuf.StringTable parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.StringTable 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.ProtoBuf.StringTable parseFrom(
org.jetbrains.kotlin.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.StringTable 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.ProtoBuf.StringTable prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.StringTable}
*/
public static final class Builder extends
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder<
org.jetbrains.kotlin.metadata.ProtoBuf.StringTable, Builder>
implements
// @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.metadata.StringTable)
org.jetbrains.kotlin.metadata.ProtoBuf.StringTableOrBuilder {
// Construct using org.jetbrains.kotlin.metadata.ProtoBuf.StringTable.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
string_ = org.jetbrains.kotlin.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.jetbrains.kotlin.metadata.ProtoBuf.StringTable getDefaultInstanceForType() {
return org.jetbrains.kotlin.metadata.ProtoBuf.StringTable.getDefaultInstance();
}
public org.jetbrains.kotlin.metadata.ProtoBuf.StringTable build() {
org.jetbrains.kotlin.metadata.ProtoBuf.StringTable result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.jetbrains.kotlin.metadata.ProtoBuf.StringTable buildPartial() {
org.jetbrains.kotlin.metadata.ProtoBuf.StringTable result = new org.jetbrains.kotlin.metadata.ProtoBuf.StringTable(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
string_ = string_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.string_ = string_;
return result;
}
public Builder mergeFrom(org.jetbrains.kotlin.metadata.ProtoBuf.StringTable other) {
if (other == org.jetbrains.kotlin.metadata.ProtoBuf.StringTable.getDefaultInstance()) return this;
if (!other.string_.isEmpty()) {
if (string_.isEmpty()) {
string_ = other.string_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureStringIsMutable();
string_.addAll(other.string_);
}
}
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.ProtoBuf.StringTable parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.jetbrains.kotlin.metadata.ProtoBuf.StringTable) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private org.jetbrains.kotlin.protobuf.LazyStringList string_ = org.jetbrains.kotlin.protobuf.LazyStringArrayList.EMPTY;
private void ensureStringIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
string_ = new org.jetbrains.kotlin.protobuf.LazyStringArrayList(string_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string string = 1;
*/
public org.jetbrains.kotlin.protobuf.ProtocolStringList
getStringList() {
return string_.getUnmodifiableView();
}
/**
* repeated string string = 1;
*/
public int getStringCount() {
return string_.size();
}
/**
* repeated string string = 1;
*/
public java.lang.String getString(int index) {
return string_.get(index);
}
/**
* repeated string string = 1;
*/
public org.jetbrains.kotlin.protobuf.ByteString
getStringBytes(int index) {
return string_.getByteString(index);
}
/**
* repeated string string = 1;
*/
public Builder setString(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureStringIsMutable();
string_.set(index, value);
return this;
}
/**
* repeated string string = 1;
*/
public Builder addString(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureStringIsMutable();
string_.add(value);
return this;
}
/**
* repeated string string = 1;
*/
public Builder addAllString(
java.lang.Iterable values) {
ensureStringIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, string_);
return this;
}
/**
* repeated string string = 1;
*/
public Builder clearString() {
string_ = org.jetbrains.kotlin.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* repeated string string = 1;
*/
public Builder addStringBytes(
org.jetbrains.kotlin.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureStringIsMutable();
string_.add(value);
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.metadata.StringTable)
}
static {
defaultInstance = new StringTable(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.metadata.StringTable)
}
public interface QualifiedNameTableOrBuilder extends
// @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.metadata.QualifiedNameTable)
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
/**
* repeated .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
java.util.List
getQualifiedNameList();
/**
* repeated .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName getQualifiedName(int index);
/**
* repeated .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
int getQualifiedNameCount();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.QualifiedNameTable}
*/
public static final class QualifiedNameTable extends
org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements
// @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.metadata.QualifiedNameTable)
QualifiedNameTableOrBuilder {
// Use QualifiedNameTable.newBuilder() to construct.
private QualifiedNameTable(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private QualifiedNameTable(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;}
private static final QualifiedNameTable defaultInstance;
public static QualifiedNameTable getDefaultInstance() {
return defaultInstance;
}
public QualifiedNameTable getDefaultInstanceForType() {
return defaultInstance;
}
private final org.jetbrains.kotlin.protobuf.ByteString unknownFields;
private QualifiedNameTable(
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)) {
qualifiedName_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
qualifiedName_.add(input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName.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)) {
qualifiedName_ = java.util.Collections.unmodifiableList(qualifiedName_);
}
try {
unknownFieldsCodedOutput.flush();
} catch (java.io.IOException e) {
// Should not happen
} finally {
unknownFields = unknownFieldsOutput.toByteString();
}
makeExtensionsImmutable();
}
}
public static org.jetbrains.kotlin.protobuf.Parser PARSER =
new org.jetbrains.kotlin.protobuf.AbstractParser() {
public QualifiedNameTable parsePartialFrom(
org.jetbrains.kotlin.protobuf.CodedInputStream input,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return new QualifiedNameTable(input, extensionRegistry);
}
};
@java.lang.Override
public org.jetbrains.kotlin.protobuf.Parser getParserForType() {
return PARSER;
}
public interface QualifiedNameOrBuilder extends
// @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName)
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
/**
* optional int32 parent_qualified_name = 1 [default = -1];
*/
boolean hasParentQualifiedName();
/**
* optional int32 parent_qualified_name = 1 [default = -1];
*/
int getParentQualifiedName();
/**
* required int32 short_name = 2;
*
*
* id in the StringTable
*
*/
boolean hasShortName();
/**
* required int32 short_name = 2;
*
*
* id in the StringTable
*
*/
int getShortName();
/**
* optional .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
*/
boolean hasKind();
/**
* optional .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
*/
org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName.Kind getKind();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName}
*/
public static final class QualifiedName extends
org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements
// @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName)
QualifiedNameOrBuilder {
// Use QualifiedName.newBuilder() to construct.
private QualifiedName(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private QualifiedName(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;}
private static final QualifiedName defaultInstance;
public static QualifiedName getDefaultInstance() {
return defaultInstance;
}
public QualifiedName getDefaultInstanceForType() {
return defaultInstance;
}
private final org.jetbrains.kotlin.protobuf.ByteString unknownFields;
private QualifiedName(
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;
parentQualifiedName_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
shortName_ = input.readInt32();
break;
}
case 24: {
int rawValue = input.readEnum();
org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName.Kind value = org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName.Kind.valueOf(rawValue);
if (value == null) {
unknownFieldsCodedOutput.writeRawVarint32(tag);
unknownFieldsCodedOutput.writeRawVarint32(rawValue);
} else {
bitField0_ |= 0x00000004;
kind_ = value;
}
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 {
try {
unknownFieldsCodedOutput.flush();
} catch (java.io.IOException e) {
// Should not happen
} finally {
unknownFields = unknownFieldsOutput.toByteString();
}
makeExtensionsImmutable();
}
}
public static org.jetbrains.kotlin.protobuf.Parser PARSER =
new org.jetbrains.kotlin.protobuf.AbstractParser() {
public QualifiedName parsePartialFrom(
org.jetbrains.kotlin.protobuf.CodedInputStream input,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return new QualifiedName(input, extensionRegistry);
}
};
@java.lang.Override
public org.jetbrains.kotlin.protobuf.Parser getParserForType() {
return PARSER;
}
/**
* Protobuf enum {@code org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName.Kind}
*/
public enum Kind
implements org.jetbrains.kotlin.protobuf.Internal.EnumLite {
/**
* CLASS = 0;
*/
CLASS(0, 0),
/**
* PACKAGE = 1;
*/
PACKAGE(1, 1),
/**
* LOCAL = 2;
*/
LOCAL(2, 2),
;
/**
* CLASS = 0;
*/
public static final int CLASS_VALUE = 0;
/**
* PACKAGE = 1;
*/
public static final int PACKAGE_VALUE = 1;
/**
* LOCAL = 2;
*/
public static final int LOCAL_VALUE = 2;
public final int getNumber() { return value; }
public static Kind valueOf(int value) {
switch (value) {
case 0: return CLASS;
case 1: return PACKAGE;
case 2: return LOCAL;
default: return null;
}
}
public static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap
internalValueMap =
new org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap() {
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.QualifiedNameTable.QualifiedName.Kind)
}
private int bitField0_;
public static final int PARENT_QUALIFIED_NAME_FIELD_NUMBER = 1;
private int parentQualifiedName_;
/**
* optional int32 parent_qualified_name = 1 [default = -1];
*/
public boolean hasParentQualifiedName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 parent_qualified_name = 1 [default = -1];
*/
public int getParentQualifiedName() {
return parentQualifiedName_;
}
public static final int SHORT_NAME_FIELD_NUMBER = 2;
private int shortName_;
/**
* required int32 short_name = 2;
*
*
* id in the StringTable
*
*/
public boolean hasShortName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 short_name = 2;
*
*
* id in the StringTable
*
*/
public int getShortName() {
return shortName_;
}
public static final int KIND_FIELD_NUMBER = 3;
private org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName.Kind kind_;
/**
* optional .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
*/
public boolean hasKind() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName.Kind getKind() {
return kind_;
}
private void initFields() {
parentQualifiedName_ = -1;
shortName_ = 0;
kind_ = org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName.Kind.PACKAGE;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasShortName()) {
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, parentQualifiedName_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, shortName_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeEnum(3, kind_.getNumber());
}
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, parentQualifiedName_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32Size(2, shortName_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeEnumSize(3, kind_.getNumber());
}
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.ProtoBuf.QualifiedNameTable.QualifiedName parseFrom(
org.jetbrains.kotlin.protobuf.ByteString data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName 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.ProtoBuf.QualifiedNameTable.QualifiedName parseFrom(byte[] data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName 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.ProtoBuf.QualifiedNameTable.QualifiedName parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName 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.ProtoBuf.QualifiedNameTable.QualifiedName parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName 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.ProtoBuf.QualifiedNameTable.QualifiedName parseFrom(
org.jetbrains.kotlin.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName 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.ProtoBuf.QualifiedNameTable.QualifiedName prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName}
*/
public static final class Builder extends
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder<
org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName, Builder>
implements
// @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName)
org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedNameOrBuilder {
// Construct using org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
parentQualifiedName_ = -1;
bitField0_ = (bitField0_ & ~0x00000001);
shortName_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
kind_ = org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName.Kind.PACKAGE;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName getDefaultInstanceForType() {
return org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName.getDefaultInstance();
}
public org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName build() {
org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName buildPartial() {
org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName result = new org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.parentQualifiedName_ = parentQualifiedName_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.shortName_ = shortName_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.kind_ = kind_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName other) {
if (other == org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName.getDefaultInstance()) return this;
if (other.hasParentQualifiedName()) {
setParentQualifiedName(other.getParentQualifiedName());
}
if (other.hasShortName()) {
setShortName(other.getShortName());
}
if (other.hasKind()) {
setKind(other.getKind());
}
setUnknownFields(
getUnknownFields().concat(other.unknownFields));
return this;
}
public final boolean isInitialized() {
if (!hasShortName()) {
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.ProtoBuf.QualifiedNameTable.QualifiedName parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int parentQualifiedName_ = -1;
/**
* optional int32 parent_qualified_name = 1 [default = -1];
*/
public boolean hasParentQualifiedName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 parent_qualified_name = 1 [default = -1];
*/
public int getParentQualifiedName() {
return parentQualifiedName_;
}
/**
* optional int32 parent_qualified_name = 1 [default = -1];
*/
public Builder setParentQualifiedName(int value) {
bitField0_ |= 0x00000001;
parentQualifiedName_ = value;
return this;
}
/**
* optional int32 parent_qualified_name = 1 [default = -1];
*/
public Builder clearParentQualifiedName() {
bitField0_ = (bitField0_ & ~0x00000001);
parentQualifiedName_ = -1;
return this;
}
private int shortName_ ;
/**
* required int32 short_name = 2;
*
*
* id in the StringTable
*
*/
public boolean hasShortName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 short_name = 2;
*
*
* id in the StringTable
*
*/
public int getShortName() {
return shortName_;
}
/**
* required int32 short_name = 2;
*
*
* id in the StringTable
*
*/
public Builder setShortName(int value) {
bitField0_ |= 0x00000002;
shortName_ = value;
return this;
}
/**
* required int32 short_name = 2;
*
*
* id in the StringTable
*
*/
public Builder clearShortName() {
bitField0_ = (bitField0_ & ~0x00000002);
shortName_ = 0;
return this;
}
private org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName.Kind kind_ = org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName.Kind.PACKAGE;
/**
* optional .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
*/
public boolean hasKind() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName.Kind getKind() {
return kind_;
}
/**
* optional .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
*/
public Builder setKind(org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName.Kind value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
kind_ = value;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
*/
public Builder clearKind() {
bitField0_ = (bitField0_ & ~0x00000004);
kind_ = org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName.Kind.PACKAGE;
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName)
}
static {
defaultInstance = new QualifiedName(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName)
}
public static final int QUALIFIED_NAME_FIELD_NUMBER = 1;
private java.util.List qualifiedName_;
/**
* repeated .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public java.util.List getQualifiedNameList() {
return qualifiedName_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public java.util.List extends org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedNameOrBuilder>
getQualifiedNameOrBuilderList() {
return qualifiedName_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public int getQualifiedNameCount() {
return qualifiedName_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName getQualifiedName(int index) {
return qualifiedName_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedNameOrBuilder getQualifiedNameOrBuilder(
int index) {
return qualifiedName_.get(index);
}
private void initFields() {
qualifiedName_ = 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 < getQualifiedNameCount(); i++) {
if (!getQualifiedName(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 < qualifiedName_.size(); i++) {
output.writeMessage(1, qualifiedName_.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 < qualifiedName_.size(); i++) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(1, qualifiedName_.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.ProtoBuf.QualifiedNameTable parseFrom(
org.jetbrains.kotlin.protobuf.ByteString data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable 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.ProtoBuf.QualifiedNameTable parseFrom(byte[] data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable 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.ProtoBuf.QualifiedNameTable parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable 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.ProtoBuf.QualifiedNameTable parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable 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.ProtoBuf.QualifiedNameTable parseFrom(
org.jetbrains.kotlin.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable 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.ProtoBuf.QualifiedNameTable prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.QualifiedNameTable}
*/
public static final class Builder extends
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder<
org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable, Builder>
implements
// @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.metadata.QualifiedNameTable)
org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTableOrBuilder {
// Construct using org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
qualifiedName_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable getDefaultInstanceForType() {
return org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.getDefaultInstance();
}
public org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable build() {
org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable buildPartial() {
org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable result = new org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
qualifiedName_ = java.util.Collections.unmodifiableList(qualifiedName_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.qualifiedName_ = qualifiedName_;
return result;
}
public Builder mergeFrom(org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable other) {
if (other == org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.getDefaultInstance()) return this;
if (!other.qualifiedName_.isEmpty()) {
if (qualifiedName_.isEmpty()) {
qualifiedName_ = other.qualifiedName_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureQualifiedNameIsMutable();
qualifiedName_.addAll(other.qualifiedName_);
}
}
setUnknownFields(
getUnknownFields().concat(other.unknownFields));
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getQualifiedNameCount(); i++) {
if (!getQualifiedName(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.ProtoBuf.QualifiedNameTable parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List qualifiedName_ =
java.util.Collections.emptyList();
private void ensureQualifiedNameIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
qualifiedName_ = new java.util.ArrayList(qualifiedName_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public java.util.List getQualifiedNameList() {
return java.util.Collections.unmodifiableList(qualifiedName_);
}
/**
* repeated .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public int getQualifiedNameCount() {
return qualifiedName_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName getQualifiedName(int index) {
return qualifiedName_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public Builder setQualifiedName(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName value) {
if (value == null) {
throw new NullPointerException();
}
ensureQualifiedNameIsMutable();
qualifiedName_.set(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public Builder setQualifiedName(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName.Builder builderForValue) {
ensureQualifiedNameIsMutable();
qualifiedName_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public Builder addQualifiedName(org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName value) {
if (value == null) {
throw new NullPointerException();
}
ensureQualifiedNameIsMutable();
qualifiedName_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public Builder addQualifiedName(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName value) {
if (value == null) {
throw new NullPointerException();
}
ensureQualifiedNameIsMutable();
qualifiedName_.add(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public Builder addQualifiedName(
org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName.Builder builderForValue) {
ensureQualifiedNameIsMutable();
qualifiedName_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public Builder addQualifiedName(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName.Builder builderForValue) {
ensureQualifiedNameIsMutable();
qualifiedName_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public Builder addAllQualifiedName(
java.lang.Iterable extends org.jetbrains.kotlin.metadata.ProtoBuf.QualifiedNameTable.QualifiedName> values) {
ensureQualifiedNameIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, qualifiedName_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public Builder clearQualifiedName() {
qualifiedName_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public Builder removeQualifiedName(int index) {
ensureQualifiedNameIsMutable();
qualifiedName_.remove(index);
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.metadata.QualifiedNameTable)
}
static {
defaultInstance = new QualifiedNameTable(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.metadata.QualifiedNameTable)
}
public interface AnnotationOrBuilder extends
// @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.metadata.Annotation)
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
/**
* required int32 id = 1;
*/
boolean hasId();
/**
* required int32 id = 1;
*/
int getId();
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument argument = 2;
*/
java.util.List
getArgumentList();
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument argument = 2;
*/
org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument getArgument(int index);
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument argument = 2;
*/
int getArgumentCount();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.Annotation}
*/
public static final class Annotation extends
org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements
// @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.metadata.Annotation)
AnnotationOrBuilder {
// Use Annotation.newBuilder() to construct.
private Annotation(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Annotation(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;}
private static final Annotation defaultInstance;
public static Annotation getDefaultInstance() {
return defaultInstance;
}
public Annotation getDefaultInstanceForType() {
return defaultInstance;
}
private final org.jetbrains.kotlin.protobuf.ByteString unknownFields;
private Annotation(
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)) {
argument_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
argument_.add(input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.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)) {
argument_ = java.util.Collections.unmodifiableList(argument_);
}
try {
unknownFieldsCodedOutput.flush();
} catch (java.io.IOException e) {
// Should not happen
} finally {
unknownFields = unknownFieldsOutput.toByteString();
}
makeExtensionsImmutable();
}
}
public static org.jetbrains.kotlin.protobuf.Parser PARSER =
new org.jetbrains.kotlin.protobuf.AbstractParser() {
public Annotation parsePartialFrom(
org.jetbrains.kotlin.protobuf.CodedInputStream input,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return new Annotation(input, extensionRegistry);
}
};
@java.lang.Override
public org.jetbrains.kotlin.protobuf.Parser getParserForType() {
return PARSER;
}
public interface ArgumentOrBuilder extends
// @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.metadata.Annotation.Argument)
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
/**
* required int32 name_id = 1;
*/
boolean hasNameId();
/**
* required int32 name_id = 1;
*/
int getNameId();
/**
* required .org.jetbrains.kotlin.metadata.Annotation.Argument.Value value = 2;
*/
boolean hasValue();
/**
* required .org.jetbrains.kotlin.metadata.Annotation.Argument.Value value = 2;
*/
org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value getValue();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.Annotation.Argument}
*/
public static final class Argument extends
org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements
// @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.metadata.Annotation.Argument)
ArgumentOrBuilder {
// Use Argument.newBuilder() to construct.
private Argument(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Argument(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;}
private static final Argument defaultInstance;
public static Argument getDefaultInstance() {
return defaultInstance;
}
public Argument getDefaultInstanceForType() {
return defaultInstance;
}
private final org.jetbrains.kotlin.protobuf.ByteString unknownFields;
private Argument(
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;
nameId_ = input.readInt32();
break;
}
case 18: {
org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = value_.toBuilder();
}
value_ = input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(value_);
value_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
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 {
try {
unknownFieldsCodedOutput.flush();
} catch (java.io.IOException e) {
// Should not happen
} finally {
unknownFields = unknownFieldsOutput.toByteString();
}
makeExtensionsImmutable();
}
}
public static org.jetbrains.kotlin.protobuf.Parser PARSER =
new org.jetbrains.kotlin.protobuf.AbstractParser() {
public Argument parsePartialFrom(
org.jetbrains.kotlin.protobuf.CodedInputStream input,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return new Argument(input, extensionRegistry);
}
};
@java.lang.Override
public org.jetbrains.kotlin.protobuf.Parser getParserForType() {
return PARSER;
}
public interface ValueOrBuilder extends
// @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.metadata.Annotation.Argument.Value)
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
/**
* optional .org.jetbrains.kotlin.metadata.Annotation.Argument.Value.Type type = 1;
*
*
* Note: a *Value* has a Type, not an Argument! This is done for future language features which may involve using arrays
* of elements of different types. Such entries are allowed in the constant pool of JVM class files.
* However, to save space, this field is optional: in case of homogeneous arrays, only the type of the first element is required
*
*/
boolean hasType();
/**
* optional .org.jetbrains.kotlin.metadata.Annotation.Argument.Value.Type type = 1;
*
*
* Note: a *Value* has a Type, not an Argument! This is done for future language features which may involve using arrays
* of elements of different types. Such entries are allowed in the constant pool of JVM class files.
* However, to save space, this field is optional: in case of homogeneous arrays, only the type of the first element is required
*
*/
org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.Type getType();
/**
* optional sint64 int_value = 2;
*/
boolean hasIntValue();
/**
* optional sint64 int_value = 2;
*/
long getIntValue();
/**
* optional float float_value = 3;
*/
boolean hasFloatValue();
/**
* optional float float_value = 3;
*/
float getFloatValue();
/**
* optional double double_value = 4;
*/
boolean hasDoubleValue();
/**
* optional double double_value = 4;
*/
double getDoubleValue();
/**
* optional int32 string_value = 5;
*/
boolean hasStringValue();
/**
* optional int32 string_value = 5;
*/
int getStringValue();
/**
* optional int32 class_id = 6;
*
*
* If type = CLASS, FQ name of the referenced class; if type = ENUM, FQ name of the enum class
*
*/
boolean hasClassId();
/**
* optional int32 class_id = 6;
*
*
* If type = CLASS, FQ name of the referenced class; if type = ENUM, FQ name of the enum class
*
*/
int getClassId();
/**
* optional int32 enum_value_id = 7;
*/
boolean hasEnumValueId();
/**
* optional int32 enum_value_id = 7;
*/
int getEnumValueId();
/**
* optional .org.jetbrains.kotlin.metadata.Annotation annotation = 8;
*/
boolean hasAnnotation();
/**
* optional .org.jetbrains.kotlin.metadata.Annotation annotation = 8;
*/
org.jetbrains.kotlin.metadata.ProtoBuf.Annotation getAnnotation();
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument.Value array_element = 9;
*/
java.util.List
getArrayElementList();
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument.Value array_element = 9;
*/
org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value getArrayElement(int index);
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument.Value array_element = 9;
*/
int getArrayElementCount();
/**
* optional int32 array_dimension_count = 11 [default = 0];
*
*
* If type = CLASS, the number of dimensions of the array of the class specified in class_id.
* E.g. if class_id = kotlin/String, this annotation argument value denotes:
* - String::class, if array_dimension_count = 0
* - Array<String>::class, if array_dimension_count = 1
* - Array<Array<String>>::class, if array_dimension_count = 2
* - etc.
* Since it's very difficult to represent Kotlin-specific type aspects (nullability, type projections) of array arguments
* in class literals on JVM, we don't bother to do represent this in our format as well.
* So, for example, values `Array<Array<in B?>>::class` and `Array<out Array<B>>?>::class` will be represented exactly the same here.
*
*/
boolean hasArrayDimensionCount();
/**
* optional int32 array_dimension_count = 11 [default = 0];
*
*
* If type = CLASS, the number of dimensions of the array of the class specified in class_id.
* E.g. if class_id = kotlin/String, this annotation argument value denotes:
* - String::class, if array_dimension_count = 0
* - Array<String>::class, if array_dimension_count = 1
* - Array<Array<String>>::class, if array_dimension_count = 2
* - etc.
* Since it's very difficult to represent Kotlin-specific type aspects (nullability, type projections) of array arguments
* in class literals on JVM, we don't bother to do represent this in our format as well.
* So, for example, values `Array<Array<in B?>>::class` and `Array<out Array<B>>?>::class` will be represented exactly the same here.
*
*/
int getArrayDimensionCount();
/**
* optional int32 flags = 10 [default = 0];
*
*
*isUnsigned
*
*/
boolean hasFlags();
/**
* optional int32 flags = 10 [default = 0];
*
*
*isUnsigned
*
*/
int getFlags();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.Annotation.Argument.Value}
*/
public static final class Value extends
org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements
// @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.metadata.Annotation.Argument.Value)
ValueOrBuilder {
// Use Value.newBuilder() to construct.
private Value(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Value(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;}
private static final Value defaultInstance;
public static Value getDefaultInstance() {
return defaultInstance;
}
public Value getDefaultInstanceForType() {
return defaultInstance;
}
private final org.jetbrains.kotlin.protobuf.ByteString unknownFields;
private Value(
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.ProtoBuf.Annotation.Argument.Value.Type value = org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.Type.valueOf(rawValue);
if (value == null) {
unknownFieldsCodedOutput.writeRawVarint32(tag);
unknownFieldsCodedOutput.writeRawVarint32(rawValue);
} else {
bitField0_ |= 0x00000001;
type_ = value;
}
break;
}
case 16: {
bitField0_ |= 0x00000002;
intValue_ = input.readSInt64();
break;
}
case 29: {
bitField0_ |= 0x00000004;
floatValue_ = input.readFloat();
break;
}
case 33: {
bitField0_ |= 0x00000008;
doubleValue_ = input.readDouble();
break;
}
case 40: {
bitField0_ |= 0x00000010;
stringValue_ = input.readInt32();
break;
}
case 48: {
bitField0_ |= 0x00000020;
classId_ = input.readInt32();
break;
}
case 56: {
bitField0_ |= 0x00000040;
enumValueId_ = input.readInt32();
break;
}
case 66: {
org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Builder subBuilder = null;
if (((bitField0_ & 0x00000080) == 0x00000080)) {
subBuilder = annotation_.toBuilder();
}
annotation_ = input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(annotation_);
annotation_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000080;
break;
}
case 74: {
if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
arrayElement_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000100;
}
arrayElement_.add(input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.PARSER, extensionRegistry));
break;
}
case 80: {
bitField0_ |= 0x00000200;
flags_ = input.readInt32();
break;
}
case 88: {
bitField0_ |= 0x00000100;
arrayDimensionCount_ = input.readInt32();
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_ & 0x00000100) == 0x00000100)) {
arrayElement_ = java.util.Collections.unmodifiableList(arrayElement_);
}
try {
unknownFieldsCodedOutput.flush();
} catch (java.io.IOException e) {
// Should not happen
} finally {
unknownFields = unknownFieldsOutput.toByteString();
}
makeExtensionsImmutable();
}
}
public static org.jetbrains.kotlin.protobuf.Parser PARSER =
new org.jetbrains.kotlin.protobuf.AbstractParser() {
public Value parsePartialFrom(
org.jetbrains.kotlin.protobuf.CodedInputStream input,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return new Value(input, extensionRegistry);
}
};
@java.lang.Override
public org.jetbrains.kotlin.protobuf.Parser getParserForType() {
return PARSER;
}
/**
* Protobuf enum {@code org.jetbrains.kotlin.metadata.Annotation.Argument.Value.Type}
*/
public enum Type
implements org.jetbrains.kotlin.protobuf.Internal.EnumLite {
/**
* BYTE = 0;
*/
BYTE(0, 0),
/**
* CHAR = 1;
*/
CHAR(1, 1),
/**
* SHORT = 2;
*/
SHORT(2, 2),
/**
* INT = 3;
*/
INT(3, 3),
/**
* LONG = 4;
*/
LONG(4, 4),
/**
* FLOAT = 5;
*/
FLOAT(5, 5),
/**
* DOUBLE = 6;
*/
DOUBLE(6, 6),
/**
* BOOLEAN = 7;
*/
BOOLEAN(7, 7),
/**
* STRING = 8;
*/
STRING(8, 8),
/**
* CLASS = 9;
*/
CLASS(9, 9),
/**
* ENUM = 10;
*/
ENUM(10, 10),
/**
* ANNOTATION = 11;
*/
ANNOTATION(11, 11),
/**
* ARRAY = 12;
*/
ARRAY(12, 12),
;
/**
* BYTE = 0;
*/
public static final int BYTE_VALUE = 0;
/**
* CHAR = 1;
*/
public static final int CHAR_VALUE = 1;
/**
* SHORT = 2;
*/
public static final int SHORT_VALUE = 2;
/**
* INT = 3;
*/
public static final int INT_VALUE = 3;
/**
* LONG = 4;
*/
public static final int LONG_VALUE = 4;
/**
* FLOAT = 5;
*/
public static final int FLOAT_VALUE = 5;
/**
* DOUBLE = 6;
*/
public static final int DOUBLE_VALUE = 6;
/**
* BOOLEAN = 7;
*/
public static final int BOOLEAN_VALUE = 7;
/**
* STRING = 8;
*/
public static final int STRING_VALUE = 8;
/**
* CLASS = 9;
*/
public static final int CLASS_VALUE = 9;
/**
* ENUM = 10;
*/
public static final int ENUM_VALUE = 10;
/**
* ANNOTATION = 11;
*/
public static final int ANNOTATION_VALUE = 11;
/**
* ARRAY = 12;
*/
public static final int ARRAY_VALUE = 12;
public final int getNumber() { return value; }
public static Type valueOf(int value) {
switch (value) {
case 0: return BYTE;
case 1: return CHAR;
case 2: return SHORT;
case 3: return INT;
case 4: return LONG;
case 5: return FLOAT;
case 6: return DOUBLE;
case 7: return BOOLEAN;
case 8: return STRING;
case 9: return CLASS;
case 10: return ENUM;
case 11: return ANNOTATION;
case 12: return ARRAY;
default: return null;
}
}
public static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap
internalValueMap =
new org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap() {
public Type findValueByNumber(int number) {
return Type.valueOf(number);
}
};
private final int value;
private Type(int index, int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org.jetbrains.kotlin.metadata.Annotation.Argument.Value.Type)
}
private int bitField0_;
public static final int TYPE_FIELD_NUMBER = 1;
private org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.Type type_;
/**
* optional .org.jetbrains.kotlin.metadata.Annotation.Argument.Value.Type type = 1;
*
*
* Note: a *Value* has a Type, not an Argument! This is done for future language features which may involve using arrays
* of elements of different types. Such entries are allowed in the constant pool of JVM class files.
* However, to save space, this field is optional: in case of homogeneous arrays, only the type of the first element is required
*
*/
public boolean hasType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .org.jetbrains.kotlin.metadata.Annotation.Argument.Value.Type type = 1;
*
*
* Note: a *Value* has a Type, not an Argument! This is done for future language features which may involve using arrays
* of elements of different types. Such entries are allowed in the constant pool of JVM class files.
* However, to save space, this field is optional: in case of homogeneous arrays, only the type of the first element is required
*
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.Type getType() {
return type_;
}
public static final int INT_VALUE_FIELD_NUMBER = 2;
private long intValue_;
/**
* optional sint64 int_value = 2;
*/
public boolean hasIntValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional sint64 int_value = 2;
*/
public long getIntValue() {
return intValue_;
}
public static final int FLOAT_VALUE_FIELD_NUMBER = 3;
private float floatValue_;
/**
* optional float float_value = 3;
*/
public boolean hasFloatValue() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional float float_value = 3;
*/
public float getFloatValue() {
return floatValue_;
}
public static final int DOUBLE_VALUE_FIELD_NUMBER = 4;
private double doubleValue_;
/**
* optional double double_value = 4;
*/
public boolean hasDoubleValue() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional double double_value = 4;
*/
public double getDoubleValue() {
return doubleValue_;
}
public static final int STRING_VALUE_FIELD_NUMBER = 5;
private int stringValue_;
/**
* optional int32 string_value = 5;
*/
public boolean hasStringValue() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int32 string_value = 5;
*/
public int getStringValue() {
return stringValue_;
}
public static final int CLASS_ID_FIELD_NUMBER = 6;
private int classId_;
/**
* optional int32 class_id = 6;
*
*
* If type = CLASS, FQ name of the referenced class; if type = ENUM, FQ name of the enum class
*
*/
public boolean hasClassId() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional int32 class_id = 6;
*
*
* If type = CLASS, FQ name of the referenced class; if type = ENUM, FQ name of the enum class
*
*/
public int getClassId() {
return classId_;
}
public static final int ENUM_VALUE_ID_FIELD_NUMBER = 7;
private int enumValueId_;
/**
* optional int32 enum_value_id = 7;
*/
public boolean hasEnumValueId() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional int32 enum_value_id = 7;
*/
public int getEnumValueId() {
return enumValueId_;
}
public static final int ANNOTATION_FIELD_NUMBER = 8;
private org.jetbrains.kotlin.metadata.ProtoBuf.Annotation annotation_;
/**
* optional .org.jetbrains.kotlin.metadata.Annotation annotation = 8;
*/
public boolean hasAnnotation() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional .org.jetbrains.kotlin.metadata.Annotation annotation = 8;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Annotation getAnnotation() {
return annotation_;
}
public static final int ARRAY_ELEMENT_FIELD_NUMBER = 9;
private java.util.List arrayElement_;
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument.Value array_element = 9;
*/
public java.util.List getArrayElementList() {
return arrayElement_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument.Value array_element = 9;
*/
public java.util.List extends org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.ValueOrBuilder>
getArrayElementOrBuilderList() {
return arrayElement_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument.Value array_element = 9;
*/
public int getArrayElementCount() {
return arrayElement_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument.Value array_element = 9;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value getArrayElement(int index) {
return arrayElement_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument.Value array_element = 9;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.ValueOrBuilder getArrayElementOrBuilder(
int index) {
return arrayElement_.get(index);
}
public static final int ARRAY_DIMENSION_COUNT_FIELD_NUMBER = 11;
private int arrayDimensionCount_;
/**
* optional int32 array_dimension_count = 11 [default = 0];
*
*
* If type = CLASS, the number of dimensions of the array of the class specified in class_id.
* E.g. if class_id = kotlin/String, this annotation argument value denotes:
* - String::class, if array_dimension_count = 0
* - Array<String>::class, if array_dimension_count = 1
* - Array<Array<String>>::class, if array_dimension_count = 2
* - etc.
* Since it's very difficult to represent Kotlin-specific type aspects (nullability, type projections) of array arguments
* in class literals on JVM, we don't bother to do represent this in our format as well.
* So, for example, values `Array<Array<in B?>>::class` and `Array<out Array<B>>?>::class` will be represented exactly the same here.
*
*/
public boolean hasArrayDimensionCount() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional int32 array_dimension_count = 11 [default = 0];
*
*
* If type = CLASS, the number of dimensions of the array of the class specified in class_id.
* E.g. if class_id = kotlin/String, this annotation argument value denotes:
* - String::class, if array_dimension_count = 0
* - Array<String>::class, if array_dimension_count = 1
* - Array<Array<String>>::class, if array_dimension_count = 2
* - etc.
* Since it's very difficult to represent Kotlin-specific type aspects (nullability, type projections) of array arguments
* in class literals on JVM, we don't bother to do represent this in our format as well.
* So, for example, values `Array<Array<in B?>>::class` and `Array<out Array<B>>?>::class` will be represented exactly the same here.
*
*/
public int getArrayDimensionCount() {
return arrayDimensionCount_;
}
public static final int FLAGS_FIELD_NUMBER = 10;
private int flags_;
/**
* optional int32 flags = 10 [default = 0];
*
*
*isUnsigned
*
*/
public boolean hasFlags() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional int32 flags = 10 [default = 0];
*
*
*isUnsigned
*
*/
public int getFlags() {
return flags_;
}
private void initFields() {
type_ = org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.Type.BYTE;
intValue_ = 0L;
floatValue_ = 0F;
doubleValue_ = 0D;
stringValue_ = 0;
classId_ = 0;
enumValueId_ = 0;
annotation_ = org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.getDefaultInstance();
arrayElement_ = java.util.Collections.emptyList();
arrayDimensionCount_ = 0;
flags_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (hasAnnotation()) {
if (!getAnnotation().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getArrayElementCount(); i++) {
if (!getArrayElement(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, type_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeSInt64(2, intValue_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeFloat(3, floatValue_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeDouble(4, doubleValue_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeInt32(5, stringValue_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeInt32(6, classId_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeInt32(7, enumValueId_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeMessage(8, annotation_);
}
for (int i = 0; i < arrayElement_.size(); i++) {
output.writeMessage(9, arrayElement_.get(i));
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeInt32(10, flags_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeInt32(11, arrayDimensionCount_);
}
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, type_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeSInt64Size(2, intValue_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeFloatSize(3, floatValue_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeDoubleSize(4, doubleValue_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32Size(5, stringValue_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32Size(6, classId_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32Size(7, enumValueId_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(8, annotation_);
}
for (int i = 0; i < arrayElement_.size(); i++) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(9, arrayElement_.get(i));
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32Size(10, flags_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32Size(11, arrayDimensionCount_);
}
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.ProtoBuf.Annotation.Argument.Value parseFrom(
org.jetbrains.kotlin.protobuf.ByteString data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value 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.ProtoBuf.Annotation.Argument.Value parseFrom(byte[] data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value 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.ProtoBuf.Annotation.Argument.Value parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value 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.ProtoBuf.Annotation.Argument.Value parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value 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.ProtoBuf.Annotation.Argument.Value parseFrom(
org.jetbrains.kotlin.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value 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.ProtoBuf.Annotation.Argument.Value prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.Annotation.Argument.Value}
*/
public static final class Builder extends
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder<
org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value, Builder>
implements
// @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.metadata.Annotation.Argument.Value)
org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.ValueOrBuilder {
// Construct using org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
type_ = org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.Type.BYTE;
bitField0_ = (bitField0_ & ~0x00000001);
intValue_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
floatValue_ = 0F;
bitField0_ = (bitField0_ & ~0x00000004);
doubleValue_ = 0D;
bitField0_ = (bitField0_ & ~0x00000008);
stringValue_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
classId_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
enumValueId_ = 0;
bitField0_ = (bitField0_ & ~0x00000040);
annotation_ = org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000080);
arrayElement_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
arrayDimensionCount_ = 0;
bitField0_ = (bitField0_ & ~0x00000200);
flags_ = 0;
bitField0_ = (bitField0_ & ~0x00000400);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value getDefaultInstanceForType() {
return org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.getDefaultInstance();
}
public org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value build() {
org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value buildPartial() {
org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value result = new org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.type_ = type_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.intValue_ = intValue_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.floatValue_ = floatValue_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.doubleValue_ = doubleValue_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.stringValue_ = stringValue_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.classId_ = classId_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.enumValueId_ = enumValueId_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
result.annotation_ = annotation_;
if (((bitField0_ & 0x00000100) == 0x00000100)) {
arrayElement_ = java.util.Collections.unmodifiableList(arrayElement_);
bitField0_ = (bitField0_ & ~0x00000100);
}
result.arrayElement_ = arrayElement_;
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x00000100;
}
result.arrayDimensionCount_ = arrayDimensionCount_;
if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
to_bitField0_ |= 0x00000200;
}
result.flags_ = flags_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value other) {
if (other == org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.getDefaultInstance()) return this;
if (other.hasType()) {
setType(other.getType());
}
if (other.hasIntValue()) {
setIntValue(other.getIntValue());
}
if (other.hasFloatValue()) {
setFloatValue(other.getFloatValue());
}
if (other.hasDoubleValue()) {
setDoubleValue(other.getDoubleValue());
}
if (other.hasStringValue()) {
setStringValue(other.getStringValue());
}
if (other.hasClassId()) {
setClassId(other.getClassId());
}
if (other.hasEnumValueId()) {
setEnumValueId(other.getEnumValueId());
}
if (other.hasAnnotation()) {
mergeAnnotation(other.getAnnotation());
}
if (!other.arrayElement_.isEmpty()) {
if (arrayElement_.isEmpty()) {
arrayElement_ = other.arrayElement_;
bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureArrayElementIsMutable();
arrayElement_.addAll(other.arrayElement_);
}
}
if (other.hasArrayDimensionCount()) {
setArrayDimensionCount(other.getArrayDimensionCount());
}
if (other.hasFlags()) {
setFlags(other.getFlags());
}
setUnknownFields(
getUnknownFields().concat(other.unknownFields));
return this;
}
public final boolean isInitialized() {
if (hasAnnotation()) {
if (!getAnnotation().isInitialized()) {
return false;
}
}
for (int i = 0; i < getArrayElementCount(); i++) {
if (!getArrayElement(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.ProtoBuf.Annotation.Argument.Value parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.Type type_ = org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.Type.BYTE;
/**
* optional .org.jetbrains.kotlin.metadata.Annotation.Argument.Value.Type type = 1;
*
*
* Note: a *Value* has a Type, not an Argument! This is done for future language features which may involve using arrays
* of elements of different types. Such entries are allowed in the constant pool of JVM class files.
* However, to save space, this field is optional: in case of homogeneous arrays, only the type of the first element is required
*
*/
public boolean hasType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .org.jetbrains.kotlin.metadata.Annotation.Argument.Value.Type type = 1;
*
*
* Note: a *Value* has a Type, not an Argument! This is done for future language features which may involve using arrays
* of elements of different types. Such entries are allowed in the constant pool of JVM class files.
* However, to save space, this field is optional: in case of homogeneous arrays, only the type of the first element is required
*
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.Type getType() {
return type_;
}
/**
* optional .org.jetbrains.kotlin.metadata.Annotation.Argument.Value.Type type = 1;
*
*
* Note: a *Value* has a Type, not an Argument! This is done for future language features which may involve using arrays
* of elements of different types. Such entries are allowed in the constant pool of JVM class files.
* However, to save space, this field is optional: in case of homogeneous arrays, only the type of the first element is required
*
*/
public Builder setType(org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.Type value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
type_ = value;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.Annotation.Argument.Value.Type type = 1;
*
*
* Note: a *Value* has a Type, not an Argument! This is done for future language features which may involve using arrays
* of elements of different types. Such entries are allowed in the constant pool of JVM class files.
* However, to save space, this field is optional: in case of homogeneous arrays, only the type of the first element is required
*
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000001);
type_ = org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.Type.BYTE;
return this;
}
private long intValue_ ;
/**
* optional sint64 int_value = 2;
*/
public boolean hasIntValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional sint64 int_value = 2;
*/
public long getIntValue() {
return intValue_;
}
/**
* optional sint64 int_value = 2;
*/
public Builder setIntValue(long value) {
bitField0_ |= 0x00000002;
intValue_ = value;
return this;
}
/**
* optional sint64 int_value = 2;
*/
public Builder clearIntValue() {
bitField0_ = (bitField0_ & ~0x00000002);
intValue_ = 0L;
return this;
}
private float floatValue_ ;
/**
* optional float float_value = 3;
*/
public boolean hasFloatValue() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional float float_value = 3;
*/
public float getFloatValue() {
return floatValue_;
}
/**
* optional float float_value = 3;
*/
public Builder setFloatValue(float value) {
bitField0_ |= 0x00000004;
floatValue_ = value;
return this;
}
/**
* optional float float_value = 3;
*/
public Builder clearFloatValue() {
bitField0_ = (bitField0_ & ~0x00000004);
floatValue_ = 0F;
return this;
}
private double doubleValue_ ;
/**
* optional double double_value = 4;
*/
public boolean hasDoubleValue() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional double double_value = 4;
*/
public double getDoubleValue() {
return doubleValue_;
}
/**
* optional double double_value = 4;
*/
public Builder setDoubleValue(double value) {
bitField0_ |= 0x00000008;
doubleValue_ = value;
return this;
}
/**
* optional double double_value = 4;
*/
public Builder clearDoubleValue() {
bitField0_ = (bitField0_ & ~0x00000008);
doubleValue_ = 0D;
return this;
}
private int stringValue_ ;
/**
* optional int32 string_value = 5;
*/
public boolean hasStringValue() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int32 string_value = 5;
*/
public int getStringValue() {
return stringValue_;
}
/**
* optional int32 string_value = 5;
*/
public Builder setStringValue(int value) {
bitField0_ |= 0x00000010;
stringValue_ = value;
return this;
}
/**
* optional int32 string_value = 5;
*/
public Builder clearStringValue() {
bitField0_ = (bitField0_ & ~0x00000010);
stringValue_ = 0;
return this;
}
private int classId_ ;
/**
* optional int32 class_id = 6;
*
*
* If type = CLASS, FQ name of the referenced class; if type = ENUM, FQ name of the enum class
*
*/
public boolean hasClassId() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional int32 class_id = 6;
*
*
* If type = CLASS, FQ name of the referenced class; if type = ENUM, FQ name of the enum class
*
*/
public int getClassId() {
return classId_;
}
/**
* optional int32 class_id = 6;
*
*
* If type = CLASS, FQ name of the referenced class; if type = ENUM, FQ name of the enum class
*
*/
public Builder setClassId(int value) {
bitField0_ |= 0x00000020;
classId_ = value;
return this;
}
/**
* optional int32 class_id = 6;
*
*
* If type = CLASS, FQ name of the referenced class; if type = ENUM, FQ name of the enum class
*
*/
public Builder clearClassId() {
bitField0_ = (bitField0_ & ~0x00000020);
classId_ = 0;
return this;
}
private int enumValueId_ ;
/**
* optional int32 enum_value_id = 7;
*/
public boolean hasEnumValueId() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional int32 enum_value_id = 7;
*/
public int getEnumValueId() {
return enumValueId_;
}
/**
* optional int32 enum_value_id = 7;
*/
public Builder setEnumValueId(int value) {
bitField0_ |= 0x00000040;
enumValueId_ = value;
return this;
}
/**
* optional int32 enum_value_id = 7;
*/
public Builder clearEnumValueId() {
bitField0_ = (bitField0_ & ~0x00000040);
enumValueId_ = 0;
return this;
}
private org.jetbrains.kotlin.metadata.ProtoBuf.Annotation annotation_ = org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.getDefaultInstance();
/**
* optional .org.jetbrains.kotlin.metadata.Annotation annotation = 8;
*/
public boolean hasAnnotation() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional .org.jetbrains.kotlin.metadata.Annotation annotation = 8;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Annotation getAnnotation() {
return annotation_;
}
/**
* optional .org.jetbrains.kotlin.metadata.Annotation annotation = 8;
*/
public Builder setAnnotation(org.jetbrains.kotlin.metadata.ProtoBuf.Annotation value) {
if (value == null) {
throw new NullPointerException();
}
annotation_ = value;
bitField0_ |= 0x00000080;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.Annotation annotation = 8;
*/
public Builder setAnnotation(
org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Builder builderForValue) {
annotation_ = builderForValue.build();
bitField0_ |= 0x00000080;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.Annotation annotation = 8;
*/
public Builder mergeAnnotation(org.jetbrains.kotlin.metadata.ProtoBuf.Annotation value) {
if (((bitField0_ & 0x00000080) == 0x00000080) &&
annotation_ != org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.getDefaultInstance()) {
annotation_ =
org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.newBuilder(annotation_).mergeFrom(value).buildPartial();
} else {
annotation_ = value;
}
bitField0_ |= 0x00000080;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.Annotation annotation = 8;
*/
public Builder clearAnnotation() {
annotation_ = org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
private java.util.List arrayElement_ =
java.util.Collections.emptyList();
private void ensureArrayElementIsMutable() {
if (!((bitField0_ & 0x00000100) == 0x00000100)) {
arrayElement_ = new java.util.ArrayList(arrayElement_);
bitField0_ |= 0x00000100;
}
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument.Value array_element = 9;
*/
public java.util.List getArrayElementList() {
return java.util.Collections.unmodifiableList(arrayElement_);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument.Value array_element = 9;
*/
public int getArrayElementCount() {
return arrayElement_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument.Value array_element = 9;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value getArrayElement(int index) {
return arrayElement_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument.Value array_element = 9;
*/
public Builder setArrayElement(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value value) {
if (value == null) {
throw new NullPointerException();
}
ensureArrayElementIsMutable();
arrayElement_.set(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument.Value array_element = 9;
*/
public Builder setArrayElement(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.Builder builderForValue) {
ensureArrayElementIsMutable();
arrayElement_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument.Value array_element = 9;
*/
public Builder addArrayElement(org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value value) {
if (value == null) {
throw new NullPointerException();
}
ensureArrayElementIsMutable();
arrayElement_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument.Value array_element = 9;
*/
public Builder addArrayElement(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value value) {
if (value == null) {
throw new NullPointerException();
}
ensureArrayElementIsMutable();
arrayElement_.add(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument.Value array_element = 9;
*/
public Builder addArrayElement(
org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.Builder builderForValue) {
ensureArrayElementIsMutable();
arrayElement_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument.Value array_element = 9;
*/
public Builder addArrayElement(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.Builder builderForValue) {
ensureArrayElementIsMutable();
arrayElement_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument.Value array_element = 9;
*/
public Builder addAllArrayElement(
java.lang.Iterable extends org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value> values) {
ensureArrayElementIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, arrayElement_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument.Value array_element = 9;
*/
public Builder clearArrayElement() {
arrayElement_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument.Value array_element = 9;
*/
public Builder removeArrayElement(int index) {
ensureArrayElementIsMutable();
arrayElement_.remove(index);
return this;
}
private int arrayDimensionCount_ ;
/**
* optional int32 array_dimension_count = 11 [default = 0];
*
*
* If type = CLASS, the number of dimensions of the array of the class specified in class_id.
* E.g. if class_id = kotlin/String, this annotation argument value denotes:
* - String::class, if array_dimension_count = 0
* - Array<String>::class, if array_dimension_count = 1
* - Array<Array<String>>::class, if array_dimension_count = 2
* - etc.
* Since it's very difficult to represent Kotlin-specific type aspects (nullability, type projections) of array arguments
* in class literals on JVM, we don't bother to do represent this in our format as well.
* So, for example, values `Array<Array<in B?>>::class` and `Array<out Array<B>>?>::class` will be represented exactly the same here.
*
*/
public boolean hasArrayDimensionCount() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional int32 array_dimension_count = 11 [default = 0];
*
*
* If type = CLASS, the number of dimensions of the array of the class specified in class_id.
* E.g. if class_id = kotlin/String, this annotation argument value denotes:
* - String::class, if array_dimension_count = 0
* - Array<String>::class, if array_dimension_count = 1
* - Array<Array<String>>::class, if array_dimension_count = 2
* - etc.
* Since it's very difficult to represent Kotlin-specific type aspects (nullability, type projections) of array arguments
* in class literals on JVM, we don't bother to do represent this in our format as well.
* So, for example, values `Array<Array<in B?>>::class` and `Array<out Array<B>>?>::class` will be represented exactly the same here.
*
*/
public int getArrayDimensionCount() {
return arrayDimensionCount_;
}
/**
* optional int32 array_dimension_count = 11 [default = 0];
*
*
* If type = CLASS, the number of dimensions of the array of the class specified in class_id.
* E.g. if class_id = kotlin/String, this annotation argument value denotes:
* - String::class, if array_dimension_count = 0
* - Array<String>::class, if array_dimension_count = 1
* - Array<Array<String>>::class, if array_dimension_count = 2
* - etc.
* Since it's very difficult to represent Kotlin-specific type aspects (nullability, type projections) of array arguments
* in class literals on JVM, we don't bother to do represent this in our format as well.
* So, for example, values `Array<Array<in B?>>::class` and `Array<out Array<B>>?>::class` will be represented exactly the same here.
*
*/
public Builder setArrayDimensionCount(int value) {
bitField0_ |= 0x00000200;
arrayDimensionCount_ = value;
return this;
}
/**
* optional int32 array_dimension_count = 11 [default = 0];
*
*
* If type = CLASS, the number of dimensions of the array of the class specified in class_id.
* E.g. if class_id = kotlin/String, this annotation argument value denotes:
* - String::class, if array_dimension_count = 0
* - Array<String>::class, if array_dimension_count = 1
* - Array<Array<String>>::class, if array_dimension_count = 2
* - etc.
* Since it's very difficult to represent Kotlin-specific type aspects (nullability, type projections) of array arguments
* in class literals on JVM, we don't bother to do represent this in our format as well.
* So, for example, values `Array<Array<in B?>>::class` and `Array<out Array<B>>?>::class` will be represented exactly the same here.
*
*/
public Builder clearArrayDimensionCount() {
bitField0_ = (bitField0_ & ~0x00000200);
arrayDimensionCount_ = 0;
return this;
}
private int flags_ ;
/**
* optional int32 flags = 10 [default = 0];
*
*
*isUnsigned
*
*/
public boolean hasFlags() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional int32 flags = 10 [default = 0];
*
*
*isUnsigned
*
*/
public int getFlags() {
return flags_;
}
/**
* optional int32 flags = 10 [default = 0];
*
*
*isUnsigned
*
*/
public Builder setFlags(int value) {
bitField0_ |= 0x00000400;
flags_ = value;
return this;
}
/**
* optional int32 flags = 10 [default = 0];
*
*
*isUnsigned
*
*/
public Builder clearFlags() {
bitField0_ = (bitField0_ & ~0x00000400);
flags_ = 0;
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.metadata.Annotation.Argument.Value)
}
static {
defaultInstance = new Value(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.metadata.Annotation.Argument.Value)
}
private int bitField0_;
public static final int NAME_ID_FIELD_NUMBER = 1;
private int nameId_;
/**
* required int32 name_id = 1;
*/
public boolean hasNameId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 name_id = 1;
*/
public int getNameId() {
return nameId_;
}
public static final int VALUE_FIELD_NUMBER = 2;
private org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value value_;
/**
* required .org.jetbrains.kotlin.metadata.Annotation.Argument.Value value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required .org.jetbrains.kotlin.metadata.Annotation.Argument.Value value = 2;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value getValue() {
return value_;
}
private void initFields() {
nameId_ = 0;
value_ = org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasNameId()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasValue()) {
memoizedIsInitialized = 0;
return false;
}
if (!getValue().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, nameId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, value_);
}
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, nameId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(2, value_);
}
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.ProtoBuf.Annotation.Argument parseFrom(
org.jetbrains.kotlin.protobuf.ByteString data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument 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.ProtoBuf.Annotation.Argument parseFrom(byte[] data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument 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.ProtoBuf.Annotation.Argument parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument 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.ProtoBuf.Annotation.Argument parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument 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.ProtoBuf.Annotation.Argument parseFrom(
org.jetbrains.kotlin.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument 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.ProtoBuf.Annotation.Argument prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.Annotation.Argument}
*/
public static final class Builder extends
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder<
org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument, Builder>
implements
// @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.metadata.Annotation.Argument)
org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.ArgumentOrBuilder {
// Construct using org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
nameId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
value_ = org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument getDefaultInstanceForType() {
return org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.getDefaultInstance();
}
public org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument build() {
org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument buildPartial() {
org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument result = new org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.nameId_ = nameId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.value_ = value_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument other) {
if (other == org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.getDefaultInstance()) return this;
if (other.hasNameId()) {
setNameId(other.getNameId());
}
if (other.hasValue()) {
mergeValue(other.getValue());
}
setUnknownFields(
getUnknownFields().concat(other.unknownFields));
return this;
}
public final boolean isInitialized() {
if (!hasNameId()) {
return false;
}
if (!hasValue()) {
return false;
}
if (!getValue().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.ProtoBuf.Annotation.Argument parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int nameId_ ;
/**
* required int32 name_id = 1;
*/
public boolean hasNameId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 name_id = 1;
*/
public int getNameId() {
return nameId_;
}
/**
* required int32 name_id = 1;
*/
public Builder setNameId(int value) {
bitField0_ |= 0x00000001;
nameId_ = value;
return this;
}
/**
* required int32 name_id = 1;
*/
public Builder clearNameId() {
bitField0_ = (bitField0_ & ~0x00000001);
nameId_ = 0;
return this;
}
private org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value value_ = org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.getDefaultInstance();
/**
* required .org.jetbrains.kotlin.metadata.Annotation.Argument.Value value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required .org.jetbrains.kotlin.metadata.Annotation.Argument.Value value = 2;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value getValue() {
return value_;
}
/**
* required .org.jetbrains.kotlin.metadata.Annotation.Argument.Value value = 2;
*/
public Builder setValue(org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value value) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
bitField0_ |= 0x00000002;
return this;
}
/**
* required .org.jetbrains.kotlin.metadata.Annotation.Argument.Value value = 2;
*/
public Builder setValue(
org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.Builder builderForValue) {
value_ = builderForValue.build();
bitField0_ |= 0x00000002;
return this;
}
/**
* required .org.jetbrains.kotlin.metadata.Annotation.Argument.Value value = 2;
*/
public Builder mergeValue(org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value value) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
value_ != org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.getDefaultInstance()) {
value_ =
org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.newBuilder(value_).mergeFrom(value).buildPartial();
} else {
value_ = value;
}
bitField0_ |= 0x00000002;
return this;
}
/**
* required .org.jetbrains.kotlin.metadata.Annotation.Argument.Value value = 2;
*/
public Builder clearValue() {
value_ = org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Value.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.metadata.Annotation.Argument)
}
static {
defaultInstance = new Argument(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.metadata.Annotation.Argument)
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private int id_;
/**
* required int32 id = 1;
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 id = 1;
*/
public int getId() {
return id_;
}
public static final int ARGUMENT_FIELD_NUMBER = 2;
private java.util.List argument_;
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument argument = 2;
*/
public java.util.List getArgumentList() {
return argument_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument argument = 2;
*/
public java.util.List extends org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.ArgumentOrBuilder>
getArgumentOrBuilderList() {
return argument_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument argument = 2;
*/
public int getArgumentCount() {
return argument_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument argument = 2;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument getArgument(int index) {
return argument_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument argument = 2;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.ArgumentOrBuilder getArgumentOrBuilder(
int index) {
return argument_.get(index);
}
private void initFields() {
id_ = 0;
argument_ = 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 (!hasId()) {
memoizedIsInitialized = 0;
return false;
}
for (int i = 0; i < getArgumentCount(); i++) {
if (!getArgument(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 < argument_.size(); i++) {
output.writeMessage(2, argument_.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 < argument_.size(); i++) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(2, argument_.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.ProtoBuf.Annotation parseFrom(
org.jetbrains.kotlin.protobuf.ByteString data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Annotation 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.ProtoBuf.Annotation parseFrom(byte[] data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Annotation 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.ProtoBuf.Annotation parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Annotation 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.ProtoBuf.Annotation parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Annotation 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.ProtoBuf.Annotation parseFrom(
org.jetbrains.kotlin.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Annotation 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.ProtoBuf.Annotation prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.Annotation}
*/
public static final class Builder extends
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder<
org.jetbrains.kotlin.metadata.ProtoBuf.Annotation, Builder>
implements
// @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.metadata.Annotation)
org.jetbrains.kotlin.metadata.ProtoBuf.AnnotationOrBuilder {
// Construct using org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
id_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
argument_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.jetbrains.kotlin.metadata.ProtoBuf.Annotation getDefaultInstanceForType() {
return org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.getDefaultInstance();
}
public org.jetbrains.kotlin.metadata.ProtoBuf.Annotation build() {
org.jetbrains.kotlin.metadata.ProtoBuf.Annotation result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.jetbrains.kotlin.metadata.ProtoBuf.Annotation buildPartial() {
org.jetbrains.kotlin.metadata.ProtoBuf.Annotation result = new org.jetbrains.kotlin.metadata.ProtoBuf.Annotation(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.id_ = id_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
argument_ = java.util.Collections.unmodifiableList(argument_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.argument_ = argument_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.jetbrains.kotlin.metadata.ProtoBuf.Annotation other) {
if (other == org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
if (!other.argument_.isEmpty()) {
if (argument_.isEmpty()) {
argument_ = other.argument_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureArgumentIsMutable();
argument_.addAll(other.argument_);
}
}
setUnknownFields(
getUnknownFields().concat(other.unknownFields));
return this;
}
public final boolean isInitialized() {
if (!hasId()) {
return false;
}
for (int i = 0; i < getArgumentCount(); i++) {
if (!getArgument(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.ProtoBuf.Annotation parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.jetbrains.kotlin.metadata.ProtoBuf.Annotation) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int id_ ;
/**
* required int32 id = 1;
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 id = 1;
*/
public int getId() {
return id_;
}
/**
* required int32 id = 1;
*/
public Builder setId(int value) {
bitField0_ |= 0x00000001;
id_ = value;
return this;
}
/**
* required int32 id = 1;
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0;
return this;
}
private java.util.List argument_ =
java.util.Collections.emptyList();
private void ensureArgumentIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
argument_ = new java.util.ArrayList(argument_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument argument = 2;
*/
public java.util.List getArgumentList() {
return java.util.Collections.unmodifiableList(argument_);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument argument = 2;
*/
public int getArgumentCount() {
return argument_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument argument = 2;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument getArgument(int index) {
return argument_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument argument = 2;
*/
public Builder setArgument(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument value) {
if (value == null) {
throw new NullPointerException();
}
ensureArgumentIsMutable();
argument_.set(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument argument = 2;
*/
public Builder setArgument(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Builder builderForValue) {
ensureArgumentIsMutable();
argument_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument argument = 2;
*/
public Builder addArgument(org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument value) {
if (value == null) {
throw new NullPointerException();
}
ensureArgumentIsMutable();
argument_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument argument = 2;
*/
public Builder addArgument(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument value) {
if (value == null) {
throw new NullPointerException();
}
ensureArgumentIsMutable();
argument_.add(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument argument = 2;
*/
public Builder addArgument(
org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Builder builderForValue) {
ensureArgumentIsMutable();
argument_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument argument = 2;
*/
public Builder addArgument(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument.Builder builderForValue) {
ensureArgumentIsMutable();
argument_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument argument = 2;
*/
public Builder addAllArgument(
java.lang.Iterable extends org.jetbrains.kotlin.metadata.ProtoBuf.Annotation.Argument> values) {
ensureArgumentIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, argument_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument argument = 2;
*/
public Builder clearArgument() {
argument_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Annotation.Argument argument = 2;
*/
public Builder removeArgument(int index) {
ensureArgumentIsMutable();
argument_.remove(index);
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.metadata.Annotation)
}
static {
defaultInstance = new Annotation(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.metadata.Annotation)
}
public interface TypeOrBuilder extends
// @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.metadata.Type)
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder {
/**
* repeated .org.jetbrains.kotlin.metadata.Type.Argument argument = 2;
*/
java.util.List
getArgumentList();
/**
* repeated .org.jetbrains.kotlin.metadata.Type.Argument argument = 2;
*/
org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument getArgument(int index);
/**
* repeated .org.jetbrains.kotlin.metadata.Type.Argument argument = 2;
*/
int getArgumentCount();
/**
* optional bool nullable = 3 [default = false];
*/
boolean hasNullable();
/**
* optional bool nullable = 3 [default = false];
*/
boolean getNullable();
/**
* optional int32 flexible_type_capabilities_id = 4;
*
*
* If this field is set, the type is flexible.
* All the other fields and extensions represent its lower bound, and flexible_upper_bound must be set and represents its upper bound.
*
*/
boolean hasFlexibleTypeCapabilitiesId();
/**
* optional int32 flexible_type_capabilities_id = 4;
*
*
* If this field is set, the type is flexible.
* All the other fields and extensions represent its lower bound, and flexible_upper_bound must be set and represents its upper bound.
*
*/
int getFlexibleTypeCapabilitiesId();
/**
* optional .org.jetbrains.kotlin.metadata.Type flexible_upper_bound = 5;
*/
boolean hasFlexibleUpperBound();
/**
* optional .org.jetbrains.kotlin.metadata.Type flexible_upper_bound = 5;
*/
org.jetbrains.kotlin.metadata.ProtoBuf.Type getFlexibleUpperBound();
/**
* optional int32 flexible_upper_bound_id = 8;
*/
boolean hasFlexibleUpperBoundId();
/**
* optional int32 flexible_upper_bound_id = 8;
*/
int getFlexibleUpperBoundId();
/**
* optional int32 class_name = 6;
*/
boolean hasClassName();
/**
* optional int32 class_name = 6;
*/
int getClassName();
/**
* optional int32 type_parameter = 7;
*
*
* id of the type parameter
*
*/
boolean hasTypeParameter();
/**
* optional int32 type_parameter = 7;
*
*
* id of the type parameter
*
*/
int getTypeParameter();
/**
* optional int32 type_parameter_name = 9;
*
*
* Name of the type parameter in the immediate owner
*
*/
boolean hasTypeParameterName();
/**
* optional int32 type_parameter_name = 9;
*
*
* Name of the type parameter in the immediate owner
*
*/
int getTypeParameterName();
/**
* optional int32 type_alias_name = 12;
*
*
* Note that this may be present only for abbreviated_type
* Top level types are always fully expanded
*
*/
boolean hasTypeAliasName();
/**
* optional int32 type_alias_name = 12;
*
*
* Note that this may be present only for abbreviated_type
* Top level types are always fully expanded
*
*/
int getTypeAliasName();
/**
* optional .org.jetbrains.kotlin.metadata.Type outer_type = 10;
*
*
* Outer type may be present only if class_name or type_alias_name is present
*
*/
boolean hasOuterType();
/**
* optional .org.jetbrains.kotlin.metadata.Type outer_type = 10;
*
*
* Outer type may be present only if class_name or type_alias_name is present
*
*/
org.jetbrains.kotlin.metadata.ProtoBuf.Type getOuterType();
/**
* optional int32 outer_type_id = 11;
*/
boolean hasOuterTypeId();
/**
* optional int32 outer_type_id = 11;
*/
int getOuterTypeId();
/**
* optional .org.jetbrains.kotlin.metadata.Type abbreviated_type = 13;
*/
boolean hasAbbreviatedType();
/**
* optional .org.jetbrains.kotlin.metadata.Type abbreviated_type = 13;
*/
org.jetbrains.kotlin.metadata.ProtoBuf.Type getAbbreviatedType();
/**
* optional int32 abbreviated_type_id = 14;
*/
boolean hasAbbreviatedTypeId();
/**
* optional int32 abbreviated_type_id = 14;
*/
int getAbbreviatedTypeId();
/**
* optional int32 flags = 1;
*
*
*suspend
*definitelyNonNull
*
*/
boolean hasFlags();
/**
* optional int32 flags = 1;
*
*
*suspend
*definitelyNonNull
*
*/
int getFlags();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.Type}
*/
public static final class Type extends
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableMessage<
Type> implements
// @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.metadata.Type)
TypeOrBuilder {
// Use Type.newBuilder() to construct.
private Type(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Type(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;}
private static final Type defaultInstance;
public static Type getDefaultInstance() {
return defaultInstance;
}
public Type getDefaultInstanceForType() {
return defaultInstance;
}
private final org.jetbrains.kotlin.protobuf.ByteString unknownFields;
private Type(
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_ |= 0x00001000;
flags_ = input.readInt32();
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
argument_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
argument_.add(input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument.PARSER, extensionRegistry));
break;
}
case 24: {
bitField0_ |= 0x00000001;
nullable_ = input.readBool();
break;
}
case 32: {
bitField0_ |= 0x00000002;
flexibleTypeCapabilitiesId_ = input.readInt32();
break;
}
case 42: {
org.jetbrains.kotlin.metadata.ProtoBuf.Type.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
subBuilder = flexibleUpperBound_.toBuilder();
}
flexibleUpperBound_ = input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.Type.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(flexibleUpperBound_);
flexibleUpperBound_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
case 48: {
bitField0_ |= 0x00000010;
className_ = input.readInt32();
break;
}
case 56: {
bitField0_ |= 0x00000020;
typeParameter_ = input.readInt32();
break;
}
case 64: {
bitField0_ |= 0x00000008;
flexibleUpperBoundId_ = input.readInt32();
break;
}
case 72: {
bitField0_ |= 0x00000040;
typeParameterName_ = input.readInt32();
break;
}
case 82: {
org.jetbrains.kotlin.metadata.ProtoBuf.Type.Builder subBuilder = null;
if (((bitField0_ & 0x00000100) == 0x00000100)) {
subBuilder = outerType_.toBuilder();
}
outerType_ = input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.Type.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(outerType_);
outerType_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000100;
break;
}
case 88: {
bitField0_ |= 0x00000200;
outerTypeId_ = input.readInt32();
break;
}
case 96: {
bitField0_ |= 0x00000080;
typeAliasName_ = input.readInt32();
break;
}
case 106: {
org.jetbrains.kotlin.metadata.ProtoBuf.Type.Builder subBuilder = null;
if (((bitField0_ & 0x00000400) == 0x00000400)) {
subBuilder = abbreviatedType_.toBuilder();
}
abbreviatedType_ = input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.Type.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(abbreviatedType_);
abbreviatedType_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000400;
break;
}
case 112: {
bitField0_ |= 0x00000800;
abbreviatedTypeId_ = input.readInt32();
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)) {
argument_ = java.util.Collections.unmodifiableList(argument_);
}
try {
unknownFieldsCodedOutput.flush();
} catch (java.io.IOException e) {
// Should not happen
} finally {
unknownFields = unknownFieldsOutput.toByteString();
}
makeExtensionsImmutable();
}
}
public static org.jetbrains.kotlin.protobuf.Parser PARSER =
new org.jetbrains.kotlin.protobuf.AbstractParser() {
public Type parsePartialFrom(
org.jetbrains.kotlin.protobuf.CodedInputStream input,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return new Type(input, extensionRegistry);
}
};
@java.lang.Override
public org.jetbrains.kotlin.protobuf.Parser getParserForType() {
return PARSER;
}
public interface ArgumentOrBuilder extends
// @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.metadata.Type.Argument)
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
/**
* optional .org.jetbrains.kotlin.metadata.Type.Argument.Projection projection = 1 [default = INV];
*/
boolean hasProjection();
/**
* optional .org.jetbrains.kotlin.metadata.Type.Argument.Projection projection = 1 [default = INV];
*/
org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument.Projection getProjection();
/**
* optional .org.jetbrains.kotlin.metadata.Type type = 2;
*
*
* When projection is STAR, no type is written, otherwise type must be specified
*
*/
boolean hasType();
/**
* optional .org.jetbrains.kotlin.metadata.Type type = 2;
*
*
* When projection is STAR, no type is written, otherwise type must be specified
*
*/
org.jetbrains.kotlin.metadata.ProtoBuf.Type getType();
/**
* optional int32 type_id = 3;
*/
boolean hasTypeId();
/**
* optional int32 type_id = 3;
*/
int getTypeId();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.Type.Argument}
*/
public static final class Argument extends
org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements
// @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.metadata.Type.Argument)
ArgumentOrBuilder {
// Use Argument.newBuilder() to construct.
private Argument(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Argument(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;}
private static final Argument defaultInstance;
public static Argument getDefaultInstance() {
return defaultInstance;
}
public Argument getDefaultInstanceForType() {
return defaultInstance;
}
private final org.jetbrains.kotlin.protobuf.ByteString unknownFields;
private Argument(
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.ProtoBuf.Type.Argument.Projection value = org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument.Projection.valueOf(rawValue);
if (value == null) {
unknownFieldsCodedOutput.writeRawVarint32(tag);
unknownFieldsCodedOutput.writeRawVarint32(rawValue);
} else {
bitField0_ |= 0x00000001;
projection_ = value;
}
break;
}
case 18: {
org.jetbrains.kotlin.metadata.ProtoBuf.Type.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = type_.toBuilder();
}
type_ = input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.Type.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(type_);
type_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
case 24: {
bitField0_ |= 0x00000004;
typeId_ = input.readInt32();
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 {
try {
unknownFieldsCodedOutput.flush();
} catch (java.io.IOException e) {
// Should not happen
} finally {
unknownFields = unknownFieldsOutput.toByteString();
}
makeExtensionsImmutable();
}
}
public static org.jetbrains.kotlin.protobuf.Parser PARSER =
new org.jetbrains.kotlin.protobuf.AbstractParser() {
public Argument parsePartialFrom(
org.jetbrains.kotlin.protobuf.CodedInputStream input,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return new Argument(input, extensionRegistry);
}
};
@java.lang.Override
public org.jetbrains.kotlin.protobuf.Parser getParserForType() {
return PARSER;
}
/**
* Protobuf enum {@code org.jetbrains.kotlin.metadata.Type.Argument.Projection}
*/
public enum Projection
implements org.jetbrains.kotlin.protobuf.Internal.EnumLite {
/**
* IN = 0;
*/
IN(0, 0),
/**
* OUT = 1;
*/
OUT(1, 1),
/**
* INV = 2;
*/
INV(2, 2),
/**
* STAR = 3;
*/
STAR(3, 3),
;
/**
* IN = 0;
*/
public static final int IN_VALUE = 0;
/**
* OUT = 1;
*/
public static final int OUT_VALUE = 1;
/**
* INV = 2;
*/
public static final int INV_VALUE = 2;
/**
* STAR = 3;
*/
public static final int STAR_VALUE = 3;
public final int getNumber() { return value; }
public static Projection valueOf(int value) {
switch (value) {
case 0: return IN;
case 1: return OUT;
case 2: return INV;
case 3: return STAR;
default: return null;
}
}
public static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap
internalValueMap =
new org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap() {
public Projection findValueByNumber(int number) {
return Projection.valueOf(number);
}
};
private final int value;
private Projection(int index, int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org.jetbrains.kotlin.metadata.Type.Argument.Projection)
}
private int bitField0_;
public static final int PROJECTION_FIELD_NUMBER = 1;
private org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument.Projection projection_;
/**
* optional .org.jetbrains.kotlin.metadata.Type.Argument.Projection projection = 1 [default = INV];
*/
public boolean hasProjection() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .org.jetbrains.kotlin.metadata.Type.Argument.Projection projection = 1 [default = INV];
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument.Projection getProjection() {
return projection_;
}
public static final int TYPE_FIELD_NUMBER = 2;
private org.jetbrains.kotlin.metadata.ProtoBuf.Type type_;
/**
* optional .org.jetbrains.kotlin.metadata.Type type = 2;
*
*
* When projection is STAR, no type is written, otherwise type must be specified
*
*/
public boolean hasType() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .org.jetbrains.kotlin.metadata.Type type = 2;
*
*
* When projection is STAR, no type is written, otherwise type must be specified
*
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Type getType() {
return type_;
}
public static final int TYPE_ID_FIELD_NUMBER = 3;
private int typeId_;
/**
* optional int32 type_id = 3;
*/
public boolean hasTypeId() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 type_id = 3;
*/
public int getTypeId() {
return typeId_;
}
private void initFields() {
projection_ = org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument.Projection.INV;
type_ = org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance();
typeId_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (hasType()) {
if (!getType().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, projection_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, type_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, typeId_);
}
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, projection_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(2, type_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32Size(3, typeId_);
}
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.ProtoBuf.Type.Argument parseFrom(
org.jetbrains.kotlin.protobuf.ByteString data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument 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.ProtoBuf.Type.Argument parseFrom(byte[] data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument 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.ProtoBuf.Type.Argument parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument 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.ProtoBuf.Type.Argument parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument 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.ProtoBuf.Type.Argument parseFrom(
org.jetbrains.kotlin.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument 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.ProtoBuf.Type.Argument prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.Type.Argument}
*/
public static final class Builder extends
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder<
org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument, Builder>
implements
// @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.metadata.Type.Argument)
org.jetbrains.kotlin.metadata.ProtoBuf.Type.ArgumentOrBuilder {
// Construct using org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
projection_ = org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument.Projection.INV;
bitField0_ = (bitField0_ & ~0x00000001);
type_ = org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000002);
typeId_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument getDefaultInstanceForType() {
return org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument.getDefaultInstance();
}
public org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument build() {
org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument buildPartial() {
org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument result = new org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.projection_ = projection_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.type_ = type_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.typeId_ = typeId_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument other) {
if (other == org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument.getDefaultInstance()) return this;
if (other.hasProjection()) {
setProjection(other.getProjection());
}
if (other.hasType()) {
mergeType(other.getType());
}
if (other.hasTypeId()) {
setTypeId(other.getTypeId());
}
setUnknownFields(
getUnknownFields().concat(other.unknownFields));
return this;
}
public final boolean isInitialized() {
if (hasType()) {
if (!getType().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.ProtoBuf.Type.Argument parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument.Projection projection_ = org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument.Projection.INV;
/**
* optional .org.jetbrains.kotlin.metadata.Type.Argument.Projection projection = 1 [default = INV];
*/
public boolean hasProjection() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .org.jetbrains.kotlin.metadata.Type.Argument.Projection projection = 1 [default = INV];
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument.Projection getProjection() {
return projection_;
}
/**
* optional .org.jetbrains.kotlin.metadata.Type.Argument.Projection projection = 1 [default = INV];
*/
public Builder setProjection(org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument.Projection value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
projection_ = value;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.Type.Argument.Projection projection = 1 [default = INV];
*/
public Builder clearProjection() {
bitField0_ = (bitField0_ & ~0x00000001);
projection_ = org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument.Projection.INV;
return this;
}
private org.jetbrains.kotlin.metadata.ProtoBuf.Type type_ = org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance();
/**
* optional .org.jetbrains.kotlin.metadata.Type type = 2;
*
*
* When projection is STAR, no type is written, otherwise type must be specified
*
*/
public boolean hasType() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .org.jetbrains.kotlin.metadata.Type type = 2;
*
*
* When projection is STAR, no type is written, otherwise type must be specified
*
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Type getType() {
return type_;
}
/**
* optional .org.jetbrains.kotlin.metadata.Type type = 2;
*
*
* When projection is STAR, no type is written, otherwise type must be specified
*
*/
public Builder setType(org.jetbrains.kotlin.metadata.ProtoBuf.Type value) {
if (value == null) {
throw new NullPointerException();
}
type_ = value;
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.Type type = 2;
*
*
* When projection is STAR, no type is written, otherwise type must be specified
*
*/
public Builder setType(
org.jetbrains.kotlin.metadata.ProtoBuf.Type.Builder builderForValue) {
type_ = builderForValue.build();
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.Type type = 2;
*
*
* When projection is STAR, no type is written, otherwise type must be specified
*
*/
public Builder mergeType(org.jetbrains.kotlin.metadata.ProtoBuf.Type value) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
type_ != org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance()) {
type_ =
org.jetbrains.kotlin.metadata.ProtoBuf.Type.newBuilder(type_).mergeFrom(value).buildPartial();
} else {
type_ = value;
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.Type type = 2;
*
*
* When projection is STAR, no type is written, otherwise type must be specified
*
*/
public Builder clearType() {
type_ = org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
private int typeId_ ;
/**
* optional int32 type_id = 3;
*/
public boolean hasTypeId() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 type_id = 3;
*/
public int getTypeId() {
return typeId_;
}
/**
* optional int32 type_id = 3;
*/
public Builder setTypeId(int value) {
bitField0_ |= 0x00000004;
typeId_ = value;
return this;
}
/**
* optional int32 type_id = 3;
*/
public Builder clearTypeId() {
bitField0_ = (bitField0_ & ~0x00000004);
typeId_ = 0;
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.metadata.Type.Argument)
}
static {
defaultInstance = new Argument(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.metadata.Type.Argument)
}
private int bitField0_;
public static final int ARGUMENT_FIELD_NUMBER = 2;
private java.util.List argument_;
/**
* repeated .org.jetbrains.kotlin.metadata.Type.Argument argument = 2;
*/
public java.util.List getArgumentList() {
return argument_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type.Argument argument = 2;
*/
public java.util.List extends org.jetbrains.kotlin.metadata.ProtoBuf.Type.ArgumentOrBuilder>
getArgumentOrBuilderList() {
return argument_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type.Argument argument = 2;
*/
public int getArgumentCount() {
return argument_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type.Argument argument = 2;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument getArgument(int index) {
return argument_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type.Argument argument = 2;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Type.ArgumentOrBuilder getArgumentOrBuilder(
int index) {
return argument_.get(index);
}
public static final int NULLABLE_FIELD_NUMBER = 3;
private boolean nullable_;
/**
* optional bool nullable = 3 [default = false];
*/
public boolean hasNullable() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional bool nullable = 3 [default = false];
*/
public boolean getNullable() {
return nullable_;
}
public static final int FLEXIBLE_TYPE_CAPABILITIES_ID_FIELD_NUMBER = 4;
private int flexibleTypeCapabilitiesId_;
/**
* optional int32 flexible_type_capabilities_id = 4;
*
*
* If this field is set, the type is flexible.
* All the other fields and extensions represent its lower bound, and flexible_upper_bound must be set and represents its upper bound.
*
*/
public boolean hasFlexibleTypeCapabilitiesId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 flexible_type_capabilities_id = 4;
*
*
* If this field is set, the type is flexible.
* All the other fields and extensions represent its lower bound, and flexible_upper_bound must be set and represents its upper bound.
*
*/
public int getFlexibleTypeCapabilitiesId() {
return flexibleTypeCapabilitiesId_;
}
public static final int FLEXIBLE_UPPER_BOUND_FIELD_NUMBER = 5;
private org.jetbrains.kotlin.metadata.ProtoBuf.Type flexibleUpperBound_;
/**
* optional .org.jetbrains.kotlin.metadata.Type flexible_upper_bound = 5;
*/
public boolean hasFlexibleUpperBound() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .org.jetbrains.kotlin.metadata.Type flexible_upper_bound = 5;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Type getFlexibleUpperBound() {
return flexibleUpperBound_;
}
public static final int FLEXIBLE_UPPER_BOUND_ID_FIELD_NUMBER = 8;
private int flexibleUpperBoundId_;
/**
* optional int32 flexible_upper_bound_id = 8;
*/
public boolean hasFlexibleUpperBoundId() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 flexible_upper_bound_id = 8;
*/
public int getFlexibleUpperBoundId() {
return flexibleUpperBoundId_;
}
public static final int CLASS_NAME_FIELD_NUMBER = 6;
private int className_;
/**
* optional int32 class_name = 6;
*/
public boolean hasClassName() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int32 class_name = 6;
*/
public int getClassName() {
return className_;
}
public static final int TYPE_PARAMETER_FIELD_NUMBER = 7;
private int typeParameter_;
/**
* optional int32 type_parameter = 7;
*
*
* id of the type parameter
*
*/
public boolean hasTypeParameter() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional int32 type_parameter = 7;
*
*
* id of the type parameter
*
*/
public int getTypeParameter() {
return typeParameter_;
}
public static final int TYPE_PARAMETER_NAME_FIELD_NUMBER = 9;
private int typeParameterName_;
/**
* optional int32 type_parameter_name = 9;
*
*
* Name of the type parameter in the immediate owner
*
*/
public boolean hasTypeParameterName() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional int32 type_parameter_name = 9;
*
*
* Name of the type parameter in the immediate owner
*
*/
public int getTypeParameterName() {
return typeParameterName_;
}
public static final int TYPE_ALIAS_NAME_FIELD_NUMBER = 12;
private int typeAliasName_;
/**
* optional int32 type_alias_name = 12;
*
*
* Note that this may be present only for abbreviated_type
* Top level types are always fully expanded
*
*/
public boolean hasTypeAliasName() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional int32 type_alias_name = 12;
*
*
* Note that this may be present only for abbreviated_type
* Top level types are always fully expanded
*
*/
public int getTypeAliasName() {
return typeAliasName_;
}
public static final int OUTER_TYPE_FIELD_NUMBER = 10;
private org.jetbrains.kotlin.metadata.ProtoBuf.Type outerType_;
/**
* optional .org.jetbrains.kotlin.metadata.Type outer_type = 10;
*
*
* Outer type may be present only if class_name or type_alias_name is present
*
*/
public boolean hasOuterType() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional .org.jetbrains.kotlin.metadata.Type outer_type = 10;
*
*
* Outer type may be present only if class_name or type_alias_name is present
*
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Type getOuterType() {
return outerType_;
}
public static final int OUTER_TYPE_ID_FIELD_NUMBER = 11;
private int outerTypeId_;
/**
* optional int32 outer_type_id = 11;
*/
public boolean hasOuterTypeId() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional int32 outer_type_id = 11;
*/
public int getOuterTypeId() {
return outerTypeId_;
}
public static final int ABBREVIATED_TYPE_FIELD_NUMBER = 13;
private org.jetbrains.kotlin.metadata.ProtoBuf.Type abbreviatedType_;
/**
* optional .org.jetbrains.kotlin.metadata.Type abbreviated_type = 13;
*/
public boolean hasAbbreviatedType() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional .org.jetbrains.kotlin.metadata.Type abbreviated_type = 13;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Type getAbbreviatedType() {
return abbreviatedType_;
}
public static final int ABBREVIATED_TYPE_ID_FIELD_NUMBER = 14;
private int abbreviatedTypeId_;
/**
* optional int32 abbreviated_type_id = 14;
*/
public boolean hasAbbreviatedTypeId() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* optional int32 abbreviated_type_id = 14;
*/
public int getAbbreviatedTypeId() {
return abbreviatedTypeId_;
}
public static final int FLAGS_FIELD_NUMBER = 1;
private int flags_;
/**
* optional int32 flags = 1;
*
*
*suspend
*definitelyNonNull
*
*/
public boolean hasFlags() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
* optional int32 flags = 1;
*
*
*suspend
*definitelyNonNull
*
*/
public int getFlags() {
return flags_;
}
private void initFields() {
argument_ = java.util.Collections.emptyList();
nullable_ = false;
flexibleTypeCapabilitiesId_ = 0;
flexibleUpperBound_ = org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance();
flexibleUpperBoundId_ = 0;
className_ = 0;
typeParameter_ = 0;
typeParameterName_ = 0;
typeAliasName_ = 0;
outerType_ = org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance();
outerTypeId_ = 0;
abbreviatedType_ = org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance();
abbreviatedTypeId_ = 0;
flags_ = 0;
}
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 < getArgumentCount(); i++) {
if (!getArgument(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasFlexibleUpperBound()) {
if (!getFlexibleUpperBound().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasOuterType()) {
if (!getOuterType().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasAbbreviatedType()) {
if (!getAbbreviatedType().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (!extensionsAreInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
org.jetbrains.kotlin.protobuf.GeneratedMessageLite
.ExtendableMessage.ExtensionWriter extensionWriter =
newExtensionWriter();
if (((bitField0_ & 0x00001000) == 0x00001000)) {
output.writeInt32(1, flags_);
}
for (int i = 0; i < argument_.size(); i++) {
output.writeMessage(2, argument_.get(i));
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBool(3, nullable_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(4, flexibleTypeCapabilitiesId_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeMessage(5, flexibleUpperBound_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeInt32(6, className_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeInt32(7, typeParameter_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(8, flexibleUpperBoundId_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeInt32(9, typeParameterName_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeMessage(10, outerType_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeInt32(11, outerTypeId_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeInt32(12, typeAliasName_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
output.writeMessage(13, abbreviatedType_);
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
output.writeInt32(14, abbreviatedTypeId_);
}
extensionWriter.writeUntil(200, output);
output.writeRawBytes(unknownFields);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00001000) == 0x00001000)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32Size(1, flags_);
}
for (int i = 0; i < argument_.size(); i++) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(2, argument_.get(i));
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeBoolSize(3, nullable_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32Size(4, flexibleTypeCapabilitiesId_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(5, flexibleUpperBound_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32Size(6, className_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32Size(7, typeParameter_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32Size(8, flexibleUpperBoundId_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32Size(9, typeParameterName_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(10, outerType_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32Size(11, outerTypeId_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32Size(12, typeAliasName_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(13, abbreviatedType_);
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32Size(14, abbreviatedTypeId_);
}
size += extensionsSerializedSize();
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.ProtoBuf.Type parseFrom(
org.jetbrains.kotlin.protobuf.ByteString data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Type 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.ProtoBuf.Type parseFrom(byte[] data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Type 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.ProtoBuf.Type parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Type 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.ProtoBuf.Type parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Type 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.ProtoBuf.Type parseFrom(
org.jetbrains.kotlin.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Type 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.ProtoBuf.Type prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.Type}
*/
public static final class Builder extends
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder<
org.jetbrains.kotlin.metadata.ProtoBuf.Type, Builder> implements
// @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.metadata.Type)
org.jetbrains.kotlin.metadata.ProtoBuf.TypeOrBuilder {
// Construct using org.jetbrains.kotlin.metadata.ProtoBuf.Type.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
argument_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
nullable_ = false;
bitField0_ = (bitField0_ & ~0x00000002);
flexibleTypeCapabilitiesId_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
flexibleUpperBound_ = org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000008);
flexibleUpperBoundId_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
className_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
typeParameter_ = 0;
bitField0_ = (bitField0_ & ~0x00000040);
typeParameterName_ = 0;
bitField0_ = (bitField0_ & ~0x00000080);
typeAliasName_ = 0;
bitField0_ = (bitField0_ & ~0x00000100);
outerType_ = org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000200);
outerTypeId_ = 0;
bitField0_ = (bitField0_ & ~0x00000400);
abbreviatedType_ = org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000800);
abbreviatedTypeId_ = 0;
bitField0_ = (bitField0_ & ~0x00001000);
flags_ = 0;
bitField0_ = (bitField0_ & ~0x00002000);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.jetbrains.kotlin.metadata.ProtoBuf.Type getDefaultInstanceForType() {
return org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance();
}
public org.jetbrains.kotlin.metadata.ProtoBuf.Type build() {
org.jetbrains.kotlin.metadata.ProtoBuf.Type result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.jetbrains.kotlin.metadata.ProtoBuf.Type buildPartial() {
org.jetbrains.kotlin.metadata.ProtoBuf.Type result = new org.jetbrains.kotlin.metadata.ProtoBuf.Type(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
argument_ = java.util.Collections.unmodifiableList(argument_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.argument_ = argument_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000001;
}
result.nullable_ = nullable_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000002;
}
result.flexibleTypeCapabilitiesId_ = flexibleTypeCapabilitiesId_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000004;
}
result.flexibleUpperBound_ = flexibleUpperBound_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000008;
}
result.flexibleUpperBoundId_ = flexibleUpperBoundId_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000010;
}
result.className_ = className_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000020;
}
result.typeParameter_ = typeParameter_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000040;
}
result.typeParameterName_ = typeParameterName_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000080;
}
result.typeAliasName_ = typeAliasName_;
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x00000100;
}
result.outerType_ = outerType_;
if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
to_bitField0_ |= 0x00000200;
}
result.outerTypeId_ = outerTypeId_;
if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
to_bitField0_ |= 0x00000400;
}
result.abbreviatedType_ = abbreviatedType_;
if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
to_bitField0_ |= 0x00000800;
}
result.abbreviatedTypeId_ = abbreviatedTypeId_;
if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
to_bitField0_ |= 0x00001000;
}
result.flags_ = flags_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.jetbrains.kotlin.metadata.ProtoBuf.Type other) {
if (other == org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance()) return this;
if (!other.argument_.isEmpty()) {
if (argument_.isEmpty()) {
argument_ = other.argument_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureArgumentIsMutable();
argument_.addAll(other.argument_);
}
}
if (other.hasNullable()) {
setNullable(other.getNullable());
}
if (other.hasFlexibleTypeCapabilitiesId()) {
setFlexibleTypeCapabilitiesId(other.getFlexibleTypeCapabilitiesId());
}
if (other.hasFlexibleUpperBound()) {
mergeFlexibleUpperBound(other.getFlexibleUpperBound());
}
if (other.hasFlexibleUpperBoundId()) {
setFlexibleUpperBoundId(other.getFlexibleUpperBoundId());
}
if (other.hasClassName()) {
setClassName(other.getClassName());
}
if (other.hasTypeParameter()) {
setTypeParameter(other.getTypeParameter());
}
if (other.hasTypeParameterName()) {
setTypeParameterName(other.getTypeParameterName());
}
if (other.hasTypeAliasName()) {
setTypeAliasName(other.getTypeAliasName());
}
if (other.hasOuterType()) {
mergeOuterType(other.getOuterType());
}
if (other.hasOuterTypeId()) {
setOuterTypeId(other.getOuterTypeId());
}
if (other.hasAbbreviatedType()) {
mergeAbbreviatedType(other.getAbbreviatedType());
}
if (other.hasAbbreviatedTypeId()) {
setAbbreviatedTypeId(other.getAbbreviatedTypeId());
}
if (other.hasFlags()) {
setFlags(other.getFlags());
}
this.mergeExtensionFields(other);
setUnknownFields(
getUnknownFields().concat(other.unknownFields));
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getArgumentCount(); i++) {
if (!getArgument(i).isInitialized()) {
return false;
}
}
if (hasFlexibleUpperBound()) {
if (!getFlexibleUpperBound().isInitialized()) {
return false;
}
}
if (hasOuterType()) {
if (!getOuterType().isInitialized()) {
return false;
}
}
if (hasAbbreviatedType()) {
if (!getAbbreviatedType().isInitialized()) {
return false;
}
}
if (!extensionsAreInitialized()) {
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.ProtoBuf.Type parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.jetbrains.kotlin.metadata.ProtoBuf.Type) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List argument_ =
java.util.Collections.emptyList();
private void ensureArgumentIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
argument_ = new java.util.ArrayList(argument_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type.Argument argument = 2;
*/
public java.util.List getArgumentList() {
return java.util.Collections.unmodifiableList(argument_);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type.Argument argument = 2;
*/
public int getArgumentCount() {
return argument_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type.Argument argument = 2;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument getArgument(int index) {
return argument_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type.Argument argument = 2;
*/
public Builder setArgument(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument value) {
if (value == null) {
throw new NullPointerException();
}
ensureArgumentIsMutable();
argument_.set(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type.Argument argument = 2;
*/
public Builder setArgument(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument.Builder builderForValue) {
ensureArgumentIsMutable();
argument_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type.Argument argument = 2;
*/
public Builder addArgument(org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument value) {
if (value == null) {
throw new NullPointerException();
}
ensureArgumentIsMutable();
argument_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type.Argument argument = 2;
*/
public Builder addArgument(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument value) {
if (value == null) {
throw new NullPointerException();
}
ensureArgumentIsMutable();
argument_.add(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type.Argument argument = 2;
*/
public Builder addArgument(
org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument.Builder builderForValue) {
ensureArgumentIsMutable();
argument_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type.Argument argument = 2;
*/
public Builder addArgument(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument.Builder builderForValue) {
ensureArgumentIsMutable();
argument_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type.Argument argument = 2;
*/
public Builder addAllArgument(
java.lang.Iterable extends org.jetbrains.kotlin.metadata.ProtoBuf.Type.Argument> values) {
ensureArgumentIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, argument_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type.Argument argument = 2;
*/
public Builder clearArgument() {
argument_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type.Argument argument = 2;
*/
public Builder removeArgument(int index) {
ensureArgumentIsMutable();
argument_.remove(index);
return this;
}
private boolean nullable_ ;
/**
* optional bool nullable = 3 [default = false];
*/
public boolean hasNullable() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bool nullable = 3 [default = false];
*/
public boolean getNullable() {
return nullable_;
}
/**
* optional bool nullable = 3 [default = false];
*/
public Builder setNullable(boolean value) {
bitField0_ |= 0x00000002;
nullable_ = value;
return this;
}
/**
* optional bool nullable = 3 [default = false];
*/
public Builder clearNullable() {
bitField0_ = (bitField0_ & ~0x00000002);
nullable_ = false;
return this;
}
private int flexibleTypeCapabilitiesId_ ;
/**
* optional int32 flexible_type_capabilities_id = 4;
*
*
* If this field is set, the type is flexible.
* All the other fields and extensions represent its lower bound, and flexible_upper_bound must be set and represents its upper bound.
*
*/
public boolean hasFlexibleTypeCapabilitiesId() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 flexible_type_capabilities_id = 4;
*
*
* If this field is set, the type is flexible.
* All the other fields and extensions represent its lower bound, and flexible_upper_bound must be set and represents its upper bound.
*
*/
public int getFlexibleTypeCapabilitiesId() {
return flexibleTypeCapabilitiesId_;
}
/**
* optional int32 flexible_type_capabilities_id = 4;
*
*
* If this field is set, the type is flexible.
* All the other fields and extensions represent its lower bound, and flexible_upper_bound must be set and represents its upper bound.
*
*/
public Builder setFlexibleTypeCapabilitiesId(int value) {
bitField0_ |= 0x00000004;
flexibleTypeCapabilitiesId_ = value;
return this;
}
/**
* optional int32 flexible_type_capabilities_id = 4;
*
*
* If this field is set, the type is flexible.
* All the other fields and extensions represent its lower bound, and flexible_upper_bound must be set and represents its upper bound.
*
*/
public Builder clearFlexibleTypeCapabilitiesId() {
bitField0_ = (bitField0_ & ~0x00000004);
flexibleTypeCapabilitiesId_ = 0;
return this;
}
private org.jetbrains.kotlin.metadata.ProtoBuf.Type flexibleUpperBound_ = org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance();
/**
* optional .org.jetbrains.kotlin.metadata.Type flexible_upper_bound = 5;
*/
public boolean hasFlexibleUpperBound() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .org.jetbrains.kotlin.metadata.Type flexible_upper_bound = 5;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Type getFlexibleUpperBound() {
return flexibleUpperBound_;
}
/**
* optional .org.jetbrains.kotlin.metadata.Type flexible_upper_bound = 5;
*/
public Builder setFlexibleUpperBound(org.jetbrains.kotlin.metadata.ProtoBuf.Type value) {
if (value == null) {
throw new NullPointerException();
}
flexibleUpperBound_ = value;
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.Type flexible_upper_bound = 5;
*/
public Builder setFlexibleUpperBound(
org.jetbrains.kotlin.metadata.ProtoBuf.Type.Builder builderForValue) {
flexibleUpperBound_ = builderForValue.build();
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.Type flexible_upper_bound = 5;
*/
public Builder mergeFlexibleUpperBound(org.jetbrains.kotlin.metadata.ProtoBuf.Type value) {
if (((bitField0_ & 0x00000008) == 0x00000008) &&
flexibleUpperBound_ != org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance()) {
flexibleUpperBound_ =
org.jetbrains.kotlin.metadata.ProtoBuf.Type.newBuilder(flexibleUpperBound_).mergeFrom(value).buildPartial();
} else {
flexibleUpperBound_ = value;
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.Type flexible_upper_bound = 5;
*/
public Builder clearFlexibleUpperBound() {
flexibleUpperBound_ = org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
private int flexibleUpperBoundId_ ;
/**
* optional int32 flexible_upper_bound_id = 8;
*/
public boolean hasFlexibleUpperBoundId() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int32 flexible_upper_bound_id = 8;
*/
public int getFlexibleUpperBoundId() {
return flexibleUpperBoundId_;
}
/**
* optional int32 flexible_upper_bound_id = 8;
*/
public Builder setFlexibleUpperBoundId(int value) {
bitField0_ |= 0x00000010;
flexibleUpperBoundId_ = value;
return this;
}
/**
* optional int32 flexible_upper_bound_id = 8;
*/
public Builder clearFlexibleUpperBoundId() {
bitField0_ = (bitField0_ & ~0x00000010);
flexibleUpperBoundId_ = 0;
return this;
}
private int className_ ;
/**
* optional int32 class_name = 6;
*/
public boolean hasClassName() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional int32 class_name = 6;
*/
public int getClassName() {
return className_;
}
/**
* optional int32 class_name = 6;
*/
public Builder setClassName(int value) {
bitField0_ |= 0x00000020;
className_ = value;
return this;
}
/**
* optional int32 class_name = 6;
*/
public Builder clearClassName() {
bitField0_ = (bitField0_ & ~0x00000020);
className_ = 0;
return this;
}
private int typeParameter_ ;
/**
* optional int32 type_parameter = 7;
*
*
* id of the type parameter
*
*/
public boolean hasTypeParameter() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional int32 type_parameter = 7;
*
*
* id of the type parameter
*
*/
public int getTypeParameter() {
return typeParameter_;
}
/**
* optional int32 type_parameter = 7;
*
*
* id of the type parameter
*
*/
public Builder setTypeParameter(int value) {
bitField0_ |= 0x00000040;
typeParameter_ = value;
return this;
}
/**
* optional int32 type_parameter = 7;
*
*
* id of the type parameter
*
*/
public Builder clearTypeParameter() {
bitField0_ = (bitField0_ & ~0x00000040);
typeParameter_ = 0;
return this;
}
private int typeParameterName_ ;
/**
* optional int32 type_parameter_name = 9;
*
*
* Name of the type parameter in the immediate owner
*
*/
public boolean hasTypeParameterName() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional int32 type_parameter_name = 9;
*
*
* Name of the type parameter in the immediate owner
*
*/
public int getTypeParameterName() {
return typeParameterName_;
}
/**
* optional int32 type_parameter_name = 9;
*
*
* Name of the type parameter in the immediate owner
*
*/
public Builder setTypeParameterName(int value) {
bitField0_ |= 0x00000080;
typeParameterName_ = value;
return this;
}
/**
* optional int32 type_parameter_name = 9;
*
*
* Name of the type parameter in the immediate owner
*
*/
public Builder clearTypeParameterName() {
bitField0_ = (bitField0_ & ~0x00000080);
typeParameterName_ = 0;
return this;
}
private int typeAliasName_ ;
/**
* optional int32 type_alias_name = 12;
*
*
* Note that this may be present only for abbreviated_type
* Top level types are always fully expanded
*
*/
public boolean hasTypeAliasName() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional int32 type_alias_name = 12;
*
*
* Note that this may be present only for abbreviated_type
* Top level types are always fully expanded
*
*/
public int getTypeAliasName() {
return typeAliasName_;
}
/**
* optional int32 type_alias_name = 12;
*
*
* Note that this may be present only for abbreviated_type
* Top level types are always fully expanded
*
*/
public Builder setTypeAliasName(int value) {
bitField0_ |= 0x00000100;
typeAliasName_ = value;
return this;
}
/**
* optional int32 type_alias_name = 12;
*
*
* Note that this may be present only for abbreviated_type
* Top level types are always fully expanded
*
*/
public Builder clearTypeAliasName() {
bitField0_ = (bitField0_ & ~0x00000100);
typeAliasName_ = 0;
return this;
}
private org.jetbrains.kotlin.metadata.ProtoBuf.Type outerType_ = org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance();
/**
* optional .org.jetbrains.kotlin.metadata.Type outer_type = 10;
*
*
* Outer type may be present only if class_name or type_alias_name is present
*
*/
public boolean hasOuterType() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional .org.jetbrains.kotlin.metadata.Type outer_type = 10;
*
*
* Outer type may be present only if class_name or type_alias_name is present
*
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Type getOuterType() {
return outerType_;
}
/**
* optional .org.jetbrains.kotlin.metadata.Type outer_type = 10;
*
*
* Outer type may be present only if class_name or type_alias_name is present
*
*/
public Builder setOuterType(org.jetbrains.kotlin.metadata.ProtoBuf.Type value) {
if (value == null) {
throw new NullPointerException();
}
outerType_ = value;
bitField0_ |= 0x00000200;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.Type outer_type = 10;
*
*
* Outer type may be present only if class_name or type_alias_name is present
*
*/
public Builder setOuterType(
org.jetbrains.kotlin.metadata.ProtoBuf.Type.Builder builderForValue) {
outerType_ = builderForValue.build();
bitField0_ |= 0x00000200;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.Type outer_type = 10;
*
*
* Outer type may be present only if class_name or type_alias_name is present
*
*/
public Builder mergeOuterType(org.jetbrains.kotlin.metadata.ProtoBuf.Type value) {
if (((bitField0_ & 0x00000200) == 0x00000200) &&
outerType_ != org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance()) {
outerType_ =
org.jetbrains.kotlin.metadata.ProtoBuf.Type.newBuilder(outerType_).mergeFrom(value).buildPartial();
} else {
outerType_ = value;
}
bitField0_ |= 0x00000200;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.Type outer_type = 10;
*
*
* Outer type may be present only if class_name or type_alias_name is present
*
*/
public Builder clearOuterType() {
outerType_ = org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000200);
return this;
}
private int outerTypeId_ ;
/**
* optional int32 outer_type_id = 11;
*/
public boolean hasOuterTypeId() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional int32 outer_type_id = 11;
*/
public int getOuterTypeId() {
return outerTypeId_;
}
/**
* optional int32 outer_type_id = 11;
*/
public Builder setOuterTypeId(int value) {
bitField0_ |= 0x00000400;
outerTypeId_ = value;
return this;
}
/**
* optional int32 outer_type_id = 11;
*/
public Builder clearOuterTypeId() {
bitField0_ = (bitField0_ & ~0x00000400);
outerTypeId_ = 0;
return this;
}
private org.jetbrains.kotlin.metadata.ProtoBuf.Type abbreviatedType_ = org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance();
/**
* optional .org.jetbrains.kotlin.metadata.Type abbreviated_type = 13;
*/
public boolean hasAbbreviatedType() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* optional .org.jetbrains.kotlin.metadata.Type abbreviated_type = 13;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Type getAbbreviatedType() {
return abbreviatedType_;
}
/**
* optional .org.jetbrains.kotlin.metadata.Type abbreviated_type = 13;
*/
public Builder setAbbreviatedType(org.jetbrains.kotlin.metadata.ProtoBuf.Type value) {
if (value == null) {
throw new NullPointerException();
}
abbreviatedType_ = value;
bitField0_ |= 0x00000800;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.Type abbreviated_type = 13;
*/
public Builder setAbbreviatedType(
org.jetbrains.kotlin.metadata.ProtoBuf.Type.Builder builderForValue) {
abbreviatedType_ = builderForValue.build();
bitField0_ |= 0x00000800;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.Type abbreviated_type = 13;
*/
public Builder mergeAbbreviatedType(org.jetbrains.kotlin.metadata.ProtoBuf.Type value) {
if (((bitField0_ & 0x00000800) == 0x00000800) &&
abbreviatedType_ != org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance()) {
abbreviatedType_ =
org.jetbrains.kotlin.metadata.ProtoBuf.Type.newBuilder(abbreviatedType_).mergeFrom(value).buildPartial();
} else {
abbreviatedType_ = value;
}
bitField0_ |= 0x00000800;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.Type abbreviated_type = 13;
*/
public Builder clearAbbreviatedType() {
abbreviatedType_ = org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000800);
return this;
}
private int abbreviatedTypeId_ ;
/**
* optional int32 abbreviated_type_id = 14;
*/
public boolean hasAbbreviatedTypeId() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
* optional int32 abbreviated_type_id = 14;
*/
public int getAbbreviatedTypeId() {
return abbreviatedTypeId_;
}
/**
* optional int32 abbreviated_type_id = 14;
*/
public Builder setAbbreviatedTypeId(int value) {
bitField0_ |= 0x00001000;
abbreviatedTypeId_ = value;
return this;
}
/**
* optional int32 abbreviated_type_id = 14;
*/
public Builder clearAbbreviatedTypeId() {
bitField0_ = (bitField0_ & ~0x00001000);
abbreviatedTypeId_ = 0;
return this;
}
private int flags_ ;
/**
* optional int32 flags = 1;
*
*
*suspend
*definitelyNonNull
*
*/
public boolean hasFlags() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
* optional int32 flags = 1;
*
*
*suspend
*definitelyNonNull
*
*/
public int getFlags() {
return flags_;
}
/**
* optional int32 flags = 1;
*
*
*suspend
*definitelyNonNull
*
*/
public Builder setFlags(int value) {
bitField0_ |= 0x00002000;
flags_ = value;
return this;
}
/**
* optional int32 flags = 1;
*
*
*suspend
*definitelyNonNull
*
*/
public Builder clearFlags() {
bitField0_ = (bitField0_ & ~0x00002000);
flags_ = 0;
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.metadata.Type)
}
static {
defaultInstance = new Type(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.metadata.Type)
}
public interface TypeParameterOrBuilder extends
// @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.metadata.TypeParameter)
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder {
/**
* required int32 id = 1;
*/
boolean hasId();
/**
* required int32 id = 1;
*/
int getId();
/**
* required int32 name = 2;
*/
boolean hasName();
/**
* required int32 name = 2;
*/
int getName();
/**
* optional bool reified = 3 [default = false];
*/
boolean hasReified();
/**
* optional bool reified = 3 [default = false];
*/
boolean getReified();
/**
* optional .org.jetbrains.kotlin.metadata.TypeParameter.Variance variance = 4 [default = INV];
*/
boolean hasVariance();
/**
* optional .org.jetbrains.kotlin.metadata.TypeParameter.Variance variance = 4 [default = INV];
*/
org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter.Variance getVariance();
/**
* repeated .org.jetbrains.kotlin.metadata.Type upper_bound = 5;
*/
java.util.List
getUpperBoundList();
/**
* repeated .org.jetbrains.kotlin.metadata.Type upper_bound = 5;
*/
org.jetbrains.kotlin.metadata.ProtoBuf.Type getUpperBound(int index);
/**
* repeated .org.jetbrains.kotlin.metadata.Type upper_bound = 5;
*/
int getUpperBoundCount();
/**
* repeated int32 upper_bound_id = 6 [packed = true];
*/
java.util.List getUpperBoundIdList();
/**
* repeated int32 upper_bound_id = 6 [packed = true];
*/
int getUpperBoundIdCount();
/**
* repeated int32 upper_bound_id = 6 [packed = true];
*/
int getUpperBoundId(int index);
}
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.TypeParameter}
*/
public static final class TypeParameter extends
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableMessage<
TypeParameter> implements
// @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.metadata.TypeParameter)
TypeParameterOrBuilder {
// Use TypeParameter.newBuilder() to construct.
private TypeParameter(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private TypeParameter(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;}
private static final TypeParameter defaultInstance;
public static TypeParameter getDefaultInstance() {
return defaultInstance;
}
public TypeParameter getDefaultInstanceForType() {
return defaultInstance;
}
private final org.jetbrains.kotlin.protobuf.ByteString unknownFields;
private TypeParameter(
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 16: {
bitField0_ |= 0x00000002;
name_ = input.readInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
reified_ = input.readBool();
break;
}
case 32: {
int rawValue = input.readEnum();
org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter.Variance value = org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter.Variance.valueOf(rawValue);
if (value == null) {
unknownFieldsCodedOutput.writeRawVarint32(tag);
unknownFieldsCodedOutput.writeRawVarint32(rawValue);
} else {
bitField0_ |= 0x00000008;
variance_ = value;
}
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
upperBound_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
upperBound_.add(input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.Type.PARSER, extensionRegistry));
break;
}
case 48: {
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
upperBoundId_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
upperBoundId_.add(input.readInt32());
break;
}
case 50: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020) && input.getBytesUntilLimit() > 0) {
upperBoundId_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
while (input.getBytesUntilLimit() > 0) {
upperBoundId_.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_ & 0x00000010) == 0x00000010)) {
upperBound_ = java.util.Collections.unmodifiableList(upperBound_);
}
if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
upperBoundId_ = java.util.Collections.unmodifiableList(upperBoundId_);
}
try {
unknownFieldsCodedOutput.flush();
} catch (java.io.IOException e) {
// Should not happen
} finally {
unknownFields = unknownFieldsOutput.toByteString();
}
makeExtensionsImmutable();
}
}
public static org.jetbrains.kotlin.protobuf.Parser PARSER =
new org.jetbrains.kotlin.protobuf.AbstractParser() {
public TypeParameter parsePartialFrom(
org.jetbrains.kotlin.protobuf.CodedInputStream input,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return new TypeParameter(input, extensionRegistry);
}
};
@java.lang.Override
public org.jetbrains.kotlin.protobuf.Parser getParserForType() {
return PARSER;
}
/**
* Protobuf enum {@code org.jetbrains.kotlin.metadata.TypeParameter.Variance}
*/
public enum Variance
implements org.jetbrains.kotlin.protobuf.Internal.EnumLite {
/**
* IN = 0;
*/
IN(0, 0),
/**
* OUT = 1;
*/
OUT(1, 1),
/**
* INV = 2;
*/
INV(2, 2),
;
/**
* IN = 0;
*/
public static final int IN_VALUE = 0;
/**
* OUT = 1;
*/
public static final int OUT_VALUE = 1;
/**
* INV = 2;
*/
public static final int INV_VALUE = 2;
public final int getNumber() { return value; }
public static Variance valueOf(int value) {
switch (value) {
case 0: return IN;
case 1: return OUT;
case 2: return INV;
default: return null;
}
}
public static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap
internalValueMap =
new org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap() {
public Variance findValueByNumber(int number) {
return Variance.valueOf(number);
}
};
private final int value;
private Variance(int index, int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org.jetbrains.kotlin.metadata.TypeParameter.Variance)
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private int id_;
/**
* required int32 id = 1;
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 id = 1;
*/
public int getId() {
return id_;
}
public static final int NAME_FIELD_NUMBER = 2;
private int name_;
/**
* required int32 name = 2;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 name = 2;
*/
public int getName() {
return name_;
}
public static final int REIFIED_FIELD_NUMBER = 3;
private boolean reified_;
/**
* optional bool reified = 3 [default = false];
*/
public boolean hasReified() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional bool reified = 3 [default = false];
*/
public boolean getReified() {
return reified_;
}
public static final int VARIANCE_FIELD_NUMBER = 4;
private org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter.Variance variance_;
/**
* optional .org.jetbrains.kotlin.metadata.TypeParameter.Variance variance = 4 [default = INV];
*/
public boolean hasVariance() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .org.jetbrains.kotlin.metadata.TypeParameter.Variance variance = 4 [default = INV];
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter.Variance getVariance() {
return variance_;
}
public static final int UPPER_BOUND_FIELD_NUMBER = 5;
private java.util.List upperBound_;
/**
* repeated .org.jetbrains.kotlin.metadata.Type upper_bound = 5;
*/
public java.util.List getUpperBoundList() {
return upperBound_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type upper_bound = 5;
*/
public java.util.List extends org.jetbrains.kotlin.metadata.ProtoBuf.TypeOrBuilder>
getUpperBoundOrBuilderList() {
return upperBound_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type upper_bound = 5;
*/
public int getUpperBoundCount() {
return upperBound_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type upper_bound = 5;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Type getUpperBound(int index) {
return upperBound_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type upper_bound = 5;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.TypeOrBuilder getUpperBoundOrBuilder(
int index) {
return upperBound_.get(index);
}
public static final int UPPER_BOUND_ID_FIELD_NUMBER = 6;
private java.util.List upperBoundId_;
/**
* repeated int32 upper_bound_id = 6 [packed = true];
*/
public java.util.List
getUpperBoundIdList() {
return upperBoundId_;
}
/**
* repeated int32 upper_bound_id = 6 [packed = true];
*/
public int getUpperBoundIdCount() {
return upperBoundId_.size();
}
/**
* repeated int32 upper_bound_id = 6 [packed = true];
*/
public int getUpperBoundId(int index) {
return upperBoundId_.get(index);
}
private int upperBoundIdMemoizedSerializedSize = -1;
private void initFields() {
id_ = 0;
name_ = 0;
reified_ = false;
variance_ = org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter.Variance.INV;
upperBound_ = java.util.Collections.emptyList();
upperBoundId_ = 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 (!hasId()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasName()) {
memoizedIsInitialized = 0;
return false;
}
for (int i = 0; i < getUpperBoundCount(); i++) {
if (!getUpperBound(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (!extensionsAreInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
org.jetbrains.kotlin.protobuf.GeneratedMessageLite
.ExtendableMessage.ExtensionWriter extensionWriter =
newExtensionWriter();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(1, id_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, name_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBool(3, reified_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeEnum(4, variance_.getNumber());
}
for (int i = 0; i < upperBound_.size(); i++) {
output.writeMessage(5, upperBound_.get(i));
}
if (getUpperBoundIdList().size() > 0) {
output.writeRawVarint32(50);
output.writeRawVarint32(upperBoundIdMemoizedSerializedSize);
}
for (int i = 0; i < upperBoundId_.size(); i++) {
output.writeInt32NoTag(upperBoundId_.get(i));
}
extensionWriter.writeUntil(1000, output);
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_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32Size(2, name_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeBoolSize(3, reified_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeEnumSize(4, variance_.getNumber());
}
for (int i = 0; i < upperBound_.size(); i++) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(5, upperBound_.get(i));
}
{
int dataSize = 0;
for (int i = 0; i < upperBoundId_.size(); i++) {
dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32SizeNoTag(upperBoundId_.get(i));
}
size += dataSize;
if (!getUpperBoundIdList().isEmpty()) {
size += 1;
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
upperBoundIdMemoizedSerializedSize = dataSize;
}
size += extensionsSerializedSize();
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.ProtoBuf.TypeParameter parseFrom(
org.jetbrains.kotlin.protobuf.ByteString data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter 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.ProtoBuf.TypeParameter parseFrom(byte[] data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter 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.ProtoBuf.TypeParameter parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter 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.ProtoBuf.TypeParameter parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter 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.ProtoBuf.TypeParameter parseFrom(
org.jetbrains.kotlin.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter 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.ProtoBuf.TypeParameter prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.TypeParameter}
*/
public static final class Builder extends
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder<
org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter, Builder> implements
// @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.metadata.TypeParameter)
org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameterOrBuilder {
// Construct using org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
id_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
name_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
reified_ = false;
bitField0_ = (bitField0_ & ~0x00000004);
variance_ = org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter.Variance.INV;
bitField0_ = (bitField0_ & ~0x00000008);
upperBound_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
upperBoundId_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter getDefaultInstanceForType() {
return org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter.getDefaultInstance();
}
public org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter build() {
org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter buildPartial() {
org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter result = new org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.id_ = id_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.reified_ = reified_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.variance_ = variance_;
if (((bitField0_ & 0x00000010) == 0x00000010)) {
upperBound_ = java.util.Collections.unmodifiableList(upperBound_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.upperBound_ = upperBound_;
if (((bitField0_ & 0x00000020) == 0x00000020)) {
upperBoundId_ = java.util.Collections.unmodifiableList(upperBoundId_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.upperBoundId_ = upperBoundId_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter other) {
if (other == org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
if (other.hasName()) {
setName(other.getName());
}
if (other.hasReified()) {
setReified(other.getReified());
}
if (other.hasVariance()) {
setVariance(other.getVariance());
}
if (!other.upperBound_.isEmpty()) {
if (upperBound_.isEmpty()) {
upperBound_ = other.upperBound_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureUpperBoundIsMutable();
upperBound_.addAll(other.upperBound_);
}
}
if (!other.upperBoundId_.isEmpty()) {
if (upperBoundId_.isEmpty()) {
upperBoundId_ = other.upperBoundId_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureUpperBoundIdIsMutable();
upperBoundId_.addAll(other.upperBoundId_);
}
}
this.mergeExtensionFields(other);
setUnknownFields(
getUnknownFields().concat(other.unknownFields));
return this;
}
public final boolean isInitialized() {
if (!hasId()) {
return false;
}
if (!hasName()) {
return false;
}
for (int i = 0; i < getUpperBoundCount(); i++) {
if (!getUpperBound(i).isInitialized()) {
return false;
}
}
if (!extensionsAreInitialized()) {
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.ProtoBuf.TypeParameter parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int id_ ;
/**
* required int32 id = 1;
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 id = 1;
*/
public int getId() {
return id_;
}
/**
* required int32 id = 1;
*/
public Builder setId(int value) {
bitField0_ |= 0x00000001;
id_ = value;
return this;
}
/**
* required int32 id = 1;
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0;
return this;
}
private int name_ ;
/**
* required int32 name = 2;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 name = 2;
*/
public int getName() {
return name_;
}
/**
* required int32 name = 2;
*/
public Builder setName(int value) {
bitField0_ |= 0x00000002;
name_ = value;
return this;
}
/**
* required int32 name = 2;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = 0;
return this;
}
private boolean reified_ ;
/**
* optional bool reified = 3 [default = false];
*/
public boolean hasReified() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional bool reified = 3 [default = false];
*/
public boolean getReified() {
return reified_;
}
/**
* optional bool reified = 3 [default = false];
*/
public Builder setReified(boolean value) {
bitField0_ |= 0x00000004;
reified_ = value;
return this;
}
/**
* optional bool reified = 3 [default = false];
*/
public Builder clearReified() {
bitField0_ = (bitField0_ & ~0x00000004);
reified_ = false;
return this;
}
private org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter.Variance variance_ = org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter.Variance.INV;
/**
* optional .org.jetbrains.kotlin.metadata.TypeParameter.Variance variance = 4 [default = INV];
*/
public boolean hasVariance() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .org.jetbrains.kotlin.metadata.TypeParameter.Variance variance = 4 [default = INV];
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter.Variance getVariance() {
return variance_;
}
/**
* optional .org.jetbrains.kotlin.metadata.TypeParameter.Variance variance = 4 [default = INV];
*/
public Builder setVariance(org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter.Variance value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
variance_ = value;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.TypeParameter.Variance variance = 4 [default = INV];
*/
public Builder clearVariance() {
bitField0_ = (bitField0_ & ~0x00000008);
variance_ = org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter.Variance.INV;
return this;
}
private java.util.List upperBound_ =
java.util.Collections.emptyList();
private void ensureUpperBoundIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
upperBound_ = new java.util.ArrayList(upperBound_);
bitField0_ |= 0x00000010;
}
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type upper_bound = 5;
*/
public java.util.List getUpperBoundList() {
return java.util.Collections.unmodifiableList(upperBound_);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type upper_bound = 5;
*/
public int getUpperBoundCount() {
return upperBound_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type upper_bound = 5;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Type getUpperBound(int index) {
return upperBound_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type upper_bound = 5;
*/
public Builder setUpperBound(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Type value) {
if (value == null) {
throw new NullPointerException();
}
ensureUpperBoundIsMutable();
upperBound_.set(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type upper_bound = 5;
*/
public Builder setUpperBound(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Type.Builder builderForValue) {
ensureUpperBoundIsMutable();
upperBound_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type upper_bound = 5;
*/
public Builder addUpperBound(org.jetbrains.kotlin.metadata.ProtoBuf.Type value) {
if (value == null) {
throw new NullPointerException();
}
ensureUpperBoundIsMutable();
upperBound_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type upper_bound = 5;
*/
public Builder addUpperBound(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Type value) {
if (value == null) {
throw new NullPointerException();
}
ensureUpperBoundIsMutable();
upperBound_.add(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type upper_bound = 5;
*/
public Builder addUpperBound(
org.jetbrains.kotlin.metadata.ProtoBuf.Type.Builder builderForValue) {
ensureUpperBoundIsMutable();
upperBound_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type upper_bound = 5;
*/
public Builder addUpperBound(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Type.Builder builderForValue) {
ensureUpperBoundIsMutable();
upperBound_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type upper_bound = 5;
*/
public Builder addAllUpperBound(
java.lang.Iterable extends org.jetbrains.kotlin.metadata.ProtoBuf.Type> values) {
ensureUpperBoundIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, upperBound_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type upper_bound = 5;
*/
public Builder clearUpperBound() {
upperBound_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type upper_bound = 5;
*/
public Builder removeUpperBound(int index) {
ensureUpperBoundIsMutable();
upperBound_.remove(index);
return this;
}
private java.util.List upperBoundId_ = java.util.Collections.emptyList();
private void ensureUpperBoundIdIsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
upperBoundId_ = new java.util.ArrayList(upperBoundId_);
bitField0_ |= 0x00000020;
}
}
/**
* repeated int32 upper_bound_id = 6 [packed = true];
*/
public java.util.List
getUpperBoundIdList() {
return java.util.Collections.unmodifiableList(upperBoundId_);
}
/**
* repeated int32 upper_bound_id = 6 [packed = true];
*/
public int getUpperBoundIdCount() {
return upperBoundId_.size();
}
/**
* repeated int32 upper_bound_id = 6 [packed = true];
*/
public int getUpperBoundId(int index) {
return upperBoundId_.get(index);
}
/**
* repeated int32 upper_bound_id = 6 [packed = true];
*/
public Builder setUpperBoundId(
int index, int value) {
ensureUpperBoundIdIsMutable();
upperBoundId_.set(index, value);
return this;
}
/**
* repeated int32 upper_bound_id = 6 [packed = true];
*/
public Builder addUpperBoundId(int value) {
ensureUpperBoundIdIsMutable();
upperBoundId_.add(value);
return this;
}
/**
* repeated int32 upper_bound_id = 6 [packed = true];
*/
public Builder addAllUpperBoundId(
java.lang.Iterable extends java.lang.Integer> values) {
ensureUpperBoundIdIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, upperBoundId_);
return this;
}
/**
* repeated int32 upper_bound_id = 6 [packed = true];
*/
public Builder clearUpperBoundId() {
upperBoundId_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.metadata.TypeParameter)
}
static {
defaultInstance = new TypeParameter(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.metadata.TypeParameter)
}
public interface ClassOrBuilder extends
// @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.metadata.Class)
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder {
/**
* optional int32 flags = 1 [default = 6];
*
*
*hasAnnotations
*Visibility
*Modality
*ClassKind
*isInner
*isData
*isExternal
*isExpect
*isInline
*isFun
*hasEnumEntries
*
*/
boolean hasFlags();
/**
* optional int32 flags = 1 [default = 6];
*
*
*hasAnnotations
*Visibility
*Modality
*ClassKind
*isInner
*isData
*isExternal
*isExpect
*isInline
*isFun
*hasEnumEntries
*
*/
int getFlags();
/**
* required int32 fq_name = 3;
*/
boolean hasFqName();
/**
* required int32 fq_name = 3;
*/
int getFqName();
/**
* optional int32 companion_object_name = 4;
*/
boolean hasCompanionObjectName();
/**
* optional int32 companion_object_name = 4;
*/
int getCompanionObjectName();
/**
* repeated .org.jetbrains.kotlin.metadata.TypeParameter type_parameter = 5;
*/
java.util.List
getTypeParameterList();
/**
* repeated .org.jetbrains.kotlin.metadata.TypeParameter type_parameter = 5;
*/
org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter getTypeParameter(int index);
/**
* repeated .org.jetbrains.kotlin.metadata.TypeParameter type_parameter = 5;
*/
int getTypeParameterCount();
/**
* repeated .org.jetbrains.kotlin.metadata.Type supertype = 6;
*/
java.util.List
getSupertypeList();
/**
* repeated .org.jetbrains.kotlin.metadata.Type supertype = 6;
*/
org.jetbrains.kotlin.metadata.ProtoBuf.Type getSupertype(int index);
/**
* repeated .org.jetbrains.kotlin.metadata.Type supertype = 6;
*/
int getSupertypeCount();
/**
* repeated int32 supertype_id = 2 [packed = true];
*/
java.util.List getSupertypeIdList();
/**
* repeated int32 supertype_id = 2 [packed = true];
*/
int getSupertypeIdCount();
/**
* repeated int32 supertype_id = 2 [packed = true];
*/
int getSupertypeId(int index);
/**
* repeated int32 nested_class_name = 7 [packed = true];
*/
java.util.List getNestedClassNameList();
/**
* repeated int32 nested_class_name = 7 [packed = true];
*/
int getNestedClassNameCount();
/**
* repeated int32 nested_class_name = 7 [packed = true];
*/
int getNestedClassName(int index);
/**
* repeated .org.jetbrains.kotlin.metadata.Type context_receiver_type = 20;
*/
java.util.List
getContextReceiverTypeList();
/**
* repeated .org.jetbrains.kotlin.metadata.Type context_receiver_type = 20;
*/
org.jetbrains.kotlin.metadata.ProtoBuf.Type getContextReceiverType(int index);
/**
* repeated .org.jetbrains.kotlin.metadata.Type context_receiver_type = 20;
*/
int getContextReceiverTypeCount();
/**
* repeated int32 context_receiver_type_id = 21 [packed = true];
*/
java.util.List getContextReceiverTypeIdList();
/**
* repeated int32 context_receiver_type_id = 21 [packed = true];
*/
int getContextReceiverTypeIdCount();
/**
* repeated int32 context_receiver_type_id = 21 [packed = true];
*/
int getContextReceiverTypeId(int index);
/**
* repeated .org.jetbrains.kotlin.metadata.Constructor constructor = 8;
*/
java.util.List
getConstructorList();
/**
* repeated .org.jetbrains.kotlin.metadata.Constructor constructor = 8;
*/
org.jetbrains.kotlin.metadata.ProtoBuf.Constructor getConstructor(int index);
/**
* repeated .org.jetbrains.kotlin.metadata.Constructor constructor = 8;
*/
int getConstructorCount();
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 9;
*/
java.util.List
getFunctionList();
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 9;
*/
org.jetbrains.kotlin.metadata.ProtoBuf.Function getFunction(int index);
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 9;
*/
int getFunctionCount();
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 10;
*/
java.util.List
getPropertyList();
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 10;
*/
org.jetbrains.kotlin.metadata.ProtoBuf.Property getProperty(int index);
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 10;
*/
int getPropertyCount();
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 11;
*/
java.util.List
getTypeAliasList();
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 11;
*/
org.jetbrains.kotlin.metadata.ProtoBuf.TypeAlias getTypeAlias(int index);
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 11;
*/
int getTypeAliasCount();
/**
* repeated .org.jetbrains.kotlin.metadata.EnumEntry enum_entry = 13;
*/
java.util.List
getEnumEntryList();
/**
* repeated .org.jetbrains.kotlin.metadata.EnumEntry enum_entry = 13;
*/
org.jetbrains.kotlin.metadata.ProtoBuf.EnumEntry getEnumEntry(int index);
/**
* repeated .org.jetbrains.kotlin.metadata.EnumEntry enum_entry = 13;
*/
int getEnumEntryCount();
/**
* repeated int32 sealed_subclass_fq_name = 16 [packed = true];
*/
java.util.List getSealedSubclassFqNameList();
/**
* repeated int32 sealed_subclass_fq_name = 16 [packed = true];
*/
int getSealedSubclassFqNameCount();
/**
* repeated int32 sealed_subclass_fq_name = 16 [packed = true];
*/
int getSealedSubclassFqName(int index);
/**
* optional int32 inline_class_underlying_property_name = 17;
*/
boolean hasInlineClassUnderlyingPropertyName();
/**
* optional int32 inline_class_underlying_property_name = 17;
*/
int getInlineClassUnderlyingPropertyName();
/**
* optional .org.jetbrains.kotlin.metadata.Type inline_class_underlying_type = 18;
*/
boolean hasInlineClassUnderlyingType();
/**
* optional .org.jetbrains.kotlin.metadata.Type inline_class_underlying_type = 18;
*/
org.jetbrains.kotlin.metadata.ProtoBuf.Type getInlineClassUnderlyingType();
/**
* optional int32 inline_class_underlying_type_id = 19;
*/
boolean hasInlineClassUnderlyingTypeId();
/**
* optional int32 inline_class_underlying_type_id = 19;
*/
int getInlineClassUnderlyingTypeId();
/**
* repeated int32 multi_field_value_class_underlying_name = 22 [packed = true];
*/
java.util.List getMultiFieldValueClassUnderlyingNameList();
/**
* repeated int32 multi_field_value_class_underlying_name = 22 [packed = true];
*/
int getMultiFieldValueClassUnderlyingNameCount();
/**
* repeated int32 multi_field_value_class_underlying_name = 22 [packed = true];
*/
int getMultiFieldValueClassUnderlyingName(int index);
/**
* repeated .org.jetbrains.kotlin.metadata.Type multi_field_value_class_underlying_type = 23;
*/
java.util.List
getMultiFieldValueClassUnderlyingTypeList();
/**
* repeated .org.jetbrains.kotlin.metadata.Type multi_field_value_class_underlying_type = 23;
*/
org.jetbrains.kotlin.metadata.ProtoBuf.Type getMultiFieldValueClassUnderlyingType(int index);
/**
* repeated .org.jetbrains.kotlin.metadata.Type multi_field_value_class_underlying_type = 23;
*/
int getMultiFieldValueClassUnderlyingTypeCount();
/**
* repeated int32 multi_field_value_class_underlying_type_id = 24 [packed = true];
*/
java.util.List getMultiFieldValueClassUnderlyingTypeIdList();
/**
* repeated int32 multi_field_value_class_underlying_type_id = 24 [packed = true];
*/
int getMultiFieldValueClassUnderlyingTypeIdCount();
/**
* repeated int32 multi_field_value_class_underlying_type_id = 24 [packed = true];
*/
int getMultiFieldValueClassUnderlyingTypeId(int index);
/**
* optional .org.jetbrains.kotlin.metadata.TypeTable type_table = 30;
*/
boolean hasTypeTable();
/**
* optional .org.jetbrains.kotlin.metadata.TypeTable type_table = 30;
*/
org.jetbrains.kotlin.metadata.ProtoBuf.TypeTable getTypeTable();
/**
* repeated int32 version_requirement = 31;
*
*
* Index into the VersionRequirementTable
*
*/
java.util.List getVersionRequirementList();
/**
* repeated int32 version_requirement = 31;
*
*
* Index into the VersionRequirementTable
*
*/
int getVersionRequirementCount();
/**
* repeated int32 version_requirement = 31;
*
*
* Index into the VersionRequirementTable
*
*/
int getVersionRequirement(int index);
/**
* optional .org.jetbrains.kotlin.metadata.VersionRequirementTable version_requirement_table = 32;
*/
boolean hasVersionRequirementTable();
/**
* optional .org.jetbrains.kotlin.metadata.VersionRequirementTable version_requirement_table = 32;
*/
org.jetbrains.kotlin.metadata.ProtoBuf.VersionRequirementTable getVersionRequirementTable();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.Class}
*/
public static final class Class extends
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableMessage<
Class> implements
// @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.metadata.Class)
ClassOrBuilder {
// Use Class.newBuilder() to construct.
private Class(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Class(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;}
private static final Class defaultInstance;
public static Class getDefaultInstance() {
return defaultInstance;
}
public Class getDefaultInstanceForType() {
return defaultInstance;
}
private final org.jetbrains.kotlin.protobuf.ByteString unknownFields;
private Class(
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: {
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
supertypeId_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
supertypeId_.add(input.readInt32());
break;
}
case 18: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020) && input.getBytesUntilLimit() > 0) {
supertypeId_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
while (input.getBytesUntilLimit() > 0) {
supertypeId_.add(input.readInt32());
}
input.popLimit(limit);
break;
}
case 24: {
bitField0_ |= 0x00000002;
fqName_ = input.readInt32();
break;
}
case 32: {
bitField0_ |= 0x00000004;
companionObjectName_ = input.readInt32();
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
typeParameter_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
typeParameter_.add(input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter.PARSER, extensionRegistry));
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
supertype_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
supertype_.add(input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.Type.PARSER, extensionRegistry));
break;
}
case 56: {
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
nestedClassName_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
nestedClassName_.add(input.readInt32());
break;
}
case 58: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040) && input.getBytesUntilLimit() > 0) {
nestedClassName_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
while (input.getBytesUntilLimit() > 0) {
nestedClassName_.add(input.readInt32());
}
input.popLimit(limit);
break;
}
case 66: {
if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
constructor_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000200;
}
constructor_.add(input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.Constructor.PARSER, extensionRegistry));
break;
}
case 74: {
if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
function_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000400;
}
function_.add(input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.Function.PARSER, extensionRegistry));
break;
}
case 82: {
if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
property_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000800;
}
property_.add(input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.Property.PARSER, extensionRegistry));
break;
}
case 90: {
if (!((mutable_bitField0_ & 0x00001000) == 0x00001000)) {
typeAlias_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00001000;
}
typeAlias_.add(input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.TypeAlias.PARSER, extensionRegistry));
break;
}
case 106: {
if (!((mutable_bitField0_ & 0x00002000) == 0x00002000)) {
enumEntry_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00002000;
}
enumEntry_.add(input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.EnumEntry.PARSER, extensionRegistry));
break;
}
case 128: {
if (!((mutable_bitField0_ & 0x00004000) == 0x00004000)) {
sealedSubclassFqName_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00004000;
}
sealedSubclassFqName_.add(input.readInt32());
break;
}
case 130: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00004000) == 0x00004000) && input.getBytesUntilLimit() > 0) {
sealedSubclassFqName_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00004000;
}
while (input.getBytesUntilLimit() > 0) {
sealedSubclassFqName_.add(input.readInt32());
}
input.popLimit(limit);
break;
}
case 136: {
bitField0_ |= 0x00000008;
inlineClassUnderlyingPropertyName_ = input.readInt32();
break;
}
case 146: {
org.jetbrains.kotlin.metadata.ProtoBuf.Type.Builder subBuilder = null;
if (((bitField0_ & 0x00000010) == 0x00000010)) {
subBuilder = inlineClassUnderlyingType_.toBuilder();
}
inlineClassUnderlyingType_ = input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.Type.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(inlineClassUnderlyingType_);
inlineClassUnderlyingType_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000010;
break;
}
case 152: {
bitField0_ |= 0x00000020;
inlineClassUnderlyingTypeId_ = input.readInt32();
break;
}
case 162: {
if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
contextReceiverType_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000080;
}
contextReceiverType_.add(input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.Type.PARSER, extensionRegistry));
break;
}
case 168: {
if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
contextReceiverTypeId_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000100;
}
contextReceiverTypeId_.add(input.readInt32());
break;
}
case 170: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000100) == 0x00000100) && input.getBytesUntilLimit() > 0) {
contextReceiverTypeId_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000100;
}
while (input.getBytesUntilLimit() > 0) {
contextReceiverTypeId_.add(input.readInt32());
}
input.popLimit(limit);
break;
}
case 176: {
if (!((mutable_bitField0_ & 0x00040000) == 0x00040000)) {
multiFieldValueClassUnderlyingName_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00040000;
}
multiFieldValueClassUnderlyingName_.add(input.readInt32());
break;
}
case 178: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00040000) == 0x00040000) && input.getBytesUntilLimit() > 0) {
multiFieldValueClassUnderlyingName_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00040000;
}
while (input.getBytesUntilLimit() > 0) {
multiFieldValueClassUnderlyingName_.add(input.readInt32());
}
input.popLimit(limit);
break;
}
case 186: {
if (!((mutable_bitField0_ & 0x00080000) == 0x00080000)) {
multiFieldValueClassUnderlyingType_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00080000;
}
multiFieldValueClassUnderlyingType_.add(input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.Type.PARSER, extensionRegistry));
break;
}
case 192: {
if (!((mutable_bitField0_ & 0x00100000) == 0x00100000)) {
multiFieldValueClassUnderlyingTypeId_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00100000;
}
multiFieldValueClassUnderlyingTypeId_.add(input.readInt32());
break;
}
case 194: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00100000) == 0x00100000) && input.getBytesUntilLimit() > 0) {
multiFieldValueClassUnderlyingTypeId_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00100000;
}
while (input.getBytesUntilLimit() > 0) {
multiFieldValueClassUnderlyingTypeId_.add(input.readInt32());
}
input.popLimit(limit);
break;
}
case 242: {
org.jetbrains.kotlin.metadata.ProtoBuf.TypeTable.Builder subBuilder = null;
if (((bitField0_ & 0x00000040) == 0x00000040)) {
subBuilder = typeTable_.toBuilder();
}
typeTable_ = input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.TypeTable.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(typeTable_);
typeTable_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000040;
break;
}
case 248: {
if (!((mutable_bitField0_ & 0x00400000) == 0x00400000)) {
versionRequirement_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00400000;
}
versionRequirement_.add(input.readInt32());
break;
}
case 250: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00400000) == 0x00400000) && input.getBytesUntilLimit() > 0) {
versionRequirement_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00400000;
}
while (input.getBytesUntilLimit() > 0) {
versionRequirement_.add(input.readInt32());
}
input.popLimit(limit);
break;
}
case 258: {
org.jetbrains.kotlin.metadata.ProtoBuf.VersionRequirementTable.Builder subBuilder = null;
if (((bitField0_ & 0x00000080) == 0x00000080)) {
subBuilder = versionRequirementTable_.toBuilder();
}
versionRequirementTable_ = input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.VersionRequirementTable.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(versionRequirementTable_);
versionRequirementTable_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000080;
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)) {
supertypeId_ = java.util.Collections.unmodifiableList(supertypeId_);
}
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
typeParameter_ = java.util.Collections.unmodifiableList(typeParameter_);
}
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
supertype_ = java.util.Collections.unmodifiableList(supertype_);
}
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
nestedClassName_ = java.util.Collections.unmodifiableList(nestedClassName_);
}
if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
constructor_ = java.util.Collections.unmodifiableList(constructor_);
}
if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
function_ = java.util.Collections.unmodifiableList(function_);
}
if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
property_ = java.util.Collections.unmodifiableList(property_);
}
if (((mutable_bitField0_ & 0x00001000) == 0x00001000)) {
typeAlias_ = java.util.Collections.unmodifiableList(typeAlias_);
}
if (((mutable_bitField0_ & 0x00002000) == 0x00002000)) {
enumEntry_ = java.util.Collections.unmodifiableList(enumEntry_);
}
if (((mutable_bitField0_ & 0x00004000) == 0x00004000)) {
sealedSubclassFqName_ = java.util.Collections.unmodifiableList(sealedSubclassFqName_);
}
if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
contextReceiverType_ = java.util.Collections.unmodifiableList(contextReceiverType_);
}
if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
contextReceiverTypeId_ = java.util.Collections.unmodifiableList(contextReceiverTypeId_);
}
if (((mutable_bitField0_ & 0x00040000) == 0x00040000)) {
multiFieldValueClassUnderlyingName_ = java.util.Collections.unmodifiableList(multiFieldValueClassUnderlyingName_);
}
if (((mutable_bitField0_ & 0x00080000) == 0x00080000)) {
multiFieldValueClassUnderlyingType_ = java.util.Collections.unmodifiableList(multiFieldValueClassUnderlyingType_);
}
if (((mutable_bitField0_ & 0x00100000) == 0x00100000)) {
multiFieldValueClassUnderlyingTypeId_ = java.util.Collections.unmodifiableList(multiFieldValueClassUnderlyingTypeId_);
}
if (((mutable_bitField0_ & 0x00400000) == 0x00400000)) {
versionRequirement_ = java.util.Collections.unmodifiableList(versionRequirement_);
}
try {
unknownFieldsCodedOutput.flush();
} catch (java.io.IOException e) {
// Should not happen
} finally {
unknownFields = unknownFieldsOutput.toByteString();
}
makeExtensionsImmutable();
}
}
public static org.jetbrains.kotlin.protobuf.Parser PARSER =
new org.jetbrains.kotlin.protobuf.AbstractParser() {
public Class parsePartialFrom(
org.jetbrains.kotlin.protobuf.CodedInputStream input,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return new Class(input, extensionRegistry);
}
};
@java.lang.Override
public org.jetbrains.kotlin.protobuf.Parser getParserForType() {
return PARSER;
}
/**
* Protobuf enum {@code org.jetbrains.kotlin.metadata.Class.Kind}
*/
public enum Kind
implements org.jetbrains.kotlin.protobuf.Internal.EnumLite {
/**
* CLASS = 0;
*
*
* 3 bits
*
*/
CLASS(0, 0),
/**
* INTERFACE = 1;
*/
INTERFACE(1, 1),
/**
* ENUM_CLASS = 2;
*/
ENUM_CLASS(2, 2),
/**
* ENUM_ENTRY = 3;
*/
ENUM_ENTRY(3, 3),
/**
* ANNOTATION_CLASS = 4;
*/
ANNOTATION_CLASS(4, 4),
/**
* OBJECT = 5;
*/
OBJECT(5, 5),
/**
* COMPANION_OBJECT = 6;
*/
COMPANION_OBJECT(6, 6),
;
/**
* CLASS = 0;
*
*
* 3 bits
*
*/
public static final int CLASS_VALUE = 0;
/**
* INTERFACE = 1;
*/
public static final int INTERFACE_VALUE = 1;
/**
* ENUM_CLASS = 2;
*/
public static final int ENUM_CLASS_VALUE = 2;
/**
* ENUM_ENTRY = 3;
*/
public static final int ENUM_ENTRY_VALUE = 3;
/**
* ANNOTATION_CLASS = 4;
*/
public static final int ANNOTATION_CLASS_VALUE = 4;
/**
* OBJECT = 5;
*/
public static final int OBJECT_VALUE = 5;
/**
* COMPANION_OBJECT = 6;
*/
public static final int COMPANION_OBJECT_VALUE = 6;
public final int getNumber() { return value; }
public static Kind valueOf(int value) {
switch (value) {
case 0: return CLASS;
case 1: return INTERFACE;
case 2: return ENUM_CLASS;
case 3: return ENUM_ENTRY;
case 4: return ANNOTATION_CLASS;
case 5: return OBJECT;
case 6: return COMPANION_OBJECT;
default: return null;
}
}
public static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap
internalValueMap =
new org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap() {
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.Class.Kind)
}
private int bitField0_;
public static final int FLAGS_FIELD_NUMBER = 1;
private int flags_;
/**
* optional int32 flags = 1 [default = 6];
*
*
*hasAnnotations
*Visibility
*Modality
*ClassKind
*isInner
*isData
*isExternal
*isExpect
*isInline
*isFun
*hasEnumEntries
*
*/
public boolean hasFlags() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 flags = 1 [default = 6];
*
*
*hasAnnotations
*Visibility
*Modality
*ClassKind
*isInner
*isData
*isExternal
*isExpect
*isInline
*isFun
*hasEnumEntries
*
*/
public int getFlags() {
return flags_;
}
public static final int FQ_NAME_FIELD_NUMBER = 3;
private int fqName_;
/**
* required int32 fq_name = 3;
*/
public boolean hasFqName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 fq_name = 3;
*/
public int getFqName() {
return fqName_;
}
public static final int COMPANION_OBJECT_NAME_FIELD_NUMBER = 4;
private int companionObjectName_;
/**
* optional int32 companion_object_name = 4;
*/
public boolean hasCompanionObjectName() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 companion_object_name = 4;
*/
public int getCompanionObjectName() {
return companionObjectName_;
}
public static final int TYPE_PARAMETER_FIELD_NUMBER = 5;
private java.util.List typeParameter_;
/**
* repeated .org.jetbrains.kotlin.metadata.TypeParameter type_parameter = 5;
*/
public java.util.List getTypeParameterList() {
return typeParameter_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeParameter type_parameter = 5;
*/
public java.util.List extends org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameterOrBuilder>
getTypeParameterOrBuilderList() {
return typeParameter_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeParameter type_parameter = 5;
*/
public int getTypeParameterCount() {
return typeParameter_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeParameter type_parameter = 5;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter getTypeParameter(int index) {
return typeParameter_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeParameter type_parameter = 5;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameterOrBuilder getTypeParameterOrBuilder(
int index) {
return typeParameter_.get(index);
}
public static final int SUPERTYPE_FIELD_NUMBER = 6;
private java.util.List supertype_;
/**
* repeated .org.jetbrains.kotlin.metadata.Type supertype = 6;
*/
public java.util.List getSupertypeList() {
return supertype_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type supertype = 6;
*/
public java.util.List extends org.jetbrains.kotlin.metadata.ProtoBuf.TypeOrBuilder>
getSupertypeOrBuilderList() {
return supertype_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type supertype = 6;
*/
public int getSupertypeCount() {
return supertype_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type supertype = 6;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Type getSupertype(int index) {
return supertype_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type supertype = 6;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.TypeOrBuilder getSupertypeOrBuilder(
int index) {
return supertype_.get(index);
}
public static final int SUPERTYPE_ID_FIELD_NUMBER = 2;
private java.util.List supertypeId_;
/**
* repeated int32 supertype_id = 2 [packed = true];
*/
public java.util.List
getSupertypeIdList() {
return supertypeId_;
}
/**
* repeated int32 supertype_id = 2 [packed = true];
*/
public int getSupertypeIdCount() {
return supertypeId_.size();
}
/**
* repeated int32 supertype_id = 2 [packed = true];
*/
public int getSupertypeId(int index) {
return supertypeId_.get(index);
}
private int supertypeIdMemoizedSerializedSize = -1;
public static final int NESTED_CLASS_NAME_FIELD_NUMBER = 7;
private java.util.List nestedClassName_;
/**
* repeated int32 nested_class_name = 7 [packed = true];
*/
public java.util.List
getNestedClassNameList() {
return nestedClassName_;
}
/**
* repeated int32 nested_class_name = 7 [packed = true];
*/
public int getNestedClassNameCount() {
return nestedClassName_.size();
}
/**
* repeated int32 nested_class_name = 7 [packed = true];
*/
public int getNestedClassName(int index) {
return nestedClassName_.get(index);
}
private int nestedClassNameMemoizedSerializedSize = -1;
public static final int CONTEXT_RECEIVER_TYPE_FIELD_NUMBER = 20;
private java.util.List contextReceiverType_;
/**
* repeated .org.jetbrains.kotlin.metadata.Type context_receiver_type = 20;
*/
public java.util.List getContextReceiverTypeList() {
return contextReceiverType_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type context_receiver_type = 20;
*/
public java.util.List extends org.jetbrains.kotlin.metadata.ProtoBuf.TypeOrBuilder>
getContextReceiverTypeOrBuilderList() {
return contextReceiverType_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type context_receiver_type = 20;
*/
public int getContextReceiverTypeCount() {
return contextReceiverType_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type context_receiver_type = 20;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Type getContextReceiverType(int index) {
return contextReceiverType_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type context_receiver_type = 20;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.TypeOrBuilder getContextReceiverTypeOrBuilder(
int index) {
return contextReceiverType_.get(index);
}
public static final int CONTEXT_RECEIVER_TYPE_ID_FIELD_NUMBER = 21;
private java.util.List contextReceiverTypeId_;
/**
* repeated int32 context_receiver_type_id = 21 [packed = true];
*/
public java.util.List
getContextReceiverTypeIdList() {
return contextReceiverTypeId_;
}
/**
* repeated int32 context_receiver_type_id = 21 [packed = true];
*/
public int getContextReceiverTypeIdCount() {
return contextReceiverTypeId_.size();
}
/**
* repeated int32 context_receiver_type_id = 21 [packed = true];
*/
public int getContextReceiverTypeId(int index) {
return contextReceiverTypeId_.get(index);
}
private int contextReceiverTypeIdMemoizedSerializedSize = -1;
public static final int CONSTRUCTOR_FIELD_NUMBER = 8;
private java.util.List constructor_;
/**
* repeated .org.jetbrains.kotlin.metadata.Constructor constructor = 8;
*/
public java.util.List getConstructorList() {
return constructor_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Constructor constructor = 8;
*/
public java.util.List extends org.jetbrains.kotlin.metadata.ProtoBuf.ConstructorOrBuilder>
getConstructorOrBuilderList() {
return constructor_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Constructor constructor = 8;
*/
public int getConstructorCount() {
return constructor_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.Constructor constructor = 8;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Constructor getConstructor(int index) {
return constructor_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Constructor constructor = 8;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.ConstructorOrBuilder getConstructorOrBuilder(
int index) {
return constructor_.get(index);
}
public static final int FUNCTION_FIELD_NUMBER = 9;
private java.util.List function_;
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 9;
*/
public java.util.List getFunctionList() {
return function_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 9;
*/
public java.util.List extends org.jetbrains.kotlin.metadata.ProtoBuf.FunctionOrBuilder>
getFunctionOrBuilderList() {
return function_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 9;
*/
public int getFunctionCount() {
return function_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 9;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Function getFunction(int index) {
return function_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 9;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.FunctionOrBuilder getFunctionOrBuilder(
int index) {
return function_.get(index);
}
public static final int PROPERTY_FIELD_NUMBER = 10;
private java.util.List property_;
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 10;
*/
public java.util.List getPropertyList() {
return property_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 10;
*/
public java.util.List extends org.jetbrains.kotlin.metadata.ProtoBuf.PropertyOrBuilder>
getPropertyOrBuilderList() {
return property_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 10;
*/
public int getPropertyCount() {
return property_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 10;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Property getProperty(int index) {
return property_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 10;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.PropertyOrBuilder getPropertyOrBuilder(
int index) {
return property_.get(index);
}
public static final int TYPE_ALIAS_FIELD_NUMBER = 11;
private java.util.List typeAlias_;
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 11;
*/
public java.util.List getTypeAliasList() {
return typeAlias_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 11;
*/
public java.util.List extends org.jetbrains.kotlin.metadata.ProtoBuf.TypeAliasOrBuilder>
getTypeAliasOrBuilderList() {
return typeAlias_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 11;
*/
public int getTypeAliasCount() {
return typeAlias_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 11;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.TypeAlias getTypeAlias(int index) {
return typeAlias_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 11;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.TypeAliasOrBuilder getTypeAliasOrBuilder(
int index) {
return typeAlias_.get(index);
}
public static final int ENUM_ENTRY_FIELD_NUMBER = 13;
private java.util.List enumEntry_;
/**
* repeated .org.jetbrains.kotlin.metadata.EnumEntry enum_entry = 13;
*/
public java.util.List getEnumEntryList() {
return enumEntry_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.EnumEntry enum_entry = 13;
*/
public java.util.List extends org.jetbrains.kotlin.metadata.ProtoBuf.EnumEntryOrBuilder>
getEnumEntryOrBuilderList() {
return enumEntry_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.EnumEntry enum_entry = 13;
*/
public int getEnumEntryCount() {
return enumEntry_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.EnumEntry enum_entry = 13;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.EnumEntry getEnumEntry(int index) {
return enumEntry_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.EnumEntry enum_entry = 13;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.EnumEntryOrBuilder getEnumEntryOrBuilder(
int index) {
return enumEntry_.get(index);
}
public static final int SEALED_SUBCLASS_FQ_NAME_FIELD_NUMBER = 16;
private java.util.List sealedSubclassFqName_;
/**
* repeated int32 sealed_subclass_fq_name = 16 [packed = true];
*/
public java.util.List
getSealedSubclassFqNameList() {
return sealedSubclassFqName_;
}
/**
* repeated int32 sealed_subclass_fq_name = 16 [packed = true];
*/
public int getSealedSubclassFqNameCount() {
return sealedSubclassFqName_.size();
}
/**
* repeated int32 sealed_subclass_fq_name = 16 [packed = true];
*/
public int getSealedSubclassFqName(int index) {
return sealedSubclassFqName_.get(index);
}
private int sealedSubclassFqNameMemoizedSerializedSize = -1;
public static final int INLINE_CLASS_UNDERLYING_PROPERTY_NAME_FIELD_NUMBER = 17;
private int inlineClassUnderlyingPropertyName_;
/**
* optional int32 inline_class_underlying_property_name = 17;
*/
public boolean hasInlineClassUnderlyingPropertyName() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 inline_class_underlying_property_name = 17;
*/
public int getInlineClassUnderlyingPropertyName() {
return inlineClassUnderlyingPropertyName_;
}
public static final int INLINE_CLASS_UNDERLYING_TYPE_FIELD_NUMBER = 18;
private org.jetbrains.kotlin.metadata.ProtoBuf.Type inlineClassUnderlyingType_;
/**
* optional .org.jetbrains.kotlin.metadata.Type inline_class_underlying_type = 18;
*/
public boolean hasInlineClassUnderlyingType() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional .org.jetbrains.kotlin.metadata.Type inline_class_underlying_type = 18;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Type getInlineClassUnderlyingType() {
return inlineClassUnderlyingType_;
}
public static final int INLINE_CLASS_UNDERLYING_TYPE_ID_FIELD_NUMBER = 19;
private int inlineClassUnderlyingTypeId_;
/**
* optional int32 inline_class_underlying_type_id = 19;
*/
public boolean hasInlineClassUnderlyingTypeId() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional int32 inline_class_underlying_type_id = 19;
*/
public int getInlineClassUnderlyingTypeId() {
return inlineClassUnderlyingTypeId_;
}
public static final int MULTI_FIELD_VALUE_CLASS_UNDERLYING_NAME_FIELD_NUMBER = 22;
private java.util.List multiFieldValueClassUnderlyingName_;
/**
* repeated int32 multi_field_value_class_underlying_name = 22 [packed = true];
*/
public java.util.List
getMultiFieldValueClassUnderlyingNameList() {
return multiFieldValueClassUnderlyingName_;
}
/**
* repeated int32 multi_field_value_class_underlying_name = 22 [packed = true];
*/
public int getMultiFieldValueClassUnderlyingNameCount() {
return multiFieldValueClassUnderlyingName_.size();
}
/**
* repeated int32 multi_field_value_class_underlying_name = 22 [packed = true];
*/
public int getMultiFieldValueClassUnderlyingName(int index) {
return multiFieldValueClassUnderlyingName_.get(index);
}
private int multiFieldValueClassUnderlyingNameMemoizedSerializedSize = -1;
public static final int MULTI_FIELD_VALUE_CLASS_UNDERLYING_TYPE_FIELD_NUMBER = 23;
private java.util.List multiFieldValueClassUnderlyingType_;
/**
* repeated .org.jetbrains.kotlin.metadata.Type multi_field_value_class_underlying_type = 23;
*/
public java.util.List getMultiFieldValueClassUnderlyingTypeList() {
return multiFieldValueClassUnderlyingType_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type multi_field_value_class_underlying_type = 23;
*/
public java.util.List extends org.jetbrains.kotlin.metadata.ProtoBuf.TypeOrBuilder>
getMultiFieldValueClassUnderlyingTypeOrBuilderList() {
return multiFieldValueClassUnderlyingType_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type multi_field_value_class_underlying_type = 23;
*/
public int getMultiFieldValueClassUnderlyingTypeCount() {
return multiFieldValueClassUnderlyingType_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type multi_field_value_class_underlying_type = 23;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Type getMultiFieldValueClassUnderlyingType(int index) {
return multiFieldValueClassUnderlyingType_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type multi_field_value_class_underlying_type = 23;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.TypeOrBuilder getMultiFieldValueClassUnderlyingTypeOrBuilder(
int index) {
return multiFieldValueClassUnderlyingType_.get(index);
}
public static final int MULTI_FIELD_VALUE_CLASS_UNDERLYING_TYPE_ID_FIELD_NUMBER = 24;
private java.util.List multiFieldValueClassUnderlyingTypeId_;
/**
* repeated int32 multi_field_value_class_underlying_type_id = 24 [packed = true];
*/
public java.util.List
getMultiFieldValueClassUnderlyingTypeIdList() {
return multiFieldValueClassUnderlyingTypeId_;
}
/**
* repeated int32 multi_field_value_class_underlying_type_id = 24 [packed = true];
*/
public int getMultiFieldValueClassUnderlyingTypeIdCount() {
return multiFieldValueClassUnderlyingTypeId_.size();
}
/**
* repeated int32 multi_field_value_class_underlying_type_id = 24 [packed = true];
*/
public int getMultiFieldValueClassUnderlyingTypeId(int index) {
return multiFieldValueClassUnderlyingTypeId_.get(index);
}
private int multiFieldValueClassUnderlyingTypeIdMemoizedSerializedSize = -1;
public static final int TYPE_TABLE_FIELD_NUMBER = 30;
private org.jetbrains.kotlin.metadata.ProtoBuf.TypeTable typeTable_;
/**
* optional .org.jetbrains.kotlin.metadata.TypeTable type_table = 30;
*/
public boolean hasTypeTable() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional .org.jetbrains.kotlin.metadata.TypeTable type_table = 30;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.TypeTable getTypeTable() {
return typeTable_;
}
public static final int VERSION_REQUIREMENT_FIELD_NUMBER = 31;
private java.util.List versionRequirement_;
/**
* repeated int32 version_requirement = 31;
*
*
* Index into the VersionRequirementTable
*
*/
public java.util.List
getVersionRequirementList() {
return versionRequirement_;
}
/**
* repeated int32 version_requirement = 31;
*
*
* Index into the VersionRequirementTable
*
*/
public int getVersionRequirementCount() {
return versionRequirement_.size();
}
/**
* repeated int32 version_requirement = 31;
*
*
* Index into the VersionRequirementTable
*
*/
public int getVersionRequirement(int index) {
return versionRequirement_.get(index);
}
public static final int VERSION_REQUIREMENT_TABLE_FIELD_NUMBER = 32;
private org.jetbrains.kotlin.metadata.ProtoBuf.VersionRequirementTable versionRequirementTable_;
/**
* optional .org.jetbrains.kotlin.metadata.VersionRequirementTable version_requirement_table = 32;
*/
public boolean hasVersionRequirementTable() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional .org.jetbrains.kotlin.metadata.VersionRequirementTable version_requirement_table = 32;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.VersionRequirementTable getVersionRequirementTable() {
return versionRequirementTable_;
}
private void initFields() {
flags_ = 6;
fqName_ = 0;
companionObjectName_ = 0;
typeParameter_ = java.util.Collections.emptyList();
supertype_ = java.util.Collections.emptyList();
supertypeId_ = java.util.Collections.emptyList();
nestedClassName_ = java.util.Collections.emptyList();
contextReceiverType_ = java.util.Collections.emptyList();
contextReceiverTypeId_ = java.util.Collections.emptyList();
constructor_ = java.util.Collections.emptyList();
function_ = java.util.Collections.emptyList();
property_ = java.util.Collections.emptyList();
typeAlias_ = java.util.Collections.emptyList();
enumEntry_ = java.util.Collections.emptyList();
sealedSubclassFqName_ = java.util.Collections.emptyList();
inlineClassUnderlyingPropertyName_ = 0;
inlineClassUnderlyingType_ = org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance();
inlineClassUnderlyingTypeId_ = 0;
multiFieldValueClassUnderlyingName_ = java.util.Collections.emptyList();
multiFieldValueClassUnderlyingType_ = java.util.Collections.emptyList();
multiFieldValueClassUnderlyingTypeId_ = java.util.Collections.emptyList();
typeTable_ = org.jetbrains.kotlin.metadata.ProtoBuf.TypeTable.getDefaultInstance();
versionRequirement_ = java.util.Collections.emptyList();
versionRequirementTable_ = org.jetbrains.kotlin.metadata.ProtoBuf.VersionRequirementTable.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasFqName()) {
memoizedIsInitialized = 0;
return false;
}
for (int i = 0; i < getTypeParameterCount(); i++) {
if (!getTypeParameter(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getSupertypeCount(); i++) {
if (!getSupertype(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getContextReceiverTypeCount(); i++) {
if (!getContextReceiverType(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getConstructorCount(); i++) {
if (!getConstructor(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getFunctionCount(); i++) {
if (!getFunction(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getPropertyCount(); i++) {
if (!getProperty(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getTypeAliasCount(); i++) {
if (!getTypeAlias(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getEnumEntryCount(); i++) {
if (!getEnumEntry(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasInlineClassUnderlyingType()) {
if (!getInlineClassUnderlyingType().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getMultiFieldValueClassUnderlyingTypeCount(); i++) {
if (!getMultiFieldValueClassUnderlyingType(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasTypeTable()) {
if (!getTypeTable().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (!extensionsAreInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
org.jetbrains.kotlin.protobuf.GeneratedMessageLite
.ExtendableMessage.ExtensionWriter extensionWriter =
newExtensionWriter();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(1, flags_);
}
if (getSupertypeIdList().size() > 0) {
output.writeRawVarint32(18);
output.writeRawVarint32(supertypeIdMemoizedSerializedSize);
}
for (int i = 0; i < supertypeId_.size(); i++) {
output.writeInt32NoTag(supertypeId_.get(i));
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(3, fqName_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(4, companionObjectName_);
}
for (int i = 0; i < typeParameter_.size(); i++) {
output.writeMessage(5, typeParameter_.get(i));
}
for (int i = 0; i < supertype_.size(); i++) {
output.writeMessage(6, supertype_.get(i));
}
if (getNestedClassNameList().size() > 0) {
output.writeRawVarint32(58);
output.writeRawVarint32(nestedClassNameMemoizedSerializedSize);
}
for (int i = 0; i < nestedClassName_.size(); i++) {
output.writeInt32NoTag(nestedClassName_.get(i));
}
for (int i = 0; i < constructor_.size(); i++) {
output.writeMessage(8, constructor_.get(i));
}
for (int i = 0; i < function_.size(); i++) {
output.writeMessage(9, function_.get(i));
}
for (int i = 0; i < property_.size(); i++) {
output.writeMessage(10, property_.get(i));
}
for (int i = 0; i < typeAlias_.size(); i++) {
output.writeMessage(11, typeAlias_.get(i));
}
for (int i = 0; i < enumEntry_.size(); i++) {
output.writeMessage(13, enumEntry_.get(i));
}
if (getSealedSubclassFqNameList().size() > 0) {
output.writeRawVarint32(130);
output.writeRawVarint32(sealedSubclassFqNameMemoizedSerializedSize);
}
for (int i = 0; i < sealedSubclassFqName_.size(); i++) {
output.writeInt32NoTag(sealedSubclassFqName_.get(i));
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(17, inlineClassUnderlyingPropertyName_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeMessage(18, inlineClassUnderlyingType_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeInt32(19, inlineClassUnderlyingTypeId_);
}
for (int i = 0; i < contextReceiverType_.size(); i++) {
output.writeMessage(20, contextReceiverType_.get(i));
}
if (getContextReceiverTypeIdList().size() > 0) {
output.writeRawVarint32(170);
output.writeRawVarint32(contextReceiverTypeIdMemoizedSerializedSize);
}
for (int i = 0; i < contextReceiverTypeId_.size(); i++) {
output.writeInt32NoTag(contextReceiverTypeId_.get(i));
}
if (getMultiFieldValueClassUnderlyingNameList().size() > 0) {
output.writeRawVarint32(178);
output.writeRawVarint32(multiFieldValueClassUnderlyingNameMemoizedSerializedSize);
}
for (int i = 0; i < multiFieldValueClassUnderlyingName_.size(); i++) {
output.writeInt32NoTag(multiFieldValueClassUnderlyingName_.get(i));
}
for (int i = 0; i < multiFieldValueClassUnderlyingType_.size(); i++) {
output.writeMessage(23, multiFieldValueClassUnderlyingType_.get(i));
}
if (getMultiFieldValueClassUnderlyingTypeIdList().size() > 0) {
output.writeRawVarint32(194);
output.writeRawVarint32(multiFieldValueClassUnderlyingTypeIdMemoizedSerializedSize);
}
for (int i = 0; i < multiFieldValueClassUnderlyingTypeId_.size(); i++) {
output.writeInt32NoTag(multiFieldValueClassUnderlyingTypeId_.get(i));
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeMessage(30, typeTable_);
}
for (int i = 0; i < versionRequirement_.size(); i++) {
output.writeInt32(31, versionRequirement_.get(i));
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeMessage(32, versionRequirementTable_);
}
extensionWriter.writeUntil(19000, output);
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_);
}
{
int dataSize = 0;
for (int i = 0; i < supertypeId_.size(); i++) {
dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32SizeNoTag(supertypeId_.get(i));
}
size += dataSize;
if (!getSupertypeIdList().isEmpty()) {
size += 1;
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
supertypeIdMemoizedSerializedSize = dataSize;
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32Size(3, fqName_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32Size(4, companionObjectName_);
}
for (int i = 0; i < typeParameter_.size(); i++) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(5, typeParameter_.get(i));
}
for (int i = 0; i < supertype_.size(); i++) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(6, supertype_.get(i));
}
{
int dataSize = 0;
for (int i = 0; i < nestedClassName_.size(); i++) {
dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32SizeNoTag(nestedClassName_.get(i));
}
size += dataSize;
if (!getNestedClassNameList().isEmpty()) {
size += 1;
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
nestedClassNameMemoizedSerializedSize = dataSize;
}
for (int i = 0; i < constructor_.size(); i++) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(8, constructor_.get(i));
}
for (int i = 0; i < function_.size(); i++) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(9, function_.get(i));
}
for (int i = 0; i < property_.size(); i++) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(10, property_.get(i));
}
for (int i = 0; i < typeAlias_.size(); i++) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(11, typeAlias_.get(i));
}
for (int i = 0; i < enumEntry_.size(); i++) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(13, enumEntry_.get(i));
}
{
int dataSize = 0;
for (int i = 0; i < sealedSubclassFqName_.size(); i++) {
dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32SizeNoTag(sealedSubclassFqName_.get(i));
}
size += dataSize;
if (!getSealedSubclassFqNameList().isEmpty()) {
size += 2;
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
sealedSubclassFqNameMemoizedSerializedSize = dataSize;
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32Size(17, inlineClassUnderlyingPropertyName_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(18, inlineClassUnderlyingType_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32Size(19, inlineClassUnderlyingTypeId_);
}
for (int i = 0; i < contextReceiverType_.size(); i++) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(20, contextReceiverType_.get(i));
}
{
int dataSize = 0;
for (int i = 0; i < contextReceiverTypeId_.size(); i++) {
dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32SizeNoTag(contextReceiverTypeId_.get(i));
}
size += dataSize;
if (!getContextReceiverTypeIdList().isEmpty()) {
size += 2;
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
contextReceiverTypeIdMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < multiFieldValueClassUnderlyingName_.size(); i++) {
dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32SizeNoTag(multiFieldValueClassUnderlyingName_.get(i));
}
size += dataSize;
if (!getMultiFieldValueClassUnderlyingNameList().isEmpty()) {
size += 2;
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
multiFieldValueClassUnderlyingNameMemoizedSerializedSize = dataSize;
}
for (int i = 0; i < multiFieldValueClassUnderlyingType_.size(); i++) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(23, multiFieldValueClassUnderlyingType_.get(i));
}
{
int dataSize = 0;
for (int i = 0; i < multiFieldValueClassUnderlyingTypeId_.size(); i++) {
dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32SizeNoTag(multiFieldValueClassUnderlyingTypeId_.get(i));
}
size += dataSize;
if (!getMultiFieldValueClassUnderlyingTypeIdList().isEmpty()) {
size += 2;
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
multiFieldValueClassUnderlyingTypeIdMemoizedSerializedSize = dataSize;
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(30, typeTable_);
}
{
int dataSize = 0;
for (int i = 0; i < versionRequirement_.size(); i++) {
dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeInt32SizeNoTag(versionRequirement_.get(i));
}
size += dataSize;
size += 2 * getVersionRequirementList().size();
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(32, versionRequirementTable_);
}
size += extensionsSerializedSize();
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.ProtoBuf.Class parseFrom(
org.jetbrains.kotlin.protobuf.ByteString data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Class 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.ProtoBuf.Class parseFrom(byte[] data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Class 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.ProtoBuf.Class parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Class 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.ProtoBuf.Class parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Class 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.ProtoBuf.Class parseFrom(
org.jetbrains.kotlin.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Class 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.ProtoBuf.Class prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.Class}
*/
public static final class Builder extends
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder<
org.jetbrains.kotlin.metadata.ProtoBuf.Class, Builder> implements
// @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.metadata.Class)
org.jetbrains.kotlin.metadata.ProtoBuf.ClassOrBuilder {
// Construct using org.jetbrains.kotlin.metadata.ProtoBuf.Class.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
flags_ = 6;
bitField0_ = (bitField0_ & ~0x00000001);
fqName_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
companionObjectName_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
typeParameter_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
supertype_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
supertypeId_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
nestedClassName_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
contextReceiverType_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
contextReceiverTypeId_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
constructor_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
function_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000400);
property_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000800);
typeAlias_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00001000);
enumEntry_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00002000);
sealedSubclassFqName_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00004000);
inlineClassUnderlyingPropertyName_ = 0;
bitField0_ = (bitField0_ & ~0x00008000);
inlineClassUnderlyingType_ = org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00010000);
inlineClassUnderlyingTypeId_ = 0;
bitField0_ = (bitField0_ & ~0x00020000);
multiFieldValueClassUnderlyingName_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00040000);
multiFieldValueClassUnderlyingType_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00080000);
multiFieldValueClassUnderlyingTypeId_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00100000);
typeTable_ = org.jetbrains.kotlin.metadata.ProtoBuf.TypeTable.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00200000);
versionRequirement_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00400000);
versionRequirementTable_ = org.jetbrains.kotlin.metadata.ProtoBuf.VersionRequirementTable.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00800000);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.jetbrains.kotlin.metadata.ProtoBuf.Class getDefaultInstanceForType() {
return org.jetbrains.kotlin.metadata.ProtoBuf.Class.getDefaultInstance();
}
public org.jetbrains.kotlin.metadata.ProtoBuf.Class build() {
org.jetbrains.kotlin.metadata.ProtoBuf.Class result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.jetbrains.kotlin.metadata.ProtoBuf.Class buildPartial() {
org.jetbrains.kotlin.metadata.ProtoBuf.Class result = new org.jetbrains.kotlin.metadata.ProtoBuf.Class(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.fqName_ = fqName_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.companionObjectName_ = companionObjectName_;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
typeParameter_ = java.util.Collections.unmodifiableList(typeParameter_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.typeParameter_ = typeParameter_;
if (((bitField0_ & 0x00000010) == 0x00000010)) {
supertype_ = java.util.Collections.unmodifiableList(supertype_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.supertype_ = supertype_;
if (((bitField0_ & 0x00000020) == 0x00000020)) {
supertypeId_ = java.util.Collections.unmodifiableList(supertypeId_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.supertypeId_ = supertypeId_;
if (((bitField0_ & 0x00000040) == 0x00000040)) {
nestedClassName_ = java.util.Collections.unmodifiableList(nestedClassName_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.nestedClassName_ = nestedClassName_;
if (((bitField0_ & 0x00000080) == 0x00000080)) {
contextReceiverType_ = java.util.Collections.unmodifiableList(contextReceiverType_);
bitField0_ = (bitField0_ & ~0x00000080);
}
result.contextReceiverType_ = contextReceiverType_;
if (((bitField0_ & 0x00000100) == 0x00000100)) {
contextReceiverTypeId_ = java.util.Collections.unmodifiableList(contextReceiverTypeId_);
bitField0_ = (bitField0_ & ~0x00000100);
}
result.contextReceiverTypeId_ = contextReceiverTypeId_;
if (((bitField0_ & 0x00000200) == 0x00000200)) {
constructor_ = java.util.Collections.unmodifiableList(constructor_);
bitField0_ = (bitField0_ & ~0x00000200);
}
result.constructor_ = constructor_;
if (((bitField0_ & 0x00000400) == 0x00000400)) {
function_ = java.util.Collections.unmodifiableList(function_);
bitField0_ = (bitField0_ & ~0x00000400);
}
result.function_ = function_;
if (((bitField0_ & 0x00000800) == 0x00000800)) {
property_ = java.util.Collections.unmodifiableList(property_);
bitField0_ = (bitField0_ & ~0x00000800);
}
result.property_ = property_;
if (((bitField0_ & 0x00001000) == 0x00001000)) {
typeAlias_ = java.util.Collections.unmodifiableList(typeAlias_);
bitField0_ = (bitField0_ & ~0x00001000);
}
result.typeAlias_ = typeAlias_;
if (((bitField0_ & 0x00002000) == 0x00002000)) {
enumEntry_ = java.util.Collections.unmodifiableList(enumEntry_);
bitField0_ = (bitField0_ & ~0x00002000);
}
result.enumEntry_ = enumEntry_;
if (((bitField0_ & 0x00004000) == 0x00004000)) {
sealedSubclassFqName_ = java.util.Collections.unmodifiableList(sealedSubclassFqName_);
bitField0_ = (bitField0_ & ~0x00004000);
}
result.sealedSubclassFqName_ = sealedSubclassFqName_;
if (((from_bitField0_ & 0x00008000) == 0x00008000)) {
to_bitField0_ |= 0x00000008;
}
result.inlineClassUnderlyingPropertyName_ = inlineClassUnderlyingPropertyName_;
if (((from_bitField0_ & 0x00010000) == 0x00010000)) {
to_bitField0_ |= 0x00000010;
}
result.inlineClassUnderlyingType_ = inlineClassUnderlyingType_;
if (((from_bitField0_ & 0x00020000) == 0x00020000)) {
to_bitField0_ |= 0x00000020;
}
result.inlineClassUnderlyingTypeId_ = inlineClassUnderlyingTypeId_;
if (((bitField0_ & 0x00040000) == 0x00040000)) {
multiFieldValueClassUnderlyingName_ = java.util.Collections.unmodifiableList(multiFieldValueClassUnderlyingName_);
bitField0_ = (bitField0_ & ~0x00040000);
}
result.multiFieldValueClassUnderlyingName_ = multiFieldValueClassUnderlyingName_;
if (((bitField0_ & 0x00080000) == 0x00080000)) {
multiFieldValueClassUnderlyingType_ = java.util.Collections.unmodifiableList(multiFieldValueClassUnderlyingType_);
bitField0_ = (bitField0_ & ~0x00080000);
}
result.multiFieldValueClassUnderlyingType_ = multiFieldValueClassUnderlyingType_;
if (((bitField0_ & 0x00100000) == 0x00100000)) {
multiFieldValueClassUnderlyingTypeId_ = java.util.Collections.unmodifiableList(multiFieldValueClassUnderlyingTypeId_);
bitField0_ = (bitField0_ & ~0x00100000);
}
result.multiFieldValueClassUnderlyingTypeId_ = multiFieldValueClassUnderlyingTypeId_;
if (((from_bitField0_ & 0x00200000) == 0x00200000)) {
to_bitField0_ |= 0x00000040;
}
result.typeTable_ = typeTable_;
if (((bitField0_ & 0x00400000) == 0x00400000)) {
versionRequirement_ = java.util.Collections.unmodifiableList(versionRequirement_);
bitField0_ = (bitField0_ & ~0x00400000);
}
result.versionRequirement_ = versionRequirement_;
if (((from_bitField0_ & 0x00800000) == 0x00800000)) {
to_bitField0_ |= 0x00000080;
}
result.versionRequirementTable_ = versionRequirementTable_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.jetbrains.kotlin.metadata.ProtoBuf.Class other) {
if (other == org.jetbrains.kotlin.metadata.ProtoBuf.Class.getDefaultInstance()) return this;
if (other.hasFlags()) {
setFlags(other.getFlags());
}
if (other.hasFqName()) {
setFqName(other.getFqName());
}
if (other.hasCompanionObjectName()) {
setCompanionObjectName(other.getCompanionObjectName());
}
if (!other.typeParameter_.isEmpty()) {
if (typeParameter_.isEmpty()) {
typeParameter_ = other.typeParameter_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureTypeParameterIsMutable();
typeParameter_.addAll(other.typeParameter_);
}
}
if (!other.supertype_.isEmpty()) {
if (supertype_.isEmpty()) {
supertype_ = other.supertype_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureSupertypeIsMutable();
supertype_.addAll(other.supertype_);
}
}
if (!other.supertypeId_.isEmpty()) {
if (supertypeId_.isEmpty()) {
supertypeId_ = other.supertypeId_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureSupertypeIdIsMutable();
supertypeId_.addAll(other.supertypeId_);
}
}
if (!other.nestedClassName_.isEmpty()) {
if (nestedClassName_.isEmpty()) {
nestedClassName_ = other.nestedClassName_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureNestedClassNameIsMutable();
nestedClassName_.addAll(other.nestedClassName_);
}
}
if (!other.contextReceiverType_.isEmpty()) {
if (contextReceiverType_.isEmpty()) {
contextReceiverType_ = other.contextReceiverType_;
bitField0_ = (bitField0_ & ~0x00000080);
} else {
ensureContextReceiverTypeIsMutable();
contextReceiverType_.addAll(other.contextReceiverType_);
}
}
if (!other.contextReceiverTypeId_.isEmpty()) {
if (contextReceiverTypeId_.isEmpty()) {
contextReceiverTypeId_ = other.contextReceiverTypeId_;
bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureContextReceiverTypeIdIsMutable();
contextReceiverTypeId_.addAll(other.contextReceiverTypeId_);
}
}
if (!other.constructor_.isEmpty()) {
if (constructor_.isEmpty()) {
constructor_ = other.constructor_;
bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureConstructorIsMutable();
constructor_.addAll(other.constructor_);
}
}
if (!other.function_.isEmpty()) {
if (function_.isEmpty()) {
function_ = other.function_;
bitField0_ = (bitField0_ & ~0x00000400);
} else {
ensureFunctionIsMutable();
function_.addAll(other.function_);
}
}
if (!other.property_.isEmpty()) {
if (property_.isEmpty()) {
property_ = other.property_;
bitField0_ = (bitField0_ & ~0x00000800);
} else {
ensurePropertyIsMutable();
property_.addAll(other.property_);
}
}
if (!other.typeAlias_.isEmpty()) {
if (typeAlias_.isEmpty()) {
typeAlias_ = other.typeAlias_;
bitField0_ = (bitField0_ & ~0x00001000);
} else {
ensureTypeAliasIsMutable();
typeAlias_.addAll(other.typeAlias_);
}
}
if (!other.enumEntry_.isEmpty()) {
if (enumEntry_.isEmpty()) {
enumEntry_ = other.enumEntry_;
bitField0_ = (bitField0_ & ~0x00002000);
} else {
ensureEnumEntryIsMutable();
enumEntry_.addAll(other.enumEntry_);
}
}
if (!other.sealedSubclassFqName_.isEmpty()) {
if (sealedSubclassFqName_.isEmpty()) {
sealedSubclassFqName_ = other.sealedSubclassFqName_;
bitField0_ = (bitField0_ & ~0x00004000);
} else {
ensureSealedSubclassFqNameIsMutable();
sealedSubclassFqName_.addAll(other.sealedSubclassFqName_);
}
}
if (other.hasInlineClassUnderlyingPropertyName()) {
setInlineClassUnderlyingPropertyName(other.getInlineClassUnderlyingPropertyName());
}
if (other.hasInlineClassUnderlyingType()) {
mergeInlineClassUnderlyingType(other.getInlineClassUnderlyingType());
}
if (other.hasInlineClassUnderlyingTypeId()) {
setInlineClassUnderlyingTypeId(other.getInlineClassUnderlyingTypeId());
}
if (!other.multiFieldValueClassUnderlyingName_.isEmpty()) {
if (multiFieldValueClassUnderlyingName_.isEmpty()) {
multiFieldValueClassUnderlyingName_ = other.multiFieldValueClassUnderlyingName_;
bitField0_ = (bitField0_ & ~0x00040000);
} else {
ensureMultiFieldValueClassUnderlyingNameIsMutable();
multiFieldValueClassUnderlyingName_.addAll(other.multiFieldValueClassUnderlyingName_);
}
}
if (!other.multiFieldValueClassUnderlyingType_.isEmpty()) {
if (multiFieldValueClassUnderlyingType_.isEmpty()) {
multiFieldValueClassUnderlyingType_ = other.multiFieldValueClassUnderlyingType_;
bitField0_ = (bitField0_ & ~0x00080000);
} else {
ensureMultiFieldValueClassUnderlyingTypeIsMutable();
multiFieldValueClassUnderlyingType_.addAll(other.multiFieldValueClassUnderlyingType_);
}
}
if (!other.multiFieldValueClassUnderlyingTypeId_.isEmpty()) {
if (multiFieldValueClassUnderlyingTypeId_.isEmpty()) {
multiFieldValueClassUnderlyingTypeId_ = other.multiFieldValueClassUnderlyingTypeId_;
bitField0_ = (bitField0_ & ~0x00100000);
} else {
ensureMultiFieldValueClassUnderlyingTypeIdIsMutable();
multiFieldValueClassUnderlyingTypeId_.addAll(other.multiFieldValueClassUnderlyingTypeId_);
}
}
if (other.hasTypeTable()) {
mergeTypeTable(other.getTypeTable());
}
if (!other.versionRequirement_.isEmpty()) {
if (versionRequirement_.isEmpty()) {
versionRequirement_ = other.versionRequirement_;
bitField0_ = (bitField0_ & ~0x00400000);
} else {
ensureVersionRequirementIsMutable();
versionRequirement_.addAll(other.versionRequirement_);
}
}
if (other.hasVersionRequirementTable()) {
mergeVersionRequirementTable(other.getVersionRequirementTable());
}
this.mergeExtensionFields(other);
setUnknownFields(
getUnknownFields().concat(other.unknownFields));
return this;
}
public final boolean isInitialized() {
if (!hasFqName()) {
return false;
}
for (int i = 0; i < getTypeParameterCount(); i++) {
if (!getTypeParameter(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getSupertypeCount(); i++) {
if (!getSupertype(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getContextReceiverTypeCount(); i++) {
if (!getContextReceiverType(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getConstructorCount(); i++) {
if (!getConstructor(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getFunctionCount(); i++) {
if (!getFunction(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getPropertyCount(); i++) {
if (!getProperty(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getTypeAliasCount(); i++) {
if (!getTypeAlias(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getEnumEntryCount(); i++) {
if (!getEnumEntry(i).isInitialized()) {
return false;
}
}
if (hasInlineClassUnderlyingType()) {
if (!getInlineClassUnderlyingType().isInitialized()) {
return false;
}
}
for (int i = 0; i < getMultiFieldValueClassUnderlyingTypeCount(); i++) {
if (!getMultiFieldValueClassUnderlyingType(i).isInitialized()) {
return false;
}
}
if (hasTypeTable()) {
if (!getTypeTable().isInitialized()) {
return false;
}
}
if (!extensionsAreInitialized()) {
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.ProtoBuf.Class parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.jetbrains.kotlin.metadata.ProtoBuf.Class) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int flags_ = 6;
/**
* optional int32 flags = 1 [default = 6];
*
*
*hasAnnotations
*Visibility
*Modality
*ClassKind
*isInner
*isData
*isExternal
*isExpect
*isInline
*isFun
*hasEnumEntries
*
*/
public boolean hasFlags() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 flags = 1 [default = 6];
*
*
*hasAnnotations
*Visibility
*Modality
*ClassKind
*isInner
*isData
*isExternal
*isExpect
*isInline
*isFun
*hasEnumEntries
*
*/
public int getFlags() {
return flags_;
}
/**
* optional int32 flags = 1 [default = 6];
*
*
*hasAnnotations
*Visibility
*Modality
*ClassKind
*isInner
*isData
*isExternal
*isExpect
*isInline
*isFun
*hasEnumEntries
*
*/
public Builder setFlags(int value) {
bitField0_ |= 0x00000001;
flags_ = value;
return this;
}
/**
* optional int32 flags = 1 [default = 6];
*
*
*hasAnnotations
*Visibility
*Modality
*ClassKind
*isInner
*isData
*isExternal
*isExpect
*isInline
*isFun
*hasEnumEntries
*
*/
public Builder clearFlags() {
bitField0_ = (bitField0_ & ~0x00000001);
flags_ = 6;
return this;
}
private int fqName_ ;
/**
* required int32 fq_name = 3;
*/
public boolean hasFqName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 fq_name = 3;
*/
public int getFqName() {
return fqName_;
}
/**
* required int32 fq_name = 3;
*/
public Builder setFqName(int value) {
bitField0_ |= 0x00000002;
fqName_ = value;
return this;
}
/**
* required int32 fq_name = 3;
*/
public Builder clearFqName() {
bitField0_ = (bitField0_ & ~0x00000002);
fqName_ = 0;
return this;
}
private int companionObjectName_ ;
/**
* optional int32 companion_object_name = 4;
*/
public boolean hasCompanionObjectName() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 companion_object_name = 4;
*/
public int getCompanionObjectName() {
return companionObjectName_;
}
/**
* optional int32 companion_object_name = 4;
*/
public Builder setCompanionObjectName(int value) {
bitField0_ |= 0x00000004;
companionObjectName_ = value;
return this;
}
/**
* optional int32 companion_object_name = 4;
*/
public Builder clearCompanionObjectName() {
bitField0_ = (bitField0_ & ~0x00000004);
companionObjectName_ = 0;
return this;
}
private java.util.List typeParameter_ =
java.util.Collections.emptyList();
private void ensureTypeParameterIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
typeParameter_ = new java.util.ArrayList(typeParameter_);
bitField0_ |= 0x00000008;
}
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeParameter type_parameter = 5;
*/
public java.util.List getTypeParameterList() {
return java.util.Collections.unmodifiableList(typeParameter_);
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeParameter type_parameter = 5;
*/
public int getTypeParameterCount() {
return typeParameter_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeParameter type_parameter = 5;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter getTypeParameter(int index) {
return typeParameter_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeParameter type_parameter = 5;
*/
public Builder setTypeParameter(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter value) {
if (value == null) {
throw new NullPointerException();
}
ensureTypeParameterIsMutable();
typeParameter_.set(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeParameter type_parameter = 5;
*/
public Builder setTypeParameter(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter.Builder builderForValue) {
ensureTypeParameterIsMutable();
typeParameter_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeParameter type_parameter = 5;
*/
public Builder addTypeParameter(org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter value) {
if (value == null) {
throw new NullPointerException();
}
ensureTypeParameterIsMutable();
typeParameter_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeParameter type_parameter = 5;
*/
public Builder addTypeParameter(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter value) {
if (value == null) {
throw new NullPointerException();
}
ensureTypeParameterIsMutable();
typeParameter_.add(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeParameter type_parameter = 5;
*/
public Builder addTypeParameter(
org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter.Builder builderForValue) {
ensureTypeParameterIsMutable();
typeParameter_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeParameter type_parameter = 5;
*/
public Builder addTypeParameter(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter.Builder builderForValue) {
ensureTypeParameterIsMutable();
typeParameter_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeParameter type_parameter = 5;
*/
public Builder addAllTypeParameter(
java.lang.Iterable extends org.jetbrains.kotlin.metadata.ProtoBuf.TypeParameter> values) {
ensureTypeParameterIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, typeParameter_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeParameter type_parameter = 5;
*/
public Builder clearTypeParameter() {
typeParameter_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeParameter type_parameter = 5;
*/
public Builder removeTypeParameter(int index) {
ensureTypeParameterIsMutable();
typeParameter_.remove(index);
return this;
}
private java.util.List supertype_ =
java.util.Collections.emptyList();
private void ensureSupertypeIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
supertype_ = new java.util.ArrayList(supertype_);
bitField0_ |= 0x00000010;
}
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type supertype = 6;
*/
public java.util.List getSupertypeList() {
return java.util.Collections.unmodifiableList(supertype_);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type supertype = 6;
*/
public int getSupertypeCount() {
return supertype_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type supertype = 6;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Type getSupertype(int index) {
return supertype_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type supertype = 6;
*/
public Builder setSupertype(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Type value) {
if (value == null) {
throw new NullPointerException();
}
ensureSupertypeIsMutable();
supertype_.set(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type supertype = 6;
*/
public Builder setSupertype(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Type.Builder builderForValue) {
ensureSupertypeIsMutable();
supertype_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type supertype = 6;
*/
public Builder addSupertype(org.jetbrains.kotlin.metadata.ProtoBuf.Type value) {
if (value == null) {
throw new NullPointerException();
}
ensureSupertypeIsMutable();
supertype_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type supertype = 6;
*/
public Builder addSupertype(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Type value) {
if (value == null) {
throw new NullPointerException();
}
ensureSupertypeIsMutable();
supertype_.add(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type supertype = 6;
*/
public Builder addSupertype(
org.jetbrains.kotlin.metadata.ProtoBuf.Type.Builder builderForValue) {
ensureSupertypeIsMutable();
supertype_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type supertype = 6;
*/
public Builder addSupertype(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Type.Builder builderForValue) {
ensureSupertypeIsMutable();
supertype_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type supertype = 6;
*/
public Builder addAllSupertype(
java.lang.Iterable extends org.jetbrains.kotlin.metadata.ProtoBuf.Type> values) {
ensureSupertypeIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, supertype_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type supertype = 6;
*/
public Builder clearSupertype() {
supertype_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type supertype = 6;
*/
public Builder removeSupertype(int index) {
ensureSupertypeIsMutable();
supertype_.remove(index);
return this;
}
private java.util.List supertypeId_ = java.util.Collections.emptyList();
private void ensureSupertypeIdIsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
supertypeId_ = new java.util.ArrayList(supertypeId_);
bitField0_ |= 0x00000020;
}
}
/**
* repeated int32 supertype_id = 2 [packed = true];
*/
public java.util.List
getSupertypeIdList() {
return java.util.Collections.unmodifiableList(supertypeId_);
}
/**
* repeated int32 supertype_id = 2 [packed = true];
*/
public int getSupertypeIdCount() {
return supertypeId_.size();
}
/**
* repeated int32 supertype_id = 2 [packed = true];
*/
public int getSupertypeId(int index) {
return supertypeId_.get(index);
}
/**
* repeated int32 supertype_id = 2 [packed = true];
*/
public Builder setSupertypeId(
int index, int value) {
ensureSupertypeIdIsMutable();
supertypeId_.set(index, value);
return this;
}
/**
* repeated int32 supertype_id = 2 [packed = true];
*/
public Builder addSupertypeId(int value) {
ensureSupertypeIdIsMutable();
supertypeId_.add(value);
return this;
}
/**
* repeated int32 supertype_id = 2 [packed = true];
*/
public Builder addAllSupertypeId(
java.lang.Iterable extends java.lang.Integer> values) {
ensureSupertypeIdIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, supertypeId_);
return this;
}
/**
* repeated int32 supertype_id = 2 [packed = true];
*/
public Builder clearSupertypeId() {
supertypeId_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
private java.util.List nestedClassName_ = java.util.Collections.emptyList();
private void ensureNestedClassNameIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
nestedClassName_ = new java.util.ArrayList(nestedClassName_);
bitField0_ |= 0x00000040;
}
}
/**
* repeated int32 nested_class_name = 7 [packed = true];
*/
public java.util.List
getNestedClassNameList() {
return java.util.Collections.unmodifiableList(nestedClassName_);
}
/**
* repeated int32 nested_class_name = 7 [packed = true];
*/
public int getNestedClassNameCount() {
return nestedClassName_.size();
}
/**
* repeated int32 nested_class_name = 7 [packed = true];
*/
public int getNestedClassName(int index) {
return nestedClassName_.get(index);
}
/**
* repeated int32 nested_class_name = 7 [packed = true];
*/
public Builder setNestedClassName(
int index, int value) {
ensureNestedClassNameIsMutable();
nestedClassName_.set(index, value);
return this;
}
/**
* repeated int32 nested_class_name = 7 [packed = true];
*/
public Builder addNestedClassName(int value) {
ensureNestedClassNameIsMutable();
nestedClassName_.add(value);
return this;
}
/**
* repeated int32 nested_class_name = 7 [packed = true];
*/
public Builder addAllNestedClassName(
java.lang.Iterable extends java.lang.Integer> values) {
ensureNestedClassNameIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, nestedClassName_);
return this;
}
/**
* repeated int32 nested_class_name = 7 [packed = true];
*/
public Builder clearNestedClassName() {
nestedClassName_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
private java.util.List contextReceiverType_ =
java.util.Collections.emptyList();
private void ensureContextReceiverTypeIsMutable() {
if (!((bitField0_ & 0x00000080) == 0x00000080)) {
contextReceiverType_ = new java.util.ArrayList(contextReceiverType_);
bitField0_ |= 0x00000080;
}
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type context_receiver_type = 20;
*/
public java.util.List getContextReceiverTypeList() {
return java.util.Collections.unmodifiableList(contextReceiverType_);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type context_receiver_type = 20;
*/
public int getContextReceiverTypeCount() {
return contextReceiverType_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type context_receiver_type = 20;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Type getContextReceiverType(int index) {
return contextReceiverType_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type context_receiver_type = 20;
*/
public Builder setContextReceiverType(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Type value) {
if (value == null) {
throw new NullPointerException();
}
ensureContextReceiverTypeIsMutable();
contextReceiverType_.set(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type context_receiver_type = 20;
*/
public Builder setContextReceiverType(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Type.Builder builderForValue) {
ensureContextReceiverTypeIsMutable();
contextReceiverType_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type context_receiver_type = 20;
*/
public Builder addContextReceiverType(org.jetbrains.kotlin.metadata.ProtoBuf.Type value) {
if (value == null) {
throw new NullPointerException();
}
ensureContextReceiverTypeIsMutable();
contextReceiverType_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type context_receiver_type = 20;
*/
public Builder addContextReceiverType(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Type value) {
if (value == null) {
throw new NullPointerException();
}
ensureContextReceiverTypeIsMutable();
contextReceiverType_.add(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type context_receiver_type = 20;
*/
public Builder addContextReceiverType(
org.jetbrains.kotlin.metadata.ProtoBuf.Type.Builder builderForValue) {
ensureContextReceiverTypeIsMutable();
contextReceiverType_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type context_receiver_type = 20;
*/
public Builder addContextReceiverType(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Type.Builder builderForValue) {
ensureContextReceiverTypeIsMutable();
contextReceiverType_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type context_receiver_type = 20;
*/
public Builder addAllContextReceiverType(
java.lang.Iterable extends org.jetbrains.kotlin.metadata.ProtoBuf.Type> values) {
ensureContextReceiverTypeIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, contextReceiverType_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type context_receiver_type = 20;
*/
public Builder clearContextReceiverType() {
contextReceiverType_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type context_receiver_type = 20;
*/
public Builder removeContextReceiverType(int index) {
ensureContextReceiverTypeIsMutable();
contextReceiverType_.remove(index);
return this;
}
private java.util.List contextReceiverTypeId_ = java.util.Collections.emptyList();
private void ensureContextReceiverTypeIdIsMutable() {
if (!((bitField0_ & 0x00000100) == 0x00000100)) {
contextReceiverTypeId_ = new java.util.ArrayList(contextReceiverTypeId_);
bitField0_ |= 0x00000100;
}
}
/**
* repeated int32 context_receiver_type_id = 21 [packed = true];
*/
public java.util.List
getContextReceiverTypeIdList() {
return java.util.Collections.unmodifiableList(contextReceiverTypeId_);
}
/**
* repeated int32 context_receiver_type_id = 21 [packed = true];
*/
public int getContextReceiverTypeIdCount() {
return contextReceiverTypeId_.size();
}
/**
* repeated int32 context_receiver_type_id = 21 [packed = true];
*/
public int getContextReceiverTypeId(int index) {
return contextReceiverTypeId_.get(index);
}
/**
* repeated int32 context_receiver_type_id = 21 [packed = true];
*/
public Builder setContextReceiverTypeId(
int index, int value) {
ensureContextReceiverTypeIdIsMutable();
contextReceiverTypeId_.set(index, value);
return this;
}
/**
* repeated int32 context_receiver_type_id = 21 [packed = true];
*/
public Builder addContextReceiverTypeId(int value) {
ensureContextReceiverTypeIdIsMutable();
contextReceiverTypeId_.add(value);
return this;
}
/**
* repeated int32 context_receiver_type_id = 21 [packed = true];
*/
public Builder addAllContextReceiverTypeId(
java.lang.Iterable extends java.lang.Integer> values) {
ensureContextReceiverTypeIdIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, contextReceiverTypeId_);
return this;
}
/**
* repeated int32 context_receiver_type_id = 21 [packed = true];
*/
public Builder clearContextReceiverTypeId() {
contextReceiverTypeId_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
return this;
}
private java.util.List constructor_ =
java.util.Collections.emptyList();
private void ensureConstructorIsMutable() {
if (!((bitField0_ & 0x00000200) == 0x00000200)) {
constructor_ = new java.util.ArrayList(constructor_);
bitField0_ |= 0x00000200;
}
}
/**
* repeated .org.jetbrains.kotlin.metadata.Constructor constructor = 8;
*/
public java.util.List getConstructorList() {
return java.util.Collections.unmodifiableList(constructor_);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Constructor constructor = 8;
*/
public int getConstructorCount() {
return constructor_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.Constructor constructor = 8;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Constructor getConstructor(int index) {
return constructor_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Constructor constructor = 8;
*/
public Builder setConstructor(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Constructor value) {
if (value == null) {
throw new NullPointerException();
}
ensureConstructorIsMutable();
constructor_.set(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Constructor constructor = 8;
*/
public Builder setConstructor(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Constructor.Builder builderForValue) {
ensureConstructorIsMutable();
constructor_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Constructor constructor = 8;
*/
public Builder addConstructor(org.jetbrains.kotlin.metadata.ProtoBuf.Constructor value) {
if (value == null) {
throw new NullPointerException();
}
ensureConstructorIsMutable();
constructor_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Constructor constructor = 8;
*/
public Builder addConstructor(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Constructor value) {
if (value == null) {
throw new NullPointerException();
}
ensureConstructorIsMutable();
constructor_.add(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Constructor constructor = 8;
*/
public Builder addConstructor(
org.jetbrains.kotlin.metadata.ProtoBuf.Constructor.Builder builderForValue) {
ensureConstructorIsMutable();
constructor_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Constructor constructor = 8;
*/
public Builder addConstructor(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Constructor.Builder builderForValue) {
ensureConstructorIsMutable();
constructor_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Constructor constructor = 8;
*/
public Builder addAllConstructor(
java.lang.Iterable extends org.jetbrains.kotlin.metadata.ProtoBuf.Constructor> values) {
ensureConstructorIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, constructor_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Constructor constructor = 8;
*/
public Builder clearConstructor() {
constructor_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Constructor constructor = 8;
*/
public Builder removeConstructor(int index) {
ensureConstructorIsMutable();
constructor_.remove(index);
return this;
}
private java.util.List function_ =
java.util.Collections.emptyList();
private void ensureFunctionIsMutable() {
if (!((bitField0_ & 0x00000400) == 0x00000400)) {
function_ = new java.util.ArrayList(function_);
bitField0_ |= 0x00000400;
}
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 9;
*/
public java.util.List getFunctionList() {
return java.util.Collections.unmodifiableList(function_);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 9;
*/
public int getFunctionCount() {
return function_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 9;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Function getFunction(int index) {
return function_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 9;
*/
public Builder setFunction(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Function value) {
if (value == null) {
throw new NullPointerException();
}
ensureFunctionIsMutable();
function_.set(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 9;
*/
public Builder setFunction(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Function.Builder builderForValue) {
ensureFunctionIsMutable();
function_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 9;
*/
public Builder addFunction(org.jetbrains.kotlin.metadata.ProtoBuf.Function value) {
if (value == null) {
throw new NullPointerException();
}
ensureFunctionIsMutable();
function_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 9;
*/
public Builder addFunction(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Function value) {
if (value == null) {
throw new NullPointerException();
}
ensureFunctionIsMutable();
function_.add(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 9;
*/
public Builder addFunction(
org.jetbrains.kotlin.metadata.ProtoBuf.Function.Builder builderForValue) {
ensureFunctionIsMutable();
function_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 9;
*/
public Builder addFunction(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Function.Builder builderForValue) {
ensureFunctionIsMutable();
function_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 9;
*/
public Builder addAllFunction(
java.lang.Iterable extends org.jetbrains.kotlin.metadata.ProtoBuf.Function> values) {
ensureFunctionIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, function_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 9;
*/
public Builder clearFunction() {
function_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000400);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 9;
*/
public Builder removeFunction(int index) {
ensureFunctionIsMutable();
function_.remove(index);
return this;
}
private java.util.List property_ =
java.util.Collections.emptyList();
private void ensurePropertyIsMutable() {
if (!((bitField0_ & 0x00000800) == 0x00000800)) {
property_ = new java.util.ArrayList(property_);
bitField0_ |= 0x00000800;
}
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 10;
*/
public java.util.List getPropertyList() {
return java.util.Collections.unmodifiableList(property_);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 10;
*/
public int getPropertyCount() {
return property_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 10;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Property getProperty(int index) {
return property_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 10;
*/
public Builder setProperty(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Property value) {
if (value == null) {
throw new NullPointerException();
}
ensurePropertyIsMutable();
property_.set(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 10;
*/
public Builder setProperty(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Property.Builder builderForValue) {
ensurePropertyIsMutable();
property_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 10;
*/
public Builder addProperty(org.jetbrains.kotlin.metadata.ProtoBuf.Property value) {
if (value == null) {
throw new NullPointerException();
}
ensurePropertyIsMutable();
property_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 10;
*/
public Builder addProperty(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Property value) {
if (value == null) {
throw new NullPointerException();
}
ensurePropertyIsMutable();
property_.add(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 10;
*/
public Builder addProperty(
org.jetbrains.kotlin.metadata.ProtoBuf.Property.Builder builderForValue) {
ensurePropertyIsMutable();
property_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 10;
*/
public Builder addProperty(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Property.Builder builderForValue) {
ensurePropertyIsMutable();
property_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 10;
*/
public Builder addAllProperty(
java.lang.Iterable extends org.jetbrains.kotlin.metadata.ProtoBuf.Property> values) {
ensurePropertyIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, property_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 10;
*/
public Builder clearProperty() {
property_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000800);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 10;
*/
public Builder removeProperty(int index) {
ensurePropertyIsMutable();
property_.remove(index);
return this;
}
private java.util.List typeAlias_ =
java.util.Collections.emptyList();
private void ensureTypeAliasIsMutable() {
if (!((bitField0_ & 0x00001000) == 0x00001000)) {
typeAlias_ = new java.util.ArrayList(typeAlias_);
bitField0_ |= 0x00001000;
}
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 11;
*/
public java.util.List getTypeAliasList() {
return java.util.Collections.unmodifiableList(typeAlias_);
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 11;
*/
public int getTypeAliasCount() {
return typeAlias_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 11;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.TypeAlias getTypeAlias(int index) {
return typeAlias_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 11;
*/
public Builder setTypeAlias(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.TypeAlias value) {
if (value == null) {
throw new NullPointerException();
}
ensureTypeAliasIsMutable();
typeAlias_.set(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 11;
*/
public Builder setTypeAlias(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.TypeAlias.Builder builderForValue) {
ensureTypeAliasIsMutable();
typeAlias_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 11;
*/
public Builder addTypeAlias(org.jetbrains.kotlin.metadata.ProtoBuf.TypeAlias value) {
if (value == null) {
throw new NullPointerException();
}
ensureTypeAliasIsMutable();
typeAlias_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 11;
*/
public Builder addTypeAlias(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.TypeAlias value) {
if (value == null) {
throw new NullPointerException();
}
ensureTypeAliasIsMutable();
typeAlias_.add(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 11;
*/
public Builder addTypeAlias(
org.jetbrains.kotlin.metadata.ProtoBuf.TypeAlias.Builder builderForValue) {
ensureTypeAliasIsMutable();
typeAlias_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 11;
*/
public Builder addTypeAlias(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.TypeAlias.Builder builderForValue) {
ensureTypeAliasIsMutable();
typeAlias_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 11;
*/
public Builder addAllTypeAlias(
java.lang.Iterable extends org.jetbrains.kotlin.metadata.ProtoBuf.TypeAlias> values) {
ensureTypeAliasIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, typeAlias_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 11;
*/
public Builder clearTypeAlias() {
typeAlias_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00001000);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 11;
*/
public Builder removeTypeAlias(int index) {
ensureTypeAliasIsMutable();
typeAlias_.remove(index);
return this;
}
private java.util.List enumEntry_ =
java.util.Collections.emptyList();
private void ensureEnumEntryIsMutable() {
if (!((bitField0_ & 0x00002000) == 0x00002000)) {
enumEntry_ = new java.util.ArrayList(enumEntry_);
bitField0_ |= 0x00002000;
}
}
/**
* repeated .org.jetbrains.kotlin.metadata.EnumEntry enum_entry = 13;
*/
public java.util.List getEnumEntryList() {
return java.util.Collections.unmodifiableList(enumEntry_);
}
/**
* repeated .org.jetbrains.kotlin.metadata.EnumEntry enum_entry = 13;
*/
public int getEnumEntryCount() {
return enumEntry_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.EnumEntry enum_entry = 13;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.EnumEntry getEnumEntry(int index) {
return enumEntry_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.EnumEntry enum_entry = 13;
*/
public Builder setEnumEntry(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.EnumEntry value) {
if (value == null) {
throw new NullPointerException();
}
ensureEnumEntryIsMutable();
enumEntry_.set(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.EnumEntry enum_entry = 13;
*/
public Builder setEnumEntry(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.EnumEntry.Builder builderForValue) {
ensureEnumEntryIsMutable();
enumEntry_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.EnumEntry enum_entry = 13;
*/
public Builder addEnumEntry(org.jetbrains.kotlin.metadata.ProtoBuf.EnumEntry value) {
if (value == null) {
throw new NullPointerException();
}
ensureEnumEntryIsMutable();
enumEntry_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.EnumEntry enum_entry = 13;
*/
public Builder addEnumEntry(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.EnumEntry value) {
if (value == null) {
throw new NullPointerException();
}
ensureEnumEntryIsMutable();
enumEntry_.add(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.EnumEntry enum_entry = 13;
*/
public Builder addEnumEntry(
org.jetbrains.kotlin.metadata.ProtoBuf.EnumEntry.Builder builderForValue) {
ensureEnumEntryIsMutable();
enumEntry_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.EnumEntry enum_entry = 13;
*/
public Builder addEnumEntry(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.EnumEntry.Builder builderForValue) {
ensureEnumEntryIsMutable();
enumEntry_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.EnumEntry enum_entry = 13;
*/
public Builder addAllEnumEntry(
java.lang.Iterable extends org.jetbrains.kotlin.metadata.ProtoBuf.EnumEntry> values) {
ensureEnumEntryIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, enumEntry_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.EnumEntry enum_entry = 13;
*/
public Builder clearEnumEntry() {
enumEntry_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00002000);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.EnumEntry enum_entry = 13;
*/
public Builder removeEnumEntry(int index) {
ensureEnumEntryIsMutable();
enumEntry_.remove(index);
return this;
}
private java.util.List sealedSubclassFqName_ = java.util.Collections.emptyList();
private void ensureSealedSubclassFqNameIsMutable() {
if (!((bitField0_ & 0x00004000) == 0x00004000)) {
sealedSubclassFqName_ = new java.util.ArrayList(sealedSubclassFqName_);
bitField0_ |= 0x00004000;
}
}
/**
* repeated int32 sealed_subclass_fq_name = 16 [packed = true];
*/
public java.util.List
getSealedSubclassFqNameList() {
return java.util.Collections.unmodifiableList(sealedSubclassFqName_);
}
/**
* repeated int32 sealed_subclass_fq_name = 16 [packed = true];
*/
public int getSealedSubclassFqNameCount() {
return sealedSubclassFqName_.size();
}
/**
* repeated int32 sealed_subclass_fq_name = 16 [packed = true];
*/
public int getSealedSubclassFqName(int index) {
return sealedSubclassFqName_.get(index);
}
/**
* repeated int32 sealed_subclass_fq_name = 16 [packed = true];
*/
public Builder setSealedSubclassFqName(
int index, int value) {
ensureSealedSubclassFqNameIsMutable();
sealedSubclassFqName_.set(index, value);
return this;
}
/**
* repeated int32 sealed_subclass_fq_name = 16 [packed = true];
*/
public Builder addSealedSubclassFqName(int value) {
ensureSealedSubclassFqNameIsMutable();
sealedSubclassFqName_.add(value);
return this;
}
/**
* repeated int32 sealed_subclass_fq_name = 16 [packed = true];
*/
public Builder addAllSealedSubclassFqName(
java.lang.Iterable extends java.lang.Integer> values) {
ensureSealedSubclassFqNameIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, sealedSubclassFqName_);
return this;
}
/**
* repeated int32 sealed_subclass_fq_name = 16 [packed = true];
*/
public Builder clearSealedSubclassFqName() {
sealedSubclassFqName_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00004000);
return this;
}
private int inlineClassUnderlyingPropertyName_ ;
/**
* optional int32 inline_class_underlying_property_name = 17;
*/
public boolean hasInlineClassUnderlyingPropertyName() {
return ((bitField0_ & 0x00008000) == 0x00008000);
}
/**
* optional int32 inline_class_underlying_property_name = 17;
*/
public int getInlineClassUnderlyingPropertyName() {
return inlineClassUnderlyingPropertyName_;
}
/**
* optional int32 inline_class_underlying_property_name = 17;
*/
public Builder setInlineClassUnderlyingPropertyName(int value) {
bitField0_ |= 0x00008000;
inlineClassUnderlyingPropertyName_ = value;
return this;
}
/**
* optional int32 inline_class_underlying_property_name = 17;
*/
public Builder clearInlineClassUnderlyingPropertyName() {
bitField0_ = (bitField0_ & ~0x00008000);
inlineClassUnderlyingPropertyName_ = 0;
return this;
}
private org.jetbrains.kotlin.metadata.ProtoBuf.Type inlineClassUnderlyingType_ = org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance();
/**
* optional .org.jetbrains.kotlin.metadata.Type inline_class_underlying_type = 18;
*/
public boolean hasInlineClassUnderlyingType() {
return ((bitField0_ & 0x00010000) == 0x00010000);
}
/**
* optional .org.jetbrains.kotlin.metadata.Type inline_class_underlying_type = 18;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Type getInlineClassUnderlyingType() {
return inlineClassUnderlyingType_;
}
/**
* optional .org.jetbrains.kotlin.metadata.Type inline_class_underlying_type = 18;
*/
public Builder setInlineClassUnderlyingType(org.jetbrains.kotlin.metadata.ProtoBuf.Type value) {
if (value == null) {
throw new NullPointerException();
}
inlineClassUnderlyingType_ = value;
bitField0_ |= 0x00010000;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.Type inline_class_underlying_type = 18;
*/
public Builder setInlineClassUnderlyingType(
org.jetbrains.kotlin.metadata.ProtoBuf.Type.Builder builderForValue) {
inlineClassUnderlyingType_ = builderForValue.build();
bitField0_ |= 0x00010000;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.Type inline_class_underlying_type = 18;
*/
public Builder mergeInlineClassUnderlyingType(org.jetbrains.kotlin.metadata.ProtoBuf.Type value) {
if (((bitField0_ & 0x00010000) == 0x00010000) &&
inlineClassUnderlyingType_ != org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance()) {
inlineClassUnderlyingType_ =
org.jetbrains.kotlin.metadata.ProtoBuf.Type.newBuilder(inlineClassUnderlyingType_).mergeFrom(value).buildPartial();
} else {
inlineClassUnderlyingType_ = value;
}
bitField0_ |= 0x00010000;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.Type inline_class_underlying_type = 18;
*/
public Builder clearInlineClassUnderlyingType() {
inlineClassUnderlyingType_ = org.jetbrains.kotlin.metadata.ProtoBuf.Type.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00010000);
return this;
}
private int inlineClassUnderlyingTypeId_ ;
/**
* optional int32 inline_class_underlying_type_id = 19;
*/
public boolean hasInlineClassUnderlyingTypeId() {
return ((bitField0_ & 0x00020000) == 0x00020000);
}
/**
* optional int32 inline_class_underlying_type_id = 19;
*/
public int getInlineClassUnderlyingTypeId() {
return inlineClassUnderlyingTypeId_;
}
/**
* optional int32 inline_class_underlying_type_id = 19;
*/
public Builder setInlineClassUnderlyingTypeId(int value) {
bitField0_ |= 0x00020000;
inlineClassUnderlyingTypeId_ = value;
return this;
}
/**
* optional int32 inline_class_underlying_type_id = 19;
*/
public Builder clearInlineClassUnderlyingTypeId() {
bitField0_ = (bitField0_ & ~0x00020000);
inlineClassUnderlyingTypeId_ = 0;
return this;
}
private java.util.List multiFieldValueClassUnderlyingName_ = java.util.Collections.emptyList();
private void ensureMultiFieldValueClassUnderlyingNameIsMutable() {
if (!((bitField0_ & 0x00040000) == 0x00040000)) {
multiFieldValueClassUnderlyingName_ = new java.util.ArrayList(multiFieldValueClassUnderlyingName_);
bitField0_ |= 0x00040000;
}
}
/**
* repeated int32 multi_field_value_class_underlying_name = 22 [packed = true];
*/
public java.util.List
getMultiFieldValueClassUnderlyingNameList() {
return java.util.Collections.unmodifiableList(multiFieldValueClassUnderlyingName_);
}
/**
* repeated int32 multi_field_value_class_underlying_name = 22 [packed = true];
*/
public int getMultiFieldValueClassUnderlyingNameCount() {
return multiFieldValueClassUnderlyingName_.size();
}
/**
* repeated int32 multi_field_value_class_underlying_name = 22 [packed = true];
*/
public int getMultiFieldValueClassUnderlyingName(int index) {
return multiFieldValueClassUnderlyingName_.get(index);
}
/**
* repeated int32 multi_field_value_class_underlying_name = 22 [packed = true];
*/
public Builder setMultiFieldValueClassUnderlyingName(
int index, int value) {
ensureMultiFieldValueClassUnderlyingNameIsMutable();
multiFieldValueClassUnderlyingName_.set(index, value);
return this;
}
/**
* repeated int32 multi_field_value_class_underlying_name = 22 [packed = true];
*/
public Builder addMultiFieldValueClassUnderlyingName(int value) {
ensureMultiFieldValueClassUnderlyingNameIsMutable();
multiFieldValueClassUnderlyingName_.add(value);
return this;
}
/**
* repeated int32 multi_field_value_class_underlying_name = 22 [packed = true];
*/
public Builder addAllMultiFieldValueClassUnderlyingName(
java.lang.Iterable extends java.lang.Integer> values) {
ensureMultiFieldValueClassUnderlyingNameIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, multiFieldValueClassUnderlyingName_);
return this;
}
/**
* repeated int32 multi_field_value_class_underlying_name = 22 [packed = true];
*/
public Builder clearMultiFieldValueClassUnderlyingName() {
multiFieldValueClassUnderlyingName_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00040000);
return this;
}
private java.util.List multiFieldValueClassUnderlyingType_ =
java.util.Collections.emptyList();
private void ensureMultiFieldValueClassUnderlyingTypeIsMutable() {
if (!((bitField0_ & 0x00080000) == 0x00080000)) {
multiFieldValueClassUnderlyingType_ = new java.util.ArrayList(multiFieldValueClassUnderlyingType_);
bitField0_ |= 0x00080000;
}
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type multi_field_value_class_underlying_type = 23;
*/
public java.util.List getMultiFieldValueClassUnderlyingTypeList() {
return java.util.Collections.unmodifiableList(multiFieldValueClassUnderlyingType_);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type multi_field_value_class_underlying_type = 23;
*/
public int getMultiFieldValueClassUnderlyingTypeCount() {
return multiFieldValueClassUnderlyingType_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type multi_field_value_class_underlying_type = 23;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Type getMultiFieldValueClassUnderlyingType(int index) {
return multiFieldValueClassUnderlyingType_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type multi_field_value_class_underlying_type = 23;
*/
public Builder setMultiFieldValueClassUnderlyingType(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Type value) {
if (value == null) {
throw new NullPointerException();
}
ensureMultiFieldValueClassUnderlyingTypeIsMutable();
multiFieldValueClassUnderlyingType_.set(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type multi_field_value_class_underlying_type = 23;
*/
public Builder setMultiFieldValueClassUnderlyingType(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Type.Builder builderForValue) {
ensureMultiFieldValueClassUnderlyingTypeIsMutable();
multiFieldValueClassUnderlyingType_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type multi_field_value_class_underlying_type = 23;
*/
public Builder addMultiFieldValueClassUnderlyingType(org.jetbrains.kotlin.metadata.ProtoBuf.Type value) {
if (value == null) {
throw new NullPointerException();
}
ensureMultiFieldValueClassUnderlyingTypeIsMutable();
multiFieldValueClassUnderlyingType_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type multi_field_value_class_underlying_type = 23;
*/
public Builder addMultiFieldValueClassUnderlyingType(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Type value) {
if (value == null) {
throw new NullPointerException();
}
ensureMultiFieldValueClassUnderlyingTypeIsMutable();
multiFieldValueClassUnderlyingType_.add(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type multi_field_value_class_underlying_type = 23;
*/
public Builder addMultiFieldValueClassUnderlyingType(
org.jetbrains.kotlin.metadata.ProtoBuf.Type.Builder builderForValue) {
ensureMultiFieldValueClassUnderlyingTypeIsMutable();
multiFieldValueClassUnderlyingType_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type multi_field_value_class_underlying_type = 23;
*/
public Builder addMultiFieldValueClassUnderlyingType(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Type.Builder builderForValue) {
ensureMultiFieldValueClassUnderlyingTypeIsMutable();
multiFieldValueClassUnderlyingType_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type multi_field_value_class_underlying_type = 23;
*/
public Builder addAllMultiFieldValueClassUnderlyingType(
java.lang.Iterable extends org.jetbrains.kotlin.metadata.ProtoBuf.Type> values) {
ensureMultiFieldValueClassUnderlyingTypeIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, multiFieldValueClassUnderlyingType_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type multi_field_value_class_underlying_type = 23;
*/
public Builder clearMultiFieldValueClassUnderlyingType() {
multiFieldValueClassUnderlyingType_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00080000);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Type multi_field_value_class_underlying_type = 23;
*/
public Builder removeMultiFieldValueClassUnderlyingType(int index) {
ensureMultiFieldValueClassUnderlyingTypeIsMutable();
multiFieldValueClassUnderlyingType_.remove(index);
return this;
}
private java.util.List multiFieldValueClassUnderlyingTypeId_ = java.util.Collections.emptyList();
private void ensureMultiFieldValueClassUnderlyingTypeIdIsMutable() {
if (!((bitField0_ & 0x00100000) == 0x00100000)) {
multiFieldValueClassUnderlyingTypeId_ = new java.util.ArrayList(multiFieldValueClassUnderlyingTypeId_);
bitField0_ |= 0x00100000;
}
}
/**
* repeated int32 multi_field_value_class_underlying_type_id = 24 [packed = true];
*/
public java.util.List
getMultiFieldValueClassUnderlyingTypeIdList() {
return java.util.Collections.unmodifiableList(multiFieldValueClassUnderlyingTypeId_);
}
/**
* repeated int32 multi_field_value_class_underlying_type_id = 24 [packed = true];
*/
public int getMultiFieldValueClassUnderlyingTypeIdCount() {
return multiFieldValueClassUnderlyingTypeId_.size();
}
/**
* repeated int32 multi_field_value_class_underlying_type_id = 24 [packed = true];
*/
public int getMultiFieldValueClassUnderlyingTypeId(int index) {
return multiFieldValueClassUnderlyingTypeId_.get(index);
}
/**
* repeated int32 multi_field_value_class_underlying_type_id = 24 [packed = true];
*/
public Builder setMultiFieldValueClassUnderlyingTypeId(
int index, int value) {
ensureMultiFieldValueClassUnderlyingTypeIdIsMutable();
multiFieldValueClassUnderlyingTypeId_.set(index, value);
return this;
}
/**
* repeated int32 multi_field_value_class_underlying_type_id = 24 [packed = true];
*/
public Builder addMultiFieldValueClassUnderlyingTypeId(int value) {
ensureMultiFieldValueClassUnderlyingTypeIdIsMutable();
multiFieldValueClassUnderlyingTypeId_.add(value);
return this;
}
/**
* repeated int32 multi_field_value_class_underlying_type_id = 24 [packed = true];
*/
public Builder addAllMultiFieldValueClassUnderlyingTypeId(
java.lang.Iterable extends java.lang.Integer> values) {
ensureMultiFieldValueClassUnderlyingTypeIdIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, multiFieldValueClassUnderlyingTypeId_);
return this;
}
/**
* repeated int32 multi_field_value_class_underlying_type_id = 24 [packed = true];
*/
public Builder clearMultiFieldValueClassUnderlyingTypeId() {
multiFieldValueClassUnderlyingTypeId_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00100000);
return this;
}
private org.jetbrains.kotlin.metadata.ProtoBuf.TypeTable typeTable_ = org.jetbrains.kotlin.metadata.ProtoBuf.TypeTable.getDefaultInstance();
/**
* optional .org.jetbrains.kotlin.metadata.TypeTable type_table = 30;
*/
public boolean hasTypeTable() {
return ((bitField0_ & 0x00200000) == 0x00200000);
}
/**
* optional .org.jetbrains.kotlin.metadata.TypeTable type_table = 30;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.TypeTable getTypeTable() {
return typeTable_;
}
/**
* optional .org.jetbrains.kotlin.metadata.TypeTable type_table = 30;
*/
public Builder setTypeTable(org.jetbrains.kotlin.metadata.ProtoBuf.TypeTable value) {
if (value == null) {
throw new NullPointerException();
}
typeTable_ = value;
bitField0_ |= 0x00200000;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.TypeTable type_table = 30;
*/
public Builder setTypeTable(
org.jetbrains.kotlin.metadata.ProtoBuf.TypeTable.Builder builderForValue) {
typeTable_ = builderForValue.build();
bitField0_ |= 0x00200000;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.TypeTable type_table = 30;
*/
public Builder mergeTypeTable(org.jetbrains.kotlin.metadata.ProtoBuf.TypeTable value) {
if (((bitField0_ & 0x00200000) == 0x00200000) &&
typeTable_ != org.jetbrains.kotlin.metadata.ProtoBuf.TypeTable.getDefaultInstance()) {
typeTable_ =
org.jetbrains.kotlin.metadata.ProtoBuf.TypeTable.newBuilder(typeTable_).mergeFrom(value).buildPartial();
} else {
typeTable_ = value;
}
bitField0_ |= 0x00200000;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.TypeTable type_table = 30;
*/
public Builder clearTypeTable() {
typeTable_ = org.jetbrains.kotlin.metadata.ProtoBuf.TypeTable.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00200000);
return this;
}
private java.util.List versionRequirement_ = java.util.Collections.emptyList();
private void ensureVersionRequirementIsMutable() {
if (!((bitField0_ & 0x00400000) == 0x00400000)) {
versionRequirement_ = new java.util.ArrayList(versionRequirement_);
bitField0_ |= 0x00400000;
}
}
/**
* repeated int32 version_requirement = 31;
*
*
* Index into the VersionRequirementTable
*
*/
public java.util.List
getVersionRequirementList() {
return java.util.Collections.unmodifiableList(versionRequirement_);
}
/**
* repeated int32 version_requirement = 31;
*
*
* Index into the VersionRequirementTable
*
*/
public int getVersionRequirementCount() {
return versionRequirement_.size();
}
/**
* repeated int32 version_requirement = 31;
*
*
* Index into the VersionRequirementTable
*
*/
public int getVersionRequirement(int index) {
return versionRequirement_.get(index);
}
/**
* repeated int32 version_requirement = 31;
*
*
* Index into the VersionRequirementTable
*
*/
public Builder setVersionRequirement(
int index, int value) {
ensureVersionRequirementIsMutable();
versionRequirement_.set(index, value);
return this;
}
/**
* repeated int32 version_requirement = 31;
*
*
* Index into the VersionRequirementTable
*
*/
public Builder addVersionRequirement(int value) {
ensureVersionRequirementIsMutable();
versionRequirement_.add(value);
return this;
}
/**
* repeated int32 version_requirement = 31;
*
*
* Index into the VersionRequirementTable
*
*/
public Builder addAllVersionRequirement(
java.lang.Iterable extends java.lang.Integer> values) {
ensureVersionRequirementIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, versionRequirement_);
return this;
}
/**
* repeated int32 version_requirement = 31;
*
*
* Index into the VersionRequirementTable
*
*/
public Builder clearVersionRequirement() {
versionRequirement_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00400000);
return this;
}
private org.jetbrains.kotlin.metadata.ProtoBuf.VersionRequirementTable versionRequirementTable_ = org.jetbrains.kotlin.metadata.ProtoBuf.VersionRequirementTable.getDefaultInstance();
/**
* optional .org.jetbrains.kotlin.metadata.VersionRequirementTable version_requirement_table = 32;
*/
public boolean hasVersionRequirementTable() {
return ((bitField0_ & 0x00800000) == 0x00800000);
}
/**
* optional .org.jetbrains.kotlin.metadata.VersionRequirementTable version_requirement_table = 32;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.VersionRequirementTable getVersionRequirementTable() {
return versionRequirementTable_;
}
/**
* optional .org.jetbrains.kotlin.metadata.VersionRequirementTable version_requirement_table = 32;
*/
public Builder setVersionRequirementTable(org.jetbrains.kotlin.metadata.ProtoBuf.VersionRequirementTable value) {
if (value == null) {
throw new NullPointerException();
}
versionRequirementTable_ = value;
bitField0_ |= 0x00800000;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.VersionRequirementTable version_requirement_table = 32;
*/
public Builder setVersionRequirementTable(
org.jetbrains.kotlin.metadata.ProtoBuf.VersionRequirementTable.Builder builderForValue) {
versionRequirementTable_ = builderForValue.build();
bitField0_ |= 0x00800000;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.VersionRequirementTable version_requirement_table = 32;
*/
public Builder mergeVersionRequirementTable(org.jetbrains.kotlin.metadata.ProtoBuf.VersionRequirementTable value) {
if (((bitField0_ & 0x00800000) == 0x00800000) &&
versionRequirementTable_ != org.jetbrains.kotlin.metadata.ProtoBuf.VersionRequirementTable.getDefaultInstance()) {
versionRequirementTable_ =
org.jetbrains.kotlin.metadata.ProtoBuf.VersionRequirementTable.newBuilder(versionRequirementTable_).mergeFrom(value).buildPartial();
} else {
versionRequirementTable_ = value;
}
bitField0_ |= 0x00800000;
return this;
}
/**
* optional .org.jetbrains.kotlin.metadata.VersionRequirementTable version_requirement_table = 32;
*/
public Builder clearVersionRequirementTable() {
versionRequirementTable_ = org.jetbrains.kotlin.metadata.ProtoBuf.VersionRequirementTable.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00800000);
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.metadata.Class)
}
static {
defaultInstance = new Class(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.metadata.Class)
}
public interface PackageOrBuilder extends
// @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.metadata.Package)
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder {
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 3;
*/
java.util.List
getFunctionList();
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 3;
*/
org.jetbrains.kotlin.metadata.ProtoBuf.Function getFunction(int index);
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 3;
*/
int getFunctionCount();
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 4;
*/
java.util.List
getPropertyList();
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 4;
*/
org.jetbrains.kotlin.metadata.ProtoBuf.Property getProperty(int index);
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 4;
*/
int getPropertyCount();
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 5;
*/
java.util.List
getTypeAliasList();
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 5;
*/
org.jetbrains.kotlin.metadata.ProtoBuf.TypeAlias getTypeAlias(int index);
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 5;
*/
int getTypeAliasCount();
/**
* optional .org.jetbrains.kotlin.metadata.TypeTable type_table = 30;
*/
boolean hasTypeTable();
/**
* optional .org.jetbrains.kotlin.metadata.TypeTable type_table = 30;
*/
org.jetbrains.kotlin.metadata.ProtoBuf.TypeTable getTypeTable();
/**
* optional .org.jetbrains.kotlin.metadata.VersionRequirementTable version_requirement_table = 32;
*/
boolean hasVersionRequirementTable();
/**
* optional .org.jetbrains.kotlin.metadata.VersionRequirementTable version_requirement_table = 32;
*/
org.jetbrains.kotlin.metadata.ProtoBuf.VersionRequirementTable getVersionRequirementTable();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.Package}
*/
public static final class Package extends
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableMessage<
Package> implements
// @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.metadata.Package)
PackageOrBuilder {
// Use Package.newBuilder() to construct.
private Package(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Package(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;}
private static final Package defaultInstance;
public static Package getDefaultInstance() {
return defaultInstance;
}
public Package getDefaultInstanceForType() {
return defaultInstance;
}
private final org.jetbrains.kotlin.protobuf.ByteString unknownFields;
private Package(
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 26: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
function_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
function_.add(input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.Function.PARSER, extensionRegistry));
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
property_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
property_.add(input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.Property.PARSER, extensionRegistry));
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
typeAlias_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
typeAlias_.add(input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.TypeAlias.PARSER, extensionRegistry));
break;
}
case 242: {
org.jetbrains.kotlin.metadata.ProtoBuf.TypeTable.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = typeTable_.toBuilder();
}
typeTable_ = input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.TypeTable.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(typeTable_);
typeTable_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 258: {
org.jetbrains.kotlin.metadata.ProtoBuf.VersionRequirementTable.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = versionRequirementTable_.toBuilder();
}
versionRequirementTable_ = input.readMessage(org.jetbrains.kotlin.metadata.ProtoBuf.VersionRequirementTable.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(versionRequirementTable_);
versionRequirementTable_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
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)) {
function_ = java.util.Collections.unmodifiableList(function_);
}
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
property_ = java.util.Collections.unmodifiableList(property_);
}
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
typeAlias_ = java.util.Collections.unmodifiableList(typeAlias_);
}
try {
unknownFieldsCodedOutput.flush();
} catch (java.io.IOException e) {
// Should not happen
} finally {
unknownFields = unknownFieldsOutput.toByteString();
}
makeExtensionsImmutable();
}
}
public static org.jetbrains.kotlin.protobuf.Parser PARSER =
new org.jetbrains.kotlin.protobuf.AbstractParser() {
public Package parsePartialFrom(
org.jetbrains.kotlin.protobuf.CodedInputStream input,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return new Package(input, extensionRegistry);
}
};
@java.lang.Override
public org.jetbrains.kotlin.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int FUNCTION_FIELD_NUMBER = 3;
private java.util.List function_;
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 3;
*/
public java.util.List getFunctionList() {
return function_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 3;
*/
public java.util.List extends org.jetbrains.kotlin.metadata.ProtoBuf.FunctionOrBuilder>
getFunctionOrBuilderList() {
return function_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 3;
*/
public int getFunctionCount() {
return function_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 3;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Function getFunction(int index) {
return function_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 3;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.FunctionOrBuilder getFunctionOrBuilder(
int index) {
return function_.get(index);
}
public static final int PROPERTY_FIELD_NUMBER = 4;
private java.util.List property_;
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 4;
*/
public java.util.List getPropertyList() {
return property_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 4;
*/
public java.util.List extends org.jetbrains.kotlin.metadata.ProtoBuf.PropertyOrBuilder>
getPropertyOrBuilderList() {
return property_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 4;
*/
public int getPropertyCount() {
return property_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 4;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Property getProperty(int index) {
return property_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 4;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.PropertyOrBuilder getPropertyOrBuilder(
int index) {
return property_.get(index);
}
public static final int TYPE_ALIAS_FIELD_NUMBER = 5;
private java.util.List typeAlias_;
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 5;
*/
public java.util.List getTypeAliasList() {
return typeAlias_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 5;
*/
public java.util.List extends org.jetbrains.kotlin.metadata.ProtoBuf.TypeAliasOrBuilder>
getTypeAliasOrBuilderList() {
return typeAlias_;
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 5;
*/
public int getTypeAliasCount() {
return typeAlias_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 5;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.TypeAlias getTypeAlias(int index) {
return typeAlias_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.TypeAlias type_alias = 5;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.TypeAliasOrBuilder getTypeAliasOrBuilder(
int index) {
return typeAlias_.get(index);
}
public static final int TYPE_TABLE_FIELD_NUMBER = 30;
private org.jetbrains.kotlin.metadata.ProtoBuf.TypeTable typeTable_;
/**
* optional .org.jetbrains.kotlin.metadata.TypeTable type_table = 30;
*/
public boolean hasTypeTable() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .org.jetbrains.kotlin.metadata.TypeTable type_table = 30;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.TypeTable getTypeTable() {
return typeTable_;
}
public static final int VERSION_REQUIREMENT_TABLE_FIELD_NUMBER = 32;
private org.jetbrains.kotlin.metadata.ProtoBuf.VersionRequirementTable versionRequirementTable_;
/**
* optional .org.jetbrains.kotlin.metadata.VersionRequirementTable version_requirement_table = 32;
*/
public boolean hasVersionRequirementTable() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .org.jetbrains.kotlin.metadata.VersionRequirementTable version_requirement_table = 32;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.VersionRequirementTable getVersionRequirementTable() {
return versionRequirementTable_;
}
private void initFields() {
function_ = java.util.Collections.emptyList();
property_ = java.util.Collections.emptyList();
typeAlias_ = java.util.Collections.emptyList();
typeTable_ = org.jetbrains.kotlin.metadata.ProtoBuf.TypeTable.getDefaultInstance();
versionRequirementTable_ = org.jetbrains.kotlin.metadata.ProtoBuf.VersionRequirementTable.getDefaultInstance();
}
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 < getFunctionCount(); i++) {
if (!getFunction(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getPropertyCount(); i++) {
if (!getProperty(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getTypeAliasCount(); i++) {
if (!getTypeAlias(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasTypeTable()) {
if (!getTypeTable().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (!extensionsAreInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
org.jetbrains.kotlin.protobuf.GeneratedMessageLite
.ExtendableMessage.ExtensionWriter extensionWriter =
newExtensionWriter();
for (int i = 0; i < function_.size(); i++) {
output.writeMessage(3, function_.get(i));
}
for (int i = 0; i < property_.size(); i++) {
output.writeMessage(4, property_.get(i));
}
for (int i = 0; i < typeAlias_.size(); i++) {
output.writeMessage(5, typeAlias_.get(i));
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(30, typeTable_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(32, versionRequirementTable_);
}
extensionWriter.writeUntil(200, output);
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 < function_.size(); i++) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(3, function_.get(i));
}
for (int i = 0; i < property_.size(); i++) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(4, property_.get(i));
}
for (int i = 0; i < typeAlias_.size(); i++) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(5, typeAlias_.get(i));
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(30, typeTable_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(32, versionRequirementTable_);
}
size += extensionsSerializedSize();
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.ProtoBuf.Package parseFrom(
org.jetbrains.kotlin.protobuf.ByteString data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Package 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.ProtoBuf.Package parseFrom(byte[] data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Package 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.ProtoBuf.Package parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Package 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.ProtoBuf.Package parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Package 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.ProtoBuf.Package parseFrom(
org.jetbrains.kotlin.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.metadata.ProtoBuf.Package 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.ProtoBuf.Package prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code org.jetbrains.kotlin.metadata.Package}
*/
public static final class Builder extends
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder<
org.jetbrains.kotlin.metadata.ProtoBuf.Package, Builder> implements
// @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.metadata.Package)
org.jetbrains.kotlin.metadata.ProtoBuf.PackageOrBuilder {
// Construct using org.jetbrains.kotlin.metadata.ProtoBuf.Package.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
function_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
property_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
typeAlias_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
typeTable_ = org.jetbrains.kotlin.metadata.ProtoBuf.TypeTable.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000008);
versionRequirementTable_ = org.jetbrains.kotlin.metadata.ProtoBuf.VersionRequirementTable.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.jetbrains.kotlin.metadata.ProtoBuf.Package getDefaultInstanceForType() {
return org.jetbrains.kotlin.metadata.ProtoBuf.Package.getDefaultInstance();
}
public org.jetbrains.kotlin.metadata.ProtoBuf.Package build() {
org.jetbrains.kotlin.metadata.ProtoBuf.Package result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.jetbrains.kotlin.metadata.ProtoBuf.Package buildPartial() {
org.jetbrains.kotlin.metadata.ProtoBuf.Package result = new org.jetbrains.kotlin.metadata.ProtoBuf.Package(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
function_ = java.util.Collections.unmodifiableList(function_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.function_ = function_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
property_ = java.util.Collections.unmodifiableList(property_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.property_ = property_;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
typeAlias_ = java.util.Collections.unmodifiableList(typeAlias_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.typeAlias_ = typeAlias_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000001;
}
result.typeTable_ = typeTable_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000002;
}
result.versionRequirementTable_ = versionRequirementTable_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.jetbrains.kotlin.metadata.ProtoBuf.Package other) {
if (other == org.jetbrains.kotlin.metadata.ProtoBuf.Package.getDefaultInstance()) return this;
if (!other.function_.isEmpty()) {
if (function_.isEmpty()) {
function_ = other.function_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureFunctionIsMutable();
function_.addAll(other.function_);
}
}
if (!other.property_.isEmpty()) {
if (property_.isEmpty()) {
property_ = other.property_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensurePropertyIsMutable();
property_.addAll(other.property_);
}
}
if (!other.typeAlias_.isEmpty()) {
if (typeAlias_.isEmpty()) {
typeAlias_ = other.typeAlias_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureTypeAliasIsMutable();
typeAlias_.addAll(other.typeAlias_);
}
}
if (other.hasTypeTable()) {
mergeTypeTable(other.getTypeTable());
}
if (other.hasVersionRequirementTable()) {
mergeVersionRequirementTable(other.getVersionRequirementTable());
}
this.mergeExtensionFields(other);
setUnknownFields(
getUnknownFields().concat(other.unknownFields));
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getFunctionCount(); i++) {
if (!getFunction(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getPropertyCount(); i++) {
if (!getProperty(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getTypeAliasCount(); i++) {
if (!getTypeAlias(i).isInitialized()) {
return false;
}
}
if (hasTypeTable()) {
if (!getTypeTable().isInitialized()) {
return false;
}
}
if (!extensionsAreInitialized()) {
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.ProtoBuf.Package parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.jetbrains.kotlin.metadata.ProtoBuf.Package) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List function_ =
java.util.Collections.emptyList();
private void ensureFunctionIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
function_ = new java.util.ArrayList(function_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 3;
*/
public java.util.List getFunctionList() {
return java.util.Collections.unmodifiableList(function_);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 3;
*/
public int getFunctionCount() {
return function_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 3;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Function getFunction(int index) {
return function_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 3;
*/
public Builder setFunction(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Function value) {
if (value == null) {
throw new NullPointerException();
}
ensureFunctionIsMutable();
function_.set(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 3;
*/
public Builder setFunction(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Function.Builder builderForValue) {
ensureFunctionIsMutable();
function_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 3;
*/
public Builder addFunction(org.jetbrains.kotlin.metadata.ProtoBuf.Function value) {
if (value == null) {
throw new NullPointerException();
}
ensureFunctionIsMutable();
function_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 3;
*/
public Builder addFunction(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Function value) {
if (value == null) {
throw new NullPointerException();
}
ensureFunctionIsMutable();
function_.add(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 3;
*/
public Builder addFunction(
org.jetbrains.kotlin.metadata.ProtoBuf.Function.Builder builderForValue) {
ensureFunctionIsMutable();
function_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 3;
*/
public Builder addFunction(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Function.Builder builderForValue) {
ensureFunctionIsMutable();
function_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 3;
*/
public Builder addAllFunction(
java.lang.Iterable extends org.jetbrains.kotlin.metadata.ProtoBuf.Function> values) {
ensureFunctionIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, function_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 3;
*/
public Builder clearFunction() {
function_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Function function = 3;
*/
public Builder removeFunction(int index) {
ensureFunctionIsMutable();
function_.remove(index);
return this;
}
private java.util.List property_ =
java.util.Collections.emptyList();
private void ensurePropertyIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
property_ = new java.util.ArrayList(property_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 4;
*/
public java.util.List getPropertyList() {
return java.util.Collections.unmodifiableList(property_);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 4;
*/
public int getPropertyCount() {
return property_.size();
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 4;
*/
public org.jetbrains.kotlin.metadata.ProtoBuf.Property getProperty(int index) {
return property_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 4;
*/
public Builder setProperty(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Property value) {
if (value == null) {
throw new NullPointerException();
}
ensurePropertyIsMutable();
property_.set(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 4;
*/
public Builder setProperty(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Property.Builder builderForValue) {
ensurePropertyIsMutable();
property_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 4;
*/
public Builder addProperty(org.jetbrains.kotlin.metadata.ProtoBuf.Property value) {
if (value == null) {
throw new NullPointerException();
}
ensurePropertyIsMutable();
property_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 4;
*/
public Builder addProperty(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Property value) {
if (value == null) {
throw new NullPointerException();
}
ensurePropertyIsMutable();
property_.add(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 4;
*/
public Builder addProperty(
org.jetbrains.kotlin.metadata.ProtoBuf.Property.Builder builderForValue) {
ensurePropertyIsMutable();
property_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 4;
*/
public Builder addProperty(
int index, org.jetbrains.kotlin.metadata.ProtoBuf.Property.Builder builderForValue) {
ensurePropertyIsMutable();
property_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 4;
*/
public Builder addAllProperty(
java.lang.Iterable extends org.jetbrains.kotlin.metadata.ProtoBuf.Property> values) {
ensurePropertyIsMutable();
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
values, property_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 4;
*/
public Builder clearProperty() {
property_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* repeated .org.jetbrains.kotlin.metadata.Property property = 4;
*/
public Builder removeProperty(int index) {
ensurePropertyIsMutable();
property_.remove(index);
return this;
}
private java.util.List typeAlias_ =
java.util.Collections.emptyList();
private void ensureTypeAliasIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
typeAlias_ = new java.util.ArrayList