org.jetbrains.kotlin.serialization.ProtoBuf Maven / Gradle / Ivy
// 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(
com.google.protobuf.ExtensionRegistryLite registry) {
}
/**
* Protobuf enum {@code org.jetbrains.kotlin.serialization.Modality}
*/
public enum Modality
implements com.google.protobuf.Internal.EnumLite {
/**
* FINAL = 0;
*
*
* 2 bits
*
*/
FINAL(0, 0),
/**
* OPEN = 1;
*/
OPEN(1, 1),
/**
* ABSTRACT = 2;
*/
ABSTRACT(2, 2),
;
/**
* FINAL = 0;
*
*
* 2 bits
*
*/
public static final int FINAL_VALUE = 0;
/**
* OPEN = 1;
*/
public static final int OPEN_VALUE = 1;
/**
* ABSTRACT = 2;
*/
public static final int ABSTRACT_VALUE = 2;
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;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Modality findValueByNumber(int number) {
return Modality.valueOf(number);
}
};
private final int value;
private Modality(int index, int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org.jetbrains.kotlin.serialization.Modality)
}
/**
* Protobuf enum {@code org.jetbrains.kotlin.serialization.Visibility}
*/
public enum Visibility
implements com.google.protobuf.Internal.EnumLite {
/**
* INTERNAL = 0;
*
*
* 3 bits
*
*/
INTERNAL(0, 0),
/**
* PRIVATE = 1;
*/
PRIVATE(1, 1),
/**
* PROTECTED = 2;
*/
PROTECTED(2, 2),
/**
* PUBLIC = 3;
*/
PUBLIC(3, 3),
/**
* PRIVATE_TO_THIS = 4;
*/
PRIVATE_TO_THIS(4, 4),
/**
* LOCAL = 5;
*/
LOCAL(5, 5),
;
/**
* INTERNAL = 0;
*
*
* 3 bits
*
*/
public static final int INTERNAL_VALUE = 0;
/**
* PRIVATE = 1;
*/
public static final int PRIVATE_VALUE = 1;
/**
* PROTECTED = 2;
*/
public static final int PROTECTED_VALUE = 2;
/**
* PUBLIC = 3;
*/
public static final int PUBLIC_VALUE = 3;
/**
* PRIVATE_TO_THIS = 4;
*/
public static final int PRIVATE_TO_THIS_VALUE = 4;
/**
* LOCAL = 5;
*/
public static final int LOCAL_VALUE = 5;
public final int getNumber() { return value; }
public static Visibility valueOf(int value) {
switch (value) {
case 0: return INTERNAL;
case 1: return PRIVATE;
case 2: return PROTECTED;
case 3: return PUBLIC;
case 4: return PRIVATE_TO_THIS;
case 5: return LOCAL;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Visibility findValueByNumber(int number) {
return Visibility.valueOf(number);
}
};
private final int value;
private Visibility(int index, int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org.jetbrains.kotlin.serialization.Visibility)
}
public interface StringTableOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// repeated string string = 1;
/**
* repeated string string = 1;
*/
java.util.List
getStringList();
/**
* repeated string string = 1;
*/
int getStringCount();
/**
* repeated string string = 1;
*/
java.lang.String getString(int index);
/**
* repeated string string = 1;
*/
com.google.protobuf.ByteString
getStringBytes(int index);
}
/**
* Protobuf type {@code org.jetbrains.kotlin.serialization.StringTable}
*/
public static final class StringTable extends
com.google.protobuf.GeneratedMessageLite
implements StringTableOrBuilder {
// Use StringTable.newBuilder() to construct.
private StringTable(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private StringTable(boolean noInit) {}
private static final StringTable defaultInstance;
public static StringTable getDefaultInstance() {
return defaultInstance;
}
public StringTable getDefaultInstanceForType() {
return defaultInstance;
}
private StringTable(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
string_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
string_.add(input.readBytes());
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
string_ = new com.google.protobuf.UnmodifiableLazyStringList(string_);
}
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public StringTable parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StringTable(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
// repeated string string = 1;
public static final int STRING_FIELD_NUMBER = 1;
private com.google.protobuf.LazyStringList string_;
/**
* repeated string string = 1;
*/
public java.util.List
getStringList() {
return string_;
}
/**
* repeated string string = 1;
*/
public int getStringCount() {
return string_.size();
}
/**
* repeated string string = 1;
*/
public java.lang.String getString(int index) {
return string_.get(index);
}
/**
* repeated string string = 1;
*/
public com.google.protobuf.ByteString
getStringBytes(int index) {
return string_.getByteString(index);
}
private void initFields() {
string_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < string_.size(); i++) {
output.writeBytes(1, string_.getByteString(i));
}
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < string_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(string_.getByteString(i));
}
size += dataSize;
size += 1 * getStringList().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(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.StringTable parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.StringTable parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.StringTable parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.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,
com.google.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,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.StringTable parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.StringTable parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.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
com.google.protobuf.GeneratedMessageLite.Builder<
org.jetbrains.kotlin.serialization.ProtoBuf.StringTable, Builder>
implements 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_ = com.google.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_ = new com.google.protobuf.UnmodifiableLazyStringList(
string_);
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_);
}
}
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.jetbrains.kotlin.serialization.ProtoBuf.StringTable parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.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_;
// repeated string string = 1;
private com.google.protobuf.LazyStringList string_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureStringIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
string_ = new com.google.protobuf.LazyStringArrayList(string_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string string = 1;
*/
public java.util.List
getStringList() {
return java.util.Collections.unmodifiableList(string_);
}
/**
* repeated string string = 1;
*/
public int getStringCount() {
return string_.size();
}
/**
* repeated string string = 1;
*/
public java.lang.String getString(int index) {
return string_.get(index);
}
/**
* repeated string string = 1;
*/
public com.google.protobuf.ByteString
getStringBytes(int index) {
return string_.getByteString(index);
}
/**
* repeated string string = 1;
*/
public Builder setString(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureStringIsMutable();
string_.set(index, value);
return this;
}
/**
* repeated string string = 1;
*/
public Builder addString(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureStringIsMutable();
string_.add(value);
return this;
}
/**
* repeated string string = 1;
*/
public Builder addAllString(
java.lang.Iterable values) {
ensureStringIsMutable();
super.addAll(values, string_);
return this;
}
/**
* repeated string string = 1;
*/
public Builder clearString() {
string_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* repeated string string = 1;
*/
public Builder addStringBytes(
com.google.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 com.google.protobuf.MessageLiteOrBuilder {
// repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
/**
* repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
java.util.List
getQualifiedNameList();
/**
* repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName getQualifiedName(int index);
/**
* repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
int getQualifiedNameCount();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.serialization.QualifiedNameTable}
*/
public static final class QualifiedNameTable extends
com.google.protobuf.GeneratedMessageLite
implements QualifiedNameTableOrBuilder {
// Use QualifiedNameTable.newBuilder() to construct.
private QualifiedNameTable(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private QualifiedNameTable(boolean noInit) {}
private static final QualifiedNameTable defaultInstance;
public static QualifiedNameTable getDefaultInstance() {
return defaultInstance;
}
public QualifiedNameTable getDefaultInstanceForType() {
return defaultInstance;
}
private QualifiedNameTable(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
qualifiedName_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
qualifiedName_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
qualifiedName_ = java.util.Collections.unmodifiableList(qualifiedName_);
}
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public QualifiedNameTable parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QualifiedNameTable(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public interface QualifiedNameOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// optional int32 parent_qualified_name = 1 [default = -1];
/**
* optional int32 parent_qualified_name = 1 [default = -1];
*/
boolean hasParentQualifiedName();
/**
* optional int32 parent_qualified_name = 1 [default = -1];
*/
int getParentQualifiedName();
// required int32 short_name = 2;
/**
* required int32 short_name = 2;
*
*
* Id in the StringTable
*
*/
boolean hasShortName();
/**
* required int32 short_name = 2;
*
*
* Id in the StringTable
*
*/
int getShortName();
// optional .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
/**
* optional .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
*/
boolean hasKind();
/**
* optional .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
*/
org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName.Kind getKind();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName}
*/
public static final class QualifiedName extends
com.google.protobuf.GeneratedMessageLite
implements QualifiedNameOrBuilder {
// Use QualifiedName.newBuilder() to construct.
private QualifiedName(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private QualifiedName(boolean noInit) {}
private static final QualifiedName defaultInstance;
public static QualifiedName getDefaultInstance() {
return defaultInstance;
}
public QualifiedName getDefaultInstanceForType() {
return defaultInstance;
}
private QualifiedName(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
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) {
bitField0_ |= 0x00000004;
kind_ = value;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public QualifiedName parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QualifiedName(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
/**
* Protobuf enum {@code org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName.Kind}
*/
public enum Kind
implements com.google.protobuf.Internal.EnumLite {
/**
* CLASS = 0;
*/
CLASS(0, 0),
/**
* PACKAGE = 1;
*/
PACKAGE(1, 1),
/**
* LOCAL = 2;
*/
LOCAL(2, 2),
;
/**
* CLASS = 0;
*/
public static final int CLASS_VALUE = 0;
/**
* PACKAGE = 1;
*/
public static final int PACKAGE_VALUE = 1;
/**
* LOCAL = 2;
*/
public static final int LOCAL_VALUE = 2;
public final int getNumber() { return value; }
public static Kind valueOf(int value) {
switch (value) {
case 0: return CLASS;
case 1: return PACKAGE;
case 2: return LOCAL;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Kind findValueByNumber(int number) {
return Kind.valueOf(number);
}
};
private final int value;
private Kind(int index, int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName.Kind)
}
private int bitField0_;
// optional int32 parent_qualified_name = 1 [default = -1];
public static final int PARENT_QUALIFIED_NAME_FIELD_NUMBER = 1;
private int parentQualifiedName_;
/**
* optional int32 parent_qualified_name = 1 [default = -1];
*/
public boolean hasParentQualifiedName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 parent_qualified_name = 1 [default = -1];
*/
public int getParentQualifiedName() {
return parentQualifiedName_;
}
// required int32 short_name = 2;
public static final int SHORT_NAME_FIELD_NUMBER = 2;
private int shortName_;
/**
* required int32 short_name = 2;
*
*
* Id in the StringTable
*
*/
public boolean hasShortName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 short_name = 2;
*
*
* Id in the StringTable
*
*/
public int getShortName() {
return shortName_;
}
// optional .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
public static final int KIND_FIELD_NUMBER = 3;
private org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName.Kind kind_;
/**
* optional .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
*/
public boolean hasKind() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
*/
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 isInitialized == 1;
if (!hasShortName()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.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());
}
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, parentQualifiedName_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, shortName_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, kind_.getNumber());
}
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(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.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,
com.google.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,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.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
com.google.protobuf.GeneratedMessageLite.Builder<
org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName, Builder>
implements 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());
}
return this;
}
public final boolean isInitialized() {
if (!hasShortName()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.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_;
// optional int32 parent_qualified_name = 1 [default = -1];
private int parentQualifiedName_ = -1;
/**
* optional int32 parent_qualified_name = 1 [default = -1];
*/
public boolean hasParentQualifiedName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 parent_qualified_name = 1 [default = -1];
*/
public int getParentQualifiedName() {
return parentQualifiedName_;
}
/**
* optional int32 parent_qualified_name = 1 [default = -1];
*/
public Builder setParentQualifiedName(int value) {
bitField0_ |= 0x00000001;
parentQualifiedName_ = value;
return this;
}
/**
* optional int32 parent_qualified_name = 1 [default = -1];
*/
public Builder clearParentQualifiedName() {
bitField0_ = (bitField0_ & ~0x00000001);
parentQualifiedName_ = -1;
return this;
}
// required int32 short_name = 2;
private int shortName_ ;
/**
* required int32 short_name = 2;
*
*
* Id in the StringTable
*
*/
public boolean hasShortName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 short_name = 2;
*
*
* Id in the StringTable
*
*/
public int getShortName() {
return shortName_;
}
/**
* required int32 short_name = 2;
*
*
* Id in the StringTable
*
*/
public Builder setShortName(int value) {
bitField0_ |= 0x00000002;
shortName_ = value;
return this;
}
/**
* required int32 short_name = 2;
*
*
* Id in the StringTable
*
*/
public Builder clearShortName() {
bitField0_ = (bitField0_ & ~0x00000002);
shortName_ = 0;
return this;
}
// optional .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
private org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName.Kind kind_ = org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName.Kind.PACKAGE;
/**
* optional .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
*/
public boolean hasKind() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName.Kind getKind() {
return kind_;
}
/**
* optional .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
*/
public Builder setKind(org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName.Kind value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
kind_ = value;
return this;
}
/**
* optional .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
*/
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)
}
// repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
public static final int QUALIFIED_NAME_FIELD_NUMBER = 1;
private java.util.List qualifiedName_;
/**
* repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public java.util.List getQualifiedNameList() {
return qualifiedName_;
}
/**
* repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public java.util.List extends org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedNameOrBuilder>
getQualifiedNameOrBuilderList() {
return qualifiedName_;
}
/**
* repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public int getQualifiedNameCount() {
return qualifiedName_.size();
}
/**
* repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName getQualifiedName(int index) {
return qualifiedName_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
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 isInitialized == 1;
for (int i = 0; i < getQualifiedNameCount(); i++) {
if (!getQualifiedName(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < qualifiedName_.size(); i++) {
output.writeMessage(1, qualifiedName_.get(i));
}
}
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 += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, qualifiedName_.get(i));
}
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(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.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,
com.google.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,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.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
com.google.protobuf.GeneratedMessageLite.Builder<
org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable, Builder>
implements 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_);
}
}
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getQualifiedNameCount(); i++) {
if (!getQualifiedName(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.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_;
// repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
private java.util.List qualifiedName_ =
java.util.Collections.emptyList();
private void ensureQualifiedNameIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
qualifiedName_ = new java.util.ArrayList(qualifiedName_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public java.util.List getQualifiedNameList() {
return java.util.Collections.unmodifiableList(qualifiedName_);
}
/**
* repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public int getQualifiedNameCount() {
return qualifiedName_.size();
}
/**
* repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName getQualifiedName(int index) {
return qualifiedName_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
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;
}
/**
* repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public Builder setQualifiedName(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName.Builder builderForValue) {
ensureQualifiedNameIsMutable();
qualifiedName_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public Builder addQualifiedName(org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName value) {
if (value == null) {
throw new NullPointerException();
}
ensureQualifiedNameIsMutable();
qualifiedName_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
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;
}
/**
* repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public Builder addQualifiedName(
org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName.Builder builderForValue) {
ensureQualifiedNameIsMutable();
qualifiedName_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public Builder addQualifiedName(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName.Builder builderForValue) {
ensureQualifiedNameIsMutable();
qualifiedName_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public Builder addAllQualifiedName(
java.lang.Iterable extends org.jetbrains.kotlin.serialization.ProtoBuf.QualifiedNameTable.QualifiedName> values) {
ensureQualifiedNameIsMutable();
super.addAll(values, qualifiedName_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
public Builder clearQualifiedName() {
qualifiedName_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
*/
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 com.google.protobuf.MessageLiteOrBuilder {
// required int32 id = 1;
/**
* required int32 id = 1;
*
*
* Class FQ name id
*
*/
boolean hasId();
/**
* required int32 id = 1;
*
*
* Class FQ name id
*
*/
int getId();
// repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;
*/
java.util.List
getArgumentList();
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;
*/
org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument getArgument(int index);
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;
*/
int getArgumentCount();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.serialization.Annotation}
*/
public static final class Annotation extends
com.google.protobuf.GeneratedMessageLite
implements AnnotationOrBuilder {
// Use Annotation.newBuilder() to construct.
private Annotation(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private Annotation(boolean noInit) {}
private static final Annotation defaultInstance;
public static Annotation getDefaultInstance() {
return defaultInstance;
}
public Annotation getDefaultInstanceForType() {
return defaultInstance;
}
private Annotation(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
id_ = input.readInt32();
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
argument_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
argument_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
argument_ = java.util.Collections.unmodifiableList(argument_);
}
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public Annotation parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Annotation(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public interface ArgumentOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// required int32 name_id = 1;
/**
* required int32 name_id = 1;
*
*
* id in StringTable
*
*/
boolean hasNameId();
/**
* required int32 name_id = 1;
*
*
* id in StringTable
*
*/
int getNameId();
// required .org.jetbrains.kotlin.serialization.Annotation.Argument.Value value = 2;
/**
* required .org.jetbrains.kotlin.serialization.Annotation.Argument.Value value = 2;
*/
boolean hasValue();
/**
* required .org.jetbrains.kotlin.serialization.Annotation.Argument.Value value = 2;
*/
org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value getValue();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.serialization.Annotation.Argument}
*/
public static final class Argument extends
com.google.protobuf.GeneratedMessageLite
implements ArgumentOrBuilder {
// Use Argument.newBuilder() to construct.
private Argument(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private Argument(boolean noInit) {}
private static final Argument defaultInstance;
public static Argument getDefaultInstance() {
return defaultInstance;
}
public Argument getDefaultInstanceForType() {
return defaultInstance;
}
private Argument(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
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 (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public Argument parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Argument(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public interface ValueOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// optional .org.jetbrains.kotlin.serialization.Annotation.Argument.Value.Type type = 1;
/**
* optional .org.jetbrains.kotlin.serialization.Annotation.Argument.Value.Type type = 1;
*
*
* Note: a *Value* has a Type, not an Argument! This is done for future language features which may involve using arrays
* of elements of different types. Such entries are allowed in the constant pool of JVM class files.
* However, to save space, this field is optional: in case of homogeneous arrays, only the type of the first element is required
*
*/
boolean hasType();
/**
* optional .org.jetbrains.kotlin.serialization.Annotation.Argument.Value.Type type = 1;
*
*
* Note: a *Value* has a Type, not an Argument! This is done for future language features which may involve using arrays
* of elements of different types. Such entries are allowed in the constant pool of JVM class files.
* However, to save space, this field is optional: in case of homogeneous arrays, only the type of the first element is required
*
*/
org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.Type getType();
// optional sint64 int_value = 2;
/**
* optional sint64 int_value = 2;
*/
boolean hasIntValue();
/**
* optional sint64 int_value = 2;
*/
long getIntValue();
// optional float float_value = 3;
/**
* optional float float_value = 3;
*/
boolean hasFloatValue();
/**
* optional float float_value = 3;
*/
float getFloatValue();
// optional double double_value = 4;
/**
* optional double double_value = 4;
*/
boolean hasDoubleValue();
/**
* optional double double_value = 4;
*/
double getDoubleValue();
// optional int32 string_value = 5;
/**
* optional int32 string_value = 5;
*
*
* id in StringTable
*
*/
boolean hasStringValue();
/**
* optional int32 string_value = 5;
*
*
* id in StringTable
*
*/
int getStringValue();
// optional int32 class_id = 6;
/**
* optional int32 class_id = 6;
*
*
* If type = CLASS, FQ name id of the referenced class; if type = ENUM, FQ name id of the enum class
*
*/
boolean hasClassId();
/**
* optional int32 class_id = 6;
*
*
* If type = CLASS, FQ name id of the referenced class; if type = ENUM, FQ name id of the enum class
*
*/
int getClassId();
// optional int32 enum_value_id = 7;
/**
* optional int32 enum_value_id = 7;
*
*
* id in StringTable
*
*/
boolean hasEnumValueId();
/**
* optional int32 enum_value_id = 7;
*
*
* id in StringTable
*
*/
int getEnumValueId();
// optional .org.jetbrains.kotlin.serialization.Annotation annotation = 8;
/**
* optional .org.jetbrains.kotlin.serialization.Annotation annotation = 8;
*/
boolean hasAnnotation();
/**
* optional .org.jetbrains.kotlin.serialization.Annotation annotation = 8;
*/
org.jetbrains.kotlin.serialization.ProtoBuf.Annotation getAnnotation();
// repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;
*/
java.util.List
getArrayElementList();
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;
*/
org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value getArrayElement(int index);
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;
*/
int getArrayElementCount();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.serialization.Annotation.Argument.Value}
*/
public static final class Value extends
com.google.protobuf.GeneratedMessageLite
implements ValueOrBuilder {
// Use Value.newBuilder() to construct.
private Value(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private Value(boolean noInit) {}
private static final Value defaultInstance;
public static Value getDefaultInstance() {
return defaultInstance;
}
public Value getDefaultInstanceForType() {
return defaultInstance;
}
private Value(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
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) {
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();
mutable_bitField0_ |= 0x00000100;
}
arrayElement_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
arrayElement_ = java.util.Collections.unmodifiableList(arrayElement_);
}
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public Value parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Value(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
/**
* Protobuf enum {@code org.jetbrains.kotlin.serialization.Annotation.Argument.Value.Type}
*/
public enum Type
implements com.google.protobuf.Internal.EnumLite {
/**
* BYTE = 0;
*/
BYTE(0, 0),
/**
* CHAR = 1;
*/
CHAR(1, 1),
/**
* SHORT = 2;
*/
SHORT(2, 2),
/**
* INT = 3;
*/
INT(3, 3),
/**
* LONG = 4;
*/
LONG(4, 4),
/**
* FLOAT = 5;
*/
FLOAT(5, 5),
/**
* DOUBLE = 6;
*/
DOUBLE(6, 6),
/**
* BOOLEAN = 7;
*/
BOOLEAN(7, 7),
/**
* STRING = 8;
*/
STRING(8, 8),
/**
* CLASS = 9;
*/
CLASS(9, 9),
/**
* ENUM = 10;
*/
ENUM(10, 10),
/**
* ANNOTATION = 11;
*/
ANNOTATION(11, 11),
/**
* ARRAY = 12;
*/
ARRAY(12, 12),
;
/**
* BYTE = 0;
*/
public static final int BYTE_VALUE = 0;
/**
* CHAR = 1;
*/
public static final int CHAR_VALUE = 1;
/**
* SHORT = 2;
*/
public static final int SHORT_VALUE = 2;
/**
* INT = 3;
*/
public static final int INT_VALUE = 3;
/**
* LONG = 4;
*/
public static final int LONG_VALUE = 4;
/**
* FLOAT = 5;
*/
public static final int FLOAT_VALUE = 5;
/**
* DOUBLE = 6;
*/
public static final int DOUBLE_VALUE = 6;
/**
* BOOLEAN = 7;
*/
public static final int BOOLEAN_VALUE = 7;
/**
* STRING = 8;
*/
public static final int STRING_VALUE = 8;
/**
* CLASS = 9;
*/
public static final int CLASS_VALUE = 9;
/**
* ENUM = 10;
*/
public static final int ENUM_VALUE = 10;
/**
* ANNOTATION = 11;
*/
public static final int ANNOTATION_VALUE = 11;
/**
* ARRAY = 12;
*/
public static final int ARRAY_VALUE = 12;
public final int getNumber() { return value; }
public static Type valueOf(int value) {
switch (value) {
case 0: return BYTE;
case 1: return CHAR;
case 2: return SHORT;
case 3: return INT;
case 4: return LONG;
case 5: return FLOAT;
case 6: return DOUBLE;
case 7: return BOOLEAN;
case 8: return STRING;
case 9: return CLASS;
case 10: return ENUM;
case 11: return ANNOTATION;
case 12: return ARRAY;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Type findValueByNumber(int number) {
return Type.valueOf(number);
}
};
private final int value;
private Type(int index, int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org.jetbrains.kotlin.serialization.Annotation.Argument.Value.Type)
}
private int bitField0_;
// optional .org.jetbrains.kotlin.serialization.Annotation.Argument.Value.Type type = 1;
public static final int TYPE_FIELD_NUMBER = 1;
private org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.Type type_;
/**
* optional .org.jetbrains.kotlin.serialization.Annotation.Argument.Value.Type type = 1;
*
*
* Note: a *Value* has a Type, not an Argument! This is done for future language features which may involve using arrays
* of elements of different types. Such entries are allowed in the constant pool of JVM class files.
* However, to save space, this field is optional: in case of homogeneous arrays, only the type of the first element is required
*
*/
public boolean hasType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .org.jetbrains.kotlin.serialization.Annotation.Argument.Value.Type type = 1;
*
*
* Note: a *Value* has a Type, not an Argument! This is done for future language features which may involve using arrays
* of elements of different types. Such entries are allowed in the constant pool of JVM class files.
* However, to save space, this field is optional: in case of homogeneous arrays, only the type of the first element is required
*
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.Type getType() {
return type_;
}
// optional sint64 int_value = 2;
public static final int INT_VALUE_FIELD_NUMBER = 2;
private long intValue_;
/**
* optional sint64 int_value = 2;
*/
public boolean hasIntValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional sint64 int_value = 2;
*/
public long getIntValue() {
return intValue_;
}
// optional float float_value = 3;
public static final int FLOAT_VALUE_FIELD_NUMBER = 3;
private float floatValue_;
/**
* optional float float_value = 3;
*/
public boolean hasFloatValue() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional float float_value = 3;
*/
public float getFloatValue() {
return floatValue_;
}
// optional double double_value = 4;
public static final int DOUBLE_VALUE_FIELD_NUMBER = 4;
private double doubleValue_;
/**
* optional double double_value = 4;
*/
public boolean hasDoubleValue() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional double double_value = 4;
*/
public double getDoubleValue() {
return doubleValue_;
}
// optional int32 string_value = 5;
public static final int STRING_VALUE_FIELD_NUMBER = 5;
private int stringValue_;
/**
* optional int32 string_value = 5;
*
*
* id in StringTable
*
*/
public boolean hasStringValue() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int32 string_value = 5;
*
*
* id in StringTable
*
*/
public int getStringValue() {
return stringValue_;
}
// optional int32 class_id = 6;
public static final int CLASS_ID_FIELD_NUMBER = 6;
private int classId_;
/**
* optional int32 class_id = 6;
*
*
* If type = CLASS, FQ name id of the referenced class; if type = ENUM, FQ name id of the enum class
*
*/
public boolean hasClassId() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional int32 class_id = 6;
*
*
* If type = CLASS, FQ name id of the referenced class; if type = ENUM, FQ name id of the enum class
*
*/
public int getClassId() {
return classId_;
}
// optional int32 enum_value_id = 7;
public static final int ENUM_VALUE_ID_FIELD_NUMBER = 7;
private int enumValueId_;
/**
* optional int32 enum_value_id = 7;
*
*
* id in StringTable
*
*/
public boolean hasEnumValueId() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional int32 enum_value_id = 7;
*
*
* id in StringTable
*
*/
public int getEnumValueId() {
return enumValueId_;
}
// optional .org.jetbrains.kotlin.serialization.Annotation annotation = 8;
public static final int ANNOTATION_FIELD_NUMBER = 8;
private org.jetbrains.kotlin.serialization.ProtoBuf.Annotation annotation_;
/**
* optional .org.jetbrains.kotlin.serialization.Annotation annotation = 8;
*/
public boolean hasAnnotation() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional .org.jetbrains.kotlin.serialization.Annotation annotation = 8;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation getAnnotation() {
return annotation_;
}
// repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;
public static final int ARRAY_ELEMENT_FIELD_NUMBER = 9;
private java.util.List arrayElement_;
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;
*/
public java.util.List getArrayElementList() {
return arrayElement_;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;
*/
public java.util.List extends org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.ValueOrBuilder>
getArrayElementOrBuilderList() {
return arrayElement_;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;
*/
public int getArrayElementCount() {
return arrayElement_.size();
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value getArrayElement(int index) {
return arrayElement_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;
*/
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 isInitialized == 1;
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(com.google.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));
}
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, type_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeSInt64Size(2, intValue_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(3, floatValue_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(4, doubleValue_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, stringValue_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, classId_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(7, enumValueId_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, annotation_);
}
for (int i = 0; i < arrayElement_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, arrayElement_.get(i));
}
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(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.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,
com.google.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,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.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
com.google.protobuf.GeneratedMessageLite.Builder<
org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value, Builder>
implements 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_);
}
}
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(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.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_;
// optional .org.jetbrains.kotlin.serialization.Annotation.Argument.Value.Type type = 1;
private org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.Type type_ = org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.Type.BYTE;
/**
* optional .org.jetbrains.kotlin.serialization.Annotation.Argument.Value.Type type = 1;
*
*
* Note: a *Value* has a Type, not an Argument! This is done for future language features which may involve using arrays
* of elements of different types. Such entries are allowed in the constant pool of JVM class files.
* However, to save space, this field is optional: in case of homogeneous arrays, only the type of the first element is required
*
*/
public boolean hasType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .org.jetbrains.kotlin.serialization.Annotation.Argument.Value.Type type = 1;
*
*
* Note: a *Value* has a Type, not an Argument! This is done for future language features which may involve using arrays
* of elements of different types. Such entries are allowed in the constant pool of JVM class files.
* However, to save space, this field is optional: in case of homogeneous arrays, only the type of the first element is required
*
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.Type getType() {
return type_;
}
/**
* optional .org.jetbrains.kotlin.serialization.Annotation.Argument.Value.Type type = 1;
*
*
* Note: a *Value* has a Type, not an Argument! This is done for future language features which may involve using arrays
* of elements of different types. Such entries are allowed in the constant pool of JVM class files.
* However, to save space, this field is optional: in case of homogeneous arrays, only the type of the first element is required
*
*/
public Builder setType(org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.Type value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
type_ = value;
return this;
}
/**
* optional .org.jetbrains.kotlin.serialization.Annotation.Argument.Value.Type type = 1;
*
*
* Note: a *Value* has a Type, not an Argument! This is done for future language features which may involve using arrays
* of elements of different types. Such entries are allowed in the constant pool of JVM class files.
* However, to save space, this field is optional: in case of homogeneous arrays, only the type of the first element is required
*
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000001);
type_ = org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.Type.BYTE;
return this;
}
// optional sint64 int_value = 2;
private long intValue_ ;
/**
* optional sint64 int_value = 2;
*/
public boolean hasIntValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional sint64 int_value = 2;
*/
public long getIntValue() {
return intValue_;
}
/**
* optional sint64 int_value = 2;
*/
public Builder setIntValue(long value) {
bitField0_ |= 0x00000002;
intValue_ = value;
return this;
}
/**
* optional sint64 int_value = 2;
*/
public Builder clearIntValue() {
bitField0_ = (bitField0_ & ~0x00000002);
intValue_ = 0L;
return this;
}
// optional float float_value = 3;
private float floatValue_ ;
/**
* optional float float_value = 3;
*/
public boolean hasFloatValue() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional float float_value = 3;
*/
public float getFloatValue() {
return floatValue_;
}
/**
* optional float float_value = 3;
*/
public Builder setFloatValue(float value) {
bitField0_ |= 0x00000004;
floatValue_ = value;
return this;
}
/**
* optional float float_value = 3;
*/
public Builder clearFloatValue() {
bitField0_ = (bitField0_ & ~0x00000004);
floatValue_ = 0F;
return this;
}
// optional double double_value = 4;
private double doubleValue_ ;
/**
* optional double double_value = 4;
*/
public boolean hasDoubleValue() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional double double_value = 4;
*/
public double getDoubleValue() {
return doubleValue_;
}
/**
* optional double double_value = 4;
*/
public Builder setDoubleValue(double value) {
bitField0_ |= 0x00000008;
doubleValue_ = value;
return this;
}
/**
* optional double double_value = 4;
*/
public Builder clearDoubleValue() {
bitField0_ = (bitField0_ & ~0x00000008);
doubleValue_ = 0D;
return this;
}
// optional int32 string_value = 5;
private int stringValue_ ;
/**
* optional int32 string_value = 5;
*
*
* id in StringTable
*
*/
public boolean hasStringValue() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int32 string_value = 5;
*
*
* id in StringTable
*
*/
public int getStringValue() {
return stringValue_;
}
/**
* optional int32 string_value = 5;
*
*
* id in StringTable
*
*/
public Builder setStringValue(int value) {
bitField0_ |= 0x00000010;
stringValue_ = value;
return this;
}
/**
* optional int32 string_value = 5;
*
*
* id in StringTable
*
*/
public Builder clearStringValue() {
bitField0_ = (bitField0_ & ~0x00000010);
stringValue_ = 0;
return this;
}
// optional int32 class_id = 6;
private int classId_ ;
/**
* optional int32 class_id = 6;
*
*
* If type = CLASS, FQ name id of the referenced class; if type = ENUM, FQ name id of the enum class
*
*/
public boolean hasClassId() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional int32 class_id = 6;
*
*
* If type = CLASS, FQ name id of the referenced class; if type = ENUM, FQ name id of the enum class
*
*/
public int getClassId() {
return classId_;
}
/**
* optional int32 class_id = 6;
*
*
* If type = CLASS, FQ name id of the referenced class; if type = ENUM, FQ name id of the enum class
*
*/
public Builder setClassId(int value) {
bitField0_ |= 0x00000020;
classId_ = value;
return this;
}
/**
* optional int32 class_id = 6;
*
*
* If type = CLASS, FQ name id of the referenced class; if type = ENUM, FQ name id of the enum class
*
*/
public Builder clearClassId() {
bitField0_ = (bitField0_ & ~0x00000020);
classId_ = 0;
return this;
}
// optional int32 enum_value_id = 7;
private int enumValueId_ ;
/**
* optional int32 enum_value_id = 7;
*
*
* id in StringTable
*
*/
public boolean hasEnumValueId() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional int32 enum_value_id = 7;
*
*
* id in StringTable
*
*/
public int getEnumValueId() {
return enumValueId_;
}
/**
* optional int32 enum_value_id = 7;
*
*
* id in StringTable
*
*/
public Builder setEnumValueId(int value) {
bitField0_ |= 0x00000040;
enumValueId_ = value;
return this;
}
/**
* optional int32 enum_value_id = 7;
*
*
* id in StringTable
*
*/
public Builder clearEnumValueId() {
bitField0_ = (bitField0_ & ~0x00000040);
enumValueId_ = 0;
return this;
}
// optional .org.jetbrains.kotlin.serialization.Annotation annotation = 8;
private org.jetbrains.kotlin.serialization.ProtoBuf.Annotation annotation_ = org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance();
/**
* optional .org.jetbrains.kotlin.serialization.Annotation annotation = 8;
*/
public boolean hasAnnotation() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional .org.jetbrains.kotlin.serialization.Annotation annotation = 8;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation getAnnotation() {
return annotation_;
}
/**
* optional .org.jetbrains.kotlin.serialization.Annotation annotation = 8;
*/
public Builder setAnnotation(org.jetbrains.kotlin.serialization.ProtoBuf.Annotation value) {
if (value == null) {
throw new NullPointerException();
}
annotation_ = value;
bitField0_ |= 0x00000080;
return this;
}
/**
* optional .org.jetbrains.kotlin.serialization.Annotation annotation = 8;
*/
public Builder setAnnotation(
org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Builder builderForValue) {
annotation_ = builderForValue.build();
bitField0_ |= 0x00000080;
return this;
}
/**
* optional .org.jetbrains.kotlin.serialization.Annotation annotation = 8;
*/
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;
}
/**
* optional .org.jetbrains.kotlin.serialization.Annotation annotation = 8;
*/
public Builder clearAnnotation() {
annotation_ = org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
// repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;
private java.util.List arrayElement_ =
java.util.Collections.emptyList();
private void ensureArrayElementIsMutable() {
if (!((bitField0_ & 0x00000100) == 0x00000100)) {
arrayElement_ = new java.util.ArrayList(arrayElement_);
bitField0_ |= 0x00000100;
}
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;
*/
public java.util.List getArrayElementList() {
return java.util.Collections.unmodifiableList(arrayElement_);
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;
*/
public int getArrayElementCount() {
return arrayElement_.size();
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value getArrayElement(int index) {
return arrayElement_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;
*/
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;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;
*/
public Builder setArrayElement(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.Builder builderForValue) {
ensureArrayElementIsMutable();
arrayElement_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;
*/
public Builder addArrayElement(org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value value) {
if (value == null) {
throw new NullPointerException();
}
ensureArrayElementIsMutable();
arrayElement_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;
*/
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;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;
*/
public Builder addArrayElement(
org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.Builder builderForValue) {
ensureArrayElementIsMutable();
arrayElement_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;
*/
public Builder addArrayElement(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.Builder builderForValue) {
ensureArrayElementIsMutable();
arrayElement_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;
*/
public Builder addAllArrayElement(
java.lang.Iterable extends org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value> values) {
ensureArrayElementIsMutable();
super.addAll(values, arrayElement_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;
*/
public Builder clearArrayElement() {
arrayElement_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument.Value array_element = 9;
*/
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_;
// required int32 name_id = 1;
public static final int NAME_ID_FIELD_NUMBER = 1;
private int nameId_;
/**
* required int32 name_id = 1;
*
*
* id in StringTable
*
*/
public boolean hasNameId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 name_id = 1;
*
*
* id in StringTable
*
*/
public int getNameId() {
return nameId_;
}
// required .org.jetbrains.kotlin.serialization.Annotation.Argument.Value value = 2;
public static final int VALUE_FIELD_NUMBER = 2;
private org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value value_;
/**
* required .org.jetbrains.kotlin.serialization.Annotation.Argument.Value value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required .org.jetbrains.kotlin.serialization.Annotation.Argument.Value value = 2;
*/
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 isInitialized == 1;
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(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(1, nameId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, value_);
}
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, nameId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, value_);
}
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(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.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,
com.google.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,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.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
com.google.protobuf.GeneratedMessageLite.Builder<
org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument, Builder>
implements 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());
}
return this;
}
public final boolean isInitialized() {
if (!hasNameId()) {
return false;
}
if (!hasValue()) {
return false;
}
if (!getValue().isInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.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_;
// required int32 name_id = 1;
private int nameId_ ;
/**
* required int32 name_id = 1;
*
*
* id in StringTable
*
*/
public boolean hasNameId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 name_id = 1;
*
*
* id in StringTable
*
*/
public int getNameId() {
return nameId_;
}
/**
* required int32 name_id = 1;
*
*
* id in StringTable
*
*/
public Builder setNameId(int value) {
bitField0_ |= 0x00000001;
nameId_ = value;
return this;
}
/**
* required int32 name_id = 1;
*
*
* id in StringTable
*
*/
public Builder clearNameId() {
bitField0_ = (bitField0_ & ~0x00000001);
nameId_ = 0;
return this;
}
// required .org.jetbrains.kotlin.serialization.Annotation.Argument.Value value = 2;
private org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value value_ = org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.getDefaultInstance();
/**
* required .org.jetbrains.kotlin.serialization.Annotation.Argument.Value value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required .org.jetbrains.kotlin.serialization.Annotation.Argument.Value value = 2;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value getValue() {
return value_;
}
/**
* required .org.jetbrains.kotlin.serialization.Annotation.Argument.Value value = 2;
*/
public Builder setValue(org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value value) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
bitField0_ |= 0x00000002;
return this;
}
/**
* required .org.jetbrains.kotlin.serialization.Annotation.Argument.Value value = 2;
*/
public Builder setValue(
org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Value.Builder builderForValue) {
value_ = builderForValue.build();
bitField0_ |= 0x00000002;
return this;
}
/**
* required .org.jetbrains.kotlin.serialization.Annotation.Argument.Value value = 2;
*/
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;
}
/**
* required .org.jetbrains.kotlin.serialization.Annotation.Argument.Value value = 2;
*/
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_;
// required int32 id = 1;
public static final int ID_FIELD_NUMBER = 1;
private int id_;
/**
* required int32 id = 1;
*
*
* Class FQ name id
*
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 id = 1;
*
*
* Class FQ name id
*
*/
public int getId() {
return id_;
}
// repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;
public static final int ARGUMENT_FIELD_NUMBER = 2;
private java.util.List argument_;
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;
*/
public java.util.List getArgumentList() {
return argument_;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;
*/
public java.util.List extends org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.ArgumentOrBuilder>
getArgumentOrBuilderList() {
return argument_;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;
*/
public int getArgumentCount() {
return argument_.size();
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument getArgument(int index) {
return argument_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;
*/
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 isInitialized == 1;
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(com.google.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));
}
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, id_);
}
for (int i = 0; i < argument_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, argument_.get(i));
}
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(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Annotation parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Annotation parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Annotation parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.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,
com.google.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,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Annotation parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Annotation parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.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
com.google.protobuf.GeneratedMessageLite.Builder<
org.jetbrains.kotlin.serialization.ProtoBuf.Annotation, Builder>
implements 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_);
}
}
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(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.jetbrains.kotlin.serialization.ProtoBuf.Annotation parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.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_;
// required int32 id = 1;
private int id_ ;
/**
* required int32 id = 1;
*
*
* Class FQ name id
*
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 id = 1;
*
*
* Class FQ name id
*
*/
public int getId() {
return id_;
}
/**
* required int32 id = 1;
*
*
* Class FQ name id
*
*/
public Builder setId(int value) {
bitField0_ |= 0x00000001;
id_ = value;
return this;
}
/**
* required int32 id = 1;
*
*
* Class FQ name id
*
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0;
return this;
}
// repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;
private java.util.List argument_ =
java.util.Collections.emptyList();
private void ensureArgumentIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
argument_ = new java.util.ArrayList(argument_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;
*/
public java.util.List getArgumentList() {
return java.util.Collections.unmodifiableList(argument_);
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;
*/
public int getArgumentCount() {
return argument_.size();
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument getArgument(int index) {
return argument_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;
*/
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;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;
*/
public Builder setArgument(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Builder builderForValue) {
ensureArgumentIsMutable();
argument_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;
*/
public Builder addArgument(org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument value) {
if (value == null) {
throw new NullPointerException();
}
ensureArgumentIsMutable();
argument_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;
*/
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;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;
*/
public Builder addArgument(
org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Builder builderForValue) {
ensureArgumentIsMutable();
argument_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;
*/
public Builder addArgument(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument.Builder builderForValue) {
ensureArgumentIsMutable();
argument_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;
*/
public Builder addAllArgument(
java.lang.Iterable extends org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.Argument> values) {
ensureArgumentIsMutable();
super.addAll(values, argument_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;
*/
public Builder clearArgument() {
argument_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Annotation.Argument argument = 2;
*/
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
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder {
// required .org.jetbrains.kotlin.serialization.Type.Constructor constructor = 1;
/**
* required .org.jetbrains.kotlin.serialization.Type.Constructor constructor = 1;
*/
boolean hasConstructor();
/**
* required .org.jetbrains.kotlin.serialization.Type.Constructor constructor = 1;
*/
org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor getConstructor();
// repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
/**
* repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
*/
java.util.List
getArgumentList();
/**
* repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
*/
org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument getArgument(int index);
/**
* repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
*/
int getArgumentCount();
// optional bool nullable = 3 [default = false];
/**
* optional bool nullable = 3 [default = false];
*/
boolean hasNullable();
/**
* optional bool nullable = 3 [default = false];
*/
boolean getNullable();
// optional int32 flexible_type_capabilities_id = 4;
/**
* optional int32 flexible_type_capabilities_id = 4;
*
*
* Id in the StringTable
* If this field is set, the type is flexible.
* All the other fields and extensions represent its lower bound, and flexible_upper_bound must be set and represents its upper bound.
*
*/
boolean hasFlexibleTypeCapabilitiesId();
/**
* optional int32 flexible_type_capabilities_id = 4;
*
*
* Id in the StringTable
* If this field is set, the type is flexible.
* All the other fields and extensions represent its lower bound, and flexible_upper_bound must be set and represents its upper bound.
*
*/
int getFlexibleTypeCapabilitiesId();
// optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;
/**
* optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;
*
*
* While such an "indirect" encoding helps backwards compatibility with pre-flexible-types versions of this format,
* we use it mainly to save space: having a special mandatory tag on each an every type just to have an option
* to represent flexible types is too many wasted bytes.
*
*/
boolean hasFlexibleUpperBound();
/**
* optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;
*
*
* While such an "indirect" encoding helps backwards compatibility with pre-flexible-types versions of this format,
* we use it mainly to save space: having a special mandatory tag on each an every type just to have an option
* to represent flexible types is too many wasted bytes.
*
*/
org.jetbrains.kotlin.serialization.ProtoBuf.Type getFlexibleUpperBound();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.serialization.Type}
*/
public static final class Type extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Type> implements TypeOrBuilder {
// Use Type.newBuilder() to construct.
private Type(com.google.protobuf.GeneratedMessageLite.ExtendableBuilder builder) {
super(builder);
}
private Type(boolean noInit) {}
private static final Type defaultInstance;
public static Type getDefaultInstance() {
return defaultInstance;
}
public Type getDefaultInstanceForType() {
return defaultInstance;
}
private Type(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = constructor_.toBuilder();
}
constructor_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(constructor_);
constructor_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
argument_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
argument_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument.PARSER, extensionRegistry));
break;
}
case 24: {
bitField0_ |= 0x00000002;
nullable_ = input.readBool();
break;
}
case 32: {
bitField0_ |= 0x00000004;
flexibleTypeCapabilitiesId_ = input.readInt32();
break;
}
case 42: {
org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder subBuilder = null;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
subBuilder = flexibleUpperBound_.toBuilder();
}
flexibleUpperBound_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Type.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(flexibleUpperBound_);
flexibleUpperBound_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000008;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
argument_ = java.util.Collections.unmodifiableList(argument_);
}
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public Type parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Type(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public interface ConstructorOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// optional .org.jetbrains.kotlin.serialization.Type.Constructor.Kind kind = 1 [default = CLASS];
/**
* optional .org.jetbrains.kotlin.serialization.Type.Constructor.Kind kind = 1 [default = CLASS];
*/
boolean hasKind();
/**
* optional .org.jetbrains.kotlin.serialization.Type.Constructor.Kind kind = 1 [default = CLASS];
*/
org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor.Kind getKind();
// required int32 id = 2;
/**
* required int32 id = 2;
*
*
* CLASS - fqName id, TYPE_PARAMETER - type parameter id
*
*/
boolean hasId();
/**
* required int32 id = 2;
*
*
* CLASS - fqName id, TYPE_PARAMETER - type parameter id
*
*/
int getId();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.serialization.Type.Constructor}
*/
public static final class Constructor extends
com.google.protobuf.GeneratedMessageLite
implements ConstructorOrBuilder {
// Use Constructor.newBuilder() to construct.
private Constructor(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private Constructor(boolean noInit) {}
private static final Constructor defaultInstance;
public static Constructor getDefaultInstance() {
return defaultInstance;
}
public Constructor getDefaultInstanceForType() {
return defaultInstance;
}
private Constructor(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
int rawValue = input.readEnum();
org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor.Kind value = org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor.Kind.valueOf(rawValue);
if (value != null) {
bitField0_ |= 0x00000001;
kind_ = value;
}
break;
}
case 16: {
bitField0_ |= 0x00000002;
id_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public Constructor parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Constructor(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
/**
* Protobuf enum {@code org.jetbrains.kotlin.serialization.Type.Constructor.Kind}
*/
public enum Kind
implements com.google.protobuf.Internal.EnumLite {
/**
* CLASS = 0;
*/
CLASS(0, 0),
/**
* TYPE_PARAMETER = 1;
*/
TYPE_PARAMETER(1, 1),
;
/**
* CLASS = 0;
*/
public static final int CLASS_VALUE = 0;
/**
* TYPE_PARAMETER = 1;
*/
public static final int TYPE_PARAMETER_VALUE = 1;
public final int getNumber() { return value; }
public static Kind valueOf(int value) {
switch (value) {
case 0: return CLASS;
case 1: return TYPE_PARAMETER;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Kind findValueByNumber(int number) {
return Kind.valueOf(number);
}
};
private final int value;
private Kind(int index, int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org.jetbrains.kotlin.serialization.Type.Constructor.Kind)
}
private int bitField0_;
// optional .org.jetbrains.kotlin.serialization.Type.Constructor.Kind kind = 1 [default = CLASS];
public static final int KIND_FIELD_NUMBER = 1;
private org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor.Kind kind_;
/**
* optional .org.jetbrains.kotlin.serialization.Type.Constructor.Kind kind = 1 [default = CLASS];
*/
public boolean hasKind() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .org.jetbrains.kotlin.serialization.Type.Constructor.Kind kind = 1 [default = CLASS];
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor.Kind getKind() {
return kind_;
}
// required int32 id = 2;
public static final int ID_FIELD_NUMBER = 2;
private int id_;
/**
* required int32 id = 2;
*
*
* CLASS - fqName id, TYPE_PARAMETER - type parameter id
*
*/
public boolean hasId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 id = 2;
*
*
* CLASS - fqName id, TYPE_PARAMETER - type parameter id
*
*/
public int getId() {
return id_;
}
private void initFields() {
kind_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor.Kind.CLASS;
id_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasId()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeEnum(1, kind_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, id_);
}
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, kind_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, id_);
}
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.Constructor parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.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.Constructor prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code org.jetbrains.kotlin.serialization.Type.Constructor}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor, Builder>
implements org.jetbrains.kotlin.serialization.ProtoBuf.Type.ConstructorOrBuilder {
// Construct using org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
kind_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor.Kind.CLASS;
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor getDefaultInstanceForType() {
return org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor.getDefaultInstance();
}
public org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor build() {
org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor buildPartial() {
org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor result = new org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.kind_ = kind_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.id_ = id_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor other) {
if (other == org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor.getDefaultInstance()) return this;
if (other.hasKind()) {
setKind(other.getKind());
}
if (other.hasId()) {
setId(other.getId());
}
return this;
}
public final boolean isInitialized() {
if (!hasId()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional .org.jetbrains.kotlin.serialization.Type.Constructor.Kind kind = 1 [default = CLASS];
private org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor.Kind kind_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor.Kind.CLASS;
/**
* optional .org.jetbrains.kotlin.serialization.Type.Constructor.Kind kind = 1 [default = CLASS];
*/
public boolean hasKind() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .org.jetbrains.kotlin.serialization.Type.Constructor.Kind kind = 1 [default = CLASS];
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor.Kind getKind() {
return kind_;
}
/**
* optional .org.jetbrains.kotlin.serialization.Type.Constructor.Kind kind = 1 [default = CLASS];
*/
public Builder setKind(org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor.Kind value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
kind_ = value;
return this;
}
/**
* optional .org.jetbrains.kotlin.serialization.Type.Constructor.Kind kind = 1 [default = CLASS];
*/
public Builder clearKind() {
bitField0_ = (bitField0_ & ~0x00000001);
kind_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor.Kind.CLASS;
return this;
}
// required int32 id = 2;
private int id_ ;
/**
* required int32 id = 2;
*
*
* CLASS - fqName id, TYPE_PARAMETER - type parameter id
*
*/
public boolean hasId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 id = 2;
*
*
* CLASS - fqName id, TYPE_PARAMETER - type parameter id
*
*/
public int getId() {
return id_;
}
/**
* required int32 id = 2;
*
*
* CLASS - fqName id, TYPE_PARAMETER - type parameter id
*
*/
public Builder setId(int value) {
bitField0_ |= 0x00000002;
id_ = value;
return this;
}
/**
* required int32 id = 2;
*
*
* CLASS - fqName id, TYPE_PARAMETER - type parameter id
*
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000002);
id_ = 0;
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.Type.Constructor)
}
static {
defaultInstance = new Constructor(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.Type.Constructor)
}
public interface ArgumentOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// optional .org.jetbrains.kotlin.serialization.Type.Argument.Projection projection = 1 [default = INV];
/**
* optional .org.jetbrains.kotlin.serialization.Type.Argument.Projection projection = 1 [default = INV];
*/
boolean hasProjection();
/**
* optional .org.jetbrains.kotlin.serialization.Type.Argument.Projection projection = 1 [default = INV];
*/
org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument.Projection getProjection();
// optional .org.jetbrains.kotlin.serialization.Type type = 2;
/**
* optional .org.jetbrains.kotlin.serialization.Type type = 2;
*
*
* when projection is STAR, no type is written, otherwise type must be specified
*
*/
boolean hasType();
/**
* optional .org.jetbrains.kotlin.serialization.Type type = 2;
*
*
* when projection is STAR, no type is written, otherwise type must be specified
*
*/
org.jetbrains.kotlin.serialization.ProtoBuf.Type getType();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.serialization.Type.Argument}
*/
public static final class Argument extends
com.google.protobuf.GeneratedMessageLite
implements ArgumentOrBuilder {
// Use Argument.newBuilder() to construct.
private Argument(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private Argument(boolean noInit) {}
private static final Argument defaultInstance;
public static Argument getDefaultInstance() {
return defaultInstance;
}
public Argument getDefaultInstanceForType() {
return defaultInstance;
}
private Argument(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
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) {
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;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public Argument parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Argument(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
/**
* Protobuf enum {@code org.jetbrains.kotlin.serialization.Type.Argument.Projection}
*/
public enum Projection
implements com.google.protobuf.Internal.EnumLite {
/**
* IN = 0;
*/
IN(0, 0),
/**
* OUT = 1;
*/
OUT(1, 1),
/**
* INV = 2;
*/
INV(2, 2),
/**
* STAR = 3;
*/
STAR(3, 3),
;
/**
* IN = 0;
*/
public static final int IN_VALUE = 0;
/**
* OUT = 1;
*/
public static final int OUT_VALUE = 1;
/**
* INV = 2;
*/
public static final int INV_VALUE = 2;
/**
* STAR = 3;
*/
public static final int STAR_VALUE = 3;
public final int getNumber() { return value; }
public static Projection valueOf(int value) {
switch (value) {
case 0: return IN;
case 1: return OUT;
case 2: return INV;
case 3: return STAR;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Projection findValueByNumber(int number) {
return Projection.valueOf(number);
}
};
private final int value;
private Projection(int index, int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org.jetbrains.kotlin.serialization.Type.Argument.Projection)
}
private int bitField0_;
// optional .org.jetbrains.kotlin.serialization.Type.Argument.Projection projection = 1 [default = INV];
public static final int PROJECTION_FIELD_NUMBER = 1;
private org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument.Projection projection_;
/**
* optional .org.jetbrains.kotlin.serialization.Type.Argument.Projection projection = 1 [default = INV];
*/
public boolean hasProjection() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .org.jetbrains.kotlin.serialization.Type.Argument.Projection projection = 1 [default = INV];
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument.Projection getProjection() {
return projection_;
}
// optional .org.jetbrains.kotlin.serialization.Type type = 2;
public static final int TYPE_FIELD_NUMBER = 2;
private org.jetbrains.kotlin.serialization.ProtoBuf.Type type_;
/**
* optional .org.jetbrains.kotlin.serialization.Type type = 2;
*
*
* when projection is STAR, no type is written, otherwise type must be specified
*
*/
public boolean hasType() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .org.jetbrains.kotlin.serialization.Type type = 2;
*
*
* when projection is STAR, no type is written, otherwise type must be specified
*
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Type getType() {
return type_;
}
private void initFields() {
projection_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument.Projection.INV;
type_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (hasType()) {
if (!getType().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.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_);
}
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, projection_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, type_);
}
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(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.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,
com.google.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,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.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
com.google.protobuf.GeneratedMessageLite.Builder<
org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument, Builder>
implements 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);
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_;
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());
}
return this;
}
public final boolean isInitialized() {
if (hasType()) {
if (!getType().isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.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_;
// optional .org.jetbrains.kotlin.serialization.Type.Argument.Projection projection = 1 [default = INV];
private org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument.Projection projection_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument.Projection.INV;
/**
* optional .org.jetbrains.kotlin.serialization.Type.Argument.Projection projection = 1 [default = INV];
*/
public boolean hasProjection() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .org.jetbrains.kotlin.serialization.Type.Argument.Projection projection = 1 [default = INV];
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument.Projection getProjection() {
return projection_;
}
/**
* optional .org.jetbrains.kotlin.serialization.Type.Argument.Projection projection = 1 [default = INV];
*/
public Builder setProjection(org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument.Projection value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
projection_ = value;
return this;
}
/**
* optional .org.jetbrains.kotlin.serialization.Type.Argument.Projection projection = 1 [default = INV];
*/
public Builder clearProjection() {
bitField0_ = (bitField0_ & ~0x00000001);
projection_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument.Projection.INV;
return this;
}
// optional .org.jetbrains.kotlin.serialization.Type type = 2;
private org.jetbrains.kotlin.serialization.ProtoBuf.Type type_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance();
/**
* optional .org.jetbrains.kotlin.serialization.Type type = 2;
*
*
* when projection is STAR, no type is written, otherwise type must be specified
*
*/
public boolean hasType() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .org.jetbrains.kotlin.serialization.Type type = 2;
*
*
* when projection is STAR, no type is written, otherwise type must be specified
*
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Type getType() {
return type_;
}
/**
* optional .org.jetbrains.kotlin.serialization.Type type = 2;
*
*
* when projection is STAR, no type is written, otherwise type must be specified
*
*/
public Builder setType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) {
if (value == null) {
throw new NullPointerException();
}
type_ = value;
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .org.jetbrains.kotlin.serialization.Type type = 2;
*
*
* when projection is STAR, no type is written, otherwise type must be specified
*
*/
public Builder setType(
org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) {
type_ = builderForValue.build();
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .org.jetbrains.kotlin.serialization.Type type = 2;
*
*
* when projection is STAR, no type is written, otherwise type must be specified
*
*/
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;
}
/**
* optional .org.jetbrains.kotlin.serialization.Type type = 2;
*
*
* when projection is STAR, no type is written, otherwise type must be specified
*
*/
public Builder clearType() {
type_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000002);
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_;
// required .org.jetbrains.kotlin.serialization.Type.Constructor constructor = 1;
public static final int CONSTRUCTOR_FIELD_NUMBER = 1;
private org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor constructor_;
/**
* required .org.jetbrains.kotlin.serialization.Type.Constructor constructor = 1;
*/
public boolean hasConstructor() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .org.jetbrains.kotlin.serialization.Type.Constructor constructor = 1;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor getConstructor() {
return constructor_;
}
// repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
public static final int ARGUMENT_FIELD_NUMBER = 2;
private java.util.List argument_;
/**
* repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
*/
public java.util.List getArgumentList() {
return argument_;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
*/
public java.util.List extends org.jetbrains.kotlin.serialization.ProtoBuf.Type.ArgumentOrBuilder>
getArgumentOrBuilderList() {
return argument_;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
*/
public int getArgumentCount() {
return argument_.size();
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument getArgument(int index) {
return argument_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Type.ArgumentOrBuilder getArgumentOrBuilder(
int index) {
return argument_.get(index);
}
// optional bool nullable = 3 [default = false];
public static final int NULLABLE_FIELD_NUMBER = 3;
private boolean nullable_;
/**
* optional bool nullable = 3 [default = false];
*/
public boolean hasNullable() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bool nullable = 3 [default = false];
*/
public boolean getNullable() {
return nullable_;
}
// optional int32 flexible_type_capabilities_id = 4;
public static final int FLEXIBLE_TYPE_CAPABILITIES_ID_FIELD_NUMBER = 4;
private int flexibleTypeCapabilitiesId_;
/**
* optional int32 flexible_type_capabilities_id = 4;
*
*
* Id in the StringTable
* If this field is set, the type is flexible.
* All the other fields and extensions represent its lower bound, and flexible_upper_bound must be set and represents its upper bound.
*
*/
public boolean hasFlexibleTypeCapabilitiesId() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 flexible_type_capabilities_id = 4;
*
*
* Id in the StringTable
* If this field is set, the type is flexible.
* All the other fields and extensions represent its lower bound, and flexible_upper_bound must be set and represents its upper bound.
*
*/
public int getFlexibleTypeCapabilitiesId() {
return flexibleTypeCapabilitiesId_;
}
// optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;
public static final int FLEXIBLE_UPPER_BOUND_FIELD_NUMBER = 5;
private org.jetbrains.kotlin.serialization.ProtoBuf.Type flexibleUpperBound_;
/**
* optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;
*
*
* While such an "indirect" encoding helps backwards compatibility with pre-flexible-types versions of this format,
* we use it mainly to save space: having a special mandatory tag on each an every type just to have an option
* to represent flexible types is too many wasted bytes.
*
*/
public boolean hasFlexibleUpperBound() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;
*
*
* While such an "indirect" encoding helps backwards compatibility with pre-flexible-types versions of this format,
* we use it mainly to save space: having a special mandatory tag on each an every type just to have an option
* to represent flexible types is too many wasted bytes.
*
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Type getFlexibleUpperBound() {
return flexibleUpperBound_;
}
private void initFields() {
constructor_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor.getDefaultInstance();
argument_ = java.util.Collections.emptyList();
nullable_ = false;
flexibleTypeCapabilitiesId_ = 0;
flexibleUpperBound_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasConstructor()) {
memoizedIsInitialized = 0;
return false;
}
if (!getConstructor().isInitialized()) {
memoizedIsInitialized = 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 (!extensionsAreInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
com.google.protobuf.GeneratedMessageLite
.ExtendableMessage.ExtensionWriter extensionWriter =
newExtensionWriter();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, constructor_);
}
for (int i = 0; i < argument_.size(); i++) {
output.writeMessage(2, argument_.get(i));
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBool(3, nullable_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(4, flexibleTypeCapabilitiesId_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeMessage(5, flexibleUpperBound_);
}
extensionWriter.writeUntil(200, output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, constructor_);
}
for (int i = 0; i < argument_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, argument_.get(i));
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, nullable_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, flexibleTypeCapabilitiesId_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, flexibleUpperBound_);
}
size += extensionsSerializedSize();
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(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Type parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Type parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Type parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.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,
com.google.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,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Type parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Type parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.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
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
org.jetbrains.kotlin.serialization.ProtoBuf.Type, Builder> implements 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();
constructor_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000001);
argument_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
nullable_ = false;
bitField0_ = (bitField0_ & ~0x00000004);
flexibleTypeCapabilitiesId_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
flexibleUpperBound_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000010);
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 (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.constructor_ = constructor_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
argument_ = java.util.Collections.unmodifiableList(argument_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.argument_ = argument_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000002;
}
result.nullable_ = nullable_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000004;
}
result.flexibleTypeCapabilitiesId_ = flexibleTypeCapabilitiesId_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000008;
}
result.flexibleUpperBound_ = flexibleUpperBound_;
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.hasConstructor()) {
mergeConstructor(other.getConstructor());
}
if (!other.argument_.isEmpty()) {
if (argument_.isEmpty()) {
argument_ = other.argument_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureArgumentIsMutable();
argument_.addAll(other.argument_);
}
}
if (other.hasNullable()) {
setNullable(other.getNullable());
}
if (other.hasFlexibleTypeCapabilitiesId()) {
setFlexibleTypeCapabilitiesId(other.getFlexibleTypeCapabilitiesId());
}
if (other.hasFlexibleUpperBound()) {
mergeFlexibleUpperBound(other.getFlexibleUpperBound());
}
this.mergeExtensionFields(other);
return this;
}
public final boolean isInitialized() {
if (!hasConstructor()) {
return false;
}
if (!getConstructor().isInitialized()) {
return false;
}
for (int i = 0; i < getArgumentCount(); i++) {
if (!getArgument(i).isInitialized()) {
return false;
}
}
if (hasFlexibleUpperBound()) {
if (!getFlexibleUpperBound().isInitialized()) {
return false;
}
}
if (!extensionsAreInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.jetbrains.kotlin.serialization.ProtoBuf.Type parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.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_;
// required .org.jetbrains.kotlin.serialization.Type.Constructor constructor = 1;
private org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor constructor_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor.getDefaultInstance();
/**
* required .org.jetbrains.kotlin.serialization.Type.Constructor constructor = 1;
*/
public boolean hasConstructor() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .org.jetbrains.kotlin.serialization.Type.Constructor constructor = 1;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor getConstructor() {
return constructor_;
}
/**
* required .org.jetbrains.kotlin.serialization.Type.Constructor constructor = 1;
*/
public Builder setConstructor(org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor value) {
if (value == null) {
throw new NullPointerException();
}
constructor_ = value;
bitField0_ |= 0x00000001;
return this;
}
/**
* required .org.jetbrains.kotlin.serialization.Type.Constructor constructor = 1;
*/
public Builder setConstructor(
org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor.Builder builderForValue) {
constructor_ = builderForValue.build();
bitField0_ |= 0x00000001;
return this;
}
/**
* required .org.jetbrains.kotlin.serialization.Type.Constructor constructor = 1;
*/
public Builder mergeConstructor(org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor value) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
constructor_ != org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor.getDefaultInstance()) {
constructor_ =
org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor.newBuilder(constructor_).mergeFrom(value).buildPartial();
} else {
constructor_ = value;
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .org.jetbrains.kotlin.serialization.Type.Constructor constructor = 1;
*/
public Builder clearConstructor() {
constructor_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
// repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
private java.util.List argument_ =
java.util.Collections.emptyList();
private void ensureArgumentIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
argument_ = new java.util.ArrayList(argument_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
*/
public java.util.List getArgumentList() {
return java.util.Collections.unmodifiableList(argument_);
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
*/
public int getArgumentCount() {
return argument_.size();
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument getArgument(int index) {
return argument_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
*/
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;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
*/
public Builder setArgument(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument.Builder builderForValue) {
ensureArgumentIsMutable();
argument_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
*/
public Builder addArgument(org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument value) {
if (value == null) {
throw new NullPointerException();
}
ensureArgumentIsMutable();
argument_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
*/
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;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
*/
public Builder addArgument(
org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument.Builder builderForValue) {
ensureArgumentIsMutable();
argument_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
*/
public Builder addArgument(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument.Builder builderForValue) {
ensureArgumentIsMutable();
argument_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
*/
public Builder addAllArgument(
java.lang.Iterable extends org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument> values) {
ensureArgumentIsMutable();
super.addAll(values, argument_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
*/
public Builder clearArgument() {
argument_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
*/
public Builder removeArgument(int index) {
ensureArgumentIsMutable();
argument_.remove(index);
return this;
}
// optional bool nullable = 3 [default = false];
private boolean nullable_ ;
/**
* optional bool nullable = 3 [default = false];
*/
public boolean hasNullable() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional bool nullable = 3 [default = false];
*/
public boolean getNullable() {
return nullable_;
}
/**
* optional bool nullable = 3 [default = false];
*/
public Builder setNullable(boolean value) {
bitField0_ |= 0x00000004;
nullable_ = value;
return this;
}
/**
* optional bool nullable = 3 [default = false];
*/
public Builder clearNullable() {
bitField0_ = (bitField0_ & ~0x00000004);
nullable_ = false;
return this;
}
// optional int32 flexible_type_capabilities_id = 4;
private int flexibleTypeCapabilitiesId_ ;
/**
* optional int32 flexible_type_capabilities_id = 4;
*
*
* Id in the StringTable
* If this field is set, the type is flexible.
* All the other fields and extensions represent its lower bound, and flexible_upper_bound must be set and represents its upper bound.
*
*/
public boolean hasFlexibleTypeCapabilitiesId() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 flexible_type_capabilities_id = 4;
*
*
* Id in the StringTable
* If this field is set, the type is flexible.
* All the other fields and extensions represent its lower bound, and flexible_upper_bound must be set and represents its upper bound.
*
*/
public int getFlexibleTypeCapabilitiesId() {
return flexibleTypeCapabilitiesId_;
}
/**
* optional int32 flexible_type_capabilities_id = 4;
*
*
* Id in the StringTable
* If this field is set, the type is flexible.
* All the other fields and extensions represent its lower bound, and flexible_upper_bound must be set and represents its upper bound.
*
*/
public Builder setFlexibleTypeCapabilitiesId(int value) {
bitField0_ |= 0x00000008;
flexibleTypeCapabilitiesId_ = value;
return this;
}
/**
* optional int32 flexible_type_capabilities_id = 4;
*
*
* Id in the StringTable
* If this field is set, the type is flexible.
* All the other fields and extensions represent its lower bound, and flexible_upper_bound must be set and represents its upper bound.
*
*/
public Builder clearFlexibleTypeCapabilitiesId() {
bitField0_ = (bitField0_ & ~0x00000008);
flexibleTypeCapabilitiesId_ = 0;
return this;
}
// optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;
private org.jetbrains.kotlin.serialization.ProtoBuf.Type flexibleUpperBound_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance();
/**
* optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;
*
*
* While such an "indirect" encoding helps backwards compatibility with pre-flexible-types versions of this format,
* we use it mainly to save space: having a special mandatory tag on each an every type just to have an option
* to represent flexible types is too many wasted bytes.
*
*/
public boolean hasFlexibleUpperBound() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;
*
*
* While such an "indirect" encoding helps backwards compatibility with pre-flexible-types versions of this format,
* we use it mainly to save space: having a special mandatory tag on each an every type just to have an option
* to represent flexible types is too many wasted bytes.
*
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Type getFlexibleUpperBound() {
return flexibleUpperBound_;
}
/**
* optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;
*
*
* While such an "indirect" encoding helps backwards compatibility with pre-flexible-types versions of this format,
* we use it mainly to save space: having a special mandatory tag on each an every type just to have an option
* to represent flexible types is too many wasted bytes.
*
*/
public Builder setFlexibleUpperBound(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) {
if (value == null) {
throw new NullPointerException();
}
flexibleUpperBound_ = value;
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;
*
*
* While such an "indirect" encoding helps backwards compatibility with pre-flexible-types versions of this format,
* we use it mainly to save space: having a special mandatory tag on each an every type just to have an option
* to represent flexible types is too many wasted bytes.
*
*/
public Builder setFlexibleUpperBound(
org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) {
flexibleUpperBound_ = builderForValue.build();
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;
*
*
* While such an "indirect" encoding helps backwards compatibility with pre-flexible-types versions of this format,
* we use it mainly to save space: having a special mandatory tag on each an every type just to have an option
* to represent flexible types is too many wasted bytes.
*
*/
public Builder mergeFlexibleUpperBound(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) {
if (((bitField0_ & 0x00000010) == 0x00000010) &&
flexibleUpperBound_ != org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance()) {
flexibleUpperBound_ =
org.jetbrains.kotlin.serialization.ProtoBuf.Type.newBuilder(flexibleUpperBound_).mergeFrom(value).buildPartial();
} else {
flexibleUpperBound_ = value;
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;
*
*
* While such an "indirect" encoding helps backwards compatibility with pre-flexible-types versions of this format,
* we use it mainly to save space: having a special mandatory tag on each an every type just to have an option
* to represent flexible types is too many wasted bytes.
*
*/
public Builder clearFlexibleUpperBound() {
flexibleUpperBound_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000010);
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 com.google.protobuf.MessageLiteOrBuilder {
// required int32 id = 1;
/**
* required int32 id = 1;
*/
boolean hasId();
/**
* required int32 id = 1;
*/
int getId();
// required int32 name = 2;
/**
* required int32 name = 2;
*
*
* Id in the StringTable
*
*/
boolean hasName();
/**
* required int32 name = 2;
*
*
* Id in the StringTable
*
*/
int getName();
// optional bool reified = 3 [default = false];
/**
* optional bool reified = 3 [default = false];
*/
boolean hasReified();
/**
* optional bool reified = 3 [default = false];
*/
boolean getReified();
// optional .org.jetbrains.kotlin.serialization.TypeParameter.Variance variance = 4 [default = INV];
/**
* optional .org.jetbrains.kotlin.serialization.TypeParameter.Variance variance = 4 [default = INV];
*/
boolean hasVariance();
/**
* optional .org.jetbrains.kotlin.serialization.TypeParameter.Variance variance = 4 [default = INV];
*/
org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Variance getVariance();
// repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;
/**
* repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;
*/
java.util.List
getUpperBoundList();
/**
* repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;
*/
org.jetbrains.kotlin.serialization.ProtoBuf.Type getUpperBound(int index);
/**
* repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;
*/
int getUpperBoundCount();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.serialization.TypeParameter}
*/
public static final class TypeParameter extends
com.google.protobuf.GeneratedMessageLite
implements TypeParameterOrBuilder {
// Use TypeParameter.newBuilder() to construct.
private TypeParameter(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private TypeParameter(boolean noInit) {}
private static final TypeParameter defaultInstance;
public static TypeParameter getDefaultInstance() {
return defaultInstance;
}
public TypeParameter getDefaultInstanceForType() {
return defaultInstance;
}
private TypeParameter(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
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) {
bitField0_ |= 0x00000008;
variance_ = value;
}
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
upperBound_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
upperBound_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Type.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
upperBound_ = java.util.Collections.unmodifiableList(upperBound_);
}
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public TypeParameter parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TypeParameter(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
/**
* Protobuf enum {@code org.jetbrains.kotlin.serialization.TypeParameter.Variance}
*/
public enum Variance
implements com.google.protobuf.Internal.EnumLite {
/**
* IN = 0;
*/
IN(0, 0),
/**
* OUT = 1;
*/
OUT(1, 1),
/**
* INV = 2;
*/
INV(2, 2),
;
/**
* IN = 0;
*/
public static final int IN_VALUE = 0;
/**
* OUT = 1;
*/
public static final int OUT_VALUE = 1;
/**
* INV = 2;
*/
public static final int INV_VALUE = 2;
public final int getNumber() { return value; }
public static Variance valueOf(int value) {
switch (value) {
case 0: return IN;
case 1: return OUT;
case 2: return INV;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Variance findValueByNumber(int number) {
return Variance.valueOf(number);
}
};
private final int value;
private Variance(int index, int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org.jetbrains.kotlin.serialization.TypeParameter.Variance)
}
private int bitField0_;
// required int32 id = 1;
public static final int ID_FIELD_NUMBER = 1;
private int id_;
/**
* required int32 id = 1;
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 id = 1;
*/
public int getId() {
return id_;
}
// required int32 name = 2;
public static final int NAME_FIELD_NUMBER = 2;
private int name_;
/**
* required int32 name = 2;
*
*
* Id in the StringTable
*
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 name = 2;
*
*
* Id in the StringTable
*
*/
public int getName() {
return name_;
}
// optional bool reified = 3 [default = false];
public static final int REIFIED_FIELD_NUMBER = 3;
private boolean reified_;
/**
* optional bool reified = 3 [default = false];
*/
public boolean hasReified() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional bool reified = 3 [default = false];
*/
public boolean getReified() {
return reified_;
}
// optional .org.jetbrains.kotlin.serialization.TypeParameter.Variance variance = 4 [default = INV];
public static final int VARIANCE_FIELD_NUMBER = 4;
private org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Variance variance_;
/**
* optional .org.jetbrains.kotlin.serialization.TypeParameter.Variance variance = 4 [default = INV];
*/
public boolean hasVariance() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .org.jetbrains.kotlin.serialization.TypeParameter.Variance variance = 4 [default = INV];
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Variance getVariance() {
return variance_;
}
// repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;
public static final int UPPER_BOUND_FIELD_NUMBER = 5;
private java.util.List upperBound_;
/**
* repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;
*/
public java.util.List getUpperBoundList() {
return upperBound_;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;
*/
public java.util.List extends org.jetbrains.kotlin.serialization.ProtoBuf.TypeOrBuilder>
getUpperBoundOrBuilderList() {
return upperBound_;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;
*/
public int getUpperBoundCount() {
return upperBound_.size();
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Type getUpperBound(int index) {
return upperBound_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.TypeOrBuilder getUpperBoundOrBuilder(
int index) {
return upperBound_.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();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
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;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
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));
}
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, id_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, name_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, reified_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, variance_.getNumber());
}
for (int i = 0; i < upperBound_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, upperBound_.get(i));
}
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(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.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,
com.google.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,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.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
com.google.protobuf.GeneratedMessageLite.Builder<
org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter, Builder>
implements 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);
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_;
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_);
}
}
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;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.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_;
// required int32 id = 1;
private int id_ ;
/**
* required int32 id = 1;
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 id = 1;
*/
public int getId() {
return id_;
}
/**
* required int32 id = 1;
*/
public Builder setId(int value) {
bitField0_ |= 0x00000001;
id_ = value;
return this;
}
/**
* required int32 id = 1;
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0;
return this;
}
// required int32 name = 2;
private int name_ ;
/**
* required int32 name = 2;
*
*
* Id in the StringTable
*
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 name = 2;
*
*
* Id in the StringTable
*
*/
public int getName() {
return name_;
}
/**
* required int32 name = 2;
*
*
* Id in the StringTable
*
*/
public Builder setName(int value) {
bitField0_ |= 0x00000002;
name_ = value;
return this;
}
/**
* required int32 name = 2;
*
*
* Id in the StringTable
*
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = 0;
return this;
}
// optional bool reified = 3 [default = false];
private boolean reified_ ;
/**
* optional bool reified = 3 [default = false];
*/
public boolean hasReified() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional bool reified = 3 [default = false];
*/
public boolean getReified() {
return reified_;
}
/**
* optional bool reified = 3 [default = false];
*/
public Builder setReified(boolean value) {
bitField0_ |= 0x00000004;
reified_ = value;
return this;
}
/**
* optional bool reified = 3 [default = false];
*/
public Builder clearReified() {
bitField0_ = (bitField0_ & ~0x00000004);
reified_ = false;
return this;
}
// optional .org.jetbrains.kotlin.serialization.TypeParameter.Variance variance = 4 [default = INV];
private org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Variance variance_ = org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Variance.INV;
/**
* optional .org.jetbrains.kotlin.serialization.TypeParameter.Variance variance = 4 [default = INV];
*/
public boolean hasVariance() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .org.jetbrains.kotlin.serialization.TypeParameter.Variance variance = 4 [default = INV];
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Variance getVariance() {
return variance_;
}
/**
* optional .org.jetbrains.kotlin.serialization.TypeParameter.Variance variance = 4 [default = INV];
*/
public Builder setVariance(org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Variance value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
variance_ = value;
return this;
}
/**
* optional .org.jetbrains.kotlin.serialization.TypeParameter.Variance variance = 4 [default = INV];
*/
public Builder clearVariance() {
bitField0_ = (bitField0_ & ~0x00000008);
variance_ = org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Variance.INV;
return this;
}
// repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;
private java.util.List upperBound_ =
java.util.Collections.emptyList();
private void ensureUpperBoundIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
upperBound_ = new java.util.ArrayList(upperBound_);
bitField0_ |= 0x00000010;
}
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;
*/
public java.util.List getUpperBoundList() {
return java.util.Collections.unmodifiableList(upperBound_);
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;
*/
public int getUpperBoundCount() {
return upperBound_.size();
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Type getUpperBound(int index) {
return upperBound_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;
*/
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;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;
*/
public Builder setUpperBound(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) {
ensureUpperBoundIsMutable();
upperBound_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;
*/
public Builder addUpperBound(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) {
if (value == null) {
throw new NullPointerException();
}
ensureUpperBoundIsMutable();
upperBound_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;
*/
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;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;
*/
public Builder addUpperBound(
org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) {
ensureUpperBoundIsMutable();
upperBound_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;
*/
public Builder addUpperBound(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) {
ensureUpperBoundIsMutable();
upperBound_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;
*/
public Builder addAllUpperBound(
java.lang.Iterable extends org.jetbrains.kotlin.serialization.ProtoBuf.Type> values) {
ensureUpperBoundIsMutable();
super.addAll(values, upperBound_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;
*/
public Builder clearUpperBound() {
upperBound_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type upper_bound = 5;
*/
public Builder removeUpperBound(int index) {
ensureUpperBoundIsMutable();
upperBound_.remove(index);
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
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder {
// optional int32 flags = 1 [default = 0];
/**
* optional int32 flags = 1 [default = 0];
*
*
*
*Visibility
*Modality
*has_annotation
*ClassKind
*is_inner
*
*/
boolean hasFlags();
/**
* optional int32 flags = 1 [default = 0];
*
*
*
*Visibility
*Modality
*has_annotation
*ClassKind
*is_inner
*
*/
int getFlags();
// required int32 fq_name = 3;
/**
* required int32 fq_name = 3;
*/
boolean hasFqName();
/**
* required int32 fq_name = 3;
*/
int getFqName();
// optional int32 companion_object_name = 4;
/**
* optional int32 companion_object_name = 4;
*
*
* If this field is present, it contains the name of companion object.
*
*/
boolean hasCompanionObjectName();
/**
* optional int32 companion_object_name = 4;
*
*
* If this field is present, it contains the name of companion object.
*
*/
int getCompanionObjectName();
// repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;
*/
java.util.List
getTypeParameterList();
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;
*/
org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter getTypeParameter(int index);
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;
*/
int getTypeParameterCount();
// repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;
/**
* repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;
*/
java.util.List
getSupertypeList();
/**
* repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;
*/
org.jetbrains.kotlin.serialization.ProtoBuf.Type getSupertype(int index);
/**
* repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;
*/
int getSupertypeCount();
// repeated int32 nested_class_name = 7;
/**
* repeated int32 nested_class_name = 7;
*
*
* we store only names, because the actual information must reside in the corresponding .class files,
* to be obtainable through reflection at runtime
*
*/
java.util.List getNestedClassNameList();
/**
* repeated int32 nested_class_name = 7;
*
*
* we store only names, because the actual information must reside in the corresponding .class files,
* to be obtainable through reflection at runtime
*
*/
int getNestedClassNameCount();
/**
* repeated int32 nested_class_name = 7;
*
*
* we store only names, because the actual information must reside in the corresponding .class files,
* to be obtainable through reflection at runtime
*
*/
int getNestedClassName(int index);
// repeated .org.jetbrains.kotlin.serialization.Callable member = 11;
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 11;
*/
java.util.List
getMemberList();
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 11;
*/
org.jetbrains.kotlin.serialization.ProtoBuf.Callable getMember(int index);
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 11;
*/
int getMemberCount();
// repeated int32 enum_entry = 12;
/**
* repeated int32 enum_entry = 12;
*/
java.util.List getEnumEntryList();
/**
* repeated int32 enum_entry = 12;
*/
int getEnumEntryCount();
/**
* repeated int32 enum_entry = 12;
*/
int getEnumEntry(int index);
// optional .org.jetbrains.kotlin.serialization.Class.PrimaryConstructor primary_constructor = 13;
/**
* optional .org.jetbrains.kotlin.serialization.Class.PrimaryConstructor primary_constructor = 13;
*
*
* This field is present if and only if the class has a primary constructor
*
*/
boolean hasPrimaryConstructor();
/**
* optional .org.jetbrains.kotlin.serialization.Class.PrimaryConstructor primary_constructor = 13;
*
*
* This field is present if and only if the class has a primary constructor
*
*/
org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor getPrimaryConstructor();
// repeated .org.jetbrains.kotlin.serialization.Callable secondary_constructor = 14;
/**
* repeated .org.jetbrains.kotlin.serialization.Callable secondary_constructor = 14;
*/
java.util.List
getSecondaryConstructorList();
/**
* repeated .org.jetbrains.kotlin.serialization.Callable secondary_constructor = 14;
*/
org.jetbrains.kotlin.serialization.ProtoBuf.Callable getSecondaryConstructor(int index);
/**
* repeated .org.jetbrains.kotlin.serialization.Callable secondary_constructor = 14;
*/
int getSecondaryConstructorCount();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.serialization.Class}
*/
public static final class Class extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Class> implements ClassOrBuilder {
// Use Class.newBuilder() to construct.
private Class(com.google.protobuf.GeneratedMessageLite.ExtendableBuilder builder) {
super(builder);
}
private Class(boolean noInit) {}
private static final Class defaultInstance;
public static Class getDefaultInstance() {
return defaultInstance;
}
public Class getDefaultInstanceForType() {
return defaultInstance;
}
private Class(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
flags_ = input.readInt32();
break;
}
case 24: {
bitField0_ |= 0x00000002;
fqName_ = input.readInt32();
break;
}
case 32: {
bitField0_ |= 0x00000004;
companionObjectName_ = input.readInt32();
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
typeParameter_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
typeParameter_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.PARSER, extensionRegistry));
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
supertype_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
supertype_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Type.PARSER, extensionRegistry));
break;
}
case 56: {
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
nestedClassName_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
nestedClassName_.add(input.readInt32());
break;
}
case 58: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020) && input.getBytesUntilLimit() > 0) {
nestedClassName_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
while (input.getBytesUntilLimit() > 0) {
nestedClassName_.add(input.readInt32());
}
input.popLimit(limit);
break;
}
case 90: {
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
member_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
member_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Callable.PARSER, extensionRegistry));
break;
}
case 96: {
if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
enumEntry_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000080;
}
enumEntry_.add(input.readInt32());
break;
}
case 98: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000080) == 0x00000080) && input.getBytesUntilLimit() > 0) {
enumEntry_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000080;
}
while (input.getBytesUntilLimit() > 0) {
enumEntry_.add(input.readInt32());
}
input.popLimit(limit);
break;
}
case 106: {
org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor.Builder subBuilder = null;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
subBuilder = primaryConstructor_.toBuilder();
}
primaryConstructor_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(primaryConstructor_);
primaryConstructor_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000008;
break;
}
case 114: {
if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
secondaryConstructor_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000200;
}
secondaryConstructor_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Callable.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
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_ & 0x00000020) == 0x00000020)) {
nestedClassName_ = java.util.Collections.unmodifiableList(nestedClassName_);
}
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
member_ = java.util.Collections.unmodifiableList(member_);
}
if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
enumEntry_ = java.util.Collections.unmodifiableList(enumEntry_);
}
if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
secondaryConstructor_ = java.util.Collections.unmodifiableList(secondaryConstructor_);
}
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public Class parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Class(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
/**
* Protobuf enum {@code org.jetbrains.kotlin.serialization.Class.Kind}
*/
public enum Kind
implements com.google.protobuf.Internal.EnumLite {
/**
* CLASS = 0;
*
*
* 3 bits
*
*/
CLASS(0, 0),
/**
* TRAIT = 1;
*/
TRAIT(1, 1),
/**
* ENUM_CLASS = 2;
*/
ENUM_CLASS(2, 2),
/**
* ENUM_ENTRY = 3;
*/
ENUM_ENTRY(3, 3),
/**
* ANNOTATION_CLASS = 4;
*/
ANNOTATION_CLASS(4, 4),
/**
* OBJECT = 5;
*/
OBJECT(5, 5),
/**
* CLASS_OBJECT = 6;
*/
CLASS_OBJECT(6, 6),
;
/**
* CLASS = 0;
*
*
* 3 bits
*
*/
public static final int CLASS_VALUE = 0;
/**
* TRAIT = 1;
*/
public static final int TRAIT_VALUE = 1;
/**
* ENUM_CLASS = 2;
*/
public static final int ENUM_CLASS_VALUE = 2;
/**
* ENUM_ENTRY = 3;
*/
public static final int ENUM_ENTRY_VALUE = 3;
/**
* ANNOTATION_CLASS = 4;
*/
public static final int ANNOTATION_CLASS_VALUE = 4;
/**
* OBJECT = 5;
*/
public static final int OBJECT_VALUE = 5;
/**
* CLASS_OBJECT = 6;
*/
public static final int CLASS_OBJECT_VALUE = 6;
public final int getNumber() { return value; }
public static Kind valueOf(int value) {
switch (value) {
case 0: return CLASS;
case 1: return TRAIT;
case 2: return ENUM_CLASS;
case 3: return ENUM_ENTRY;
case 4: return ANNOTATION_CLASS;
case 5: return OBJECT;
case 6: return CLASS_OBJECT;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Kind findValueByNumber(int number) {
return Kind.valueOf(number);
}
};
private final int value;
private Kind(int index, int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org.jetbrains.kotlin.serialization.Class.Kind)
}
public interface PrimaryConstructorOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// optional .org.jetbrains.kotlin.serialization.Callable data = 1;
/**
* optional .org.jetbrains.kotlin.serialization.Callable data = 1;
*
*
* If this field is present, it contains serialized data for the primary constructor.
* Otherwise it's default and can be created manually upon deserialization
* Note: currently only objects have default primary constructor
*
*/
boolean hasData();
/**
* optional .org.jetbrains.kotlin.serialization.Callable data = 1;
*
*
* If this field is present, it contains serialized data for the primary constructor.
* Otherwise it's default and can be created manually upon deserialization
* Note: currently only objects have default primary constructor
*
*/
org.jetbrains.kotlin.serialization.ProtoBuf.Callable getData();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.serialization.Class.PrimaryConstructor}
*/
public static final class PrimaryConstructor extends
com.google.protobuf.GeneratedMessageLite
implements PrimaryConstructorOrBuilder {
// Use PrimaryConstructor.newBuilder() to construct.
private PrimaryConstructor(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private PrimaryConstructor(boolean noInit) {}
private static final PrimaryConstructor defaultInstance;
public static PrimaryConstructor getDefaultInstance() {
return defaultInstance;
}
public PrimaryConstructor getDefaultInstanceForType() {
return defaultInstance;
}
private PrimaryConstructor(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
org.jetbrains.kotlin.serialization.ProtoBuf.Callable.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = data_.toBuilder();
}
data_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Callable.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(data_);
data_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public PrimaryConstructor parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PrimaryConstructor(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional .org.jetbrains.kotlin.serialization.Callable data = 1;
public static final int DATA_FIELD_NUMBER = 1;
private org.jetbrains.kotlin.serialization.ProtoBuf.Callable data_;
/**
* optional .org.jetbrains.kotlin.serialization.Callable data = 1;
*
*
* If this field is present, it contains serialized data for the primary constructor.
* Otherwise it's default and can be created manually upon deserialization
* Note: currently only objects have default primary constructor
*
*/
public boolean hasData() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .org.jetbrains.kotlin.serialization.Callable data = 1;
*
*
* If this field is present, it contains serialized data for the primary constructor.
* Otherwise it's default and can be created manually upon deserialization
* Note: currently only objects have default primary constructor
*
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Callable getData() {
return data_;
}
private void initFields() {
data_ = org.jetbrains.kotlin.serialization.ProtoBuf.Callable.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (hasData()) {
if (!getData().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, data_);
}
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, data_);
}
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.PrimaryConstructor parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.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.PrimaryConstructor prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code org.jetbrains.kotlin.serialization.Class.PrimaryConstructor}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor, Builder>
implements org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructorOrBuilder {
// Construct using org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
data_ = org.jetbrains.kotlin.serialization.ProtoBuf.Callable.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor getDefaultInstanceForType() {
return org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor.getDefaultInstance();
}
public org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor build() {
org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor buildPartial() {
org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor result = new org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.data_ = data_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor other) {
if (other == org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor.getDefaultInstance()) return this;
if (other.hasData()) {
mergeData(other.getData());
}
return this;
}
public final boolean isInitialized() {
if (hasData()) {
if (!getData().isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional .org.jetbrains.kotlin.serialization.Callable data = 1;
private org.jetbrains.kotlin.serialization.ProtoBuf.Callable data_ = org.jetbrains.kotlin.serialization.ProtoBuf.Callable.getDefaultInstance();
/**
* optional .org.jetbrains.kotlin.serialization.Callable data = 1;
*
*
* If this field is present, it contains serialized data for the primary constructor.
* Otherwise it's default and can be created manually upon deserialization
* Note: currently only objects have default primary constructor
*
*/
public boolean hasData() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .org.jetbrains.kotlin.serialization.Callable data = 1;
*
*
* If this field is present, it contains serialized data for the primary constructor.
* Otherwise it's default and can be created manually upon deserialization
* Note: currently only objects have default primary constructor
*
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Callable getData() {
return data_;
}
/**
* optional .org.jetbrains.kotlin.serialization.Callable data = 1;
*
*
* If this field is present, it contains serialized data for the primary constructor.
* Otherwise it's default and can be created manually upon deserialization
* Note: currently only objects have default primary constructor
*
*/
public Builder setData(org.jetbrains.kotlin.serialization.ProtoBuf.Callable value) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .org.jetbrains.kotlin.serialization.Callable data = 1;
*
*
* If this field is present, it contains serialized data for the primary constructor.
* Otherwise it's default and can be created manually upon deserialization
* Note: currently only objects have default primary constructor
*
*/
public Builder setData(
org.jetbrains.kotlin.serialization.ProtoBuf.Callable.Builder builderForValue) {
data_ = builderForValue.build();
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .org.jetbrains.kotlin.serialization.Callable data = 1;
*
*
* If this field is present, it contains serialized data for the primary constructor.
* Otherwise it's default and can be created manually upon deserialization
* Note: currently only objects have default primary constructor
*
*/
public Builder mergeData(org.jetbrains.kotlin.serialization.ProtoBuf.Callable value) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
data_ != org.jetbrains.kotlin.serialization.ProtoBuf.Callable.getDefaultInstance()) {
data_ =
org.jetbrains.kotlin.serialization.ProtoBuf.Callable.newBuilder(data_).mergeFrom(value).buildPartial();
} else {
data_ = value;
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .org.jetbrains.kotlin.serialization.Callable data = 1;
*
*
* If this field is present, it contains serialized data for the primary constructor.
* Otherwise it's default and can be created manually upon deserialization
* Note: currently only objects have default primary constructor
*
*/
public Builder clearData() {
data_ = org.jetbrains.kotlin.serialization.ProtoBuf.Callable.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.Class.PrimaryConstructor)
}
static {
defaultInstance = new PrimaryConstructor(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.Class.PrimaryConstructor)
}
private int bitField0_;
// optional int32 flags = 1 [default = 0];
public static final int FLAGS_FIELD_NUMBER = 1;
private int flags_;
/**
* optional int32 flags = 1 [default = 0];
*
*
*
*Visibility
*Modality
*has_annotation
*ClassKind
*is_inner
*
*/
public boolean hasFlags() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 flags = 1 [default = 0];
*
*
*
*Visibility
*Modality
*has_annotation
*ClassKind
*is_inner
*
*/
public int getFlags() {
return flags_;
}
// required int32 fq_name = 3;
public static final int FQ_NAME_FIELD_NUMBER = 3;
private int fqName_;
/**
* required int32 fq_name = 3;
*/
public boolean hasFqName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 fq_name = 3;
*/
public int getFqName() {
return fqName_;
}
// optional int32 companion_object_name = 4;
public static final int COMPANION_OBJECT_NAME_FIELD_NUMBER = 4;
private int companionObjectName_;
/**
* optional int32 companion_object_name = 4;
*
*
* If this field is present, it contains the name of companion object.
*
*/
public boolean hasCompanionObjectName() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 companion_object_name = 4;
*
*
* If this field is present, it contains the name of companion object.
*
*/
public int getCompanionObjectName() {
return companionObjectName_;
}
// repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;
public static final int TYPE_PARAMETER_FIELD_NUMBER = 5;
private java.util.List typeParameter_;
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;
*/
public java.util.List getTypeParameterList() {
return typeParameter_;
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;
*/
public java.util.List extends org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameterOrBuilder>
getTypeParameterOrBuilderList() {
return typeParameter_;
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;
*/
public int getTypeParameterCount() {
return typeParameter_.size();
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter getTypeParameter(int index) {
return typeParameter_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameterOrBuilder getTypeParameterOrBuilder(
int index) {
return typeParameter_.get(index);
}
// repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;
public static final int SUPERTYPE_FIELD_NUMBER = 6;
private java.util.List supertype_;
/**
* repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;
*/
public java.util.List getSupertypeList() {
return supertype_;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;
*/
public java.util.List extends org.jetbrains.kotlin.serialization.ProtoBuf.TypeOrBuilder>
getSupertypeOrBuilderList() {
return supertype_;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;
*/
public int getSupertypeCount() {
return supertype_.size();
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Type getSupertype(int index) {
return supertype_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.TypeOrBuilder getSupertypeOrBuilder(
int index) {
return supertype_.get(index);
}
// repeated int32 nested_class_name = 7;
public static final int NESTED_CLASS_NAME_FIELD_NUMBER = 7;
private java.util.List nestedClassName_;
/**
* repeated int32 nested_class_name = 7;
*
*
* we store only names, because the actual information must reside in the corresponding .class files,
* to be obtainable through reflection at runtime
*
*/
public java.util.List
getNestedClassNameList() {
return nestedClassName_;
}
/**
* repeated int32 nested_class_name = 7;
*
*
* we store only names, because the actual information must reside in the corresponding .class files,
* to be obtainable through reflection at runtime
*
*/
public int getNestedClassNameCount() {
return nestedClassName_.size();
}
/**
* repeated int32 nested_class_name = 7;
*
*
* we store only names, because the actual information must reside in the corresponding .class files,
* to be obtainable through reflection at runtime
*
*/
public int getNestedClassName(int index) {
return nestedClassName_.get(index);
}
// repeated .org.jetbrains.kotlin.serialization.Callable member = 11;
public static final int MEMBER_FIELD_NUMBER = 11;
private java.util.List member_;
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 11;
*/
public java.util.List getMemberList() {
return member_;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 11;
*/
public java.util.List extends org.jetbrains.kotlin.serialization.ProtoBuf.CallableOrBuilder>
getMemberOrBuilderList() {
return member_;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 11;
*/
public int getMemberCount() {
return member_.size();
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 11;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Callable getMember(int index) {
return member_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 11;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.CallableOrBuilder getMemberOrBuilder(
int index) {
return member_.get(index);
}
// repeated int32 enum_entry = 12;
public static final int ENUM_ENTRY_FIELD_NUMBER = 12;
private java.util.List enumEntry_;
/**
* repeated int32 enum_entry = 12;
*/
public java.util.List
getEnumEntryList() {
return enumEntry_;
}
/**
* repeated int32 enum_entry = 12;
*/
public int getEnumEntryCount() {
return enumEntry_.size();
}
/**
* repeated int32 enum_entry = 12;
*/
public int getEnumEntry(int index) {
return enumEntry_.get(index);
}
// optional .org.jetbrains.kotlin.serialization.Class.PrimaryConstructor primary_constructor = 13;
public static final int PRIMARY_CONSTRUCTOR_FIELD_NUMBER = 13;
private org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor primaryConstructor_;
/**
* optional .org.jetbrains.kotlin.serialization.Class.PrimaryConstructor primary_constructor = 13;
*
*
* This field is present if and only if the class has a primary constructor
*
*/
public boolean hasPrimaryConstructor() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .org.jetbrains.kotlin.serialization.Class.PrimaryConstructor primary_constructor = 13;
*
*
* This field is present if and only if the class has a primary constructor
*
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor getPrimaryConstructor() {
return primaryConstructor_;
}
// repeated .org.jetbrains.kotlin.serialization.Callable secondary_constructor = 14;
public static final int SECONDARY_CONSTRUCTOR_FIELD_NUMBER = 14;
private java.util.List secondaryConstructor_;
/**
* repeated .org.jetbrains.kotlin.serialization.Callable secondary_constructor = 14;
*/
public java.util.List getSecondaryConstructorList() {
return secondaryConstructor_;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable secondary_constructor = 14;
*/
public java.util.List extends org.jetbrains.kotlin.serialization.ProtoBuf.CallableOrBuilder>
getSecondaryConstructorOrBuilderList() {
return secondaryConstructor_;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable secondary_constructor = 14;
*/
public int getSecondaryConstructorCount() {
return secondaryConstructor_.size();
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable secondary_constructor = 14;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Callable getSecondaryConstructor(int index) {
return secondaryConstructor_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable secondary_constructor = 14;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.CallableOrBuilder getSecondaryConstructorOrBuilder(
int index) {
return secondaryConstructor_.get(index);
}
private void initFields() {
flags_ = 0;
fqName_ = 0;
companionObjectName_ = 0;
typeParameter_ = java.util.Collections.emptyList();
supertype_ = java.util.Collections.emptyList();
nestedClassName_ = java.util.Collections.emptyList();
member_ = java.util.Collections.emptyList();
enumEntry_ = java.util.Collections.emptyList();
primaryConstructor_ = org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor.getDefaultInstance();
secondaryConstructor_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
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 < getMemberCount(); i++) {
if (!getMember(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasPrimaryConstructor()) {
if (!getPrimaryConstructor().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getSecondaryConstructorCount(); i++) {
if (!getSecondaryConstructor(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (!extensionsAreInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
com.google.protobuf.GeneratedMessageLite
.ExtendableMessage.ExtensionWriter extensionWriter =
newExtensionWriter();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(1, flags_);
}
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));
}
for (int i = 0; i < nestedClassName_.size(); i++) {
output.writeInt32(7, nestedClassName_.get(i));
}
for (int i = 0; i < member_.size(); i++) {
output.writeMessage(11, member_.get(i));
}
for (int i = 0; i < enumEntry_.size(); i++) {
output.writeInt32(12, enumEntry_.get(i));
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeMessage(13, primaryConstructor_);
}
for (int i = 0; i < secondaryConstructor_.size(); i++) {
output.writeMessage(14, secondaryConstructor_.get(i));
}
extensionWriter.writeUntil(200, output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, flags_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, fqName_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, companionObjectName_);
}
for (int i = 0; i < typeParameter_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, typeParameter_.get(i));
}
for (int i = 0; i < supertype_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, supertype_.get(i));
}
{
int dataSize = 0;
for (int i = 0; i < nestedClassName_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(nestedClassName_.get(i));
}
size += dataSize;
size += 1 * getNestedClassNameList().size();
}
for (int i = 0; i < member_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, member_.get(i));
}
{
int dataSize = 0;
for (int i = 0; i < enumEntry_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(enumEntry_.get(i));
}
size += dataSize;
size += 1 * getEnumEntryList().size();
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, primaryConstructor_);
}
for (int i = 0; i < secondaryConstructor_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, secondaryConstructor_.get(i));
}
size += extensionsSerializedSize();
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(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Class parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Class parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Class parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.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,
com.google.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,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Class parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Class parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.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
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
org.jetbrains.kotlin.serialization.ProtoBuf.Class, Builder> implements 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_ = 0;
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);
nestedClassName_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
member_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
enumEntry_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
primaryConstructor_ = org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000100);
secondaryConstructor_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
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)) {
nestedClassName_ = java.util.Collections.unmodifiableList(nestedClassName_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.nestedClassName_ = nestedClassName_;
if (((bitField0_ & 0x00000040) == 0x00000040)) {
member_ = java.util.Collections.unmodifiableList(member_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.member_ = member_;
if (((bitField0_ & 0x00000080) == 0x00000080)) {
enumEntry_ = java.util.Collections.unmodifiableList(enumEntry_);
bitField0_ = (bitField0_ & ~0x00000080);
}
result.enumEntry_ = enumEntry_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000008;
}
result.primaryConstructor_ = primaryConstructor_;
if (((bitField0_ & 0x00000200) == 0x00000200)) {
secondaryConstructor_ = java.util.Collections.unmodifiableList(secondaryConstructor_);
bitField0_ = (bitField0_ & ~0x00000200);
}
result.secondaryConstructor_ = secondaryConstructor_;
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.nestedClassName_.isEmpty()) {
if (nestedClassName_.isEmpty()) {
nestedClassName_ = other.nestedClassName_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureNestedClassNameIsMutable();
nestedClassName_.addAll(other.nestedClassName_);
}
}
if (!other.member_.isEmpty()) {
if (member_.isEmpty()) {
member_ = other.member_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureMemberIsMutable();
member_.addAll(other.member_);
}
}
if (!other.enumEntry_.isEmpty()) {
if (enumEntry_.isEmpty()) {
enumEntry_ = other.enumEntry_;
bitField0_ = (bitField0_ & ~0x00000080);
} else {
ensureEnumEntryIsMutable();
enumEntry_.addAll(other.enumEntry_);
}
}
if (other.hasPrimaryConstructor()) {
mergePrimaryConstructor(other.getPrimaryConstructor());
}
if (!other.secondaryConstructor_.isEmpty()) {
if (secondaryConstructor_.isEmpty()) {
secondaryConstructor_ = other.secondaryConstructor_;
bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureSecondaryConstructorIsMutable();
secondaryConstructor_.addAll(other.secondaryConstructor_);
}
}
this.mergeExtensionFields(other);
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 < getMemberCount(); i++) {
if (!getMember(i).isInitialized()) {
return false;
}
}
if (hasPrimaryConstructor()) {
if (!getPrimaryConstructor().isInitialized()) {
return false;
}
}
for (int i = 0; i < getSecondaryConstructorCount(); i++) {
if (!getSecondaryConstructor(i).isInitialized()) {
return false;
}
}
if (!extensionsAreInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.jetbrains.kotlin.serialization.ProtoBuf.Class parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.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_;
// optional int32 flags = 1 [default = 0];
private int flags_ ;
/**
* optional int32 flags = 1 [default = 0];
*
*
*
*Visibility
*Modality
*has_annotation
*ClassKind
*is_inner
*
*/
public boolean hasFlags() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 flags = 1 [default = 0];
*
*
*
*Visibility
*Modality
*has_annotation
*ClassKind
*is_inner
*
*/
public int getFlags() {
return flags_;
}
/**
* optional int32 flags = 1 [default = 0];
*
*
*
*Visibility
*Modality
*has_annotation
*ClassKind
*is_inner
*
*/
public Builder setFlags(int value) {
bitField0_ |= 0x00000001;
flags_ = value;
return this;
}
/**
* optional int32 flags = 1 [default = 0];
*
*
*
*Visibility
*Modality
*has_annotation
*ClassKind
*is_inner
*
*/
public Builder clearFlags() {
bitField0_ = (bitField0_ & ~0x00000001);
flags_ = 0;
return this;
}
// required int32 fq_name = 3;
private int fqName_ ;
/**
* required int32 fq_name = 3;
*/
public boolean hasFqName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 fq_name = 3;
*/
public int getFqName() {
return fqName_;
}
/**
* required int32 fq_name = 3;
*/
public Builder setFqName(int value) {
bitField0_ |= 0x00000002;
fqName_ = value;
return this;
}
/**
* required int32 fq_name = 3;
*/
public Builder clearFqName() {
bitField0_ = (bitField0_ & ~0x00000002);
fqName_ = 0;
return this;
}
// optional int32 companion_object_name = 4;
private int companionObjectName_ ;
/**
* optional int32 companion_object_name = 4;
*
*
* If this field is present, it contains the name of companion object.
*
*/
public boolean hasCompanionObjectName() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 companion_object_name = 4;
*
*
* If this field is present, it contains the name of companion object.
*
*/
public int getCompanionObjectName() {
return companionObjectName_;
}
/**
* optional int32 companion_object_name = 4;
*
*
* If this field is present, it contains the name of companion object.
*
*/
public Builder setCompanionObjectName(int value) {
bitField0_ |= 0x00000004;
companionObjectName_ = value;
return this;
}
/**
* optional int32 companion_object_name = 4;
*
*
* If this field is present, it contains the name of companion object.
*
*/
public Builder clearCompanionObjectName() {
bitField0_ = (bitField0_ & ~0x00000004);
companionObjectName_ = 0;
return this;
}
// repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;
private java.util.List typeParameter_ =
java.util.Collections.emptyList();
private void ensureTypeParameterIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
typeParameter_ = new java.util.ArrayList(typeParameter_);
bitField0_ |= 0x00000008;
}
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;
*/
public java.util.List getTypeParameterList() {
return java.util.Collections.unmodifiableList(typeParameter_);
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;
*/
public int getTypeParameterCount() {
return typeParameter_.size();
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter getTypeParameter(int index) {
return typeParameter_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;
*/
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;
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;
*/
public Builder setTypeParameter(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Builder builderForValue) {
ensureTypeParameterIsMutable();
typeParameter_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;
*/
public Builder addTypeParameter(org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter value) {
if (value == null) {
throw new NullPointerException();
}
ensureTypeParameterIsMutable();
typeParameter_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;
*/
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;
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;
*/
public Builder addTypeParameter(
org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Builder builderForValue) {
ensureTypeParameterIsMutable();
typeParameter_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;
*/
public Builder addTypeParameter(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Builder builderForValue) {
ensureTypeParameterIsMutable();
typeParameter_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;
*/
public Builder addAllTypeParameter(
java.lang.Iterable extends org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter> values) {
ensureTypeParameterIsMutable();
super.addAll(values, typeParameter_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;
*/
public Builder clearTypeParameter() {
typeParameter_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 5;
*/
public Builder removeTypeParameter(int index) {
ensureTypeParameterIsMutable();
typeParameter_.remove(index);
return this;
}
// repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;
private java.util.List supertype_ =
java.util.Collections.emptyList();
private void ensureSupertypeIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
supertype_ = new java.util.ArrayList(supertype_);
bitField0_ |= 0x00000010;
}
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;
*/
public java.util.List getSupertypeList() {
return java.util.Collections.unmodifiableList(supertype_);
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;
*/
public int getSupertypeCount() {
return supertype_.size();
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Type getSupertype(int index) {
return supertype_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;
*/
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;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;
*/
public Builder setSupertype(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) {
ensureSupertypeIsMutable();
supertype_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;
*/
public Builder addSupertype(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) {
if (value == null) {
throw new NullPointerException();
}
ensureSupertypeIsMutable();
supertype_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;
*/
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;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;
*/
public Builder addSupertype(
org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) {
ensureSupertypeIsMutable();
supertype_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;
*/
public Builder addSupertype(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) {
ensureSupertypeIsMutable();
supertype_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;
*/
public Builder addAllSupertype(
java.lang.Iterable extends org.jetbrains.kotlin.serialization.ProtoBuf.Type> values) {
ensureSupertypeIsMutable();
super.addAll(values, supertype_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;
*/
public Builder clearSupertype() {
supertype_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Type supertype = 6;
*/
public Builder removeSupertype(int index) {
ensureSupertypeIsMutable();
supertype_.remove(index);
return this;
}
// repeated int32 nested_class_name = 7;
private java.util.List nestedClassName_ = java.util.Collections.emptyList();
private void ensureNestedClassNameIsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
nestedClassName_ = new java.util.ArrayList(nestedClassName_);
bitField0_ |= 0x00000020;
}
}
/**
* repeated int32 nested_class_name = 7;
*
*
* we store only names, because the actual information must reside in the corresponding .class files,
* to be obtainable through reflection at runtime
*
*/
public java.util.List
getNestedClassNameList() {
return java.util.Collections.unmodifiableList(nestedClassName_);
}
/**
* repeated int32 nested_class_name = 7;
*
*
* we store only names, because the actual information must reside in the corresponding .class files,
* to be obtainable through reflection at runtime
*
*/
public int getNestedClassNameCount() {
return nestedClassName_.size();
}
/**
* repeated int32 nested_class_name = 7;
*
*
* we store only names, because the actual information must reside in the corresponding .class files,
* to be obtainable through reflection at runtime
*
*/
public int getNestedClassName(int index) {
return nestedClassName_.get(index);
}
/**
* repeated int32 nested_class_name = 7;
*
*
* we store only names, because the actual information must reside in the corresponding .class files,
* to be obtainable through reflection at runtime
*
*/
public Builder setNestedClassName(
int index, int value) {
ensureNestedClassNameIsMutable();
nestedClassName_.set(index, value);
return this;
}
/**
* repeated int32 nested_class_name = 7;
*
*
* we store only names, because the actual information must reside in the corresponding .class files,
* to be obtainable through reflection at runtime
*
*/
public Builder addNestedClassName(int value) {
ensureNestedClassNameIsMutable();
nestedClassName_.add(value);
return this;
}
/**
* repeated int32 nested_class_name = 7;
*
*
* we store only names, because the actual information must reside in the corresponding .class files,
* to be obtainable through reflection at runtime
*
*/
public Builder addAllNestedClassName(
java.lang.Iterable extends java.lang.Integer> values) {
ensureNestedClassNameIsMutable();
super.addAll(values, nestedClassName_);
return this;
}
/**
* repeated int32 nested_class_name = 7;
*
*
* we store only names, because the actual information must reside in the corresponding .class files,
* to be obtainable through reflection at runtime
*
*/
public Builder clearNestedClassName() {
nestedClassName_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
// repeated .org.jetbrains.kotlin.serialization.Callable member = 11;
private java.util.List member_ =
java.util.Collections.emptyList();
private void ensureMemberIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
member_ = new java.util.ArrayList(member_);
bitField0_ |= 0x00000040;
}
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 11;
*/
public java.util.List getMemberList() {
return java.util.Collections.unmodifiableList(member_);
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 11;
*/
public int getMemberCount() {
return member_.size();
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 11;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Callable getMember(int index) {
return member_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 11;
*/
public Builder setMember(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.Callable value) {
if (value == null) {
throw new NullPointerException();
}
ensureMemberIsMutable();
member_.set(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 11;
*/
public Builder setMember(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.Callable.Builder builderForValue) {
ensureMemberIsMutable();
member_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 11;
*/
public Builder addMember(org.jetbrains.kotlin.serialization.ProtoBuf.Callable value) {
if (value == null) {
throw new NullPointerException();
}
ensureMemberIsMutable();
member_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 11;
*/
public Builder addMember(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.Callable value) {
if (value == null) {
throw new NullPointerException();
}
ensureMemberIsMutable();
member_.add(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 11;
*/
public Builder addMember(
org.jetbrains.kotlin.serialization.ProtoBuf.Callable.Builder builderForValue) {
ensureMemberIsMutable();
member_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 11;
*/
public Builder addMember(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.Callable.Builder builderForValue) {
ensureMemberIsMutable();
member_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 11;
*/
public Builder addAllMember(
java.lang.Iterable extends org.jetbrains.kotlin.serialization.ProtoBuf.Callable> values) {
ensureMemberIsMutable();
super.addAll(values, member_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 11;
*/
public Builder clearMember() {
member_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 11;
*/
public Builder removeMember(int index) {
ensureMemberIsMutable();
member_.remove(index);
return this;
}
// repeated int32 enum_entry = 12;
private java.util.List enumEntry_ = java.util.Collections.emptyList();
private void ensureEnumEntryIsMutable() {
if (!((bitField0_ & 0x00000080) == 0x00000080)) {
enumEntry_ = new java.util.ArrayList(enumEntry_);
bitField0_ |= 0x00000080;
}
}
/**
* repeated int32 enum_entry = 12;
*/
public java.util.List
getEnumEntryList() {
return java.util.Collections.unmodifiableList(enumEntry_);
}
/**
* repeated int32 enum_entry = 12;
*/
public int getEnumEntryCount() {
return enumEntry_.size();
}
/**
* repeated int32 enum_entry = 12;
*/
public int getEnumEntry(int index) {
return enumEntry_.get(index);
}
/**
* repeated int32 enum_entry = 12;
*/
public Builder setEnumEntry(
int index, int value) {
ensureEnumEntryIsMutable();
enumEntry_.set(index, value);
return this;
}
/**
* repeated int32 enum_entry = 12;
*/
public Builder addEnumEntry(int value) {
ensureEnumEntryIsMutable();
enumEntry_.add(value);
return this;
}
/**
* repeated int32 enum_entry = 12;
*/
public Builder addAllEnumEntry(
java.lang.Iterable extends java.lang.Integer> values) {
ensureEnumEntryIsMutable();
super.addAll(values, enumEntry_);
return this;
}
/**
* repeated int32 enum_entry = 12;
*/
public Builder clearEnumEntry() {
enumEntry_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
// optional .org.jetbrains.kotlin.serialization.Class.PrimaryConstructor primary_constructor = 13;
private org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor primaryConstructor_ = org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor.getDefaultInstance();
/**
* optional .org.jetbrains.kotlin.serialization.Class.PrimaryConstructor primary_constructor = 13;
*
*
* This field is present if and only if the class has a primary constructor
*
*/
public boolean hasPrimaryConstructor() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional .org.jetbrains.kotlin.serialization.Class.PrimaryConstructor primary_constructor = 13;
*
*
* This field is present if and only if the class has a primary constructor
*
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor getPrimaryConstructor() {
return primaryConstructor_;
}
/**
* optional .org.jetbrains.kotlin.serialization.Class.PrimaryConstructor primary_constructor = 13;
*
*
* This field is present if and only if the class has a primary constructor
*
*/
public Builder setPrimaryConstructor(org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor value) {
if (value == null) {
throw new NullPointerException();
}
primaryConstructor_ = value;
bitField0_ |= 0x00000100;
return this;
}
/**
* optional .org.jetbrains.kotlin.serialization.Class.PrimaryConstructor primary_constructor = 13;
*
*
* This field is present if and only if the class has a primary constructor
*
*/
public Builder setPrimaryConstructor(
org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor.Builder builderForValue) {
primaryConstructor_ = builderForValue.build();
bitField0_ |= 0x00000100;
return this;
}
/**
* optional .org.jetbrains.kotlin.serialization.Class.PrimaryConstructor primary_constructor = 13;
*
*
* This field is present if and only if the class has a primary constructor
*
*/
public Builder mergePrimaryConstructor(org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor value) {
if (((bitField0_ & 0x00000100) == 0x00000100) &&
primaryConstructor_ != org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor.getDefaultInstance()) {
primaryConstructor_ =
org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor.newBuilder(primaryConstructor_).mergeFrom(value).buildPartial();
} else {
primaryConstructor_ = value;
}
bitField0_ |= 0x00000100;
return this;
}
/**
* optional .org.jetbrains.kotlin.serialization.Class.PrimaryConstructor primary_constructor = 13;
*
*
* This field is present if and only if the class has a primary constructor
*
*/
public Builder clearPrimaryConstructor() {
primaryConstructor_ = org.jetbrains.kotlin.serialization.ProtoBuf.Class.PrimaryConstructor.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000100);
return this;
}
// repeated .org.jetbrains.kotlin.serialization.Callable secondary_constructor = 14;
private java.util.List secondaryConstructor_ =
java.util.Collections.emptyList();
private void ensureSecondaryConstructorIsMutable() {
if (!((bitField0_ & 0x00000200) == 0x00000200)) {
secondaryConstructor_ = new java.util.ArrayList(secondaryConstructor_);
bitField0_ |= 0x00000200;
}
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable secondary_constructor = 14;
*/
public java.util.List getSecondaryConstructorList() {
return java.util.Collections.unmodifiableList(secondaryConstructor_);
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable secondary_constructor = 14;
*/
public int getSecondaryConstructorCount() {
return secondaryConstructor_.size();
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable secondary_constructor = 14;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Callable getSecondaryConstructor(int index) {
return secondaryConstructor_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable secondary_constructor = 14;
*/
public Builder setSecondaryConstructor(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.Callable value) {
if (value == null) {
throw new NullPointerException();
}
ensureSecondaryConstructorIsMutable();
secondaryConstructor_.set(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable secondary_constructor = 14;
*/
public Builder setSecondaryConstructor(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.Callable.Builder builderForValue) {
ensureSecondaryConstructorIsMutable();
secondaryConstructor_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable secondary_constructor = 14;
*/
public Builder addSecondaryConstructor(org.jetbrains.kotlin.serialization.ProtoBuf.Callable value) {
if (value == null) {
throw new NullPointerException();
}
ensureSecondaryConstructorIsMutable();
secondaryConstructor_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable secondary_constructor = 14;
*/
public Builder addSecondaryConstructor(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.Callable value) {
if (value == null) {
throw new NullPointerException();
}
ensureSecondaryConstructorIsMutable();
secondaryConstructor_.add(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable secondary_constructor = 14;
*/
public Builder addSecondaryConstructor(
org.jetbrains.kotlin.serialization.ProtoBuf.Callable.Builder builderForValue) {
ensureSecondaryConstructorIsMutable();
secondaryConstructor_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable secondary_constructor = 14;
*/
public Builder addSecondaryConstructor(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.Callable.Builder builderForValue) {
ensureSecondaryConstructorIsMutable();
secondaryConstructor_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable secondary_constructor = 14;
*/
public Builder addAllSecondaryConstructor(
java.lang.Iterable extends org.jetbrains.kotlin.serialization.ProtoBuf.Callable> values) {
ensureSecondaryConstructorIsMutable();
super.addAll(values, secondaryConstructor_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable secondary_constructor = 14;
*/
public Builder clearSecondaryConstructor() {
secondaryConstructor_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable secondary_constructor = 14;
*/
public Builder removeSecondaryConstructor(int index) {
ensureSecondaryConstructorIsMutable();
secondaryConstructor_.remove(index);
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
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder {
// repeated .org.jetbrains.kotlin.serialization.Callable member = 1;
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 1;
*/
java.util.List
getMemberList();
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 1;
*/
org.jetbrains.kotlin.serialization.ProtoBuf.Callable getMember(int index);
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 1;
*/
int getMemberCount();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.serialization.Package}
*/
public static final class Package extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Package> implements PackageOrBuilder {
// Use Package.newBuilder() to construct.
private Package(com.google.protobuf.GeneratedMessageLite.ExtendableBuilder builder) {
super(builder);
}
private Package(boolean noInit) {}
private static final Package defaultInstance;
public static Package getDefaultInstance() {
return defaultInstance;
}
public Package getDefaultInstanceForType() {
return defaultInstance;
}
private Package(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
member_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
member_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Callable.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
member_ = java.util.Collections.unmodifiableList(member_);
}
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public Package parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Package(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
// repeated .org.jetbrains.kotlin.serialization.Callable member = 1;
public static final int MEMBER_FIELD_NUMBER = 1;
private java.util.List member_;
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 1;
*/
public java.util.List getMemberList() {
return member_;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 1;
*/
public java.util.List extends org.jetbrains.kotlin.serialization.ProtoBuf.CallableOrBuilder>
getMemberOrBuilderList() {
return member_;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 1;
*/
public int getMemberCount() {
return member_.size();
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 1;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Callable getMember(int index) {
return member_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 1;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.CallableOrBuilder getMemberOrBuilder(
int index) {
return member_.get(index);
}
private void initFields() {
member_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
for (int i = 0; i < getMemberCount(); i++) {
if (!getMember(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (!extensionsAreInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
com.google.protobuf.GeneratedMessageLite
.ExtendableMessage.ExtensionWriter extensionWriter =
newExtensionWriter();
for (int i = 0; i < member_.size(); i++) {
output.writeMessage(1, member_.get(i));
}
extensionWriter.writeUntil(200, output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < member_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, member_.get(i));
}
size += extensionsSerializedSize();
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(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Package parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Package parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Package parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.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,
com.google.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,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Package parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Package parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.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
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
org.jetbrains.kotlin.serialization.ProtoBuf.Package, Builder> implements 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();
member_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
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_;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
member_ = java.util.Collections.unmodifiableList(member_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.member_ = member_;
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.member_.isEmpty()) {
if (member_.isEmpty()) {
member_ = other.member_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureMemberIsMutable();
member_.addAll(other.member_);
}
}
this.mergeExtensionFields(other);
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getMemberCount(); i++) {
if (!getMember(i).isInitialized()) {
return false;
}
}
if (!extensionsAreInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.jetbrains.kotlin.serialization.ProtoBuf.Package parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.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_;
// repeated .org.jetbrains.kotlin.serialization.Callable member = 1;
private java.util.List member_ =
java.util.Collections.emptyList();
private void ensureMemberIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
member_ = new java.util.ArrayList(member_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 1;
*/
public java.util.List getMemberList() {
return java.util.Collections.unmodifiableList(member_);
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 1;
*/
public int getMemberCount() {
return member_.size();
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 1;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Callable getMember(int index) {
return member_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 1;
*/
public Builder setMember(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.Callable value) {
if (value == null) {
throw new NullPointerException();
}
ensureMemberIsMutable();
member_.set(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 1;
*/
public Builder setMember(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.Callable.Builder builderForValue) {
ensureMemberIsMutable();
member_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 1;
*/
public Builder addMember(org.jetbrains.kotlin.serialization.ProtoBuf.Callable value) {
if (value == null) {
throw new NullPointerException();
}
ensureMemberIsMutable();
member_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 1;
*/
public Builder addMember(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.Callable value) {
if (value == null) {
throw new NullPointerException();
}
ensureMemberIsMutable();
member_.add(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 1;
*/
public Builder addMember(
org.jetbrains.kotlin.serialization.ProtoBuf.Callable.Builder builderForValue) {
ensureMemberIsMutable();
member_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 1;
*/
public Builder addMember(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.Callable.Builder builderForValue) {
ensureMemberIsMutable();
member_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 1;
*/
public Builder addAllMember(
java.lang.Iterable extends org.jetbrains.kotlin.serialization.ProtoBuf.Callable> values) {
ensureMemberIsMutable();
super.addAll(values, member_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 1;
*/
public Builder clearMember() {
member_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable member = 1;
*/
public Builder removeMember(int index) {
ensureMemberIsMutable();
member_.remove(index);
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 CallableOrBuilder extends
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder {
// optional int32 flags = 1;
/**
* optional int32 flags = 1;
*
*
*
*Visibility
*Modality
*has_annotations
*CallableKind
*MemberKind
*hasGetter
*hasSetter
*hasConstant
*
*/
boolean hasFlags();
/**
* optional int32 flags = 1;
*
*
*
*Visibility
*Modality
*has_annotations
*CallableKind
*MemberKind
*hasGetter
*hasSetter
*hasConstant
*
*/
int getFlags();
// optional int32 getter_flags = 9;
/**
* optional int32 getter_flags = 9;
*
*
*
*isNotDefault
*Visibility
*Modality
*has_annotations
*
*/
boolean hasGetterFlags();
/**
* optional int32 getter_flags = 9;
*
*
*
*isNotDefault
*Visibility
*Modality
*has_annotations
*
*/
int getGetterFlags();
// optional int32 setter_flags = 10;
/**
* optional int32 setter_flags = 10;
*/
boolean hasSetterFlags();
/**
* optional int32 setter_flags = 10;
*/
int getSetterFlags();
// repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;
*/
java.util.List
getTypeParameterList();
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;
*/
org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter getTypeParameter(int index);
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;
*/
int getTypeParameterCount();
// optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;
/**
* optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;
*/
boolean hasReceiverType();
/**
* optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;
*/
org.jetbrains.kotlin.serialization.ProtoBuf.Type getReceiverType();
// required int32 name = 6;
/**
* required int32 name = 6;
*
*
* Id in the StringTable
*
*/
boolean hasName();
/**
* required int32 name = 6;
*
*
* Id in the StringTable
*
*/
int getName();
// repeated .org.jetbrains.kotlin.serialization.Callable.ValueParameter value_parameter = 7;
/**
* repeated .org.jetbrains.kotlin.serialization.Callable.ValueParameter value_parameter = 7;
*
*
* Value parameters for functions and constructors, or setter value parameter for properties
*
*/
java.util.List
getValueParameterList();
/**
* repeated .org.jetbrains.kotlin.serialization.Callable.ValueParameter value_parameter = 7;
*
*
* Value parameters for functions and constructors, or setter value parameter for properties
*
*/
org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter getValueParameter(int index);
/**
* repeated .org.jetbrains.kotlin.serialization.Callable.ValueParameter value_parameter = 7;
*
*
* Value parameters for functions and constructors, or setter value parameter for properties
*
*/
int getValueParameterCount();
// required .org.jetbrains.kotlin.serialization.Type return_type = 8;
/**
* required .org.jetbrains.kotlin.serialization.Type return_type = 8;
*/
boolean hasReturnType();
/**
* required .org.jetbrains.kotlin.serialization.Type return_type = 8;
*/
org.jetbrains.kotlin.serialization.ProtoBuf.Type getReturnType();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.serialization.Callable}
*/
public static final class Callable extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Callable> implements CallableOrBuilder {
// Use Callable.newBuilder() to construct.
private Callable(com.google.protobuf.GeneratedMessageLite.ExtendableBuilder builder) {
super(builder);
}
private Callable(boolean noInit) {}
private static final Callable defaultInstance;
public static Callable getDefaultInstance() {
return defaultInstance;
}
public Callable getDefaultInstanceForType() {
return defaultInstance;
}
private Callable(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
flags_ = input.readInt32();
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
typeParameter_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
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_ & 0x00000008) == 0x00000008)) {
subBuilder = receiverType_.toBuilder();
}
receiverType_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Type.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(receiverType_);
receiverType_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000008;
break;
}
case 48: {
bitField0_ |= 0x00000010;
name_ = input.readInt32();
break;
}
case 58: {
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
valueParameter_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
valueParameter_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter.PARSER, extensionRegistry));
break;
}
case 66: {
org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder subBuilder = null;
if (((bitField0_ & 0x00000020) == 0x00000020)) {
subBuilder = returnType_.toBuilder();
}
returnType_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Type.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(returnType_);
returnType_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000020;
break;
}
case 72: {
bitField0_ |= 0x00000002;
getterFlags_ = input.readInt32();
break;
}
case 80: {
bitField0_ |= 0x00000004;
setterFlags_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
typeParameter_ = java.util.Collections.unmodifiableList(typeParameter_);
}
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
valueParameter_ = java.util.Collections.unmodifiableList(valueParameter_);
}
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public Callable parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Callable(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
/**
* Protobuf enum {@code org.jetbrains.kotlin.serialization.Callable.MemberKind}
*/
public enum MemberKind
implements com.google.protobuf.Internal.EnumLite {
/**
* DECLARATION = 0;
*
*
* 2 bits
*
*/
DECLARATION(0, 0),
/**
* FAKE_OVERRIDE = 1;
*/
FAKE_OVERRIDE(1, 1),
/**
* DELEGATION = 2;
*/
DELEGATION(2, 2),
/**
* SYNTHESIZED = 3;
*/
SYNTHESIZED(3, 3),
;
/**
* DECLARATION = 0;
*
*
* 2 bits
*
*/
public static final int DECLARATION_VALUE = 0;
/**
* FAKE_OVERRIDE = 1;
*/
public static final int FAKE_OVERRIDE_VALUE = 1;
/**
* DELEGATION = 2;
*/
public static final int DELEGATION_VALUE = 2;
/**
* SYNTHESIZED = 3;
*/
public static final int SYNTHESIZED_VALUE = 3;
public final int getNumber() { return value; }
public static MemberKind valueOf(int value) {
switch (value) {
case 0: return DECLARATION;
case 1: return FAKE_OVERRIDE;
case 2: return DELEGATION;
case 3: return SYNTHESIZED;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public MemberKind findValueByNumber(int number) {
return MemberKind.valueOf(number);
}
};
private final int value;
private MemberKind(int index, int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org.jetbrains.kotlin.serialization.Callable.MemberKind)
}
/**
* Protobuf enum {@code org.jetbrains.kotlin.serialization.Callable.CallableKind}
*/
public enum CallableKind
implements com.google.protobuf.Internal.EnumLite {
/**
* FUN = 0;
*
*
* 2 bits
*
*/
FUN(0, 0),
/**
* VAL = 1;
*/
VAL(1, 1),
/**
* VAR = 2;
*/
VAR(2, 2),
/**
* CONSTRUCTOR = 3;
*/
CONSTRUCTOR(3, 3),
;
/**
* FUN = 0;
*
*
* 2 bits
*
*/
public static final int FUN_VALUE = 0;
/**
* VAL = 1;
*/
public static final int VAL_VALUE = 1;
/**
* VAR = 2;
*/
public static final int VAR_VALUE = 2;
/**
* CONSTRUCTOR = 3;
*/
public static final int CONSTRUCTOR_VALUE = 3;
public final int getNumber() { return value; }
public static CallableKind valueOf(int value) {
switch (value) {
case 0: return FUN;
case 1: return VAL;
case 2: return VAR;
case 3: return CONSTRUCTOR;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public CallableKind findValueByNumber(int number) {
return CallableKind.valueOf(number);
}
};
private final int value;
private CallableKind(int index, int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org.jetbrains.kotlin.serialization.Callable.CallableKind)
}
public interface ValueParameterOrBuilder extends
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder {
// optional int32 flags = 1;
/**
* optional int32 flags = 1;
*
*
*
*declaresDefault
*has_annotations
*
*/
boolean hasFlags();
/**
* optional int32 flags = 1;
*
*
*
*declaresDefault
*has_annotations
*
*/
int getFlags();
// required int32 name = 2;
/**
* required int32 name = 2;
*
*
* Id in the StringTable
*
*/
boolean hasName();
/**
* required int32 name = 2;
*
*
* Id in the StringTable
*
*/
int getName();
// required .org.jetbrains.kotlin.serialization.Type type = 3;
/**
* required .org.jetbrains.kotlin.serialization.Type type = 3;
*/
boolean hasType();
/**
* required .org.jetbrains.kotlin.serialization.Type type = 3;
*/
org.jetbrains.kotlin.serialization.ProtoBuf.Type getType();
// optional .org.jetbrains.kotlin.serialization.Type vararg_element_type = 4;
/**
* optional .org.jetbrains.kotlin.serialization.Type vararg_element_type = 4;
*/
boolean hasVarargElementType();
/**
* optional .org.jetbrains.kotlin.serialization.Type vararg_element_type = 4;
*/
org.jetbrains.kotlin.serialization.ProtoBuf.Type getVarargElementType();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.serialization.Callable.ValueParameter}
*/
public static final class ValueParameter extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
ValueParameter> implements ValueParameterOrBuilder {
// Use ValueParameter.newBuilder() to construct.
private ValueParameter(com.google.protobuf.GeneratedMessageLite.ExtendableBuilder builder) {
super(builder);
}
private ValueParameter(boolean noInit) {}
private static final ValueParameter defaultInstance;
public static ValueParameter getDefaultInstance() {
return defaultInstance;
}
public ValueParameter getDefaultInstanceForType() {
return defaultInstance;
}
private ValueParameter(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
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_ & 0x00000008) == 0x00000008)) {
subBuilder = varargElementType_.toBuilder();
}
varargElementType_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Type.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(varargElementType_);
varargElementType_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000008;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public ValueParameter parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ValueParameter(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional int32 flags = 1;
public static final int FLAGS_FIELD_NUMBER = 1;
private int flags_;
/**
* optional int32 flags = 1;
*
*
*
*declaresDefault
*has_annotations
*
*/
public boolean hasFlags() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 flags = 1;
*
*
*
*declaresDefault
*has_annotations
*
*/
public int getFlags() {
return flags_;
}
// required int32 name = 2;
public static final int NAME_FIELD_NUMBER = 2;
private int name_;
/**
* required int32 name = 2;
*
*
* Id in the StringTable
*
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 name = 2;
*
*
* Id in the StringTable
*
*/
public int getName() {
return name_;
}
// required .org.jetbrains.kotlin.serialization.Type type = 3;
public static final int TYPE_FIELD_NUMBER = 3;
private org.jetbrains.kotlin.serialization.ProtoBuf.Type type_;
/**
* required .org.jetbrains.kotlin.serialization.Type type = 3;
*/
public boolean hasType() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* required .org.jetbrains.kotlin.serialization.Type type = 3;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Type getType() {
return type_;
}
// optional .org.jetbrains.kotlin.serialization.Type vararg_element_type = 4;
public static final int VARARG_ELEMENT_TYPE_FIELD_NUMBER = 4;
private org.jetbrains.kotlin.serialization.ProtoBuf.Type varargElementType_;
/**
* optional .org.jetbrains.kotlin.serialization.Type vararg_element_type = 4;
*/
public boolean hasVarargElementType() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .org.jetbrains.kotlin.serialization.Type vararg_element_type = 4;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Type getVarargElementType() {
return varargElementType_;
}
private void initFields() {
flags_ = 0;
name_ = 0;
type_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance();
varargElementType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasName()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasType()) {
memoizedIsInitialized = 0;
return false;
}
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(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
com.google.protobuf.GeneratedMessageLite
.ExtendableMessage.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_ & 0x00000008) == 0x00000008)) {
output.writeMessage(4, varargElementType_);
}
extensionWriter.writeUntil(200, output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, flags_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, name_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, type_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, varargElementType_);
}
size += extensionsSerializedSize();
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.Callable.ValueParameter parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.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.Callable.ValueParameter prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code org.jetbrains.kotlin.serialization.Callable.ValueParameter}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter, Builder> implements org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameterOrBuilder {
// Construct using org.jetbrains.kotlin.serialization.ProtoBuf.Callable.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);
varargElementType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter getDefaultInstanceForType() {
return org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter.getDefaultInstance();
}
public org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter build() {
org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter buildPartial() {
org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter result = new org.jetbrains.kotlin.serialization.ProtoBuf.Callable.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.varargElementType_ = varargElementType_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter other) {
if (other == org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter.getDefaultInstance()) return this;
if (other.hasFlags()) {
setFlags(other.getFlags());
}
if (other.hasName()) {
setName(other.getName());
}
if (other.hasType()) {
mergeType(other.getType());
}
if (other.hasVarargElementType()) {
mergeVarargElementType(other.getVarargElementType());
}
this.mergeExtensionFields(other);
return this;
}
public final boolean isInitialized() {
if (!hasName()) {
return false;
}
if (!hasType()) {
return false;
}
if (!getType().isInitialized()) {
return false;
}
if (hasVarargElementType()) {
if (!getVarargElementType().isInitialized()) {
return false;
}
}
if (!extensionsAreInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional int32 flags = 1;
private int flags_ ;
/**
* optional int32 flags = 1;
*
*
*
*declaresDefault
*has_annotations
*
*/
public boolean hasFlags() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 flags = 1;
*
*
*
*declaresDefault
*has_annotations
*
*/
public int getFlags() {
return flags_;
}
/**
* optional int32 flags = 1;
*
*
*
*declaresDefault
*has_annotations
*
*/
public Builder setFlags(int value) {
bitField0_ |= 0x00000001;
flags_ = value;
return this;
}
/**
* optional int32 flags = 1;
*
*
*
*declaresDefault
*has_annotations
*
*/
public Builder clearFlags() {
bitField0_ = (bitField0_ & ~0x00000001);
flags_ = 0;
return this;
}
// required int32 name = 2;
private int name_ ;
/**
* required int32 name = 2;
*
*
* Id in the StringTable
*
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 name = 2;
*
*
* Id in the StringTable
*
*/
public int getName() {
return name_;
}
/**
* required int32 name = 2;
*
*
* Id in the StringTable
*
*/
public Builder setName(int value) {
bitField0_ |= 0x00000002;
name_ = value;
return this;
}
/**
* required int32 name = 2;
*
*
* Id in the StringTable
*
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = 0;
return this;
}
// required .org.jetbrains.kotlin.serialization.Type type = 3;
private org.jetbrains.kotlin.serialization.ProtoBuf.Type type_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance();
/**
* required .org.jetbrains.kotlin.serialization.Type type = 3;
*/
public boolean hasType() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* required .org.jetbrains.kotlin.serialization.Type type = 3;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Type getType() {
return type_;
}
/**
* required .org.jetbrains.kotlin.serialization.Type type = 3;
*/
public Builder setType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) {
if (value == null) {
throw new NullPointerException();
}
type_ = value;
bitField0_ |= 0x00000004;
return this;
}
/**
* required .org.jetbrains.kotlin.serialization.Type type = 3;
*/
public Builder setType(
org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) {
type_ = builderForValue.build();
bitField0_ |= 0x00000004;
return this;
}
/**
* required .org.jetbrains.kotlin.serialization.Type type = 3;
*/
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;
}
/**
* required .org.jetbrains.kotlin.serialization.Type type = 3;
*/
public Builder clearType() {
type_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
// optional .org.jetbrains.kotlin.serialization.Type vararg_element_type = 4;
private org.jetbrains.kotlin.serialization.ProtoBuf.Type varargElementType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance();
/**
* optional .org.jetbrains.kotlin.serialization.Type vararg_element_type = 4;
*/
public boolean hasVarargElementType() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .org.jetbrains.kotlin.serialization.Type vararg_element_type = 4;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Type getVarargElementType() {
return varargElementType_;
}
/**
* optional .org.jetbrains.kotlin.serialization.Type vararg_element_type = 4;
*/
public Builder setVarargElementType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) {
if (value == null) {
throw new NullPointerException();
}
varargElementType_ = value;
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .org.jetbrains.kotlin.serialization.Type vararg_element_type = 4;
*/
public Builder setVarargElementType(
org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) {
varargElementType_ = builderForValue.build();
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .org.jetbrains.kotlin.serialization.Type vararg_element_type = 4;
*/
public Builder mergeVarargElementType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) {
if (((bitField0_ & 0x00000008) == 0x00000008) &&
varargElementType_ != org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance()) {
varargElementType_ =
org.jetbrains.kotlin.serialization.ProtoBuf.Type.newBuilder(varargElementType_).mergeFrom(value).buildPartial();
} else {
varargElementType_ = value;
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .org.jetbrains.kotlin.serialization.Type vararg_element_type = 4;
*/
public Builder clearVarargElementType() {
varargElementType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.Callable.ValueParameter)
}
static {
defaultInstance = new ValueParameter(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.Callable.ValueParameter)
}
private int bitField0_;
// optional int32 flags = 1;
public static final int FLAGS_FIELD_NUMBER = 1;
private int flags_;
/**
* optional int32 flags = 1;
*
*
*
*Visibility
*Modality
*has_annotations
*CallableKind
*MemberKind
*hasGetter
*hasSetter
*hasConstant
*
*/
public boolean hasFlags() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 flags = 1;
*
*
*
*Visibility
*Modality
*has_annotations
*CallableKind
*MemberKind
*hasGetter
*hasSetter
*hasConstant
*
*/
public int getFlags() {
return flags_;
}
// optional int32 getter_flags = 9;
public static final int GETTER_FLAGS_FIELD_NUMBER = 9;
private int getterFlags_;
/**
* optional int32 getter_flags = 9;
*
*
*
*isNotDefault
*Visibility
*Modality
*has_annotations
*
*/
public boolean hasGetterFlags() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 getter_flags = 9;
*
*
*
*isNotDefault
*Visibility
*Modality
*has_annotations
*
*/
public int getGetterFlags() {
return getterFlags_;
}
// optional int32 setter_flags = 10;
public static final int SETTER_FLAGS_FIELD_NUMBER = 10;
private int setterFlags_;
/**
* optional int32 setter_flags = 10;
*/
public boolean hasSetterFlags() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 setter_flags = 10;
*/
public int getSetterFlags() {
return setterFlags_;
}
// repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;
public static final int TYPE_PARAMETER_FIELD_NUMBER = 4;
private java.util.List typeParameter_;
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;
*/
public java.util.List getTypeParameterList() {
return typeParameter_;
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;
*/
public java.util.List extends org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameterOrBuilder>
getTypeParameterOrBuilderList() {
return typeParameter_;
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;
*/
public int getTypeParameterCount() {
return typeParameter_.size();
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter getTypeParameter(int index) {
return typeParameter_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameterOrBuilder getTypeParameterOrBuilder(
int index) {
return typeParameter_.get(index);
}
// optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;
public static final int RECEIVER_TYPE_FIELD_NUMBER = 5;
private org.jetbrains.kotlin.serialization.ProtoBuf.Type receiverType_;
/**
* optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;
*/
public boolean hasReceiverType() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Type getReceiverType() {
return receiverType_;
}
// required int32 name = 6;
public static final int NAME_FIELD_NUMBER = 6;
private int name_;
/**
* required int32 name = 6;
*
*
* Id in the StringTable
*
*/
public boolean hasName() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* required int32 name = 6;
*
*
* Id in the StringTable
*
*/
public int getName() {
return name_;
}
// repeated .org.jetbrains.kotlin.serialization.Callable.ValueParameter value_parameter = 7;
public static final int VALUE_PARAMETER_FIELD_NUMBER = 7;
private java.util.List valueParameter_;
/**
* repeated .org.jetbrains.kotlin.serialization.Callable.ValueParameter value_parameter = 7;
*
*
* Value parameters for functions and constructors, or setter value parameter for properties
*
*/
public java.util.List getValueParameterList() {
return valueParameter_;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable.ValueParameter value_parameter = 7;
*
*
* Value parameters for functions and constructors, or setter value parameter for properties
*
*/
public java.util.List extends org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameterOrBuilder>
getValueParameterOrBuilderList() {
return valueParameter_;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable.ValueParameter value_parameter = 7;
*
*
* Value parameters for functions and constructors, or setter value parameter for properties
*
*/
public int getValueParameterCount() {
return valueParameter_.size();
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable.ValueParameter value_parameter = 7;
*
*
* Value parameters for functions and constructors, or setter value parameter for properties
*
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter getValueParameter(int index) {
return valueParameter_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable.ValueParameter value_parameter = 7;
*
*
* Value parameters for functions and constructors, or setter value parameter for properties
*
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameterOrBuilder getValueParameterOrBuilder(
int index) {
return valueParameter_.get(index);
}
// required .org.jetbrains.kotlin.serialization.Type return_type = 8;
public static final int RETURN_TYPE_FIELD_NUMBER = 8;
private org.jetbrains.kotlin.serialization.ProtoBuf.Type returnType_;
/**
* required .org.jetbrains.kotlin.serialization.Type return_type = 8;
*/
public boolean hasReturnType() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* required .org.jetbrains.kotlin.serialization.Type return_type = 8;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Type getReturnType() {
return returnType_;
}
private void initFields() {
flags_ = 0;
getterFlags_ = 0;
setterFlags_ = 0;
typeParameter_ = java.util.Collections.emptyList();
receiverType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance();
name_ = 0;
valueParameter_ = java.util.Collections.emptyList();
returnType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasName()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasReturnType()) {
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 (!getReturnType().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
if (!extensionsAreInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
com.google.protobuf.GeneratedMessageLite
.ExtendableMessage.ExtensionWriter extensionWriter =
newExtensionWriter();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(1, flags_);
}
for (int i = 0; i < typeParameter_.size(); i++) {
output.writeMessage(4, typeParameter_.get(i));
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeMessage(5, receiverType_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeInt32(6, name_);
}
for (int i = 0; i < valueParameter_.size(); i++) {
output.writeMessage(7, valueParameter_.get(i));
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeMessage(8, returnType_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(9, getterFlags_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(10, setterFlags_);
}
extensionWriter.writeUntil(200, output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, flags_);
}
for (int i = 0; i < typeParameter_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, typeParameter_.get(i));
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, receiverType_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, name_);
}
for (int i = 0; i < valueParameter_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, valueParameter_.get(i));
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, returnType_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(9, getterFlags_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(10, setterFlags_);
}
size += extensionsSerializedSize();
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.Callable parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Callable parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Callable parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Callable parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Callable parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Callable parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Callable parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Callable parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Callable parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.jetbrains.kotlin.serialization.ProtoBuf.Callable parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.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.Callable prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code org.jetbrains.kotlin.serialization.Callable}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
org.jetbrains.kotlin.serialization.ProtoBuf.Callable, Builder> implements org.jetbrains.kotlin.serialization.ProtoBuf.CallableOrBuilder {
// Construct using org.jetbrains.kotlin.serialization.ProtoBuf.Callable.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
flags_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
getterFlags_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
setterFlags_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
typeParameter_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
receiverType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000010);
name_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
valueParameter_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
returnType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.jetbrains.kotlin.serialization.ProtoBuf.Callable getDefaultInstanceForType() {
return org.jetbrains.kotlin.serialization.ProtoBuf.Callable.getDefaultInstance();
}
public org.jetbrains.kotlin.serialization.ProtoBuf.Callable build() {
org.jetbrains.kotlin.serialization.ProtoBuf.Callable result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.jetbrains.kotlin.serialization.ProtoBuf.Callable buildPartial() {
org.jetbrains.kotlin.serialization.ProtoBuf.Callable result = new org.jetbrains.kotlin.serialization.ProtoBuf.Callable(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.getterFlags_ = getterFlags_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.setterFlags_ = setterFlags_;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
typeParameter_ = java.util.Collections.unmodifiableList(typeParameter_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.typeParameter_ = typeParameter_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000008;
}
result.receiverType_ = receiverType_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000010;
}
result.name_ = name_;
if (((bitField0_ & 0x00000040) == 0x00000040)) {
valueParameter_ = java.util.Collections.unmodifiableList(valueParameter_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.valueParameter_ = valueParameter_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000020;
}
result.returnType_ = returnType_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.jetbrains.kotlin.serialization.ProtoBuf.Callable other) {
if (other == org.jetbrains.kotlin.serialization.ProtoBuf.Callable.getDefaultInstance()) return this;
if (other.hasFlags()) {
setFlags(other.getFlags());
}
if (other.hasGetterFlags()) {
setGetterFlags(other.getGetterFlags());
}
if (other.hasSetterFlags()) {
setSetterFlags(other.getSetterFlags());
}
if (!other.typeParameter_.isEmpty()) {
if (typeParameter_.isEmpty()) {
typeParameter_ = other.typeParameter_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureTypeParameterIsMutable();
typeParameter_.addAll(other.typeParameter_);
}
}
if (other.hasReceiverType()) {
mergeReceiverType(other.getReceiverType());
}
if (other.hasName()) {
setName(other.getName());
}
if (!other.valueParameter_.isEmpty()) {
if (valueParameter_.isEmpty()) {
valueParameter_ = other.valueParameter_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureValueParameterIsMutable();
valueParameter_.addAll(other.valueParameter_);
}
}
if (other.hasReturnType()) {
mergeReturnType(other.getReturnType());
}
this.mergeExtensionFields(other);
return this;
}
public final boolean isInitialized() {
if (!hasName()) {
return false;
}
if (!hasReturnType()) {
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 (!getReturnType().isInitialized()) {
return false;
}
if (!extensionsAreInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.jetbrains.kotlin.serialization.ProtoBuf.Callable parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.jetbrains.kotlin.serialization.ProtoBuf.Callable) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional int32 flags = 1;
private int flags_ ;
/**
* optional int32 flags = 1;
*
*
*
*Visibility
*Modality
*has_annotations
*CallableKind
*MemberKind
*hasGetter
*hasSetter
*hasConstant
*
*/
public boolean hasFlags() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 flags = 1;
*
*
*
*Visibility
*Modality
*has_annotations
*CallableKind
*MemberKind
*hasGetter
*hasSetter
*hasConstant
*
*/
public int getFlags() {
return flags_;
}
/**
* optional int32 flags = 1;
*
*
*
*Visibility
*Modality
*has_annotations
*CallableKind
*MemberKind
*hasGetter
*hasSetter
*hasConstant
*
*/
public Builder setFlags(int value) {
bitField0_ |= 0x00000001;
flags_ = value;
return this;
}
/**
* optional int32 flags = 1;
*
*
*
*Visibility
*Modality
*has_annotations
*CallableKind
*MemberKind
*hasGetter
*hasSetter
*hasConstant
*
*/
public Builder clearFlags() {
bitField0_ = (bitField0_ & ~0x00000001);
flags_ = 0;
return this;
}
// optional int32 getter_flags = 9;
private int getterFlags_ ;
/**
* optional int32 getter_flags = 9;
*
*
*
*isNotDefault
*Visibility
*Modality
*has_annotations
*
*/
public boolean hasGetterFlags() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 getter_flags = 9;
*
*
*
*isNotDefault
*Visibility
*Modality
*has_annotations
*
*/
public int getGetterFlags() {
return getterFlags_;
}
/**
* optional int32 getter_flags = 9;
*
*
*
*isNotDefault
*Visibility
*Modality
*has_annotations
*
*/
public Builder setGetterFlags(int value) {
bitField0_ |= 0x00000002;
getterFlags_ = value;
return this;
}
/**
* optional int32 getter_flags = 9;
*
*
*
*isNotDefault
*Visibility
*Modality
*has_annotations
*
*/
public Builder clearGetterFlags() {
bitField0_ = (bitField0_ & ~0x00000002);
getterFlags_ = 0;
return this;
}
// optional int32 setter_flags = 10;
private int setterFlags_ ;
/**
* optional int32 setter_flags = 10;
*/
public boolean hasSetterFlags() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 setter_flags = 10;
*/
public int getSetterFlags() {
return setterFlags_;
}
/**
* optional int32 setter_flags = 10;
*/
public Builder setSetterFlags(int value) {
bitField0_ |= 0x00000004;
setterFlags_ = value;
return this;
}
/**
* optional int32 setter_flags = 10;
*/
public Builder clearSetterFlags() {
bitField0_ = (bitField0_ & ~0x00000004);
setterFlags_ = 0;
return this;
}
// repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;
private java.util.List typeParameter_ =
java.util.Collections.emptyList();
private void ensureTypeParameterIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
typeParameter_ = new java.util.ArrayList(typeParameter_);
bitField0_ |= 0x00000008;
}
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;
*/
public java.util.List getTypeParameterList() {
return java.util.Collections.unmodifiableList(typeParameter_);
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;
*/
public int getTypeParameterCount() {
return typeParameter_.size();
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter getTypeParameter(int index) {
return typeParameter_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;
*/
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;
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;
*/
public Builder setTypeParameter(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Builder builderForValue) {
ensureTypeParameterIsMutable();
typeParameter_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;
*/
public Builder addTypeParameter(org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter value) {
if (value == null) {
throw new NullPointerException();
}
ensureTypeParameterIsMutable();
typeParameter_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;
*/
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;
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;
*/
public Builder addTypeParameter(
org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Builder builderForValue) {
ensureTypeParameterIsMutable();
typeParameter_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;
*/
public Builder addTypeParameter(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter.Builder builderForValue) {
ensureTypeParameterIsMutable();
typeParameter_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;
*/
public Builder addAllTypeParameter(
java.lang.Iterable extends org.jetbrains.kotlin.serialization.ProtoBuf.TypeParameter> values) {
ensureTypeParameterIsMutable();
super.addAll(values, typeParameter_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;
*/
public Builder clearTypeParameter() {
typeParameter_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.TypeParameter type_parameter = 4;
*/
public Builder removeTypeParameter(int index) {
ensureTypeParameterIsMutable();
typeParameter_.remove(index);
return this;
}
// optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;
private org.jetbrains.kotlin.serialization.ProtoBuf.Type receiverType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance();
/**
* optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;
*/
public boolean hasReceiverType() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Type getReceiverType() {
return receiverType_;
}
/**
* optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;
*/
public Builder setReceiverType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) {
if (value == null) {
throw new NullPointerException();
}
receiverType_ = value;
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;
*/
public Builder setReceiverType(
org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) {
receiverType_ = builderForValue.build();
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;
*/
public Builder mergeReceiverType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) {
if (((bitField0_ & 0x00000010) == 0x00000010) &&
receiverType_ != org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance()) {
receiverType_ =
org.jetbrains.kotlin.serialization.ProtoBuf.Type.newBuilder(receiverType_).mergeFrom(value).buildPartial();
} else {
receiverType_ = value;
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .org.jetbrains.kotlin.serialization.Type receiver_type = 5;
*/
public Builder clearReceiverType() {
receiverType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
// required int32 name = 6;
private int name_ ;
/**
* required int32 name = 6;
*
*
* Id in the StringTable
*
*/
public boolean hasName() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* required int32 name = 6;
*
*
* Id in the StringTable
*
*/
public int getName() {
return name_;
}
/**
* required int32 name = 6;
*
*
* Id in the StringTable
*
*/
public Builder setName(int value) {
bitField0_ |= 0x00000020;
name_ = value;
return this;
}
/**
* required int32 name = 6;
*
*
* Id in the StringTable
*
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000020);
name_ = 0;
return this;
}
// repeated .org.jetbrains.kotlin.serialization.Callable.ValueParameter value_parameter = 7;
private java.util.List valueParameter_ =
java.util.Collections.emptyList();
private void ensureValueParameterIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
valueParameter_ = new java.util.ArrayList(valueParameter_);
bitField0_ |= 0x00000040;
}
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable.ValueParameter value_parameter = 7;
*
*
* Value parameters for functions and constructors, or setter value parameter for properties
*
*/
public java.util.List getValueParameterList() {
return java.util.Collections.unmodifiableList(valueParameter_);
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable.ValueParameter value_parameter = 7;
*
*
* Value parameters for functions and constructors, or setter value parameter for properties
*
*/
public int getValueParameterCount() {
return valueParameter_.size();
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable.ValueParameter value_parameter = 7;
*
*
* Value parameters for functions and constructors, or setter value parameter for properties
*
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter getValueParameter(int index) {
return valueParameter_.get(index);
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable.ValueParameter value_parameter = 7;
*
*
* Value parameters for functions and constructors, or setter value parameter for properties
*
*/
public Builder setValueParameter(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter value) {
if (value == null) {
throw new NullPointerException();
}
ensureValueParameterIsMutable();
valueParameter_.set(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable.ValueParameter value_parameter = 7;
*
*
* Value parameters for functions and constructors, or setter value parameter for properties
*
*/
public Builder setValueParameter(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter.Builder builderForValue) {
ensureValueParameterIsMutable();
valueParameter_.set(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable.ValueParameter value_parameter = 7;
*
*
* Value parameters for functions and constructors, or setter value parameter for properties
*
*/
public Builder addValueParameter(org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter value) {
if (value == null) {
throw new NullPointerException();
}
ensureValueParameterIsMutable();
valueParameter_.add(value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable.ValueParameter value_parameter = 7;
*
*
* Value parameters for functions and constructors, or setter value parameter for properties
*
*/
public Builder addValueParameter(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter value) {
if (value == null) {
throw new NullPointerException();
}
ensureValueParameterIsMutable();
valueParameter_.add(index, value);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable.ValueParameter value_parameter = 7;
*
*
* Value parameters for functions and constructors, or setter value parameter for properties
*
*/
public Builder addValueParameter(
org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter.Builder builderForValue) {
ensureValueParameterIsMutable();
valueParameter_.add(builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable.ValueParameter value_parameter = 7;
*
*
* Value parameters for functions and constructors, or setter value parameter for properties
*
*/
public Builder addValueParameter(
int index, org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter.Builder builderForValue) {
ensureValueParameterIsMutable();
valueParameter_.add(index, builderForValue.build());
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable.ValueParameter value_parameter = 7;
*
*
* Value parameters for functions and constructors, or setter value parameter for properties
*
*/
public Builder addAllValueParameter(
java.lang.Iterable extends org.jetbrains.kotlin.serialization.ProtoBuf.Callable.ValueParameter> values) {
ensureValueParameterIsMutable();
super.addAll(values, valueParameter_);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable.ValueParameter value_parameter = 7;
*
*
* Value parameters for functions and constructors, or setter value parameter for properties
*
*/
public Builder clearValueParameter() {
valueParameter_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
/**
* repeated .org.jetbrains.kotlin.serialization.Callable.ValueParameter value_parameter = 7;
*
*
* Value parameters for functions and constructors, or setter value parameter for properties
*
*/
public Builder removeValueParameter(int index) {
ensureValueParameterIsMutable();
valueParameter_.remove(index);
return this;
}
// required .org.jetbrains.kotlin.serialization.Type return_type = 8;
private org.jetbrains.kotlin.serialization.ProtoBuf.Type returnType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance();
/**
* required .org.jetbrains.kotlin.serialization.Type return_type = 8;
*/
public boolean hasReturnType() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* required .org.jetbrains.kotlin.serialization.Type return_type = 8;
*/
public org.jetbrains.kotlin.serialization.ProtoBuf.Type getReturnType() {
return returnType_;
}
/**
* required .org.jetbrains.kotlin.serialization.Type return_type = 8;
*/
public Builder setReturnType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) {
if (value == null) {
throw new NullPointerException();
}
returnType_ = value;
bitField0_ |= 0x00000080;
return this;
}
/**
* required .org.jetbrains.kotlin.serialization.Type return_type = 8;
*/
public Builder setReturnType(
org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder builderForValue) {
returnType_ = builderForValue.build();
bitField0_ |= 0x00000080;
return this;
}
/**
* required .org.jetbrains.kotlin.serialization.Type return_type = 8;
*/
public Builder mergeReturnType(org.jetbrains.kotlin.serialization.ProtoBuf.Type value) {
if (((bitField0_ & 0x00000080) == 0x00000080) &&
returnType_ != org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance()) {
returnType_ =
org.jetbrains.kotlin.serialization.ProtoBuf.Type.newBuilder(returnType_).mergeFrom(value).buildPartial();
} else {
returnType_ = value;
}
bitField0_ |= 0x00000080;
return this;
}
/**
* required .org.jetbrains.kotlin.serialization.Type return_type = 8;
*/
public Builder clearReturnType() {
returnType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.Callable)
}
static {
defaultInstance = new Callable(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.Callable)
}
static {
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy