// Generated by the protocol buffer compiler. DO NOT EDIT! // source: core/deserialization/src/descriptors.proto package org.jetbrains.kotlin.serialization; public final class ProtoBuf { private ProtoBuf() {} public static void registerAllExtensions( org.jetbrains.kotlin.protobuf.ExtensionRegistryLite registry) { } /** * Protobuf enum {@code org.jetbrains.kotlin.serialization.Modality} */ public enum Modality implements org.jetbrains.kotlin.protobuf.Internal.EnumLite { /** * <code>FINAL = 0;</code> * * <pre> * 2 bits * </pre> */ FINAL(0, 0), /** * <code>OPEN = 1;</code> */ OPEN(1, 1), /** * <code>ABSTRACT = 2;</code> */ ABSTRACT(2, 2), /** * <code>SEALED = 3;</code> */ SEALED(3, 3), ; /** * <code>FINAL = 0;</code> * * <pre> * 2 bits * </pre> */ public static final int FINAL_VALUE = 0; /** * <code>OPEN = 1;</code> */ public static final int OPEN_VALUE = 1; /** * <code>ABSTRACT = 2;</code> */ public static final int ABSTRACT_VALUE = 2; /** * <code>SEALED = 3;</code> */ 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<Modality> internalGetValueMap() { return internalValueMap; } private static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<Modality> internalValueMap = new org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<Modality>() { 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.serialization.Modality) } /** * Protobuf enum {@code org.jetbrains.kotlin.serialization.Visibility} */ public enum Visibility implements org.jetbrains.kotlin.protobuf.Internal.EnumLite { /** * <code>INTERNAL = 0;</code> * * <pre> * 3 bits * </pre> */ INTERNAL(0, 0), /** * <code>PRIVATE = 1;</code> */ PRIVATE(1, 1), /** * <code>PROTECTED = 2;</code> */ PROTECTED(2, 2), /** * <code>PUBLIC = 3;</code> */ PUBLIC(3, 3), /** * <code>PRIVATE_TO_THIS = 4;</code> */ PRIVATE_TO_THIS(4, 4), /** * <code>LOCAL = 5;</code> */ LOCAL(5, 5), ; /** * <code>INTERNAL = 0;</code> * * <pre> * 3 bits * </pre> */ public static final int INTERNAL_VALUE = 0; /** * <code>PRIVATE = 1;</code> */ public static final int PRIVATE_VALUE = 1; /** * <code>PROTECTED = 2;</code> */ public static final int PROTECTED_VALUE = 2; /** * <code>PUBLIC = 3;</code> */ public static final int PUBLIC_VALUE = 3; /** * <code>PRIVATE_TO_THIS = 4;</code> */ public static final int PRIVATE_TO_THIS_VALUE = 4; /** * <code>LOCAL = 5;</code> */ 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<Visibility> internalGetValueMap() { return internalValueMap; } private static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<Visibility> internalValueMap = new org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<Visibility>() { 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.serialization.Visibility) } /** * Protobuf enum {@code org.jetbrains.kotlin.serialization.MemberKind} */ public enum MemberKind implements org.jetbrains.kotlin.protobuf.Internal.EnumLite { /** * <code>DECLARATION = 0;</code> * * <pre> * 2 bits * </pre> */ DECLARATION(0, 0), /** * <code>FAKE_OVERRIDE = 1;</code> */ FAKE_OVERRIDE(1, 1), /** * <code>DELEGATION = 2;</code> */ DELEGATION(2, 2), /** * <code>SYNTHESIZED = 3;</code> */ SYNTHESIZED(3, 3), ; /** * <code>DECLARATION = 0;</code> * * <pre> * 2 bits * </pre> */ public static final int DECLARATION_VALUE = 0; /** * <code>FAKE_OVERRIDE = 1;</code> */ public static final int FAKE_OVERRIDE_VALUE = 1; /** * <code>DELEGATION = 2;</code> */ public static final int DELEGATION_VALUE = 2; /** * <code>SYNTHESIZED = 3;</code> */ 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<MemberKind> internalGetValueMap() { return internalValueMap; } private static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<MemberKind> internalValueMap = new org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<MemberKind>() { 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.serialization.MemberKind) } public interface StringTableOrBuilder extends // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.StringTable) org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder { /** * <code>repeated string string = 1;</code> */ org.jetbrains.kotlin.protobuf.ProtocolStringList getStringList(); /** * <code>repeated string string = 1;</code> */ int getStringCount(); /** * <code>repeated string string = 1;</code> */ java.lang.String getString(int index); /** * <code>repeated string string = 1;</code> */ org.jetbrains.kotlin.protobuf.ByteString getStringBytes(int index); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.StringTable} */ public static final class StringTable extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.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); 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<StringTable> PARSER = new org.jetbrains.kotlin.protobuf.AbstractParser<StringTable>() { 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<StringTable> getParserForType() { return PARSER; } public static final int STRING_FIELD_NUMBER = 1; private org.jetbrains.kotlin.protobuf.LazyStringList string_; /** * <code>repeated string string = 1;</code> */ public org.jetbrains.kotlin.protobuf.ProtocolStringList getStringList() { return string_; } /** * <code>repeated string string = 1;</code> */ public int getStringCount() { return string_.size(); } /** * <code>repeated string string = 1;</code> */ public java.lang.String getString(int index) { return string_.get(index); } /** * <code>repeated string string = 1;</code> */ 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.serialization.ProtoBuf.StringTable parseFrom( org.jetbrains.kotlin.protobuf.ByteString data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.StringTable parseFrom(byte[] data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.StringTable parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.StringTable parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.StringTable parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.StringTable prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.StringTable} */ public static final class Builder extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder< org.jetbrains.kotlin.serialization.ProtoBuf.StringTable, Builder> implements // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.StringTable) org.jetbrains.kotlin.serialization.ProtoBuf.StringTableOrBuilder { // Construct using org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.StringTable getDefaultInstanceForType() { return org.jetbrains.kotlin.serialization.ProtoBuf.StringTable.getDefaultInstance(); } public org.jetbrains.kotlin.serialization.ProtoBuf.StringTable build() { org.jetbrains.kotlin.serialization.ProtoBuf.StringTable result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.serialization.ProtoBuf.StringTable buildPartial() { org.jetbrains.kotlin.serialization.ProtoBuf.StringTable result = new org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.StringTable other) { if (other == org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.StringTable parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.serialization.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; } } /** * <code>repeated string string = 1;</code> */ public org.jetbrains.kotlin.protobuf.ProtocolStringList getStringList() { return string_.getUnmodifiableView(); } /** * <code>repeated string string = 1;</code> */ public int getStringCount() { return string_.size(); } /** * <code>repeated string string = 1;</code> */ public java.lang.String getString(int index) { return string_.get(index); } /** * <code>repeated string string = 1;</code> */ public org.jetbrains.kotlin.protobuf.ByteString getStringBytes(int index) { return string_.getByteString(index); } /** * <code>repeated string string = 1;</code> */ public Builder setString( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureStringIsMutable(); string_.set(index, value); return this; } /** * <code>repeated string string = 1;</code> */ public Builder addString( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureStringIsMutable(); string_.add(value); return this; } /** * <code>repeated string string = 1;</code> */ public Builder addAllString( java.lang.Iterable<java.lang.String> values) { ensureStringIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, string_); return this; } /** * <code>repeated string string = 1;</code> */ public Builder clearString() { string_ = org.jetbrains.kotlin.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * <code>repeated string string = 1;</code> */ 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.serialization.StringTable) } static { defaultInstance = new StringTable(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.StringTable) } public interface QualifiedNameTableOrBuilder extends // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.QualifiedNameTable) org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder { /** * <code>repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;</code> */ java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName> getQualifiedNameList(); /** * <code>repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName getQualifiedName(int index); /** * <code>repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;</code> */ int getQualifiedNameCount(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.QualifiedNameTable} */ public static final class QualifiedNameTable extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.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); 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<org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName>(); mutable_bitField0_ |= 0x00000001; } qualifiedName_.add(input.readMessage(org.jetbrains.kotlin.serialization.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<QualifiedNameTable> PARSER = new org.jetbrains.kotlin.protobuf.AbstractParser<QualifiedNameTable>() { 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<QualifiedNameTable> getParserForType() { return PARSER; } public interface QualifiedNameOrBuilder extends // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName) org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder { /** * <code>optional int32 parent_qualified_name = 1 [default = -1];</code> */ boolean hasParentQualifiedName(); /** * <code>optional int32 parent_qualified_name = 1 [default = -1];</code> */ int getParentQualifiedName(); /** * <code>required int32 short_name = 2;</code> * * <pre> * id in the StringTable * </pre> */ boolean hasShortName(); /** * <code>required int32 short_name = 2;</code> * * <pre> * id in the StringTable * </pre> */ int getShortName(); /** * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];</code> */ boolean hasKind(); /** * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName.Kind getKind(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName} */ public static final class QualifiedName extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.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); 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.serialization.ProtoBuf.QualifiedNameTable.QualifiedName.Kind value = org.jetbrains.kotlin.serialization.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<QualifiedName> PARSER = new org.jetbrains.kotlin.protobuf.AbstractParser<QualifiedName>() { 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<QualifiedName> getParserForType() { return PARSER; } /** * Protobuf enum {@code org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName.Kind} */ public enum Kind implements org.jetbrains.kotlin.protobuf.Internal.EnumLite { /** * <code>CLASS = 0;</code> */ CLASS(0, 0), /** * <code>PACKAGE = 1;</code> */ PACKAGE(1, 1), /** * <code>LOCAL = 2;</code> */ LOCAL(2, 2), ; /** * <code>CLASS = 0;</code> */ public static final int CLASS_VALUE = 0; /** * <code>PACKAGE = 1;</code> */ public static final int PACKAGE_VALUE = 1; /** * <code>LOCAL = 2;</code> */ 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<Kind> internalGetValueMap() { return internalValueMap; } private static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<Kind> internalValueMap = new org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<Kind>() { public Kind findValueByNumber(int number) { return Kind.valueOf(number); } }; private final int value; private Kind(int index, int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName.Kind) } private int bitField0_; public static final int PARENT_QUALIFIED_NAME_FIELD_NUMBER = 1; private int parentQualifiedName_; /** * <code>optional int32 parent_qualified_name = 1 [default = -1];</code> */ public boolean hasParentQualifiedName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 parent_qualified_name = 1 [default = -1];</code> */ public int getParentQualifiedName() { return parentQualifiedName_; } public static final int SHORT_NAME_FIELD_NUMBER = 2; private int shortName_; /** * <code>required int32 short_name = 2;</code> * * <pre> * id in the StringTable * </pre> */ public boolean hasShortName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>required int32 short_name = 2;</code> * * <pre> * id in the StringTable * </pre> */ public int getShortName() { return shortName_; } public static final int KIND_FIELD_NUMBER = 3; private org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName.Kind kind_; /** * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];</code> */ public boolean hasKind() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName.Kind getKind() { return kind_; } private void initFields() { parentQualifiedName_ = -1; shortName_ = 0; kind_ = org.jetbrains.kotlin.serialization.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.serialization.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.serialization.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.serialization.ProtoBuf.QualifiedNameTable.QualifiedName parseFrom(byte[] data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.QualifiedNameTable.QualifiedName parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.QualifiedNameTable.QualifiedName parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.QualifiedNameTable.QualifiedName parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.QualifiedNameTable.QualifiedName prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName} */ public static final class Builder extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder< org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName, Builder> implements // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName) org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedNameOrBuilder { // Construct using org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.QualifiedNameTable.QualifiedName.Kind.PACKAGE; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName getDefaultInstanceForType() { return org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName.getDefaultInstance(); } public org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName build() { org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName buildPartial() { org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName result = new org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.QualifiedNameTable.QualifiedName other) { if (other == org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.QualifiedNameTable.QualifiedName parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int parentQualifiedName_ = -1; /** * <code>optional int32 parent_qualified_name = 1 [default = -1];</code> */ public boolean hasParentQualifiedName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 parent_qualified_name = 1 [default = -1];</code> */ public int getParentQualifiedName() { return parentQualifiedName_; } /** * <code>optional int32 parent_qualified_name = 1 [default = -1];</code> */ public Builder setParentQualifiedName(int value) { bitField0_ |= 0x00000001; parentQualifiedName_ = value; return this; } /** * <code>optional int32 parent_qualified_name = 1 [default = -1];</code> */ public Builder clearParentQualifiedName() { bitField0_ = (bitField0_ & ~0x00000001); parentQualifiedName_ = -1; return this; } private int shortName_ ; /** * <code>required int32 short_name = 2;</code> * * <pre> * id in the StringTable * </pre> */ public boolean hasShortName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>required int32 short_name = 2;</code> * * <pre> * id in the StringTable * </pre> */ public int getShortName() { return shortName_; } /** * <code>required int32 short_name = 2;</code> * * <pre> * id in the StringTable * </pre> */ public Builder setShortName(int value) { bitField0_ |= 0x00000002; shortName_ = value; return this; } /** * <code>required int32 short_name = 2;</code> * * <pre> * id in the StringTable * </pre> */ public Builder clearShortName() { bitField0_ = (bitField0_ & ~0x00000002); shortName_ = 0; return this; } private org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName.Kind kind_ = org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName.Kind.PACKAGE; /** * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];</code> */ public boolean hasKind() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName.Kind getKind() { return kind_; } /** * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];</code> */ public Builder setKind(org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName.Kind value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; kind_ = value; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];</code> */ public Builder clearKind() { bitField0_ = (bitField0_ & ~0x00000004); kind_ = org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName.Kind.PACKAGE; return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName) } static { defaultInstance = new QualifiedName(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName) } public static final int QUALIFIED_NAME_FIELD_NUMBER = 1; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName> qualifiedName_; /** * <code>repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName> getQualifiedNameList() { return qualifiedName_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;</code> */ public java.util.List<? extends org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedNameOrBuilder> getQualifiedNameOrBuilderList() { return qualifiedName_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;</code> */ public int getQualifiedNameCount() { return qualifiedName_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName getQualifiedName(int index) { return qualifiedName_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;</code> */ public org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.QualifiedNameTable parseFrom( org.jetbrains.kotlin.protobuf.ByteString data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.QualifiedNameTable parseFrom(byte[] data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.QualifiedNameTable parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.QualifiedNameTable parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.QualifiedNameTable parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.QualifiedNameTable prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.QualifiedNameTable} */ public static final class Builder extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder< org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable, Builder> implements // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.QualifiedNameTable) org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTableOrBuilder { // Construct using org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.QualifiedNameTable getDefaultInstanceForType() { return org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.getDefaultInstance(); } public org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable build() { org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable buildPartial() { org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable result = new org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.QualifiedNameTable other) { if (other == org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.QualifiedNameTable parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName> qualifiedName_ = java.util.Collections.emptyList(); private void ensureQualifiedNameIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { qualifiedName_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName>(qualifiedName_); bitField0_ |= 0x00000001; } } /** * <code>repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName> getQualifiedNameList() { return java.util.Collections.unmodifiableList(qualifiedName_); } /** * <code>repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;</code> */ public int getQualifiedNameCount() { return qualifiedName_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName getQualifiedName(int index) { return qualifiedName_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;</code> */ public Builder setQualifiedName( int index, org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName value) { if (value == null) { throw new NullPointerException(); } ensureQualifiedNameIsMutable(); qualifiedName_.set(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;</code> */ public Builder setQualifiedName( int index, org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName.Builder builderForValue) { ensureQualifiedNameIsMutable(); qualifiedName_.set(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;</code> */ public Builder addQualifiedName(org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName value) { if (value == null) { throw new NullPointerException(); } ensureQualifiedNameIsMutable(); qualifiedName_.add(value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;</code> */ public Builder addQualifiedName( int index, org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName value) { if (value == null) { throw new NullPointerException(); } ensureQualifiedNameIsMutable(); qualifiedName_.add(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;</code> */ public Builder addQualifiedName( org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName.Builder builderForValue) { ensureQualifiedNameIsMutable(); qualifiedName_.add(builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;</code> */ public Builder addQualifiedName( int index, org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName.Builder builderForValue) { ensureQualifiedNameIsMutable(); qualifiedName_.add(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;</code> */ public Builder addAllQualifiedName( java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName> values) { ensureQualifiedNameIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, qualifiedName_); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;</code> */ public Builder clearQualifiedName() { qualifiedName_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;</code> */ public Builder removeQualifiedName(int index) { ensureQualifiedNameIsMutable(); qualifiedName_.remove(index); return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.QualifiedNameTable) } static { defaultInstance = new QualifiedNameTable(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.QualifiedNameTable) } public interface AnnotationOrBuilder extends // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.Annotation) org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder { /** * <code>required int32 id = 1;</code> */ boolean hasId(); /** * <code>required int32 id = 1;</code> */ int getId(); /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;</code> */ java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument> getArgumentList(); /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument getArgument(int index); /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;</code> */ int getArgumentCount(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.Annotation} */ public static final class Annotation extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.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); 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<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument>(); mutable_bitField0_ |= 0x00000002; } argument_.add(input.readMessage(org.jetbrains.kotlin.serialization.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<Annotation> PARSER = new org.jetbrains.kotlin.protobuf.AbstractParser<Annotation>() { 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<Annotation> getParserForType() { return PARSER; } public interface ArgumentOrBuilder extends // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.Annotation.Argument) org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder { /** * <code>required int32 name_id = 1;</code> */ boolean hasNameId(); /** * <code>required int32 name_id = 1;</code> */ int getNameId(); /** * <code>required .org.jetbrains.kotlin.serialization.Annotation.Argument.Value value = 2;</code> */ boolean hasValue(); /** * <code>required .org.jetbrains.kotlin.serialization.Annotation.Argument.Value value = 2;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value getValue(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.Annotation.Argument} */ public static final class Argument extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.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); 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.serialization.ProtoBuf.Annotation.Argument.Value.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = value_.toBuilder(); } value_ = input.readMessage(org.jetbrains.kotlin.serialization.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<Argument> PARSER = new org.jetbrains.kotlin.protobuf.AbstractParser<Argument>() { 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<Argument> getParserForType() { return PARSER; } public interface ValueOrBuilder extends // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.Annotation.Argument.Value) org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder { /** * <code>optional .org.jetbrains.kotlin.serialization.Annotation.Argument.Value.Type type = 1;</code> * * <pre> * 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 * </pre> */ boolean hasType(); /** * <code>optional .org.jetbrains.kotlin.serialization.Annotation.Argument.Value.Type type = 1;</code> * * <pre> * 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 * </pre> */ org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.Type getType(); /** * <code>optional sint64 int_value = 2;</code> */ boolean hasIntValue(); /** * <code>optional sint64 int_value = 2;</code> */ long getIntValue(); /** * <code>optional float float_value = 3;</code> */ boolean hasFloatValue(); /** * <code>optional float float_value = 3;</code> */ float getFloatValue(); /** * <code>optional double double_value = 4;</code> */ boolean hasDoubleValue(); /** * <code>optional double double_value = 4;</code> */ double getDoubleValue(); /** * <code>optional int32 string_value = 5;</code> */ boolean hasStringValue(); /** * <code>optional int32 string_value = 5;</code> */ int getStringValue(); /** * <code>optional int32 class_id = 6;</code> * * <pre> * If type = CLASS, FQ name of the referenced class; if type = ENUM, FQ name of the enum class * </pre> */ boolean hasClassId(); /** * <code>optional int32 class_id = 6;</code> * * <pre> * If type = CLASS, FQ name of the referenced class; if type = ENUM, FQ name of the enum class * </pre> */ int getClassId(); /** * <code>optional int32 enum_value_id = 7;</code> */ boolean hasEnumValueId(); /** * <code>optional int32 enum_value_id = 7;</code> */ int getEnumValueId(); /** * <code>optional .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ boolean hasAnnotation(); /** * <code>optional .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Annotation getAnnotation(); /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;</code> */ java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value> getArrayElementList(); /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value getArrayElement(int index); /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;</code> */ int getArrayElementCount(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.Annotation.Argument.Value} */ public static final class Value extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.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); 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.serialization.ProtoBuf.Annotation.Argument.Value.Type value = org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Annotation.Builder subBuilder = null; if (((bitField0_ & 0x00000080) == 0x00000080)) { subBuilder = annotation_.toBuilder(); } annotation_ = input.readMessage(org.jetbrains.kotlin.serialization.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<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value>(); mutable_bitField0_ |= 0x00000100; } arrayElement_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.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_ & 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<Value> PARSER = new org.jetbrains.kotlin.protobuf.AbstractParser<Value>() { 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<Value> getParserForType() { return PARSER; } /** * Protobuf enum {@code org.jetbrains.kotlin.serialization.Annotation.Argument.Value.Type} */ public enum Type implements org.jetbrains.kotlin.protobuf.Internal.EnumLite { /** * <code>BYTE = 0;</code> */ BYTE(0, 0), /** * <code>CHAR = 1;</code> */ CHAR(1, 1), /** * <code>SHORT = 2;</code> */ SHORT(2, 2), /** * <code>INT = 3;</code> */ INT(3, 3), /** * <code>LONG = 4;</code> */ LONG(4, 4), /** * <code>FLOAT = 5;</code> */ FLOAT(5, 5), /** * <code>DOUBLE = 6;</code> */ DOUBLE(6, 6), /** * <code>BOOLEAN = 7;</code> */ BOOLEAN(7, 7), /** * <code>STRING = 8;</code> */ STRING(8, 8), /** * <code>CLASS = 9;</code> */ CLASS(9, 9), /** * <code>ENUM = 10;</code> */ ENUM(10, 10), /** * <code>ANNOTATION = 11;</code> */ ANNOTATION(11, 11), /** * <code>ARRAY = 12;</code> */ ARRAY(12, 12), ; /** * <code>BYTE = 0;</code> */ public static final int BYTE_VALUE = 0; /** * <code>CHAR = 1;</code> */ public static final int CHAR_VALUE = 1; /** * <code>SHORT = 2;</code> */ public static final int SHORT_VALUE = 2; /** * <code>INT = 3;</code> */ public static final int INT_VALUE = 3; /** * <code>LONG = 4;</code> */ public static final int LONG_VALUE = 4; /** * <code>FLOAT = 5;</code> */ public static final int FLOAT_VALUE = 5; /** * <code>DOUBLE = 6;</code> */ public static final int DOUBLE_VALUE = 6; /** * <code>BOOLEAN = 7;</code> */ public static final int BOOLEAN_VALUE = 7; /** * <code>STRING = 8;</code> */ public static final int STRING_VALUE = 8; /** * <code>CLASS = 9;</code> */ public static final int CLASS_VALUE = 9; /** * <code>ENUM = 10;</code> */ public static final int ENUM_VALUE = 10; /** * <code>ANNOTATION = 11;</code> */ public static final int ANNOTATION_VALUE = 11; /** * <code>ARRAY = 12;</code> */ 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<Type> internalGetValueMap() { return internalValueMap; } private static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<Type> internalValueMap = new org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<Type>() { 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.serialization.Annotation.Argument.Value.Type) } private int bitField0_; public static final int TYPE_FIELD_NUMBER = 1; private org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.Type type_; /** * <code>optional .org.jetbrains.kotlin.serialization.Annotation.Argument.Value.Type type = 1;</code> * * <pre> * 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 * </pre> */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional .org.jetbrains.kotlin.serialization.Annotation.Argument.Value.Type type = 1;</code> * * <pre> * 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 * </pre> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.Type getType() { return type_; } public static final int INT_VALUE_FIELD_NUMBER = 2; private long intValue_; /** * <code>optional sint64 int_value = 2;</code> */ public boolean hasIntValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional sint64 int_value = 2;</code> */ public long getIntValue() { return intValue_; } public static final int FLOAT_VALUE_FIELD_NUMBER = 3; private float floatValue_; /** * <code>optional float float_value = 3;</code> */ public boolean hasFloatValue() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional float float_value = 3;</code> */ public float getFloatValue() { return floatValue_; } public static final int DOUBLE_VALUE_FIELD_NUMBER = 4; private double doubleValue_; /** * <code>optional double double_value = 4;</code> */ public boolean hasDoubleValue() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional double double_value = 4;</code> */ public double getDoubleValue() { return doubleValue_; } public static final int STRING_VALUE_FIELD_NUMBER = 5; private int stringValue_; /** * <code>optional int32 string_value = 5;</code> */ public boolean hasStringValue() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional int32 string_value = 5;</code> */ public int getStringValue() { return stringValue_; } public static final int CLASS_ID_FIELD_NUMBER = 6; private int classId_; /** * <code>optional int32 class_id = 6;</code> * * <pre> * If type = CLASS, FQ name of the referenced class; if type = ENUM, FQ name of the enum class * </pre> */ public boolean hasClassId() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * <code>optional int32 class_id = 6;</code> * * <pre> * If type = CLASS, FQ name of the referenced class; if type = ENUM, FQ name of the enum class * </pre> */ public int getClassId() { return classId_; } public static final int ENUM_VALUE_ID_FIELD_NUMBER = 7; private int enumValueId_; /** * <code>optional int32 enum_value_id = 7;</code> */ public boolean hasEnumValueId() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * <code>optional int32 enum_value_id = 7;</code> */ public int getEnumValueId() { return enumValueId_; } public static final int ANNOTATION_FIELD_NUMBER = 8; private org.jetbrains.kotlin.serialization.ProtoBuf.Annotation annotation_; /** * <code>optional .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ public boolean hasAnnotation() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * <code>optional .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation getAnnotation() { return annotation_; } public static final int ARRAY_ELEMENT_FIELD_NUMBER = 9; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value> arrayElement_; /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value> getArrayElementList() { return arrayElement_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;</code> */ public java.util.List<? extends org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.ValueOrBuilder> getArrayElementOrBuilderList() { return arrayElement_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;</code> */ public int getArrayElementCount() { return arrayElement_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value getArrayElement(int index) { return arrayElement_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.ValueOrBuilder getArrayElementOrBuilder( int index) { return arrayElement_.get(index); } private void initFields() { type_ = org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.Type.BYTE; intValue_ = 0L; floatValue_ = 0F; doubleValue_ = 0D; stringValue_ = 0; classId_ = 0; enumValueId_ = 0; annotation_ = org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(); arrayElement_ = 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 (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)); } 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)); } 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.serialization.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.serialization.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.serialization.ProtoBuf.Annotation.Argument.Value parseFrom(byte[] data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Annotation.Argument.Value parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Annotation.Argument.Value parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Annotation.Argument.Value parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Annotation.Argument.Value prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.Annotation.Argument.Value} */ public static final class Builder extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder< org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value, Builder> implements // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.Annotation.Argument.Value) org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.ValueOrBuilder { // Construct using org.jetbrains.kotlin.serialization.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.serialization.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.serialization.ProtoBuf.Annotation.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000080); arrayElement_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value getDefaultInstanceForType() { return org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.getDefaultInstance(); } public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value build() { org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value buildPartial() { org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value result = new org.jetbrains.kotlin.serialization.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_; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value other) { if (other == org.jetbrains.kotlin.serialization.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_); } } 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.serialization.ProtoBuf.Annotation.Argument.Value parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.Type type_ = org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.Type.BYTE; /** * <code>optional .org.jetbrains.kotlin.serialization.Annotation.Argument.Value.Type type = 1;</code> * * <pre> * 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 * </pre> */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional .org.jetbrains.kotlin.serialization.Annotation.Argument.Value.Type type = 1;</code> * * <pre> * 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 * </pre> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.Type getType() { return type_; } /** * <code>optional .org.jetbrains.kotlin.serialization.Annotation.Argument.Value.Type type = 1;</code> * * <pre> * 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 * </pre> */ public Builder setType(org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.Type value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; type_ = value; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Annotation.Argument.Value.Type type = 1;</code> * * <pre> * 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 * </pre> */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.Type.BYTE; return this; } private long intValue_ ; /** * <code>optional sint64 int_value = 2;</code> */ public boolean hasIntValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional sint64 int_value = 2;</code> */ public long getIntValue() { return intValue_; } /** * <code>optional sint64 int_value = 2;</code> */ public Builder setIntValue(long value) { bitField0_ |= 0x00000002; intValue_ = value; return this; } /** * <code>optional sint64 int_value = 2;</code> */ public Builder clearIntValue() { bitField0_ = (bitField0_ & ~0x00000002); intValue_ = 0L; return this; } private float floatValue_ ; /** * <code>optional float float_value = 3;</code> */ public boolean hasFloatValue() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional float float_value = 3;</code> */ public float getFloatValue() { return floatValue_; } /** * <code>optional float float_value = 3;</code> */ public Builder setFloatValue(float value) { bitField0_ |= 0x00000004; floatValue_ = value; return this; } /** * <code>optional float float_value = 3;</code> */ public Builder clearFloatValue() { bitField0_ = (bitField0_ & ~0x00000004); floatValue_ = 0F; return this; } private double doubleValue_ ; /** * <code>optional double double_value = 4;</code> */ public boolean hasDoubleValue() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional double double_value = 4;</code> */ public double getDoubleValue() { return doubleValue_; } /** * <code>optional double double_value = 4;</code> */ public Builder setDoubleValue(double value) { bitField0_ |= 0x00000008; doubleValue_ = value; return this; } /** * <code>optional double double_value = 4;</code> */ public Builder clearDoubleValue() { bitField0_ = (bitField0_ & ~0x00000008); doubleValue_ = 0D; return this; } private int stringValue_ ; /** * <code>optional int32 string_value = 5;</code> */ public boolean hasStringValue() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional int32 string_value = 5;</code> */ public int getStringValue() { return stringValue_; } /** * <code>optional int32 string_value = 5;</code> */ public Builder setStringValue(int value) { bitField0_ |= 0x00000010; stringValue_ = value; return this; } /** * <code>optional int32 string_value = 5;</code> */ public Builder clearStringValue() { bitField0_ = (bitField0_ & ~0x00000010); stringValue_ = 0; return this; } private int classId_ ; /** * <code>optional int32 class_id = 6;</code> * * <pre> * If type = CLASS, FQ name of the referenced class; if type = ENUM, FQ name of the enum class * </pre> */ public boolean hasClassId() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * <code>optional int32 class_id = 6;</code> * * <pre> * If type = CLASS, FQ name of the referenced class; if type = ENUM, FQ name of the enum class * </pre> */ public int getClassId() { return classId_; } /** * <code>optional int32 class_id = 6;</code> * * <pre> * If type = CLASS, FQ name of the referenced class; if type = ENUM, FQ name of the enum class * </pre> */ public Builder setClassId(int value) { bitField0_ |= 0x00000020; classId_ = value; return this; } /** * <code>optional int32 class_id = 6;</code> * * <pre> * If type = CLASS, FQ name of the referenced class; if type = ENUM, FQ name of the enum class * </pre> */ public Builder clearClassId() { bitField0_ = (bitField0_ & ~0x00000020); classId_ = 0; return this; } private int enumValueId_ ; /** * <code>optional int32 enum_value_id = 7;</code> */ public boolean hasEnumValueId() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * <code>optional int32 enum_value_id = 7;</code> */ public int getEnumValueId() { return enumValueId_; } /** * <code>optional int32 enum_value_id = 7;</code> */ public Builder setEnumValueId(int value) { bitField0_ |= 0x00000040; enumValueId_ = value; return this; } /** * <code>optional int32 enum_value_id = 7;</code> */ public Builder clearEnumValueId() { bitField0_ = (bitField0_ & ~0x00000040); enumValueId_ = 0; return this; } private org.jetbrains.kotlin.serialization.ProtoBuf.Annotation annotation_ = org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(); /** * <code>optional .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ public boolean hasAnnotation() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * <code>optional .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation getAnnotation() { return annotation_; } /** * <code>optional .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ public Builder setAnnotation(org.jetbrains.kotlin.serialization.ProtoBuf.Annotation value) { if (value == null) { throw new NullPointerException(); } annotation_ = value; bitField0_ |= 0x00000080; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ public Builder setAnnotation( org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Builder builderForValue) { annotation_ = builderForValue.build(); bitField0_ |= 0x00000080; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ public Builder mergeAnnotation(org.jetbrains.kotlin.serialization.ProtoBuf.Annotation value) { if (((bitField0_ & 0x00000080) == 0x00000080) && annotation_ != org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance()) { annotation_ = org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.newBuilder(annotation_).mergeFrom(value).buildPartial(); } else { annotation_ = value; } bitField0_ |= 0x00000080; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ public Builder clearAnnotation() { annotation_ = org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000080); return this; } private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value> arrayElement_ = java.util.Collections.emptyList(); private void ensureArrayElementIsMutable() { if (!((bitField0_ & 0x00000100) == 0x00000100)) { arrayElement_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value>(arrayElement_); bitField0_ |= 0x00000100; } } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value> getArrayElementList() { return java.util.Collections.unmodifiableList(arrayElement_); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;</code> */ public int getArrayElementCount() { return arrayElement_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value getArrayElement(int index) { return arrayElement_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;</code> */ public Builder setArrayElement( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value value) { if (value == null) { throw new NullPointerException(); } ensureArrayElementIsMutable(); arrayElement_.set(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;</code> */ public Builder setArrayElement( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.Builder builderForValue) { ensureArrayElementIsMutable(); arrayElement_.set(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;</code> */ public Builder addArrayElement(org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value value) { if (value == null) { throw new NullPointerException(); } ensureArrayElementIsMutable(); arrayElement_.add(value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;</code> */ public Builder addArrayElement( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value value) { if (value == null) { throw new NullPointerException(); } ensureArrayElementIsMutable(); arrayElement_.add(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;</code> */ public Builder addArrayElement( org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.Builder builderForValue) { ensureArrayElementIsMutable(); arrayElement_.add(builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;</code> */ public Builder addArrayElement( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.Builder builderForValue) { ensureArrayElementIsMutable(); arrayElement_.add(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;</code> */ public Builder addAllArrayElement( java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value> values) { ensureArrayElementIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, arrayElement_); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;</code> */ public Builder clearArrayElement() { arrayElement_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;</code> */ public Builder removeArrayElement(int index) { ensureArrayElementIsMutable(); arrayElement_.remove(index); return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.Annotation.Argument.Value) } static { defaultInstance = new Value(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.Annotation.Argument.Value) } private int bitField0_; public static final int NAME_ID_FIELD_NUMBER = 1; private int nameId_; /** * <code>required int32 name_id = 1;</code> */ public boolean hasNameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>required int32 name_id = 1;</code> */ public int getNameId() { return nameId_; } public static final int VALUE_FIELD_NUMBER = 2; private org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value value_; /** * <code>required .org.jetbrains.kotlin.serialization.Annotation.Argument.Value value = 2;</code> */ public boolean hasValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>required .org.jetbrains.kotlin.serialization.Annotation.Argument.Value value = 2;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value getValue() { return value_; } private void initFields() { nameId_ = 0; value_ = org.jetbrains.kotlin.serialization.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.serialization.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.serialization.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.serialization.ProtoBuf.Annotation.Argument parseFrom(byte[] data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Annotation.Argument parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Annotation.Argument parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Annotation.Argument parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Annotation.Argument prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.Annotation.Argument} */ public static final class Builder extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder< org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument, Builder> implements // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.Annotation.Argument) org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.ArgumentOrBuilder { // Construct using org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Annotation.Argument.Value.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument getDefaultInstanceForType() { return org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.getDefaultInstance(); } public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument build() { org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument buildPartial() { org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument result = new org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Annotation.Argument other) { if (other == org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Annotation.Argument parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int nameId_ ; /** * <code>required int32 name_id = 1;</code> */ public boolean hasNameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>required int32 name_id = 1;</code> */ public int getNameId() { return nameId_; } /** * <code>required int32 name_id = 1;</code> */ public Builder setNameId(int value) { bitField0_ |= 0x00000001; nameId_ = value; return this; } /** * <code>required int32 name_id = 1;</code> */ public Builder clearNameId() { bitField0_ = (bitField0_ & ~0x00000001); nameId_ = 0; return this; } private org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value value_ = org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.getDefaultInstance(); /** * <code>required .org.jetbrains.kotlin.serialization.Annotation.Argument.Value value = 2;</code> */ public boolean hasValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>required .org.jetbrains.kotlin.serialization.Annotation.Argument.Value value = 2;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value getValue() { return value_; } /** * <code>required .org.jetbrains.kotlin.serialization.Annotation.Argument.Value value = 2;</code> */ public Builder setValue(org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value value) { if (value == null) { throw new NullPointerException(); } value_ = value; bitField0_ |= 0x00000002; return this; } /** * <code>required .org.jetbrains.kotlin.serialization.Annotation.Argument.Value value = 2;</code> */ public Builder setValue( org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.Builder builderForValue) { value_ = builderForValue.build(); bitField0_ |= 0x00000002; return this; } /** * <code>required .org.jetbrains.kotlin.serialization.Annotation.Argument.Value value = 2;</code> */ public Builder mergeValue(org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value value) { if (((bitField0_ & 0x00000002) == 0x00000002) && value_ != org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.getDefaultInstance()) { value_ = org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.newBuilder(value_).mergeFrom(value).buildPartial(); } else { value_ = value; } bitField0_ |= 0x00000002; return this; } /** * <code>required .org.jetbrains.kotlin.serialization.Annotation.Argument.Value value = 2;</code> */ public Builder clearValue() { value_ = org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000002); return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.Annotation.Argument) } static { defaultInstance = new Argument(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.Annotation.Argument) } private int bitField0_; public static final int ID_FIELD_NUMBER = 1; private int id_; /** * <code>required int32 id = 1;</code> */ public boolean hasId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>required int32 id = 1;</code> */ public int getId() { return id_; } public static final int ARGUMENT_FIELD_NUMBER = 2; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument> argument_; /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument> getArgumentList() { return argument_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;</code> */ public java.util.List<? extends org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.ArgumentOrBuilder> getArgumentOrBuilderList() { return argument_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;</code> */ public int getArgumentCount() { return argument_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument getArgument(int index) { return argument_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;</code> */ public org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Annotation parseFrom( org.jetbrains.kotlin.protobuf.ByteString data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Annotation parseFrom(byte[] data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Annotation parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Annotation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Annotation parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Annotation prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.Annotation} */ public static final class Builder extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder< org.jetbrains.kotlin.serialization.ProtoBuf.Annotation, Builder> implements // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.Annotation) org.jetbrains.kotlin.serialization.ProtoBuf.AnnotationOrBuilder { // Construct using org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Annotation getDefaultInstanceForType() { return org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance(); } public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation build() { org.jetbrains.kotlin.serialization.ProtoBuf.Annotation result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation buildPartial() { org.jetbrains.kotlin.serialization.ProtoBuf.Annotation result = new org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Annotation other) { if (other == org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Annotation parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.serialization.ProtoBuf.Annotation) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int id_ ; /** * <code>required int32 id = 1;</code> */ public boolean hasId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>required int32 id = 1;</code> */ public int getId() { return id_; } /** * <code>required int32 id = 1;</code> */ public Builder setId(int value) { bitField0_ |= 0x00000001; id_ = value; return this; } /** * <code>required int32 id = 1;</code> */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = 0; return this; } private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument> argument_ = java.util.Collections.emptyList(); private void ensureArgumentIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { argument_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument>(argument_); bitField0_ |= 0x00000002; } } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument> getArgumentList() { return java.util.Collections.unmodifiableList(argument_); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;</code> */ public int getArgumentCount() { return argument_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument getArgument(int index) { return argument_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;</code> */ public Builder setArgument( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument value) { if (value == null) { throw new NullPointerException(); } ensureArgumentIsMutable(); argument_.set(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;</code> */ public Builder setArgument( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Builder builderForValue) { ensureArgumentIsMutable(); argument_.set(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;</code> */ public Builder addArgument(org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument value) { if (value == null) { throw new NullPointerException(); } ensureArgumentIsMutable(); argument_.add(value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;</code> */ public Builder addArgument( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument value) { if (value == null) { throw new NullPointerException(); } ensureArgumentIsMutable(); argument_.add(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;</code> */ public Builder addArgument( org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Builder builderForValue) { ensureArgumentIsMutable(); argument_.add(builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;</code> */ public Builder addArgument( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Builder builderForValue) { ensureArgumentIsMutable(); argument_.add(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;</code> */ public Builder addAllArgument( java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument> values) { ensureArgumentIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, argument_); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;</code> */ public Builder clearArgument() { argument_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;</code> */ public Builder removeArgument(int index) { ensureArgumentIsMutable(); argument_.remove(index); return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.Annotation) } static { defaultInstance = new Annotation(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.Annotation) } public interface TypeOrBuilder extends // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.Type) org.jetbrains.kotlin.protobuf.GeneratedMessageLite. ExtendableMessageOrBuilder<Type> { /** * <code>repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;</code> */ java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument> getArgumentList(); /** * <code>repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument getArgument(int index); /** * <code>repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;</code> */ int getArgumentCount(); /** * <code>optional bool nullable = 3 [default = false];</code> */ boolean hasNullable(); /** * <code>optional bool nullable = 3 [default = false];</code> */ boolean getNullable(); /** * <code>optional int32 flexible_type_capabilities_id = 4;</code> * * <pre> * 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. * </pre> */ boolean hasFlexibleTypeCapabilitiesId(); /** * <code>optional int32 flexible_type_capabilities_id = 4;</code> * * <pre> * 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. * </pre> */ int getFlexibleTypeCapabilitiesId(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;</code> */ boolean hasFlexibleUpperBound(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Type getFlexibleUpperBound(); /** * <code>optional int32 flexible_upper_bound_id = 8;</code> */ boolean hasFlexibleUpperBoundId(); /** * <code>optional int32 flexible_upper_bound_id = 8;</code> */ int getFlexibleUpperBoundId(); /** * <code>optional int32 class_name = 6;</code> */ boolean hasClassName(); /** * <code>optional int32 class_name = 6;</code> */ int getClassName(); /** * <code>optional int32 type_parameter = 7;</code> * * <pre> * id of the type parameter * </pre> */ boolean hasTypeParameter(); /** * <code>optional int32 type_parameter = 7;</code> * * <pre> * id of the type parameter * </pre> */ int getTypeParameter(); /** * <code>optional int32 type_parameter_name = 9;</code> * * <pre> * Name of the type parameter in the immediate owner * </pre> */ boolean hasTypeParameterName(); /** * <code>optional int32 type_parameter_name = 9;</code> * * <pre> * Name of the type parameter in the immediate owner * </pre> */ int getTypeParameterName(); /** * <code>optional int32 type_alias_name = 12;</code> * * <pre> * Note that this may be present only for abbreviated_type * Top level types are always fully expanded * </pre> */ boolean hasTypeAliasName(); /** * <code>optional int32 type_alias_name = 12;</code> * * <pre> * Note that this may be present only for abbreviated_type * Top level types are always fully expanded * </pre> */ int getTypeAliasName(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type outer_type = 10;</code> */ boolean hasOuterType(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type outer_type = 10;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Type getOuterType(); /** * <code>optional int32 outer_type_id = 11;</code> */ boolean hasOuterTypeId(); /** * <code>optional int32 outer_type_id = 11;</code> */ int getOuterTypeId(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type abbreviated_type = 13;</code> */ boolean hasAbbreviatedType(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type abbreviated_type = 13;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Type getAbbreviatedType(); /** * <code>optional int32 abbreviated_type_id = 14;</code> */ boolean hasAbbreviatedTypeId(); /** * <code>optional int32 abbreviated_type_id = 14;</code> */ int getAbbreviatedTypeId(); /** * <code>optional int32 flags = 1;</code> * * <pre> *suspend * </pre> */ boolean hasFlags(); /** * <code>optional int32 flags = 1;</code> * * <pre> *suspend * </pre> */ int getFlags(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.Type} */ public static final class Type extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableMessage< Type> implements // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.Type) TypeOrBuilder { // Use Type.newBuilder() to construct. private Type(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder<org.jetbrains.kotlin.serialization.ProtoBuf.Type, ?> 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); 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<org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument>(); mutable_bitField0_ |= 0x00000001; } argument_.add(input.readMessage(org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Type.Builder subBuilder = null; if (((bitField0_ & 0x00000004) == 0x00000004)) { subBuilder = flexibleUpperBound_.toBuilder(); } flexibleUpperBound_ = input.readMessage(org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Type.Builder subBuilder = null; if (((bitField0_ & 0x00000100) == 0x00000100)) { subBuilder = outerType_.toBuilder(); } outerType_ = input.readMessage(org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Type.Builder subBuilder = null; if (((bitField0_ & 0x00000400) == 0x00000400)) { subBuilder = abbreviatedType_.toBuilder(); } abbreviatedType_ = input.readMessage(org.jetbrains.kotlin.serialization.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<Type> PARSER = new org.jetbrains.kotlin.protobuf.AbstractParser<Type>() { 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<Type> getParserForType() { return PARSER; } public interface ArgumentOrBuilder extends // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.Type.Argument) org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder { /** * <code>optional .org.jetbrains.kotlin.serialization.Type.Argument.Projection projection = 1 [default = INV];</code> */ boolean hasProjection(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type.Argument.Projection projection = 1 [default = INV];</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument.Projection getProjection(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * * <pre> * When projection is STAR, no type is written, otherwise type must be specified * </pre> */ boolean hasType(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * * <pre> * When projection is STAR, no type is written, otherwise type must be specified * </pre> */ org.jetbrains.kotlin.serialization.ProtoBuf.Type getType(); /** * <code>optional int32 type_id = 3;</code> */ boolean hasTypeId(); /** * <code>optional int32 type_id = 3;</code> */ int getTypeId(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.Type.Argument} */ public static final class Argument extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.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); 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.serialization.ProtoBuf.Type.Argument.Projection value = org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Type.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = type_.toBuilder(); } type_ = input.readMessage(org.jetbrains.kotlin.serialization.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<Argument> PARSER = new org.jetbrains.kotlin.protobuf.AbstractParser<Argument>() { 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<Argument> getParserForType() { return PARSER; } /** * Protobuf enum {@code org.jetbrains.kotlin.serialization.Type.Argument.Projection} */ public enum Projection implements org.jetbrains.kotlin.protobuf.Internal.EnumLite { /** * <code>IN = 0;</code> */ IN(0, 0), /** * <code>OUT = 1;</code> */ OUT(1, 1), /** * <code>INV = 2;</code> */ INV(2, 2), /** * <code>STAR = 3;</code> */ STAR(3, 3), ; /** * <code>IN = 0;</code> */ public static final int IN_VALUE = 0; /** * <code>OUT = 1;</code> */ public static final int OUT_VALUE = 1; /** * <code>INV = 2;</code> */ public static final int INV_VALUE = 2; /** * <code>STAR = 3;</code> */ 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<Projection> internalGetValueMap() { return internalValueMap; } private static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<Projection> internalValueMap = new org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<Projection>() { 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.serialization.Type.Argument.Projection) } private int bitField0_; public static final int PROJECTION_FIELD_NUMBER = 1; private org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument.Projection projection_; /** * <code>optional .org.jetbrains.kotlin.serialization.Type.Argument.Projection projection = 1 [default = INV];</code> */ public boolean hasProjection() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional .org.jetbrains.kotlin.serialization.Type.Argument.Projection projection = 1 [default = INV];</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument.Projection getProjection() { return projection_; } public static final int TYPE_FIELD_NUMBER = 2; private org.jetbrains.kotlin.serialization.ProtoBuf.Type type_; /** * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * * <pre> * When projection is STAR, no type is written, otherwise type must be specified * </pre> */ public boolean hasType() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * * <pre> * When projection is STAR, no type is written, otherwise type must be specified * </pre> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getType() { return type_; } public static final int TYPE_ID_FIELD_NUMBER = 3; private int typeId_; /** * <code>optional int32 type_id = 3;</code> */ public boolean hasTypeId() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional int32 type_id = 3;</code> */ public int getTypeId() { return typeId_; } private void initFields() { projection_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument.Projection.INV; type_ = org.jetbrains.kotlin.serialization.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.serialization.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.serialization.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.serialization.ProtoBuf.Type.Argument parseFrom(byte[] data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Type.Argument parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Type.Argument parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Type.Argument parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Type.Argument prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.Type.Argument} */ public static final class Builder extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder< org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument, Builder> implements // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.Type.Argument) org.jetbrains.kotlin.serialization.ProtoBuf.Type.ArgumentOrBuilder { // Construct using org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Type.Argument.Projection.INV; bitField0_ = (bitField0_ & ~0x00000001); type_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000002); typeId_ = 0; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument getDefaultInstanceForType() { return org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument.getDefaultInstance(); } public org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument build() { org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument buildPartial() { org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument result = new org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Type.Argument other) { if (other == org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Type.Argument parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument.Projection projection_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument.Projection.INV; /** * <code>optional .org.jetbrains.kotlin.serialization.Type.Argument.Projection projection = 1 [default = INV];</code> */ public boolean hasProjection() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional .org.jetbrains.kotlin.serialization.Type.Argument.Projection projection = 1 [default = INV];</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument.Projection getProjection() { return projection_; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type.Argument.Projection projection = 1 [default = INV];</code> */ public Builder setProjection(org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument.Projection value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; projection_ = value; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type.Argument.Projection projection = 1 [default = INV];</code> */ public Builder clearProjection() { bitField0_ = (bitField0_ & ~0x00000001); projection_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument.Projection.INV; return this; } private org.jetbrains.kotlin.serialization.ProtoBuf.Type type_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * * <pre> * When projection is STAR, no type is written, otherwise type must be specified * </pre> */ public boolean hasType() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * * <pre> * When projection is STAR, no type is written, otherwise type must be specified * </pre> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getType() { return type_; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * * <pre> * When projection is STAR, no type is written, otherwise type must be specified * </pre> */ public Builder setType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (value == null) { throw new NullPointerException(); } type_ = value; bitField0_ |= 0x00000002; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * * <pre> * When projection is STAR, no type is written, otherwise type must be specified * </pre> */ public Builder setType( org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) { type_ = builderForValue.build(); bitField0_ |= 0x00000002; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * * <pre> * When projection is STAR, no type is written, otherwise type must be specified * </pre> */ public Builder mergeType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (((bitField0_ & 0x00000002) == 0x00000002) && type_ != org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance()) { type_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.newBuilder(type_).mergeFrom(value).buildPartial(); } else { type_ = value; } bitField0_ |= 0x00000002; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type type = 2;</code> * * <pre> * When projection is STAR, no type is written, otherwise type must be specified * </pre> */ public Builder clearType() { type_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000002); return this; } private int typeId_ ; /** * <code>optional int32 type_id = 3;</code> */ public boolean hasTypeId() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional int32 type_id = 3;</code> */ public int getTypeId() { return typeId_; } /** * <code>optional int32 type_id = 3;</code> */ public Builder setTypeId(int value) { bitField0_ |= 0x00000004; typeId_ = value; return this; } /** * <code>optional int32 type_id = 3;</code> */ public Builder clearTypeId() { bitField0_ = (bitField0_ & ~0x00000004); typeId_ = 0; return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.Type.Argument) } static { defaultInstance = new Argument(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.Type.Argument) } private int bitField0_; public static final int ARGUMENT_FIELD_NUMBER = 2; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument> argument_; /** * <code>repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument> getArgumentList() { return argument_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;</code> */ public java.util.List<? extends org.jetbrains.kotlin.serialization.ProtoBuf.Type.ArgumentOrBuilder> getArgumentOrBuilderList() { return argument_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;</code> */ public int getArgumentCount() { return argument_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument getArgument(int index) { return argument_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type.ArgumentOrBuilder getArgumentOrBuilder( int index) { return argument_.get(index); } public static final int NULLABLE_FIELD_NUMBER = 3; private boolean nullable_; /** * <code>optional bool nullable = 3 [default = false];</code> */ public boolean hasNullable() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional bool nullable = 3 [default = false];</code> */ public boolean getNullable() { return nullable_; } public static final int FLEXIBLE_TYPE_CAPABILITIES_ID_FIELD_NUMBER = 4; private int flexibleTypeCapabilitiesId_; /** * <code>optional int32 flexible_type_capabilities_id = 4;</code> * * <pre> * 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. * </pre> */ public boolean hasFlexibleTypeCapabilitiesId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional int32 flexible_type_capabilities_id = 4;</code> * * <pre> * 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. * </pre> */ public int getFlexibleTypeCapabilitiesId() { return flexibleTypeCapabilitiesId_; } public static final int FLEXIBLE_UPPER_BOUND_FIELD_NUMBER = 5; private org.jetbrains.kotlin.serialization.ProtoBuf.Type flexibleUpperBound_; /** * <code>optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;</code> */ public boolean hasFlexibleUpperBound() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getFlexibleUpperBound() { return flexibleUpperBound_; } public static final int FLEXIBLE_UPPER_BOUND_ID_FIELD_NUMBER = 8; private int flexibleUpperBoundId_; /** * <code>optional int32 flexible_upper_bound_id = 8;</code> */ public boolean hasFlexibleUpperBoundId() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional int32 flexible_upper_bound_id = 8;</code> */ public int getFlexibleUpperBoundId() { return flexibleUpperBoundId_; } public static final int CLASS_NAME_FIELD_NUMBER = 6; private int className_; /** * <code>optional int32 class_name = 6;</code> */ public boolean hasClassName() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional int32 class_name = 6;</code> */ public int getClassName() { return className_; } public static final int TYPE_PARAMETER_FIELD_NUMBER = 7; private int typeParameter_; /** * <code>optional int32 type_parameter = 7;</code> * * <pre> * id of the type parameter * </pre> */ public boolean hasTypeParameter() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * <code>optional int32 type_parameter = 7;</code> * * <pre> * id of the type parameter * </pre> */ public int getTypeParameter() { return typeParameter_; } public static final int TYPE_PARAMETER_NAME_FIELD_NUMBER = 9; private int typeParameterName_; /** * <code>optional int32 type_parameter_name = 9;</code> * * <pre> * Name of the type parameter in the immediate owner * </pre> */ public boolean hasTypeParameterName() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * <code>optional int32 type_parameter_name = 9;</code> * * <pre> * Name of the type parameter in the immediate owner * </pre> */ public int getTypeParameterName() { return typeParameterName_; } public static final int TYPE_ALIAS_NAME_FIELD_NUMBER = 12; private int typeAliasName_; /** * <code>optional int32 type_alias_name = 12;</code> * * <pre> * Note that this may be present only for abbreviated_type * Top level types are always fully expanded * </pre> */ public boolean hasTypeAliasName() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * <code>optional int32 type_alias_name = 12;</code> * * <pre> * Note that this may be present only for abbreviated_type * Top level types are always fully expanded * </pre> */ public int getTypeAliasName() { return typeAliasName_; } public static final int OUTER_TYPE_FIELD_NUMBER = 10; private org.jetbrains.kotlin.serialization.ProtoBuf.Type outerType_; /** * <code>optional .org.jetbrains.kotlin.serialization.Type outer_type = 10;</code> */ public boolean hasOuterType() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * <code>optional .org.jetbrains.kotlin.serialization.Type outer_type = 10;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getOuterType() { return outerType_; } public static final int OUTER_TYPE_ID_FIELD_NUMBER = 11; private int outerTypeId_; /** * <code>optional int32 outer_type_id = 11;</code> */ public boolean hasOuterTypeId() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * <code>optional int32 outer_type_id = 11;</code> */ public int getOuterTypeId() { return outerTypeId_; } public static final int ABBREVIATED_TYPE_FIELD_NUMBER = 13; private org.jetbrains.kotlin.serialization.ProtoBuf.Type abbreviatedType_; /** * <code>optional .org.jetbrains.kotlin.serialization.Type abbreviated_type = 13;</code> */ public boolean hasAbbreviatedType() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * <code>optional .org.jetbrains.kotlin.serialization.Type abbreviated_type = 13;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getAbbreviatedType() { return abbreviatedType_; } public static final int ABBREVIATED_TYPE_ID_FIELD_NUMBER = 14; private int abbreviatedTypeId_; /** * <code>optional int32 abbreviated_type_id = 14;</code> */ public boolean hasAbbreviatedTypeId() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * <code>optional int32 abbreviated_type_id = 14;</code> */ public int getAbbreviatedTypeId() { return abbreviatedTypeId_; } public static final int FLAGS_FIELD_NUMBER = 1; private int flags_; /** * <code>optional int32 flags = 1;</code> * * <pre> *suspend * </pre> */ public boolean hasFlags() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** * <code>optional int32 flags = 1;</code> * * <pre> *suspend * </pre> */ public int getFlags() { return flags_; } private void initFields() { argument_ = java.util.Collections.emptyList(); nullable_ = false; flexibleTypeCapabilitiesId_ = 0; flexibleUpperBound_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); flexibleUpperBoundId_ = 0; className_ = 0; typeParameter_ = 0; typeParameterName_ = 0; typeAliasName_ = 0; outerType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); outerTypeId_ = 0; abbreviatedType_ = org.jetbrains.kotlin.serialization.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<org.jetbrains.kotlin.serialization.ProtoBuf.Type>.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.serialization.ProtoBuf.Type parseFrom( org.jetbrains.kotlin.protobuf.ByteString data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Type parseFrom(byte[] data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Type parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Type parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Type parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Type prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.Type} */ public static final class Builder extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder< org.jetbrains.kotlin.serialization.ProtoBuf.Type, Builder> implements // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.Type) org.jetbrains.kotlin.serialization.ProtoBuf.TypeOrBuilder { // Construct using org.jetbrains.kotlin.serialization.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.serialization.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.serialization.ProtoBuf.Type.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000200); outerTypeId_ = 0; bitField0_ = (bitField0_ & ~0x00000400); abbreviatedType_ = org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Type getDefaultInstanceForType() { return org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); } public org.jetbrains.kotlin.serialization.ProtoBuf.Type build() { org.jetbrains.kotlin.serialization.ProtoBuf.Type result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.serialization.ProtoBuf.Type buildPartial() { org.jetbrains.kotlin.serialization.ProtoBuf.Type result = new org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Type other) { if (other == org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Type parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.serialization.ProtoBuf.Type) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument> argument_ = java.util.Collections.emptyList(); private void ensureArgumentIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { argument_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument>(argument_); bitField0_ |= 0x00000001; } } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument> getArgumentList() { return java.util.Collections.unmodifiableList(argument_); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;</code> */ public int getArgumentCount() { return argument_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument getArgument(int index) { return argument_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;</code> */ public Builder setArgument( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument value) { if (value == null) { throw new NullPointerException(); } ensureArgumentIsMutable(); argument_.set(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;</code> */ public Builder setArgument( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument.Builder builderForValue) { ensureArgumentIsMutable(); argument_.set(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;</code> */ public Builder addArgument(org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument value) { if (value == null) { throw new NullPointerException(); } ensureArgumentIsMutable(); argument_.add(value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;</code> */ public Builder addArgument( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument value) { if (value == null) { throw new NullPointerException(); } ensureArgumentIsMutable(); argument_.add(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;</code> */ public Builder addArgument( org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument.Builder builderForValue) { ensureArgumentIsMutable(); argument_.add(builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;</code> */ public Builder addArgument( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument.Builder builderForValue) { ensureArgumentIsMutable(); argument_.add(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;</code> */ public Builder addAllArgument( java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument> values) { ensureArgumentIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, argument_); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;</code> */ public Builder clearArgument() { argument_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;</code> */ public Builder removeArgument(int index) { ensureArgumentIsMutable(); argument_.remove(index); return this; } private boolean nullable_ ; /** * <code>optional bool nullable = 3 [default = false];</code> */ public boolean hasNullable() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional bool nullable = 3 [default = false];</code> */ public boolean getNullable() { return nullable_; } /** * <code>optional bool nullable = 3 [default = false];</code> */ public Builder setNullable(boolean value) { bitField0_ |= 0x00000002; nullable_ = value; return this; } /** * <code>optional bool nullable = 3 [default = false];</code> */ public Builder clearNullable() { bitField0_ = (bitField0_ & ~0x00000002); nullable_ = false; return this; } private int flexibleTypeCapabilitiesId_ ; /** * <code>optional int32 flexible_type_capabilities_id = 4;</code> * * <pre> * 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. * </pre> */ public boolean hasFlexibleTypeCapabilitiesId() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional int32 flexible_type_capabilities_id = 4;</code> * * <pre> * 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. * </pre> */ public int getFlexibleTypeCapabilitiesId() { return flexibleTypeCapabilitiesId_; } /** * <code>optional int32 flexible_type_capabilities_id = 4;</code> * * <pre> * 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. * </pre> */ public Builder setFlexibleTypeCapabilitiesId(int value) { bitField0_ |= 0x00000004; flexibleTypeCapabilitiesId_ = value; return this; } /** * <code>optional int32 flexible_type_capabilities_id = 4;</code> * * <pre> * 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. * </pre> */ public Builder clearFlexibleTypeCapabilitiesId() { bitField0_ = (bitField0_ & ~0x00000004); flexibleTypeCapabilitiesId_ = 0; return this; } private org.jetbrains.kotlin.serialization.ProtoBuf.Type flexibleUpperBound_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;</code> */ public boolean hasFlexibleUpperBound() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getFlexibleUpperBound() { return flexibleUpperBound_; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;</code> */ public Builder setFlexibleUpperBound(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (value == null) { throw new NullPointerException(); } flexibleUpperBound_ = value; bitField0_ |= 0x00000008; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;</code> */ public Builder setFlexibleUpperBound( org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) { flexibleUpperBound_ = builderForValue.build(); bitField0_ |= 0x00000008; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;</code> */ public Builder mergeFlexibleUpperBound(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (((bitField0_ & 0x00000008) == 0x00000008) && flexibleUpperBound_ != org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance()) { flexibleUpperBound_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.newBuilder(flexibleUpperBound_).mergeFrom(value).buildPartial(); } else { flexibleUpperBound_ = value; } bitField0_ |= 0x00000008; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;</code> */ public Builder clearFlexibleUpperBound() { flexibleUpperBound_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000008); return this; } private int flexibleUpperBoundId_ ; /** * <code>optional int32 flexible_upper_bound_id = 8;</code> */ public boolean hasFlexibleUpperBoundId() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional int32 flexible_upper_bound_id = 8;</code> */ public int getFlexibleUpperBoundId() { return flexibleUpperBoundId_; } /** * <code>optional int32 flexible_upper_bound_id = 8;</code> */ public Builder setFlexibleUpperBoundId(int value) { bitField0_ |= 0x00000010; flexibleUpperBoundId_ = value; return this; } /** * <code>optional int32 flexible_upper_bound_id = 8;</code> */ public Builder clearFlexibleUpperBoundId() { bitField0_ = (bitField0_ & ~0x00000010); flexibleUpperBoundId_ = 0; return this; } private int className_ ; /** * <code>optional int32 class_name = 6;</code> */ public boolean hasClassName() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * <code>optional int32 class_name = 6;</code> */ public int getClassName() { return className_; } /** * <code>optional int32 class_name = 6;</code> */ public Builder setClassName(int value) { bitField0_ |= 0x00000020; className_ = value; return this; } /** * <code>optional int32 class_name = 6;</code> */ public Builder clearClassName() { bitField0_ = (bitField0_ & ~0x00000020); className_ = 0; return this; } private int typeParameter_ ; /** * <code>optional int32 type_parameter = 7;</code> * * <pre> * id of the type parameter * </pre> */ public boolean hasTypeParameter() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * <code>optional int32 type_parameter = 7;</code> * * <pre> * id of the type parameter * </pre> */ public int getTypeParameter() { return typeParameter_; } /** * <code>optional int32 type_parameter = 7;</code> * * <pre> * id of the type parameter * </pre> */ public Builder setTypeParameter(int value) { bitField0_ |= 0x00000040; typeParameter_ = value; return this; } /** * <code>optional int32 type_parameter = 7;</code> * * <pre> * id of the type parameter * </pre> */ public Builder clearTypeParameter() { bitField0_ = (bitField0_ & ~0x00000040); typeParameter_ = 0; return this; } private int typeParameterName_ ; /** * <code>optional int32 type_parameter_name = 9;</code> * * <pre> * Name of the type parameter in the immediate owner * </pre> */ public boolean hasTypeParameterName() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * <code>optional int32 type_parameter_name = 9;</code> * * <pre> * Name of the type parameter in the immediate owner * </pre> */ public int getTypeParameterName() { return typeParameterName_; } /** * <code>optional int32 type_parameter_name = 9;</code> * * <pre> * Name of the type parameter in the immediate owner * </pre> */ public Builder setTypeParameterName(int value) { bitField0_ |= 0x00000080; typeParameterName_ = value; return this; } /** * <code>optional int32 type_parameter_name = 9;</code> * * <pre> * Name of the type parameter in the immediate owner * </pre> */ public Builder clearTypeParameterName() { bitField0_ = (bitField0_ & ~0x00000080); typeParameterName_ = 0; return this; } private int typeAliasName_ ; /** * <code>optional int32 type_alias_name = 12;</code> * * <pre> * Note that this may be present only for abbreviated_type * Top level types are always fully expanded * </pre> */ public boolean hasTypeAliasName() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * <code>optional int32 type_alias_name = 12;</code> * * <pre> * Note that this may be present only for abbreviated_type * Top level types are always fully expanded * </pre> */ public int getTypeAliasName() { return typeAliasName_; } /** * <code>optional int32 type_alias_name = 12;</code> * * <pre> * Note that this may be present only for abbreviated_type * Top level types are always fully expanded * </pre> */ public Builder setTypeAliasName(int value) { bitField0_ |= 0x00000100; typeAliasName_ = value; return this; } /** * <code>optional int32 type_alias_name = 12;</code> * * <pre> * Note that this may be present only for abbreviated_type * Top level types are always fully expanded * </pre> */ public Builder clearTypeAliasName() { bitField0_ = (bitField0_ & ~0x00000100); typeAliasName_ = 0; return this; } private org.jetbrains.kotlin.serialization.ProtoBuf.Type outerType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type outer_type = 10;</code> */ public boolean hasOuterType() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * <code>optional .org.jetbrains.kotlin.serialization.Type outer_type = 10;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getOuterType() { return outerType_; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type outer_type = 10;</code> */ public Builder setOuterType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (value == null) { throw new NullPointerException(); } outerType_ = value; bitField0_ |= 0x00000200; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type outer_type = 10;</code> */ public Builder setOuterType( org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) { outerType_ = builderForValue.build(); bitField0_ |= 0x00000200; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type outer_type = 10;</code> */ public Builder mergeOuterType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (((bitField0_ & 0x00000200) == 0x00000200) && outerType_ != org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance()) { outerType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.newBuilder(outerType_).mergeFrom(value).buildPartial(); } else { outerType_ = value; } bitField0_ |= 0x00000200; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type outer_type = 10;</code> */ public Builder clearOuterType() { outerType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000200); return this; } private int outerTypeId_ ; /** * <code>optional int32 outer_type_id = 11;</code> */ public boolean hasOuterTypeId() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * <code>optional int32 outer_type_id = 11;</code> */ public int getOuterTypeId() { return outerTypeId_; } /** * <code>optional int32 outer_type_id = 11;</code> */ public Builder setOuterTypeId(int value) { bitField0_ |= 0x00000400; outerTypeId_ = value; return this; } /** * <code>optional int32 outer_type_id = 11;</code> */ public Builder clearOuterTypeId() { bitField0_ = (bitField0_ & ~0x00000400); outerTypeId_ = 0; return this; } private org.jetbrains.kotlin.serialization.ProtoBuf.Type abbreviatedType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type abbreviated_type = 13;</code> */ public boolean hasAbbreviatedType() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * <code>optional .org.jetbrains.kotlin.serialization.Type abbreviated_type = 13;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getAbbreviatedType() { return abbreviatedType_; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type abbreviated_type = 13;</code> */ public Builder setAbbreviatedType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (value == null) { throw new NullPointerException(); } abbreviatedType_ = value; bitField0_ |= 0x00000800; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type abbreviated_type = 13;</code> */ public Builder setAbbreviatedType( org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) { abbreviatedType_ = builderForValue.build(); bitField0_ |= 0x00000800; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type abbreviated_type = 13;</code> */ public Builder mergeAbbreviatedType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (((bitField0_ & 0x00000800) == 0x00000800) && abbreviatedType_ != org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance()) { abbreviatedType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.newBuilder(abbreviatedType_).mergeFrom(value).buildPartial(); } else { abbreviatedType_ = value; } bitField0_ |= 0x00000800; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type abbreviated_type = 13;</code> */ public Builder clearAbbreviatedType() { abbreviatedType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000800); return this; } private int abbreviatedTypeId_ ; /** * <code>optional int32 abbreviated_type_id = 14;</code> */ public boolean hasAbbreviatedTypeId() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** * <code>optional int32 abbreviated_type_id = 14;</code> */ public int getAbbreviatedTypeId() { return abbreviatedTypeId_; } /** * <code>optional int32 abbreviated_type_id = 14;</code> */ public Builder setAbbreviatedTypeId(int value) { bitField0_ |= 0x00001000; abbreviatedTypeId_ = value; return this; } /** * <code>optional int32 abbreviated_type_id = 14;</code> */ public Builder clearAbbreviatedTypeId() { bitField0_ = (bitField0_ & ~0x00001000); abbreviatedTypeId_ = 0; return this; } private int flags_ ; /** * <code>optional int32 flags = 1;</code> * * <pre> *suspend * </pre> */ public boolean hasFlags() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** * <code>optional int32 flags = 1;</code> * * <pre> *suspend * </pre> */ public int getFlags() { return flags_; } /** * <code>optional int32 flags = 1;</code> * * <pre> *suspend * </pre> */ public Builder setFlags(int value) { bitField0_ |= 0x00002000; flags_ = value; return this; } /** * <code>optional int32 flags = 1;</code> * * <pre> *suspend * </pre> */ public Builder clearFlags() { bitField0_ = (bitField0_ & ~0x00002000); flags_ = 0; return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.Type) } static { defaultInstance = new Type(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.Type) } public interface TypeParameterOrBuilder extends // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.TypeParameter) org.jetbrains.kotlin.protobuf.GeneratedMessageLite. ExtendableMessageOrBuilder<TypeParameter> { /** * <code>required int32 id = 1;</code> */ boolean hasId(); /** * <code>required int32 id = 1;</code> */ int getId(); /** * <code>required int32 name = 2;</code> */ boolean hasName(); /** * <code>required int32 name = 2;</code> */ int getName(); /** * <code>optional bool reified = 3 [default = false];</code> */ boolean hasReified(); /** * <code>optional bool reified = 3 [default = false];</code> */ boolean getReified(); /** * <code>optional .org.jetbrains.kotlin.serialization.TypeParameter.Variance variance = 4 [default = INV];</code> */ boolean hasVariance(); /** * <code>optional .org.jetbrains.kotlin.serialization.TypeParameter.Variance variance = 4 [default = INV];</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Variance getVariance(); /** * <code>repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;</code> */ java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Type> getUpperBoundList(); /** * <code>repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Type getUpperBound(int index); /** * <code>repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;</code> */ int getUpperBoundCount(); /** * <code>repeated int32 upper_bound_id = 6;</code> */ java.util.List<java.lang.Integer> getUpperBoundIdList(); /** * <code>repeated int32 upper_bound_id = 6;</code> */ int getUpperBoundIdCount(); /** * <code>repeated int32 upper_bound_id = 6;</code> */ int getUpperBoundId(int index); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.TypeParameter} */ public static final class TypeParameter extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableMessage< TypeParameter> implements // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.TypeParameter) TypeParameterOrBuilder { // Use TypeParameter.newBuilder() to construct. private TypeParameter(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter, ?> 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); 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.serialization.ProtoBuf.TypeParameter.Variance value = org.jetbrains.kotlin.serialization.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<org.jetbrains.kotlin.serialization.ProtoBuf.Type>(); mutable_bitField0_ |= 0x00000010; } upperBound_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Type.PARSER, extensionRegistry)); break; } case 48: { if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { upperBoundId_ = new java.util.ArrayList<java.lang.Integer>(); 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<java.lang.Integer>(); 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<TypeParameter> PARSER = new org.jetbrains.kotlin.protobuf.AbstractParser<TypeParameter>() { 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<TypeParameter> getParserForType() { return PARSER; } /** * Protobuf enum {@code org.jetbrains.kotlin.serialization.TypeParameter.Variance} */ public enum Variance implements org.jetbrains.kotlin.protobuf.Internal.EnumLite { /** * <code>IN = 0;</code> */ IN(0, 0), /** * <code>OUT = 1;</code> */ OUT(1, 1), /** * <code>INV = 2;</code> */ INV(2, 2), ; /** * <code>IN = 0;</code> */ public static final int IN_VALUE = 0; /** * <code>OUT = 1;</code> */ public static final int OUT_VALUE = 1; /** * <code>INV = 2;</code> */ 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<Variance> internalGetValueMap() { return internalValueMap; } private static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<Variance> internalValueMap = new org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<Variance>() { 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.serialization.TypeParameter.Variance) } private int bitField0_; public static final int ID_FIELD_NUMBER = 1; private int id_; /** * <code>required int32 id = 1;</code> */ public boolean hasId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>required int32 id = 1;</code> */ public int getId() { return id_; } public static final int NAME_FIELD_NUMBER = 2; private int name_; /** * <code>required int32 name = 2;</code> */ public boolean hasName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>required int32 name = 2;</code> */ public int getName() { return name_; } public static final int REIFIED_FIELD_NUMBER = 3; private boolean reified_; /** * <code>optional bool reified = 3 [default = false];</code> */ public boolean hasReified() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional bool reified = 3 [default = false];</code> */ public boolean getReified() { return reified_; } public static final int VARIANCE_FIELD_NUMBER = 4; private org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Variance variance_; /** * <code>optional .org.jetbrains.kotlin.serialization.TypeParameter.Variance variance = 4 [default = INV];</code> */ public boolean hasVariance() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional .org.jetbrains.kotlin.serialization.TypeParameter.Variance variance = 4 [default = INV];</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Variance getVariance() { return variance_; } public static final int UPPER_BOUND_FIELD_NUMBER = 5; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Type> upperBound_; /** * <code>repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Type> getUpperBoundList() { return upperBound_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;</code> */ public java.util.List<? extends org.jetbrains.kotlin.serialization.ProtoBuf.TypeOrBuilder> getUpperBoundOrBuilderList() { return upperBound_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;</code> */ public int getUpperBoundCount() { return upperBound_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getUpperBound(int index) { return upperBound_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeOrBuilder getUpperBoundOrBuilder( int index) { return upperBound_.get(index); } public static final int UPPER_BOUND_ID_FIELD_NUMBER = 6; private java.util.List<java.lang.Integer> upperBoundId_; /** * <code>repeated int32 upper_bound_id = 6;</code> */ public java.util.List<java.lang.Integer> getUpperBoundIdList() { return upperBoundId_; } /** * <code>repeated int32 upper_bound_id = 6;</code> */ public int getUpperBoundIdCount() { return upperBoundId_.size(); } /** * <code>repeated int32 upper_bound_id = 6;</code> */ public int getUpperBoundId(int index) { return upperBoundId_.get(index); } private void initFields() { id_ = 0; name_ = 0; reified_ = false; variance_ = org.jetbrains.kotlin.serialization.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<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter>.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)); } for (int i = 0; i < upperBoundId_.size(); i++) { output.writeInt32(6, 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; size += 1 * getUpperBoundIdList().size(); } 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.serialization.ProtoBuf.TypeParameter parseFrom( org.jetbrains.kotlin.protobuf.ByteString data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.TypeParameter parseFrom(byte[] data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.TypeParameter parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.TypeParameter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.TypeParameter parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.TypeParameter prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.TypeParameter} */ public static final class Builder extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder< org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter, Builder> implements // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.TypeParameter) org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameterOrBuilder { // Construct using org.jetbrains.kotlin.serialization.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.serialization.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.serialization.ProtoBuf.TypeParameter getDefaultInstanceForType() { return org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.getDefaultInstance(); } public org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter build() { org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter buildPartial() { org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter result = new org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.TypeParameter other) { if (other == org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.TypeParameter parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int id_ ; /** * <code>required int32 id = 1;</code> */ public boolean hasId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>required int32 id = 1;</code> */ public int getId() { return id_; } /** * <code>required int32 id = 1;</code> */ public Builder setId(int value) { bitField0_ |= 0x00000001; id_ = value; return this; } /** * <code>required int32 id = 1;</code> */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = 0; return this; } private int name_ ; /** * <code>required int32 name = 2;</code> */ public boolean hasName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>required int32 name = 2;</code> */ public int getName() { return name_; } /** * <code>required int32 name = 2;</code> */ public Builder setName(int value) { bitField0_ |= 0x00000002; name_ = value; return this; } /** * <code>required int32 name = 2;</code> */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = 0; return this; } private boolean reified_ ; /** * <code>optional bool reified = 3 [default = false];</code> */ public boolean hasReified() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional bool reified = 3 [default = false];</code> */ public boolean getReified() { return reified_; } /** * <code>optional bool reified = 3 [default = false];</code> */ public Builder setReified(boolean value) { bitField0_ |= 0x00000004; reified_ = value; return this; } /** * <code>optional bool reified = 3 [default = false];</code> */ public Builder clearReified() { bitField0_ = (bitField0_ & ~0x00000004); reified_ = false; return this; } private org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Variance variance_ = org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Variance.INV; /** * <code>optional .org.jetbrains.kotlin.serialization.TypeParameter.Variance variance = 4 [default = INV];</code> */ public boolean hasVariance() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional .org.jetbrains.kotlin.serialization.TypeParameter.Variance variance = 4 [default = INV];</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Variance getVariance() { return variance_; } /** * <code>optional .org.jetbrains.kotlin.serialization.TypeParameter.Variance variance = 4 [default = INV];</code> */ public Builder setVariance(org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Variance value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; variance_ = value; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.TypeParameter.Variance variance = 4 [default = INV];</code> */ public Builder clearVariance() { bitField0_ = (bitField0_ & ~0x00000008); variance_ = org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Variance.INV; return this; } private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Type> upperBound_ = java.util.Collections.emptyList(); private void ensureUpperBoundIsMutable() { if (!((bitField0_ & 0x00000010) == 0x00000010)) { upperBound_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.Type>(upperBound_); bitField0_ |= 0x00000010; } } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Type> getUpperBoundList() { return java.util.Collections.unmodifiableList(upperBound_); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;</code> */ public int getUpperBoundCount() { return upperBound_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getUpperBound(int index) { return upperBound_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;</code> */ public Builder setUpperBound( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (value == null) { throw new NullPointerException(); } ensureUpperBoundIsMutable(); upperBound_.set(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;</code> */ public Builder setUpperBound( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) { ensureUpperBoundIsMutable(); upperBound_.set(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;</code> */ public Builder addUpperBound(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (value == null) { throw new NullPointerException(); } ensureUpperBoundIsMutable(); upperBound_.add(value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;</code> */ public Builder addUpperBound( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (value == null) { throw new NullPointerException(); } ensureUpperBoundIsMutable(); upperBound_.add(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;</code> */ public Builder addUpperBound( org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) { ensureUpperBoundIsMutable(); upperBound_.add(builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;</code> */ public Builder addUpperBound( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) { ensureUpperBoundIsMutable(); upperBound_.add(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;</code> */ public Builder addAllUpperBound( java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.ProtoBuf.Type> values) { ensureUpperBoundIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, upperBound_); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;</code> */ public Builder clearUpperBound() { upperBound_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;</code> */ public Builder removeUpperBound(int index) { ensureUpperBoundIsMutable(); upperBound_.remove(index); return this; } private java.util.List<java.lang.Integer> upperBoundId_ = java.util.Collections.emptyList(); private void ensureUpperBoundIdIsMutable() { if (!((bitField0_ & 0x00000020) == 0x00000020)) { upperBoundId_ = new java.util.ArrayList<java.lang.Integer>(upperBoundId_); bitField0_ |= 0x00000020; } } /** * <code>repeated int32 upper_bound_id = 6;</code> */ public java.util.List<java.lang.Integer> getUpperBoundIdList() { return java.util.Collections.unmodifiableList(upperBoundId_); } /** * <code>repeated int32 upper_bound_id = 6;</code> */ public int getUpperBoundIdCount() { return upperBoundId_.size(); } /** * <code>repeated int32 upper_bound_id = 6;</code> */ public int getUpperBoundId(int index) { return upperBoundId_.get(index); } /** * <code>repeated int32 upper_bound_id = 6;</code> */ public Builder setUpperBoundId( int index, int value) { ensureUpperBoundIdIsMutable(); upperBoundId_.set(index, value); return this; } /** * <code>repeated int32 upper_bound_id = 6;</code> */ public Builder addUpperBoundId(int value) { ensureUpperBoundIdIsMutable(); upperBoundId_.add(value); return this; } /** * <code>repeated int32 upper_bound_id = 6;</code> */ public Builder addAllUpperBoundId( java.lang.Iterable<? extends java.lang.Integer> values) { ensureUpperBoundIdIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, upperBoundId_); return this; } /** * <code>repeated int32 upper_bound_id = 6;</code> */ public Builder clearUpperBoundId() { upperBoundId_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.TypeParameter) } static { defaultInstance = new TypeParameter(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.TypeParameter) } public interface ClassOrBuilder extends // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.Class) org.jetbrains.kotlin.protobuf.GeneratedMessageLite. ExtendableMessageOrBuilder<Class> { /** * <code>optional int32 flags = 1 [default = 6];</code> * * <pre> *hasAnnotations *Visibility *Modality *ClassKind *isInner *isData *isHeader * </pre> */ boolean hasFlags(); /** * <code>optional int32 flags = 1 [default = 6];</code> * * <pre> *hasAnnotations *Visibility *Modality *ClassKind *isInner *isData *isHeader * </pre> */ int getFlags(); /** * <code>required int32 fq_name = 3;</code> */ boolean hasFqName(); /** * <code>required int32 fq_name = 3;</code> */ int getFqName(); /** * <code>optional int32 companion_object_name = 4;</code> */ boolean hasCompanionObjectName(); /** * <code>optional int32 companion_object_name = 4;</code> */ int getCompanionObjectName(); /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;</code> */ java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter> getTypeParameterList(); /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter getTypeParameter(int index); /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;</code> */ int getTypeParameterCount(); /** * <code>repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;</code> */ java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Type> getSupertypeList(); /** * <code>repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Type getSupertype(int index); /** * <code>repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;</code> */ int getSupertypeCount(); /** * <code>repeated int32 supertype_id = 2 [packed = true];</code> */ java.util.List<java.lang.Integer> getSupertypeIdList(); /** * <code>repeated int32 supertype_id = 2 [packed = true];</code> */ int getSupertypeIdCount(); /** * <code>repeated int32 supertype_id = 2 [packed = true];</code> */ int getSupertypeId(int index); /** * <code>repeated int32 nested_class_name = 7 [packed = true];</code> */ java.util.List<java.lang.Integer> getNestedClassNameList(); /** * <code>repeated int32 nested_class_name = 7 [packed = true];</code> */ int getNestedClassNameCount(); /** * <code>repeated int32 nested_class_name = 7 [packed = true];</code> */ int getNestedClassName(int index); /** * <code>repeated .org.jetbrains.kotlin.serialization.Constructor constructor = 8;</code> */ java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Constructor> getConstructorList(); /** * <code>repeated .org.jetbrains.kotlin.serialization.Constructor constructor = 8;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Constructor getConstructor(int index); /** * <code>repeated .org.jetbrains.kotlin.serialization.Constructor constructor = 8;</code> */ int getConstructorCount(); /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 9;</code> */ java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Function> getFunctionList(); /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 9;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Function getFunction(int index); /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 9;</code> */ int getFunctionCount(); /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 10;</code> */ java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Property> getPropertyList(); /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 10;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Property getProperty(int index); /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 10;</code> */ int getPropertyCount(); /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 11;</code> */ java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias> getTypeAliasList(); /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 11;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias getTypeAlias(int index); /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 11;</code> */ int getTypeAliasCount(); /** * <code>repeated .org.jetbrains.kotlin.serialization.EnumEntry enum_entry = 13;</code> */ java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry> getEnumEntryList(); /** * <code>repeated .org.jetbrains.kotlin.serialization.EnumEntry enum_entry = 13;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry getEnumEntry(int index); /** * <code>repeated .org.jetbrains.kotlin.serialization.EnumEntry enum_entry = 13;</code> */ int getEnumEntryCount(); /** * <code>repeated int32 sealed_subclass_fq_name = 16 [packed = true];</code> */ java.util.List<java.lang.Integer> getSealedSubclassFqNameList(); /** * <code>repeated int32 sealed_subclass_fq_name = 16 [packed = true];</code> */ int getSealedSubclassFqNameCount(); /** * <code>repeated int32 sealed_subclass_fq_name = 16 [packed = true];</code> */ int getSealedSubclassFqName(int index); /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ boolean hasTypeTable(); /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable getTypeTable(); /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ boolean hasSinceKotlinInfo(); /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ int getSinceKotlinInfo(); /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;</code> */ boolean hasSinceKotlinInfoTable(); /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable getSinceKotlinInfoTable(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.Class} */ public static final class Class extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableMessage< Class> implements // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.Class) ClassOrBuilder { // Use Class.newBuilder() to construct. private Class(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder<org.jetbrains.kotlin.serialization.ProtoBuf.Class, ?> 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); 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<java.lang.Integer>(); 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<java.lang.Integer>(); 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<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter>(); mutable_bitField0_ |= 0x00000008; } typeParameter_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.PARSER, extensionRegistry)); break; } case 50: { if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { supertype_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.Type>(); mutable_bitField0_ |= 0x00000010; } supertype_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Type.PARSER, extensionRegistry)); break; } case 56: { if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { nestedClassName_ = new java.util.ArrayList<java.lang.Integer>(); 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<java.lang.Integer>(); mutable_bitField0_ |= 0x00000040; } while (input.getBytesUntilLimit() > 0) { nestedClassName_.add(input.readInt32()); } input.popLimit(limit); break; } case 66: { if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) { constructor_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.Constructor>(); mutable_bitField0_ |= 0x00000080; } constructor_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Constructor.PARSER, extensionRegistry)); break; } case 74: { if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) { function_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.Function>(); mutable_bitField0_ |= 0x00000100; } function_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Function.PARSER, extensionRegistry)); break; } case 82: { if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) { property_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.Property>(); mutable_bitField0_ |= 0x00000200; } property_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Property.PARSER, extensionRegistry)); break; } case 90: { if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) { typeAlias_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias>(); mutable_bitField0_ |= 0x00000400; } typeAlias_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias.PARSER, extensionRegistry)); break; } case 106: { if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) { enumEntry_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry>(); mutable_bitField0_ |= 0x00000800; } enumEntry_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry.PARSER, extensionRegistry)); break; } case 128: { if (!((mutable_bitField0_ & 0x00001000) == 0x00001000)) { sealedSubclassFqName_ = new java.util.ArrayList<java.lang.Integer>(); mutable_bitField0_ |= 0x00001000; } sealedSubclassFqName_.add(input.readInt32()); break; } case 130: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00001000) == 0x00001000) && input.getBytesUntilLimit() > 0) { sealedSubclassFqName_ = new java.util.ArrayList<java.lang.Integer>(); mutable_bitField0_ |= 0x00001000; } while (input.getBytesUntilLimit() > 0) { sealedSubclassFqName_.add(input.readInt32()); } input.popLimit(limit); break; } case 242: { org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.Builder subBuilder = null; if (((bitField0_ & 0x00000008) == 0x00000008)) { subBuilder = typeTable_.toBuilder(); } typeTable_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(typeTable_); typeTable_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 248: { bitField0_ |= 0x00000010; sinceKotlinInfo_ = input.readInt32(); break; } case 258: { org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.Builder subBuilder = null; if (((bitField0_ & 0x00000020) == 0x00000020)) { subBuilder = sinceKotlinInfoTable_.toBuilder(); } sinceKotlinInfoTable_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(sinceKotlinInfoTable_); sinceKotlinInfoTable_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000020; 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_ & 0x00000080) == 0x00000080)) { constructor_ = java.util.Collections.unmodifiableList(constructor_); } if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) { function_ = java.util.Collections.unmodifiableList(function_); } if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) { property_ = java.util.Collections.unmodifiableList(property_); } if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) { typeAlias_ = java.util.Collections.unmodifiableList(typeAlias_); } if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) { enumEntry_ = java.util.Collections.unmodifiableList(enumEntry_); } if (((mutable_bitField0_ & 0x00001000) == 0x00001000)) { sealedSubclassFqName_ = java.util.Collections.unmodifiableList(sealedSubclassFqName_); } try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static org.jetbrains.kotlin.protobuf.Parser<Class> PARSER = new org.jetbrains.kotlin.protobuf.AbstractParser<Class>() { 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<Class> getParserForType() { return PARSER; } /** * Protobuf enum {@code org.jetbrains.kotlin.serialization.Class.Kind} */ public enum Kind implements org.jetbrains.kotlin.protobuf.Internal.EnumLite { /** * <code>CLASS = 0;</code> * * <pre> * 3 bits * </pre> */ CLASS(0, 0), /** * <code>INTERFACE = 1;</code> */ INTERFACE(1, 1), /** * <code>ENUM_CLASS = 2;</code> */ ENUM_CLASS(2, 2), /** * <code>ENUM_ENTRY = 3;</code> */ ENUM_ENTRY(3, 3), /** * <code>ANNOTATION_CLASS = 4;</code> */ ANNOTATION_CLASS(4, 4), /** * <code>OBJECT = 5;</code> */ OBJECT(5, 5), /** * <code>COMPANION_OBJECT = 6;</code> */ COMPANION_OBJECT(6, 6), ; /** * <code>CLASS = 0;</code> * * <pre> * 3 bits * </pre> */ public static final int CLASS_VALUE = 0; /** * <code>INTERFACE = 1;</code> */ public static final int INTERFACE_VALUE = 1; /** * <code>ENUM_CLASS = 2;</code> */ public static final int ENUM_CLASS_VALUE = 2; /** * <code>ENUM_ENTRY = 3;</code> */ public static final int ENUM_ENTRY_VALUE = 3; /** * <code>ANNOTATION_CLASS = 4;</code> */ public static final int ANNOTATION_CLASS_VALUE = 4; /** * <code>OBJECT = 5;</code> */ public static final int OBJECT_VALUE = 5; /** * <code>COMPANION_OBJECT = 6;</code> */ 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<Kind> internalGetValueMap() { return internalValueMap; } private static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<Kind> internalValueMap = new org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<Kind>() { public Kind findValueByNumber(int number) { return Kind.valueOf(number); } }; private final int value; private Kind(int index, int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:org.jetbrains.kotlin.serialization.Class.Kind) } private int bitField0_; public static final int FLAGS_FIELD_NUMBER = 1; private int flags_; /** * <code>optional int32 flags = 1 [default = 6];</code> * * <pre> *hasAnnotations *Visibility *Modality *ClassKind *isInner *isData *isHeader * </pre> */ public boolean hasFlags() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 flags = 1 [default = 6];</code> * * <pre> *hasAnnotations *Visibility *Modality *ClassKind *isInner *isData *isHeader * </pre> */ public int getFlags() { return flags_; } public static final int FQ_NAME_FIELD_NUMBER = 3; private int fqName_; /** * <code>required int32 fq_name = 3;</code> */ public boolean hasFqName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>required int32 fq_name = 3;</code> */ public int getFqName() { return fqName_; } public static final int COMPANION_OBJECT_NAME_FIELD_NUMBER = 4; private int companionObjectName_; /** * <code>optional int32 companion_object_name = 4;</code> */ public boolean hasCompanionObjectName() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional int32 companion_object_name = 4;</code> */ public int getCompanionObjectName() { return companionObjectName_; } public static final int TYPE_PARAMETER_FIELD_NUMBER = 5; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter> typeParameter_; /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter> getTypeParameterList() { return typeParameter_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;</code> */ public java.util.List<? extends org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameterOrBuilder> getTypeParameterOrBuilderList() { return typeParameter_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;</code> */ public int getTypeParameterCount() { return typeParameter_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter getTypeParameter(int index) { return typeParameter_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameterOrBuilder getTypeParameterOrBuilder( int index) { return typeParameter_.get(index); } public static final int SUPERTYPE_FIELD_NUMBER = 6; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Type> supertype_; /** * <code>repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Type> getSupertypeList() { return supertype_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;</code> */ public java.util.List<? extends org.jetbrains.kotlin.serialization.ProtoBuf.TypeOrBuilder> getSupertypeOrBuilderList() { return supertype_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;</code> */ public int getSupertypeCount() { return supertype_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getSupertype(int index) { return supertype_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeOrBuilder getSupertypeOrBuilder( int index) { return supertype_.get(index); } public static final int SUPERTYPE_ID_FIELD_NUMBER = 2; private java.util.List<java.lang.Integer> supertypeId_; /** * <code>repeated int32 supertype_id = 2 [packed = true];</code> */ public java.util.List<java.lang.Integer> getSupertypeIdList() { return supertypeId_; } /** * <code>repeated int32 supertype_id = 2 [packed = true];</code> */ public int getSupertypeIdCount() { return supertypeId_.size(); } /** * <code>repeated int32 supertype_id = 2 [packed = true];</code> */ 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<java.lang.Integer> nestedClassName_; /** * <code>repeated int32 nested_class_name = 7 [packed = true];</code> */ public java.util.List<java.lang.Integer> getNestedClassNameList() { return nestedClassName_; } /** * <code>repeated int32 nested_class_name = 7 [packed = true];</code> */ public int getNestedClassNameCount() { return nestedClassName_.size(); } /** * <code>repeated int32 nested_class_name = 7 [packed = true];</code> */ public int getNestedClassName(int index) { return nestedClassName_.get(index); } private int nestedClassNameMemoizedSerializedSize = -1; public static final int CONSTRUCTOR_FIELD_NUMBER = 8; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Constructor> constructor_; /** * <code>repeated .org.jetbrains.kotlin.serialization.Constructor constructor = 8;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Constructor> getConstructorList() { return constructor_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Constructor constructor = 8;</code> */ public java.util.List<? extends org.jetbrains.kotlin.serialization.ProtoBuf.ConstructorOrBuilder> getConstructorOrBuilderList() { return constructor_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Constructor constructor = 8;</code> */ public int getConstructorCount() { return constructor_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Constructor constructor = 8;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Constructor getConstructor(int index) { return constructor_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Constructor constructor = 8;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.ConstructorOrBuilder getConstructorOrBuilder( int index) { return constructor_.get(index); } public static final int FUNCTION_FIELD_NUMBER = 9; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Function> function_; /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 9;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Function> getFunctionList() { return function_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 9;</code> */ public java.util.List<? extends org.jetbrains.kotlin.serialization.ProtoBuf.FunctionOrBuilder> getFunctionOrBuilderList() { return function_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 9;</code> */ public int getFunctionCount() { return function_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 9;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Function getFunction(int index) { return function_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 9;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.FunctionOrBuilder getFunctionOrBuilder( int index) { return function_.get(index); } public static final int PROPERTY_FIELD_NUMBER = 10; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Property> property_; /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 10;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Property> getPropertyList() { return property_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 10;</code> */ public java.util.List<? extends org.jetbrains.kotlin.serialization.ProtoBuf.PropertyOrBuilder> getPropertyOrBuilderList() { return property_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 10;</code> */ public int getPropertyCount() { return property_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 10;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Property getProperty(int index) { return property_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 10;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.PropertyOrBuilder getPropertyOrBuilder( int index) { return property_.get(index); } public static final int TYPE_ALIAS_FIELD_NUMBER = 11; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias> typeAlias_; /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 11;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias> getTypeAliasList() { return typeAlias_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 11;</code> */ public java.util.List<? extends org.jetbrains.kotlin.serialization.ProtoBuf.TypeAliasOrBuilder> getTypeAliasOrBuilderList() { return typeAlias_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 11;</code> */ public int getTypeAliasCount() { return typeAlias_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 11;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias getTypeAlias(int index) { return typeAlias_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 11;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeAliasOrBuilder getTypeAliasOrBuilder( int index) { return typeAlias_.get(index); } public static final int ENUM_ENTRY_FIELD_NUMBER = 13; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry> enumEntry_; /** * <code>repeated .org.jetbrains.kotlin.serialization.EnumEntry enum_entry = 13;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry> getEnumEntryList() { return enumEntry_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.EnumEntry enum_entry = 13;</code> */ public java.util.List<? extends org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntryOrBuilder> getEnumEntryOrBuilderList() { return enumEntry_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.EnumEntry enum_entry = 13;</code> */ public int getEnumEntryCount() { return enumEntry_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.EnumEntry enum_entry = 13;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry getEnumEntry(int index) { return enumEntry_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.EnumEntry enum_entry = 13;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntryOrBuilder getEnumEntryOrBuilder( int index) { return enumEntry_.get(index); } public static final int SEALED_SUBCLASS_FQ_NAME_FIELD_NUMBER = 16; private java.util.List<java.lang.Integer> sealedSubclassFqName_; /** * <code>repeated int32 sealed_subclass_fq_name = 16 [packed = true];</code> */ public java.util.List<java.lang.Integer> getSealedSubclassFqNameList() { return sealedSubclassFqName_; } /** * <code>repeated int32 sealed_subclass_fq_name = 16 [packed = true];</code> */ public int getSealedSubclassFqNameCount() { return sealedSubclassFqName_.size(); } /** * <code>repeated int32 sealed_subclass_fq_name = 16 [packed = true];</code> */ public int getSealedSubclassFqName(int index) { return sealedSubclassFqName_.get(index); } private int sealedSubclassFqNameMemoizedSerializedSize = -1; public static final int TYPE_TABLE_FIELD_NUMBER = 30; private org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable typeTable_; /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ public boolean hasTypeTable() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable getTypeTable() { return typeTable_; } public static final int SINCEKOTLININFO_FIELD_NUMBER = 31; private int sinceKotlinInfo_; /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public boolean hasSinceKotlinInfo() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public int getSinceKotlinInfo() { return sinceKotlinInfo_; } public static final int SINCE_KOTLIN_INFO_TABLE_FIELD_NUMBER = 32; private org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable sinceKotlinInfoTable_; /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;</code> */ public boolean hasSinceKotlinInfoTable() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable getSinceKotlinInfoTable() { return sinceKotlinInfoTable_; } 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(); 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(); typeTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.getDefaultInstance(); sinceKotlinInfo_ = 0; sinceKotlinInfoTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.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 < 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 (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<org.jetbrains.kotlin.serialization.ProtoBuf.Class>.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.writeMessage(30, typeTable_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeInt32(31, sinceKotlinInfo_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeMessage(32, sinceKotlinInfoTable_); } 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_ & 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 .computeMessageSize(30, typeTable_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(31, sinceKotlinInfo_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(32, sinceKotlinInfoTable_); } 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.serialization.ProtoBuf.Class parseFrom( org.jetbrains.kotlin.protobuf.ByteString data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Class parseFrom(byte[] data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Class parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Class parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Class parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Class prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.Class} */ public static final class Builder extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder< org.jetbrains.kotlin.serialization.ProtoBuf.Class, Builder> implements // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.Class) org.jetbrains.kotlin.serialization.ProtoBuf.ClassOrBuilder { // Construct using org.jetbrains.kotlin.serialization.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); constructor_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); function_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); property_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); typeAlias_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000400); enumEntry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000800); sealedSubclassFqName_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00001000); typeTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00002000); sinceKotlinInfo_ = 0; bitField0_ = (bitField0_ & ~0x00004000); sinceKotlinInfoTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00008000); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public org.jetbrains.kotlin.serialization.ProtoBuf.Class getDefaultInstanceForType() { return org.jetbrains.kotlin.serialization.ProtoBuf.Class.getDefaultInstance(); } public org.jetbrains.kotlin.serialization.ProtoBuf.Class build() { org.jetbrains.kotlin.serialization.ProtoBuf.Class result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.serialization.ProtoBuf.Class buildPartial() { org.jetbrains.kotlin.serialization.ProtoBuf.Class result = new org.jetbrains.kotlin.serialization.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)) { constructor_ = java.util.Collections.unmodifiableList(constructor_); bitField0_ = (bitField0_ & ~0x00000080); } result.constructor_ = constructor_; if (((bitField0_ & 0x00000100) == 0x00000100)) { function_ = java.util.Collections.unmodifiableList(function_); bitField0_ = (bitField0_ & ~0x00000100); } result.function_ = function_; if (((bitField0_ & 0x00000200) == 0x00000200)) { property_ = java.util.Collections.unmodifiableList(property_); bitField0_ = (bitField0_ & ~0x00000200); } result.property_ = property_; if (((bitField0_ & 0x00000400) == 0x00000400)) { typeAlias_ = java.util.Collections.unmodifiableList(typeAlias_); bitField0_ = (bitField0_ & ~0x00000400); } result.typeAlias_ = typeAlias_; if (((bitField0_ & 0x00000800) == 0x00000800)) { enumEntry_ = java.util.Collections.unmodifiableList(enumEntry_); bitField0_ = (bitField0_ & ~0x00000800); } result.enumEntry_ = enumEntry_; if (((bitField0_ & 0x00001000) == 0x00001000)) { sealedSubclassFqName_ = java.util.Collections.unmodifiableList(sealedSubclassFqName_); bitField0_ = (bitField0_ & ~0x00001000); } result.sealedSubclassFqName_ = sealedSubclassFqName_; if (((from_bitField0_ & 0x00002000) == 0x00002000)) { to_bitField0_ |= 0x00000008; } result.typeTable_ = typeTable_; if (((from_bitField0_ & 0x00004000) == 0x00004000)) { to_bitField0_ |= 0x00000010; } result.sinceKotlinInfo_ = sinceKotlinInfo_; if (((from_bitField0_ & 0x00008000) == 0x00008000)) { to_bitField0_ |= 0x00000020; } result.sinceKotlinInfoTable_ = sinceKotlinInfoTable_; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(org.jetbrains.kotlin.serialization.ProtoBuf.Class other) { if (other == org.jetbrains.kotlin.serialization.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.constructor_.isEmpty()) { if (constructor_.isEmpty()) { constructor_ = other.constructor_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensureConstructorIsMutable(); constructor_.addAll(other.constructor_); } } if (!other.function_.isEmpty()) { if (function_.isEmpty()) { function_ = other.function_; bitField0_ = (bitField0_ & ~0x00000100); } else { ensureFunctionIsMutable(); function_.addAll(other.function_); } } if (!other.property_.isEmpty()) { if (property_.isEmpty()) { property_ = other.property_; bitField0_ = (bitField0_ & ~0x00000200); } else { ensurePropertyIsMutable(); property_.addAll(other.property_); } } if (!other.typeAlias_.isEmpty()) { if (typeAlias_.isEmpty()) { typeAlias_ = other.typeAlias_; bitField0_ = (bitField0_ & ~0x00000400); } else { ensureTypeAliasIsMutable(); typeAlias_.addAll(other.typeAlias_); } } if (!other.enumEntry_.isEmpty()) { if (enumEntry_.isEmpty()) { enumEntry_ = other.enumEntry_; bitField0_ = (bitField0_ & ~0x00000800); } else { ensureEnumEntryIsMutable(); enumEntry_.addAll(other.enumEntry_); } } if (!other.sealedSubclassFqName_.isEmpty()) { if (sealedSubclassFqName_.isEmpty()) { sealedSubclassFqName_ = other.sealedSubclassFqName_; bitField0_ = (bitField0_ & ~0x00001000); } else { ensureSealedSubclassFqNameIsMutable(); sealedSubclassFqName_.addAll(other.sealedSubclassFqName_); } } if (other.hasTypeTable()) { mergeTypeTable(other.getTypeTable()); } if (other.hasSinceKotlinInfo()) { setSinceKotlinInfo(other.getSinceKotlinInfo()); } if (other.hasSinceKotlinInfoTable()) { mergeSinceKotlinInfoTable(other.getSinceKotlinInfoTable()); } 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 < 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 (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.serialization.ProtoBuf.Class parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.serialization.ProtoBuf.Class) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int flags_ = 6; /** * <code>optional int32 flags = 1 [default = 6];</code> * * <pre> *hasAnnotations *Visibility *Modality *ClassKind *isInner *isData *isHeader * </pre> */ public boolean hasFlags() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 flags = 1 [default = 6];</code> * * <pre> *hasAnnotations *Visibility *Modality *ClassKind *isInner *isData *isHeader * </pre> */ public int getFlags() { return flags_; } /** * <code>optional int32 flags = 1 [default = 6];</code> * * <pre> *hasAnnotations *Visibility *Modality *ClassKind *isInner *isData *isHeader * </pre> */ public Builder setFlags(int value) { bitField0_ |= 0x00000001; flags_ = value; return this; } /** * <code>optional int32 flags = 1 [default = 6];</code> * * <pre> *hasAnnotations *Visibility *Modality *ClassKind *isInner *isData *isHeader * </pre> */ public Builder clearFlags() { bitField0_ = (bitField0_ & ~0x00000001); flags_ = 6; return this; } private int fqName_ ; /** * <code>required int32 fq_name = 3;</code> */ public boolean hasFqName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>required int32 fq_name = 3;</code> */ public int getFqName() { return fqName_; } /** * <code>required int32 fq_name = 3;</code> */ public Builder setFqName(int value) { bitField0_ |= 0x00000002; fqName_ = value; return this; } /** * <code>required int32 fq_name = 3;</code> */ public Builder clearFqName() { bitField0_ = (bitField0_ & ~0x00000002); fqName_ = 0; return this; } private int companionObjectName_ ; /** * <code>optional int32 companion_object_name = 4;</code> */ public boolean hasCompanionObjectName() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional int32 companion_object_name = 4;</code> */ public int getCompanionObjectName() { return companionObjectName_; } /** * <code>optional int32 companion_object_name = 4;</code> */ public Builder setCompanionObjectName(int value) { bitField0_ |= 0x00000004; companionObjectName_ = value; return this; } /** * <code>optional int32 companion_object_name = 4;</code> */ public Builder clearCompanionObjectName() { bitField0_ = (bitField0_ & ~0x00000004); companionObjectName_ = 0; return this; } private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter> typeParameter_ = java.util.Collections.emptyList(); private void ensureTypeParameterIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { typeParameter_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter>(typeParameter_); bitField0_ |= 0x00000008; } } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter> getTypeParameterList() { return java.util.Collections.unmodifiableList(typeParameter_); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;</code> */ public int getTypeParameterCount() { return typeParameter_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter getTypeParameter(int index) { return typeParameter_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;</code> */ public Builder setTypeParameter( int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter value) { if (value == null) { throw new NullPointerException(); } ensureTypeParameterIsMutable(); typeParameter_.set(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;</code> */ public Builder setTypeParameter( int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Builder builderForValue) { ensureTypeParameterIsMutable(); typeParameter_.set(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;</code> */ public Builder addTypeParameter(org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter value) { if (value == null) { throw new NullPointerException(); } ensureTypeParameterIsMutable(); typeParameter_.add(value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;</code> */ public Builder addTypeParameter( int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter value) { if (value == null) { throw new NullPointerException(); } ensureTypeParameterIsMutable(); typeParameter_.add(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;</code> */ public Builder addTypeParameter( org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Builder builderForValue) { ensureTypeParameterIsMutable(); typeParameter_.add(builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;</code> */ public Builder addTypeParameter( int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Builder builderForValue) { ensureTypeParameterIsMutable(); typeParameter_.add(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;</code> */ public Builder addAllTypeParameter( java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter> values) { ensureTypeParameterIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, typeParameter_); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;</code> */ public Builder clearTypeParameter() { typeParameter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;</code> */ public Builder removeTypeParameter(int index) { ensureTypeParameterIsMutable(); typeParameter_.remove(index); return this; } private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Type> supertype_ = java.util.Collections.emptyList(); private void ensureSupertypeIsMutable() { if (!((bitField0_ & 0x00000010) == 0x00000010)) { supertype_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.Type>(supertype_); bitField0_ |= 0x00000010; } } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Type> getSupertypeList() { return java.util.Collections.unmodifiableList(supertype_); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;</code> */ public int getSupertypeCount() { return supertype_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getSupertype(int index) { return supertype_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;</code> */ public Builder setSupertype( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (value == null) { throw new NullPointerException(); } ensureSupertypeIsMutable(); supertype_.set(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;</code> */ public Builder setSupertype( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) { ensureSupertypeIsMutable(); supertype_.set(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;</code> */ public Builder addSupertype(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (value == null) { throw new NullPointerException(); } ensureSupertypeIsMutable(); supertype_.add(value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;</code> */ public Builder addSupertype( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (value == null) { throw new NullPointerException(); } ensureSupertypeIsMutable(); supertype_.add(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;</code> */ public Builder addSupertype( org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) { ensureSupertypeIsMutable(); supertype_.add(builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;</code> */ public Builder addSupertype( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) { ensureSupertypeIsMutable(); supertype_.add(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;</code> */ public Builder addAllSupertype( java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.ProtoBuf.Type> values) { ensureSupertypeIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, supertype_); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;</code> */ public Builder clearSupertype() { supertype_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;</code> */ public Builder removeSupertype(int index) { ensureSupertypeIsMutable(); supertype_.remove(index); return this; } private java.util.List<java.lang.Integer> supertypeId_ = java.util.Collections.emptyList(); private void ensureSupertypeIdIsMutable() { if (!((bitField0_ & 0x00000020) == 0x00000020)) { supertypeId_ = new java.util.ArrayList<java.lang.Integer>(supertypeId_); bitField0_ |= 0x00000020; } } /** * <code>repeated int32 supertype_id = 2 [packed = true];</code> */ public java.util.List<java.lang.Integer> getSupertypeIdList() { return java.util.Collections.unmodifiableList(supertypeId_); } /** * <code>repeated int32 supertype_id = 2 [packed = true];</code> */ public int getSupertypeIdCount() { return supertypeId_.size(); } /** * <code>repeated int32 supertype_id = 2 [packed = true];</code> */ public int getSupertypeId(int index) { return supertypeId_.get(index); } /** * <code>repeated int32 supertype_id = 2 [packed = true];</code> */ public Builder setSupertypeId( int index, int value) { ensureSupertypeIdIsMutable(); supertypeId_.set(index, value); return this; } /** * <code>repeated int32 supertype_id = 2 [packed = true];</code> */ public Builder addSupertypeId(int value) { ensureSupertypeIdIsMutable(); supertypeId_.add(value); return this; } /** * <code>repeated int32 supertype_id = 2 [packed = true];</code> */ public Builder addAllSupertypeId( java.lang.Iterable<? extends java.lang.Integer> values) { ensureSupertypeIdIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, supertypeId_); return this; } /** * <code>repeated int32 supertype_id = 2 [packed = true];</code> */ public Builder clearSupertypeId() { supertypeId_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); return this; } private java.util.List<java.lang.Integer> nestedClassName_ = java.util.Collections.emptyList(); private void ensureNestedClassNameIsMutable() { if (!((bitField0_ & 0x00000040) == 0x00000040)) { nestedClassName_ = new java.util.ArrayList<java.lang.Integer>(nestedClassName_); bitField0_ |= 0x00000040; } } /** * <code>repeated int32 nested_class_name = 7 [packed = true];</code> */ public java.util.List<java.lang.Integer> getNestedClassNameList() { return java.util.Collections.unmodifiableList(nestedClassName_); } /** * <code>repeated int32 nested_class_name = 7 [packed = true];</code> */ public int getNestedClassNameCount() { return nestedClassName_.size(); } /** * <code>repeated int32 nested_class_name = 7 [packed = true];</code> */ public int getNestedClassName(int index) { return nestedClassName_.get(index); } /** * <code>repeated int32 nested_class_name = 7 [packed = true];</code> */ public Builder setNestedClassName( int index, int value) { ensureNestedClassNameIsMutable(); nestedClassName_.set(index, value); return this; } /** * <code>repeated int32 nested_class_name = 7 [packed = true];</code> */ public Builder addNestedClassName(int value) { ensureNestedClassNameIsMutable(); nestedClassName_.add(value); return this; } /** * <code>repeated int32 nested_class_name = 7 [packed = true];</code> */ public Builder addAllNestedClassName( java.lang.Iterable<? extends java.lang.Integer> values) { ensureNestedClassNameIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, nestedClassName_); return this; } /** * <code>repeated int32 nested_class_name = 7 [packed = true];</code> */ public Builder clearNestedClassName() { nestedClassName_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); return this; } private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Constructor> constructor_ = java.util.Collections.emptyList(); private void ensureConstructorIsMutable() { if (!((bitField0_ & 0x00000080) == 0x00000080)) { constructor_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.Constructor>(constructor_); bitField0_ |= 0x00000080; } } /** * <code>repeated .org.jetbrains.kotlin.serialization.Constructor constructor = 8;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Constructor> getConstructorList() { return java.util.Collections.unmodifiableList(constructor_); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Constructor constructor = 8;</code> */ public int getConstructorCount() { return constructor_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Constructor constructor = 8;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Constructor getConstructor(int index) { return constructor_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Constructor constructor = 8;</code> */ public Builder setConstructor( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Constructor value) { if (value == null) { throw new NullPointerException(); } ensureConstructorIsMutable(); constructor_.set(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Constructor constructor = 8;</code> */ public Builder setConstructor( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Constructor.Builder builderForValue) { ensureConstructorIsMutable(); constructor_.set(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Constructor constructor = 8;</code> */ public Builder addConstructor(org.jetbrains.kotlin.serialization.ProtoBuf.Constructor value) { if (value == null) { throw new NullPointerException(); } ensureConstructorIsMutable(); constructor_.add(value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Constructor constructor = 8;</code> */ public Builder addConstructor( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Constructor value) { if (value == null) { throw new NullPointerException(); } ensureConstructorIsMutable(); constructor_.add(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Constructor constructor = 8;</code> */ public Builder addConstructor( org.jetbrains.kotlin.serialization.ProtoBuf.Constructor.Builder builderForValue) { ensureConstructorIsMutable(); constructor_.add(builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Constructor constructor = 8;</code> */ public Builder addConstructor( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Constructor.Builder builderForValue) { ensureConstructorIsMutable(); constructor_.add(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Constructor constructor = 8;</code> */ public Builder addAllConstructor( java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.ProtoBuf.Constructor> values) { ensureConstructorIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, constructor_); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Constructor constructor = 8;</code> */ public Builder clearConstructor() { constructor_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Constructor constructor = 8;</code> */ public Builder removeConstructor(int index) { ensureConstructorIsMutable(); constructor_.remove(index); return this; } private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Function> function_ = java.util.Collections.emptyList(); private void ensureFunctionIsMutable() { if (!((bitField0_ & 0x00000100) == 0x00000100)) { function_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.Function>(function_); bitField0_ |= 0x00000100; } } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 9;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Function> getFunctionList() { return java.util.Collections.unmodifiableList(function_); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 9;</code> */ public int getFunctionCount() { return function_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 9;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Function getFunction(int index) { return function_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 9;</code> */ public Builder setFunction( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Function value) { if (value == null) { throw new NullPointerException(); } ensureFunctionIsMutable(); function_.set(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 9;</code> */ public Builder setFunction( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Function.Builder builderForValue) { ensureFunctionIsMutable(); function_.set(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 9;</code> */ public Builder addFunction(org.jetbrains.kotlin.serialization.ProtoBuf.Function value) { if (value == null) { throw new NullPointerException(); } ensureFunctionIsMutable(); function_.add(value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 9;</code> */ public Builder addFunction( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Function value) { if (value == null) { throw new NullPointerException(); } ensureFunctionIsMutable(); function_.add(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 9;</code> */ public Builder addFunction( org.jetbrains.kotlin.serialization.ProtoBuf.Function.Builder builderForValue) { ensureFunctionIsMutable(); function_.add(builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 9;</code> */ public Builder addFunction( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Function.Builder builderForValue) { ensureFunctionIsMutable(); function_.add(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 9;</code> */ public Builder addAllFunction( java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.ProtoBuf.Function> values) { ensureFunctionIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, function_); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 9;</code> */ public Builder clearFunction() { function_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 9;</code> */ public Builder removeFunction(int index) { ensureFunctionIsMutable(); function_.remove(index); return this; } private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Property> property_ = java.util.Collections.emptyList(); private void ensurePropertyIsMutable() { if (!((bitField0_ & 0x00000200) == 0x00000200)) { property_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.Property>(property_); bitField0_ |= 0x00000200; } } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 10;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Property> getPropertyList() { return java.util.Collections.unmodifiableList(property_); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 10;</code> */ public int getPropertyCount() { return property_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 10;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Property getProperty(int index) { return property_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 10;</code> */ public Builder setProperty( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Property value) { if (value == null) { throw new NullPointerException(); } ensurePropertyIsMutable(); property_.set(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 10;</code> */ public Builder setProperty( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Property.Builder builderForValue) { ensurePropertyIsMutable(); property_.set(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 10;</code> */ public Builder addProperty(org.jetbrains.kotlin.serialization.ProtoBuf.Property value) { if (value == null) { throw new NullPointerException(); } ensurePropertyIsMutable(); property_.add(value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 10;</code> */ public Builder addProperty( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Property value) { if (value == null) { throw new NullPointerException(); } ensurePropertyIsMutable(); property_.add(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 10;</code> */ public Builder addProperty( org.jetbrains.kotlin.serialization.ProtoBuf.Property.Builder builderForValue) { ensurePropertyIsMutable(); property_.add(builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 10;</code> */ public Builder addProperty( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Property.Builder builderForValue) { ensurePropertyIsMutable(); property_.add(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 10;</code> */ public Builder addAllProperty( java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.ProtoBuf.Property> values) { ensurePropertyIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, property_); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 10;</code> */ public Builder clearProperty() { property_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 10;</code> */ public Builder removeProperty(int index) { ensurePropertyIsMutable(); property_.remove(index); return this; } private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias> typeAlias_ = java.util.Collections.emptyList(); private void ensureTypeAliasIsMutable() { if (!((bitField0_ & 0x00000400) == 0x00000400)) { typeAlias_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias>(typeAlias_); bitField0_ |= 0x00000400; } } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 11;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias> getTypeAliasList() { return java.util.Collections.unmodifiableList(typeAlias_); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 11;</code> */ public int getTypeAliasCount() { return typeAlias_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 11;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias getTypeAlias(int index) { return typeAlias_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 11;</code> */ public Builder setTypeAlias( int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias value) { if (value == null) { throw new NullPointerException(); } ensureTypeAliasIsMutable(); typeAlias_.set(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 11;</code> */ public Builder setTypeAlias( int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias.Builder builderForValue) { ensureTypeAliasIsMutable(); typeAlias_.set(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 11;</code> */ public Builder addTypeAlias(org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias value) { if (value == null) { throw new NullPointerException(); } ensureTypeAliasIsMutable(); typeAlias_.add(value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 11;</code> */ public Builder addTypeAlias( int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias value) { if (value == null) { throw new NullPointerException(); } ensureTypeAliasIsMutable(); typeAlias_.add(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 11;</code> */ public Builder addTypeAlias( org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias.Builder builderForValue) { ensureTypeAliasIsMutable(); typeAlias_.add(builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 11;</code> */ public Builder addTypeAlias( int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias.Builder builderForValue) { ensureTypeAliasIsMutable(); typeAlias_.add(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 11;</code> */ public Builder addAllTypeAlias( java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias> values) { ensureTypeAliasIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, typeAlias_); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 11;</code> */ public Builder clearTypeAlias() { typeAlias_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000400); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 11;</code> */ public Builder removeTypeAlias(int index) { ensureTypeAliasIsMutable(); typeAlias_.remove(index); return this; } private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry> enumEntry_ = java.util.Collections.emptyList(); private void ensureEnumEntryIsMutable() { if (!((bitField0_ & 0x00000800) == 0x00000800)) { enumEntry_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry>(enumEntry_); bitField0_ |= 0x00000800; } } /** * <code>repeated .org.jetbrains.kotlin.serialization.EnumEntry enum_entry = 13;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry> getEnumEntryList() { return java.util.Collections.unmodifiableList(enumEntry_); } /** * <code>repeated .org.jetbrains.kotlin.serialization.EnumEntry enum_entry = 13;</code> */ public int getEnumEntryCount() { return enumEntry_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.EnumEntry enum_entry = 13;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry getEnumEntry(int index) { return enumEntry_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.EnumEntry enum_entry = 13;</code> */ public Builder setEnumEntry( int index, org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry value) { if (value == null) { throw new NullPointerException(); } ensureEnumEntryIsMutable(); enumEntry_.set(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.EnumEntry enum_entry = 13;</code> */ public Builder setEnumEntry( int index, org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry.Builder builderForValue) { ensureEnumEntryIsMutable(); enumEntry_.set(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.EnumEntry enum_entry = 13;</code> */ public Builder addEnumEntry(org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry value) { if (value == null) { throw new NullPointerException(); } ensureEnumEntryIsMutable(); enumEntry_.add(value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.EnumEntry enum_entry = 13;</code> */ public Builder addEnumEntry( int index, org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry value) { if (value == null) { throw new NullPointerException(); } ensureEnumEntryIsMutable(); enumEntry_.add(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.EnumEntry enum_entry = 13;</code> */ public Builder addEnumEntry( org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry.Builder builderForValue) { ensureEnumEntryIsMutable(); enumEntry_.add(builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.EnumEntry enum_entry = 13;</code> */ public Builder addEnumEntry( int index, org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry.Builder builderForValue) { ensureEnumEntryIsMutable(); enumEntry_.add(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.EnumEntry enum_entry = 13;</code> */ public Builder addAllEnumEntry( java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry> values) { ensureEnumEntryIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, enumEntry_); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.EnumEntry enum_entry = 13;</code> */ public Builder clearEnumEntry() { enumEntry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000800); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.EnumEntry enum_entry = 13;</code> */ public Builder removeEnumEntry(int index) { ensureEnumEntryIsMutable(); enumEntry_.remove(index); return this; } private java.util.List<java.lang.Integer> sealedSubclassFqName_ = java.util.Collections.emptyList(); private void ensureSealedSubclassFqNameIsMutable() { if (!((bitField0_ & 0x00001000) == 0x00001000)) { sealedSubclassFqName_ = new java.util.ArrayList<java.lang.Integer>(sealedSubclassFqName_); bitField0_ |= 0x00001000; } } /** * <code>repeated int32 sealed_subclass_fq_name = 16 [packed = true];</code> */ public java.util.List<java.lang.Integer> getSealedSubclassFqNameList() { return java.util.Collections.unmodifiableList(sealedSubclassFqName_); } /** * <code>repeated int32 sealed_subclass_fq_name = 16 [packed = true];</code> */ public int getSealedSubclassFqNameCount() { return sealedSubclassFqName_.size(); } /** * <code>repeated int32 sealed_subclass_fq_name = 16 [packed = true];</code> */ public int getSealedSubclassFqName(int index) { return sealedSubclassFqName_.get(index); } /** * <code>repeated int32 sealed_subclass_fq_name = 16 [packed = true];</code> */ public Builder setSealedSubclassFqName( int index, int value) { ensureSealedSubclassFqNameIsMutable(); sealedSubclassFqName_.set(index, value); return this; } /** * <code>repeated int32 sealed_subclass_fq_name = 16 [packed = true];</code> */ public Builder addSealedSubclassFqName(int value) { ensureSealedSubclassFqNameIsMutable(); sealedSubclassFqName_.add(value); return this; } /** * <code>repeated int32 sealed_subclass_fq_name = 16 [packed = true];</code> */ public Builder addAllSealedSubclassFqName( java.lang.Iterable<? extends java.lang.Integer> values) { ensureSealedSubclassFqNameIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, sealedSubclassFqName_); return this; } /** * <code>repeated int32 sealed_subclass_fq_name = 16 [packed = true];</code> */ public Builder clearSealedSubclassFqName() { sealedSubclassFqName_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00001000); return this; } private org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable typeTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.getDefaultInstance(); /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ public boolean hasTypeTable() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable getTypeTable() { return typeTable_; } /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ public Builder setTypeTable(org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable value) { if (value == null) { throw new NullPointerException(); } typeTable_ = value; bitField0_ |= 0x00002000; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ public Builder setTypeTable( org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.Builder builderForValue) { typeTable_ = builderForValue.build(); bitField0_ |= 0x00002000; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ public Builder mergeTypeTable(org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable value) { if (((bitField0_ & 0x00002000) == 0x00002000) && typeTable_ != org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.getDefaultInstance()) { typeTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.newBuilder(typeTable_).mergeFrom(value).buildPartial(); } else { typeTable_ = value; } bitField0_ |= 0x00002000; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ public Builder clearTypeTable() { typeTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00002000); return this; } private int sinceKotlinInfo_ ; /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public boolean hasSinceKotlinInfo() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public int getSinceKotlinInfo() { return sinceKotlinInfo_; } /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public Builder setSinceKotlinInfo(int value) { bitField0_ |= 0x00004000; sinceKotlinInfo_ = value; return this; } /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public Builder clearSinceKotlinInfo() { bitField0_ = (bitField0_ & ~0x00004000); sinceKotlinInfo_ = 0; return this; } private org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable sinceKotlinInfoTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.getDefaultInstance(); /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;</code> */ public boolean hasSinceKotlinInfoTable() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable getSinceKotlinInfoTable() { return sinceKotlinInfoTable_; } /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;</code> */ public Builder setSinceKotlinInfoTable(org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable value) { if (value == null) { throw new NullPointerException(); } sinceKotlinInfoTable_ = value; bitField0_ |= 0x00008000; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;</code> */ public Builder setSinceKotlinInfoTable( org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.Builder builderForValue) { sinceKotlinInfoTable_ = builderForValue.build(); bitField0_ |= 0x00008000; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;</code> */ public Builder mergeSinceKotlinInfoTable(org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable value) { if (((bitField0_ & 0x00008000) == 0x00008000) && sinceKotlinInfoTable_ != org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.getDefaultInstance()) { sinceKotlinInfoTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.newBuilder(sinceKotlinInfoTable_).mergeFrom(value).buildPartial(); } else { sinceKotlinInfoTable_ = value; } bitField0_ |= 0x00008000; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;</code> */ public Builder clearSinceKotlinInfoTable() { sinceKotlinInfoTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00008000); return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.Class) } static { defaultInstance = new Class(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.Class) } public interface PackageOrBuilder extends // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.Package) org.jetbrains.kotlin.protobuf.GeneratedMessageLite. ExtendableMessageOrBuilder<Package> { /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 3;</code> */ java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Function> getFunctionList(); /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 3;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Function getFunction(int index); /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 3;</code> */ int getFunctionCount(); /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 4;</code> */ java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Property> getPropertyList(); /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 4;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Property getProperty(int index); /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 4;</code> */ int getPropertyCount(); /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 5;</code> */ java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias> getTypeAliasList(); /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 5;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias getTypeAlias(int index); /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 5;</code> */ int getTypeAliasCount(); /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ boolean hasTypeTable(); /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable getTypeTable(); /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;</code> */ boolean hasSinceKotlinInfoTable(); /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable getSinceKotlinInfoTable(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.Package} */ public static final class Package extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableMessage< Package> implements // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.Package) PackageOrBuilder { // Use Package.newBuilder() to construct. private Package(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder<org.jetbrains.kotlin.serialization.ProtoBuf.Package, ?> 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); 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<org.jetbrains.kotlin.serialization.ProtoBuf.Function>(); mutable_bitField0_ |= 0x00000001; } function_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Function.PARSER, extensionRegistry)); break; } case 34: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { property_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.Property>(); mutable_bitField0_ |= 0x00000002; } property_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Property.PARSER, extensionRegistry)); break; } case 42: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { typeAlias_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias>(); mutable_bitField0_ |= 0x00000004; } typeAlias_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias.PARSER, extensionRegistry)); break; } case 242: { org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = typeTable_.toBuilder(); } typeTable_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(typeTable_); typeTable_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 258: { org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = sinceKotlinInfoTable_.toBuilder(); } sinceKotlinInfoTable_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(sinceKotlinInfoTable_); sinceKotlinInfoTable_ = 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<Package> PARSER = new org.jetbrains.kotlin.protobuf.AbstractParser<Package>() { 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<Package> getParserForType() { return PARSER; } private int bitField0_; public static final int FUNCTION_FIELD_NUMBER = 3; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Function> function_; /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 3;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Function> getFunctionList() { return function_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 3;</code> */ public java.util.List<? extends org.jetbrains.kotlin.serialization.ProtoBuf.FunctionOrBuilder> getFunctionOrBuilderList() { return function_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 3;</code> */ public int getFunctionCount() { return function_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 3;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Function getFunction(int index) { return function_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 3;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.FunctionOrBuilder getFunctionOrBuilder( int index) { return function_.get(index); } public static final int PROPERTY_FIELD_NUMBER = 4; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Property> property_; /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 4;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Property> getPropertyList() { return property_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 4;</code> */ public java.util.List<? extends org.jetbrains.kotlin.serialization.ProtoBuf.PropertyOrBuilder> getPropertyOrBuilderList() { return property_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 4;</code> */ public int getPropertyCount() { return property_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 4;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Property getProperty(int index) { return property_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 4;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.PropertyOrBuilder getPropertyOrBuilder( int index) { return property_.get(index); } public static final int TYPE_ALIAS_FIELD_NUMBER = 5; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias> typeAlias_; /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 5;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias> getTypeAliasList() { return typeAlias_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 5;</code> */ public java.util.List<? extends org.jetbrains.kotlin.serialization.ProtoBuf.TypeAliasOrBuilder> getTypeAliasOrBuilderList() { return typeAlias_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 5;</code> */ public int getTypeAliasCount() { return typeAlias_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 5;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias getTypeAlias(int index) { return typeAlias_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 5;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeAliasOrBuilder getTypeAliasOrBuilder( int index) { return typeAlias_.get(index); } public static final int TYPE_TABLE_FIELD_NUMBER = 30; private org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable typeTable_; /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ public boolean hasTypeTable() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable getTypeTable() { return typeTable_; } public static final int SINCE_KOTLIN_INFO_TABLE_FIELD_NUMBER = 32; private org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable sinceKotlinInfoTable_; /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;</code> */ public boolean hasSinceKotlinInfoTable() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable getSinceKotlinInfoTable() { return sinceKotlinInfoTable_; } private void initFields() { function_ = java.util.Collections.emptyList(); property_ = java.util.Collections.emptyList(); typeAlias_ = java.util.Collections.emptyList(); typeTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.getDefaultInstance(); sinceKotlinInfoTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.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<org.jetbrains.kotlin.serialization.ProtoBuf.Package>.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, sinceKotlinInfoTable_); } 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, sinceKotlinInfoTable_); } 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.serialization.ProtoBuf.Package parseFrom( org.jetbrains.kotlin.protobuf.ByteString data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Package parseFrom(byte[] data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Package parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Package parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Package parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.Package prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.Package} */ public static final class Builder extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder< org.jetbrains.kotlin.serialization.ProtoBuf.Package, Builder> implements // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.Package) org.jetbrains.kotlin.serialization.ProtoBuf.PackageOrBuilder { // Construct using org.jetbrains.kotlin.serialization.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.serialization.ProtoBuf.TypeTable.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000008); sinceKotlinInfoTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000010); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public org.jetbrains.kotlin.serialization.ProtoBuf.Package getDefaultInstanceForType() { return org.jetbrains.kotlin.serialization.ProtoBuf.Package.getDefaultInstance(); } public org.jetbrains.kotlin.serialization.ProtoBuf.Package build() { org.jetbrains.kotlin.serialization.ProtoBuf.Package result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.serialization.ProtoBuf.Package buildPartial() { org.jetbrains.kotlin.serialization.ProtoBuf.Package result = new org.jetbrains.kotlin.serialization.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.sinceKotlinInfoTable_ = sinceKotlinInfoTable_; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(org.jetbrains.kotlin.serialization.ProtoBuf.Package other) { if (other == org.jetbrains.kotlin.serialization.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.hasSinceKotlinInfoTable()) { mergeSinceKotlinInfoTable(other.getSinceKotlinInfoTable()); } 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.serialization.ProtoBuf.Package parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.serialization.ProtoBuf.Package) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Function> function_ = java.util.Collections.emptyList(); private void ensureFunctionIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { function_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.Function>(function_); bitField0_ |= 0x00000001; } } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 3;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Function> getFunctionList() { return java.util.Collections.unmodifiableList(function_); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 3;</code> */ public int getFunctionCount() { return function_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 3;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Function getFunction(int index) { return function_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 3;</code> */ public Builder setFunction( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Function value) { if (value == null) { throw new NullPointerException(); } ensureFunctionIsMutable(); function_.set(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 3;</code> */ public Builder setFunction( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Function.Builder builderForValue) { ensureFunctionIsMutable(); function_.set(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 3;</code> */ public Builder addFunction(org.jetbrains.kotlin.serialization.ProtoBuf.Function value) { if (value == null) { throw new NullPointerException(); } ensureFunctionIsMutable(); function_.add(value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 3;</code> */ public Builder addFunction( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Function value) { if (value == null) { throw new NullPointerException(); } ensureFunctionIsMutable(); function_.add(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 3;</code> */ public Builder addFunction( org.jetbrains.kotlin.serialization.ProtoBuf.Function.Builder builderForValue) { ensureFunctionIsMutable(); function_.add(builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 3;</code> */ public Builder addFunction( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Function.Builder builderForValue) { ensureFunctionIsMutable(); function_.add(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 3;</code> */ public Builder addAllFunction( java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.ProtoBuf.Function> values) { ensureFunctionIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, function_); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 3;</code> */ public Builder clearFunction() { function_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Function function = 3;</code> */ public Builder removeFunction(int index) { ensureFunctionIsMutable(); function_.remove(index); return this; } private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Property> property_ = java.util.Collections.emptyList(); private void ensurePropertyIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { property_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.Property>(property_); bitField0_ |= 0x00000002; } } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 4;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Property> getPropertyList() { return java.util.Collections.unmodifiableList(property_); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 4;</code> */ public int getPropertyCount() { return property_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 4;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Property getProperty(int index) { return property_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 4;</code> */ public Builder setProperty( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Property value) { if (value == null) { throw new NullPointerException(); } ensurePropertyIsMutable(); property_.set(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 4;</code> */ public Builder setProperty( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Property.Builder builderForValue) { ensurePropertyIsMutable(); property_.set(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 4;</code> */ public Builder addProperty(org.jetbrains.kotlin.serialization.ProtoBuf.Property value) { if (value == null) { throw new NullPointerException(); } ensurePropertyIsMutable(); property_.add(value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 4;</code> */ public Builder addProperty( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Property value) { if (value == null) { throw new NullPointerException(); } ensurePropertyIsMutable(); property_.add(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 4;</code> */ public Builder addProperty( org.jetbrains.kotlin.serialization.ProtoBuf.Property.Builder builderForValue) { ensurePropertyIsMutable(); property_.add(builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 4;</code> */ public Builder addProperty( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Property.Builder builderForValue) { ensurePropertyIsMutable(); property_.add(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 4;</code> */ public Builder addAllProperty( java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.ProtoBuf.Property> values) { ensurePropertyIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, property_); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 4;</code> */ public Builder clearProperty() { property_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Property property = 4;</code> */ public Builder removeProperty(int index) { ensurePropertyIsMutable(); property_.remove(index); return this; } private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias> typeAlias_ = java.util.Collections.emptyList(); private void ensureTypeAliasIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { typeAlias_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias>(typeAlias_); bitField0_ |= 0x00000004; } } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 5;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias> getTypeAliasList() { return java.util.Collections.unmodifiableList(typeAlias_); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 5;</code> */ public int getTypeAliasCount() { return typeAlias_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 5;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias getTypeAlias(int index) { return typeAlias_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 5;</code> */ public Builder setTypeAlias( int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias value) { if (value == null) { throw new NullPointerException(); } ensureTypeAliasIsMutable(); typeAlias_.set(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 5;</code> */ public Builder setTypeAlias( int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias.Builder builderForValue) { ensureTypeAliasIsMutable(); typeAlias_.set(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 5;</code> */ public Builder addTypeAlias(org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias value) { if (value == null) { throw new NullPointerException(); } ensureTypeAliasIsMutable(); typeAlias_.add(value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 5;</code> */ public Builder addTypeAlias( int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias value) { if (value == null) { throw new NullPointerException(); } ensureTypeAliasIsMutable(); typeAlias_.add(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 5;</code> */ public Builder addTypeAlias( org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias.Builder builderForValue) { ensureTypeAliasIsMutable(); typeAlias_.add(builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 5;</code> */ public Builder addTypeAlias( int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias.Builder builderForValue) { ensureTypeAliasIsMutable(); typeAlias_.add(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 5;</code> */ public Builder addAllTypeAlias( java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias> values) { ensureTypeAliasIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, typeAlias_); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 5;</code> */ public Builder clearTypeAlias() { typeAlias_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeAlias type_alias = 5;</code> */ public Builder removeTypeAlias(int index) { ensureTypeAliasIsMutable(); typeAlias_.remove(index); return this; } private org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable typeTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.getDefaultInstance(); /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ public boolean hasTypeTable() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable getTypeTable() { return typeTable_; } /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ public Builder setTypeTable(org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable value) { if (value == null) { throw new NullPointerException(); } typeTable_ = value; bitField0_ |= 0x00000008; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ public Builder setTypeTable( org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.Builder builderForValue) { typeTable_ = builderForValue.build(); bitField0_ |= 0x00000008; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ public Builder mergeTypeTable(org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable value) { if (((bitField0_ & 0x00000008) == 0x00000008) && typeTable_ != org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.getDefaultInstance()) { typeTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.newBuilder(typeTable_).mergeFrom(value).buildPartial(); } else { typeTable_ = value; } bitField0_ |= 0x00000008; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ public Builder clearTypeTable() { typeTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000008); return this; } private org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable sinceKotlinInfoTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.getDefaultInstance(); /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;</code> */ public boolean hasSinceKotlinInfoTable() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable getSinceKotlinInfoTable() { return sinceKotlinInfoTable_; } /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;</code> */ public Builder setSinceKotlinInfoTable(org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable value) { if (value == null) { throw new NullPointerException(); } sinceKotlinInfoTable_ = value; bitField0_ |= 0x00000010; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;</code> */ public Builder setSinceKotlinInfoTable( org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.Builder builderForValue) { sinceKotlinInfoTable_ = builderForValue.build(); bitField0_ |= 0x00000010; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;</code> */ public Builder mergeSinceKotlinInfoTable(org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable value) { if (((bitField0_ & 0x00000010) == 0x00000010) && sinceKotlinInfoTable_ != org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.getDefaultInstance()) { sinceKotlinInfoTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.newBuilder(sinceKotlinInfoTable_).mergeFrom(value).buildPartial(); } else { sinceKotlinInfoTable_ = value; } bitField0_ |= 0x00000010; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;</code> */ public Builder clearSinceKotlinInfoTable() { sinceKotlinInfoTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000010); return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.Package) } static { defaultInstance = new Package(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.Package) } public interface TypeTableOrBuilder extends // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.TypeTable) org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder { /** * <code>repeated .org.jetbrains.kotlin.serialization.Type type = 1;</code> */ java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Type> getTypeList(); /** * <code>repeated .org.jetbrains.kotlin.serialization.Type type = 1;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Type getType(int index); /** * <code>repeated .org.jetbrains.kotlin.serialization.Type type = 1;</code> */ int getTypeCount(); /** * <code>optional int32 first_nullable = 2 [default = -1];</code> * * <pre> * Index starting from which all types are nullable, or nothing if all types in this table are non-null. * Note that the 'nullable' field of Type messages is ignored and shouldn't be written because it wastes too much space * </pre> */ boolean hasFirstNullable(); /** * <code>optional int32 first_nullable = 2 [default = -1];</code> * * <pre> * Index starting from which all types are nullable, or nothing if all types in this table are non-null. * Note that the 'nullable' field of Type messages is ignored and shouldn't be written because it wastes too much space * </pre> */ int getFirstNullable(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.TypeTable} */ public static final class TypeTable extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.TypeTable) TypeTableOrBuilder { // Use TypeTable.newBuilder() to construct. private TypeTable(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private TypeTable(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;} private static final TypeTable defaultInstance; public static TypeTable getDefaultInstance() { return defaultInstance; } public TypeTable getDefaultInstanceForType() { return defaultInstance; } private final org.jetbrains.kotlin.protobuf.ByteString unknownFields; private TypeTable( 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); 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)) { type_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.Type>(); mutable_bitField0_ |= 0x00000001; } type_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Type.PARSER, extensionRegistry)); break; } case 16: { bitField0_ |= 0x00000001; firstNullable_ = 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)) { type_ = java.util.Collections.unmodifiableList(type_); } try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static org.jetbrains.kotlin.protobuf.Parser<TypeTable> PARSER = new org.jetbrains.kotlin.protobuf.AbstractParser<TypeTable>() { public TypeTable parsePartialFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return new TypeTable(input, extensionRegistry); } }; @java.lang.Override public org.jetbrains.kotlin.protobuf.Parser<TypeTable> getParserForType() { return PARSER; } private int bitField0_; public static final int TYPE_FIELD_NUMBER = 1; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Type> type_; /** * <code>repeated .org.jetbrains.kotlin.serialization.Type type = 1;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Type> getTypeList() { return type_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type type = 1;</code> */ public java.util.List<? extends org.jetbrains.kotlin.serialization.ProtoBuf.TypeOrBuilder> getTypeOrBuilderList() { return type_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type type = 1;</code> */ public int getTypeCount() { return type_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type type = 1;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getType(int index) { return type_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type type = 1;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeOrBuilder getTypeOrBuilder( int index) { return type_.get(index); } public static final int FIRST_NULLABLE_FIELD_NUMBER = 2; private int firstNullable_; /** * <code>optional int32 first_nullable = 2 [default = -1];</code> * * <pre> * Index starting from which all types are nullable, or nothing if all types in this table are non-null. * Note that the 'nullable' field of Type messages is ignored and shouldn't be written because it wastes too much space * </pre> */ public boolean hasFirstNullable() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 first_nullable = 2 [default = -1];</code> * * <pre> * Index starting from which all types are nullable, or nothing if all types in this table are non-null. * Note that the 'nullable' field of Type messages is ignored and shouldn't be written because it wastes too much space * </pre> */ public int getFirstNullable() { return firstNullable_; } private void initFields() { type_ = java.util.Collections.emptyList(); firstNullable_ = -1; } 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 < getTypeCount(); i++) { if (!getType(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 < type_.size(); i++) { output.writeMessage(1, type_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(2, firstNullable_); } 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 < type_.size(); i++) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(1, type_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(2, firstNullable_); } 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.serialization.ProtoBuf.TypeTable parseFrom( org.jetbrains.kotlin.protobuf.ByteString data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable 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.serialization.ProtoBuf.TypeTable parseFrom(byte[] data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable 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.serialization.ProtoBuf.TypeTable parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable 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.serialization.ProtoBuf.TypeTable parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable 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.serialization.ProtoBuf.TypeTable parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable 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.serialization.ProtoBuf.TypeTable prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.TypeTable} */ public static final class Builder extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder< org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable, Builder> implements // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.TypeTable) org.jetbrains.kotlin.serialization.ProtoBuf.TypeTableOrBuilder { // Construct using org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); type_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); firstNullable_ = -1; bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable getDefaultInstanceForType() { return org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.getDefaultInstance(); } public org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable build() { org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable buildPartial() { org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable result = new org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { type_ = java.util.Collections.unmodifiableList(type_); bitField0_ = (bitField0_ & ~0x00000001); } result.type_ = type_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000001; } result.firstNullable_ = firstNullable_; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable other) { if (other == org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.getDefaultInstance()) return this; if (!other.type_.isEmpty()) { if (type_.isEmpty()) { type_ = other.type_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTypeIsMutable(); type_.addAll(other.type_); } } if (other.hasFirstNullable()) { setFirstNullable(other.getFirstNullable()); } setUnknownFields( getUnknownFields().concat(other.unknownFields)); return this; } public final boolean isInitialized() { for (int i = 0; i < getTypeCount(); i++) { if (!getType(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.serialization.ProtoBuf.TypeTable parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Type> type_ = java.util.Collections.emptyList(); private void ensureTypeIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { type_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.Type>(type_); bitField0_ |= 0x00000001; } } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type type = 1;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Type> getTypeList() { return java.util.Collections.unmodifiableList(type_); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type type = 1;</code> */ public int getTypeCount() { return type_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type type = 1;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getType(int index) { return type_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type type = 1;</code> */ public Builder setType( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (value == null) { throw new NullPointerException(); } ensureTypeIsMutable(); type_.set(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type type = 1;</code> */ public Builder setType( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) { ensureTypeIsMutable(); type_.set(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type type = 1;</code> */ public Builder addType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (value == null) { throw new NullPointerException(); } ensureTypeIsMutable(); type_.add(value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type type = 1;</code> */ public Builder addType( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (value == null) { throw new NullPointerException(); } ensureTypeIsMutable(); type_.add(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type type = 1;</code> */ public Builder addType( org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) { ensureTypeIsMutable(); type_.add(builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type type = 1;</code> */ public Builder addType( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) { ensureTypeIsMutable(); type_.add(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type type = 1;</code> */ public Builder addAllType( java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.ProtoBuf.Type> values) { ensureTypeIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, type_); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type type = 1;</code> */ public Builder clearType() { type_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Type type = 1;</code> */ public Builder removeType(int index) { ensureTypeIsMutable(); type_.remove(index); return this; } private int firstNullable_ = -1; /** * <code>optional int32 first_nullable = 2 [default = -1];</code> * * <pre> * Index starting from which all types are nullable, or nothing if all types in this table are non-null. * Note that the 'nullable' field of Type messages is ignored and shouldn't be written because it wastes too much space * </pre> */ public boolean hasFirstNullable() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional int32 first_nullable = 2 [default = -1];</code> * * <pre> * Index starting from which all types are nullable, or nothing if all types in this table are non-null. * Note that the 'nullable' field of Type messages is ignored and shouldn't be written because it wastes too much space * </pre> */ public int getFirstNullable() { return firstNullable_; } /** * <code>optional int32 first_nullable = 2 [default = -1];</code> * * <pre> * Index starting from which all types are nullable, or nothing if all types in this table are non-null. * Note that the 'nullable' field of Type messages is ignored and shouldn't be written because it wastes too much space * </pre> */ public Builder setFirstNullable(int value) { bitField0_ |= 0x00000002; firstNullable_ = value; return this; } /** * <code>optional int32 first_nullable = 2 [default = -1];</code> * * <pre> * Index starting from which all types are nullable, or nothing if all types in this table are non-null. * Note that the 'nullable' field of Type messages is ignored and shouldn't be written because it wastes too much space * </pre> */ public Builder clearFirstNullable() { bitField0_ = (bitField0_ & ~0x00000002); firstNullable_ = -1; return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.TypeTable) } static { defaultInstance = new TypeTable(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.TypeTable) } public interface ConstructorOrBuilder extends // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.Constructor) org.jetbrains.kotlin.protobuf.GeneratedMessageLite. ExtendableMessageOrBuilder<Constructor> { /** * <code>optional int32 flags = 1 [default = 6];</code> * * <pre> *hasAnnotations *Visibility *isSecondary * </pre> */ boolean hasFlags(); /** * <code>optional int32 flags = 1 [default = 6];</code> * * <pre> *hasAnnotations *Visibility *isSecondary * </pre> */ int getFlags(); /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 2;</code> */ java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter> getValueParameterList(); /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 2;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter getValueParameter(int index); /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 2;</code> */ int getValueParameterCount(); /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ boolean hasSinceKotlinInfo(); /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ int getSinceKotlinInfo(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.Constructor} */ public static final class Constructor extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableMessage< Constructor> implements // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.Constructor) ConstructorOrBuilder { // Use Constructor.newBuilder() to construct. private Constructor(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder<org.jetbrains.kotlin.serialization.ProtoBuf.Constructor, ?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Constructor(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;} private static final Constructor defaultInstance; public static Constructor getDefaultInstance() { return defaultInstance; } public Constructor getDefaultInstanceForType() { return defaultInstance; } private final org.jetbrains.kotlin.protobuf.ByteString unknownFields; private Constructor( 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); 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 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { valueParameter_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter>(); mutable_bitField0_ |= 0x00000002; } valueParameter_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter.PARSER, extensionRegistry)); break; } case 248: { bitField0_ |= 0x00000002; sinceKotlinInfo_ = 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_ & 0x00000002) == 0x00000002)) { valueParameter_ = java.util.Collections.unmodifiableList(valueParameter_); } try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static org.jetbrains.kotlin.protobuf.Parser<Constructor> PARSER = new org.jetbrains.kotlin.protobuf.AbstractParser<Constructor>() { public Constructor parsePartialFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return new Constructor(input, extensionRegistry); } }; @java.lang.Override public org.jetbrains.kotlin.protobuf.Parser<Constructor> getParserForType() { return PARSER; } private int bitField0_; public static final int FLAGS_FIELD_NUMBER = 1; private int flags_; /** * <code>optional int32 flags = 1 [default = 6];</code> * * <pre> *hasAnnotations *Visibility *isSecondary * </pre> */ public boolean hasFlags() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 flags = 1 [default = 6];</code> * * <pre> *hasAnnotations *Visibility *isSecondary * </pre> */ public int getFlags() { return flags_; } public static final int VALUE_PARAMETER_FIELD_NUMBER = 2; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter> valueParameter_; /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 2;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter> getValueParameterList() { return valueParameter_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 2;</code> */ public java.util.List<? extends org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameterOrBuilder> getValueParameterOrBuilderList() { return valueParameter_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 2;</code> */ public int getValueParameterCount() { return valueParameter_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 2;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter getValueParameter(int index) { return valueParameter_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 2;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameterOrBuilder getValueParameterOrBuilder( int index) { return valueParameter_.get(index); } public static final int SINCEKOTLININFO_FIELD_NUMBER = 31; private int sinceKotlinInfo_; /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public boolean hasSinceKotlinInfo() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public int getSinceKotlinInfo() { return sinceKotlinInfo_; } private void initFields() { flags_ = 6; valueParameter_ = java.util.Collections.emptyList(); sinceKotlinInfo_ = 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 < getValueParameterCount(); i++) { if (!getValueParameter(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<org.jetbrains.kotlin.serialization.ProtoBuf.Constructor>.ExtensionWriter extensionWriter = newExtensionWriter(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, flags_); } for (int i = 0; i < valueParameter_.size(); i++) { output.writeMessage(2, valueParameter_.get(i)); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(31, sinceKotlinInfo_); } 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_ & 0x00000001) == 0x00000001)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(1, flags_); } for (int i = 0; i < valueParameter_.size(); i++) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(2, valueParameter_.get(i)); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(31, sinceKotlinInfo_); } 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.serialization.ProtoBuf.Constructor parseFrom( org.jetbrains.kotlin.protobuf.ByteString data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.ProtoBuf.Constructor 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.serialization.ProtoBuf.Constructor parseFrom(byte[] data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.ProtoBuf.Constructor 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.serialization.ProtoBuf.Constructor parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.Constructor 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.serialization.ProtoBuf.Constructor parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.Constructor 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.serialization.ProtoBuf.Constructor parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.Constructor 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.serialization.ProtoBuf.Constructor prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.Constructor} */ public static final class Builder extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder< org.jetbrains.kotlin.serialization.ProtoBuf.Constructor, Builder> implements // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.Constructor) org.jetbrains.kotlin.serialization.ProtoBuf.ConstructorOrBuilder { // Construct using org.jetbrains.kotlin.serialization.ProtoBuf.Constructor.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); flags_ = 6; bitField0_ = (bitField0_ & ~0x00000001); valueParameter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); sinceKotlinInfo_ = 0; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public org.jetbrains.kotlin.serialization.ProtoBuf.Constructor getDefaultInstanceForType() { return org.jetbrains.kotlin.serialization.ProtoBuf.Constructor.getDefaultInstance(); } public org.jetbrains.kotlin.serialization.ProtoBuf.Constructor build() { org.jetbrains.kotlin.serialization.ProtoBuf.Constructor result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.serialization.ProtoBuf.Constructor buildPartial() { org.jetbrains.kotlin.serialization.ProtoBuf.Constructor result = new org.jetbrains.kotlin.serialization.ProtoBuf.Constructor(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.flags_ = flags_; if (((bitField0_ & 0x00000002) == 0x00000002)) { valueParameter_ = java.util.Collections.unmodifiableList(valueParameter_); bitField0_ = (bitField0_ & ~0x00000002); } result.valueParameter_ = valueParameter_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000002; } result.sinceKotlinInfo_ = sinceKotlinInfo_; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(org.jetbrains.kotlin.serialization.ProtoBuf.Constructor other) { if (other == org.jetbrains.kotlin.serialization.ProtoBuf.Constructor.getDefaultInstance()) return this; if (other.hasFlags()) { setFlags(other.getFlags()); } if (!other.valueParameter_.isEmpty()) { if (valueParameter_.isEmpty()) { valueParameter_ = other.valueParameter_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureValueParameterIsMutable(); valueParameter_.addAll(other.valueParameter_); } } if (other.hasSinceKotlinInfo()) { setSinceKotlinInfo(other.getSinceKotlinInfo()); } this.mergeExtensionFields(other); setUnknownFields( getUnknownFields().concat(other.unknownFields)); return this; } public final boolean isInitialized() { for (int i = 0; i < getValueParameterCount(); i++) { if (!getValueParameter(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.serialization.ProtoBuf.Constructor parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.serialization.ProtoBuf.Constructor) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int flags_ = 6; /** * <code>optional int32 flags = 1 [default = 6];</code> * * <pre> *hasAnnotations *Visibility *isSecondary * </pre> */ public boolean hasFlags() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 flags = 1 [default = 6];</code> * * <pre> *hasAnnotations *Visibility *isSecondary * </pre> */ public int getFlags() { return flags_; } /** * <code>optional int32 flags = 1 [default = 6];</code> * * <pre> *hasAnnotations *Visibility *isSecondary * </pre> */ public Builder setFlags(int value) { bitField0_ |= 0x00000001; flags_ = value; return this; } /** * <code>optional int32 flags = 1 [default = 6];</code> * * <pre> *hasAnnotations *Visibility *isSecondary * </pre> */ public Builder clearFlags() { bitField0_ = (bitField0_ & ~0x00000001); flags_ = 6; return this; } private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter> valueParameter_ = java.util.Collections.emptyList(); private void ensureValueParameterIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { valueParameter_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter>(valueParameter_); bitField0_ |= 0x00000002; } } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 2;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter> getValueParameterList() { return java.util.Collections.unmodifiableList(valueParameter_); } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 2;</code> */ public int getValueParameterCount() { return valueParameter_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 2;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter getValueParameter(int index) { return valueParameter_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 2;</code> */ public Builder setValueParameter( int index, org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter value) { if (value == null) { throw new NullPointerException(); } ensureValueParameterIsMutable(); valueParameter_.set(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 2;</code> */ public Builder setValueParameter( int index, org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter.Builder builderForValue) { ensureValueParameterIsMutable(); valueParameter_.set(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 2;</code> */ public Builder addValueParameter(org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter value) { if (value == null) { throw new NullPointerException(); } ensureValueParameterIsMutable(); valueParameter_.add(value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 2;</code> */ public Builder addValueParameter( int index, org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter value) { if (value == null) { throw new NullPointerException(); } ensureValueParameterIsMutable(); valueParameter_.add(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 2;</code> */ public Builder addValueParameter( org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter.Builder builderForValue) { ensureValueParameterIsMutable(); valueParameter_.add(builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 2;</code> */ public Builder addValueParameter( int index, org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter.Builder builderForValue) { ensureValueParameterIsMutable(); valueParameter_.add(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 2;</code> */ public Builder addAllValueParameter( java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter> values) { ensureValueParameterIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, valueParameter_); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 2;</code> */ public Builder clearValueParameter() { valueParameter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 2;</code> */ public Builder removeValueParameter(int index) { ensureValueParameterIsMutable(); valueParameter_.remove(index); return this; } private int sinceKotlinInfo_ ; /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public boolean hasSinceKotlinInfo() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public int getSinceKotlinInfo() { return sinceKotlinInfo_; } /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public Builder setSinceKotlinInfo(int value) { bitField0_ |= 0x00000004; sinceKotlinInfo_ = value; return this; } /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public Builder clearSinceKotlinInfo() { bitField0_ = (bitField0_ & ~0x00000004); sinceKotlinInfo_ = 0; return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.Constructor) } static { defaultInstance = new Constructor(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.Constructor) } public interface FunctionOrBuilder extends // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.Function) org.jetbrains.kotlin.protobuf.GeneratedMessageLite. ExtendableMessageOrBuilder<Function> { /** * <code>optional int32 flags = 9 [default = 6];</code> * * <pre> *hasAnnotations *Visibility *Modality *MemberKind *isOperator *isInfix *isInline *isTailrec *isExternal *isSuspend *isHeader * </pre> */ boolean hasFlags(); /** * <code>optional int32 flags = 9 [default = 6];</code> * * <pre> *hasAnnotations *Visibility *Modality *MemberKind *isOperator *isInfix *isInline *isTailrec *isExternal *isSuspend *isHeader * </pre> */ int getFlags(); /** * <code>optional int32 old_flags = 1 [default = 6];</code> */ boolean hasOldFlags(); /** * <code>optional int32 old_flags = 1 [default = 6];</code> */ int getOldFlags(); /** * <code>required int32 name = 2;</code> */ boolean hasName(); /** * <code>required int32 name = 2;</code> */ int getName(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type return_type = 3;</code> */ boolean hasReturnType(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type return_type = 3;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Type getReturnType(); /** * <code>optional int32 return_type_id = 7;</code> */ boolean hasReturnTypeId(); /** * <code>optional int32 return_type_id = 7;</code> */ int getReturnTypeId(); /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter> getTypeParameterList(); /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter getTypeParameter(int index); /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ int getTypeParameterCount(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;</code> */ boolean hasReceiverType(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Type getReceiverType(); /** * <code>optional int32 receiver_type_id = 8;</code> */ boolean hasReceiverTypeId(); /** * <code>optional int32 receiver_type_id = 8;</code> */ int getReceiverTypeId(); /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 6;</code> */ java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter> getValueParameterList(); /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 6;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter getValueParameter(int index); /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 6;</code> */ int getValueParameterCount(); /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ boolean hasTypeTable(); /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable getTypeTable(); /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ boolean hasSinceKotlinInfo(); /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ int getSinceKotlinInfo(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.Function} */ public static final class Function extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableMessage< Function> implements // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.Function) FunctionOrBuilder { // Use Function.newBuilder() to construct. private Function(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder<org.jetbrains.kotlin.serialization.ProtoBuf.Function, ?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Function(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;} private static final Function defaultInstance; public static Function getDefaultInstance() { return defaultInstance; } public Function getDefaultInstanceForType() { return defaultInstance; } private final org.jetbrains.kotlin.protobuf.ByteString unknownFields; private Function( 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); 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_ |= 0x00000002; oldFlags_ = input.readInt32(); break; } case 16: { bitField0_ |= 0x00000004; name_ = input.readInt32(); break; } case 26: { org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder subBuilder = null; if (((bitField0_ & 0x00000008) == 0x00000008)) { subBuilder = returnType_.toBuilder(); } returnType_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Type.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(returnType_); returnType_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 34: { if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { typeParameter_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter>(); mutable_bitField0_ |= 0x00000020; } typeParameter_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.PARSER, extensionRegistry)); break; } case 42: { org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder subBuilder = null; if (((bitField0_ & 0x00000020) == 0x00000020)) { subBuilder = receiverType_.toBuilder(); } receiverType_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Type.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(receiverType_); receiverType_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000020; break; } case 50: { if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) { valueParameter_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter>(); mutable_bitField0_ |= 0x00000100; } valueParameter_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter.PARSER, extensionRegistry)); break; } case 56: { bitField0_ |= 0x00000010; returnTypeId_ = input.readInt32(); break; } case 64: { bitField0_ |= 0x00000040; receiverTypeId_ = input.readInt32(); break; } case 72: { bitField0_ |= 0x00000001; flags_ = input.readInt32(); break; } case 242: { org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.Builder subBuilder = null; if (((bitField0_ & 0x00000080) == 0x00000080)) { subBuilder = typeTable_.toBuilder(); } typeTable_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(typeTable_); typeTable_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000080; break; } case 248: { bitField0_ |= 0x00000100; sinceKotlinInfo_ = 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_ & 0x00000020) == 0x00000020)) { typeParameter_ = java.util.Collections.unmodifiableList(typeParameter_); } if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) { valueParameter_ = java.util.Collections.unmodifiableList(valueParameter_); } try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static org.jetbrains.kotlin.protobuf.Parser<Function> PARSER = new org.jetbrains.kotlin.protobuf.AbstractParser<Function>() { public Function parsePartialFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return new Function(input, extensionRegistry); } }; @java.lang.Override public org.jetbrains.kotlin.protobuf.Parser<Function> getParserForType() { return PARSER; } private int bitField0_; public static final int FLAGS_FIELD_NUMBER = 9; private int flags_; /** * <code>optional int32 flags = 9 [default = 6];</code> * * <pre> *hasAnnotations *Visibility *Modality *MemberKind *isOperator *isInfix *isInline *isTailrec *isExternal *isSuspend *isHeader * </pre> */ public boolean hasFlags() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 flags = 9 [default = 6];</code> * * <pre> *hasAnnotations *Visibility *Modality *MemberKind *isOperator *isInfix *isInline *isTailrec *isExternal *isSuspend *isHeader * </pre> */ public int getFlags() { return flags_; } public static final int OLD_FLAGS_FIELD_NUMBER = 1; private int oldFlags_; /** * <code>optional int32 old_flags = 1 [default = 6];</code> */ public boolean hasOldFlags() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional int32 old_flags = 1 [default = 6];</code> */ public int getOldFlags() { return oldFlags_; } public static final int NAME_FIELD_NUMBER = 2; private int name_; /** * <code>required int32 name = 2;</code> */ public boolean hasName() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>required int32 name = 2;</code> */ public int getName() { return name_; } public static final int RETURN_TYPE_FIELD_NUMBER = 3; private org.jetbrains.kotlin.serialization.ProtoBuf.Type returnType_; /** * <code>optional .org.jetbrains.kotlin.serialization.Type return_type = 3;</code> */ public boolean hasReturnType() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional .org.jetbrains.kotlin.serialization.Type return_type = 3;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getReturnType() { return returnType_; } public static final int RETURN_TYPE_ID_FIELD_NUMBER = 7; private int returnTypeId_; /** * <code>optional int32 return_type_id = 7;</code> */ public boolean hasReturnTypeId() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional int32 return_type_id = 7;</code> */ public int getReturnTypeId() { return returnTypeId_; } public static final int TYPE_PARAMETER_FIELD_NUMBER = 4; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter> typeParameter_; /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter> getTypeParameterList() { return typeParameter_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public java.util.List<? extends org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameterOrBuilder> getTypeParameterOrBuilderList() { return typeParameter_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public int getTypeParameterCount() { return typeParameter_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter getTypeParameter(int index) { return typeParameter_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameterOrBuilder getTypeParameterOrBuilder( int index) { return typeParameter_.get(index); } public static final int RECEIVER_TYPE_FIELD_NUMBER = 5; private org.jetbrains.kotlin.serialization.ProtoBuf.Type receiverType_; /** * <code>optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;</code> */ public boolean hasReceiverType() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * <code>optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getReceiverType() { return receiverType_; } public static final int RECEIVER_TYPE_ID_FIELD_NUMBER = 8; private int receiverTypeId_; /** * <code>optional int32 receiver_type_id = 8;</code> */ public boolean hasReceiverTypeId() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * <code>optional int32 receiver_type_id = 8;</code> */ public int getReceiverTypeId() { return receiverTypeId_; } public static final int VALUE_PARAMETER_FIELD_NUMBER = 6; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter> valueParameter_; /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 6;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter> getValueParameterList() { return valueParameter_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 6;</code> */ public java.util.List<? extends org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameterOrBuilder> getValueParameterOrBuilderList() { return valueParameter_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 6;</code> */ public int getValueParameterCount() { return valueParameter_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 6;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter getValueParameter(int index) { return valueParameter_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 6;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameterOrBuilder getValueParameterOrBuilder( int index) { return valueParameter_.get(index); } public static final int TYPE_TABLE_FIELD_NUMBER = 30; private org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable typeTable_; /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ public boolean hasTypeTable() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable getTypeTable() { return typeTable_; } public static final int SINCEKOTLININFO_FIELD_NUMBER = 31; private int sinceKotlinInfo_; /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public boolean hasSinceKotlinInfo() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public int getSinceKotlinInfo() { return sinceKotlinInfo_; } private void initFields() { flags_ = 6; oldFlags_ = 6; name_ = 0; returnType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); returnTypeId_ = 0; typeParameter_ = java.util.Collections.emptyList(); receiverType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); receiverTypeId_ = 0; valueParameter_ = java.util.Collections.emptyList(); typeTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.getDefaultInstance(); sinceKotlinInfo_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasName()) { memoizedIsInitialized = 0; return false; } if (hasReturnType()) { if (!getReturnType().isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getTypeParameterCount(); i++) { if (!getTypeParameter(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasReceiverType()) { if (!getReceiverType().isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getValueParameterCount(); i++) { if (!getValueParameter(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<org.jetbrains.kotlin.serialization.ProtoBuf.Function>.ExtensionWriter extensionWriter = newExtensionWriter(); if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(1, oldFlags_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt32(2, name_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeMessage(3, returnType_); } for (int i = 0; i < typeParameter_.size(); i++) { output.writeMessage(4, typeParameter_.get(i)); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeMessage(5, receiverType_); } for (int i = 0; i < valueParameter_.size(); i++) { output.writeMessage(6, valueParameter_.get(i)); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeInt32(7, returnTypeId_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeInt32(8, receiverTypeId_); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(9, flags_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeMessage(30, typeTable_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeInt32(31, sinceKotlinInfo_); } 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_ & 0x00000002) == 0x00000002)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(1, oldFlags_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(2, name_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(3, returnType_); } for (int i = 0; i < typeParameter_.size(); i++) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(4, typeParameter_.get(i)); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(5, receiverType_); } for (int i = 0; i < valueParameter_.size(); i++) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(6, valueParameter_.get(i)); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(7, returnTypeId_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(8, receiverTypeId_); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(9, flags_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(30, typeTable_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(31, sinceKotlinInfo_); } 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.serialization.ProtoBuf.Function parseFrom( org.jetbrains.kotlin.protobuf.ByteString data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.ProtoBuf.Function 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.serialization.ProtoBuf.Function parseFrom(byte[] data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.ProtoBuf.Function 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.serialization.ProtoBuf.Function parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.Function 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.serialization.ProtoBuf.Function parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.Function 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.serialization.ProtoBuf.Function parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.Function 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.serialization.ProtoBuf.Function prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.Function} */ public static final class Builder extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder< org.jetbrains.kotlin.serialization.ProtoBuf.Function, Builder> implements // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.Function) org.jetbrains.kotlin.serialization.ProtoBuf.FunctionOrBuilder { // Construct using org.jetbrains.kotlin.serialization.ProtoBuf.Function.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); flags_ = 6; bitField0_ = (bitField0_ & ~0x00000001); oldFlags_ = 6; bitField0_ = (bitField0_ & ~0x00000002); name_ = 0; bitField0_ = (bitField0_ & ~0x00000004); returnType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000008); returnTypeId_ = 0; bitField0_ = (bitField0_ & ~0x00000010); typeParameter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); receiverType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000040); receiverTypeId_ = 0; bitField0_ = (bitField0_ & ~0x00000080); valueParameter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); typeTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000200); sinceKotlinInfo_ = 0; bitField0_ = (bitField0_ & ~0x00000400); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public org.jetbrains.kotlin.serialization.ProtoBuf.Function getDefaultInstanceForType() { return org.jetbrains.kotlin.serialization.ProtoBuf.Function.getDefaultInstance(); } public org.jetbrains.kotlin.serialization.ProtoBuf.Function build() { org.jetbrains.kotlin.serialization.ProtoBuf.Function result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.serialization.ProtoBuf.Function buildPartial() { org.jetbrains.kotlin.serialization.ProtoBuf.Function result = new org.jetbrains.kotlin.serialization.ProtoBuf.Function(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.oldFlags_ = oldFlags_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.name_ = name_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.returnType_ = returnType_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.returnTypeId_ = returnTypeId_; if (((bitField0_ & 0x00000020) == 0x00000020)) { typeParameter_ = java.util.Collections.unmodifiableList(typeParameter_); bitField0_ = (bitField0_ & ~0x00000020); } result.typeParameter_ = typeParameter_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000020; } result.receiverType_ = receiverType_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000040; } result.receiverTypeId_ = receiverTypeId_; if (((bitField0_ & 0x00000100) == 0x00000100)) { valueParameter_ = java.util.Collections.unmodifiableList(valueParameter_); bitField0_ = (bitField0_ & ~0x00000100); } result.valueParameter_ = valueParameter_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000080; } result.typeTable_ = typeTable_; if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000100; } result.sinceKotlinInfo_ = sinceKotlinInfo_; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(org.jetbrains.kotlin.serialization.ProtoBuf.Function other) { if (other == org.jetbrains.kotlin.serialization.ProtoBuf.Function.getDefaultInstance()) return this; if (other.hasFlags()) { setFlags(other.getFlags()); } if (other.hasOldFlags()) { setOldFlags(other.getOldFlags()); } if (other.hasName()) { setName(other.getName()); } if (other.hasReturnType()) { mergeReturnType(other.getReturnType()); } if (other.hasReturnTypeId()) { setReturnTypeId(other.getReturnTypeId()); } if (!other.typeParameter_.isEmpty()) { if (typeParameter_.isEmpty()) { typeParameter_ = other.typeParameter_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureTypeParameterIsMutable(); typeParameter_.addAll(other.typeParameter_); } } if (other.hasReceiverType()) { mergeReceiverType(other.getReceiverType()); } if (other.hasReceiverTypeId()) { setReceiverTypeId(other.getReceiverTypeId()); } if (!other.valueParameter_.isEmpty()) { if (valueParameter_.isEmpty()) { valueParameter_ = other.valueParameter_; bitField0_ = (bitField0_ & ~0x00000100); } else { ensureValueParameterIsMutable(); valueParameter_.addAll(other.valueParameter_); } } if (other.hasTypeTable()) { mergeTypeTable(other.getTypeTable()); } if (other.hasSinceKotlinInfo()) { setSinceKotlinInfo(other.getSinceKotlinInfo()); } this.mergeExtensionFields(other); setUnknownFields( getUnknownFields().concat(other.unknownFields)); return this; } public final boolean isInitialized() { if (!hasName()) { return false; } if (hasReturnType()) { if (!getReturnType().isInitialized()) { return false; } } for (int i = 0; i < getTypeParameterCount(); i++) { if (!getTypeParameter(i).isInitialized()) { return false; } } if (hasReceiverType()) { if (!getReceiverType().isInitialized()) { return false; } } for (int i = 0; i < getValueParameterCount(); i++) { if (!getValueParameter(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.serialization.ProtoBuf.Function parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.serialization.ProtoBuf.Function) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int flags_ = 6; /** * <code>optional int32 flags = 9 [default = 6];</code> * * <pre> *hasAnnotations *Visibility *Modality *MemberKind *isOperator *isInfix *isInline *isTailrec *isExternal *isSuspend *isHeader * </pre> */ public boolean hasFlags() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 flags = 9 [default = 6];</code> * * <pre> *hasAnnotations *Visibility *Modality *MemberKind *isOperator *isInfix *isInline *isTailrec *isExternal *isSuspend *isHeader * </pre> */ public int getFlags() { return flags_; } /** * <code>optional int32 flags = 9 [default = 6];</code> * * <pre> *hasAnnotations *Visibility *Modality *MemberKind *isOperator *isInfix *isInline *isTailrec *isExternal *isSuspend *isHeader * </pre> */ public Builder setFlags(int value) { bitField0_ |= 0x00000001; flags_ = value; return this; } /** * <code>optional int32 flags = 9 [default = 6];</code> * * <pre> *hasAnnotations *Visibility *Modality *MemberKind *isOperator *isInfix *isInline *isTailrec *isExternal *isSuspend *isHeader * </pre> */ public Builder clearFlags() { bitField0_ = (bitField0_ & ~0x00000001); flags_ = 6; return this; } private int oldFlags_ = 6; /** * <code>optional int32 old_flags = 1 [default = 6];</code> */ public boolean hasOldFlags() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional int32 old_flags = 1 [default = 6];</code> */ public int getOldFlags() { return oldFlags_; } /** * <code>optional int32 old_flags = 1 [default = 6];</code> */ public Builder setOldFlags(int value) { bitField0_ |= 0x00000002; oldFlags_ = value; return this; } /** * <code>optional int32 old_flags = 1 [default = 6];</code> */ public Builder clearOldFlags() { bitField0_ = (bitField0_ & ~0x00000002); oldFlags_ = 6; return this; } private int name_ ; /** * <code>required int32 name = 2;</code> */ public boolean hasName() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>required int32 name = 2;</code> */ public int getName() { return name_; } /** * <code>required int32 name = 2;</code> */ public Builder setName(int value) { bitField0_ |= 0x00000004; name_ = value; return this; } /** * <code>required int32 name = 2;</code> */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000004); name_ = 0; return this; } private org.jetbrains.kotlin.serialization.ProtoBuf.Type returnType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type return_type = 3;</code> */ public boolean hasReturnType() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional .org.jetbrains.kotlin.serialization.Type return_type = 3;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getReturnType() { return returnType_; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type return_type = 3;</code> */ public Builder setReturnType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (value == null) { throw new NullPointerException(); } returnType_ = value; bitField0_ |= 0x00000008; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type return_type = 3;</code> */ public Builder setReturnType( org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) { returnType_ = builderForValue.build(); bitField0_ |= 0x00000008; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type return_type = 3;</code> */ public Builder mergeReturnType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (((bitField0_ & 0x00000008) == 0x00000008) && returnType_ != org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance()) { returnType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.newBuilder(returnType_).mergeFrom(value).buildPartial(); } else { returnType_ = value; } bitField0_ |= 0x00000008; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type return_type = 3;</code> */ public Builder clearReturnType() { returnType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000008); return this; } private int returnTypeId_ ; /** * <code>optional int32 return_type_id = 7;</code> */ public boolean hasReturnTypeId() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional int32 return_type_id = 7;</code> */ public int getReturnTypeId() { return returnTypeId_; } /** * <code>optional int32 return_type_id = 7;</code> */ public Builder setReturnTypeId(int value) { bitField0_ |= 0x00000010; returnTypeId_ = value; return this; } /** * <code>optional int32 return_type_id = 7;</code> */ public Builder clearReturnTypeId() { bitField0_ = (bitField0_ & ~0x00000010); returnTypeId_ = 0; return this; } private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter> typeParameter_ = java.util.Collections.emptyList(); private void ensureTypeParameterIsMutable() { if (!((bitField0_ & 0x00000020) == 0x00000020)) { typeParameter_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter>(typeParameter_); bitField0_ |= 0x00000020; } } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter> getTypeParameterList() { return java.util.Collections.unmodifiableList(typeParameter_); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public int getTypeParameterCount() { return typeParameter_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter getTypeParameter(int index) { return typeParameter_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public Builder setTypeParameter( int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter value) { if (value == null) { throw new NullPointerException(); } ensureTypeParameterIsMutable(); typeParameter_.set(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public Builder setTypeParameter( int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Builder builderForValue) { ensureTypeParameterIsMutable(); typeParameter_.set(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public Builder addTypeParameter(org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter value) { if (value == null) { throw new NullPointerException(); } ensureTypeParameterIsMutable(); typeParameter_.add(value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public Builder addTypeParameter( int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter value) { if (value == null) { throw new NullPointerException(); } ensureTypeParameterIsMutable(); typeParameter_.add(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public Builder addTypeParameter( org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Builder builderForValue) { ensureTypeParameterIsMutable(); typeParameter_.add(builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public Builder addTypeParameter( int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Builder builderForValue) { ensureTypeParameterIsMutable(); typeParameter_.add(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public Builder addAllTypeParameter( java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter> values) { ensureTypeParameterIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, typeParameter_); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public Builder clearTypeParameter() { typeParameter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public Builder removeTypeParameter(int index) { ensureTypeParameterIsMutable(); typeParameter_.remove(index); return this; } private org.jetbrains.kotlin.serialization.ProtoBuf.Type receiverType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;</code> */ public boolean hasReceiverType() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * <code>optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getReceiverType() { return receiverType_; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;</code> */ public Builder setReceiverType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (value == null) { throw new NullPointerException(); } receiverType_ = value; bitField0_ |= 0x00000040; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;</code> */ public Builder setReceiverType( org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) { receiverType_ = builderForValue.build(); bitField0_ |= 0x00000040; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;</code> */ public Builder mergeReceiverType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (((bitField0_ & 0x00000040) == 0x00000040) && receiverType_ != org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance()) { receiverType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.newBuilder(receiverType_).mergeFrom(value).buildPartial(); } else { receiverType_ = value; } bitField0_ |= 0x00000040; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;</code> */ public Builder clearReceiverType() { receiverType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000040); return this; } private int receiverTypeId_ ; /** * <code>optional int32 receiver_type_id = 8;</code> */ public boolean hasReceiverTypeId() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * <code>optional int32 receiver_type_id = 8;</code> */ public int getReceiverTypeId() { return receiverTypeId_; } /** * <code>optional int32 receiver_type_id = 8;</code> */ public Builder setReceiverTypeId(int value) { bitField0_ |= 0x00000080; receiverTypeId_ = value; return this; } /** * <code>optional int32 receiver_type_id = 8;</code> */ public Builder clearReceiverTypeId() { bitField0_ = (bitField0_ & ~0x00000080); receiverTypeId_ = 0; return this; } private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter> valueParameter_ = java.util.Collections.emptyList(); private void ensureValueParameterIsMutable() { if (!((bitField0_ & 0x00000100) == 0x00000100)) { valueParameter_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter>(valueParameter_); bitField0_ |= 0x00000100; } } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 6;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter> getValueParameterList() { return java.util.Collections.unmodifiableList(valueParameter_); } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 6;</code> */ public int getValueParameterCount() { return valueParameter_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 6;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter getValueParameter(int index) { return valueParameter_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 6;</code> */ public Builder setValueParameter( int index, org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter value) { if (value == null) { throw new NullPointerException(); } ensureValueParameterIsMutable(); valueParameter_.set(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 6;</code> */ public Builder setValueParameter( int index, org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter.Builder builderForValue) { ensureValueParameterIsMutable(); valueParameter_.set(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 6;</code> */ public Builder addValueParameter(org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter value) { if (value == null) { throw new NullPointerException(); } ensureValueParameterIsMutable(); valueParameter_.add(value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 6;</code> */ public Builder addValueParameter( int index, org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter value) { if (value == null) { throw new NullPointerException(); } ensureValueParameterIsMutable(); valueParameter_.add(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 6;</code> */ public Builder addValueParameter( org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter.Builder builderForValue) { ensureValueParameterIsMutable(); valueParameter_.add(builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 6;</code> */ public Builder addValueParameter( int index, org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter.Builder builderForValue) { ensureValueParameterIsMutable(); valueParameter_.add(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 6;</code> */ public Builder addAllValueParameter( java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter> values) { ensureValueParameterIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, valueParameter_); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 6;</code> */ public Builder clearValueParameter() { valueParameter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 6;</code> */ public Builder removeValueParameter(int index) { ensureValueParameterIsMutable(); valueParameter_.remove(index); return this; } private org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable typeTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.getDefaultInstance(); /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ public boolean hasTypeTable() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable getTypeTable() { return typeTable_; } /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ public Builder setTypeTable(org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable value) { if (value == null) { throw new NullPointerException(); } typeTable_ = value; bitField0_ |= 0x00000200; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ public Builder setTypeTable( org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.Builder builderForValue) { typeTable_ = builderForValue.build(); bitField0_ |= 0x00000200; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ public Builder mergeTypeTable(org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable value) { if (((bitField0_ & 0x00000200) == 0x00000200) && typeTable_ != org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.getDefaultInstance()) { typeTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.newBuilder(typeTable_).mergeFrom(value).buildPartial(); } else { typeTable_ = value; } bitField0_ |= 0x00000200; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;</code> */ public Builder clearTypeTable() { typeTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000200); return this; } private int sinceKotlinInfo_ ; /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public boolean hasSinceKotlinInfo() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public int getSinceKotlinInfo() { return sinceKotlinInfo_; } /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public Builder setSinceKotlinInfo(int value) { bitField0_ |= 0x00000400; sinceKotlinInfo_ = value; return this; } /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public Builder clearSinceKotlinInfo() { bitField0_ = (bitField0_ & ~0x00000400); sinceKotlinInfo_ = 0; return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.Function) } static { defaultInstance = new Function(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.Function) } public interface PropertyOrBuilder extends // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.Property) org.jetbrains.kotlin.protobuf.GeneratedMessageLite. ExtendableMessageOrBuilder<Property> { /** * <code>optional int32 flags = 11 [default = 518];</code> * * <pre> *hasAnnotations *Visibility *Modality *MemberKind *isVar *hasGetter *hasSetter *isConst *lateinit *hasConstant *isExternal *isDelegated *isHeader * </pre> */ boolean hasFlags(); /** * <code>optional int32 flags = 11 [default = 518];</code> * * <pre> *hasAnnotations *Visibility *Modality *MemberKind *isVar *hasGetter *hasSetter *isConst *lateinit *hasConstant *isExternal *isDelegated *isHeader * </pre> */ int getFlags(); /** * <code>optional int32 old_flags = 1 [default = 2054];</code> */ boolean hasOldFlags(); /** * <code>optional int32 old_flags = 1 [default = 2054];</code> */ int getOldFlags(); /** * <code>required int32 name = 2;</code> */ boolean hasName(); /** * <code>required int32 name = 2;</code> */ int getName(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type return_type = 3;</code> */ boolean hasReturnType(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type return_type = 3;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Type getReturnType(); /** * <code>optional int32 return_type_id = 9;</code> */ boolean hasReturnTypeId(); /** * <code>optional int32 return_type_id = 9;</code> */ int getReturnTypeId(); /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter> getTypeParameterList(); /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter getTypeParameter(int index); /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ int getTypeParameterCount(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;</code> */ boolean hasReceiverType(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Type getReceiverType(); /** * <code>optional int32 receiver_type_id = 10;</code> */ boolean hasReceiverTypeId(); /** * <code>optional int32 receiver_type_id = 10;</code> */ int getReceiverTypeId(); /** * <code>optional .org.jetbrains.kotlin.serialization.ValueParameter setter_value_parameter = 6;</code> */ boolean hasSetterValueParameter(); /** * <code>optional .org.jetbrains.kotlin.serialization.ValueParameter setter_value_parameter = 6;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter getSetterValueParameter(); /** * <code>optional int32 getter_flags = 7;</code> * * <pre> *hasAnnotations *Visibility *Modality *isNotDefault *isExternal *isInline * </pre> */ boolean hasGetterFlags(); /** * <code>optional int32 getter_flags = 7;</code> * * <pre> *hasAnnotations *Visibility *Modality *isNotDefault *isExternal *isInline * </pre> */ int getGetterFlags(); /** * <code>optional int32 setter_flags = 8;</code> */ boolean hasSetterFlags(); /** * <code>optional int32 setter_flags = 8;</code> */ int getSetterFlags(); /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ boolean hasSinceKotlinInfo(); /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ int getSinceKotlinInfo(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.Property} */ public static final class Property extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableMessage< Property> implements // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.Property) PropertyOrBuilder { // Use Property.newBuilder() to construct. private Property(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder<org.jetbrains.kotlin.serialization.ProtoBuf.Property, ?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Property(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;} private static final Property defaultInstance; public static Property getDefaultInstance() { return defaultInstance; } public Property getDefaultInstanceForType() { return defaultInstance; } private final org.jetbrains.kotlin.protobuf.ByteString unknownFields; private Property( 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); 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_ |= 0x00000002; oldFlags_ = input.readInt32(); break; } case 16: { bitField0_ |= 0x00000004; name_ = input.readInt32(); break; } case 26: { org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder subBuilder = null; if (((bitField0_ & 0x00000008) == 0x00000008)) { subBuilder = returnType_.toBuilder(); } returnType_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Type.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(returnType_); returnType_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 34: { if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { typeParameter_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter>(); mutable_bitField0_ |= 0x00000020; } typeParameter_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.PARSER, extensionRegistry)); break; } case 42: { org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder subBuilder = null; if (((bitField0_ & 0x00000020) == 0x00000020)) { subBuilder = receiverType_.toBuilder(); } receiverType_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Type.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(receiverType_); receiverType_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000020; break; } case 50: { org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter.Builder subBuilder = null; if (((bitField0_ & 0x00000080) == 0x00000080)) { subBuilder = setterValueParameter_.toBuilder(); } setterValueParameter_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(setterValueParameter_); setterValueParameter_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000080; break; } case 56: { bitField0_ |= 0x00000100; getterFlags_ = input.readInt32(); break; } case 64: { bitField0_ |= 0x00000200; setterFlags_ = input.readInt32(); break; } case 72: { bitField0_ |= 0x00000010; returnTypeId_ = input.readInt32(); break; } case 80: { bitField0_ |= 0x00000040; receiverTypeId_ = input.readInt32(); break; } case 88: { bitField0_ |= 0x00000001; flags_ = input.readInt32(); break; } case 248: { bitField0_ |= 0x00000400; sinceKotlinInfo_ = 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_ & 0x00000020) == 0x00000020)) { typeParameter_ = java.util.Collections.unmodifiableList(typeParameter_); } try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static org.jetbrains.kotlin.protobuf.Parser<Property> PARSER = new org.jetbrains.kotlin.protobuf.AbstractParser<Property>() { public Property parsePartialFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return new Property(input, extensionRegistry); } }; @java.lang.Override public org.jetbrains.kotlin.protobuf.Parser<Property> getParserForType() { return PARSER; } private int bitField0_; public static final int FLAGS_FIELD_NUMBER = 11; private int flags_; /** * <code>optional int32 flags = 11 [default = 518];</code> * * <pre> *hasAnnotations *Visibility *Modality *MemberKind *isVar *hasGetter *hasSetter *isConst *lateinit *hasConstant *isExternal *isDelegated *isHeader * </pre> */ public boolean hasFlags() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 flags = 11 [default = 518];</code> * * <pre> *hasAnnotations *Visibility *Modality *MemberKind *isVar *hasGetter *hasSetter *isConst *lateinit *hasConstant *isExternal *isDelegated *isHeader * </pre> */ public int getFlags() { return flags_; } public static final int OLD_FLAGS_FIELD_NUMBER = 1; private int oldFlags_; /** * <code>optional int32 old_flags = 1 [default = 2054];</code> */ public boolean hasOldFlags() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional int32 old_flags = 1 [default = 2054];</code> */ public int getOldFlags() { return oldFlags_; } public static final int NAME_FIELD_NUMBER = 2; private int name_; /** * <code>required int32 name = 2;</code> */ public boolean hasName() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>required int32 name = 2;</code> */ public int getName() { return name_; } public static final int RETURN_TYPE_FIELD_NUMBER = 3; private org.jetbrains.kotlin.serialization.ProtoBuf.Type returnType_; /** * <code>optional .org.jetbrains.kotlin.serialization.Type return_type = 3;</code> */ public boolean hasReturnType() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional .org.jetbrains.kotlin.serialization.Type return_type = 3;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getReturnType() { return returnType_; } public static final int RETURN_TYPE_ID_FIELD_NUMBER = 9; private int returnTypeId_; /** * <code>optional int32 return_type_id = 9;</code> */ public boolean hasReturnTypeId() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional int32 return_type_id = 9;</code> */ public int getReturnTypeId() { return returnTypeId_; } public static final int TYPE_PARAMETER_FIELD_NUMBER = 4; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter> typeParameter_; /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter> getTypeParameterList() { return typeParameter_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public java.util.List<? extends org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameterOrBuilder> getTypeParameterOrBuilderList() { return typeParameter_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public int getTypeParameterCount() { return typeParameter_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter getTypeParameter(int index) { return typeParameter_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameterOrBuilder getTypeParameterOrBuilder( int index) { return typeParameter_.get(index); } public static final int RECEIVER_TYPE_FIELD_NUMBER = 5; private org.jetbrains.kotlin.serialization.ProtoBuf.Type receiverType_; /** * <code>optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;</code> */ public boolean hasReceiverType() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * <code>optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getReceiverType() { return receiverType_; } public static final int RECEIVER_TYPE_ID_FIELD_NUMBER = 10; private int receiverTypeId_; /** * <code>optional int32 receiver_type_id = 10;</code> */ public boolean hasReceiverTypeId() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * <code>optional int32 receiver_type_id = 10;</code> */ public int getReceiverTypeId() { return receiverTypeId_; } public static final int SETTER_VALUE_PARAMETER_FIELD_NUMBER = 6; private org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter setterValueParameter_; /** * <code>optional .org.jetbrains.kotlin.serialization.ValueParameter setter_value_parameter = 6;</code> */ public boolean hasSetterValueParameter() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * <code>optional .org.jetbrains.kotlin.serialization.ValueParameter setter_value_parameter = 6;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter getSetterValueParameter() { return setterValueParameter_; } public static final int GETTER_FLAGS_FIELD_NUMBER = 7; private int getterFlags_; /** * <code>optional int32 getter_flags = 7;</code> * * <pre> *hasAnnotations *Visibility *Modality *isNotDefault *isExternal *isInline * </pre> */ public boolean hasGetterFlags() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * <code>optional int32 getter_flags = 7;</code> * * <pre> *hasAnnotations *Visibility *Modality *isNotDefault *isExternal *isInline * </pre> */ public int getGetterFlags() { return getterFlags_; } public static final int SETTER_FLAGS_FIELD_NUMBER = 8; private int setterFlags_; /** * <code>optional int32 setter_flags = 8;</code> */ public boolean hasSetterFlags() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * <code>optional int32 setter_flags = 8;</code> */ public int getSetterFlags() { return setterFlags_; } public static final int SINCEKOTLININFO_FIELD_NUMBER = 31; private int sinceKotlinInfo_; /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public boolean hasSinceKotlinInfo() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public int getSinceKotlinInfo() { return sinceKotlinInfo_; } private void initFields() { flags_ = 518; oldFlags_ = 2054; name_ = 0; returnType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); returnTypeId_ = 0; typeParameter_ = java.util.Collections.emptyList(); receiverType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); receiverTypeId_ = 0; setterValueParameter_ = org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter.getDefaultInstance(); getterFlags_ = 0; setterFlags_ = 0; sinceKotlinInfo_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasName()) { memoizedIsInitialized = 0; return false; } if (hasReturnType()) { if (!getReturnType().isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getTypeParameterCount(); i++) { if (!getTypeParameter(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasReceiverType()) { if (!getReceiverType().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasSetterValueParameter()) { if (!getSetterValueParameter().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<org.jetbrains.kotlin.serialization.ProtoBuf.Property>.ExtensionWriter extensionWriter = newExtensionWriter(); if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(1, oldFlags_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt32(2, name_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeMessage(3, returnType_); } for (int i = 0; i < typeParameter_.size(); i++) { output.writeMessage(4, typeParameter_.get(i)); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeMessage(5, receiverType_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeMessage(6, setterValueParameter_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeInt32(7, getterFlags_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeInt32(8, setterFlags_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeInt32(9, returnTypeId_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeInt32(10, receiverTypeId_); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(11, flags_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { output.writeInt32(31, sinceKotlinInfo_); } 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_ & 0x00000002) == 0x00000002)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(1, oldFlags_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(2, name_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(3, returnType_); } for (int i = 0; i < typeParameter_.size(); i++) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(4, typeParameter_.get(i)); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(5, receiverType_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(6, setterValueParameter_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(7, getterFlags_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(8, setterFlags_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(9, returnTypeId_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(10, receiverTypeId_); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(11, flags_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(31, sinceKotlinInfo_); } 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.serialization.ProtoBuf.Property parseFrom( org.jetbrains.kotlin.protobuf.ByteString data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.ProtoBuf.Property 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.serialization.ProtoBuf.Property parseFrom(byte[] data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.ProtoBuf.Property 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.serialization.ProtoBuf.Property parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.Property 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.serialization.ProtoBuf.Property parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.Property 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.serialization.ProtoBuf.Property parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.Property 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.serialization.ProtoBuf.Property prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.Property} */ public static final class Builder extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder< org.jetbrains.kotlin.serialization.ProtoBuf.Property, Builder> implements // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.Property) org.jetbrains.kotlin.serialization.ProtoBuf.PropertyOrBuilder { // Construct using org.jetbrains.kotlin.serialization.ProtoBuf.Property.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); flags_ = 518; bitField0_ = (bitField0_ & ~0x00000001); oldFlags_ = 2054; bitField0_ = (bitField0_ & ~0x00000002); name_ = 0; bitField0_ = (bitField0_ & ~0x00000004); returnType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000008); returnTypeId_ = 0; bitField0_ = (bitField0_ & ~0x00000010); typeParameter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); receiverType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000040); receiverTypeId_ = 0; bitField0_ = (bitField0_ & ~0x00000080); setterValueParameter_ = org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000100); getterFlags_ = 0; bitField0_ = (bitField0_ & ~0x00000200); setterFlags_ = 0; bitField0_ = (bitField0_ & ~0x00000400); sinceKotlinInfo_ = 0; bitField0_ = (bitField0_ & ~0x00000800); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public org.jetbrains.kotlin.serialization.ProtoBuf.Property getDefaultInstanceForType() { return org.jetbrains.kotlin.serialization.ProtoBuf.Property.getDefaultInstance(); } public org.jetbrains.kotlin.serialization.ProtoBuf.Property build() { org.jetbrains.kotlin.serialization.ProtoBuf.Property result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.serialization.ProtoBuf.Property buildPartial() { org.jetbrains.kotlin.serialization.ProtoBuf.Property result = new org.jetbrains.kotlin.serialization.ProtoBuf.Property(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.oldFlags_ = oldFlags_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.name_ = name_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.returnType_ = returnType_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.returnTypeId_ = returnTypeId_; if (((bitField0_ & 0x00000020) == 0x00000020)) { typeParameter_ = java.util.Collections.unmodifiableList(typeParameter_); bitField0_ = (bitField0_ & ~0x00000020); } result.typeParameter_ = typeParameter_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000020; } result.receiverType_ = receiverType_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000040; } result.receiverTypeId_ = receiverTypeId_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000080; } result.setterValueParameter_ = setterValueParameter_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000100; } result.getterFlags_ = getterFlags_; if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000200; } result.setterFlags_ = setterFlags_; if (((from_bitField0_ & 0x00000800) == 0x00000800)) { to_bitField0_ |= 0x00000400; } result.sinceKotlinInfo_ = sinceKotlinInfo_; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(org.jetbrains.kotlin.serialization.ProtoBuf.Property other) { if (other == org.jetbrains.kotlin.serialization.ProtoBuf.Property.getDefaultInstance()) return this; if (other.hasFlags()) { setFlags(other.getFlags()); } if (other.hasOldFlags()) { setOldFlags(other.getOldFlags()); } if (other.hasName()) { setName(other.getName()); } if (other.hasReturnType()) { mergeReturnType(other.getReturnType()); } if (other.hasReturnTypeId()) { setReturnTypeId(other.getReturnTypeId()); } if (!other.typeParameter_.isEmpty()) { if (typeParameter_.isEmpty()) { typeParameter_ = other.typeParameter_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureTypeParameterIsMutable(); typeParameter_.addAll(other.typeParameter_); } } if (other.hasReceiverType()) { mergeReceiverType(other.getReceiverType()); } if (other.hasReceiverTypeId()) { setReceiverTypeId(other.getReceiverTypeId()); } if (other.hasSetterValueParameter()) { mergeSetterValueParameter(other.getSetterValueParameter()); } if (other.hasGetterFlags()) { setGetterFlags(other.getGetterFlags()); } if (other.hasSetterFlags()) { setSetterFlags(other.getSetterFlags()); } if (other.hasSinceKotlinInfo()) { setSinceKotlinInfo(other.getSinceKotlinInfo()); } this.mergeExtensionFields(other); setUnknownFields( getUnknownFields().concat(other.unknownFields)); return this; } public final boolean isInitialized() { if (!hasName()) { return false; } if (hasReturnType()) { if (!getReturnType().isInitialized()) { return false; } } for (int i = 0; i < getTypeParameterCount(); i++) { if (!getTypeParameter(i).isInitialized()) { return false; } } if (hasReceiverType()) { if (!getReceiverType().isInitialized()) { return false; } } if (hasSetterValueParameter()) { if (!getSetterValueParameter().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.serialization.ProtoBuf.Property parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.serialization.ProtoBuf.Property) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int flags_ = 518; /** * <code>optional int32 flags = 11 [default = 518];</code> * * <pre> *hasAnnotations *Visibility *Modality *MemberKind *isVar *hasGetter *hasSetter *isConst *lateinit *hasConstant *isExternal *isDelegated *isHeader * </pre> */ public boolean hasFlags() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 flags = 11 [default = 518];</code> * * <pre> *hasAnnotations *Visibility *Modality *MemberKind *isVar *hasGetter *hasSetter *isConst *lateinit *hasConstant *isExternal *isDelegated *isHeader * </pre> */ public int getFlags() { return flags_; } /** * <code>optional int32 flags = 11 [default = 518];</code> * * <pre> *hasAnnotations *Visibility *Modality *MemberKind *isVar *hasGetter *hasSetter *isConst *lateinit *hasConstant *isExternal *isDelegated *isHeader * </pre> */ public Builder setFlags(int value) { bitField0_ |= 0x00000001; flags_ = value; return this; } /** * <code>optional int32 flags = 11 [default = 518];</code> * * <pre> *hasAnnotations *Visibility *Modality *MemberKind *isVar *hasGetter *hasSetter *isConst *lateinit *hasConstant *isExternal *isDelegated *isHeader * </pre> */ public Builder clearFlags() { bitField0_ = (bitField0_ & ~0x00000001); flags_ = 518; return this; } private int oldFlags_ = 2054; /** * <code>optional int32 old_flags = 1 [default = 2054];</code> */ public boolean hasOldFlags() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional int32 old_flags = 1 [default = 2054];</code> */ public int getOldFlags() { return oldFlags_; } /** * <code>optional int32 old_flags = 1 [default = 2054];</code> */ public Builder setOldFlags(int value) { bitField0_ |= 0x00000002; oldFlags_ = value; return this; } /** * <code>optional int32 old_flags = 1 [default = 2054];</code> */ public Builder clearOldFlags() { bitField0_ = (bitField0_ & ~0x00000002); oldFlags_ = 2054; return this; } private int name_ ; /** * <code>required int32 name = 2;</code> */ public boolean hasName() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>required int32 name = 2;</code> */ public int getName() { return name_; } /** * <code>required int32 name = 2;</code> */ public Builder setName(int value) { bitField0_ |= 0x00000004; name_ = value; return this; } /** * <code>required int32 name = 2;</code> */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000004); name_ = 0; return this; } private org.jetbrains.kotlin.serialization.ProtoBuf.Type returnType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type return_type = 3;</code> */ public boolean hasReturnType() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional .org.jetbrains.kotlin.serialization.Type return_type = 3;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getReturnType() { return returnType_; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type return_type = 3;</code> */ public Builder setReturnType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (value == null) { throw new NullPointerException(); } returnType_ = value; bitField0_ |= 0x00000008; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type return_type = 3;</code> */ public Builder setReturnType( org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) { returnType_ = builderForValue.build(); bitField0_ |= 0x00000008; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type return_type = 3;</code> */ public Builder mergeReturnType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (((bitField0_ & 0x00000008) == 0x00000008) && returnType_ != org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance()) { returnType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.newBuilder(returnType_).mergeFrom(value).buildPartial(); } else { returnType_ = value; } bitField0_ |= 0x00000008; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type return_type = 3;</code> */ public Builder clearReturnType() { returnType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000008); return this; } private int returnTypeId_ ; /** * <code>optional int32 return_type_id = 9;</code> */ public boolean hasReturnTypeId() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional int32 return_type_id = 9;</code> */ public int getReturnTypeId() { return returnTypeId_; } /** * <code>optional int32 return_type_id = 9;</code> */ public Builder setReturnTypeId(int value) { bitField0_ |= 0x00000010; returnTypeId_ = value; return this; } /** * <code>optional int32 return_type_id = 9;</code> */ public Builder clearReturnTypeId() { bitField0_ = (bitField0_ & ~0x00000010); returnTypeId_ = 0; return this; } private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter> typeParameter_ = java.util.Collections.emptyList(); private void ensureTypeParameterIsMutable() { if (!((bitField0_ & 0x00000020) == 0x00000020)) { typeParameter_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter>(typeParameter_); bitField0_ |= 0x00000020; } } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter> getTypeParameterList() { return java.util.Collections.unmodifiableList(typeParameter_); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public int getTypeParameterCount() { return typeParameter_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter getTypeParameter(int index) { return typeParameter_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public Builder setTypeParameter( int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter value) { if (value == null) { throw new NullPointerException(); } ensureTypeParameterIsMutable(); typeParameter_.set(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public Builder setTypeParameter( int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Builder builderForValue) { ensureTypeParameterIsMutable(); typeParameter_.set(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public Builder addTypeParameter(org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter value) { if (value == null) { throw new NullPointerException(); } ensureTypeParameterIsMutable(); typeParameter_.add(value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public Builder addTypeParameter( int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter value) { if (value == null) { throw new NullPointerException(); } ensureTypeParameterIsMutable(); typeParameter_.add(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public Builder addTypeParameter( org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Builder builderForValue) { ensureTypeParameterIsMutable(); typeParameter_.add(builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public Builder addTypeParameter( int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Builder builderForValue) { ensureTypeParameterIsMutable(); typeParameter_.add(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public Builder addAllTypeParameter( java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter> values) { ensureTypeParameterIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, typeParameter_); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public Builder clearTypeParameter() { typeParameter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;</code> */ public Builder removeTypeParameter(int index) { ensureTypeParameterIsMutable(); typeParameter_.remove(index); return this; } private org.jetbrains.kotlin.serialization.ProtoBuf.Type receiverType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;</code> */ public boolean hasReceiverType() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * <code>optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getReceiverType() { return receiverType_; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;</code> */ public Builder setReceiverType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (value == null) { throw new NullPointerException(); } receiverType_ = value; bitField0_ |= 0x00000040; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;</code> */ public Builder setReceiverType( org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) { receiverType_ = builderForValue.build(); bitField0_ |= 0x00000040; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;</code> */ public Builder mergeReceiverType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (((bitField0_ & 0x00000040) == 0x00000040) && receiverType_ != org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance()) { receiverType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.newBuilder(receiverType_).mergeFrom(value).buildPartial(); } else { receiverType_ = value; } bitField0_ |= 0x00000040; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;</code> */ public Builder clearReceiverType() { receiverType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000040); return this; } private int receiverTypeId_ ; /** * <code>optional int32 receiver_type_id = 10;</code> */ public boolean hasReceiverTypeId() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * <code>optional int32 receiver_type_id = 10;</code> */ public int getReceiverTypeId() { return receiverTypeId_; } /** * <code>optional int32 receiver_type_id = 10;</code> */ public Builder setReceiverTypeId(int value) { bitField0_ |= 0x00000080; receiverTypeId_ = value; return this; } /** * <code>optional int32 receiver_type_id = 10;</code> */ public Builder clearReceiverTypeId() { bitField0_ = (bitField0_ & ~0x00000080); receiverTypeId_ = 0; return this; } private org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter setterValueParameter_ = org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter.getDefaultInstance(); /** * <code>optional .org.jetbrains.kotlin.serialization.ValueParameter setter_value_parameter = 6;</code> */ public boolean hasSetterValueParameter() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * <code>optional .org.jetbrains.kotlin.serialization.ValueParameter setter_value_parameter = 6;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter getSetterValueParameter() { return setterValueParameter_; } /** * <code>optional .org.jetbrains.kotlin.serialization.ValueParameter setter_value_parameter = 6;</code> */ public Builder setSetterValueParameter(org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter value) { if (value == null) { throw new NullPointerException(); } setterValueParameter_ = value; bitField0_ |= 0x00000100; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.ValueParameter setter_value_parameter = 6;</code> */ public Builder setSetterValueParameter( org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter.Builder builderForValue) { setterValueParameter_ = builderForValue.build(); bitField0_ |= 0x00000100; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.ValueParameter setter_value_parameter = 6;</code> */ public Builder mergeSetterValueParameter(org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter value) { if (((bitField0_ & 0x00000100) == 0x00000100) && setterValueParameter_ != org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter.getDefaultInstance()) { setterValueParameter_ = org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter.newBuilder(setterValueParameter_).mergeFrom(value).buildPartial(); } else { setterValueParameter_ = value; } bitField0_ |= 0x00000100; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.ValueParameter setter_value_parameter = 6;</code> */ public Builder clearSetterValueParameter() { setterValueParameter_ = org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000100); return this; } private int getterFlags_ ; /** * <code>optional int32 getter_flags = 7;</code> * * <pre> *hasAnnotations *Visibility *Modality *isNotDefault *isExternal *isInline * </pre> */ public boolean hasGetterFlags() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * <code>optional int32 getter_flags = 7;</code> * * <pre> *hasAnnotations *Visibility *Modality *isNotDefault *isExternal *isInline * </pre> */ public int getGetterFlags() { return getterFlags_; } /** * <code>optional int32 getter_flags = 7;</code> * * <pre> *hasAnnotations *Visibility *Modality *isNotDefault *isExternal *isInline * </pre> */ public Builder setGetterFlags(int value) { bitField0_ |= 0x00000200; getterFlags_ = value; return this; } /** * <code>optional int32 getter_flags = 7;</code> * * <pre> *hasAnnotations *Visibility *Modality *isNotDefault *isExternal *isInline * </pre> */ public Builder clearGetterFlags() { bitField0_ = (bitField0_ & ~0x00000200); getterFlags_ = 0; return this; } private int setterFlags_ ; /** * <code>optional int32 setter_flags = 8;</code> */ public boolean hasSetterFlags() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * <code>optional int32 setter_flags = 8;</code> */ public int getSetterFlags() { return setterFlags_; } /** * <code>optional int32 setter_flags = 8;</code> */ public Builder setSetterFlags(int value) { bitField0_ |= 0x00000400; setterFlags_ = value; return this; } /** * <code>optional int32 setter_flags = 8;</code> */ public Builder clearSetterFlags() { bitField0_ = (bitField0_ & ~0x00000400); setterFlags_ = 0; return this; } private int sinceKotlinInfo_ ; /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public boolean hasSinceKotlinInfo() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public int getSinceKotlinInfo() { return sinceKotlinInfo_; } /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public Builder setSinceKotlinInfo(int value) { bitField0_ |= 0x00000800; sinceKotlinInfo_ = value; return this; } /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public Builder clearSinceKotlinInfo() { bitField0_ = (bitField0_ & ~0x00000800); sinceKotlinInfo_ = 0; return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.Property) } static { defaultInstance = new Property(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.Property) } public interface ValueParameterOrBuilder extends // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.ValueParameter) org.jetbrains.kotlin.protobuf.GeneratedMessageLite. ExtendableMessageOrBuilder<ValueParameter> { /** * <code>optional int32 flags = 1 [default = 0];</code> * * <pre> *declaresDefault *hasAnnotations *isCrossinline *isNoinline * </pre> */ boolean hasFlags(); /** * <code>optional int32 flags = 1 [default = 0];</code> * * <pre> *declaresDefault *hasAnnotations *isCrossinline *isNoinline * </pre> */ int getFlags(); /** * <code>required int32 name = 2;</code> */ boolean hasName(); /** * <code>required int32 name = 2;</code> */ int getName(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type type = 3;</code> */ boolean hasType(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type type = 3;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Type getType(); /** * <code>optional int32 type_id = 5;</code> */ boolean hasTypeId(); /** * <code>optional int32 type_id = 5;</code> */ int getTypeId(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type vararg_element_type = 4;</code> */ boolean hasVarargElementType(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type vararg_element_type = 4;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Type getVarargElementType(); /** * <code>optional int32 vararg_element_type_id = 6;</code> */ boolean hasVarargElementTypeId(); /** * <code>optional int32 vararg_element_type_id = 6;</code> */ int getVarargElementTypeId(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.ValueParameter} */ public static final class ValueParameter extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableMessage< ValueParameter> implements // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.ValueParameter) ValueParameterOrBuilder { // Use ValueParameter.newBuilder() to construct. private ValueParameter(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder<org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter, ?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ValueParameter(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;} private static final ValueParameter defaultInstance; public static ValueParameter getDefaultInstance() { return defaultInstance; } public ValueParameter getDefaultInstanceForType() { return defaultInstance; } private final org.jetbrains.kotlin.protobuf.ByteString unknownFields; private ValueParameter( 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); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; flags_ = input.readInt32(); break; } case 16: { bitField0_ |= 0x00000002; name_ = input.readInt32(); break; } case 26: { org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder subBuilder = null; if (((bitField0_ & 0x00000004) == 0x00000004)) { subBuilder = type_.toBuilder(); } type_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Type.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(type_); type_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 34: { org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder subBuilder = null; if (((bitField0_ & 0x00000010) == 0x00000010)) { subBuilder = varargElementType_.toBuilder(); } varargElementType_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Type.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(varargElementType_); varargElementType_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } case 40: { bitField0_ |= 0x00000008; typeId_ = input.readInt32(); break; } case 48: { bitField0_ |= 0x00000020; varargElementTypeId_ = 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<ValueParameter> PARSER = new org.jetbrains.kotlin.protobuf.AbstractParser<ValueParameter>() { public ValueParameter parsePartialFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return new ValueParameter(input, extensionRegistry); } }; @java.lang.Override public org.jetbrains.kotlin.protobuf.Parser<ValueParameter> getParserForType() { return PARSER; } private int bitField0_; public static final int FLAGS_FIELD_NUMBER = 1; private int flags_; /** * <code>optional int32 flags = 1 [default = 0];</code> * * <pre> *declaresDefault *hasAnnotations *isCrossinline *isNoinline * </pre> */ public boolean hasFlags() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 flags = 1 [default = 0];</code> * * <pre> *declaresDefault *hasAnnotations *isCrossinline *isNoinline * </pre> */ public int getFlags() { return flags_; } public static final int NAME_FIELD_NUMBER = 2; private int name_; /** * <code>required int32 name = 2;</code> */ public boolean hasName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>required int32 name = 2;</code> */ public int getName() { return name_; } public static final int TYPE_FIELD_NUMBER = 3; private org.jetbrains.kotlin.serialization.ProtoBuf.Type type_; /** * <code>optional .org.jetbrains.kotlin.serialization.Type type = 3;</code> */ public boolean hasType() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional .org.jetbrains.kotlin.serialization.Type type = 3;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getType() { return type_; } public static final int TYPE_ID_FIELD_NUMBER = 5; private int typeId_; /** * <code>optional int32 type_id = 5;</code> */ public boolean hasTypeId() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional int32 type_id = 5;</code> */ public int getTypeId() { return typeId_; } public static final int VARARG_ELEMENT_TYPE_FIELD_NUMBER = 4; private org.jetbrains.kotlin.serialization.ProtoBuf.Type varargElementType_; /** * <code>optional .org.jetbrains.kotlin.serialization.Type vararg_element_type = 4;</code> */ public boolean hasVarargElementType() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional .org.jetbrains.kotlin.serialization.Type vararg_element_type = 4;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getVarargElementType() { return varargElementType_; } public static final int VARARG_ELEMENT_TYPE_ID_FIELD_NUMBER = 6; private int varargElementTypeId_; /** * <code>optional int32 vararg_element_type_id = 6;</code> */ public boolean hasVarargElementTypeId() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * <code>optional int32 vararg_element_type_id = 6;</code> */ public int getVarargElementTypeId() { return varargElementTypeId_; } private void initFields() { flags_ = 0; name_ = 0; type_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); typeId_ = 0; varargElementType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); varargElementTypeId_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasName()) { memoizedIsInitialized = 0; return false; } if (hasType()) { if (!getType().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasVarargElementType()) { if (!getVarargElementType().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<org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter>.ExtensionWriter extensionWriter = newExtensionWriter(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, flags_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, name_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(3, type_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(4, varargElementType_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt32(5, typeId_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeInt32(6, varargElementTypeId_); } 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_ & 0x00000001) == 0x00000001)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(1, flags_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(2, name_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(3, type_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(4, varargElementType_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(5, typeId_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(6, varargElementTypeId_); } 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.serialization.ProtoBuf.ValueParameter parseFrom( org.jetbrains.kotlin.protobuf.ByteString data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter 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.serialization.ProtoBuf.ValueParameter parseFrom(byte[] data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter 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.serialization.ProtoBuf.ValueParameter parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter 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.serialization.ProtoBuf.ValueParameter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter 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.serialization.ProtoBuf.ValueParameter parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter 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.serialization.ProtoBuf.ValueParameter prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.ValueParameter} */ public static final class Builder extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder< org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter, Builder> implements // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.ValueParameter) org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameterOrBuilder { // Construct using org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); flags_ = 0; bitField0_ = (bitField0_ & ~0x00000001); name_ = 0; bitField0_ = (bitField0_ & ~0x00000002); type_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000004); typeId_ = 0; bitField0_ = (bitField0_ & ~0x00000008); varargElementType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000010); varargElementTypeId_ = 0; bitField0_ = (bitField0_ & ~0x00000020); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter getDefaultInstanceForType() { return org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter.getDefaultInstance(); } public org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter build() { org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter buildPartial() { org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter result = new org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter(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.name_ = name_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.type_ = type_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.typeId_ = typeId_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.varargElementType_ = varargElementType_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.varargElementTypeId_ = varargElementTypeId_; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter other) { if (other == org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter.getDefaultInstance()) return this; if (other.hasFlags()) { setFlags(other.getFlags()); } if (other.hasName()) { setName(other.getName()); } if (other.hasType()) { mergeType(other.getType()); } if (other.hasTypeId()) { setTypeId(other.getTypeId()); } if (other.hasVarargElementType()) { mergeVarargElementType(other.getVarargElementType()); } if (other.hasVarargElementTypeId()) { setVarargElementTypeId(other.getVarargElementTypeId()); } this.mergeExtensionFields(other); setUnknownFields( getUnknownFields().concat(other.unknownFields)); return this; } public final boolean isInitialized() { if (!hasName()) { return false; } if (hasType()) { if (!getType().isInitialized()) { return false; } } if (hasVarargElementType()) { if (!getVarargElementType().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.serialization.ProtoBuf.ValueParameter parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int flags_ ; /** * <code>optional int32 flags = 1 [default = 0];</code> * * <pre> *declaresDefault *hasAnnotations *isCrossinline *isNoinline * </pre> */ public boolean hasFlags() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 flags = 1 [default = 0];</code> * * <pre> *declaresDefault *hasAnnotations *isCrossinline *isNoinline * </pre> */ public int getFlags() { return flags_; } /** * <code>optional int32 flags = 1 [default = 0];</code> * * <pre> *declaresDefault *hasAnnotations *isCrossinline *isNoinline * </pre> */ public Builder setFlags(int value) { bitField0_ |= 0x00000001; flags_ = value; return this; } /** * <code>optional int32 flags = 1 [default = 0];</code> * * <pre> *declaresDefault *hasAnnotations *isCrossinline *isNoinline * </pre> */ public Builder clearFlags() { bitField0_ = (bitField0_ & ~0x00000001); flags_ = 0; return this; } private int name_ ; /** * <code>required int32 name = 2;</code> */ public boolean hasName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>required int32 name = 2;</code> */ public int getName() { return name_; } /** * <code>required int32 name = 2;</code> */ public Builder setName(int value) { bitField0_ |= 0x00000002; name_ = value; return this; } /** * <code>required int32 name = 2;</code> */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = 0; return this; } private org.jetbrains.kotlin.serialization.ProtoBuf.Type type_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type type = 3;</code> */ public boolean hasType() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional .org.jetbrains.kotlin.serialization.Type type = 3;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getType() { return type_; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type type = 3;</code> */ public Builder setType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (value == null) { throw new NullPointerException(); } type_ = value; bitField0_ |= 0x00000004; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type type = 3;</code> */ public Builder setType( org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) { type_ = builderForValue.build(); bitField0_ |= 0x00000004; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type type = 3;</code> */ public Builder mergeType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (((bitField0_ & 0x00000004) == 0x00000004) && type_ != org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance()) { type_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.newBuilder(type_).mergeFrom(value).buildPartial(); } else { type_ = value; } bitField0_ |= 0x00000004; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type type = 3;</code> */ public Builder clearType() { type_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000004); return this; } private int typeId_ ; /** * <code>optional int32 type_id = 5;</code> */ public boolean hasTypeId() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional int32 type_id = 5;</code> */ public int getTypeId() { return typeId_; } /** * <code>optional int32 type_id = 5;</code> */ public Builder setTypeId(int value) { bitField0_ |= 0x00000008; typeId_ = value; return this; } /** * <code>optional int32 type_id = 5;</code> */ public Builder clearTypeId() { bitField0_ = (bitField0_ & ~0x00000008); typeId_ = 0; return this; } private org.jetbrains.kotlin.serialization.ProtoBuf.Type varargElementType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type vararg_element_type = 4;</code> */ public boolean hasVarargElementType() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional .org.jetbrains.kotlin.serialization.Type vararg_element_type = 4;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getVarargElementType() { return varargElementType_; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type vararg_element_type = 4;</code> */ public Builder setVarargElementType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (value == null) { throw new NullPointerException(); } varargElementType_ = value; bitField0_ |= 0x00000010; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type vararg_element_type = 4;</code> */ public Builder setVarargElementType( org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) { varargElementType_ = builderForValue.build(); bitField0_ |= 0x00000010; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type vararg_element_type = 4;</code> */ public Builder mergeVarargElementType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (((bitField0_ & 0x00000010) == 0x00000010) && varargElementType_ != org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance()) { varargElementType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.newBuilder(varargElementType_).mergeFrom(value).buildPartial(); } else { varargElementType_ = value; } bitField0_ |= 0x00000010; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type vararg_element_type = 4;</code> */ public Builder clearVarargElementType() { varargElementType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000010); return this; } private int varargElementTypeId_ ; /** * <code>optional int32 vararg_element_type_id = 6;</code> */ public boolean hasVarargElementTypeId() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * <code>optional int32 vararg_element_type_id = 6;</code> */ public int getVarargElementTypeId() { return varargElementTypeId_; } /** * <code>optional int32 vararg_element_type_id = 6;</code> */ public Builder setVarargElementTypeId(int value) { bitField0_ |= 0x00000020; varargElementTypeId_ = value; return this; } /** * <code>optional int32 vararg_element_type_id = 6;</code> */ public Builder clearVarargElementTypeId() { bitField0_ = (bitField0_ & ~0x00000020); varargElementTypeId_ = 0; return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.ValueParameter) } static { defaultInstance = new ValueParameter(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.ValueParameter) } public interface TypeAliasOrBuilder extends // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.TypeAlias) org.jetbrains.kotlin.protobuf.GeneratedMessageLite. ExtendableMessageOrBuilder<TypeAlias> { /** * <code>optional int32 flags = 1 [default = 6];</code> * * <pre> *hasAnnotations *Visibility * </pre> */ boolean hasFlags(); /** * <code>optional int32 flags = 1 [default = 6];</code> * * <pre> *hasAnnotations *Visibility * </pre> */ int getFlags(); /** * <code>required int32 name = 2;</code> */ boolean hasName(); /** * <code>required int32 name = 2;</code> */ int getName(); /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 3;</code> */ java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter> getTypeParameterList(); /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 3;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter getTypeParameter(int index); /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 3;</code> */ int getTypeParameterCount(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type underlying_type = 4;</code> */ boolean hasUnderlyingType(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type underlying_type = 4;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Type getUnderlyingType(); /** * <code>optional int32 underlying_type_id = 5;</code> */ boolean hasUnderlyingTypeId(); /** * <code>optional int32 underlying_type_id = 5;</code> */ int getUnderlyingTypeId(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type expanded_type = 6;</code> */ boolean hasExpandedType(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type expanded_type = 6;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Type getExpandedType(); /** * <code>optional int32 expanded_type_id = 7;</code> */ boolean hasExpandedTypeId(); /** * <code>optional int32 expanded_type_id = 7;</code> */ int getExpandedTypeId(); /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation> getAnnotationList(); /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Annotation getAnnotation(int index); /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ int getAnnotationCount(); /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ boolean hasSinceKotlinInfo(); /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ int getSinceKotlinInfo(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.TypeAlias} */ public static final class TypeAlias extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableMessage< TypeAlias> implements // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.TypeAlias) TypeAliasOrBuilder { // Use TypeAlias.newBuilder() to construct. private TypeAlias(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder<org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias, ?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private TypeAlias(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;} private static final TypeAlias defaultInstance; public static TypeAlias getDefaultInstance() { return defaultInstance; } public TypeAlias getDefaultInstanceForType() { return defaultInstance; } private final org.jetbrains.kotlin.protobuf.ByteString unknownFields; private TypeAlias( 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); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFieldsCodedOutput, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; flags_ = input.readInt32(); break; } case 16: { bitField0_ |= 0x00000002; name_ = input.readInt32(); break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { typeParameter_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter>(); mutable_bitField0_ |= 0x00000004; } typeParameter_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.PARSER, extensionRegistry)); break; } case 34: { org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder subBuilder = null; if (((bitField0_ & 0x00000004) == 0x00000004)) { subBuilder = underlyingType_.toBuilder(); } underlyingType_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Type.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(underlyingType_); underlyingType_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 40: { bitField0_ |= 0x00000008; underlyingTypeId_ = input.readInt32(); break; } case 50: { org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder subBuilder = null; if (((bitField0_ & 0x00000010) == 0x00000010)) { subBuilder = expandedType_.toBuilder(); } expandedType_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Type.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(expandedType_); expandedType_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } case 56: { bitField0_ |= 0x00000020; expandedTypeId_ = input.readInt32(); break; } case 66: { if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) { annotation_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation>(); mutable_bitField0_ |= 0x00000080; } annotation_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.PARSER, extensionRegistry)); break; } case 248: { bitField0_ |= 0x00000040; sinceKotlinInfo_ = 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_ & 0x00000004) == 0x00000004)) { typeParameter_ = java.util.Collections.unmodifiableList(typeParameter_); } if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) { annotation_ = java.util.Collections.unmodifiableList(annotation_); } try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static org.jetbrains.kotlin.protobuf.Parser<TypeAlias> PARSER = new org.jetbrains.kotlin.protobuf.AbstractParser<TypeAlias>() { public TypeAlias parsePartialFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return new TypeAlias(input, extensionRegistry); } }; @java.lang.Override public org.jetbrains.kotlin.protobuf.Parser<TypeAlias> getParserForType() { return PARSER; } private int bitField0_; public static final int FLAGS_FIELD_NUMBER = 1; private int flags_; /** * <code>optional int32 flags = 1 [default = 6];</code> * * <pre> *hasAnnotations *Visibility * </pre> */ public boolean hasFlags() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 flags = 1 [default = 6];</code> * * <pre> *hasAnnotations *Visibility * </pre> */ public int getFlags() { return flags_; } public static final int NAME_FIELD_NUMBER = 2; private int name_; /** * <code>required int32 name = 2;</code> */ public boolean hasName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>required int32 name = 2;</code> */ public int getName() { return name_; } public static final int TYPE_PARAMETER_FIELD_NUMBER = 3; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter> typeParameter_; /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 3;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter> getTypeParameterList() { return typeParameter_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 3;</code> */ public java.util.List<? extends org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameterOrBuilder> getTypeParameterOrBuilderList() { return typeParameter_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 3;</code> */ public int getTypeParameterCount() { return typeParameter_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 3;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter getTypeParameter(int index) { return typeParameter_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 3;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameterOrBuilder getTypeParameterOrBuilder( int index) { return typeParameter_.get(index); } public static final int UNDERLYING_TYPE_FIELD_NUMBER = 4; private org.jetbrains.kotlin.serialization.ProtoBuf.Type underlyingType_; /** * <code>optional .org.jetbrains.kotlin.serialization.Type underlying_type = 4;</code> */ public boolean hasUnderlyingType() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional .org.jetbrains.kotlin.serialization.Type underlying_type = 4;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getUnderlyingType() { return underlyingType_; } public static final int UNDERLYING_TYPE_ID_FIELD_NUMBER = 5; private int underlyingTypeId_; /** * <code>optional int32 underlying_type_id = 5;</code> */ public boolean hasUnderlyingTypeId() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional int32 underlying_type_id = 5;</code> */ public int getUnderlyingTypeId() { return underlyingTypeId_; } public static final int EXPANDED_TYPE_FIELD_NUMBER = 6; private org.jetbrains.kotlin.serialization.ProtoBuf.Type expandedType_; /** * <code>optional .org.jetbrains.kotlin.serialization.Type expanded_type = 6;</code> */ public boolean hasExpandedType() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional .org.jetbrains.kotlin.serialization.Type expanded_type = 6;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getExpandedType() { return expandedType_; } public static final int EXPANDED_TYPE_ID_FIELD_NUMBER = 7; private int expandedTypeId_; /** * <code>optional int32 expanded_type_id = 7;</code> */ public boolean hasExpandedTypeId() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * <code>optional int32 expanded_type_id = 7;</code> */ public int getExpandedTypeId() { return expandedTypeId_; } public static final int ANNOTATION_FIELD_NUMBER = 8; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation> annotation_; /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation> getAnnotationList() { return annotation_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ public java.util.List<? extends org.jetbrains.kotlin.serialization.ProtoBuf.AnnotationOrBuilder> getAnnotationOrBuilderList() { return annotation_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ public int getAnnotationCount() { return annotation_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation getAnnotation(int index) { return annotation_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.AnnotationOrBuilder getAnnotationOrBuilder( int index) { return annotation_.get(index); } public static final int SINCEKOTLININFO_FIELD_NUMBER = 31; private int sinceKotlinInfo_; /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public boolean hasSinceKotlinInfo() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public int getSinceKotlinInfo() { return sinceKotlinInfo_; } private void initFields() { flags_ = 6; name_ = 0; typeParameter_ = java.util.Collections.emptyList(); underlyingType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); underlyingTypeId_ = 0; expandedType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); expandedTypeId_ = 0; annotation_ = java.util.Collections.emptyList(); sinceKotlinInfo_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasName()) { memoizedIsInitialized = 0; return false; } for (int i = 0; i < getTypeParameterCount(); i++) { if (!getTypeParameter(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasUnderlyingType()) { if (!getUnderlyingType().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasExpandedType()) { if (!getExpandedType().isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getAnnotationCount(); i++) { if (!getAnnotation(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<org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias>.ExtensionWriter extensionWriter = newExtensionWriter(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, flags_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, name_); } for (int i = 0; i < typeParameter_.size(); i++) { output.writeMessage(3, typeParameter_.get(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(4, underlyingType_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt32(5, underlyingTypeId_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(6, expandedType_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeInt32(7, expandedTypeId_); } for (int i = 0; i < annotation_.size(); i++) { output.writeMessage(8, annotation_.get(i)); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeInt32(31, sinceKotlinInfo_); } 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_ & 0x00000001) == 0x00000001)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(1, flags_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(2, name_); } for (int i = 0; i < typeParameter_.size(); i++) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(3, typeParameter_.get(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(4, underlyingType_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(5, underlyingTypeId_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(6, expandedType_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(7, expandedTypeId_); } for (int i = 0; i < annotation_.size(); i++) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(8, annotation_.get(i)); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(31, sinceKotlinInfo_); } 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.serialization.ProtoBuf.TypeAlias parseFrom( org.jetbrains.kotlin.protobuf.ByteString data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias 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.serialization.ProtoBuf.TypeAlias parseFrom(byte[] data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias 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.serialization.ProtoBuf.TypeAlias parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias 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.serialization.ProtoBuf.TypeAlias parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias 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.serialization.ProtoBuf.TypeAlias parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias 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.serialization.ProtoBuf.TypeAlias prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.TypeAlias} */ public static final class Builder extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder< org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias, Builder> implements // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.TypeAlias) org.jetbrains.kotlin.serialization.ProtoBuf.TypeAliasOrBuilder { // Construct using org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); flags_ = 6; bitField0_ = (bitField0_ & ~0x00000001); name_ = 0; bitField0_ = (bitField0_ & ~0x00000002); typeParameter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); underlyingType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000008); underlyingTypeId_ = 0; bitField0_ = (bitField0_ & ~0x00000010); expandedType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000020); expandedTypeId_ = 0; bitField0_ = (bitField0_ & ~0x00000040); annotation_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); sinceKotlinInfo_ = 0; bitField0_ = (bitField0_ & ~0x00000100); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias getDefaultInstanceForType() { return org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias.getDefaultInstance(); } public org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias build() { org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias buildPartial() { org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias result = new org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias(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.name_ = name_; if (((bitField0_ & 0x00000004) == 0x00000004)) { typeParameter_ = java.util.Collections.unmodifiableList(typeParameter_); bitField0_ = (bitField0_ & ~0x00000004); } result.typeParameter_ = typeParameter_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000004; } result.underlyingType_ = underlyingType_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000008; } result.underlyingTypeId_ = underlyingTypeId_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000010; } result.expandedType_ = expandedType_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000020; } result.expandedTypeId_ = expandedTypeId_; if (((bitField0_ & 0x00000080) == 0x00000080)) { annotation_ = java.util.Collections.unmodifiableList(annotation_); bitField0_ = (bitField0_ & ~0x00000080); } result.annotation_ = annotation_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000040; } result.sinceKotlinInfo_ = sinceKotlinInfo_; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias other) { if (other == org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias.getDefaultInstance()) return this; if (other.hasFlags()) { setFlags(other.getFlags()); } if (other.hasName()) { setName(other.getName()); } if (!other.typeParameter_.isEmpty()) { if (typeParameter_.isEmpty()) { typeParameter_ = other.typeParameter_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureTypeParameterIsMutable(); typeParameter_.addAll(other.typeParameter_); } } if (other.hasUnderlyingType()) { mergeUnderlyingType(other.getUnderlyingType()); } if (other.hasUnderlyingTypeId()) { setUnderlyingTypeId(other.getUnderlyingTypeId()); } if (other.hasExpandedType()) { mergeExpandedType(other.getExpandedType()); } if (other.hasExpandedTypeId()) { setExpandedTypeId(other.getExpandedTypeId()); } if (!other.annotation_.isEmpty()) { if (annotation_.isEmpty()) { annotation_ = other.annotation_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensureAnnotationIsMutable(); annotation_.addAll(other.annotation_); } } if (other.hasSinceKotlinInfo()) { setSinceKotlinInfo(other.getSinceKotlinInfo()); } this.mergeExtensionFields(other); setUnknownFields( getUnknownFields().concat(other.unknownFields)); return this; } public final boolean isInitialized() { if (!hasName()) { return false; } for (int i = 0; i < getTypeParameterCount(); i++) { if (!getTypeParameter(i).isInitialized()) { return false; } } if (hasUnderlyingType()) { if (!getUnderlyingType().isInitialized()) { return false; } } if (hasExpandedType()) { if (!getExpandedType().isInitialized()) { return false; } } for (int i = 0; i < getAnnotationCount(); i++) { if (!getAnnotation(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.serialization.ProtoBuf.TypeAlias parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.serialization.ProtoBuf.TypeAlias) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int flags_ = 6; /** * <code>optional int32 flags = 1 [default = 6];</code> * * <pre> *hasAnnotations *Visibility * </pre> */ public boolean hasFlags() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 flags = 1 [default = 6];</code> * * <pre> *hasAnnotations *Visibility * </pre> */ public int getFlags() { return flags_; } /** * <code>optional int32 flags = 1 [default = 6];</code> * * <pre> *hasAnnotations *Visibility * </pre> */ public Builder setFlags(int value) { bitField0_ |= 0x00000001; flags_ = value; return this; } /** * <code>optional int32 flags = 1 [default = 6];</code> * * <pre> *hasAnnotations *Visibility * </pre> */ public Builder clearFlags() { bitField0_ = (bitField0_ & ~0x00000001); flags_ = 6; return this; } private int name_ ; /** * <code>required int32 name = 2;</code> */ public boolean hasName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>required int32 name = 2;</code> */ public int getName() { return name_; } /** * <code>required int32 name = 2;</code> */ public Builder setName(int value) { bitField0_ |= 0x00000002; name_ = value; return this; } /** * <code>required int32 name = 2;</code> */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = 0; return this; } private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter> typeParameter_ = java.util.Collections.emptyList(); private void ensureTypeParameterIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { typeParameter_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter>(typeParameter_); bitField0_ |= 0x00000004; } } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 3;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter> getTypeParameterList() { return java.util.Collections.unmodifiableList(typeParameter_); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 3;</code> */ public int getTypeParameterCount() { return typeParameter_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 3;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter getTypeParameter(int index) { return typeParameter_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 3;</code> */ public Builder setTypeParameter( int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter value) { if (value == null) { throw new NullPointerException(); } ensureTypeParameterIsMutable(); typeParameter_.set(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 3;</code> */ public Builder setTypeParameter( int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Builder builderForValue) { ensureTypeParameterIsMutable(); typeParameter_.set(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 3;</code> */ public Builder addTypeParameter(org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter value) { if (value == null) { throw new NullPointerException(); } ensureTypeParameterIsMutable(); typeParameter_.add(value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 3;</code> */ public Builder addTypeParameter( int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter value) { if (value == null) { throw new NullPointerException(); } ensureTypeParameterIsMutable(); typeParameter_.add(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 3;</code> */ public Builder addTypeParameter( org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Builder builderForValue) { ensureTypeParameterIsMutable(); typeParameter_.add(builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 3;</code> */ public Builder addTypeParameter( int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Builder builderForValue) { ensureTypeParameterIsMutable(); typeParameter_.add(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 3;</code> */ public Builder addAllTypeParameter( java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter> values) { ensureTypeParameterIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, typeParameter_); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 3;</code> */ public Builder clearTypeParameter() { typeParameter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 3;</code> */ public Builder removeTypeParameter(int index) { ensureTypeParameterIsMutable(); typeParameter_.remove(index); return this; } private org.jetbrains.kotlin.serialization.ProtoBuf.Type underlyingType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type underlying_type = 4;</code> */ public boolean hasUnderlyingType() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional .org.jetbrains.kotlin.serialization.Type underlying_type = 4;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getUnderlyingType() { return underlyingType_; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type underlying_type = 4;</code> */ public Builder setUnderlyingType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (value == null) { throw new NullPointerException(); } underlyingType_ = value; bitField0_ |= 0x00000008; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type underlying_type = 4;</code> */ public Builder setUnderlyingType( org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) { underlyingType_ = builderForValue.build(); bitField0_ |= 0x00000008; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type underlying_type = 4;</code> */ public Builder mergeUnderlyingType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (((bitField0_ & 0x00000008) == 0x00000008) && underlyingType_ != org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance()) { underlyingType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.newBuilder(underlyingType_).mergeFrom(value).buildPartial(); } else { underlyingType_ = value; } bitField0_ |= 0x00000008; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type underlying_type = 4;</code> */ public Builder clearUnderlyingType() { underlyingType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000008); return this; } private int underlyingTypeId_ ; /** * <code>optional int32 underlying_type_id = 5;</code> */ public boolean hasUnderlyingTypeId() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional int32 underlying_type_id = 5;</code> */ public int getUnderlyingTypeId() { return underlyingTypeId_; } /** * <code>optional int32 underlying_type_id = 5;</code> */ public Builder setUnderlyingTypeId(int value) { bitField0_ |= 0x00000010; underlyingTypeId_ = value; return this; } /** * <code>optional int32 underlying_type_id = 5;</code> */ public Builder clearUnderlyingTypeId() { bitField0_ = (bitField0_ & ~0x00000010); underlyingTypeId_ = 0; return this; } private org.jetbrains.kotlin.serialization.ProtoBuf.Type expandedType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); /** * <code>optional .org.jetbrains.kotlin.serialization.Type expanded_type = 6;</code> */ public boolean hasExpandedType() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * <code>optional .org.jetbrains.kotlin.serialization.Type expanded_type = 6;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Type getExpandedType() { return expandedType_; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type expanded_type = 6;</code> */ public Builder setExpandedType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (value == null) { throw new NullPointerException(); } expandedType_ = value; bitField0_ |= 0x00000020; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type expanded_type = 6;</code> */ public Builder setExpandedType( org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) { expandedType_ = builderForValue.build(); bitField0_ |= 0x00000020; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type expanded_type = 6;</code> */ public Builder mergeExpandedType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) { if (((bitField0_ & 0x00000020) == 0x00000020) && expandedType_ != org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance()) { expandedType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.newBuilder(expandedType_).mergeFrom(value).buildPartial(); } else { expandedType_ = value; } bitField0_ |= 0x00000020; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Type expanded_type = 6;</code> */ public Builder clearExpandedType() { expandedType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000020); return this; } private int expandedTypeId_ ; /** * <code>optional int32 expanded_type_id = 7;</code> */ public boolean hasExpandedTypeId() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * <code>optional int32 expanded_type_id = 7;</code> */ public int getExpandedTypeId() { return expandedTypeId_; } /** * <code>optional int32 expanded_type_id = 7;</code> */ public Builder setExpandedTypeId(int value) { bitField0_ |= 0x00000040; expandedTypeId_ = value; return this; } /** * <code>optional int32 expanded_type_id = 7;</code> */ public Builder clearExpandedTypeId() { bitField0_ = (bitField0_ & ~0x00000040); expandedTypeId_ = 0; return this; } private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation> annotation_ = java.util.Collections.emptyList(); private void ensureAnnotationIsMutable() { if (!((bitField0_ & 0x00000080) == 0x00000080)) { annotation_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation>(annotation_); bitField0_ |= 0x00000080; } } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Annotation> getAnnotationList() { return java.util.Collections.unmodifiableList(annotation_); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ public int getAnnotationCount() { return annotation_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation getAnnotation(int index) { return annotation_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ public Builder setAnnotation( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Annotation value) { if (value == null) { throw new NullPointerException(); } ensureAnnotationIsMutable(); annotation_.set(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ public Builder setAnnotation( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Builder builderForValue) { ensureAnnotationIsMutable(); annotation_.set(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ public Builder addAnnotation(org.jetbrains.kotlin.serialization.ProtoBuf.Annotation value) { if (value == null) { throw new NullPointerException(); } ensureAnnotationIsMutable(); annotation_.add(value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ public Builder addAnnotation( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Annotation value) { if (value == null) { throw new NullPointerException(); } ensureAnnotationIsMutable(); annotation_.add(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ public Builder addAnnotation( org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Builder builderForValue) { ensureAnnotationIsMutable(); annotation_.add(builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ public Builder addAnnotation( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Builder builderForValue) { ensureAnnotationIsMutable(); annotation_.add(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ public Builder addAllAnnotation( java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.ProtoBuf.Annotation> values) { ensureAnnotationIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, annotation_); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ public Builder clearAnnotation() { annotation_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 8;</code> */ public Builder removeAnnotation(int index) { ensureAnnotationIsMutable(); annotation_.remove(index); return this; } private int sinceKotlinInfo_ ; /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public boolean hasSinceKotlinInfo() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public int getSinceKotlinInfo() { return sinceKotlinInfo_; } /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public Builder setSinceKotlinInfo(int value) { bitField0_ |= 0x00000100; sinceKotlinInfo_ = value; return this; } /** * <code>optional int32 sinceKotlinInfo = 31;</code> * * <pre> * Index into the SinceKotlinInfoTable * </pre> */ public Builder clearSinceKotlinInfo() { bitField0_ = (bitField0_ & ~0x00000100); sinceKotlinInfo_ = 0; return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.TypeAlias) } static { defaultInstance = new TypeAlias(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.TypeAlias) } public interface EnumEntryOrBuilder extends // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.EnumEntry) org.jetbrains.kotlin.protobuf.GeneratedMessageLite. ExtendableMessageOrBuilder<EnumEntry> { /** * <code>optional int32 name = 1;</code> */ boolean hasName(); /** * <code>optional int32 name = 1;</code> */ int getName(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.EnumEntry} */ public static final class EnumEntry extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableMessage< EnumEntry> implements // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.EnumEntry) EnumEntryOrBuilder { // Use EnumEntry.newBuilder() to construct. private EnumEntry(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder<org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry, ?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private EnumEntry(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;} private static final EnumEntry defaultInstance; public static EnumEntry getDefaultInstance() { return defaultInstance; } public EnumEntry getDefaultInstanceForType() { return defaultInstance; } private final org.jetbrains.kotlin.protobuf.ByteString unknownFields; private EnumEntry( 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); 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; name_ = 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<EnumEntry> PARSER = new org.jetbrains.kotlin.protobuf.AbstractParser<EnumEntry>() { public EnumEntry parsePartialFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return new EnumEntry(input, extensionRegistry); } }; @java.lang.Override public org.jetbrains.kotlin.protobuf.Parser<EnumEntry> getParserForType() { return PARSER; } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private int name_; /** * <code>optional int32 name = 1;</code> */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 name = 1;</code> */ public int getName() { return name_; } private void initFields() { name_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 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<org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry>.ExtensionWriter extensionWriter = newExtensionWriter(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, name_); } 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_ & 0x00000001) == 0x00000001)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(1, name_); } 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.serialization.ProtoBuf.EnumEntry parseFrom( org.jetbrains.kotlin.protobuf.ByteString data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry 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.serialization.ProtoBuf.EnumEntry parseFrom(byte[] data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry 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.serialization.ProtoBuf.EnumEntry parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry 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.serialization.ProtoBuf.EnumEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry 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.serialization.ProtoBuf.EnumEntry parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry 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.serialization.ProtoBuf.EnumEntry prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.EnumEntry} */ public static final class Builder extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder< org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry, Builder> implements // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.EnumEntry) org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntryOrBuilder { // Construct using org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); name_ = 0; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry getDefaultInstanceForType() { return org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry.getDefaultInstance(); } public org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry build() { org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry buildPartial() { org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry result = new org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry other) { if (other == org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry.getDefaultInstance()) return this; if (other.hasName()) { setName(other.getName()); } this.mergeExtensionFields(other); setUnknownFields( getUnknownFields().concat(other.unknownFields)); return this; } public final boolean isInitialized() { 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.serialization.ProtoBuf.EnumEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.serialization.ProtoBuf.EnumEntry) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int name_ ; /** * <code>optional int32 name = 1;</code> */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 name = 1;</code> */ public int getName() { return name_; } /** * <code>optional int32 name = 1;</code> */ public Builder setName(int value) { bitField0_ |= 0x00000001; name_ = value; return this; } /** * <code>optional int32 name = 1;</code> */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = 0; return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.EnumEntry) } static { defaultInstance = new EnumEntry(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.EnumEntry) } public interface SinceKotlinInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.SinceKotlinInfo) org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder { /** * <code>optional int32 version = 1;</code> * * <pre> * Kotlin version, since which this declaration is accessible, in the following format (encoded version is "major.minor.patch"): * (patch << 7) + (minor << 3) + major * Compilers with version less than this value should report a diagnostic if this declaration is selected as the resolution result * </pre> */ boolean hasVersion(); /** * <code>optional int32 version = 1;</code> * * <pre> * Kotlin version, since which this declaration is accessible, in the following format (encoded version is "major.minor.patch"): * (patch << 7) + (minor << 3) + major * Compilers with version less than this value should report a diagnostic if this declaration is selected as the resolution result * </pre> */ int getVersion(); /** * <code>optional int32 version_full = 2;</code> * * <pre> * Version in base 256, in case we run out of space to store the version in the optimized form. Has priority over 'version'. * (patch << 16) + (minor << 8) + major * </pre> */ boolean hasVersionFull(); /** * <code>optional int32 version_full = 2;</code> * * <pre> * Version in base 256, in case we run out of space to store the version in the optimized form. Has priority over 'version'. * (patch << 16) + (minor << 8) + major * </pre> */ int getVersionFull(); /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfo.Level level = 3 [default = ERROR];</code> * * <pre> * Level of the reported diagnostic * </pre> */ boolean hasLevel(); /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfo.Level level = 3 [default = ERROR];</code> * * <pre> * Level of the reported diagnostic * </pre> */ org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Level getLevel(); /** * <code>optional int32 error_code = 4;</code> * * <pre> * Error code, to be looked up on the website * </pre> */ boolean hasErrorCode(); /** * <code>optional int32 error_code = 4;</code> * * <pre> * Error code, to be looked up on the website * </pre> */ int getErrorCode(); /** * <code>optional int32 message = 5;</code> * * <pre> * Diagnostic message * </pre> */ boolean hasMessage(); /** * <code>optional int32 message = 5;</code> * * <pre> * Diagnostic message * </pre> */ int getMessage(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.SinceKotlinInfo} */ public static final class SinceKotlinInfo extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.SinceKotlinInfo) SinceKotlinInfoOrBuilder { // Use SinceKotlinInfo.newBuilder() to construct. private SinceKotlinInfo(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private SinceKotlinInfo(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;} private static final SinceKotlinInfo defaultInstance; public static SinceKotlinInfo getDefaultInstance() { return defaultInstance; } public SinceKotlinInfo getDefaultInstanceForType() { return defaultInstance; } private final org.jetbrains.kotlin.protobuf.ByteString unknownFields; private SinceKotlinInfo( 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); 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; version_ = input.readInt32(); break; } case 16: { bitField0_ |= 0x00000002; versionFull_ = input.readInt32(); break; } case 24: { int rawValue = input.readEnum(); org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Level value = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Level.valueOf(rawValue); if (value == null) { unknownFieldsCodedOutput.writeRawVarint32(tag); unknownFieldsCodedOutput.writeRawVarint32(rawValue); } else { bitField0_ |= 0x00000004; level_ = value; } break; } case 32: { bitField0_ |= 0x00000008; errorCode_ = input.readInt32(); break; } case 40: { bitField0_ |= 0x00000010; message_ = 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<SinceKotlinInfo> PARSER = new org.jetbrains.kotlin.protobuf.AbstractParser<SinceKotlinInfo>() { public SinceKotlinInfo parsePartialFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return new SinceKotlinInfo(input, extensionRegistry); } }; @java.lang.Override public org.jetbrains.kotlin.protobuf.Parser<SinceKotlinInfo> getParserForType() { return PARSER; } /** * Protobuf enum {@code org.jetbrains.kotlin.serialization.SinceKotlinInfo.Level} */ public enum Level implements org.jetbrains.kotlin.protobuf.Internal.EnumLite { /** * <code>WARNING = 0;</code> */ WARNING(0, 0), /** * <code>ERROR = 1;</code> */ ERROR(1, 1), /** * <code>HIDDEN = 2;</code> */ HIDDEN(2, 2), ; /** * <code>WARNING = 0;</code> */ public static final int WARNING_VALUE = 0; /** * <code>ERROR = 1;</code> */ public static final int ERROR_VALUE = 1; /** * <code>HIDDEN = 2;</code> */ public static final int HIDDEN_VALUE = 2; public final int getNumber() { return value; } public static Level valueOf(int value) { switch (value) { case 0: return WARNING; case 1: return ERROR; case 2: return HIDDEN; default: return null; } } public static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<Level> internalGetValueMap() { return internalValueMap; } private static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<Level> internalValueMap = new org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<Level>() { public Level findValueByNumber(int number) { return Level.valueOf(number); } }; private final int value; private Level(int index, int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:org.jetbrains.kotlin.serialization.SinceKotlinInfo.Level) } private int bitField0_; public static final int VERSION_FIELD_NUMBER = 1; private int version_; /** * <code>optional int32 version = 1;</code> * * <pre> * Kotlin version, since which this declaration is accessible, in the following format (encoded version is "major.minor.patch"): * (patch << 7) + (minor << 3) + major * Compilers with version less than this value should report a diagnostic if this declaration is selected as the resolution result * </pre> */ public boolean hasVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 version = 1;</code> * * <pre> * Kotlin version, since which this declaration is accessible, in the following format (encoded version is "major.minor.patch"): * (patch << 7) + (minor << 3) + major * Compilers with version less than this value should report a diagnostic if this declaration is selected as the resolution result * </pre> */ public int getVersion() { return version_; } public static final int VERSION_FULL_FIELD_NUMBER = 2; private int versionFull_; /** * <code>optional int32 version_full = 2;</code> * * <pre> * Version in base 256, in case we run out of space to store the version in the optimized form. Has priority over 'version'. * (patch << 16) + (minor << 8) + major * </pre> */ public boolean hasVersionFull() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional int32 version_full = 2;</code> * * <pre> * Version in base 256, in case we run out of space to store the version in the optimized form. Has priority over 'version'. * (patch << 16) + (minor << 8) + major * </pre> */ public int getVersionFull() { return versionFull_; } public static final int LEVEL_FIELD_NUMBER = 3; private org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Level level_; /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfo.Level level = 3 [default = ERROR];</code> * * <pre> * Level of the reported diagnostic * </pre> */ public boolean hasLevel() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfo.Level level = 3 [default = ERROR];</code> * * <pre> * Level of the reported diagnostic * </pre> */ public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Level getLevel() { return level_; } public static final int ERROR_CODE_FIELD_NUMBER = 4; private int errorCode_; /** * <code>optional int32 error_code = 4;</code> * * <pre> * Error code, to be looked up on the website * </pre> */ public boolean hasErrorCode() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional int32 error_code = 4;</code> * * <pre> * Error code, to be looked up on the website * </pre> */ public int getErrorCode() { return errorCode_; } public static final int MESSAGE_FIELD_NUMBER = 5; private int message_; /** * <code>optional int32 message = 5;</code> * * <pre> * Diagnostic message * </pre> */ public boolean hasMessage() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional int32 message = 5;</code> * * <pre> * Diagnostic message * </pre> */ public int getMessage() { return message_; } private void initFields() { version_ = 0; versionFull_ = 0; level_ = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Level.ERROR; errorCode_ = 0; message_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, version_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, versionFull_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, level_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt32(4, errorCode_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeInt32(5, message_); } 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, version_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(2, versionFull_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeEnumSize(3, level_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(4, errorCode_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(5, message_); } 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.serialization.ProtoBuf.SinceKotlinInfo parseFrom( org.jetbrains.kotlin.protobuf.ByteString data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo 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.serialization.ProtoBuf.SinceKotlinInfo parseFrom(byte[] data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo 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.serialization.ProtoBuf.SinceKotlinInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo 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.serialization.ProtoBuf.SinceKotlinInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo 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.serialization.ProtoBuf.SinceKotlinInfo parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo 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.serialization.ProtoBuf.SinceKotlinInfo prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.SinceKotlinInfo} */ public static final class Builder extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder< org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo, Builder> implements // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.SinceKotlinInfo) org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoOrBuilder { // Construct using org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); version_ = 0; bitField0_ = (bitField0_ & ~0x00000001); versionFull_ = 0; bitField0_ = (bitField0_ & ~0x00000002); level_ = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Level.ERROR; bitField0_ = (bitField0_ & ~0x00000004); errorCode_ = 0; bitField0_ = (bitField0_ & ~0x00000008); message_ = 0; bitField0_ = (bitField0_ & ~0x00000010); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo getDefaultInstanceForType() { return org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.getDefaultInstance(); } public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo build() { org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo buildPartial() { org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo result = new org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.version_ = version_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.versionFull_ = versionFull_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.level_ = level_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.errorCode_ = errorCode_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.message_ = message_; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo other) { if (other == org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.getDefaultInstance()) return this; if (other.hasVersion()) { setVersion(other.getVersion()); } if (other.hasVersionFull()) { setVersionFull(other.getVersionFull()); } if (other.hasLevel()) { setLevel(other.getLevel()); } if (other.hasErrorCode()) { setErrorCode(other.getErrorCode()); } if (other.hasMessage()) { setMessage(other.getMessage()); } 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.serialization.ProtoBuf.SinceKotlinInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int version_ ; /** * <code>optional int32 version = 1;</code> * * <pre> * Kotlin version, since which this declaration is accessible, in the following format (encoded version is "major.minor.patch"): * (patch << 7) + (minor << 3) + major * Compilers with version less than this value should report a diagnostic if this declaration is selected as the resolution result * </pre> */ public boolean hasVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 version = 1;</code> * * <pre> * Kotlin version, since which this declaration is accessible, in the following format (encoded version is "major.minor.patch"): * (patch << 7) + (minor << 3) + major * Compilers with version less than this value should report a diagnostic if this declaration is selected as the resolution result * </pre> */ public int getVersion() { return version_; } /** * <code>optional int32 version = 1;</code> * * <pre> * Kotlin version, since which this declaration is accessible, in the following format (encoded version is "major.minor.patch"): * (patch << 7) + (minor << 3) + major * Compilers with version less than this value should report a diagnostic if this declaration is selected as the resolution result * </pre> */ public Builder setVersion(int value) { bitField0_ |= 0x00000001; version_ = value; return this; } /** * <code>optional int32 version = 1;</code> * * <pre> * Kotlin version, since which this declaration is accessible, in the following format (encoded version is "major.minor.patch"): * (patch << 7) + (minor << 3) + major * Compilers with version less than this value should report a diagnostic if this declaration is selected as the resolution result * </pre> */ public Builder clearVersion() { bitField0_ = (bitField0_ & ~0x00000001); version_ = 0; return this; } private int versionFull_ ; /** * <code>optional int32 version_full = 2;</code> * * <pre> * Version in base 256, in case we run out of space to store the version in the optimized form. Has priority over 'version'. * (patch << 16) + (minor << 8) + major * </pre> */ public boolean hasVersionFull() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional int32 version_full = 2;</code> * * <pre> * Version in base 256, in case we run out of space to store the version in the optimized form. Has priority over 'version'. * (patch << 16) + (minor << 8) + major * </pre> */ public int getVersionFull() { return versionFull_; } /** * <code>optional int32 version_full = 2;</code> * * <pre> * Version in base 256, in case we run out of space to store the version in the optimized form. Has priority over 'version'. * (patch << 16) + (minor << 8) + major * </pre> */ public Builder setVersionFull(int value) { bitField0_ |= 0x00000002; versionFull_ = value; return this; } /** * <code>optional int32 version_full = 2;</code> * * <pre> * Version in base 256, in case we run out of space to store the version in the optimized form. Has priority over 'version'. * (patch << 16) + (minor << 8) + major * </pre> */ public Builder clearVersionFull() { bitField0_ = (bitField0_ & ~0x00000002); versionFull_ = 0; return this; } private org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Level level_ = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Level.ERROR; /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfo.Level level = 3 [default = ERROR];</code> * * <pre> * Level of the reported diagnostic * </pre> */ public boolean hasLevel() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfo.Level level = 3 [default = ERROR];</code> * * <pre> * Level of the reported diagnostic * </pre> */ public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Level getLevel() { return level_; } /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfo.Level level = 3 [default = ERROR];</code> * * <pre> * Level of the reported diagnostic * </pre> */ public Builder setLevel(org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Level value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; level_ = value; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.SinceKotlinInfo.Level level = 3 [default = ERROR];</code> * * <pre> * Level of the reported diagnostic * </pre> */ public Builder clearLevel() { bitField0_ = (bitField0_ & ~0x00000004); level_ = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Level.ERROR; return this; } private int errorCode_ ; /** * <code>optional int32 error_code = 4;</code> * * <pre> * Error code, to be looked up on the website * </pre> */ public boolean hasErrorCode() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional int32 error_code = 4;</code> * * <pre> * Error code, to be looked up on the website * </pre> */ public int getErrorCode() { return errorCode_; } /** * <code>optional int32 error_code = 4;</code> * * <pre> * Error code, to be looked up on the website * </pre> */ public Builder setErrorCode(int value) { bitField0_ |= 0x00000008; errorCode_ = value; return this; } /** * <code>optional int32 error_code = 4;</code> * * <pre> * Error code, to be looked up on the website * </pre> */ public Builder clearErrorCode() { bitField0_ = (bitField0_ & ~0x00000008); errorCode_ = 0; return this; } private int message_ ; /** * <code>optional int32 message = 5;</code> * * <pre> * Diagnostic message * </pre> */ public boolean hasMessage() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional int32 message = 5;</code> * * <pre> * Diagnostic message * </pre> */ public int getMessage() { return message_; } /** * <code>optional int32 message = 5;</code> * * <pre> * Diagnostic message * </pre> */ public Builder setMessage(int value) { bitField0_ |= 0x00000010; message_ = value; return this; } /** * <code>optional int32 message = 5;</code> * * <pre> * Diagnostic message * </pre> */ public Builder clearMessage() { bitField0_ = (bitField0_ & ~0x00000010); message_ = 0; return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.SinceKotlinInfo) } static { defaultInstance = new SinceKotlinInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.SinceKotlinInfo) } public interface SinceKotlinInfoTableOrBuilder extends // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.SinceKotlinInfoTable) org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder { /** * <code>repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;</code> */ java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo> getInfoList(); /** * <code>repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo getInfo(int index); /** * <code>repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;</code> */ int getInfoCount(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.SinceKotlinInfoTable} */ public static final class SinceKotlinInfoTable extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.SinceKotlinInfoTable) SinceKotlinInfoTableOrBuilder { // Use SinceKotlinInfoTable.newBuilder() to construct. private SinceKotlinInfoTable(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private SinceKotlinInfoTable(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;} private static final SinceKotlinInfoTable defaultInstance; public static SinceKotlinInfoTable getDefaultInstance() { return defaultInstance; } public SinceKotlinInfoTable getDefaultInstanceForType() { return defaultInstance; } private final org.jetbrains.kotlin.protobuf.ByteString unknownFields; private SinceKotlinInfoTable( 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); 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)) { info_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo>(); mutable_bitField0_ |= 0x00000001; } info_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.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)) { info_ = java.util.Collections.unmodifiableList(info_); } try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static org.jetbrains.kotlin.protobuf.Parser<SinceKotlinInfoTable> PARSER = new org.jetbrains.kotlin.protobuf.AbstractParser<SinceKotlinInfoTable>() { public SinceKotlinInfoTable parsePartialFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return new SinceKotlinInfoTable(input, extensionRegistry); } }; @java.lang.Override public org.jetbrains.kotlin.protobuf.Parser<SinceKotlinInfoTable> getParserForType() { return PARSER; } public static final int INFO_FIELD_NUMBER = 1; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo> info_; /** * <code>repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo> getInfoList() { return info_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;</code> */ public java.util.List<? extends org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoOrBuilder> getInfoOrBuilderList() { return info_; } /** * <code>repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;</code> */ public int getInfoCount() { return info_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo getInfo(int index) { return info_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoOrBuilder getInfoOrBuilder( int index) { return info_.get(index); } private void initFields() { info_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < info_.size(); i++) { output.writeMessage(1, info_.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 < info_.size(); i++) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(1, info_.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.serialization.ProtoBuf.SinceKotlinInfoTable parseFrom( org.jetbrains.kotlin.protobuf.ByteString data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable 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.serialization.ProtoBuf.SinceKotlinInfoTable parseFrom(byte[] data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable 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.serialization.ProtoBuf.SinceKotlinInfoTable parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable 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.serialization.ProtoBuf.SinceKotlinInfoTable parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable 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.serialization.ProtoBuf.SinceKotlinInfoTable parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable 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.serialization.ProtoBuf.SinceKotlinInfoTable prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.SinceKotlinInfoTable} */ public static final class Builder extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder< org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable, Builder> implements // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.SinceKotlinInfoTable) org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTableOrBuilder { // Construct using org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); info_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable getDefaultInstanceForType() { return org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.getDefaultInstance(); } public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable build() { org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable buildPartial() { org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable result = new org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { info_ = java.util.Collections.unmodifiableList(info_); bitField0_ = (bitField0_ & ~0x00000001); } result.info_ = info_; return result; } public Builder mergeFrom(org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable other) { if (other == org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.getDefaultInstance()) return this; if (!other.info_.isEmpty()) { if (info_.isEmpty()) { info_ = other.info_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureInfoIsMutable(); info_.addAll(other.info_); } } 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.serialization.ProtoBuf.SinceKotlinInfoTable parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo> info_ = java.util.Collections.emptyList(); private void ensureInfoIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { info_ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo>(info_); bitField0_ |= 0x00000001; } } /** * <code>repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo> getInfoList() { return java.util.Collections.unmodifiableList(info_); } /** * <code>repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;</code> */ public int getInfoCount() { return info_.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo getInfo(int index) { return info_.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;</code> */ public Builder setInfo( int index, org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo value) { if (value == null) { throw new NullPointerException(); } ensureInfoIsMutable(); info_.set(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;</code> */ public Builder setInfo( int index, org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Builder builderForValue) { ensureInfoIsMutable(); info_.set(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;</code> */ public Builder addInfo(org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo value) { if (value == null) { throw new NullPointerException(); } ensureInfoIsMutable(); info_.add(value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;</code> */ public Builder addInfo( int index, org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo value) { if (value == null) { throw new NullPointerException(); } ensureInfoIsMutable(); info_.add(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;</code> */ public Builder addInfo( org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Builder builderForValue) { ensureInfoIsMutable(); info_.add(builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;</code> */ public Builder addInfo( int index, org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Builder builderForValue) { ensureInfoIsMutable(); info_.add(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;</code> */ public Builder addAllInfo( java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo> values) { ensureInfoIsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, info_); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;</code> */ public Builder clearInfo() { info_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;</code> */ public Builder removeInfo(int index) { ensureInfoIsMutable(); info_.remove(index); return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.SinceKotlinInfoTable) } static { defaultInstance = new SinceKotlinInfoTable(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.SinceKotlinInfoTable) } public interface PackageFragmentOrBuilder extends // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.PackageFragment) org.jetbrains.kotlin.protobuf.GeneratedMessageLite. ExtendableMessageOrBuilder<PackageFragment> { /** * <code>optional .org.jetbrains.kotlin.serialization.StringTable strings = 1;</code> */ boolean hasStrings(); /** * <code>optional .org.jetbrains.kotlin.serialization.StringTable strings = 1;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.StringTable getStrings(); /** * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable qualified_names = 2;</code> */ boolean hasQualifiedNames(); /** * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable qualified_names = 2;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable getQualifiedNames(); /** * <code>optional .org.jetbrains.kotlin.serialization.Package package = 3;</code> */ boolean hasPackage(); /** * <code>optional .org.jetbrains.kotlin.serialization.Package package = 3;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Package getPackage(); /** * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code> */ java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Class> getClass_List(); /** * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code> */ org.jetbrains.kotlin.serialization.ProtoBuf.Class getClass_(int index); /** * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code> */ int getClass_Count(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.PackageFragment} * * <pre> * A part of the package, which is used to serialize .kjsm/.meta.js, .kotlin_builtins and .kotlin_metadata files. * Is not used in the JVM back-end * </pre> */ public static final class PackageFragment extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableMessage< PackageFragment> implements // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.PackageFragment) PackageFragmentOrBuilder { // Use PackageFragment.newBuilder() to construct. private PackageFragment(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder<org.jetbrains.kotlin.serialization.ProtoBuf.PackageFragment, ?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private PackageFragment(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;} private static final PackageFragment defaultInstance; public static PackageFragment getDefaultInstance() { return defaultInstance; } public PackageFragment getDefaultInstanceForType() { return defaultInstance; } private final org.jetbrains.kotlin.protobuf.ByteString unknownFields; private PackageFragment( 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); 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.serialization.ProtoBuf.StringTable.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = strings_.toBuilder(); } strings_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.StringTable.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(strings_); strings_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = qualifiedNames_.toBuilder(); } qualifiedNames_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(qualifiedNames_); qualifiedNames_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { org.jetbrains.kotlin.serialization.ProtoBuf.Package.Builder subBuilder = null; if (((bitField0_ & 0x00000004) == 0x00000004)) { subBuilder = package_.toBuilder(); } package_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Package.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(package_); package_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 34: { if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { class__ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.Class>(); mutable_bitField0_ |= 0x00000008; } class__.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Class.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_ & 0x00000008) == 0x00000008)) { class__ = java.util.Collections.unmodifiableList(class__); } try { unknownFieldsCodedOutput.flush(); } catch (java.io.IOException e) { // Should not happen } finally { unknownFields = unknownFieldsOutput.toByteString(); } makeExtensionsImmutable(); } } public static org.jetbrains.kotlin.protobuf.Parser<PackageFragment> PARSER = new org.jetbrains.kotlin.protobuf.AbstractParser<PackageFragment>() { public PackageFragment parsePartialFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return new PackageFragment(input, extensionRegistry); } }; @java.lang.Override public org.jetbrains.kotlin.protobuf.Parser<PackageFragment> getParserForType() { return PARSER; } private int bitField0_; public static final int STRINGS_FIELD_NUMBER = 1; private org.jetbrains.kotlin.serialization.ProtoBuf.StringTable strings_; /** * <code>optional .org.jetbrains.kotlin.serialization.StringTable strings = 1;</code> */ public boolean hasStrings() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional .org.jetbrains.kotlin.serialization.StringTable strings = 1;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.StringTable getStrings() { return strings_; } public static final int QUALIFIED_NAMES_FIELD_NUMBER = 2; private org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable qualifiedNames_; /** * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable qualified_names = 2;</code> */ public boolean hasQualifiedNames() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable qualified_names = 2;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable getQualifiedNames() { return qualifiedNames_; } public static final int PACKAGE_FIELD_NUMBER = 3; private org.jetbrains.kotlin.serialization.ProtoBuf.Package package_; /** * <code>optional .org.jetbrains.kotlin.serialization.Package package = 3;</code> */ public boolean hasPackage() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional .org.jetbrains.kotlin.serialization.Package package = 3;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Package getPackage() { return package_; } public static final int CLASS_FIELD_NUMBER = 4; private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Class> class__; /** * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Class> getClass_List() { return class__; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code> */ public java.util.List<? extends org.jetbrains.kotlin.serialization.ProtoBuf.ClassOrBuilder> getClass_OrBuilderList() { return class__; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code> */ public int getClass_Count() { return class__.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Class getClass_(int index) { return class__.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.ClassOrBuilder getClass_OrBuilder( int index) { return class__.get(index); } private void initFields() { strings_ = org.jetbrains.kotlin.serialization.ProtoBuf.StringTable.getDefaultInstance(); qualifiedNames_ = org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.getDefaultInstance(); package_ = org.jetbrains.kotlin.serialization.ProtoBuf.Package.getDefaultInstance(); class__ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (hasQualifiedNames()) { if (!getQualifiedNames().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasPackage()) { if (!getPackage().isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getClass_Count(); i++) { if (!getClass_(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<org.jetbrains.kotlin.serialization.ProtoBuf.PackageFragment>.ExtensionWriter extensionWriter = newExtensionWriter(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, strings_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, qualifiedNames_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(3, package_); } for (int i = 0; i < class__.size(); i++) { output.writeMessage(4, class__.get(i)); } 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_ & 0x00000001) == 0x00000001)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(1, strings_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(2, qualifiedNames_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(3, package_); } for (int i = 0; i < class__.size(); i++) { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(4, class__.get(i)); } 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.serialization.ProtoBuf.PackageFragment parseFrom( org.jetbrains.kotlin.protobuf.ByteString data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.ProtoBuf.PackageFragment 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.serialization.ProtoBuf.PackageFragment parseFrom(byte[] data) throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.jetbrains.kotlin.serialization.ProtoBuf.PackageFragment 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.serialization.ProtoBuf.PackageFragment parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.PackageFragment 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.serialization.ProtoBuf.PackageFragment parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.PackageFragment 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.serialization.ProtoBuf.PackageFragment parseFrom( org.jetbrains.kotlin.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.jetbrains.kotlin.serialization.ProtoBuf.PackageFragment 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.serialization.ProtoBuf.PackageFragment prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.PackageFragment} * * <pre> * A part of the package, which is used to serialize .kjsm/.meta.js, .kotlin_builtins and .kotlin_metadata files. * Is not used in the JVM back-end * </pre> */ public static final class Builder extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder< org.jetbrains.kotlin.serialization.ProtoBuf.PackageFragment, Builder> implements // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.PackageFragment) org.jetbrains.kotlin.serialization.ProtoBuf.PackageFragmentOrBuilder { // Construct using org.jetbrains.kotlin.serialization.ProtoBuf.PackageFragment.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); strings_ = org.jetbrains.kotlin.serialization.ProtoBuf.StringTable.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000001); qualifiedNames_ = org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000002); package_ = org.jetbrains.kotlin.serialization.ProtoBuf.Package.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000004); class__ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public org.jetbrains.kotlin.serialization.ProtoBuf.PackageFragment getDefaultInstanceForType() { return org.jetbrains.kotlin.serialization.ProtoBuf.PackageFragment.getDefaultInstance(); } public org.jetbrains.kotlin.serialization.ProtoBuf.PackageFragment build() { org.jetbrains.kotlin.serialization.ProtoBuf.PackageFragment result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.jetbrains.kotlin.serialization.ProtoBuf.PackageFragment buildPartial() { org.jetbrains.kotlin.serialization.ProtoBuf.PackageFragment result = new org.jetbrains.kotlin.serialization.ProtoBuf.PackageFragment(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.strings_ = strings_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.qualifiedNames_ = qualifiedNames_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.package_ = package_; if (((bitField0_ & 0x00000008) == 0x00000008)) { class__ = java.util.Collections.unmodifiableList(class__); bitField0_ = (bitField0_ & ~0x00000008); } result.class__ = class__; result.bitField0_ = to_bitField0_; return result; } public Builder mergeFrom(org.jetbrains.kotlin.serialization.ProtoBuf.PackageFragment other) { if (other == org.jetbrains.kotlin.serialization.ProtoBuf.PackageFragment.getDefaultInstance()) return this; if (other.hasStrings()) { mergeStrings(other.getStrings()); } if (other.hasQualifiedNames()) { mergeQualifiedNames(other.getQualifiedNames()); } if (other.hasPackage()) { mergePackage(other.getPackage()); } if (!other.class__.isEmpty()) { if (class__.isEmpty()) { class__ = other.class__; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureClass_IsMutable(); class__.addAll(other.class__); } } this.mergeExtensionFields(other); setUnknownFields( getUnknownFields().concat(other.unknownFields)); return this; } public final boolean isInitialized() { if (hasQualifiedNames()) { if (!getQualifiedNames().isInitialized()) { return false; } } if (hasPackage()) { if (!getPackage().isInitialized()) { return false; } } for (int i = 0; i < getClass_Count(); i++) { if (!getClass_(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.serialization.ProtoBuf.PackageFragment parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jetbrains.kotlin.serialization.ProtoBuf.PackageFragment) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.jetbrains.kotlin.serialization.ProtoBuf.StringTable strings_ = org.jetbrains.kotlin.serialization.ProtoBuf.StringTable.getDefaultInstance(); /** * <code>optional .org.jetbrains.kotlin.serialization.StringTable strings = 1;</code> */ public boolean hasStrings() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional .org.jetbrains.kotlin.serialization.StringTable strings = 1;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.StringTable getStrings() { return strings_; } /** * <code>optional .org.jetbrains.kotlin.serialization.StringTable strings = 1;</code> */ public Builder setStrings(org.jetbrains.kotlin.serialization.ProtoBuf.StringTable value) { if (value == null) { throw new NullPointerException(); } strings_ = value; bitField0_ |= 0x00000001; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.StringTable strings = 1;</code> */ public Builder setStrings( org.jetbrains.kotlin.serialization.ProtoBuf.StringTable.Builder builderForValue) { strings_ = builderForValue.build(); bitField0_ |= 0x00000001; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.StringTable strings = 1;</code> */ public Builder mergeStrings(org.jetbrains.kotlin.serialization.ProtoBuf.StringTable value) { if (((bitField0_ & 0x00000001) == 0x00000001) && strings_ != org.jetbrains.kotlin.serialization.ProtoBuf.StringTable.getDefaultInstance()) { strings_ = org.jetbrains.kotlin.serialization.ProtoBuf.StringTable.newBuilder(strings_).mergeFrom(value).buildPartial(); } else { strings_ = value; } bitField0_ |= 0x00000001; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.StringTable strings = 1;</code> */ public Builder clearStrings() { strings_ = org.jetbrains.kotlin.serialization.ProtoBuf.StringTable.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000001); return this; } private org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable qualifiedNames_ = org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.getDefaultInstance(); /** * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable qualified_names = 2;</code> */ public boolean hasQualifiedNames() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable qualified_names = 2;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable getQualifiedNames() { return qualifiedNames_; } /** * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable qualified_names = 2;</code> */ public Builder setQualifiedNames(org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable value) { if (value == null) { throw new NullPointerException(); } qualifiedNames_ = value; bitField0_ |= 0x00000002; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable qualified_names = 2;</code> */ public Builder setQualifiedNames( org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.Builder builderForValue) { qualifiedNames_ = builderForValue.build(); bitField0_ |= 0x00000002; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable qualified_names = 2;</code> */ public Builder mergeQualifiedNames(org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable value) { if (((bitField0_ & 0x00000002) == 0x00000002) && qualifiedNames_ != org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.getDefaultInstance()) { qualifiedNames_ = org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.newBuilder(qualifiedNames_).mergeFrom(value).buildPartial(); } else { qualifiedNames_ = value; } bitField0_ |= 0x00000002; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.QualifiedNameTable qualified_names = 2;</code> */ public Builder clearQualifiedNames() { qualifiedNames_ = org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000002); return this; } private org.jetbrains.kotlin.serialization.ProtoBuf.Package package_ = org.jetbrains.kotlin.serialization.ProtoBuf.Package.getDefaultInstance(); /** * <code>optional .org.jetbrains.kotlin.serialization.Package package = 3;</code> */ public boolean hasPackage() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional .org.jetbrains.kotlin.serialization.Package package = 3;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Package getPackage() { return package_; } /** * <code>optional .org.jetbrains.kotlin.serialization.Package package = 3;</code> */ public Builder setPackage(org.jetbrains.kotlin.serialization.ProtoBuf.Package value) { if (value == null) { throw new NullPointerException(); } package_ = value; bitField0_ |= 0x00000004; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Package package = 3;</code> */ public Builder setPackage( org.jetbrains.kotlin.serialization.ProtoBuf.Package.Builder builderForValue) { package_ = builderForValue.build(); bitField0_ |= 0x00000004; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Package package = 3;</code> */ public Builder mergePackage(org.jetbrains.kotlin.serialization.ProtoBuf.Package value) { if (((bitField0_ & 0x00000004) == 0x00000004) && package_ != org.jetbrains.kotlin.serialization.ProtoBuf.Package.getDefaultInstance()) { package_ = org.jetbrains.kotlin.serialization.ProtoBuf.Package.newBuilder(package_).mergeFrom(value).buildPartial(); } else { package_ = value; } bitField0_ |= 0x00000004; return this; } /** * <code>optional .org.jetbrains.kotlin.serialization.Package package = 3;</code> */ public Builder clearPackage() { package_ = org.jetbrains.kotlin.serialization.ProtoBuf.Package.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000004); return this; } private java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Class> class__ = java.util.Collections.emptyList(); private void ensureClass_IsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { class__ = new java.util.ArrayList<org.jetbrains.kotlin.serialization.ProtoBuf.Class>(class__); bitField0_ |= 0x00000008; } } /** * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code> */ public java.util.List<org.jetbrains.kotlin.serialization.ProtoBuf.Class> getClass_List() { return java.util.Collections.unmodifiableList(class__); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code> */ public int getClass_Count() { return class__.size(); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code> */ public org.jetbrains.kotlin.serialization.ProtoBuf.Class getClass_(int index) { return class__.get(index); } /** * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code> */ public Builder setClass_( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Class value) { if (value == null) { throw new NullPointerException(); } ensureClass_IsMutable(); class__.set(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code> */ public Builder setClass_( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Class.Builder builderForValue) { ensureClass_IsMutable(); class__.set(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code> */ public Builder addClass_(org.jetbrains.kotlin.serialization.ProtoBuf.Class value) { if (value == null) { throw new NullPointerException(); } ensureClass_IsMutable(); class__.add(value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code> */ public Builder addClass_( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Class value) { if (value == null) { throw new NullPointerException(); } ensureClass_IsMutable(); class__.add(index, value); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code> */ public Builder addClass_( org.jetbrains.kotlin.serialization.ProtoBuf.Class.Builder builderForValue) { ensureClass_IsMutable(); class__.add(builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code> */ public Builder addClass_( int index, org.jetbrains.kotlin.serialization.ProtoBuf.Class.Builder builderForValue) { ensureClass_IsMutable(); class__.add(index, builderForValue.build()); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code> */ public Builder addAllClass_( java.lang.Iterable<? extends org.jetbrains.kotlin.serialization.ProtoBuf.Class> values) { ensureClass_IsMutable(); org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll( values, class__); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code> */ public Builder clearClass_() { class__ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * <code>repeated .org.jetbrains.kotlin.serialization.Class class = 4;</code> */ public Builder removeClass_(int index) { ensureClass_IsMutable(); class__.remove(index); return this; } // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.PackageFragment) } static { defaultInstance = new PackageFragment(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.PackageFragment) } static { } // @@protoc_insertion_point(outer_class_scope) }