[IR PROTO] Delete unused proto.java files
This commit is contained in:
-351
@@ -1,351 +0,0 @@
|
|||||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
||||||
// source: compiler/ir/serialization.common/src/KotlinIr.proto
|
|
||||||
|
|
||||||
package org.jetbrains.kotlin.backend.common.serialization.proto;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Protobuf type {@code org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex}
|
|
||||||
*/
|
|
||||||
public final class IrBodyIndex extends
|
|
||||||
org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements
|
|
||||||
// @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex)
|
|
||||||
IrBodyIndexOrBuilder {
|
|
||||||
// Use IrBodyIndex.newBuilder() to construct.
|
|
||||||
private IrBodyIndex(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) {
|
|
||||||
super(builder);
|
|
||||||
this.unknownFields = builder.getUnknownFields();
|
|
||||||
}
|
|
||||||
private IrBodyIndex(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;}
|
|
||||||
|
|
||||||
private static final IrBodyIndex defaultInstance;
|
|
||||||
public static IrBodyIndex getDefaultInstance() {
|
|
||||||
return defaultInstance;
|
|
||||||
}
|
|
||||||
|
|
||||||
public IrBodyIndex getDefaultInstanceForType() {
|
|
||||||
return defaultInstance;
|
|
||||||
}
|
|
||||||
|
|
||||||
private final org.jetbrains.kotlin.protobuf.ByteString unknownFields;
|
|
||||||
private IrBodyIndex(
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedInputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
initFields();
|
|
||||||
int mutable_bitField0_ = 0;
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString.Output unknownFieldsOutput =
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString.newOutput();
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedOutputStream unknownFieldsCodedOutput =
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedOutputStream.newInstance(
|
|
||||||
unknownFieldsOutput);
|
|
||||||
try {
|
|
||||||
boolean done = false;
|
|
||||||
while (!done) {
|
|
||||||
int tag = input.readTag();
|
|
||||||
switch (tag) {
|
|
||||||
case 0:
|
|
||||||
done = true;
|
|
||||||
break;
|
|
||||||
default: {
|
|
||||||
if (!parseUnknownField(input, unknownFieldsCodedOutput,
|
|
||||||
extensionRegistry, tag)) {
|
|
||||||
done = true;
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 8: {
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
index_ = input.readInt32();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
|
|
||||||
throw e.setUnfinishedMessage(this);
|
|
||||||
} catch (java.io.IOException e) {
|
|
||||||
throw new org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException(
|
|
||||||
e.getMessage()).setUnfinishedMessage(this);
|
|
||||||
} finally {
|
|
||||||
try {
|
|
||||||
unknownFieldsCodedOutput.flush();
|
|
||||||
} catch (java.io.IOException e) {
|
|
||||||
// Should not happen
|
|
||||||
} finally {
|
|
||||||
unknownFields = unknownFieldsOutput.toByteString();
|
|
||||||
}
|
|
||||||
makeExtensionsImmutable();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.protobuf.Parser<IrBodyIndex> PARSER =
|
|
||||||
new org.jetbrains.kotlin.protobuf.AbstractParser<IrBodyIndex>() {
|
|
||||||
public IrBodyIndex parsePartialFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedInputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
return new IrBodyIndex(input, extensionRegistry);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
@java.lang.Override
|
|
||||||
public org.jetbrains.kotlin.protobuf.Parser<IrBodyIndex> getParserForType() {
|
|
||||||
return PARSER;
|
|
||||||
}
|
|
||||||
|
|
||||||
private int bitField0_;
|
|
||||||
public static final int INDEX_FIELD_NUMBER = 1;
|
|
||||||
private int index_;
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
public boolean hasIndex() {
|
|
||||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
public int getIndex() {
|
|
||||||
return index_;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void initFields() {
|
|
||||||
index_ = 0;
|
|
||||||
}
|
|
||||||
private byte memoizedIsInitialized = -1;
|
|
||||||
public final boolean isInitialized() {
|
|
||||||
byte isInitialized = memoizedIsInitialized;
|
|
||||||
if (isInitialized == 1) return true;
|
|
||||||
if (isInitialized == 0) return false;
|
|
||||||
|
|
||||||
if (!hasIndex()) {
|
|
||||||
memoizedIsInitialized = 0;
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
memoizedIsInitialized = 1;
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output)
|
|
||||||
throws java.io.IOException {
|
|
||||||
getSerializedSize();
|
|
||||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
||||||
output.writeInt32(1, index_);
|
|
||||||
}
|
|
||||||
output.writeRawBytes(unknownFields);
|
|
||||||
}
|
|
||||||
|
|
||||||
private int memoizedSerializedSize = -1;
|
|
||||||
public int getSerializedSize() {
|
|
||||||
int size = memoizedSerializedSize;
|
|
||||||
if (size != -1) return size;
|
|
||||||
|
|
||||||
size = 0;
|
|
||||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
||||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
|
||||||
.computeInt32Size(1, index_);
|
|
||||||
}
|
|
||||||
size += unknownFields.size();
|
|
||||||
memoizedSerializedSize = size;
|
|
||||||
return size;
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 0L;
|
|
||||||
@java.lang.Override
|
|
||||||
protected java.lang.Object writeReplace()
|
|
||||||
throws java.io.ObjectStreamException {
|
|
||||||
return super.writeReplace();
|
|
||||||
}
|
|
||||||
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex parseFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString data)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
return PARSER.parseFrom(data);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex parseFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString data,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
return PARSER.parseFrom(data, extensionRegistry);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex parseFrom(byte[] data)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
return PARSER.parseFrom(data);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex parseFrom(
|
|
||||||
byte[] data,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
return PARSER.parseFrom(data, extensionRegistry);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex parseFrom(java.io.InputStream input)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseFrom(input);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex parseFrom(
|
|
||||||
java.io.InputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseFrom(input, extensionRegistry);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex parseDelimitedFrom(java.io.InputStream input)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseDelimitedFrom(input);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex parseDelimitedFrom(
|
|
||||||
java.io.InputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseDelimitedFrom(input, extensionRegistry);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex parseFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedInputStream input)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseFrom(input);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex parseFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedInputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseFrom(input, extensionRegistry);
|
|
||||||
}
|
|
||||||
|
|
||||||
public static Builder newBuilder() { return Builder.create(); }
|
|
||||||
public Builder newBuilderForType() { return newBuilder(); }
|
|
||||||
public static Builder newBuilder(org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex prototype) {
|
|
||||||
return newBuilder().mergeFrom(prototype);
|
|
||||||
}
|
|
||||||
public Builder toBuilder() { return newBuilder(this); }
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Protobuf type {@code org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex}
|
|
||||||
*/
|
|
||||||
public static final class Builder extends
|
|
||||||
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder<
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex, Builder>
|
|
||||||
implements
|
|
||||||
// @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex)
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndexOrBuilder {
|
|
||||||
// Construct using org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex.newBuilder()
|
|
||||||
private Builder() {
|
|
||||||
maybeForceBuilderInitialization();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void maybeForceBuilderInitialization() {
|
|
||||||
}
|
|
||||||
private static Builder create() {
|
|
||||||
return new Builder();
|
|
||||||
}
|
|
||||||
|
|
||||||
public Builder clear() {
|
|
||||||
super.clear();
|
|
||||||
index_ = 0;
|
|
||||||
bitField0_ = (bitField0_ & ~0x00000001);
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Builder clone() {
|
|
||||||
return create().mergeFrom(buildPartial());
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex getDefaultInstanceForType() {
|
|
||||||
return org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex.getDefaultInstance();
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex build() {
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex result = buildPartial();
|
|
||||||
if (!result.isInitialized()) {
|
|
||||||
throw newUninitializedMessageException(result);
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex buildPartial() {
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex result = new org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex(this);
|
|
||||||
int from_bitField0_ = bitField0_;
|
|
||||||
int to_bitField0_ = 0;
|
|
||||||
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
||||||
to_bitField0_ |= 0x00000001;
|
|
||||||
}
|
|
||||||
result.index_ = index_;
|
|
||||||
result.bitField0_ = to_bitField0_;
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Builder mergeFrom(org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex other) {
|
|
||||||
if (other == org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex.getDefaultInstance()) return this;
|
|
||||||
if (other.hasIndex()) {
|
|
||||||
setIndex(other.getIndex());
|
|
||||||
}
|
|
||||||
setUnknownFields(
|
|
||||||
getUnknownFields().concat(other.unknownFields));
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public final boolean isInitialized() {
|
|
||||||
if (!hasIndex()) {
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Builder mergeFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedInputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws java.io.IOException {
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex parsedMessage = null;
|
|
||||||
try {
|
|
||||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
||||||
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
|
|
||||||
parsedMessage = (org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex) e.getUnfinishedMessage();
|
|
||||||
throw e;
|
|
||||||
} finally {
|
|
||||||
if (parsedMessage != null) {
|
|
||||||
mergeFrom(parsedMessage);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
private int bitField0_;
|
|
||||||
|
|
||||||
private int index_ ;
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
public boolean hasIndex() {
|
|
||||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
public int getIndex() {
|
|
||||||
return index_;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
public Builder setIndex(int value) {
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
index_ = value;
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
public Builder clearIndex() {
|
|
||||||
bitField0_ = (bitField0_ & ~0x00000001);
|
|
||||||
index_ = 0;
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex)
|
|
||||||
}
|
|
||||||
|
|
||||||
static {
|
|
||||||
defaultInstance = new IrBodyIndex(true);
|
|
||||||
defaultInstance.initFields();
|
|
||||||
}
|
|
||||||
|
|
||||||
// @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex)
|
|
||||||
}
|
|
||||||
-18
@@ -1,18 +0,0 @@
|
|||||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
||||||
// source: compiler/ir/serialization.common/src/KotlinIr.proto
|
|
||||||
|
|
||||||
package org.jetbrains.kotlin.backend.common.serialization.proto;
|
|
||||||
|
|
||||||
public interface IrBodyIndexOrBuilder extends
|
|
||||||
// @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.backend.common.serialization.proto.IrBodyIndex)
|
|
||||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
boolean hasIndex();
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
int getIndex();
|
|
||||||
}
|
|
||||||
-633
@@ -1,633 +0,0 @@
|
|||||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
||||||
// source: compiler/ir/serialization.common/src/KotlinIr.proto
|
|
||||||
|
|
||||||
package org.jetbrains.kotlin.backend.common.serialization.proto;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Protobuf type {@code org.jetbrains.kotlin.backend.common.serialization.proto.IrModule}
|
|
||||||
*/
|
|
||||||
public final class IrModule extends
|
|
||||||
org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements
|
|
||||||
// @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.backend.common.serialization.proto.IrModule)
|
|
||||||
IrModuleOrBuilder {
|
|
||||||
// Use IrModule.newBuilder() to construct.
|
|
||||||
private IrModule(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) {
|
|
||||||
super(builder);
|
|
||||||
this.unknownFields = builder.getUnknownFields();
|
|
||||||
}
|
|
||||||
private IrModule(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;}
|
|
||||||
|
|
||||||
private static final IrModule defaultInstance;
|
|
||||||
public static IrModule getDefaultInstance() {
|
|
||||||
return defaultInstance;
|
|
||||||
}
|
|
||||||
|
|
||||||
public IrModule getDefaultInstanceForType() {
|
|
||||||
return defaultInstance;
|
|
||||||
}
|
|
||||||
|
|
||||||
private final org.jetbrains.kotlin.protobuf.ByteString unknownFields;
|
|
||||||
private IrModule(
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedInputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
initFields();
|
|
||||||
int mutable_bitField0_ = 0;
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString.Output unknownFieldsOutput =
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString.newOutput();
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedOutputStream unknownFieldsCodedOutput =
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedOutputStream.newInstance(
|
|
||||||
unknownFieldsOutput);
|
|
||||||
try {
|
|
||||||
boolean done = false;
|
|
||||||
while (!done) {
|
|
||||||
int tag = input.readTag();
|
|
||||||
switch (tag) {
|
|
||||||
case 0:
|
|
||||||
done = true;
|
|
||||||
break;
|
|
||||||
default: {
|
|
||||||
if (!parseUnknownField(input, unknownFieldsCodedOutput,
|
|
||||||
extensionRegistry, tag)) {
|
|
||||||
done = true;
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 10: {
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString bs = input.readBytes();
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
name_ = bs;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 18: {
|
|
||||||
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
||||||
file_ = new java.util.ArrayList<org.jetbrains.kotlin.backend.common.serialization.proto.IrFile>();
|
|
||||||
mutable_bitField0_ |= 0x00000002;
|
|
||||||
}
|
|
||||||
file_.add(input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrFile.PARSER, extensionRegistry));
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
|
|
||||||
throw e.setUnfinishedMessage(this);
|
|
||||||
} catch (java.io.IOException e) {
|
|
||||||
throw new org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException(
|
|
||||||
e.getMessage()).setUnfinishedMessage(this);
|
|
||||||
} finally {
|
|
||||||
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
||||||
file_ = java.util.Collections.unmodifiableList(file_);
|
|
||||||
}
|
|
||||||
try {
|
|
||||||
unknownFieldsCodedOutput.flush();
|
|
||||||
} catch (java.io.IOException e) {
|
|
||||||
// Should not happen
|
|
||||||
} finally {
|
|
||||||
unknownFields = unknownFieldsOutput.toByteString();
|
|
||||||
}
|
|
||||||
makeExtensionsImmutable();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.protobuf.Parser<IrModule> PARSER =
|
|
||||||
new org.jetbrains.kotlin.protobuf.AbstractParser<IrModule>() {
|
|
||||||
public IrModule parsePartialFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedInputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
return new IrModule(input, extensionRegistry);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
@java.lang.Override
|
|
||||||
public org.jetbrains.kotlin.protobuf.Parser<IrModule> getParserForType() {
|
|
||||||
return PARSER;
|
|
||||||
}
|
|
||||||
|
|
||||||
private int bitField0_;
|
|
||||||
public static final int NAME_FIELD_NUMBER = 1;
|
|
||||||
private java.lang.Object name_;
|
|
||||||
/**
|
|
||||||
* <code>required string name = 1;</code>
|
|
||||||
*/
|
|
||||||
public boolean hasName() {
|
|
||||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>required string name = 1;</code>
|
|
||||||
*/
|
|
||||||
public java.lang.String getName() {
|
|
||||||
java.lang.Object ref = name_;
|
|
||||||
if (ref instanceof java.lang.String) {
|
|
||||||
return (java.lang.String) ref;
|
|
||||||
} else {
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString bs =
|
|
||||||
(org.jetbrains.kotlin.protobuf.ByteString) ref;
|
|
||||||
java.lang.String s = bs.toStringUtf8();
|
|
||||||
if (bs.isValidUtf8()) {
|
|
||||||
name_ = s;
|
|
||||||
}
|
|
||||||
return s;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>required string name = 1;</code>
|
|
||||||
*/
|
|
||||||
public org.jetbrains.kotlin.protobuf.ByteString
|
|
||||||
getNameBytes() {
|
|
||||||
java.lang.Object ref = name_;
|
|
||||||
if (ref instanceof java.lang.String) {
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString b =
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString.copyFromUtf8(
|
|
||||||
(java.lang.String) ref);
|
|
||||||
name_ = b;
|
|
||||||
return b;
|
|
||||||
} else {
|
|
||||||
return (org.jetbrains.kotlin.protobuf.ByteString) ref;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static final int FILE_FIELD_NUMBER = 2;
|
|
||||||
private java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrFile> file_;
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrFile file = 2;</code>
|
|
||||||
*/
|
|
||||||
public java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrFile> getFileList() {
|
|
||||||
return file_;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrFile file = 2;</code>
|
|
||||||
*/
|
|
||||||
public java.util.List<? extends org.jetbrains.kotlin.backend.common.serialization.proto.IrFileOrBuilder>
|
|
||||||
getFileOrBuilderList() {
|
|
||||||
return file_;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrFile file = 2;</code>
|
|
||||||
*/
|
|
||||||
public int getFileCount() {
|
|
||||||
return file_.size();
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrFile file = 2;</code>
|
|
||||||
*/
|
|
||||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrFile getFile(int index) {
|
|
||||||
return file_.get(index);
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrFile file = 2;</code>
|
|
||||||
*/
|
|
||||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrFileOrBuilder getFileOrBuilder(
|
|
||||||
int index) {
|
|
||||||
return file_.get(index);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void initFields() {
|
|
||||||
name_ = "";
|
|
||||||
file_ = java.util.Collections.emptyList();
|
|
||||||
}
|
|
||||||
private byte memoizedIsInitialized = -1;
|
|
||||||
public final boolean isInitialized() {
|
|
||||||
byte isInitialized = memoizedIsInitialized;
|
|
||||||
if (isInitialized == 1) return true;
|
|
||||||
if (isInitialized == 0) return false;
|
|
||||||
|
|
||||||
if (!hasName()) {
|
|
||||||
memoizedIsInitialized = 0;
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
for (int i = 0; i < getFileCount(); i++) {
|
|
||||||
if (!getFile(i).isInitialized()) {
|
|
||||||
memoizedIsInitialized = 0;
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
memoizedIsInitialized = 1;
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output)
|
|
||||||
throws java.io.IOException {
|
|
||||||
getSerializedSize();
|
|
||||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
||||||
output.writeBytes(1, getNameBytes());
|
|
||||||
}
|
|
||||||
for (int i = 0; i < file_.size(); i++) {
|
|
||||||
output.writeMessage(2, file_.get(i));
|
|
||||||
}
|
|
||||||
output.writeRawBytes(unknownFields);
|
|
||||||
}
|
|
||||||
|
|
||||||
private int memoizedSerializedSize = -1;
|
|
||||||
public int getSerializedSize() {
|
|
||||||
int size = memoizedSerializedSize;
|
|
||||||
if (size != -1) return size;
|
|
||||||
|
|
||||||
size = 0;
|
|
||||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
||||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
|
||||||
.computeBytesSize(1, getNameBytes());
|
|
||||||
}
|
|
||||||
for (int i = 0; i < file_.size(); i++) {
|
|
||||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
|
||||||
.computeMessageSize(2, file_.get(i));
|
|
||||||
}
|
|
||||||
size += unknownFields.size();
|
|
||||||
memoizedSerializedSize = size;
|
|
||||||
return size;
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 0L;
|
|
||||||
@java.lang.Override
|
|
||||||
protected java.lang.Object writeReplace()
|
|
||||||
throws java.io.ObjectStreamException {
|
|
||||||
return super.writeReplace();
|
|
||||||
}
|
|
||||||
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrModule parseFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString data)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
return PARSER.parseFrom(data);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrModule parseFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString data,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
return PARSER.parseFrom(data, extensionRegistry);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrModule parseFrom(byte[] data)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
return PARSER.parseFrom(data);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrModule parseFrom(
|
|
||||||
byte[] data,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
return PARSER.parseFrom(data, extensionRegistry);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrModule parseFrom(java.io.InputStream input)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseFrom(input);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrModule parseFrom(
|
|
||||||
java.io.InputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseFrom(input, extensionRegistry);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrModule parseDelimitedFrom(java.io.InputStream input)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseDelimitedFrom(input);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrModule parseDelimitedFrom(
|
|
||||||
java.io.InputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseDelimitedFrom(input, extensionRegistry);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrModule parseFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedInputStream input)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseFrom(input);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrModule parseFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedInputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseFrom(input, extensionRegistry);
|
|
||||||
}
|
|
||||||
|
|
||||||
public static Builder newBuilder() { return Builder.create(); }
|
|
||||||
public Builder newBuilderForType() { return newBuilder(); }
|
|
||||||
public static Builder newBuilder(org.jetbrains.kotlin.backend.common.serialization.proto.IrModule prototype) {
|
|
||||||
return newBuilder().mergeFrom(prototype);
|
|
||||||
}
|
|
||||||
public Builder toBuilder() { return newBuilder(this); }
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Protobuf type {@code org.jetbrains.kotlin.backend.common.serialization.proto.IrModule}
|
|
||||||
*/
|
|
||||||
public static final class Builder extends
|
|
||||||
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder<
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrModule, Builder>
|
|
||||||
implements
|
|
||||||
// @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.backend.common.serialization.proto.IrModule)
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrModuleOrBuilder {
|
|
||||||
// Construct using org.jetbrains.kotlin.backend.common.serialization.proto.IrModule.newBuilder()
|
|
||||||
private Builder() {
|
|
||||||
maybeForceBuilderInitialization();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void maybeForceBuilderInitialization() {
|
|
||||||
}
|
|
||||||
private static Builder create() {
|
|
||||||
return new Builder();
|
|
||||||
}
|
|
||||||
|
|
||||||
public Builder clear() {
|
|
||||||
super.clear();
|
|
||||||
name_ = "";
|
|
||||||
bitField0_ = (bitField0_ & ~0x00000001);
|
|
||||||
file_ = java.util.Collections.emptyList();
|
|
||||||
bitField0_ = (bitField0_ & ~0x00000002);
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Builder clone() {
|
|
||||||
return create().mergeFrom(buildPartial());
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrModule getDefaultInstanceForType() {
|
|
||||||
return org.jetbrains.kotlin.backend.common.serialization.proto.IrModule.getDefaultInstance();
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrModule build() {
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrModule result = buildPartial();
|
|
||||||
if (!result.isInitialized()) {
|
|
||||||
throw newUninitializedMessageException(result);
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrModule buildPartial() {
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrModule result = new org.jetbrains.kotlin.backend.common.serialization.proto.IrModule(this);
|
|
||||||
int from_bitField0_ = bitField0_;
|
|
||||||
int to_bitField0_ = 0;
|
|
||||||
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
||||||
to_bitField0_ |= 0x00000001;
|
|
||||||
}
|
|
||||||
result.name_ = name_;
|
|
||||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
||||||
file_ = java.util.Collections.unmodifiableList(file_);
|
|
||||||
bitField0_ = (bitField0_ & ~0x00000002);
|
|
||||||
}
|
|
||||||
result.file_ = file_;
|
|
||||||
result.bitField0_ = to_bitField0_;
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Builder mergeFrom(org.jetbrains.kotlin.backend.common.serialization.proto.IrModule other) {
|
|
||||||
if (other == org.jetbrains.kotlin.backend.common.serialization.proto.IrModule.getDefaultInstance()) return this;
|
|
||||||
if (other.hasName()) {
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
name_ = other.name_;
|
|
||||||
|
|
||||||
}
|
|
||||||
if (!other.file_.isEmpty()) {
|
|
||||||
if (file_.isEmpty()) {
|
|
||||||
file_ = other.file_;
|
|
||||||
bitField0_ = (bitField0_ & ~0x00000002);
|
|
||||||
} else {
|
|
||||||
ensureFileIsMutable();
|
|
||||||
file_.addAll(other.file_);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
setUnknownFields(
|
|
||||||
getUnknownFields().concat(other.unknownFields));
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public final boolean isInitialized() {
|
|
||||||
if (!hasName()) {
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
for (int i = 0; i < getFileCount(); i++) {
|
|
||||||
if (!getFile(i).isInitialized()) {
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Builder mergeFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedInputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws java.io.IOException {
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrModule parsedMessage = null;
|
|
||||||
try {
|
|
||||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
||||||
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
|
|
||||||
parsedMessage = (org.jetbrains.kotlin.backend.common.serialization.proto.IrModule) e.getUnfinishedMessage();
|
|
||||||
throw e;
|
|
||||||
} finally {
|
|
||||||
if (parsedMessage != null) {
|
|
||||||
mergeFrom(parsedMessage);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
private int bitField0_;
|
|
||||||
|
|
||||||
private java.lang.Object name_ = "";
|
|
||||||
/**
|
|
||||||
* <code>required string name = 1;</code>
|
|
||||||
*/
|
|
||||||
public boolean hasName() {
|
|
||||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>required string name = 1;</code>
|
|
||||||
*/
|
|
||||||
public java.lang.String getName() {
|
|
||||||
java.lang.Object ref = name_;
|
|
||||||
if (!(ref instanceof java.lang.String)) {
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString bs =
|
|
||||||
(org.jetbrains.kotlin.protobuf.ByteString) ref;
|
|
||||||
java.lang.String s = bs.toStringUtf8();
|
|
||||||
if (bs.isValidUtf8()) {
|
|
||||||
name_ = s;
|
|
||||||
}
|
|
||||||
return s;
|
|
||||||
} else {
|
|
||||||
return (java.lang.String) ref;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>required string name = 1;</code>
|
|
||||||
*/
|
|
||||||
public org.jetbrains.kotlin.protobuf.ByteString
|
|
||||||
getNameBytes() {
|
|
||||||
java.lang.Object ref = name_;
|
|
||||||
if (ref instanceof String) {
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString b =
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString.copyFromUtf8(
|
|
||||||
(java.lang.String) ref);
|
|
||||||
name_ = b;
|
|
||||||
return b;
|
|
||||||
} else {
|
|
||||||
return (org.jetbrains.kotlin.protobuf.ByteString) ref;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>required string name = 1;</code>
|
|
||||||
*/
|
|
||||||
public Builder setName(
|
|
||||||
java.lang.String value) {
|
|
||||||
if (value == null) {
|
|
||||||
throw new NullPointerException();
|
|
||||||
}
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
name_ = value;
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>required string name = 1;</code>
|
|
||||||
*/
|
|
||||||
public Builder clearName() {
|
|
||||||
bitField0_ = (bitField0_ & ~0x00000001);
|
|
||||||
name_ = getDefaultInstance().getName();
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>required string name = 1;</code>
|
|
||||||
*/
|
|
||||||
public Builder setNameBytes(
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString value) {
|
|
||||||
if (value == null) {
|
|
||||||
throw new NullPointerException();
|
|
||||||
}
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
name_ = value;
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
private java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrFile> file_ =
|
|
||||||
java.util.Collections.emptyList();
|
|
||||||
private void ensureFileIsMutable() {
|
|
||||||
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
||||||
file_ = new java.util.ArrayList<org.jetbrains.kotlin.backend.common.serialization.proto.IrFile>(file_);
|
|
||||||
bitField0_ |= 0x00000002;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrFile file = 2;</code>
|
|
||||||
*/
|
|
||||||
public java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrFile> getFileList() {
|
|
||||||
return java.util.Collections.unmodifiableList(file_);
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrFile file = 2;</code>
|
|
||||||
*/
|
|
||||||
public int getFileCount() {
|
|
||||||
return file_.size();
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrFile file = 2;</code>
|
|
||||||
*/
|
|
||||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrFile getFile(int index) {
|
|
||||||
return file_.get(index);
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrFile file = 2;</code>
|
|
||||||
*/
|
|
||||||
public Builder setFile(
|
|
||||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrFile value) {
|
|
||||||
if (value == null) {
|
|
||||||
throw new NullPointerException();
|
|
||||||
}
|
|
||||||
ensureFileIsMutable();
|
|
||||||
file_.set(index, value);
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrFile file = 2;</code>
|
|
||||||
*/
|
|
||||||
public Builder setFile(
|
|
||||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrFile.Builder builderForValue) {
|
|
||||||
ensureFileIsMutable();
|
|
||||||
file_.set(index, builderForValue.build());
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrFile file = 2;</code>
|
|
||||||
*/
|
|
||||||
public Builder addFile(org.jetbrains.kotlin.backend.common.serialization.proto.IrFile value) {
|
|
||||||
if (value == null) {
|
|
||||||
throw new NullPointerException();
|
|
||||||
}
|
|
||||||
ensureFileIsMutable();
|
|
||||||
file_.add(value);
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrFile file = 2;</code>
|
|
||||||
*/
|
|
||||||
public Builder addFile(
|
|
||||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrFile value) {
|
|
||||||
if (value == null) {
|
|
||||||
throw new NullPointerException();
|
|
||||||
}
|
|
||||||
ensureFileIsMutable();
|
|
||||||
file_.add(index, value);
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrFile file = 2;</code>
|
|
||||||
*/
|
|
||||||
public Builder addFile(
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrFile.Builder builderForValue) {
|
|
||||||
ensureFileIsMutable();
|
|
||||||
file_.add(builderForValue.build());
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrFile file = 2;</code>
|
|
||||||
*/
|
|
||||||
public Builder addFile(
|
|
||||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrFile.Builder builderForValue) {
|
|
||||||
ensureFileIsMutable();
|
|
||||||
file_.add(index, builderForValue.build());
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrFile file = 2;</code>
|
|
||||||
*/
|
|
||||||
public Builder addAllFile(
|
|
||||||
java.lang.Iterable<? extends org.jetbrains.kotlin.backend.common.serialization.proto.IrFile> values) {
|
|
||||||
ensureFileIsMutable();
|
|
||||||
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
|
|
||||||
values, file_);
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrFile file = 2;</code>
|
|
||||||
*/
|
|
||||||
public Builder clearFile() {
|
|
||||||
file_ = java.util.Collections.emptyList();
|
|
||||||
bitField0_ = (bitField0_ & ~0x00000002);
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrFile file = 2;</code>
|
|
||||||
*/
|
|
||||||
public Builder removeFile(int index) {
|
|
||||||
ensureFileIsMutable();
|
|
||||||
file_.remove(index);
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.backend.common.serialization.proto.IrModule)
|
|
||||||
}
|
|
||||||
|
|
||||||
static {
|
|
||||||
defaultInstance = new IrModule(true);
|
|
||||||
defaultInstance.initFields();
|
|
||||||
}
|
|
||||||
|
|
||||||
// @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.backend.common.serialization.proto.IrModule)
|
|
||||||
}
|
|
||||||
-37
@@ -1,37 +0,0 @@
|
|||||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
||||||
// source: compiler/ir/serialization.common/src/KotlinIr.proto
|
|
||||||
|
|
||||||
package org.jetbrains.kotlin.backend.common.serialization.proto;
|
|
||||||
|
|
||||||
public interface IrModuleOrBuilder extends
|
|
||||||
// @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.backend.common.serialization.proto.IrModule)
|
|
||||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>required string name = 1;</code>
|
|
||||||
*/
|
|
||||||
boolean hasName();
|
|
||||||
/**
|
|
||||||
* <code>required string name = 1;</code>
|
|
||||||
*/
|
|
||||||
java.lang.String getName();
|
|
||||||
/**
|
|
||||||
* <code>required string name = 1;</code>
|
|
||||||
*/
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString
|
|
||||||
getNameBytes();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrFile file = 2;</code>
|
|
||||||
*/
|
|
||||||
java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrFile>
|
|
||||||
getFileList();
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrFile file = 2;</code>
|
|
||||||
*/
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrFile getFile(int index);
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrFile file = 2;</code>
|
|
||||||
*/
|
|
||||||
int getFileCount();
|
|
||||||
}
|
|
||||||
-351
@@ -1,351 +0,0 @@
|
|||||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
||||||
// source: compiler/ir/serialization.common/src/KotlinIr.proto
|
|
||||||
|
|
||||||
package org.jetbrains.kotlin.backend.common.serialization.proto;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Protobuf type {@code org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol}
|
|
||||||
*/
|
|
||||||
public final class IrSymbol extends
|
|
||||||
org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements
|
|
||||||
// @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol)
|
|
||||||
IrSymbolOrBuilder {
|
|
||||||
// Use IrSymbol.newBuilder() to construct.
|
|
||||||
private IrSymbol(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) {
|
|
||||||
super(builder);
|
|
||||||
this.unknownFields = builder.getUnknownFields();
|
|
||||||
}
|
|
||||||
private IrSymbol(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;}
|
|
||||||
|
|
||||||
private static final IrSymbol defaultInstance;
|
|
||||||
public static IrSymbol getDefaultInstance() {
|
|
||||||
return defaultInstance;
|
|
||||||
}
|
|
||||||
|
|
||||||
public IrSymbol getDefaultInstanceForType() {
|
|
||||||
return defaultInstance;
|
|
||||||
}
|
|
||||||
|
|
||||||
private final org.jetbrains.kotlin.protobuf.ByteString unknownFields;
|
|
||||||
private IrSymbol(
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedInputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
initFields();
|
|
||||||
int mutable_bitField0_ = 0;
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString.Output unknownFieldsOutput =
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString.newOutput();
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedOutputStream unknownFieldsCodedOutput =
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedOutputStream.newInstance(
|
|
||||||
unknownFieldsOutput);
|
|
||||||
try {
|
|
||||||
boolean done = false;
|
|
||||||
while (!done) {
|
|
||||||
int tag = input.readTag();
|
|
||||||
switch (tag) {
|
|
||||||
case 0:
|
|
||||||
done = true;
|
|
||||||
break;
|
|
||||||
default: {
|
|
||||||
if (!parseUnknownField(input, unknownFieldsCodedOutput,
|
|
||||||
extensionRegistry, tag)) {
|
|
||||||
done = true;
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 8: {
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
index_ = input.readInt32();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
|
|
||||||
throw e.setUnfinishedMessage(this);
|
|
||||||
} catch (java.io.IOException e) {
|
|
||||||
throw new org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException(
|
|
||||||
e.getMessage()).setUnfinishedMessage(this);
|
|
||||||
} finally {
|
|
||||||
try {
|
|
||||||
unknownFieldsCodedOutput.flush();
|
|
||||||
} catch (java.io.IOException e) {
|
|
||||||
// Should not happen
|
|
||||||
} finally {
|
|
||||||
unknownFields = unknownFieldsOutput.toByteString();
|
|
||||||
}
|
|
||||||
makeExtensionsImmutable();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.protobuf.Parser<IrSymbol> PARSER =
|
|
||||||
new org.jetbrains.kotlin.protobuf.AbstractParser<IrSymbol>() {
|
|
||||||
public IrSymbol parsePartialFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedInputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
return new IrSymbol(input, extensionRegistry);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
@java.lang.Override
|
|
||||||
public org.jetbrains.kotlin.protobuf.Parser<IrSymbol> getParserForType() {
|
|
||||||
return PARSER;
|
|
||||||
}
|
|
||||||
|
|
||||||
private int bitField0_;
|
|
||||||
public static final int INDEX_FIELD_NUMBER = 1;
|
|
||||||
private int index_;
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
public boolean hasIndex() {
|
|
||||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
public int getIndex() {
|
|
||||||
return index_;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void initFields() {
|
|
||||||
index_ = 0;
|
|
||||||
}
|
|
||||||
private byte memoizedIsInitialized = -1;
|
|
||||||
public final boolean isInitialized() {
|
|
||||||
byte isInitialized = memoizedIsInitialized;
|
|
||||||
if (isInitialized == 1) return true;
|
|
||||||
if (isInitialized == 0) return false;
|
|
||||||
|
|
||||||
if (!hasIndex()) {
|
|
||||||
memoizedIsInitialized = 0;
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
memoizedIsInitialized = 1;
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output)
|
|
||||||
throws java.io.IOException {
|
|
||||||
getSerializedSize();
|
|
||||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
||||||
output.writeInt32(1, index_);
|
|
||||||
}
|
|
||||||
output.writeRawBytes(unknownFields);
|
|
||||||
}
|
|
||||||
|
|
||||||
private int memoizedSerializedSize = -1;
|
|
||||||
public int getSerializedSize() {
|
|
||||||
int size = memoizedSerializedSize;
|
|
||||||
if (size != -1) return size;
|
|
||||||
|
|
||||||
size = 0;
|
|
||||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
||||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
|
||||||
.computeInt32Size(1, index_);
|
|
||||||
}
|
|
||||||
size += unknownFields.size();
|
|
||||||
memoizedSerializedSize = size;
|
|
||||||
return size;
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 0L;
|
|
||||||
@java.lang.Override
|
|
||||||
protected java.lang.Object writeReplace()
|
|
||||||
throws java.io.ObjectStreamException {
|
|
||||||
return super.writeReplace();
|
|
||||||
}
|
|
||||||
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol parseFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString data)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
return PARSER.parseFrom(data);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol parseFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString data,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
return PARSER.parseFrom(data, extensionRegistry);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol parseFrom(byte[] data)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
return PARSER.parseFrom(data);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol parseFrom(
|
|
||||||
byte[] data,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
return PARSER.parseFrom(data, extensionRegistry);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol parseFrom(java.io.InputStream input)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseFrom(input);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol parseFrom(
|
|
||||||
java.io.InputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseFrom(input, extensionRegistry);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol parseDelimitedFrom(java.io.InputStream input)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseDelimitedFrom(input);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol parseDelimitedFrom(
|
|
||||||
java.io.InputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseDelimitedFrom(input, extensionRegistry);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol parseFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedInputStream input)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseFrom(input);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol parseFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedInputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseFrom(input, extensionRegistry);
|
|
||||||
}
|
|
||||||
|
|
||||||
public static Builder newBuilder() { return Builder.create(); }
|
|
||||||
public Builder newBuilderForType() { return newBuilder(); }
|
|
||||||
public static Builder newBuilder(org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol prototype) {
|
|
||||||
return newBuilder().mergeFrom(prototype);
|
|
||||||
}
|
|
||||||
public Builder toBuilder() { return newBuilder(this); }
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Protobuf type {@code org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol}
|
|
||||||
*/
|
|
||||||
public static final class Builder extends
|
|
||||||
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder<
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol, Builder>
|
|
||||||
implements
|
|
||||||
// @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol)
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbolOrBuilder {
|
|
||||||
// Construct using org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol.newBuilder()
|
|
||||||
private Builder() {
|
|
||||||
maybeForceBuilderInitialization();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void maybeForceBuilderInitialization() {
|
|
||||||
}
|
|
||||||
private static Builder create() {
|
|
||||||
return new Builder();
|
|
||||||
}
|
|
||||||
|
|
||||||
public Builder clear() {
|
|
||||||
super.clear();
|
|
||||||
index_ = 0;
|
|
||||||
bitField0_ = (bitField0_ & ~0x00000001);
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Builder clone() {
|
|
||||||
return create().mergeFrom(buildPartial());
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol getDefaultInstanceForType() {
|
|
||||||
return org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol.getDefaultInstance();
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol build() {
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol result = buildPartial();
|
|
||||||
if (!result.isInitialized()) {
|
|
||||||
throw newUninitializedMessageException(result);
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol buildPartial() {
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol result = new org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol(this);
|
|
||||||
int from_bitField0_ = bitField0_;
|
|
||||||
int to_bitField0_ = 0;
|
|
||||||
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
||||||
to_bitField0_ |= 0x00000001;
|
|
||||||
}
|
|
||||||
result.index_ = index_;
|
|
||||||
result.bitField0_ = to_bitField0_;
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Builder mergeFrom(org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol other) {
|
|
||||||
if (other == org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol.getDefaultInstance()) return this;
|
|
||||||
if (other.hasIndex()) {
|
|
||||||
setIndex(other.getIndex());
|
|
||||||
}
|
|
||||||
setUnknownFields(
|
|
||||||
getUnknownFields().concat(other.unknownFields));
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public final boolean isInitialized() {
|
|
||||||
if (!hasIndex()) {
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Builder mergeFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedInputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws java.io.IOException {
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol parsedMessage = null;
|
|
||||||
try {
|
|
||||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
||||||
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
|
|
||||||
parsedMessage = (org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol) e.getUnfinishedMessage();
|
|
||||||
throw e;
|
|
||||||
} finally {
|
|
||||||
if (parsedMessage != null) {
|
|
||||||
mergeFrom(parsedMessage);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
private int bitField0_;
|
|
||||||
|
|
||||||
private int index_ ;
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
public boolean hasIndex() {
|
|
||||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
public int getIndex() {
|
|
||||||
return index_;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
public Builder setIndex(int value) {
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
index_ = value;
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
public Builder clearIndex() {
|
|
||||||
bitField0_ = (bitField0_ & ~0x00000001);
|
|
||||||
index_ = 0;
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol)
|
|
||||||
}
|
|
||||||
|
|
||||||
static {
|
|
||||||
defaultInstance = new IrSymbol(true);
|
|
||||||
defaultInstance.initFields();
|
|
||||||
}
|
|
||||||
|
|
||||||
// @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol)
|
|
||||||
}
|
|
||||||
-18
@@ -1,18 +0,0 @@
|
|||||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
||||||
// source: compiler/ir/serialization.common/src/KotlinIr.proto
|
|
||||||
|
|
||||||
package org.jetbrains.kotlin.backend.common.serialization.proto;
|
|
||||||
|
|
||||||
public interface IrSymbolOrBuilder extends
|
|
||||||
// @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbol)
|
|
||||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
boolean hasIndex();
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
int getIndex();
|
|
||||||
}
|
|
||||||
-351
@@ -1,351 +0,0 @@
|
|||||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
||||||
// source: compiler/ir/serialization.common/src/KotlinIr.proto
|
|
||||||
|
|
||||||
package org.jetbrains.kotlin.backend.common.serialization.proto;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Protobuf type {@code org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex}
|
|
||||||
*/
|
|
||||||
public final class IrTypeIndex extends
|
|
||||||
org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements
|
|
||||||
// @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex)
|
|
||||||
IrTypeIndexOrBuilder {
|
|
||||||
// Use IrTypeIndex.newBuilder() to construct.
|
|
||||||
private IrTypeIndex(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) {
|
|
||||||
super(builder);
|
|
||||||
this.unknownFields = builder.getUnknownFields();
|
|
||||||
}
|
|
||||||
private IrTypeIndex(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;}
|
|
||||||
|
|
||||||
private static final IrTypeIndex defaultInstance;
|
|
||||||
public static IrTypeIndex getDefaultInstance() {
|
|
||||||
return defaultInstance;
|
|
||||||
}
|
|
||||||
|
|
||||||
public IrTypeIndex getDefaultInstanceForType() {
|
|
||||||
return defaultInstance;
|
|
||||||
}
|
|
||||||
|
|
||||||
private final org.jetbrains.kotlin.protobuf.ByteString unknownFields;
|
|
||||||
private IrTypeIndex(
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedInputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
initFields();
|
|
||||||
int mutable_bitField0_ = 0;
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString.Output unknownFieldsOutput =
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString.newOutput();
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedOutputStream unknownFieldsCodedOutput =
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedOutputStream.newInstance(
|
|
||||||
unknownFieldsOutput);
|
|
||||||
try {
|
|
||||||
boolean done = false;
|
|
||||||
while (!done) {
|
|
||||||
int tag = input.readTag();
|
|
||||||
switch (tag) {
|
|
||||||
case 0:
|
|
||||||
done = true;
|
|
||||||
break;
|
|
||||||
default: {
|
|
||||||
if (!parseUnknownField(input, unknownFieldsCodedOutput,
|
|
||||||
extensionRegistry, tag)) {
|
|
||||||
done = true;
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 8: {
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
index_ = input.readInt32();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
|
|
||||||
throw e.setUnfinishedMessage(this);
|
|
||||||
} catch (java.io.IOException e) {
|
|
||||||
throw new org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException(
|
|
||||||
e.getMessage()).setUnfinishedMessage(this);
|
|
||||||
} finally {
|
|
||||||
try {
|
|
||||||
unknownFieldsCodedOutput.flush();
|
|
||||||
} catch (java.io.IOException e) {
|
|
||||||
// Should not happen
|
|
||||||
} finally {
|
|
||||||
unknownFields = unknownFieldsOutput.toByteString();
|
|
||||||
}
|
|
||||||
makeExtensionsImmutable();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.protobuf.Parser<IrTypeIndex> PARSER =
|
|
||||||
new org.jetbrains.kotlin.protobuf.AbstractParser<IrTypeIndex>() {
|
|
||||||
public IrTypeIndex parsePartialFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedInputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
return new IrTypeIndex(input, extensionRegistry);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
@java.lang.Override
|
|
||||||
public org.jetbrains.kotlin.protobuf.Parser<IrTypeIndex> getParserForType() {
|
|
||||||
return PARSER;
|
|
||||||
}
|
|
||||||
|
|
||||||
private int bitField0_;
|
|
||||||
public static final int INDEX_FIELD_NUMBER = 1;
|
|
||||||
private int index_;
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
public boolean hasIndex() {
|
|
||||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
public int getIndex() {
|
|
||||||
return index_;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void initFields() {
|
|
||||||
index_ = 0;
|
|
||||||
}
|
|
||||||
private byte memoizedIsInitialized = -1;
|
|
||||||
public final boolean isInitialized() {
|
|
||||||
byte isInitialized = memoizedIsInitialized;
|
|
||||||
if (isInitialized == 1) return true;
|
|
||||||
if (isInitialized == 0) return false;
|
|
||||||
|
|
||||||
if (!hasIndex()) {
|
|
||||||
memoizedIsInitialized = 0;
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
memoizedIsInitialized = 1;
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output)
|
|
||||||
throws java.io.IOException {
|
|
||||||
getSerializedSize();
|
|
||||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
||||||
output.writeInt32(1, index_);
|
|
||||||
}
|
|
||||||
output.writeRawBytes(unknownFields);
|
|
||||||
}
|
|
||||||
|
|
||||||
private int memoizedSerializedSize = -1;
|
|
||||||
public int getSerializedSize() {
|
|
||||||
int size = memoizedSerializedSize;
|
|
||||||
if (size != -1) return size;
|
|
||||||
|
|
||||||
size = 0;
|
|
||||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
||||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
|
||||||
.computeInt32Size(1, index_);
|
|
||||||
}
|
|
||||||
size += unknownFields.size();
|
|
||||||
memoizedSerializedSize = size;
|
|
||||||
return size;
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 0L;
|
|
||||||
@java.lang.Override
|
|
||||||
protected java.lang.Object writeReplace()
|
|
||||||
throws java.io.ObjectStreamException {
|
|
||||||
return super.writeReplace();
|
|
||||||
}
|
|
||||||
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex parseFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString data)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
return PARSER.parseFrom(data);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex parseFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString data,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
return PARSER.parseFrom(data, extensionRegistry);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex parseFrom(byte[] data)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
return PARSER.parseFrom(data);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex parseFrom(
|
|
||||||
byte[] data,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
return PARSER.parseFrom(data, extensionRegistry);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex parseFrom(java.io.InputStream input)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseFrom(input);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex parseFrom(
|
|
||||||
java.io.InputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseFrom(input, extensionRegistry);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex parseDelimitedFrom(java.io.InputStream input)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseDelimitedFrom(input);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex parseDelimitedFrom(
|
|
||||||
java.io.InputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseDelimitedFrom(input, extensionRegistry);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex parseFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedInputStream input)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseFrom(input);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex parseFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedInputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseFrom(input, extensionRegistry);
|
|
||||||
}
|
|
||||||
|
|
||||||
public static Builder newBuilder() { return Builder.create(); }
|
|
||||||
public Builder newBuilderForType() { return newBuilder(); }
|
|
||||||
public static Builder newBuilder(org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex prototype) {
|
|
||||||
return newBuilder().mergeFrom(prototype);
|
|
||||||
}
|
|
||||||
public Builder toBuilder() { return newBuilder(this); }
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Protobuf type {@code org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex}
|
|
||||||
*/
|
|
||||||
public static final class Builder extends
|
|
||||||
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder<
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex, Builder>
|
|
||||||
implements
|
|
||||||
// @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex)
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndexOrBuilder {
|
|
||||||
// Construct using org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex.newBuilder()
|
|
||||||
private Builder() {
|
|
||||||
maybeForceBuilderInitialization();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void maybeForceBuilderInitialization() {
|
|
||||||
}
|
|
||||||
private static Builder create() {
|
|
||||||
return new Builder();
|
|
||||||
}
|
|
||||||
|
|
||||||
public Builder clear() {
|
|
||||||
super.clear();
|
|
||||||
index_ = 0;
|
|
||||||
bitField0_ = (bitField0_ & ~0x00000001);
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Builder clone() {
|
|
||||||
return create().mergeFrom(buildPartial());
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex getDefaultInstanceForType() {
|
|
||||||
return org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex.getDefaultInstance();
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex build() {
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex result = buildPartial();
|
|
||||||
if (!result.isInitialized()) {
|
|
||||||
throw newUninitializedMessageException(result);
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex buildPartial() {
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex result = new org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex(this);
|
|
||||||
int from_bitField0_ = bitField0_;
|
|
||||||
int to_bitField0_ = 0;
|
|
||||||
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
||||||
to_bitField0_ |= 0x00000001;
|
|
||||||
}
|
|
||||||
result.index_ = index_;
|
|
||||||
result.bitField0_ = to_bitField0_;
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Builder mergeFrom(org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex other) {
|
|
||||||
if (other == org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex.getDefaultInstance()) return this;
|
|
||||||
if (other.hasIndex()) {
|
|
||||||
setIndex(other.getIndex());
|
|
||||||
}
|
|
||||||
setUnknownFields(
|
|
||||||
getUnknownFields().concat(other.unknownFields));
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public final boolean isInitialized() {
|
|
||||||
if (!hasIndex()) {
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Builder mergeFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedInputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws java.io.IOException {
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex parsedMessage = null;
|
|
||||||
try {
|
|
||||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
||||||
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
|
|
||||||
parsedMessage = (org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex) e.getUnfinishedMessage();
|
|
||||||
throw e;
|
|
||||||
} finally {
|
|
||||||
if (parsedMessage != null) {
|
|
||||||
mergeFrom(parsedMessage);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
private int bitField0_;
|
|
||||||
|
|
||||||
private int index_ ;
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
public boolean hasIndex() {
|
|
||||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
public int getIndex() {
|
|
||||||
return index_;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
public Builder setIndex(int value) {
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
index_ = value;
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
public Builder clearIndex() {
|
|
||||||
bitField0_ = (bitField0_ & ~0x00000001);
|
|
||||||
index_ = 0;
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex)
|
|
||||||
}
|
|
||||||
|
|
||||||
static {
|
|
||||||
defaultInstance = new IrTypeIndex(true);
|
|
||||||
defaultInstance.initFields();
|
|
||||||
}
|
|
||||||
|
|
||||||
// @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex)
|
|
||||||
}
|
|
||||||
-18
@@ -1,18 +0,0 @@
|
|||||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
||||||
// source: compiler/ir/serialization.common/src/KotlinIr.proto
|
|
||||||
|
|
||||||
package org.jetbrains.kotlin.backend.common.serialization.proto;
|
|
||||||
|
|
||||||
public interface IrTypeIndexOrBuilder extends
|
|
||||||
// @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeIndex)
|
|
||||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
boolean hasIndex();
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
int getIndex();
|
|
||||||
}
|
|
||||||
-351
@@ -1,351 +0,0 @@
|
|||||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
||||||
// source: compiler/ir/serialization.common/src/KotlinIr.proto
|
|
||||||
|
|
||||||
package org.jetbrains.kotlin.backend.common.serialization.proto;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Protobuf type {@code org.jetbrains.kotlin.backend.common.serialization.proto.String}
|
|
||||||
*/
|
|
||||||
public final class String extends
|
|
||||||
org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements
|
|
||||||
// @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.backend.common.serialization.proto.String)
|
|
||||||
StringOrBuilder {
|
|
||||||
// Use String.newBuilder() to construct.
|
|
||||||
private String(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) {
|
|
||||||
super(builder);
|
|
||||||
this.unknownFields = builder.getUnknownFields();
|
|
||||||
}
|
|
||||||
private String(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;}
|
|
||||||
|
|
||||||
private static final String defaultInstance;
|
|
||||||
public static String getDefaultInstance() {
|
|
||||||
return defaultInstance;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getDefaultInstanceForType() {
|
|
||||||
return defaultInstance;
|
|
||||||
}
|
|
||||||
|
|
||||||
private final org.jetbrains.kotlin.protobuf.ByteString unknownFields;
|
|
||||||
private String(
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedInputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
initFields();
|
|
||||||
int mutable_bitField0_ = 0;
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString.Output unknownFieldsOutput =
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString.newOutput();
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedOutputStream unknownFieldsCodedOutput =
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedOutputStream.newInstance(
|
|
||||||
unknownFieldsOutput);
|
|
||||||
try {
|
|
||||||
boolean done = false;
|
|
||||||
while (!done) {
|
|
||||||
int tag = input.readTag();
|
|
||||||
switch (tag) {
|
|
||||||
case 0:
|
|
||||||
done = true;
|
|
||||||
break;
|
|
||||||
default: {
|
|
||||||
if (!parseUnknownField(input, unknownFieldsCodedOutput,
|
|
||||||
extensionRegistry, tag)) {
|
|
||||||
done = true;
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 8: {
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
index_ = input.readInt32();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
|
|
||||||
throw e.setUnfinishedMessage(this);
|
|
||||||
} catch (java.io.IOException e) {
|
|
||||||
throw new org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException(
|
|
||||||
e.getMessage()).setUnfinishedMessage(this);
|
|
||||||
} finally {
|
|
||||||
try {
|
|
||||||
unknownFieldsCodedOutput.flush();
|
|
||||||
} catch (java.io.IOException e) {
|
|
||||||
// Should not happen
|
|
||||||
} finally {
|
|
||||||
unknownFields = unknownFieldsOutput.toByteString();
|
|
||||||
}
|
|
||||||
makeExtensionsImmutable();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.protobuf.Parser<String> PARSER =
|
|
||||||
new org.jetbrains.kotlin.protobuf.AbstractParser<String>() {
|
|
||||||
public String parsePartialFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedInputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
return new String(input, extensionRegistry);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
@java.lang.Override
|
|
||||||
public org.jetbrains.kotlin.protobuf.Parser<String> getParserForType() {
|
|
||||||
return PARSER;
|
|
||||||
}
|
|
||||||
|
|
||||||
private int bitField0_;
|
|
||||||
public static final int INDEX_FIELD_NUMBER = 1;
|
|
||||||
private int index_;
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
public boolean hasIndex() {
|
|
||||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
public int getIndex() {
|
|
||||||
return index_;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void initFields() {
|
|
||||||
index_ = 0;
|
|
||||||
}
|
|
||||||
private byte memoizedIsInitialized = -1;
|
|
||||||
public final boolean isInitialized() {
|
|
||||||
byte isInitialized = memoizedIsInitialized;
|
|
||||||
if (isInitialized == 1) return true;
|
|
||||||
if (isInitialized == 0) return false;
|
|
||||||
|
|
||||||
if (!hasIndex()) {
|
|
||||||
memoizedIsInitialized = 0;
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
memoizedIsInitialized = 1;
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output)
|
|
||||||
throws java.io.IOException {
|
|
||||||
getSerializedSize();
|
|
||||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
||||||
output.writeInt32(1, index_);
|
|
||||||
}
|
|
||||||
output.writeRawBytes(unknownFields);
|
|
||||||
}
|
|
||||||
|
|
||||||
private int memoizedSerializedSize = -1;
|
|
||||||
public int getSerializedSize() {
|
|
||||||
int size = memoizedSerializedSize;
|
|
||||||
if (size != -1) return size;
|
|
||||||
|
|
||||||
size = 0;
|
|
||||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
||||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
|
||||||
.computeInt32Size(1, index_);
|
|
||||||
}
|
|
||||||
size += unknownFields.size();
|
|
||||||
memoizedSerializedSize = size;
|
|
||||||
return size;
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 0L;
|
|
||||||
@java.lang.Override
|
|
||||||
protected java.lang.Object writeReplace()
|
|
||||||
throws java.io.ObjectStreamException {
|
|
||||||
return super.writeReplace();
|
|
||||||
}
|
|
||||||
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.String parseFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString data)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
return PARSER.parseFrom(data);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.String parseFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString data,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
return PARSER.parseFrom(data, extensionRegistry);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.String parseFrom(byte[] data)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
return PARSER.parseFrom(data);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.String parseFrom(
|
|
||||||
byte[] data,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
|
||||||
return PARSER.parseFrom(data, extensionRegistry);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.String parseFrom(java.io.InputStream input)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseFrom(input);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.String parseFrom(
|
|
||||||
java.io.InputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseFrom(input, extensionRegistry);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.String parseDelimitedFrom(java.io.InputStream input)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseDelimitedFrom(input);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.String parseDelimitedFrom(
|
|
||||||
java.io.InputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseDelimitedFrom(input, extensionRegistry);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.String parseFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedInputStream input)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseFrom(input);
|
|
||||||
}
|
|
||||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.String parseFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedInputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return PARSER.parseFrom(input, extensionRegistry);
|
|
||||||
}
|
|
||||||
|
|
||||||
public static Builder newBuilder() { return Builder.create(); }
|
|
||||||
public Builder newBuilderForType() { return newBuilder(); }
|
|
||||||
public static Builder newBuilder(org.jetbrains.kotlin.backend.common.serialization.proto.String prototype) {
|
|
||||||
return newBuilder().mergeFrom(prototype);
|
|
||||||
}
|
|
||||||
public Builder toBuilder() { return newBuilder(this); }
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Protobuf type {@code org.jetbrains.kotlin.backend.common.serialization.proto.String}
|
|
||||||
*/
|
|
||||||
public static final class Builder extends
|
|
||||||
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder<
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.String, Builder>
|
|
||||||
implements
|
|
||||||
// @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.backend.common.serialization.proto.String)
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.StringOrBuilder {
|
|
||||||
// Construct using org.jetbrains.kotlin.backend.common.serialization.proto.String.newBuilder()
|
|
||||||
private Builder() {
|
|
||||||
maybeForceBuilderInitialization();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void maybeForceBuilderInitialization() {
|
|
||||||
}
|
|
||||||
private static Builder create() {
|
|
||||||
return new Builder();
|
|
||||||
}
|
|
||||||
|
|
||||||
public Builder clear() {
|
|
||||||
super.clear();
|
|
||||||
index_ = 0;
|
|
||||||
bitField0_ = (bitField0_ & ~0x00000001);
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Builder clone() {
|
|
||||||
return create().mergeFrom(buildPartial());
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.jetbrains.kotlin.backend.common.serialization.proto.String getDefaultInstanceForType() {
|
|
||||||
return org.jetbrains.kotlin.backend.common.serialization.proto.String.getDefaultInstance();
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.jetbrains.kotlin.backend.common.serialization.proto.String build() {
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.String result = buildPartial();
|
|
||||||
if (!result.isInitialized()) {
|
|
||||||
throw newUninitializedMessageException(result);
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.jetbrains.kotlin.backend.common.serialization.proto.String buildPartial() {
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.String result = new org.jetbrains.kotlin.backend.common.serialization.proto.String(this);
|
|
||||||
int from_bitField0_ = bitField0_;
|
|
||||||
int to_bitField0_ = 0;
|
|
||||||
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
||||||
to_bitField0_ |= 0x00000001;
|
|
||||||
}
|
|
||||||
result.index_ = index_;
|
|
||||||
result.bitField0_ = to_bitField0_;
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Builder mergeFrom(org.jetbrains.kotlin.backend.common.serialization.proto.String other) {
|
|
||||||
if (other == org.jetbrains.kotlin.backend.common.serialization.proto.String.getDefaultInstance()) return this;
|
|
||||||
if (other.hasIndex()) {
|
|
||||||
setIndex(other.getIndex());
|
|
||||||
}
|
|
||||||
setUnknownFields(
|
|
||||||
getUnknownFields().concat(other.unknownFields));
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public final boolean isInitialized() {
|
|
||||||
if (!hasIndex()) {
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Builder mergeFrom(
|
|
||||||
org.jetbrains.kotlin.protobuf.CodedInputStream input,
|
|
||||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws java.io.IOException {
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.String parsedMessage = null;
|
|
||||||
try {
|
|
||||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
||||||
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
|
|
||||||
parsedMessage = (org.jetbrains.kotlin.backend.common.serialization.proto.String) e.getUnfinishedMessage();
|
|
||||||
throw e;
|
|
||||||
} finally {
|
|
||||||
if (parsedMessage != null) {
|
|
||||||
mergeFrom(parsedMessage);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
private int bitField0_;
|
|
||||||
|
|
||||||
private int index_ ;
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
public boolean hasIndex() {
|
|
||||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
public int getIndex() {
|
|
||||||
return index_;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
public Builder setIndex(int value) {
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
index_ = value;
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
public Builder clearIndex() {
|
|
||||||
bitField0_ = (bitField0_ & ~0x00000001);
|
|
||||||
index_ = 0;
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.backend.common.serialization.proto.String)
|
|
||||||
}
|
|
||||||
|
|
||||||
static {
|
|
||||||
defaultInstance = new String(true);
|
|
||||||
defaultInstance.initFields();
|
|
||||||
}
|
|
||||||
|
|
||||||
// @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.backend.common.serialization.proto.String)
|
|
||||||
}
|
|
||||||
-18
@@ -1,18 +0,0 @@
|
|||||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
||||||
// source: compiler/ir/serialization.common/src/KotlinIr.proto
|
|
||||||
|
|
||||||
package org.jetbrains.kotlin.backend.common.serialization.proto;
|
|
||||||
|
|
||||||
public interface StringOrBuilder extends
|
|
||||||
// @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.backend.common.serialization.proto.String)
|
|
||||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
boolean hasIndex();
|
|
||||||
/**
|
|
||||||
* <code>required int32 index = 1;</code>
|
|
||||||
*/
|
|
||||||
int getIndex();
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user