diff --git a/.idea/libraries/protobuf.xml b/.idea/libraries/protobuf.xml index 36a6f963ac74..ef5b16d4e716 100644 --- a/.idea/libraries/protobuf.xml +++ b/.idea/libraries/protobuf.xml @@ -1,7 +1,7 @@ - + diff --git a/build/scripts/libLicenses.gant b/build/scripts/libLicenses.gant index d144012eded5..86dbb8713e98 100644 --- a/build/scripts/libLicenses.gant +++ b/build/scripts/libLicenses.gant @@ -247,7 +247,7 @@ libraryLicense(name: "XMLBeans", libraryName: "XmlBeans", version: "2.3.0", lice libraryLicense(name: "XML-RPC", libraryName: "XmlRPC", version: "2.0", license: "Apache 2.0", url: "http://ws.apache.org/xmlrpc/xmlrpc2/", licenseUrl: "http://ws.apache.org/xmlrpc/xmlrpc2/license.html") libraryLicense(name: "XStream", version: "1.4.3", license: "BSD", url: "http://xstream.codehaus.org/", licenseUrl: "http://xstream.codehaus.org/license.html") libraryLicense(name: "YourKit Java Profiler", libraryName: "yjp-controller-api-redist.jar", version: "8.0.x", license: "link (commercial license)", url: "http://yourkit.com/", licenseUrl: "http://www.yourkit.com/purchase/license.html") -libraryLicense(name: "protobuf", version: "2.5.0", license: "New BSD", url: "http://code.google.com/p/protobuf/", licenseUrl: "http://code.google.com/p/protobuf/source/browse/trunk/COPYING.txt?r=367") +libraryLicense(name: "protobuf", version: "2.4.1", license: "New BSD", url: "http://code.google.com/p/protobuf/", licenseUrl: "http://code.google.com/p/protobuf/source/browse/trunk/COPYING.txt?r=367") libraryLicense(name: "Netty", libraryName: "Netty", version: "3.6.6", license: "Apache 2.0", url: "http://netty.io", licenseUrl: "http://www.apache.org/licenses/LICENSE-2.0") libraryLicense(name: "Kryo", libraryName: "Kryo", version: "1.04", license: "New BSD License", url: "http://code.google.com/p/kryo/", licenseUrl: "http://www.opensource.org/licenses/bsd-license.php") libraryLicense(name: "Snappy-Java", libraryName: "Snappy-Java", version: "1.1.0-M3", license: "Apache 2.0", url: "http://code.google.com/p/snappy-java/", licenseUrl: "http://www.apache.org/licenses/LICENSE-2.0") diff --git a/jps/jps-builders/src/org/jetbrains/jps/api/CmdlineRemoteProto.java b/jps/jps-builders/src/org/jetbrains/jps/api/CmdlineRemoteProto.java index d1596708a846..7ccb74531275 100644 --- a/jps/jps-builders/src/org/jetbrains/jps/api/CmdlineRemoteProto.java +++ b/jps/jps-builders/src/org/jetbrains/jps/api/CmdlineRemoteProto.java @@ -10,222 +10,59 @@ public final class CmdlineRemoteProto { } public interface MessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required .org.jetbrains.jpsservice.Message.UUID session_id = 1; - /** - * required .org.jetbrains.jpsservice.Message.UUID session_id = 1; - */ boolean hasSessionId(); - /** - * required .org.jetbrains.jpsservice.Message.UUID session_id = 1; - */ org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID getSessionId(); - + // required .org.jetbrains.jpsservice.Message.Type type = 2; - /** - * required .org.jetbrains.jpsservice.Message.Type type = 2; - */ boolean hasType(); - /** - * required .org.jetbrains.jpsservice.Message.Type type = 2; - */ org.jetbrains.jps.api.CmdlineRemoteProto.Message.Type getType(); - + // optional .org.jetbrains.jpsservice.Message.ControllerMessage controller_message = 3; - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage controller_message = 3; - */ boolean hasControllerMessage(); - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage controller_message = 3; - */ org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage getControllerMessage(); - + // optional .org.jetbrains.jpsservice.Message.BuilderMessage builder_message = 4; - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage builder_message = 4; - */ boolean hasBuilderMessage(); - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage builder_message = 4; - */ org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage getBuilderMessage(); - + // optional .org.jetbrains.jpsservice.Message.Failure failure = 5; - /** - * optional .org.jetbrains.jpsservice.Message.Failure failure = 5; - */ boolean hasFailure(); - /** - * optional .org.jetbrains.jpsservice.Message.Failure failure = 5; - */ org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure getFailure(); } - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message} - */ public static final class Message extends com.google.protobuf.GeneratedMessageLite implements MessageOrBuilder { // Use Message.newBuilder() to construct. - private Message(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private Message(Builder builder) { super(builder); - } private Message(boolean noInit) {} - + private static final Message defaultInstance; public static Message getDefaultInstance() { return defaultInstance; } - + public Message getDefaultInstanceForType() { return defaultInstance; } - - private Message( - 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.jps.api.CmdlineRemoteProto.Message.UUID.Builder subBuilder = null; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - subBuilder = sessionId_.toBuilder(); - } - sessionId_ = input.readMessage(org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sessionId_); - sessionId_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000001; - break; - } - case 16: { - int rawValue = input.readEnum(); - org.jetbrains.jps.api.CmdlineRemoteProto.Message.Type value = org.jetbrains.jps.api.CmdlineRemoteProto.Message.Type.valueOf(rawValue); - if (value != null) { - bitField0_ |= 0x00000002; - type_ = value; - } - break; - } - case 26: { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00000004) == 0x00000004)) { - subBuilder = controllerMessage_.toBuilder(); - } - controllerMessage_ = input.readMessage(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(controllerMessage_); - controllerMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000004; - break; - } - case 34: { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00000008) == 0x00000008)) { - subBuilder = builderMessage_.toBuilder(); - } - builderMessage_ = input.readMessage(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(builderMessage_); - builderMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000008; - break; - } - case 42: { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure.Builder subBuilder = null; - if (((bitField0_ & 0x00000010) == 0x00000010)) { - subBuilder = failure_.toBuilder(); - } - failure_ = input.readMessage(org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(failure_); - failure_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000010; - 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 Message parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Message(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - /** - * Protobuf enum {@code org.jetbrains.jpsservice.Message.Type} - */ + public enum Type implements com.google.protobuf.Internal.EnumLite { - /** - * CONTROLLER_MESSAGE = 1; - */ CONTROLLER_MESSAGE(0, 1), - /** - * BUILDER_MESSAGE = 2; - */ BUILDER_MESSAGE(1, 2), - /** - * FAILURE = 3; - */ FAILURE(2, 3), ; - - /** - * CONTROLLER_MESSAGE = 1; - */ + public static final int CONTROLLER_MESSAGE_VALUE = 1; - /** - * BUILDER_MESSAGE = 2; - */ public static final int BUILDER_MESSAGE_VALUE = 2; - /** - * FAILURE = 3; - */ public static final int FAILURE_VALUE = 3; - - + + public final int getNumber() { return value; } - + public static Type valueOf(int value) { switch (value) { case 1: return CONTROLLER_MESSAGE; @@ -234,7 +71,7 @@ public final class CmdlineRemoteProto { default: return null; } } - + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; @@ -246,151 +83,66 @@ public final class CmdlineRemoteProto { return Type.valueOf(number); } }; - + private final int value; - + private Type(int index, int value) { this.value = value; } - + // @@protoc_insertion_point(enum_scope:org.jetbrains.jpsservice.Message.Type) } - + public interface UUIDOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required sint64 most_sig_bits = 1; - /** - * required sint64 most_sig_bits = 1; - */ boolean hasMostSigBits(); - /** - * required sint64 most_sig_bits = 1; - */ long getMostSigBits(); - + // required sint64 least_sig_bits = 2; - /** - * required sint64 least_sig_bits = 2; - */ boolean hasLeastSigBits(); - /** - * required sint64 least_sig_bits = 2; - */ long getLeastSigBits(); } - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.UUID} - */ public static final class UUID extends com.google.protobuf.GeneratedMessageLite implements UUIDOrBuilder { // Use UUID.newBuilder() to construct. - private UUID(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private UUID(Builder builder) { super(builder); - } private UUID(boolean noInit) {} - + private static final UUID defaultInstance; public static UUID getDefaultInstance() { return defaultInstance; } - + public UUID getDefaultInstanceForType() { return defaultInstance; } - - private UUID( - 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; - mostSigBits_ = input.readSInt64(); - break; - } - case 16: { - bitField0_ |= 0x00000002; - leastSigBits_ = input.readSInt64(); - 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 UUID parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UUID(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - + private int bitField0_; // required sint64 most_sig_bits = 1; public static final int MOST_SIG_BITS_FIELD_NUMBER = 1; private long mostSigBits_; - /** - * required sint64 most_sig_bits = 1; - */ public boolean hasMostSigBits() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required sint64 most_sig_bits = 1; - */ public long getMostSigBits() { return mostSigBits_; } - + // required sint64 least_sig_bits = 2; public static final int LEAST_SIG_BITS_FIELD_NUMBER = 2; private long leastSigBits_; - /** - * required sint64 least_sig_bits = 2; - */ public boolean hasLeastSigBits() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * required sint64 least_sig_bits = 2; - */ public long getLeastSigBits() { return leastSigBits_; } - + private void initFields() { mostSigBits_ = 0L; leastSigBits_ = 0L; @@ -399,7 +151,7 @@ public final class CmdlineRemoteProto { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasMostSigBits()) { memoizedIsInitialized = 0; return false; @@ -411,7 +163,7 @@ public final class CmdlineRemoteProto { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -422,12 +174,12 @@ public final class CmdlineRemoteProto { output.writeSInt64(2, leastSigBits_); } } - + 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 @@ -440,77 +192,88 @@ public final class CmdlineRemoteProto { 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.jps.api.CmdlineRemoteProto.Message.UUID parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input, extensionRegistry)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.UUID} - */ + public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID, Builder> @@ -519,13 +282,13 @@ public final class CmdlineRemoteProto { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); mostSigBits_ = 0L; @@ -534,15 +297,15 @@ public final class CmdlineRemoteProto { bitField0_ = (bitField0_ & ~0x00000002); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID getDefaultInstanceForType() { return org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID.getDefaultInstance(); } - + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID build() { org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID result = buildPartial(); if (!result.isInitialized()) { @@ -550,7 +313,17 @@ public final class CmdlineRemoteProto { } return result; } - + + private org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return result; + } + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID buildPartial() { org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID result = new org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID(this); int from_bitField0_ = bitField0_; @@ -566,7 +339,7 @@ public final class CmdlineRemoteProto { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID other) { if (other == org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID.getDefaultInstance()) return this; if (other.hasMostSigBits()) { @@ -577,7 +350,7 @@ public final class CmdlineRemoteProto { } return this; } - + public final boolean isInitialized() { if (!hasMostSigBits()) { @@ -589,302 +362,187 @@ public final class CmdlineRemoteProto { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + while (true) { + int tag = input.readTag(); + switch (tag) { + case 0: + + return this; + default: { + if (!parseUnknownField(input, extensionRegistry, tag)) { + + return this; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + mostSigBits_ = input.readSInt64(); + break; + } + case 16: { + bitField0_ |= 0x00000002; + leastSigBits_ = input.readSInt64(); + break; + } } } - return this; } + private int bitField0_; - + // required sint64 most_sig_bits = 1; private long mostSigBits_ ; - /** - * required sint64 most_sig_bits = 1; - */ public boolean hasMostSigBits() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required sint64 most_sig_bits = 1; - */ public long getMostSigBits() { return mostSigBits_; } - /** - * required sint64 most_sig_bits = 1; - */ public Builder setMostSigBits(long value) { bitField0_ |= 0x00000001; mostSigBits_ = value; return this; } - /** - * required sint64 most_sig_bits = 1; - */ public Builder clearMostSigBits() { bitField0_ = (bitField0_ & ~0x00000001); mostSigBits_ = 0L; return this; } - + // required sint64 least_sig_bits = 2; private long leastSigBits_ ; - /** - * required sint64 least_sig_bits = 2; - */ public boolean hasLeastSigBits() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * required sint64 least_sig_bits = 2; - */ public long getLeastSigBits() { return leastSigBits_; } - /** - * required sint64 least_sig_bits = 2; - */ public Builder setLeastSigBits(long value) { bitField0_ |= 0x00000002; leastSigBits_ = value; return this; } - /** - * required sint64 least_sig_bits = 2; - */ public Builder clearLeastSigBits() { bitField0_ = (bitField0_ & ~0x00000002); leastSigBits_ = 0L; return this; } - + // @@protoc_insertion_point(builder_scope:org.jetbrains.jpsservice.Message.UUID) } - + static { defaultInstance = new UUID(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:org.jetbrains.jpsservice.Message.UUID) } - + public interface KeyValuePairOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required string key = 1; - /** - * required string key = 1; - */ boolean hasKey(); - /** - * required string key = 1; - */ - java.lang.String getKey(); - /** - * required string key = 1; - */ - com.google.protobuf.ByteString - getKeyBytes(); - + String getKey(); + // required string value = 2; - /** - * required string value = 2; - */ boolean hasValue(); - /** - * required string value = 2; - */ - java.lang.String getValue(); - /** - * required string value = 2; - */ - com.google.protobuf.ByteString - getValueBytes(); + String getValue(); } - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.KeyValuePair} - */ public static final class KeyValuePair extends com.google.protobuf.GeneratedMessageLite implements KeyValuePairOrBuilder { // Use KeyValuePair.newBuilder() to construct. - private KeyValuePair(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private KeyValuePair(Builder builder) { super(builder); - } private KeyValuePair(boolean noInit) {} - + private static final KeyValuePair defaultInstance; public static KeyValuePair getDefaultInstance() { return defaultInstance; } - + public KeyValuePair getDefaultInstanceForType() { return defaultInstance; } - - private KeyValuePair( - 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: { - bitField0_ |= 0x00000001; - key_ = input.readBytes(); - break; - } - case 18: { - bitField0_ |= 0x00000002; - value_ = 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 { - makeExtensionsImmutable(); - } - } - public static com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - public KeyValuePair parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new KeyValuePair(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - + private int bitField0_; // required string key = 1; public static final int KEY_FIELD_NUMBER = 1; private java.lang.Object key_; - /** - * required string key = 1; - */ public boolean hasKey() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required string key = 1; - */ - public java.lang.String getKey() { + public String getKey() { java.lang.Object ref = key_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + if (ref instanceof String) { + return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { key_ = s; } return s; } } - /** - * required string key = 1; - */ - public com.google.protobuf.ByteString - getKeyBytes() { + private com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; - if (ref instanceof java.lang.String) { + if (ref instanceof String) { com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString.copyFromUtf8((String) ref); key_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - + // required string value = 2; public static final int VALUE_FIELD_NUMBER = 2; private java.lang.Object value_; - /** - * required string value = 2; - */ public boolean hasValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * required string value = 2; - */ - public java.lang.String getValue() { + public String getValue() { java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + if (ref instanceof String) { + return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { value_ = s; } return s; } } - /** - * required string value = 2; - */ - public com.google.protobuf.ByteString - getValueBytes() { + private com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { + if (ref instanceof String) { com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString.copyFromUtf8((String) ref); value_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - + private void initFields() { key_ = ""; value_ = ""; @@ -893,7 +551,7 @@ public final class CmdlineRemoteProto { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasKey()) { memoizedIsInitialized = 0; return false; @@ -905,7 +563,7 @@ public final class CmdlineRemoteProto { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -916,12 +574,12 @@ public final class CmdlineRemoteProto { output.writeBytes(2, getValueBytes()); } } - + 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 @@ -934,77 +592,88 @@ public final class CmdlineRemoteProto { 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.jps.api.CmdlineRemoteProto.Message.KeyValuePair parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input, extensionRegistry)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.KeyValuePair} - */ + public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair, Builder> @@ -1013,13 +682,13 @@ public final class CmdlineRemoteProto { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); key_ = ""; @@ -1028,15 +697,15 @@ public final class CmdlineRemoteProto { bitField0_ = (bitField0_ & ~0x00000002); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair getDefaultInstanceForType() { return org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair.getDefaultInstance(); } - + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair build() { org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair result = buildPartial(); if (!result.isInitialized()) { @@ -1044,7 +713,17 @@ public final class CmdlineRemoteProto { } return result; } - + + private org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return result; + } + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair buildPartial() { org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair result = new org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair(this); int from_bitField0_ = bitField0_; @@ -1060,22 +739,18 @@ public final class CmdlineRemoteProto { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair other) { if (other == org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair.getDefaultInstance()) return this; if (other.hasKey()) { - bitField0_ |= 0x00000001; - key_ = other.key_; - + setKey(other.getKey()); } if (other.hasValue()) { - bitField0_ |= 0x00000002; - value_ = other.value_; - + setValue(other.getValue()); } return this; } - + public final boolean isInitialized() { if (!hasKey()) { @@ -1087,69 +762,56 @@ public final class CmdlineRemoteProto { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + while (true) { + int tag = input.readTag(); + switch (tag) { + case 0: + + return this; + default: { + if (!parseUnknownField(input, extensionRegistry, tag)) { + + return this; + } + break; + } + case 10: { + bitField0_ |= 0x00000001; + key_ = input.readBytes(); + break; + } + case 18: { + bitField0_ |= 0x00000002; + value_ = input.readBytes(); + break; + } } } - return this; } + private int bitField0_; - + // required string key = 1; private java.lang.Object key_ = ""; - /** - * required string key = 1; - */ public boolean hasKey() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required string key = 1; - */ - public java.lang.String getKey() { + public String getKey() { java.lang.Object ref = key_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); key_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * required string key = 1; - */ - public com.google.protobuf.ByteString - getKeyBytes() { - java.lang.Object ref = key_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - key_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * required string key = 1; - */ - public Builder setKey( - java.lang.String value) { + public Builder setKey(String value) { if (value == null) { throw new NullPointerException(); } @@ -1158,72 +820,34 @@ public final class CmdlineRemoteProto { return this; } - /** - * required string key = 1; - */ public Builder clearKey() { bitField0_ = (bitField0_ & ~0x00000001); key_ = getDefaultInstance().getKey(); return this; } - /** - * required string key = 1; - */ - public Builder setKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + void setKey(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000001; key_ = value; - return this; } - + // required string value = 2; private java.lang.Object value_ = ""; - /** - * required string value = 2; - */ public boolean hasValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * required string value = 2; - */ - public java.lang.String getValue() { + public String getValue() { java.lang.Object ref = value_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); value_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * required string value = 2; - */ - public com.google.protobuf.ByteString - getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * required string value = 2; - */ - public Builder setValue( - java.lang.String value) { + public Builder setValue(String value) { if (value == null) { throw new NullPointerException(); } @@ -1232,123 +856,372 @@ public final class CmdlineRemoteProto { return this; } - /** - * required string value = 2; - */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000002); value_ = getDefaultInstance().getValue(); return this; } - /** - * required string value = 2; - */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + void setValue(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000002; value_ = value; - return this; } - + // @@protoc_insertion_point(builder_scope:org.jetbrains.jpsservice.Message.KeyValuePair) } - + static { defaultInstance = new KeyValuePair(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:org.jetbrains.jpsservice.Message.KeyValuePair) } - + public interface FailureOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // optional int32 error_code = 1; - /** - * optional int32 error_code = 1; - */ boolean hasErrorCode(); - /** - * optional int32 error_code = 1; - */ int getErrorCode(); - + // optional string description = 2; - /** - * optional string description = 2; - */ boolean hasDescription(); - /** - * optional string description = 2; - */ - java.lang.String getDescription(); - /** - * optional string description = 2; - */ - com.google.protobuf.ByteString - getDescriptionBytes(); - + String getDescription(); + // optional string stacktrace = 3; - /** - * optional string stacktrace = 3; - */ boolean hasStacktrace(); - /** - * optional string stacktrace = 3; - */ - java.lang.String getStacktrace(); - /** - * optional string stacktrace = 3; - */ - com.google.protobuf.ByteString - getStacktraceBytes(); + String getStacktrace(); } - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.Failure} - */ public static final class Failure extends com.google.protobuf.GeneratedMessageLite implements FailureOrBuilder { // Use Failure.newBuilder() to construct. - private Failure(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private Failure(Builder builder) { super(builder); - } private Failure(boolean noInit) {} - + private static final Failure defaultInstance; public static Failure getDefaultInstance() { return defaultInstance; } - + public Failure getDefaultInstanceForType() { return defaultInstance; } - - private Failure( - com.google.protobuf.CodedInputStream input, + + private int bitField0_; + // optional int32 error_code = 1; + public static final int ERROR_CODE_FIELD_NUMBER = 1; + private int errorCode_; + public boolean hasErrorCode() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + public int getErrorCode() { + return errorCode_; + } + + // optional string description = 2; + public static final int DESCRIPTION_FIELD_NUMBER = 2; + private java.lang.Object description_; + public boolean hasDescription() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + public String getDescription() { + java.lang.Object ref = description_; + if (ref instanceof String) { + return (String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { + description_ = s; + } + return s; + } + } + private com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // optional string stacktrace = 3; + public static final int STACKTRACE_FIELD_NUMBER = 3; + private java.lang.Object stacktrace_; + public boolean hasStacktrace() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + public String getStacktrace() { + java.lang.Object ref = stacktrace_; + if (ref instanceof String) { + return (String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { + stacktrace_ = s; + } + return s; + } + } + private com.google.protobuf.ByteString getStacktraceBytes() { + java.lang.Object ref = stacktrace_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((String) ref); + stacktrace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private void initFields() { + errorCode_ = 0; + description_ = ""; + stacktrace_ = ""; + } + 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(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeInt32(1, errorCode_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeBytes(2, getDescriptionBytes()); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeBytes(3, getStacktraceBytes()); + } + } + + 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, errorCode_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, getDescriptionBytes()); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(3, getStacktraceBytes()); + } + 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.jps.api.CmdlineRemoteProto.Message.Failure parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data).buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure parseFrom( + com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); - int mutable_bitField0_ = 0; - try { - boolean done = false; - while (!done) { + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data).buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure parseFrom(java.io.InputStream input) + throws java.io.IOException { + return newBuilder().mergeFrom(input).buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input)) { + return builder.buildParsed(); + } else { + return null; + } + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input, extensionRegistry)) { + return builder.buildParsed(); + } else { + return null; + } + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return newBuilder().mergeFrom(input).buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure, Builder> + implements org.jetbrains.jps.api.CmdlineRemoteProto.Message.FailureOrBuilder { + // Construct using org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + errorCode_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + description_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + stacktrace_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure getDefaultInstanceForType() { + return org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure.getDefaultInstance(); + } + + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure build() { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + private org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return result; + } + + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure buildPartial() { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure result = new org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.errorCode_ = errorCode_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.description_ = description_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.stacktrace_ = stacktrace_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure other) { + if (other == org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure.getDefaultInstance()) return this; + if (other.hasErrorCode()) { + setErrorCode(other.getErrorCode()); + } + if (other.hasDescription()) { + setDescription(other.getDescription()); + } + if (other.hasStacktrace()) { + setStacktrace(other.getStacktrace()); + } + 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 { + while (true) { int tag = input.readTag(); switch (tag) { case 0: - done = true; - break; + + return this; default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; + if (!parseUnknownField(input, extensionRegistry, tag)) { + + return this; } break; } @@ -1369,432 +1242,47 @@ public final class CmdlineRemoteProto { } } } - } 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 Failure parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Failure(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - private int bitField0_; - // optional int32 error_code = 1; - public static final int ERROR_CODE_FIELD_NUMBER = 1; - private int errorCode_; - /** - * optional int32 error_code = 1; - */ - public boolean hasErrorCode() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * optional int32 error_code = 1; - */ - public int getErrorCode() { - return errorCode_; - } - - // optional string description = 2; - public static final int DESCRIPTION_FIELD_NUMBER = 2; - private java.lang.Object description_; - /** - * optional string description = 2; - */ - public boolean hasDescription() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * optional string description = 2; - */ - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - description_ = s; - } - return s; - } - } - /** - * optional string description = 2; - */ - public com.google.protobuf.ByteString - getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - // optional string stacktrace = 3; - public static final int STACKTRACE_FIELD_NUMBER = 3; - private java.lang.Object stacktrace_; - /** - * optional string stacktrace = 3; - */ - public boolean hasStacktrace() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * optional string stacktrace = 3; - */ - public java.lang.String getStacktrace() { - java.lang.Object ref = stacktrace_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - stacktrace_ = s; - } - return s; - } - } - /** - * optional string stacktrace = 3; - */ - public com.google.protobuf.ByteString - getStacktraceBytes() { - java.lang.Object ref = stacktrace_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - stacktrace_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private void initFields() { - errorCode_ = 0; - description_ = ""; - stacktrace_ = ""; - } - 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(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeInt32(1, errorCode_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBytes(2, getDescriptionBytes()); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBytes(3, getStacktraceBytes()); - } - } - - 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, errorCode_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, getDescriptionBytes()); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, getStacktraceBytes()); - } - 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.jps.api.CmdlineRemoteProto.Message.Failure parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure 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.jps.api.CmdlineRemoteProto.Message.Failure parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure parseFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure 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.jps.api.CmdlineRemoteProto.Message.Failure prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.Failure} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure, Builder> - implements org.jetbrains.jps.api.CmdlineRemoteProto.Message.FailureOrBuilder { - // Construct using org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - errorCode_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - description_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); - stacktrace_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure getDefaultInstanceForType() { - return org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure.getDefaultInstance(); - } - - public org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure build() { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - public org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure buildPartial() { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure result = new org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.errorCode_ = errorCode_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.description_ = description_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.stacktrace_ = stacktrace_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure other) { - if (other == org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure.getDefaultInstance()) return this; - if (other.hasErrorCode()) { - setErrorCode(other.getErrorCode()); - } - if (other.hasDescription()) { - bitField0_ |= 0x00000002; - description_ = other.description_; - - } - if (other.hasStacktrace()) { - bitField0_ |= 0x00000004; - stacktrace_ = other.stacktrace_; - - } - 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.jps.api.CmdlineRemoteProto.Message.Failure parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; } + private int bitField0_; - + // optional int32 error_code = 1; private int errorCode_ ; - /** - * optional int32 error_code = 1; - */ public boolean hasErrorCode() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * optional int32 error_code = 1; - */ public int getErrorCode() { return errorCode_; } - /** - * optional int32 error_code = 1; - */ public Builder setErrorCode(int value) { bitField0_ |= 0x00000001; errorCode_ = value; return this; } - /** - * optional int32 error_code = 1; - */ public Builder clearErrorCode() { bitField0_ = (bitField0_ & ~0x00000001); errorCode_ = 0; return this; } - + // optional string description = 2; private java.lang.Object description_ = ""; - /** - * optional string description = 2; - */ public boolean hasDescription() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * optional string description = 2; - */ - public java.lang.String getDescription() { + public String getDescription() { java.lang.Object ref = description_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); description_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * optional string description = 2; - */ - public com.google.protobuf.ByteString - getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string description = 2; - */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(String value) { if (value == null) { throw new NullPointerException(); } @@ -1803,72 +1291,34 @@ public final class CmdlineRemoteProto { return this; } - /** - * optional string description = 2; - */ public Builder clearDescription() { bitField0_ = (bitField0_ & ~0x00000002); description_ = getDefaultInstance().getDescription(); return this; } - /** - * optional string description = 2; - */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + void setDescription(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000002; description_ = value; - return this; } - + // optional string stacktrace = 3; private java.lang.Object stacktrace_ = ""; - /** - * optional string stacktrace = 3; - */ public boolean hasStacktrace() { return ((bitField0_ & 0x00000004) == 0x00000004); } - /** - * optional string stacktrace = 3; - */ - public java.lang.String getStacktrace() { + public String getStacktrace() { java.lang.Object ref = stacktrace_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); stacktrace_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * optional string stacktrace = 3; - */ - public com.google.protobuf.ByteString - getStacktraceBytes() { - java.lang.Object ref = stacktrace_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - stacktrace_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string stacktrace = 3; - */ - public Builder setStacktrace( - java.lang.String value) { + public Builder setStacktrace(String value) { if (value == null) { throw new NullPointerException(); } @@ -1877,243 +1327,82 @@ public final class CmdlineRemoteProto { return this; } - /** - * optional string stacktrace = 3; - */ public Builder clearStacktrace() { bitField0_ = (bitField0_ & ~0x00000004); stacktrace_ = getDefaultInstance().getStacktrace(); return this; } - /** - * optional string stacktrace = 3; - */ - public Builder setStacktraceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + void setStacktrace(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000004; stacktrace_ = value; - return this; } - + // @@protoc_insertion_point(builder_scope:org.jetbrains.jpsservice.Message.Failure) } - + static { defaultInstance = new Failure(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:org.jetbrains.jpsservice.Message.Failure) } - + public interface ControllerMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required .org.jetbrains.jpsservice.Message.ControllerMessage.Type type = 1; - /** - * required .org.jetbrains.jpsservice.Message.ControllerMessage.Type type = 1; - */ boolean hasType(); - /** - * required .org.jetbrains.jpsservice.Message.ControllerMessage.Type type = 1; - */ org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.Type getType(); - + // optional .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage params_message = 2; - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage params_message = 2; - */ boolean hasParamsMessage(); - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage params_message = 2; - */ org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage getParamsMessage(); - + // optional .org.jetbrains.jpsservice.Message.ControllerMessage.FSEvent fs_event = 3; - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.FSEvent fs_event = 3; - */ boolean hasFsEvent(); - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.FSEvent fs_event = 3; - */ org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent getFsEvent(); - + // optional .org.jetbrains.jpsservice.Message.ControllerMessage.ConstantSearchResult constant_search_result = 4; - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.ConstantSearchResult constant_search_result = 4; - */ boolean hasConstantSearchResult(); - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.ConstantSearchResult constant_search_result = 4; - */ org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult getConstantSearchResult(); } - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.ControllerMessage} - */ public static final class ControllerMessage extends com.google.protobuf.GeneratedMessageLite implements ControllerMessageOrBuilder { // Use ControllerMessage.newBuilder() to construct. - private ControllerMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private ControllerMessage(Builder builder) { super(builder); - } private ControllerMessage(boolean noInit) {} - + private static final ControllerMessage defaultInstance; public static ControllerMessage getDefaultInstance() { return defaultInstance; } - + public ControllerMessage getDefaultInstanceForType() { return defaultInstance; } - - private ControllerMessage( - 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.jps.api.CmdlineRemoteProto.Message.ControllerMessage.Type value = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.Type.valueOf(rawValue); - if (value != null) { - bitField0_ |= 0x00000001; - type_ = value; - } - break; - } - case 18: { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00000002) == 0x00000002)) { - subBuilder = paramsMessage_.toBuilder(); - } - paramsMessage_ = input.readMessage(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(paramsMessage_); - paramsMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000002; - break; - } - case 26: { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent.Builder subBuilder = null; - if (((bitField0_ & 0x00000004) == 0x00000004)) { - subBuilder = fsEvent_.toBuilder(); - } - fsEvent_ = input.readMessage(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(fsEvent_); - fsEvent_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000004; - break; - } - case 34: { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult.Builder subBuilder = null; - if (((bitField0_ & 0x00000008) == 0x00000008)) { - subBuilder = constantSearchResult_.toBuilder(); - } - constantSearchResult_ = input.readMessage(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(constantSearchResult_); - constantSearchResult_ = 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 ControllerMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ControllerMessage(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - /** - * Protobuf enum {@code org.jetbrains.jpsservice.Message.ControllerMessage.Type} - */ + public enum Type implements com.google.protobuf.Internal.EnumLite { - /** - * BUILD_PARAMETERS = 1; - */ BUILD_PARAMETERS(0, 1), - /** - * CANCEL_BUILD_COMMAND = 2; - */ CANCEL_BUILD_COMMAND(1, 2), - /** - * FS_EVENT = 3; - */ FS_EVENT(2, 3), - /** - * CONSTANT_SEARCH_RESULT = 4; - */ CONSTANT_SEARCH_RESULT(3, 4), ; - - /** - * BUILD_PARAMETERS = 1; - */ + public static final int BUILD_PARAMETERS_VALUE = 1; - /** - * CANCEL_BUILD_COMMAND = 2; - */ public static final int CANCEL_BUILD_COMMAND_VALUE = 2; - /** - * FS_EVENT = 3; - */ public static final int FS_EVENT_VALUE = 3; - /** - * CONSTANT_SEARCH_RESULT = 4; - */ public static final int CONSTANT_SEARCH_RESULT_VALUE = 4; - - + + public final int getNumber() { return value; } - + public static Type valueOf(int value) { switch (value) { case 1: return BUILD_PARAMETERS; @@ -2123,7 +1412,7 @@ public final class CmdlineRemoteProto { default: return null; } } - + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; @@ -2135,242 +1424,90 @@ public final class CmdlineRemoteProto { return Type.valueOf(number); } }; - + private final int value; - + private Type(int index, int value) { this.value = value; } - + // @@protoc_insertion_point(enum_scope:org.jetbrains.jpsservice.Message.ControllerMessage.Type) } - + public interface FSEventOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint64 ordinal = 1; - /** - * required uint64 ordinal = 1; - */ boolean hasOrdinal(); - /** - * required uint64 ordinal = 1; - */ long getOrdinal(); - + // repeated string changed_paths = 2; - /** - * repeated string changed_paths = 2; - */ - java.util.List - getChangedPathsList(); - /** - * repeated string changed_paths = 2; - */ + java.util.List getChangedPathsList(); int getChangedPathsCount(); - /** - * repeated string changed_paths = 2; - */ - java.lang.String getChangedPaths(int index); - /** - * repeated string changed_paths = 2; - */ - com.google.protobuf.ByteString - getChangedPathsBytes(int index); - + String getChangedPaths(int index); + // repeated string deleted_paths = 3; - /** - * repeated string deleted_paths = 3; - */ - java.util.List - getDeletedPathsList(); - /** - * repeated string deleted_paths = 3; - */ + java.util.List getDeletedPathsList(); int getDeletedPathsCount(); - /** - * repeated string deleted_paths = 3; - */ - java.lang.String getDeletedPaths(int index); - /** - * repeated string deleted_paths = 3; - */ - com.google.protobuf.ByteString - getDeletedPathsBytes(int index); + String getDeletedPaths(int index); } - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.ControllerMessage.FSEvent} - */ public static final class FSEvent extends com.google.protobuf.GeneratedMessageLite implements FSEventOrBuilder { // Use FSEvent.newBuilder() to construct. - private FSEvent(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private FSEvent(Builder builder) { super(builder); - } private FSEvent(boolean noInit) {} - + private static final FSEvent defaultInstance; public static FSEvent getDefaultInstance() { return defaultInstance; } - + public FSEvent getDefaultInstanceForType() { return defaultInstance; } - - private FSEvent( - 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; - ordinal_ = input.readUInt64(); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { - changedPaths_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - changedPaths_.add(input.readBytes()); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { - deletedPaths_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; - } - deletedPaths_.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_ & 0x00000002) == 0x00000002)) { - changedPaths_ = new com.google.protobuf.UnmodifiableLazyStringList(changedPaths_); - } - if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { - deletedPaths_ = new com.google.protobuf.UnmodifiableLazyStringList(deletedPaths_); - } - makeExtensionsImmutable(); - } - } - public static com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - public FSEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FSEvent(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - + private int bitField0_; // required uint64 ordinal = 1; public static final int ORDINAL_FIELD_NUMBER = 1; private long ordinal_; - /** - * required uint64 ordinal = 1; - */ public boolean hasOrdinal() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required uint64 ordinal = 1; - */ public long getOrdinal() { return ordinal_; } - + // repeated string changed_paths = 2; public static final int CHANGED_PATHS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList changedPaths_; - /** - * repeated string changed_paths = 2; - */ - public java.util.List + public java.util.List getChangedPathsList() { return changedPaths_; } - /** - * repeated string changed_paths = 2; - */ public int getChangedPathsCount() { return changedPaths_.size(); } - /** - * repeated string changed_paths = 2; - */ - public java.lang.String getChangedPaths(int index) { + public String getChangedPaths(int index) { return changedPaths_.get(index); } - /** - * repeated string changed_paths = 2; - */ - public com.google.protobuf.ByteString - getChangedPathsBytes(int index) { - return changedPaths_.getByteString(index); - } - + // repeated string deleted_paths = 3; public static final int DELETED_PATHS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList deletedPaths_; - /** - * repeated string deleted_paths = 3; - */ - public java.util.List + public java.util.List getDeletedPathsList() { return deletedPaths_; } - /** - * repeated string deleted_paths = 3; - */ public int getDeletedPathsCount() { return deletedPaths_.size(); } - /** - * repeated string deleted_paths = 3; - */ - public java.lang.String getDeletedPaths(int index) { + public String getDeletedPaths(int index) { return deletedPaths_.get(index); } - /** - * repeated string deleted_paths = 3; - */ - public com.google.protobuf.ByteString - getDeletedPathsBytes(int index) { - return deletedPaths_.getByteString(index); - } - + private void initFields() { ordinal_ = 0L; changedPaths_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -2380,7 +1517,7 @@ public final class CmdlineRemoteProto { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasOrdinal()) { memoizedIsInitialized = 0; return false; @@ -2388,7 +1525,7 @@ public final class CmdlineRemoteProto { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -2402,12 +1539,12 @@ public final class CmdlineRemoteProto { output.writeBytes(3, deletedPaths_.getByteString(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 @@ -2434,77 +1571,88 @@ public final class CmdlineRemoteProto { 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.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input, extensionRegistry)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.ControllerMessage.FSEvent} - */ + public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent, Builder> @@ -2513,13 +1661,13 @@ public final class CmdlineRemoteProto { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); ordinal_ = 0L; @@ -2530,15 +1678,15 @@ public final class CmdlineRemoteProto { bitField0_ = (bitField0_ & ~0x00000004); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent getDefaultInstanceForType() { return org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent.getDefaultInstance(); } - + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent build() { org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent result = buildPartial(); if (!result.isInitialized()) { @@ -2546,7 +1694,17 @@ public final class CmdlineRemoteProto { } return result; } - + + private org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return result; + } + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent buildPartial() { org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent result = new org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent(this); int from_bitField0_ = bitField0_; @@ -2570,7 +1728,7 @@ public final class CmdlineRemoteProto { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent other) { if (other == org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent.getDefaultInstance()) return this; if (other.hasOrdinal()) { @@ -2598,7 +1756,7 @@ public final class CmdlineRemoteProto { } return this; } - + public final boolean isInitialized() { if (!hasOrdinal()) { @@ -2606,59 +1764,66 @@ public final class CmdlineRemoteProto { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + while (true) { + int tag = input.readTag(); + switch (tag) { + case 0: + + return this; + default: { + if (!parseUnknownField(input, extensionRegistry, tag)) { + + return this; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + ordinal_ = input.readUInt64(); + break; + } + case 18: { + ensureChangedPathsIsMutable(); + changedPaths_.add(input.readBytes()); + break; + } + case 26: { + ensureDeletedPathsIsMutable(); + deletedPaths_.add(input.readBytes()); + break; + } } } - return this; } + private int bitField0_; - + // required uint64 ordinal = 1; private long ordinal_ ; - /** - * required uint64 ordinal = 1; - */ public boolean hasOrdinal() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required uint64 ordinal = 1; - */ public long getOrdinal() { return ordinal_; } - /** - * required uint64 ordinal = 1; - */ public Builder setOrdinal(long value) { bitField0_ |= 0x00000001; ordinal_ = value; return this; } - /** - * required uint64 ordinal = 1; - */ public Builder clearOrdinal() { bitField0_ = (bitField0_ & ~0x00000001); ordinal_ = 0L; return this; } - + // repeated string changed_paths = 2; private com.google.protobuf.LazyStringList changedPaths_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureChangedPathsIsMutable() { @@ -2667,37 +1832,18 @@ public final class CmdlineRemoteProto { bitField0_ |= 0x00000002; } } - /** - * repeated string changed_paths = 2; - */ - public java.util.List + public java.util.List getChangedPathsList() { return java.util.Collections.unmodifiableList(changedPaths_); } - /** - * repeated string changed_paths = 2; - */ public int getChangedPathsCount() { return changedPaths_.size(); } - /** - * repeated string changed_paths = 2; - */ - public java.lang.String getChangedPaths(int index) { + public String getChangedPaths(int index) { return changedPaths_.get(index); } - /** - * repeated string changed_paths = 2; - */ - public com.google.protobuf.ByteString - getChangedPathsBytes(int index) { - return changedPaths_.getByteString(index); - } - /** - * repeated string changed_paths = 2; - */ public Builder setChangedPaths( - int index, java.lang.String value) { + int index, String value) { if (value == null) { throw new NullPointerException(); } @@ -2706,11 +1852,7 @@ public final class CmdlineRemoteProto { return this; } - /** - * repeated string changed_paths = 2; - */ - public Builder addChangedPaths( - java.lang.String value) { + public Builder addChangedPaths(String value) { if (value == null) { throw new NullPointerException(); } @@ -2719,39 +1861,25 @@ public final class CmdlineRemoteProto { return this; } - /** - * repeated string changed_paths = 2; - */ public Builder addAllChangedPaths( - java.lang.Iterable values) { + java.lang.Iterable values) { ensureChangedPathsIsMutable(); super.addAll(values, changedPaths_); return this; } - /** - * repeated string changed_paths = 2; - */ public Builder clearChangedPaths() { changedPaths_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); return this; } - /** - * repeated string changed_paths = 2; - */ - public Builder addChangedPathsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureChangedPathsIsMutable(); + void addChangedPaths(com.google.protobuf.ByteString value) { + ensureChangedPathsIsMutable(); changedPaths_.add(value); - return this; } - + // repeated string deleted_paths = 3; private com.google.protobuf.LazyStringList deletedPaths_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDeletedPathsIsMutable() { @@ -2760,37 +1888,18 @@ public final class CmdlineRemoteProto { bitField0_ |= 0x00000004; } } - /** - * repeated string deleted_paths = 3; - */ - public java.util.List + public java.util.List getDeletedPathsList() { return java.util.Collections.unmodifiableList(deletedPaths_); } - /** - * repeated string deleted_paths = 3; - */ public int getDeletedPathsCount() { return deletedPaths_.size(); } - /** - * repeated string deleted_paths = 3; - */ - public java.lang.String getDeletedPaths(int index) { + public String getDeletedPaths(int index) { return deletedPaths_.get(index); } - /** - * repeated string deleted_paths = 3; - */ - public com.google.protobuf.ByteString - getDeletedPathsBytes(int index) { - return deletedPaths_.getByteString(index); - } - /** - * repeated string deleted_paths = 3; - */ public Builder setDeletedPaths( - int index, java.lang.String value) { + int index, String value) { if (value == null) { throw new NullPointerException(); } @@ -2799,11 +1908,7 @@ public final class CmdlineRemoteProto { return this; } - /** - * repeated string deleted_paths = 3; - */ - public Builder addDeletedPaths( - java.lang.String value) { + public Builder addDeletedPaths(String value) { if (value == null) { throw new NullPointerException(); } @@ -2812,186 +1917,94 @@ public final class CmdlineRemoteProto { return this; } - /** - * repeated string deleted_paths = 3; - */ public Builder addAllDeletedPaths( - java.lang.Iterable values) { + java.lang.Iterable values) { ensureDeletedPathsIsMutable(); super.addAll(values, deletedPaths_); return this; } - /** - * repeated string deleted_paths = 3; - */ public Builder clearDeletedPaths() { deletedPaths_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); return this; } - /** - * repeated string deleted_paths = 3; - */ - public Builder addDeletedPathsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDeletedPathsIsMutable(); + void addDeletedPaths(com.google.protobuf.ByteString value) { + ensureDeletedPathsIsMutable(); deletedPaths_.add(value); - return this; } - + // @@protoc_insertion_point(builder_scope:org.jetbrains.jpsservice.Message.ControllerMessage.FSEvent) } - + static { defaultInstance = new FSEvent(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:org.jetbrains.jpsservice.Message.ControllerMessage.FSEvent) } - + public interface GlobalSettingsOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required string global_options_path = 5; - /** - * required string global_options_path = 5; - */ boolean hasGlobalOptionsPath(); - /** - * required string global_options_path = 5; - */ - java.lang.String getGlobalOptionsPath(); - /** - * required string global_options_path = 5; - */ - com.google.protobuf.ByteString - getGlobalOptionsPathBytes(); + String getGlobalOptionsPath(); } - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings} - */ public static final class GlobalSettings extends com.google.protobuf.GeneratedMessageLite implements GlobalSettingsOrBuilder { // Use GlobalSettings.newBuilder() to construct. - private GlobalSettings(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private GlobalSettings(Builder builder) { super(builder); - } private GlobalSettings(boolean noInit) {} - + private static final GlobalSettings defaultInstance; public static GlobalSettings getDefaultInstance() { return defaultInstance; } - + public GlobalSettings getDefaultInstanceForType() { return defaultInstance; } - - private GlobalSettings( - 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 42: { - bitField0_ |= 0x00000001; - globalOptionsPath_ = 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 { - makeExtensionsImmutable(); - } - } - public static com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - public GlobalSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GlobalSettings(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - + private int bitField0_; // required string global_options_path = 5; public static final int GLOBAL_OPTIONS_PATH_FIELD_NUMBER = 5; private java.lang.Object globalOptionsPath_; - /** - * required string global_options_path = 5; - */ public boolean hasGlobalOptionsPath() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required string global_options_path = 5; - */ - public java.lang.String getGlobalOptionsPath() { + public String getGlobalOptionsPath() { java.lang.Object ref = globalOptionsPath_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + if (ref instanceof String) { + return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { globalOptionsPath_ = s; } return s; } } - /** - * required string global_options_path = 5; - */ - public com.google.protobuf.ByteString - getGlobalOptionsPathBytes() { + private com.google.protobuf.ByteString getGlobalOptionsPathBytes() { java.lang.Object ref = globalOptionsPath_; - if (ref instanceof java.lang.String) { + if (ref instanceof String) { com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString.copyFromUtf8((String) ref); globalOptionsPath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - + private void initFields() { globalOptionsPath_ = ""; } @@ -2999,7 +2012,7 @@ public final class CmdlineRemoteProto { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGlobalOptionsPath()) { memoizedIsInitialized = 0; return false; @@ -3007,7 +2020,7 @@ public final class CmdlineRemoteProto { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -3015,12 +2028,12 @@ public final class CmdlineRemoteProto { output.writeBytes(5, getGlobalOptionsPathBytes()); } } - + 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 @@ -3029,77 +2042,88 @@ public final class CmdlineRemoteProto { 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.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input, extensionRegistry)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings} - */ + public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings, Builder> @@ -3108,28 +2132,28 @@ public final class CmdlineRemoteProto { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); globalOptionsPath_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings getDefaultInstanceForType() { return org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings.getDefaultInstance(); } - + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings build() { org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings result = buildPartial(); if (!result.isInitialized()) { @@ -3137,7 +2161,17 @@ public final class CmdlineRemoteProto { } return result; } - + + private org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return result; + } + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings buildPartial() { org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings result = new org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings(this); int from_bitField0_ = bitField0_; @@ -3149,17 +2183,15 @@ public final class CmdlineRemoteProto { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings other) { if (other == org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings.getDefaultInstance()) return this; if (other.hasGlobalOptionsPath()) { - bitField0_ |= 0x00000001; - globalOptionsPath_ = other.globalOptionsPath_; - + setGlobalOptionsPath(other.getGlobalOptionsPath()); } return this; } - + public final boolean isInitialized() { if (!hasGlobalOptionsPath()) { @@ -3167,69 +2199,51 @@ public final class CmdlineRemoteProto { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + while (true) { + int tag = input.readTag(); + switch (tag) { + case 0: + + return this; + default: { + if (!parseUnknownField(input, extensionRegistry, tag)) { + + return this; + } + break; + } + case 42: { + bitField0_ |= 0x00000001; + globalOptionsPath_ = input.readBytes(); + break; + } } } - return this; } + private int bitField0_; - + // required string global_options_path = 5; private java.lang.Object globalOptionsPath_ = ""; - /** - * required string global_options_path = 5; - */ public boolean hasGlobalOptionsPath() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required string global_options_path = 5; - */ - public java.lang.String getGlobalOptionsPath() { + public String getGlobalOptionsPath() { java.lang.Object ref = globalOptionsPath_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); globalOptionsPath_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * required string global_options_path = 5; - */ - public com.google.protobuf.ByteString - getGlobalOptionsPathBytes() { - java.lang.Object ref = globalOptionsPath_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - globalOptionsPath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * required string global_options_path = 5; - */ - public Builder setGlobalOptionsPath( - java.lang.String value) { + public Builder setGlobalOptionsPath(String value) { if (value == null) { throw new NullPointerException(); } @@ -3238,292 +2252,93 @@ public final class CmdlineRemoteProto { return this; } - /** - * required string global_options_path = 5; - */ public Builder clearGlobalOptionsPath() { bitField0_ = (bitField0_ & ~0x00000001); globalOptionsPath_ = getDefaultInstance().getGlobalOptionsPath(); return this; } - /** - * required string global_options_path = 5; - */ - public Builder setGlobalOptionsPathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + void setGlobalOptionsPath(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000001; globalOptionsPath_ = value; - return this; } - + // @@protoc_insertion_point(builder_scope:org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings) } - + static { defaultInstance = new GlobalSettings(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings) } - + public interface ParametersMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.Type build_type = 1; - /** - * required .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.Type build_type = 1; - */ boolean hasBuildType(); - /** - * required .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.Type build_type = 1; - */ org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.Type getBuildType(); - + // optional .org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings global_settings = 2; - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings global_settings = 2; - */ boolean hasGlobalSettings(); - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings global_settings = 2; - */ org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings getGlobalSettings(); - + // optional string project_id = 3; - /** - * optional string project_id = 3; - */ boolean hasProjectId(); - /** - * optional string project_id = 3; - */ - java.lang.String getProjectId(); - /** - * optional string project_id = 3; - */ - com.google.protobuf.ByteString - getProjectIdBytes(); - + String getProjectId(); + // repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4; - /** - * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4; - */ java.util.List getScopeList(); - /** - * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4; - */ org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope getScope(int index); - /** - * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4; - */ int getScopeCount(); - + // repeated string file_path = 5; - /** - * repeated string file_path = 5; - */ - java.util.List - getFilePathList(); - /** - * repeated string file_path = 5; - */ + java.util.List getFilePathList(); int getFilePathCount(); - /** - * repeated string file_path = 5; - */ - java.lang.String getFilePath(int index); - /** - * repeated string file_path = 5; - */ - com.google.protobuf.ByteString - getFilePathBytes(int index); - + String getFilePath(int index); + // repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6; - /** - * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6; - */ java.util.List getBuilderParameterList(); - /** - * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6; - */ org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair getBuilderParameter(int index); - /** - * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6; - */ int getBuilderParameterCount(); } - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage} - */ public static final class ParametersMessage extends com.google.protobuf.GeneratedMessageLite implements ParametersMessageOrBuilder { // Use ParametersMessage.newBuilder() to construct. - private ParametersMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private ParametersMessage(Builder builder) { super(builder); - } private ParametersMessage(boolean noInit) {} - + private static final ParametersMessage defaultInstance; public static ParametersMessage getDefaultInstance() { return defaultInstance; } - + public ParametersMessage getDefaultInstanceForType() { return defaultInstance; } - - private ParametersMessage( - 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.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.Type value = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.Type.valueOf(rawValue); - if (value != null) { - bitField0_ |= 0x00000001; - buildType_ = value; - } - break; - } - case 18: { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings.Builder subBuilder = null; - if (((bitField0_ & 0x00000002) == 0x00000002)) { - subBuilder = globalSettings_.toBuilder(); - } - globalSettings_ = input.readMessage(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(globalSettings_); - globalSettings_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000002; - break; - } - case 26: { - bitField0_ |= 0x00000004; - projectId_ = input.readBytes(); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { - scope_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - scope_.add(input.readMessage(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope.PARSER, extensionRegistry)); - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { - filePath_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000010; - } - filePath_.add(input.readBytes()); - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { - builderParameter_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000020; - } - builderParameter_.add(input.readMessage(org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair.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)) { - scope_ = java.util.Collections.unmodifiableList(scope_); - } - if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { - filePath_ = new com.google.protobuf.UnmodifiableLazyStringList(filePath_); - } - if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { - builderParameter_ = java.util.Collections.unmodifiableList(builderParameter_); - } - makeExtensionsImmutable(); - } - } - public static com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - public ParametersMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ParametersMessage(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - /** - * Protobuf enum {@code org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.Type} - */ + public enum Type implements com.google.protobuf.Internal.EnumLite { - /** - * BUILD = 1; - */ BUILD(0, 1), - /** - * CLEAN = 2; - */ CLEAN(1, 2), - /** - * UP_TO_DATE_CHECK = 3; - */ UP_TO_DATE_CHECK(2, 3), ; - - /** - * BUILD = 1; - */ + public static final int BUILD_VALUE = 1; - /** - * CLEAN = 2; - */ public static final int CLEAN_VALUE = 2; - /** - * UP_TO_DATE_CHECK = 3; - */ public static final int UP_TO_DATE_CHECK_VALUE = 3; - - + + public final int getNumber() { return value; } - + public static Type valueOf(int value) { switch (value) { case 1: return BUILD; @@ -3532,7 +2347,7 @@ public final class CmdlineRemoteProto { default: return null; } } - + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; @@ -3544,275 +2359,121 @@ public final class CmdlineRemoteProto { return Type.valueOf(number); } }; - + private final int value; - + private Type(int index, int value) { this.value = value; } - + // @@protoc_insertion_point(enum_scope:org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.Type) } - + public interface TargetTypeBuildScopeOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required string type_id = 1; - /** - * required string type_id = 1; - */ boolean hasTypeId(); - /** - * required string type_id = 1; - */ - java.lang.String getTypeId(); - /** - * required string type_id = 1; - */ - com.google.protobuf.ByteString - getTypeIdBytes(); - + String getTypeId(); + // optional bool all_targets = 2; - /** - * optional bool all_targets = 2; - */ boolean hasAllTargets(); - /** - * optional bool all_targets = 2; - */ boolean getAllTargets(); - + // repeated string target_id = 3; - /** - * repeated string target_id = 3; - */ - java.util.List - getTargetIdList(); - /** - * repeated string target_id = 3; - */ + java.util.List getTargetIdList(); int getTargetIdCount(); - /** - * repeated string target_id = 3; - */ - java.lang.String getTargetId(int index); - /** - * repeated string target_id = 3; - */ - com.google.protobuf.ByteString - getTargetIdBytes(int index); - + String getTargetId(int index); + // required bool force_build = 4; - /** - * required bool force_build = 4; - */ boolean hasForceBuild(); - /** - * required bool force_build = 4; - */ boolean getForceBuild(); } - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope} - */ public static final class TargetTypeBuildScope extends com.google.protobuf.GeneratedMessageLite implements TargetTypeBuildScopeOrBuilder { // Use TargetTypeBuildScope.newBuilder() to construct. - private TargetTypeBuildScope(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private TargetTypeBuildScope(Builder builder) { super(builder); - } private TargetTypeBuildScope(boolean noInit) {} - + private static final TargetTypeBuildScope defaultInstance; public static TargetTypeBuildScope getDefaultInstance() { return defaultInstance; } - + public TargetTypeBuildScope getDefaultInstanceForType() { return defaultInstance; } - - private TargetTypeBuildScope( - 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: { - bitField0_ |= 0x00000001; - typeId_ = input.readBytes(); - break; - } - case 16: { - bitField0_ |= 0x00000002; - allTargets_ = input.readBool(); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { - targetId_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; - } - targetId_.add(input.readBytes()); - break; - } - case 32: { - bitField0_ |= 0x00000004; - forceBuild_ = input.readBool(); - 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_ & 0x00000004) == 0x00000004)) { - targetId_ = new com.google.protobuf.UnmodifiableLazyStringList(targetId_); - } - makeExtensionsImmutable(); - } - } - public static com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - public TargetTypeBuildScope parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TargetTypeBuildScope(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - + private int bitField0_; // required string type_id = 1; public static final int TYPE_ID_FIELD_NUMBER = 1; private java.lang.Object typeId_; - /** - * required string type_id = 1; - */ public boolean hasTypeId() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required string type_id = 1; - */ - public java.lang.String getTypeId() { + public String getTypeId() { java.lang.Object ref = typeId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + if (ref instanceof String) { + return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { typeId_ = s; } return s; } } - /** - * required string type_id = 1; - */ - public com.google.protobuf.ByteString - getTypeIdBytes() { + private com.google.protobuf.ByteString getTypeIdBytes() { java.lang.Object ref = typeId_; - if (ref instanceof java.lang.String) { + if (ref instanceof String) { com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString.copyFromUtf8((String) ref); typeId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - + // optional bool all_targets = 2; public static final int ALL_TARGETS_FIELD_NUMBER = 2; private boolean allTargets_; - /** - * optional bool all_targets = 2; - */ public boolean hasAllTargets() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * optional bool all_targets = 2; - */ public boolean getAllTargets() { return allTargets_; } - + // repeated string target_id = 3; public static final int TARGET_ID_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList targetId_; - /** - * repeated string target_id = 3; - */ - public java.util.List + public java.util.List getTargetIdList() { return targetId_; } - /** - * repeated string target_id = 3; - */ public int getTargetIdCount() { return targetId_.size(); } - /** - * repeated string target_id = 3; - */ - public java.lang.String getTargetId(int index) { + public String getTargetId(int index) { return targetId_.get(index); } - /** - * repeated string target_id = 3; - */ - public com.google.protobuf.ByteString - getTargetIdBytes(int index) { - return targetId_.getByteString(index); - } - + // required bool force_build = 4; public static final int FORCE_BUILD_FIELD_NUMBER = 4; private boolean forceBuild_; - /** - * required bool force_build = 4; - */ public boolean hasForceBuild() { return ((bitField0_ & 0x00000004) == 0x00000004); } - /** - * required bool force_build = 4; - */ public boolean getForceBuild() { return forceBuild_; } - + private void initFields() { typeId_ = ""; allTargets_ = false; @@ -3823,7 +2484,7 @@ public final class CmdlineRemoteProto { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasTypeId()) { memoizedIsInitialized = 0; return false; @@ -3835,7 +2496,7 @@ public final class CmdlineRemoteProto { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -3852,12 +2513,12 @@ public final class CmdlineRemoteProto { output.writeBool(4, forceBuild_); } } - + 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 @@ -3883,77 +2544,88 @@ public final class CmdlineRemoteProto { 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.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input, extensionRegistry)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope} - */ + public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope, Builder> @@ -3962,13 +2634,13 @@ public final class CmdlineRemoteProto { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); typeId_ = ""; @@ -3981,15 +2653,15 @@ public final class CmdlineRemoteProto { bitField0_ = (bitField0_ & ~0x00000008); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope getDefaultInstanceForType() { return org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope.getDefaultInstance(); } - + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope build() { org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope result = buildPartial(); if (!result.isInitialized()) { @@ -3997,7 +2669,17 @@ public final class CmdlineRemoteProto { } return result; } - + + private org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return result; + } + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope buildPartial() { org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope result = new org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope(this); int from_bitField0_ = bitField0_; @@ -4023,13 +2705,11 @@ public final class CmdlineRemoteProto { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope other) { if (other == org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope.getDefaultInstance()) return this; if (other.hasTypeId()) { - bitField0_ |= 0x00000001; - typeId_ = other.typeId_; - + setTypeId(other.getTypeId()); } if (other.hasAllTargets()) { setAllTargets(other.getAllTargets()); @@ -4049,7 +2729,7 @@ public final class CmdlineRemoteProto { } return this; } - + public final boolean isInitialized() { if (!hasTypeId()) { @@ -4061,69 +2741,66 @@ public final class CmdlineRemoteProto { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + while (true) { + int tag = input.readTag(); + switch (tag) { + case 0: + + return this; + default: { + if (!parseUnknownField(input, extensionRegistry, tag)) { + + return this; + } + break; + } + case 10: { + bitField0_ |= 0x00000001; + typeId_ = input.readBytes(); + break; + } + case 16: { + bitField0_ |= 0x00000002; + allTargets_ = input.readBool(); + break; + } + case 26: { + ensureTargetIdIsMutable(); + targetId_.add(input.readBytes()); + break; + } + case 32: { + bitField0_ |= 0x00000008; + forceBuild_ = input.readBool(); + break; + } } } - return this; } + private int bitField0_; - + // required string type_id = 1; private java.lang.Object typeId_ = ""; - /** - * required string type_id = 1; - */ public boolean hasTypeId() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required string type_id = 1; - */ - public java.lang.String getTypeId() { + public String getTypeId() { java.lang.Object ref = typeId_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); typeId_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * required string type_id = 1; - */ - public com.google.protobuf.ByteString - getTypeIdBytes() { - java.lang.Object ref = typeId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - typeId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * required string type_id = 1; - */ - public Builder setTypeId( - java.lang.String value) { + public Builder setTypeId(String value) { if (value == null) { throw new NullPointerException(); } @@ -4132,62 +2809,39 @@ public final class CmdlineRemoteProto { return this; } - /** - * required string type_id = 1; - */ public Builder clearTypeId() { bitField0_ = (bitField0_ & ~0x00000001); typeId_ = getDefaultInstance().getTypeId(); return this; } - /** - * required string type_id = 1; - */ - public Builder setTypeIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + void setTypeId(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000001; typeId_ = value; - return this; } - + // optional bool all_targets = 2; private boolean allTargets_ ; - /** - * optional bool all_targets = 2; - */ public boolean hasAllTargets() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * optional bool all_targets = 2; - */ public boolean getAllTargets() { return allTargets_; } - /** - * optional bool all_targets = 2; - */ public Builder setAllTargets(boolean value) { bitField0_ |= 0x00000002; allTargets_ = value; return this; } - /** - * optional bool all_targets = 2; - */ public Builder clearAllTargets() { bitField0_ = (bitField0_ & ~0x00000002); allTargets_ = false; return this; } - + // repeated string target_id = 3; private com.google.protobuf.LazyStringList targetId_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTargetIdIsMutable() { @@ -4196,37 +2850,18 @@ public final class CmdlineRemoteProto { bitField0_ |= 0x00000004; } } - /** - * repeated string target_id = 3; - */ - public java.util.List + public java.util.List getTargetIdList() { return java.util.Collections.unmodifiableList(targetId_); } - /** - * repeated string target_id = 3; - */ public int getTargetIdCount() { return targetId_.size(); } - /** - * repeated string target_id = 3; - */ - public java.lang.String getTargetId(int index) { + public String getTargetId(int index) { return targetId_.get(index); } - /** - * repeated string target_id = 3; - */ - public com.google.protobuf.ByteString - getTargetIdBytes(int index) { - return targetId_.getByteString(index); - } - /** - * repeated string target_id = 3; - */ public Builder setTargetId( - int index, java.lang.String value) { + int index, String value) { if (value == null) { throw new NullPointerException(); } @@ -4235,11 +2870,7 @@ public final class CmdlineRemoteProto { return this; } - /** - * repeated string target_id = 3; - */ - public Builder addTargetId( - java.lang.String value) { + public Builder addTargetId(String value) { if (value == null) { throw new NullPointerException(); } @@ -4248,261 +2879,166 @@ public final class CmdlineRemoteProto { return this; } - /** - * repeated string target_id = 3; - */ public Builder addAllTargetId( - java.lang.Iterable values) { + java.lang.Iterable values) { ensureTargetIdIsMutable(); super.addAll(values, targetId_); return this; } - /** - * repeated string target_id = 3; - */ public Builder clearTargetId() { targetId_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); return this; } - /** - * repeated string target_id = 3; - */ - public Builder addTargetIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTargetIdIsMutable(); + void addTargetId(com.google.protobuf.ByteString value) { + ensureTargetIdIsMutable(); targetId_.add(value); - return this; } - + // required bool force_build = 4; private boolean forceBuild_ ; - /** - * required bool force_build = 4; - */ public boolean hasForceBuild() { return ((bitField0_ & 0x00000008) == 0x00000008); } - /** - * required bool force_build = 4; - */ public boolean getForceBuild() { return forceBuild_; } - /** - * required bool force_build = 4; - */ public Builder setForceBuild(boolean value) { bitField0_ |= 0x00000008; forceBuild_ = value; return this; } - /** - * required bool force_build = 4; - */ public Builder clearForceBuild() { bitField0_ = (bitField0_ & ~0x00000008); forceBuild_ = false; return this; } - + // @@protoc_insertion_point(builder_scope:org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope) } - + static { defaultInstance = new TargetTypeBuildScope(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope) } - + private int bitField0_; // required .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.Type build_type = 1; public static final int BUILD_TYPE_FIELD_NUMBER = 1; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.Type buildType_; - /** - * required .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.Type build_type = 1; - */ public boolean hasBuildType() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.Type build_type = 1; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.Type getBuildType() { return buildType_; } - + // optional .org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings global_settings = 2; public static final int GLOBAL_SETTINGS_FIELD_NUMBER = 2; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings globalSettings_; - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings global_settings = 2; - */ public boolean hasGlobalSettings() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings global_settings = 2; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings getGlobalSettings() { return globalSettings_; } - + // optional string project_id = 3; public static final int PROJECT_ID_FIELD_NUMBER = 3; private java.lang.Object projectId_; - /** - * optional string project_id = 3; - */ public boolean hasProjectId() { return ((bitField0_ & 0x00000004) == 0x00000004); } - /** - * optional string project_id = 3; - */ - public java.lang.String getProjectId() { + public String getProjectId() { java.lang.Object ref = projectId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + if (ref instanceof String) { + return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { projectId_ = s; } return s; } } - /** - * optional string project_id = 3; - */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + private com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; - if (ref instanceof java.lang.String) { + if (ref instanceof String) { com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString.copyFromUtf8((String) ref); projectId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - + // repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4; public static final int SCOPE_FIELD_NUMBER = 4; private java.util.List scope_; - /** - * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4; - */ public java.util.List getScopeList() { return scope_; } - /** - * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4; - */ public java.util.List getScopeOrBuilderList() { return scope_; } - /** - * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4; - */ public int getScopeCount() { return scope_.size(); } - /** - * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope getScope(int index) { return scope_.get(index); } - /** - * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScopeOrBuilder getScopeOrBuilder( int index) { return scope_.get(index); } - + // repeated string file_path = 5; public static final int FILE_PATH_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList filePath_; - /** - * repeated string file_path = 5; - */ - public java.util.List + public java.util.List getFilePathList() { return filePath_; } - /** - * repeated string file_path = 5; - */ public int getFilePathCount() { return filePath_.size(); } - /** - * repeated string file_path = 5; - */ - public java.lang.String getFilePath(int index) { + public String getFilePath(int index) { return filePath_.get(index); } - /** - * repeated string file_path = 5; - */ - public com.google.protobuf.ByteString - getFilePathBytes(int index) { - return filePath_.getByteString(index); - } - + // repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6; public static final int BUILDER_PARAMETER_FIELD_NUMBER = 6; private java.util.List builderParameter_; - /** - * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6; - */ public java.util.List getBuilderParameterList() { return builderParameter_; } - /** - * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6; - */ public java.util.List getBuilderParameterOrBuilderList() { return builderParameter_; } - /** - * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6; - */ public int getBuilderParameterCount() { return builderParameter_.size(); } - /** - * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair getBuilderParameter(int index) { return builderParameter_.get(index); } - /** - * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePairOrBuilder getBuilderParameterOrBuilder( int index) { return builderParameter_.get(index); } - + private void initFields() { buildType_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.Type.BUILD; globalSettings_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings.getDefaultInstance(); @@ -4515,7 +3051,7 @@ public final class CmdlineRemoteProto { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasBuildType()) { memoizedIsInitialized = 0; return false; @@ -4541,7 +3077,7 @@ public final class CmdlineRemoteProto { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -4564,12 +3100,12 @@ public final class CmdlineRemoteProto { output.writeMessage(6, builderParameter_.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 @@ -4603,77 +3139,88 @@ public final class CmdlineRemoteProto { 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.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input, extensionRegistry)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage} - */ + public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage, Builder> @@ -4682,13 +3229,13 @@ public final class CmdlineRemoteProto { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); buildType_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.Type.BUILD; @@ -4705,15 +3252,15 @@ public final class CmdlineRemoteProto { bitField0_ = (bitField0_ & ~0x00000020); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage getDefaultInstanceForType() { return org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.getDefaultInstance(); } - + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage build() { org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage result = buildPartial(); if (!result.isInitialized()) { @@ -4721,7 +3268,17 @@ public final class CmdlineRemoteProto { } return result; } - + + private org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return result; + } + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage buildPartial() { org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage result = new org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage(this); int from_bitField0_ = bitField0_; @@ -4757,7 +3314,7 @@ public final class CmdlineRemoteProto { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage other) { if (other == org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.getDefaultInstance()) return this; if (other.hasBuildType()) { @@ -4767,9 +3324,7 @@ public final class CmdlineRemoteProto { mergeGlobalSettings(other.getGlobalSettings()); } if (other.hasProjectId()) { - bitField0_ |= 0x00000004; - projectId_ = other.projectId_; - + setProjectId(other.getProjectId()); } if (!other.scope_.isEmpty()) { if (scope_.isEmpty()) { @@ -4803,7 +3358,7 @@ public final class CmdlineRemoteProto { } return this; } - + public final boolean isInitialized() { if (!hasBuildType()) { @@ -4829,43 +3384,78 @@ public final class CmdlineRemoteProto { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + while (true) { + int tag = input.readTag(); + switch (tag) { + case 0: + + return this; + default: { + if (!parseUnknownField(input, extensionRegistry, tag)) { + + return this; + } + break; + } + case 8: { + int rawValue = input.readEnum(); + org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.Type value = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.Type.valueOf(rawValue); + if (value != null) { + bitField0_ |= 0x00000001; + buildType_ = value; + } + break; + } + case 18: { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings.Builder subBuilder = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings.newBuilder(); + if (hasGlobalSettings()) { + subBuilder.mergeFrom(getGlobalSettings()); + } + input.readMessage(subBuilder, extensionRegistry); + setGlobalSettings(subBuilder.buildPartial()); + break; + } + case 26: { + bitField0_ |= 0x00000004; + projectId_ = input.readBytes(); + break; + } + case 34: { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope.Builder subBuilder = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope.newBuilder(); + input.readMessage(subBuilder, extensionRegistry); + addScope(subBuilder.buildPartial()); + break; + } + case 42: { + ensureFilePathIsMutable(); + filePath_.add(input.readBytes()); + break; + } + case 50: { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair.Builder subBuilder = org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair.newBuilder(); + input.readMessage(subBuilder, extensionRegistry); + addBuilderParameter(subBuilder.buildPartial()); + break; + } } } - return this; } + private int bitField0_; - + // required .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.Type build_type = 1; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.Type buildType_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.Type.BUILD; - /** - * required .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.Type build_type = 1; - */ public boolean hasBuildType() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.Type build_type = 1; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.Type getBuildType() { return buildType_; } - /** - * required .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.Type build_type = 1; - */ public Builder setBuildType(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.Type value) { if (value == null) { throw new NullPointerException(); @@ -4875,55 +3465,37 @@ public final class CmdlineRemoteProto { return this; } - /** - * required .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.Type build_type = 1; - */ public Builder clearBuildType() { bitField0_ = (bitField0_ & ~0x00000001); buildType_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.Type.BUILD; return this; } - + // optional .org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings global_settings = 2; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings globalSettings_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings.getDefaultInstance(); - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings global_settings = 2; - */ public boolean hasGlobalSettings() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings global_settings = 2; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings getGlobalSettings() { return globalSettings_; } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings global_settings = 2; - */ public Builder setGlobalSettings(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings value) { if (value == null) { throw new NullPointerException(); } globalSettings_ = value; - + bitField0_ |= 0x00000002; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings global_settings = 2; - */ public Builder setGlobalSettings( org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings.Builder builderForValue) { globalSettings_ = builderForValue.build(); - + bitField0_ |= 0x00000002; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings global_settings = 2; - */ public Builder mergeGlobalSettings(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings value) { if (((bitField0_ & 0x00000002) == 0x00000002) && globalSettings_ != org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings.getDefaultInstance()) { @@ -4932,63 +3504,33 @@ public final class CmdlineRemoteProto { } else { globalSettings_ = value; } - + bitField0_ |= 0x00000002; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings global_settings = 2; - */ public Builder clearGlobalSettings() { globalSettings_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000002); return this; } - + // optional string project_id = 3; private java.lang.Object projectId_ = ""; - /** - * optional string project_id = 3; - */ public boolean hasProjectId() { return ((bitField0_ & 0x00000004) == 0x00000004); } - /** - * optional string project_id = 3; - */ - public java.lang.String getProjectId() { + public String getProjectId() { java.lang.Object ref = projectId_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); projectId_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * optional string project_id = 3; - */ - public com.google.protobuf.ByteString - getProjectIdBytes() { - java.lang.Object ref = projectId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - projectId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string project_id = 3; - */ - public Builder setProjectId( - java.lang.String value) { + public Builder setProjectId(String value) { if (value == null) { throw new NullPointerException(); } @@ -4997,29 +3539,18 @@ public final class CmdlineRemoteProto { return this; } - /** - * optional string project_id = 3; - */ public Builder clearProjectId() { bitField0_ = (bitField0_ & ~0x00000004); projectId_ = getDefaultInstance().getProjectId(); return this; } - /** - * optional string project_id = 3; - */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + void setProjectId(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000004; projectId_ = value; - return this; } - + // repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4; private java.util.List scope_ = java.util.Collections.emptyList(); @@ -5029,28 +3560,16 @@ public final class CmdlineRemoteProto { bitField0_ |= 0x00000008; } } - - /** - * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4; - */ + public java.util.List getScopeList() { return java.util.Collections.unmodifiableList(scope_); } - /** - * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4; - */ public int getScopeCount() { return scope_.size(); } - /** - * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope getScope(int index) { return scope_.get(index); } - /** - * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4; - */ public Builder setScope( int index, org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope value) { if (value == null) { @@ -5058,34 +3577,25 @@ public final class CmdlineRemoteProto { } ensureScopeIsMutable(); scope_.set(index, value); - + return this; } - /** - * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4; - */ public Builder setScope( int index, org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope.Builder builderForValue) { ensureScopeIsMutable(); scope_.set(index, builderForValue.build()); - + return this; } - /** - * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4; - */ public Builder addScope(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope value) { if (value == null) { throw new NullPointerException(); } ensureScopeIsMutable(); scope_.add(value); - + return this; } - /** - * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4; - */ public Builder addScope( int index, org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope value) { if (value == null) { @@ -5093,58 +3603,43 @@ public final class CmdlineRemoteProto { } ensureScopeIsMutable(); scope_.add(index, value); - + return this; } - /** - * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4; - */ public Builder addScope( org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope.Builder builderForValue) { ensureScopeIsMutable(); scope_.add(builderForValue.build()); - + return this; } - /** - * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4; - */ public Builder addScope( int index, org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope.Builder builderForValue) { ensureScopeIsMutable(); scope_.add(index, builderForValue.build()); - + return this; } - /** - * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4; - */ public Builder addAllScope( java.lang.Iterable values) { ensureScopeIsMutable(); super.addAll(values, scope_); - + return this; } - /** - * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4; - */ public Builder clearScope() { scope_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); - + return this; } - /** - * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4; - */ public Builder removeScope(int index) { ensureScopeIsMutable(); scope_.remove(index); - + return this; } - + // repeated string file_path = 5; private com.google.protobuf.LazyStringList filePath_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureFilePathIsMutable() { @@ -5153,37 +3648,18 @@ public final class CmdlineRemoteProto { bitField0_ |= 0x00000010; } } - /** - * repeated string file_path = 5; - */ - public java.util.List + public java.util.List getFilePathList() { return java.util.Collections.unmodifiableList(filePath_); } - /** - * repeated string file_path = 5; - */ public int getFilePathCount() { return filePath_.size(); } - /** - * repeated string file_path = 5; - */ - public java.lang.String getFilePath(int index) { + public String getFilePath(int index) { return filePath_.get(index); } - /** - * repeated string file_path = 5; - */ - public com.google.protobuf.ByteString - getFilePathBytes(int index) { - return filePath_.getByteString(index); - } - /** - * repeated string file_path = 5; - */ public Builder setFilePath( - int index, java.lang.String value) { + int index, String value) { if (value == null) { throw new NullPointerException(); } @@ -5192,11 +3668,7 @@ public final class CmdlineRemoteProto { return this; } - /** - * repeated string file_path = 5; - */ - public Builder addFilePath( - java.lang.String value) { + public Builder addFilePath(String value) { if (value == null) { throw new NullPointerException(); } @@ -5205,39 +3677,25 @@ public final class CmdlineRemoteProto { return this; } - /** - * repeated string file_path = 5; - */ public Builder addAllFilePath( - java.lang.Iterable values) { + java.lang.Iterable values) { ensureFilePathIsMutable(); super.addAll(values, filePath_); return this; } - /** - * repeated string file_path = 5; - */ public Builder clearFilePath() { filePath_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000010); return this; } - /** - * repeated string file_path = 5; - */ - public Builder addFilePathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureFilePathIsMutable(); + void addFilePath(com.google.protobuf.ByteString value) { + ensureFilePathIsMutable(); filePath_.add(value); - return this; } - + // repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6; private java.util.List builderParameter_ = java.util.Collections.emptyList(); @@ -5247,28 +3705,16 @@ public final class CmdlineRemoteProto { bitField0_ |= 0x00000020; } } - - /** - * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6; - */ + public java.util.List getBuilderParameterList() { return java.util.Collections.unmodifiableList(builderParameter_); } - /** - * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6; - */ public int getBuilderParameterCount() { return builderParameter_.size(); } - /** - * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair getBuilderParameter(int index) { return builderParameter_.get(index); } - /** - * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6; - */ public Builder setBuilderParameter( int index, org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair value) { if (value == null) { @@ -5276,34 +3722,25 @@ public final class CmdlineRemoteProto { } ensureBuilderParameterIsMutable(); builderParameter_.set(index, value); - + return this; } - /** - * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6; - */ public Builder setBuilderParameter( int index, org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair.Builder builderForValue) { ensureBuilderParameterIsMutable(); builderParameter_.set(index, builderForValue.build()); - + return this; } - /** - * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6; - */ public Builder addBuilderParameter(org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair value) { if (value == null) { throw new NullPointerException(); } ensureBuilderParameterIsMutable(); builderParameter_.add(value); - + return this; } - /** - * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6; - */ public Builder addBuilderParameter( int index, org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair value) { if (value == null) { @@ -5311,360 +3748,181 @@ public final class CmdlineRemoteProto { } ensureBuilderParameterIsMutable(); builderParameter_.add(index, value); - + return this; } - /** - * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6; - */ public Builder addBuilderParameter( org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair.Builder builderForValue) { ensureBuilderParameterIsMutable(); builderParameter_.add(builderForValue.build()); - + return this; } - /** - * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6; - */ public Builder addBuilderParameter( int index, org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair.Builder builderForValue) { ensureBuilderParameterIsMutable(); builderParameter_.add(index, builderForValue.build()); - + return this; } - /** - * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6; - */ public Builder addAllBuilderParameter( java.lang.Iterable values) { ensureBuilderParameterIsMutable(); super.addAll(values, builderParameter_); - + return this; } - /** - * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6; - */ public Builder clearBuilderParameter() { builderParameter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); - + return this; } - /** - * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6; - */ public Builder removeBuilderParameter(int index) { ensureBuilderParameterIsMutable(); builderParameter_.remove(index); - + return this; } - + // @@protoc_insertion_point(builder_scope:org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage) } - + static { defaultInstance = new ParametersMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage) } - + public interface ConstantSearchResultOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required string owner_class_name = 1; - /** - * required string owner_class_name = 1; - */ boolean hasOwnerClassName(); - /** - * required string owner_class_name = 1; - */ - java.lang.String getOwnerClassName(); - /** - * required string owner_class_name = 1; - */ - com.google.protobuf.ByteString - getOwnerClassNameBytes(); - + String getOwnerClassName(); + // required string field_name = 2; - /** - * required string field_name = 2; - */ boolean hasFieldName(); - /** - * required string field_name = 2; - */ - java.lang.String getFieldName(); - /** - * required string field_name = 2; - */ - com.google.protobuf.ByteString - getFieldNameBytes(); - + String getFieldName(); + // required bool is_success = 3; - /** - * required bool is_success = 3; - */ boolean hasIsSuccess(); - /** - * required bool is_success = 3; - */ boolean getIsSuccess(); - + // repeated string path = 4; - /** - * repeated string path = 4; - */ - java.util.List - getPathList(); - /** - * repeated string path = 4; - */ + java.util.List getPathList(); int getPathCount(); - /** - * repeated string path = 4; - */ - java.lang.String getPath(int index); - /** - * repeated string path = 4; - */ - com.google.protobuf.ByteString - getPathBytes(int index); + String getPath(int index); } - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.ControllerMessage.ConstantSearchResult} - */ public static final class ConstantSearchResult extends com.google.protobuf.GeneratedMessageLite implements ConstantSearchResultOrBuilder { // Use ConstantSearchResult.newBuilder() to construct. - private ConstantSearchResult(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private ConstantSearchResult(Builder builder) { super(builder); - } private ConstantSearchResult(boolean noInit) {} - + private static final ConstantSearchResult defaultInstance; public static ConstantSearchResult getDefaultInstance() { return defaultInstance; } - + public ConstantSearchResult getDefaultInstanceForType() { return defaultInstance; } - - private ConstantSearchResult( - 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: { - bitField0_ |= 0x00000001; - ownerClassName_ = input.readBytes(); - break; - } - case 18: { - bitField0_ |= 0x00000002; - fieldName_ = input.readBytes(); - break; - } - case 24: { - bitField0_ |= 0x00000004; - isSuccess_ = input.readBool(); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { - path_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000008; - } - path_.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_ & 0x00000008) == 0x00000008)) { - path_ = new com.google.protobuf.UnmodifiableLazyStringList(path_); - } - makeExtensionsImmutable(); - } - } - public static com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - public ConstantSearchResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConstantSearchResult(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - + private int bitField0_; // required string owner_class_name = 1; public static final int OWNER_CLASS_NAME_FIELD_NUMBER = 1; private java.lang.Object ownerClassName_; - /** - * required string owner_class_name = 1; - */ public boolean hasOwnerClassName() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required string owner_class_name = 1; - */ - public java.lang.String getOwnerClassName() { + public String getOwnerClassName() { java.lang.Object ref = ownerClassName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + if (ref instanceof String) { + return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { ownerClassName_ = s; } return s; } } - /** - * required string owner_class_name = 1; - */ - public com.google.protobuf.ByteString - getOwnerClassNameBytes() { + private com.google.protobuf.ByteString getOwnerClassNameBytes() { java.lang.Object ref = ownerClassName_; - if (ref instanceof java.lang.String) { + if (ref instanceof String) { com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString.copyFromUtf8((String) ref); ownerClassName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - + // required string field_name = 2; public static final int FIELD_NAME_FIELD_NUMBER = 2; private java.lang.Object fieldName_; - /** - * required string field_name = 2; - */ public boolean hasFieldName() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * required string field_name = 2; - */ - public java.lang.String getFieldName() { + public String getFieldName() { java.lang.Object ref = fieldName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + if (ref instanceof String) { + return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { fieldName_ = s; } return s; } } - /** - * required string field_name = 2; - */ - public com.google.protobuf.ByteString - getFieldNameBytes() { + private com.google.protobuf.ByteString getFieldNameBytes() { java.lang.Object ref = fieldName_; - if (ref instanceof java.lang.String) { + if (ref instanceof String) { com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString.copyFromUtf8((String) ref); fieldName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - + // required bool is_success = 3; public static final int IS_SUCCESS_FIELD_NUMBER = 3; private boolean isSuccess_; - /** - * required bool is_success = 3; - */ public boolean hasIsSuccess() { return ((bitField0_ & 0x00000004) == 0x00000004); } - /** - * required bool is_success = 3; - */ public boolean getIsSuccess() { return isSuccess_; } - + // repeated string path = 4; public static final int PATH_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList path_; - /** - * repeated string path = 4; - */ - public java.util.List + public java.util.List getPathList() { return path_; } - /** - * repeated string path = 4; - */ public int getPathCount() { return path_.size(); } - /** - * repeated string path = 4; - */ - public java.lang.String getPath(int index) { + public String getPath(int index) { return path_.get(index); } - /** - * repeated string path = 4; - */ - public com.google.protobuf.ByteString - getPathBytes(int index) { - return path_.getByteString(index); - } - + private void initFields() { ownerClassName_ = ""; fieldName_ = ""; @@ -5675,7 +3933,7 @@ public final class CmdlineRemoteProto { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasOwnerClassName()) { memoizedIsInitialized = 0; return false; @@ -5691,7 +3949,7 @@ public final class CmdlineRemoteProto { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -5708,12 +3966,12 @@ public final class CmdlineRemoteProto { output.writeBytes(4, path_.getByteString(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 @@ -5739,77 +3997,88 @@ public final class CmdlineRemoteProto { 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.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input, extensionRegistry)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.ControllerMessage.ConstantSearchResult} - */ + public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult, Builder> @@ -5818,13 +4087,13 @@ public final class CmdlineRemoteProto { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); ownerClassName_ = ""; @@ -5837,15 +4106,15 @@ public final class CmdlineRemoteProto { bitField0_ = (bitField0_ & ~0x00000008); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult getDefaultInstanceForType() { return org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult.getDefaultInstance(); } - + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult build() { org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult result = buildPartial(); if (!result.isInitialized()) { @@ -5853,7 +4122,17 @@ public final class CmdlineRemoteProto { } return result; } - + + private org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return result; + } + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult buildPartial() { org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult result = new org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult(this); int from_bitField0_ = bitField0_; @@ -5879,18 +4158,14 @@ public final class CmdlineRemoteProto { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult other) { if (other == org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult.getDefaultInstance()) return this; if (other.hasOwnerClassName()) { - bitField0_ |= 0x00000001; - ownerClassName_ = other.ownerClassName_; - + setOwnerClassName(other.getOwnerClassName()); } if (other.hasFieldName()) { - bitField0_ |= 0x00000002; - fieldName_ = other.fieldName_; - + setFieldName(other.getFieldName()); } if (other.hasIsSuccess()) { setIsSuccess(other.getIsSuccess()); @@ -5907,7 +4182,7 @@ public final class CmdlineRemoteProto { } return this; } - + public final boolean isInitialized() { if (!hasOwnerClassName()) { @@ -5923,69 +4198,66 @@ public final class CmdlineRemoteProto { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + while (true) { + int tag = input.readTag(); + switch (tag) { + case 0: + + return this; + default: { + if (!parseUnknownField(input, extensionRegistry, tag)) { + + return this; + } + break; + } + case 10: { + bitField0_ |= 0x00000001; + ownerClassName_ = input.readBytes(); + break; + } + case 18: { + bitField0_ |= 0x00000002; + fieldName_ = input.readBytes(); + break; + } + case 24: { + bitField0_ |= 0x00000004; + isSuccess_ = input.readBool(); + break; + } + case 34: { + ensurePathIsMutable(); + path_.add(input.readBytes()); + break; + } } } - return this; } + private int bitField0_; - + // required string owner_class_name = 1; private java.lang.Object ownerClassName_ = ""; - /** - * required string owner_class_name = 1; - */ public boolean hasOwnerClassName() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required string owner_class_name = 1; - */ - public java.lang.String getOwnerClassName() { + public String getOwnerClassName() { java.lang.Object ref = ownerClassName_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); ownerClassName_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * required string owner_class_name = 1; - */ - public com.google.protobuf.ByteString - getOwnerClassNameBytes() { - java.lang.Object ref = ownerClassName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - ownerClassName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * required string owner_class_name = 1; - */ - public Builder setOwnerClassName( - java.lang.String value) { + public Builder setOwnerClassName(String value) { if (value == null) { throw new NullPointerException(); } @@ -5994,72 +4266,34 @@ public final class CmdlineRemoteProto { return this; } - /** - * required string owner_class_name = 1; - */ public Builder clearOwnerClassName() { bitField0_ = (bitField0_ & ~0x00000001); ownerClassName_ = getDefaultInstance().getOwnerClassName(); return this; } - /** - * required string owner_class_name = 1; - */ - public Builder setOwnerClassNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + void setOwnerClassName(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000001; ownerClassName_ = value; - return this; } - + // required string field_name = 2; private java.lang.Object fieldName_ = ""; - /** - * required string field_name = 2; - */ public boolean hasFieldName() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * required string field_name = 2; - */ - public java.lang.String getFieldName() { + public String getFieldName() { java.lang.Object ref = fieldName_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); fieldName_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * required string field_name = 2; - */ - public com.google.protobuf.ByteString - getFieldNameBytes() { - java.lang.Object ref = fieldName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - fieldName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * required string field_name = 2; - */ - public Builder setFieldName( - java.lang.String value) { + public Builder setFieldName(String value) { if (value == null) { throw new NullPointerException(); } @@ -6068,62 +4302,39 @@ public final class CmdlineRemoteProto { return this; } - /** - * required string field_name = 2; - */ public Builder clearFieldName() { bitField0_ = (bitField0_ & ~0x00000002); fieldName_ = getDefaultInstance().getFieldName(); return this; } - /** - * required string field_name = 2; - */ - public Builder setFieldNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + void setFieldName(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000002; fieldName_ = value; - return this; } - + // required bool is_success = 3; private boolean isSuccess_ ; - /** - * required bool is_success = 3; - */ public boolean hasIsSuccess() { return ((bitField0_ & 0x00000004) == 0x00000004); } - /** - * required bool is_success = 3; - */ public boolean getIsSuccess() { return isSuccess_; } - /** - * required bool is_success = 3; - */ public Builder setIsSuccess(boolean value) { bitField0_ |= 0x00000004; isSuccess_ = value; return this; } - /** - * required bool is_success = 3; - */ public Builder clearIsSuccess() { bitField0_ = (bitField0_ & ~0x00000004); isSuccess_ = false; return this; } - + // repeated string path = 4; private com.google.protobuf.LazyStringList path_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePathIsMutable() { @@ -6132,37 +4343,18 @@ public final class CmdlineRemoteProto { bitField0_ |= 0x00000008; } } - /** - * repeated string path = 4; - */ - public java.util.List + public java.util.List getPathList() { return java.util.Collections.unmodifiableList(path_); } - /** - * repeated string path = 4; - */ public int getPathCount() { return path_.size(); } - /** - * repeated string path = 4; - */ - public java.lang.String getPath(int index) { + public String getPath(int index) { return path_.get(index); } - /** - * repeated string path = 4; - */ - public com.google.protobuf.ByteString - getPathBytes(int index) { - return path_.getByteString(index); - } - /** - * repeated string path = 4; - */ public Builder setPath( - int index, java.lang.String value) { + int index, String value) { if (value == null) { throw new NullPointerException(); } @@ -6171,11 +4363,7 @@ public final class CmdlineRemoteProto { return this; } - /** - * repeated string path = 4; - */ - public Builder addPath( - java.lang.String value) { + public Builder addPath(String value) { if (value == null) { throw new NullPointerException(); } @@ -6184,115 +4372,77 @@ public final class CmdlineRemoteProto { return this; } - /** - * repeated string path = 4; - */ public Builder addAllPath( - java.lang.Iterable values) { + java.lang.Iterable values) { ensurePathIsMutable(); super.addAll(values, path_); return this; } - /** - * repeated string path = 4; - */ public Builder clearPath() { path_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000008); return this; } - /** - * repeated string path = 4; - */ - public Builder addPathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePathIsMutable(); + void addPath(com.google.protobuf.ByteString value) { + ensurePathIsMutable(); path_.add(value); - return this; } - + // @@protoc_insertion_point(builder_scope:org.jetbrains.jpsservice.Message.ControllerMessage.ConstantSearchResult) } - + static { defaultInstance = new ConstantSearchResult(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:org.jetbrains.jpsservice.Message.ControllerMessage.ConstantSearchResult) } - + private int bitField0_; // required .org.jetbrains.jpsservice.Message.ControllerMessage.Type type = 1; public static final int TYPE_FIELD_NUMBER = 1; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.Type type_; - /** - * required .org.jetbrains.jpsservice.Message.ControllerMessage.Type type = 1; - */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required .org.jetbrains.jpsservice.Message.ControllerMessage.Type type = 1; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.Type getType() { return type_; } - + // optional .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage params_message = 2; public static final int PARAMS_MESSAGE_FIELD_NUMBER = 2; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage paramsMessage_; - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage params_message = 2; - */ public boolean hasParamsMessage() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage params_message = 2; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage getParamsMessage() { return paramsMessage_; } - + // optional .org.jetbrains.jpsservice.Message.ControllerMessage.FSEvent fs_event = 3; public static final int FS_EVENT_FIELD_NUMBER = 3; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent fsEvent_; - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.FSEvent fs_event = 3; - */ public boolean hasFsEvent() { return ((bitField0_ & 0x00000004) == 0x00000004); } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.FSEvent fs_event = 3; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent getFsEvent() { return fsEvent_; } - + // optional .org.jetbrains.jpsservice.Message.ControllerMessage.ConstantSearchResult constant_search_result = 4; public static final int CONSTANT_SEARCH_RESULT_FIELD_NUMBER = 4; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult constantSearchResult_; - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.ConstantSearchResult constant_search_result = 4; - */ public boolean hasConstantSearchResult() { return ((bitField0_ & 0x00000008) == 0x00000008); } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.ConstantSearchResult constant_search_result = 4; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult getConstantSearchResult() { return constantSearchResult_; } - + private void initFields() { type_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.Type.BUILD_PARAMETERS; paramsMessage_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.getDefaultInstance(); @@ -6303,7 +4453,7 @@ public final class CmdlineRemoteProto { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasType()) { memoizedIsInitialized = 0; return false; @@ -6329,7 +4479,7 @@ public final class CmdlineRemoteProto { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -6346,12 +4496,12 @@ public final class CmdlineRemoteProto { output.writeMessage(4, constantSearchResult_); } } - + 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 @@ -6372,77 +4522,88 @@ public final class CmdlineRemoteProto { 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.jps.api.CmdlineRemoteProto.Message.ControllerMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input, extensionRegistry)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.ControllerMessage} - */ + public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage, Builder> @@ -6451,13 +4612,13 @@ public final class CmdlineRemoteProto { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); type_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.Type.BUILD_PARAMETERS; @@ -6470,15 +4631,15 @@ public final class CmdlineRemoteProto { bitField0_ = (bitField0_ & ~0x00000008); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage getDefaultInstanceForType() { return org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.getDefaultInstance(); } - + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage build() { org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage result = buildPartial(); if (!result.isInitialized()) { @@ -6486,7 +4647,17 @@ public final class CmdlineRemoteProto { } return result; } - + + private org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return result; + } + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage buildPartial() { org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage result = new org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage(this); int from_bitField0_ = bitField0_; @@ -6510,7 +4681,7 @@ public final class CmdlineRemoteProto { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage other) { if (other == org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.getDefaultInstance()) return this; if (other.hasType()) { @@ -6527,7 +4698,7 @@ public final class CmdlineRemoteProto { } return this; } - + public final boolean isInitialized() { if (!hasType()) { @@ -6553,43 +4724,74 @@ public final class CmdlineRemoteProto { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + while (true) { + int tag = input.readTag(); + switch (tag) { + case 0: + + return this; + default: { + if (!parseUnknownField(input, extensionRegistry, tag)) { + + return this; + } + break; + } + case 8: { + int rawValue = input.readEnum(); + org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.Type value = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.Type.valueOf(rawValue); + if (value != null) { + bitField0_ |= 0x00000001; + type_ = value; + } + break; + } + case 18: { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.Builder subBuilder = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.newBuilder(); + if (hasParamsMessage()) { + subBuilder.mergeFrom(getParamsMessage()); + } + input.readMessage(subBuilder, extensionRegistry); + setParamsMessage(subBuilder.buildPartial()); + break; + } + case 26: { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent.Builder subBuilder = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent.newBuilder(); + if (hasFsEvent()) { + subBuilder.mergeFrom(getFsEvent()); + } + input.readMessage(subBuilder, extensionRegistry); + setFsEvent(subBuilder.buildPartial()); + break; + } + case 34: { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult.Builder subBuilder = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult.newBuilder(); + if (hasConstantSearchResult()) { + subBuilder.mergeFrom(getConstantSearchResult()); + } + input.readMessage(subBuilder, extensionRegistry); + setConstantSearchResult(subBuilder.buildPartial()); + break; + } } } - return this; } + private int bitField0_; - + // required .org.jetbrains.jpsservice.Message.ControllerMessage.Type type = 1; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.Type type_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.Type.BUILD_PARAMETERS; - /** - * required .org.jetbrains.jpsservice.Message.ControllerMessage.Type type = 1; - */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required .org.jetbrains.jpsservice.Message.ControllerMessage.Type type = 1; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.Type getType() { return type_; } - /** - * required .org.jetbrains.jpsservice.Message.ControllerMessage.Type type = 1; - */ public Builder setType(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.Type value) { if (value == null) { throw new NullPointerException(); @@ -6599,55 +4801,37 @@ public final class CmdlineRemoteProto { return this; } - /** - * required .org.jetbrains.jpsservice.Message.ControllerMessage.Type type = 1; - */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.Type.BUILD_PARAMETERS; return this; } - + // optional .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage params_message = 2; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage paramsMessage_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.getDefaultInstance(); - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage params_message = 2; - */ public boolean hasParamsMessage() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage params_message = 2; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage getParamsMessage() { return paramsMessage_; } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage params_message = 2; - */ public Builder setParamsMessage(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage value) { if (value == null) { throw new NullPointerException(); } paramsMessage_ = value; - + bitField0_ |= 0x00000002; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage params_message = 2; - */ public Builder setParamsMessage( org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.Builder builderForValue) { paramsMessage_ = builderForValue.build(); - + bitField0_ |= 0x00000002; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage params_message = 2; - */ public Builder mergeParamsMessage(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage value) { if (((bitField0_ & 0x00000002) == 0x00000002) && paramsMessage_ != org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.getDefaultInstance()) { @@ -6656,59 +4840,41 @@ public final class CmdlineRemoteProto { } else { paramsMessage_ = value; } - + bitField0_ |= 0x00000002; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage params_message = 2; - */ public Builder clearParamsMessage() { paramsMessage_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000002); return this; } - + // optional .org.jetbrains.jpsservice.Message.ControllerMessage.FSEvent fs_event = 3; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent fsEvent_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent.getDefaultInstance(); - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.FSEvent fs_event = 3; - */ public boolean hasFsEvent() { return ((bitField0_ & 0x00000004) == 0x00000004); } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.FSEvent fs_event = 3; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent getFsEvent() { return fsEvent_; } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.FSEvent fs_event = 3; - */ public Builder setFsEvent(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent value) { if (value == null) { throw new NullPointerException(); } fsEvent_ = value; - + bitField0_ |= 0x00000004; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.FSEvent fs_event = 3; - */ public Builder setFsEvent( org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent.Builder builderForValue) { fsEvent_ = builderForValue.build(); - + bitField0_ |= 0x00000004; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.FSEvent fs_event = 3; - */ public Builder mergeFsEvent(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent value) { if (((bitField0_ & 0x00000004) == 0x00000004) && fsEvent_ != org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent.getDefaultInstance()) { @@ -6717,59 +4883,41 @@ public final class CmdlineRemoteProto { } else { fsEvent_ = value; } - + bitField0_ |= 0x00000004; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.FSEvent fs_event = 3; - */ public Builder clearFsEvent() { fsEvent_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000004); return this; } - + // optional .org.jetbrains.jpsservice.Message.ControllerMessage.ConstantSearchResult constant_search_result = 4; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult constantSearchResult_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult.getDefaultInstance(); - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.ConstantSearchResult constant_search_result = 4; - */ public boolean hasConstantSearchResult() { return ((bitField0_ & 0x00000008) == 0x00000008); } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.ConstantSearchResult constant_search_result = 4; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult getConstantSearchResult() { return constantSearchResult_; } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.ConstantSearchResult constant_search_result = 4; - */ public Builder setConstantSearchResult(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult value) { if (value == null) { throw new NullPointerException(); } constantSearchResult_ = value; - + bitField0_ |= 0x00000008; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.ConstantSearchResult constant_search_result = 4; - */ public Builder setConstantSearchResult( org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult.Builder builderForValue) { constantSearchResult_ = builderForValue.build(); - + bitField0_ |= 0x00000008; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.ConstantSearchResult constant_search_result = 4; - */ public Builder mergeConstantSearchResult(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult value) { if (((bitField0_ & 0x00000008) == 0x00000008) && constantSearchResult_ != org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult.getDefaultInstance()) { @@ -6778,234 +4926,81 @@ public final class CmdlineRemoteProto { } else { constantSearchResult_ = value; } - + bitField0_ |= 0x00000008; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage.ConstantSearchResult constant_search_result = 4; - */ public Builder clearConstantSearchResult() { constantSearchResult_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ConstantSearchResult.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000008); return this; } - + // @@protoc_insertion_point(builder_scope:org.jetbrains.jpsservice.Message.ControllerMessage) } - + static { defaultInstance = new ControllerMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:org.jetbrains.jpsservice.Message.ControllerMessage) } - + public interface BuilderMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required .org.jetbrains.jpsservice.Message.BuilderMessage.Type type = 1; - /** - * required .org.jetbrains.jpsservice.Message.BuilderMessage.Type type = 1; - */ boolean hasType(); - /** - * required .org.jetbrains.jpsservice.Message.BuilderMessage.Type type = 1; - */ org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.Type getType(); - + // optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent build_event = 2; - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent build_event = 2; - */ boolean hasBuildEvent(); - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent build_event = 2; - */ org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent getBuildEvent(); - + // optional .org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage compile_message = 3; - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage compile_message = 3; - */ boolean hasCompileMessage(); - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage compile_message = 3; - */ org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage getCompileMessage(); - + // optional .org.jetbrains.jpsservice.Message.BuilderMessage.ConstantSearchTask constant_search_task = 4; - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.ConstantSearchTask constant_search_task = 4; - */ boolean hasConstantSearchTask(); - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.ConstantSearchTask constant_search_task = 4; - */ org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask getConstantSearchTask(); } - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.BuilderMessage} - */ public static final class BuilderMessage extends com.google.protobuf.GeneratedMessageLite implements BuilderMessageOrBuilder { // Use BuilderMessage.newBuilder() to construct. - private BuilderMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private BuilderMessage(Builder builder) { super(builder); - } private BuilderMessage(boolean noInit) {} - + private static final BuilderMessage defaultInstance; public static BuilderMessage getDefaultInstance() { return defaultInstance; } - + public BuilderMessage getDefaultInstanceForType() { return defaultInstance; } - - private BuilderMessage( - 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.jps.api.CmdlineRemoteProto.Message.BuilderMessage.Type value = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.Type.valueOf(rawValue); - if (value != null) { - bitField0_ |= 0x00000001; - type_ = value; - } - break; - } - case 18: { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Builder subBuilder = null; - if (((bitField0_ & 0x00000002) == 0x00000002)) { - subBuilder = buildEvent_.toBuilder(); - } - buildEvent_ = input.readMessage(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(buildEvent_); - buildEvent_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000002; - break; - } - case 26: { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00000004) == 0x00000004)) { - subBuilder = compileMessage_.toBuilder(); - } - compileMessage_ = input.readMessage(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(compileMessage_); - compileMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000004; - break; - } - case 34: { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask.Builder subBuilder = null; - if (((bitField0_ & 0x00000008) == 0x00000008)) { - subBuilder = constantSearchTask_.toBuilder(); - } - constantSearchTask_ = input.readMessage(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(constantSearchTask_); - constantSearchTask_ = 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 BuilderMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BuilderMessage(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - /** - * Protobuf enum {@code org.jetbrains.jpsservice.Message.BuilderMessage.Type} - */ + public enum Type implements com.google.protobuf.Internal.EnumLite { - /** - * PARAM_REQUEST = 1; - */ PARAM_REQUEST(0, 1), - /** - * BUILD_EVENT = 2; - */ BUILD_EVENT(1, 2), - /** - * COMPILE_MESSAGE = 3; - */ COMPILE_MESSAGE(2, 3), - /** - * CONSTANT_SEARCH_TASK = 4; - */ CONSTANT_SEARCH_TASK(3, 4), ; - - /** - * PARAM_REQUEST = 1; - */ + public static final int PARAM_REQUEST_VALUE = 1; - /** - * BUILD_EVENT = 2; - */ public static final int BUILD_EVENT_VALUE = 2; - /** - * COMPILE_MESSAGE = 3; - */ public static final int COMPILE_MESSAGE_VALUE = 3; - /** - * CONSTANT_SEARCH_TASK = 4; - */ public static final int CONSTANT_SEARCH_TASK_VALUE = 4; - - + + public final int getNumber() { return value; } - + public static Type valueOf(int value) { switch (value) { case 1: return PARAM_REQUEST; @@ -7015,7 +5010,7 @@ public final class CmdlineRemoteProto { default: return null; } } - + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; @@ -7027,230 +5022,73 @@ public final class CmdlineRemoteProto { return Type.valueOf(number); } }; - + private final int value; - + private Type(int index, int value) { this.value = value; } - + // @@protoc_insertion_point(enum_scope:org.jetbrains.jpsservice.Message.BuilderMessage.Type) } - + public interface BuildEventOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.Type event_type = 1; - /** - * required .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.Type event_type = 1; - */ boolean hasEventType(); - /** - * required .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.Type event_type = 1; - */ org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Type getEventType(); - + // optional string description = 2; - /** - * optional string description = 2; - */ boolean hasDescription(); - /** - * optional string description = 2; - */ - java.lang.String getDescription(); - /** - * optional string description = 2; - */ - com.google.protobuf.ByteString - getDescriptionBytes(); - + String getDescription(); + // optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.Status completion_status = 3; - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.Status completion_status = 3; - */ boolean hasCompletionStatus(); - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.Status completion_status = 3; - */ org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Status getCompletionStatus(); - + // repeated .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.GeneratedFile generated_files = 4; - /** - * repeated .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.GeneratedFile generated_files = 4; - */ java.util.List getGeneratedFilesList(); - /** - * repeated .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.GeneratedFile generated_files = 4; - */ org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile getGeneratedFiles(int index); - /** - * repeated .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.GeneratedFile generated_files = 4; - */ int getGeneratedFilesCount(); - + // optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.CustomBuilderMessage custom_builder_message = 5; - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.CustomBuilderMessage custom_builder_message = 5; - */ boolean hasCustomBuilderMessage(); - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.CustomBuilderMessage custom_builder_message = 5; - */ org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage getCustomBuilderMessage(); } - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent} - */ public static final class BuildEvent extends com.google.protobuf.GeneratedMessageLite implements BuildEventOrBuilder { // Use BuildEvent.newBuilder() to construct. - private BuildEvent(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private BuildEvent(Builder builder) { super(builder); - } private BuildEvent(boolean noInit) {} - + private static final BuildEvent defaultInstance; public static BuildEvent getDefaultInstance() { return defaultInstance; } - + public BuildEvent getDefaultInstanceForType() { return defaultInstance; } - - private BuildEvent( - 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.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Type value = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Type.valueOf(rawValue); - if (value != null) { - bitField0_ |= 0x00000001; - eventType_ = value; - } - break; - } - case 18: { - bitField0_ |= 0x00000002; - description_ = input.readBytes(); - break; - } - case 24: { - int rawValue = input.readEnum(); - org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Status value = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Status.valueOf(rawValue); - if (value != null) { - bitField0_ |= 0x00000004; - completionStatus_ = value; - } - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { - generatedFiles_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - generatedFiles_.add(input.readMessage(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile.PARSER, extensionRegistry)); - break; - } - case 42: { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00000008) == 0x00000008)) { - subBuilder = customBuilderMessage_.toBuilder(); - } - customBuilderMessage_ = input.readMessage(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(customBuilderMessage_); - customBuilderMessage_ = 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_ & 0x00000008) == 0x00000008)) { - generatedFiles_ = java.util.Collections.unmodifiableList(generatedFiles_); - } - makeExtensionsImmutable(); - } - } - public static com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - public BuildEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BuildEvent(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - /** - * Protobuf enum {@code org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.Type} - */ + public enum Type implements com.google.protobuf.Internal.EnumLite { - /** - * BUILD_COMPLETED = 1; - */ BUILD_COMPLETED(0, 1), - /** - * FILES_GENERATED = 2; - */ FILES_GENERATED(1, 2), - /** - * CUSTOM_BUILDER_MESSAGE = 3; - */ CUSTOM_BUILDER_MESSAGE(2, 3), ; - - /** - * BUILD_COMPLETED = 1; - */ + public static final int BUILD_COMPLETED_VALUE = 1; - /** - * FILES_GENERATED = 2; - */ public static final int FILES_GENERATED_VALUE = 2; - /** - * CUSTOM_BUILDER_MESSAGE = 3; - */ public static final int CUSTOM_BUILDER_MESSAGE_VALUE = 3; - - + + public final int getNumber() { return value; } - + public static Type valueOf(int value) { switch (value) { case 1: return BUILD_COMPLETED; @@ -7259,7 +5097,7 @@ public final class CmdlineRemoteProto { default: return null; } } - + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; @@ -7271,59 +5109,32 @@ public final class CmdlineRemoteProto { return Type.valueOf(number); } }; - + private final int value; - + private Type(int index, int value) { this.value = value; } - + // @@protoc_insertion_point(enum_scope:org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.Type) } - - /** - * Protobuf enum {@code org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.Status} - */ + public enum Status implements com.google.protobuf.Internal.EnumLite { - /** - * CANCELED = 1; - */ CANCELED(0, 1), - /** - * ERRORS = 2; - */ ERRORS(1, 2), - /** - * SUCCESS = 3; - */ SUCCESS(2, 3), - /** - * UP_TO_DATE = 4; - */ UP_TO_DATE(3, 4), ; - - /** - * CANCELED = 1; - */ + public static final int CANCELED_VALUE = 1; - /** - * ERRORS = 2; - */ public static final int ERRORS_VALUE = 2; - /** - * SUCCESS = 3; - */ public static final int SUCCESS_VALUE = 3; - /** - * UP_TO_DATE = 4; - */ public static final int UP_TO_DATE_VALUE = 4; - - + + public final int getNumber() { return value; } - + public static Status valueOf(int value) { switch (value) { case 1: return CANCELED; @@ -7333,7 +5144,7 @@ public final class CmdlineRemoteProto { default: return null; } } - + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; @@ -7345,215 +5156,110 @@ public final class CmdlineRemoteProto { return Status.valueOf(number); } }; - + private final int value; - + private Status(int index, int value) { this.value = value; } - + // @@protoc_insertion_point(enum_scope:org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.Status) } - + public interface GeneratedFileOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required string output_root = 1; - /** - * required string output_root = 1; - */ boolean hasOutputRoot(); - /** - * required string output_root = 1; - */ - java.lang.String getOutputRoot(); - /** - * required string output_root = 1; - */ - com.google.protobuf.ByteString - getOutputRootBytes(); - + String getOutputRoot(); + // required string relative_path = 2; - /** - * required string relative_path = 2; - */ boolean hasRelativePath(); - /** - * required string relative_path = 2; - */ - java.lang.String getRelativePath(); - /** - * required string relative_path = 2; - */ - com.google.protobuf.ByteString - getRelativePathBytes(); + String getRelativePath(); } - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.GeneratedFile} - */ public static final class GeneratedFile extends com.google.protobuf.GeneratedMessageLite implements GeneratedFileOrBuilder { // Use GeneratedFile.newBuilder() to construct. - private GeneratedFile(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private GeneratedFile(Builder builder) { super(builder); - } private GeneratedFile(boolean noInit) {} - + private static final GeneratedFile defaultInstance; public static GeneratedFile getDefaultInstance() { return defaultInstance; } - + public GeneratedFile getDefaultInstanceForType() { return defaultInstance; } - - private GeneratedFile( - 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: { - bitField0_ |= 0x00000001; - outputRoot_ = input.readBytes(); - break; - } - case 18: { - bitField0_ |= 0x00000002; - relativePath_ = 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 { - makeExtensionsImmutable(); - } - } - public static com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - public GeneratedFile parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GeneratedFile(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - + private int bitField0_; // required string output_root = 1; public static final int OUTPUT_ROOT_FIELD_NUMBER = 1; private java.lang.Object outputRoot_; - /** - * required string output_root = 1; - */ public boolean hasOutputRoot() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required string output_root = 1; - */ - public java.lang.String getOutputRoot() { + public String getOutputRoot() { java.lang.Object ref = outputRoot_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + if (ref instanceof String) { + return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { outputRoot_ = s; } return s; } } - /** - * required string output_root = 1; - */ - public com.google.protobuf.ByteString - getOutputRootBytes() { + private com.google.protobuf.ByteString getOutputRootBytes() { java.lang.Object ref = outputRoot_; - if (ref instanceof java.lang.String) { + if (ref instanceof String) { com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString.copyFromUtf8((String) ref); outputRoot_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - + // required string relative_path = 2; public static final int RELATIVE_PATH_FIELD_NUMBER = 2; private java.lang.Object relativePath_; - /** - * required string relative_path = 2; - */ public boolean hasRelativePath() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * required string relative_path = 2; - */ - public java.lang.String getRelativePath() { + public String getRelativePath() { java.lang.Object ref = relativePath_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + if (ref instanceof String) { + return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { relativePath_ = s; } return s; } } - /** - * required string relative_path = 2; - */ - public com.google.protobuf.ByteString - getRelativePathBytes() { + private com.google.protobuf.ByteString getRelativePathBytes() { java.lang.Object ref = relativePath_; - if (ref instanceof java.lang.String) { + if (ref instanceof String) { com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString.copyFromUtf8((String) ref); relativePath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - + private void initFields() { outputRoot_ = ""; relativePath_ = ""; @@ -7562,7 +5268,7 @@ public final class CmdlineRemoteProto { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasOutputRoot()) { memoizedIsInitialized = 0; return false; @@ -7574,7 +5280,7 @@ public final class CmdlineRemoteProto { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -7585,12 +5291,12 @@ public final class CmdlineRemoteProto { output.writeBytes(2, getRelativePathBytes()); } } - + 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 @@ -7603,77 +5309,88 @@ public final class CmdlineRemoteProto { 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.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input, extensionRegistry)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.GeneratedFile} - */ + public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile, Builder> @@ -7682,13 +5399,13 @@ public final class CmdlineRemoteProto { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); outputRoot_ = ""; @@ -7697,15 +5414,15 @@ public final class CmdlineRemoteProto { bitField0_ = (bitField0_ & ~0x00000002); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile getDefaultInstanceForType() { return org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile.getDefaultInstance(); } - + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile build() { org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile result = buildPartial(); if (!result.isInitialized()) { @@ -7713,7 +5430,17 @@ public final class CmdlineRemoteProto { } return result; } - + + private org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return result; + } + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile buildPartial() { org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile result = new org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile(this); int from_bitField0_ = bitField0_; @@ -7729,22 +5456,18 @@ public final class CmdlineRemoteProto { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile other) { if (other == org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile.getDefaultInstance()) return this; if (other.hasOutputRoot()) { - bitField0_ |= 0x00000001; - outputRoot_ = other.outputRoot_; - + setOutputRoot(other.getOutputRoot()); } if (other.hasRelativePath()) { - bitField0_ |= 0x00000002; - relativePath_ = other.relativePath_; - + setRelativePath(other.getRelativePath()); } return this; } - + public final boolean isInitialized() { if (!hasOutputRoot()) { @@ -7756,69 +5479,56 @@ public final class CmdlineRemoteProto { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + while (true) { + int tag = input.readTag(); + switch (tag) { + case 0: + + return this; + default: { + if (!parseUnknownField(input, extensionRegistry, tag)) { + + return this; + } + break; + } + case 10: { + bitField0_ |= 0x00000001; + outputRoot_ = input.readBytes(); + break; + } + case 18: { + bitField0_ |= 0x00000002; + relativePath_ = input.readBytes(); + break; + } } } - return this; } + private int bitField0_; - + // required string output_root = 1; private java.lang.Object outputRoot_ = ""; - /** - * required string output_root = 1; - */ public boolean hasOutputRoot() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required string output_root = 1; - */ - public java.lang.String getOutputRoot() { + public String getOutputRoot() { java.lang.Object ref = outputRoot_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); outputRoot_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * required string output_root = 1; - */ - public com.google.protobuf.ByteString - getOutputRootBytes() { - java.lang.Object ref = outputRoot_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - outputRoot_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * required string output_root = 1; - */ - public Builder setOutputRoot( - java.lang.String value) { + public Builder setOutputRoot(String value) { if (value == null) { throw new NullPointerException(); } @@ -7827,72 +5537,34 @@ public final class CmdlineRemoteProto { return this; } - /** - * required string output_root = 1; - */ public Builder clearOutputRoot() { bitField0_ = (bitField0_ & ~0x00000001); outputRoot_ = getDefaultInstance().getOutputRoot(); return this; } - /** - * required string output_root = 1; - */ - public Builder setOutputRootBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + void setOutputRoot(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000001; outputRoot_ = value; - return this; } - + // required string relative_path = 2; private java.lang.Object relativePath_ = ""; - /** - * required string relative_path = 2; - */ public boolean hasRelativePath() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * required string relative_path = 2; - */ - public java.lang.String getRelativePath() { + public String getRelativePath() { java.lang.Object ref = relativePath_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); relativePath_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * required string relative_path = 2; - */ - public com.google.protobuf.ByteString - getRelativePathBytes() { - java.lang.Object ref = relativePath_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - relativePath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * required string relative_path = 2; - */ - public Builder setRelativePath( - java.lang.String value) { + public Builder setRelativePath(String value) { if (value == null) { throw new NullPointerException(); } @@ -7901,128 +5573,418 @@ public final class CmdlineRemoteProto { return this; } - /** - * required string relative_path = 2; - */ public Builder clearRelativePath() { bitField0_ = (bitField0_ & ~0x00000002); relativePath_ = getDefaultInstance().getRelativePath(); return this; } - /** - * required string relative_path = 2; - */ - public Builder setRelativePathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + void setRelativePath(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000002; relativePath_ = value; - return this; } - + // @@protoc_insertion_point(builder_scope:org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.GeneratedFile) } - + static { defaultInstance = new GeneratedFile(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.GeneratedFile) } - + public interface CustomBuilderMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required string builder_id = 1; - /** - * required string builder_id = 1; - */ boolean hasBuilderId(); - /** - * required string builder_id = 1; - */ - java.lang.String getBuilderId(); - /** - * required string builder_id = 1; - */ - com.google.protobuf.ByteString - getBuilderIdBytes(); - + String getBuilderId(); + // required string message_type = 2; - /** - * required string message_type = 2; - */ boolean hasMessageType(); - /** - * required string message_type = 2; - */ - java.lang.String getMessageType(); - /** - * required string message_type = 2; - */ - com.google.protobuf.ByteString - getMessageTypeBytes(); - + String getMessageType(); + // required string message_text = 3; - /** - * required string message_text = 3; - */ boolean hasMessageText(); - /** - * required string message_text = 3; - */ - java.lang.String getMessageText(); - /** - * required string message_text = 3; - */ - com.google.protobuf.ByteString - getMessageTextBytes(); + String getMessageText(); } - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.CustomBuilderMessage} - */ public static final class CustomBuilderMessage extends com.google.protobuf.GeneratedMessageLite implements CustomBuilderMessageOrBuilder { // Use CustomBuilderMessage.newBuilder() to construct. - private CustomBuilderMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private CustomBuilderMessage(Builder builder) { super(builder); - } private CustomBuilderMessage(boolean noInit) {} - + private static final CustomBuilderMessage defaultInstance; public static CustomBuilderMessage getDefaultInstance() { return defaultInstance; } - + public CustomBuilderMessage getDefaultInstanceForType() { return defaultInstance; } - - private CustomBuilderMessage( - com.google.protobuf.CodedInputStream input, + + private int bitField0_; + // required string builder_id = 1; + public static final int BUILDER_ID_FIELD_NUMBER = 1; + private java.lang.Object builderId_; + public boolean hasBuilderId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + public String getBuilderId() { + java.lang.Object ref = builderId_; + if (ref instanceof String) { + return (String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { + builderId_ = s; + } + return s; + } + } + private com.google.protobuf.ByteString getBuilderIdBytes() { + java.lang.Object ref = builderId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((String) ref); + builderId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // required string message_type = 2; + public static final int MESSAGE_TYPE_FIELD_NUMBER = 2; + private java.lang.Object messageType_; + public boolean hasMessageType() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + public String getMessageType() { + java.lang.Object ref = messageType_; + if (ref instanceof String) { + return (String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { + messageType_ = s; + } + return s; + } + } + private com.google.protobuf.ByteString getMessageTypeBytes() { + java.lang.Object ref = messageType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((String) ref); + messageType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // required string message_text = 3; + public static final int MESSAGE_TEXT_FIELD_NUMBER = 3; + private java.lang.Object messageText_; + public boolean hasMessageText() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + public String getMessageText() { + java.lang.Object ref = messageText_; + if (ref instanceof String) { + return (String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { + messageText_ = s; + } + return s; + } + } + private com.google.protobuf.ByteString getMessageTextBytes() { + java.lang.Object ref = messageText_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((String) ref); + messageText_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private void initFields() { + builderId_ = ""; + messageType_ = ""; + messageText_ = ""; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasBuilderId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasMessageType()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasMessageText()) { + 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.writeBytes(1, getBuilderIdBytes()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeBytes(2, getMessageTypeBytes()); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeBytes(3, getMessageTextBytes()); + } + } + + 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 + .computeBytesSize(1, getBuilderIdBytes()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, getMessageTypeBytes()); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(3, getMessageTextBytes()); + } + 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.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data).buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage parseFrom( + com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); - int mutable_bitField0_ = 0; - try { - boolean done = false; - while (!done) { + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data).buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return newBuilder().mergeFrom(input).buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input)) { + return builder.buildParsed(); + } else { + return null; + } + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input, extensionRegistry)) { + return builder.buildParsed(); + } else { + return null; + } + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return newBuilder().mergeFrom(input).buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage, Builder> + implements org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessageOrBuilder { + // Construct using org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + builderId_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + messageType_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + messageText_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage getDefaultInstanceForType() { + return org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage.getDefaultInstance(); + } + + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage build() { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + private org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return result; + } + + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage buildPartial() { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage result = new org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.builderId_ = builderId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.messageType_ = messageType_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.messageText_ = messageText_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage other) { + if (other == org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage.getDefaultInstance()) return this; + if (other.hasBuilderId()) { + setBuilderId(other.getBuilderId()); + } + if (other.hasMessageType()) { + setMessageType(other.getMessageType()); + } + if (other.hasMessageText()) { + setMessageText(other.getMessageText()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasBuilderId()) { + + return false; + } + if (!hasMessageType()) { + + return false; + } + if (!hasMessageText()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + while (true) { int tag = input.readTag(); switch (tag) { case 0: - done = true; - break; + + return this; default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; + if (!parseUnknownField(input, extensionRegistry, tag)) { + + return this; } break; } @@ -8043,452 +6005,26 @@ public final class CmdlineRemoteProto { } } } - } 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 CustomBuilderMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CustomBuilderMessage(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - private int bitField0_; - // required string builder_id = 1; - public static final int BUILDER_ID_FIELD_NUMBER = 1; - private java.lang.Object builderId_; - /** - * required string builder_id = 1; - */ - public boolean hasBuilderId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * required string builder_id = 1; - */ - public java.lang.String getBuilderId() { - java.lang.Object ref = builderId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - builderId_ = s; - } - return s; - } - } - /** - * required string builder_id = 1; - */ - public com.google.protobuf.ByteString - getBuilderIdBytes() { - java.lang.Object ref = builderId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - builderId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - // required string message_type = 2; - public static final int MESSAGE_TYPE_FIELD_NUMBER = 2; - private java.lang.Object messageType_; - /** - * required string message_type = 2; - */ - public boolean hasMessageType() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required string message_type = 2; - */ - public java.lang.String getMessageType() { - java.lang.Object ref = messageType_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - messageType_ = s; - } - return s; - } - } - /** - * required string message_type = 2; - */ - public com.google.protobuf.ByteString - getMessageTypeBytes() { - java.lang.Object ref = messageType_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - messageType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - // required string message_text = 3; - public static final int MESSAGE_TEXT_FIELD_NUMBER = 3; - private java.lang.Object messageText_; - /** - * required string message_text = 3; - */ - public boolean hasMessageText() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * required string message_text = 3; - */ - public java.lang.String getMessageText() { - java.lang.Object ref = messageText_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - messageText_ = s; - } - return s; - } - } - /** - * required string message_text = 3; - */ - public com.google.protobuf.ByteString - getMessageTextBytes() { - java.lang.Object ref = messageText_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - messageText_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private void initFields() { - builderId_ = ""; - messageType_ = ""; - messageText_ = ""; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasBuilderId()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasMessageType()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasMessageText()) { - 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.writeBytes(1, getBuilderIdBytes()); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBytes(2, getMessageTypeBytes()); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBytes(3, getMessageTextBytes()); - } - } - - 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 - .computeBytesSize(1, getBuilderIdBytes()); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, getMessageTypeBytes()); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, getMessageTextBytes()); - } - 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.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage 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.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage 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.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.CustomBuilderMessage} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage, Builder> - implements org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessageOrBuilder { - // Construct using org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - builderId_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - messageType_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); - messageText_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage getDefaultInstanceForType() { - return org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage.getDefaultInstance(); - } - - public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage build() { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage buildPartial() { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage result = new org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.builderId_ = builderId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.messageType_ = messageType_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.messageText_ = messageText_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage other) { - if (other == org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage.getDefaultInstance()) return this; - if (other.hasBuilderId()) { - bitField0_ |= 0x00000001; - builderId_ = other.builderId_; - - } - if (other.hasMessageType()) { - bitField0_ |= 0x00000002; - messageType_ = other.messageType_; - - } - if (other.hasMessageText()) { - bitField0_ |= 0x00000004; - messageText_ = other.messageText_; - - } - return this; - } - - public final boolean isInitialized() { - if (!hasBuilderId()) { - - return false; - } - if (!hasMessageType()) { - - return false; - } - if (!hasMessageText()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; } + private int bitField0_; - + // required string builder_id = 1; private java.lang.Object builderId_ = ""; - /** - * required string builder_id = 1; - */ public boolean hasBuilderId() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required string builder_id = 1; - */ - public java.lang.String getBuilderId() { + public String getBuilderId() { java.lang.Object ref = builderId_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); builderId_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * required string builder_id = 1; - */ - public com.google.protobuf.ByteString - getBuilderIdBytes() { - java.lang.Object ref = builderId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - builderId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * required string builder_id = 1; - */ - public Builder setBuilderId( - java.lang.String value) { + public Builder setBuilderId(String value) { if (value == null) { throw new NullPointerException(); } @@ -8497,72 +6033,34 @@ public final class CmdlineRemoteProto { return this; } - /** - * required string builder_id = 1; - */ public Builder clearBuilderId() { bitField0_ = (bitField0_ & ~0x00000001); builderId_ = getDefaultInstance().getBuilderId(); return this; } - /** - * required string builder_id = 1; - */ - public Builder setBuilderIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + void setBuilderId(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000001; builderId_ = value; - return this; } - + // required string message_type = 2; private java.lang.Object messageType_ = ""; - /** - * required string message_type = 2; - */ public boolean hasMessageType() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * required string message_type = 2; - */ - public java.lang.String getMessageType() { + public String getMessageType() { java.lang.Object ref = messageType_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); messageType_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * required string message_type = 2; - */ - public com.google.protobuf.ByteString - getMessageTypeBytes() { - java.lang.Object ref = messageType_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - messageType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * required string message_type = 2; - */ - public Builder setMessageType( - java.lang.String value) { + public Builder setMessageType(String value) { if (value == null) { throw new NullPointerException(); } @@ -8571,72 +6069,34 @@ public final class CmdlineRemoteProto { return this; } - /** - * required string message_type = 2; - */ public Builder clearMessageType() { bitField0_ = (bitField0_ & ~0x00000002); messageType_ = getDefaultInstance().getMessageType(); return this; } - /** - * required string message_type = 2; - */ - public Builder setMessageTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + void setMessageType(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000002; messageType_ = value; - return this; } - + // required string message_text = 3; private java.lang.Object messageText_ = ""; - /** - * required string message_text = 3; - */ public boolean hasMessageText() { return ((bitField0_ & 0x00000004) == 0x00000004); } - /** - * required string message_text = 3; - */ - public java.lang.String getMessageText() { + public String getMessageText() { java.lang.Object ref = messageText_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); messageText_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * required string message_text = 3; - */ - public com.google.protobuf.ByteString - getMessageTextBytes() { - java.lang.Object ref = messageText_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - messageText_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * required string message_text = 3; - */ - public Builder setMessageText( - java.lang.String value) { + public Builder setMessageText(String value) { if (value == null) { throw new NullPointerException(); } @@ -8645,168 +6105,113 @@ public final class CmdlineRemoteProto { return this; } - /** - * required string message_text = 3; - */ public Builder clearMessageText() { bitField0_ = (bitField0_ & ~0x00000004); messageText_ = getDefaultInstance().getMessageText(); return this; } - /** - * required string message_text = 3; - */ - public Builder setMessageTextBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + void setMessageText(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000004; messageText_ = value; - return this; } - + // @@protoc_insertion_point(builder_scope:org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.CustomBuilderMessage) } - + static { defaultInstance = new CustomBuilderMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.CustomBuilderMessage) } - + private int bitField0_; // required .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.Type event_type = 1; public static final int EVENT_TYPE_FIELD_NUMBER = 1; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Type eventType_; - /** - * required .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.Type event_type = 1; - */ public boolean hasEventType() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.Type event_type = 1; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Type getEventType() { return eventType_; } - + // optional string description = 2; public static final int DESCRIPTION_FIELD_NUMBER = 2; private java.lang.Object description_; - /** - * optional string description = 2; - */ public boolean hasDescription() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * optional string description = 2; - */ - public java.lang.String getDescription() { + public String getDescription() { java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + if (ref instanceof String) { + return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { description_ = s; } return s; } } - /** - * optional string description = 2; - */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + private com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { + if (ref instanceof String) { com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString.copyFromUtf8((String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - + // optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.Status completion_status = 3; public static final int COMPLETION_STATUS_FIELD_NUMBER = 3; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Status completionStatus_; - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.Status completion_status = 3; - */ public boolean hasCompletionStatus() { return ((bitField0_ & 0x00000004) == 0x00000004); } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.Status completion_status = 3; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Status getCompletionStatus() { return completionStatus_; } - + // repeated .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.GeneratedFile generated_files = 4; public static final int GENERATED_FILES_FIELD_NUMBER = 4; private java.util.List generatedFiles_; - /** - * repeated .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.GeneratedFile generated_files = 4; - */ public java.util.List getGeneratedFilesList() { return generatedFiles_; } - /** - * repeated .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.GeneratedFile generated_files = 4; - */ public java.util.List getGeneratedFilesOrBuilderList() { return generatedFiles_; } - /** - * repeated .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.GeneratedFile generated_files = 4; - */ public int getGeneratedFilesCount() { return generatedFiles_.size(); } - /** - * repeated .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.GeneratedFile generated_files = 4; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile getGeneratedFiles(int index) { return generatedFiles_.get(index); } - /** - * repeated .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.GeneratedFile generated_files = 4; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFileOrBuilder getGeneratedFilesOrBuilder( int index) { return generatedFiles_.get(index); } - + // optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.CustomBuilderMessage custom_builder_message = 5; public static final int CUSTOM_BUILDER_MESSAGE_FIELD_NUMBER = 5; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage customBuilderMessage_; - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.CustomBuilderMessage custom_builder_message = 5; - */ public boolean hasCustomBuilderMessage() { return ((bitField0_ & 0x00000008) == 0x00000008); } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.CustomBuilderMessage custom_builder_message = 5; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage getCustomBuilderMessage() { return customBuilderMessage_; } - + private void initFields() { eventType_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Type.BUILD_COMPLETED; description_ = ""; @@ -8818,7 +6223,7 @@ public final class CmdlineRemoteProto { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasEventType()) { memoizedIsInitialized = 0; return false; @@ -8838,7 +6243,7 @@ public final class CmdlineRemoteProto { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -8858,12 +6263,12 @@ public final class CmdlineRemoteProto { output.writeMessage(5, customBuilderMessage_); } } - + 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 @@ -8888,77 +6293,88 @@ public final class CmdlineRemoteProto { 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.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input, extensionRegistry)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent} - */ + public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent, Builder> @@ -8967,13 +6383,13 @@ public final class CmdlineRemoteProto { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); eventType_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Type.BUILD_COMPLETED; @@ -8988,15 +6404,15 @@ public final class CmdlineRemoteProto { bitField0_ = (bitField0_ & ~0x00000010); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent getDefaultInstanceForType() { return org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.getDefaultInstance(); } - + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent build() { org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent result = buildPartial(); if (!result.isInitialized()) { @@ -9004,7 +6420,17 @@ public final class CmdlineRemoteProto { } return result; } - + + private org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return result; + } + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent buildPartial() { org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent result = new org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent(this); int from_bitField0_ = bitField0_; @@ -9033,16 +6459,14 @@ public final class CmdlineRemoteProto { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent other) { if (other == org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.getDefaultInstance()) return this; if (other.hasEventType()) { setEventType(other.getEventType()); } if (other.hasDescription()) { - bitField0_ |= 0x00000002; - description_ = other.description_; - + setDescription(other.getDescription()); } if (other.hasCompletionStatus()) { setCompletionStatus(other.getCompletionStatus()); @@ -9062,7 +6486,7 @@ public final class CmdlineRemoteProto { } return this; } - + public final boolean isInitialized() { if (!hasEventType()) { @@ -9082,43 +6506,76 @@ public final class CmdlineRemoteProto { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + while (true) { + int tag = input.readTag(); + switch (tag) { + case 0: + + return this; + default: { + if (!parseUnknownField(input, extensionRegistry, tag)) { + + return this; + } + break; + } + case 8: { + int rawValue = input.readEnum(); + org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Type value = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Type.valueOf(rawValue); + if (value != null) { + bitField0_ |= 0x00000001; + eventType_ = value; + } + break; + } + case 18: { + bitField0_ |= 0x00000002; + description_ = input.readBytes(); + break; + } + case 24: { + int rawValue = input.readEnum(); + org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Status value = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Status.valueOf(rawValue); + if (value != null) { + bitField0_ |= 0x00000004; + completionStatus_ = value; + } + break; + } + case 34: { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile.Builder subBuilder = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile.newBuilder(); + input.readMessage(subBuilder, extensionRegistry); + addGeneratedFiles(subBuilder.buildPartial()); + break; + } + case 42: { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage.Builder subBuilder = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage.newBuilder(); + if (hasCustomBuilderMessage()) { + subBuilder.mergeFrom(getCustomBuilderMessage()); + } + input.readMessage(subBuilder, extensionRegistry); + setCustomBuilderMessage(subBuilder.buildPartial()); + break; + } } } - return this; } + private int bitField0_; - + // required .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.Type event_type = 1; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Type eventType_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Type.BUILD_COMPLETED; - /** - * required .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.Type event_type = 1; - */ public boolean hasEventType() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.Type event_type = 1; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Type getEventType() { return eventType_; } - /** - * required .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.Type event_type = 1; - */ public Builder setEventType(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Type value) { if (value == null) { throw new NullPointerException(); @@ -9128,59 +6585,29 @@ public final class CmdlineRemoteProto { return this; } - /** - * required .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.Type event_type = 1; - */ public Builder clearEventType() { bitField0_ = (bitField0_ & ~0x00000001); eventType_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Type.BUILD_COMPLETED; return this; } - + // optional string description = 2; private java.lang.Object description_ = ""; - /** - * optional string description = 2; - */ public boolean hasDescription() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * optional string description = 2; - */ - public java.lang.String getDescription() { + public String getDescription() { java.lang.Object ref = description_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); description_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * optional string description = 2; - */ - public com.google.protobuf.ByteString - getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string description = 2; - */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(String value) { if (value == null) { throw new NullPointerException(); } @@ -9189,46 +6616,26 @@ public final class CmdlineRemoteProto { return this; } - /** - * optional string description = 2; - */ public Builder clearDescription() { bitField0_ = (bitField0_ & ~0x00000002); description_ = getDefaultInstance().getDescription(); return this; } - /** - * optional string description = 2; - */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + void setDescription(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000002; description_ = value; - return this; } - + // optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.Status completion_status = 3; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Status completionStatus_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Status.CANCELED; - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.Status completion_status = 3; - */ public boolean hasCompletionStatus() { return ((bitField0_ & 0x00000004) == 0x00000004); } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.Status completion_status = 3; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Status getCompletionStatus() { return completionStatus_; } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.Status completion_status = 3; - */ public Builder setCompletionStatus(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Status value) { if (value == null) { throw new NullPointerException(); @@ -9238,16 +6645,13 @@ public final class CmdlineRemoteProto { return this; } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.Status completion_status = 3; - */ public Builder clearCompletionStatus() { bitField0_ = (bitField0_ & ~0x00000004); completionStatus_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Status.CANCELED; return this; } - + // repeated .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.GeneratedFile generated_files = 4; private java.util.List generatedFiles_ = java.util.Collections.emptyList(); @@ -9257,28 +6661,16 @@ public final class CmdlineRemoteProto { bitField0_ |= 0x00000008; } } - - /** - * repeated .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.GeneratedFile generated_files = 4; - */ + public java.util.List getGeneratedFilesList() { return java.util.Collections.unmodifiableList(generatedFiles_); } - /** - * repeated .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.GeneratedFile generated_files = 4; - */ public int getGeneratedFilesCount() { return generatedFiles_.size(); } - /** - * repeated .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.GeneratedFile generated_files = 4; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile getGeneratedFiles(int index) { return generatedFiles_.get(index); } - /** - * repeated .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.GeneratedFile generated_files = 4; - */ public Builder setGeneratedFiles( int index, org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile value) { if (value == null) { @@ -9286,34 +6678,25 @@ public final class CmdlineRemoteProto { } ensureGeneratedFilesIsMutable(); generatedFiles_.set(index, value); - + return this; } - /** - * repeated .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.GeneratedFile generated_files = 4; - */ public Builder setGeneratedFiles( int index, org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile.Builder builderForValue) { ensureGeneratedFilesIsMutable(); generatedFiles_.set(index, builderForValue.build()); - + return this; } - /** - * repeated .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.GeneratedFile generated_files = 4; - */ public Builder addGeneratedFiles(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile value) { if (value == null) { throw new NullPointerException(); } ensureGeneratedFilesIsMutable(); generatedFiles_.add(value); - + return this; } - /** - * repeated .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.GeneratedFile generated_files = 4; - */ public Builder addGeneratedFiles( int index, org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile value) { if (value == null) { @@ -9321,97 +6704,67 @@ public final class CmdlineRemoteProto { } ensureGeneratedFilesIsMutable(); generatedFiles_.add(index, value); - + return this; } - /** - * repeated .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.GeneratedFile generated_files = 4; - */ public Builder addGeneratedFiles( org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile.Builder builderForValue) { ensureGeneratedFilesIsMutable(); generatedFiles_.add(builderForValue.build()); - + return this; } - /** - * repeated .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.GeneratedFile generated_files = 4; - */ public Builder addGeneratedFiles( int index, org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.GeneratedFile.Builder builderForValue) { ensureGeneratedFilesIsMutable(); generatedFiles_.add(index, builderForValue.build()); - + return this; } - /** - * repeated .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.GeneratedFile generated_files = 4; - */ public Builder addAllGeneratedFiles( java.lang.Iterable values) { ensureGeneratedFilesIsMutable(); super.addAll(values, generatedFiles_); - + return this; } - /** - * repeated .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.GeneratedFile generated_files = 4; - */ public Builder clearGeneratedFiles() { generatedFiles_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); - + return this; } - /** - * repeated .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.GeneratedFile generated_files = 4; - */ public Builder removeGeneratedFiles(int index) { ensureGeneratedFilesIsMutable(); generatedFiles_.remove(index); - + return this; } - + // optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.CustomBuilderMessage custom_builder_message = 5; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage customBuilderMessage_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage.getDefaultInstance(); - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.CustomBuilderMessage custom_builder_message = 5; - */ public boolean hasCustomBuilderMessage() { return ((bitField0_ & 0x00000010) == 0x00000010); } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.CustomBuilderMessage custom_builder_message = 5; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage getCustomBuilderMessage() { return customBuilderMessage_; } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.CustomBuilderMessage custom_builder_message = 5; - */ public Builder setCustomBuilderMessage(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage value) { if (value == null) { throw new NullPointerException(); } customBuilderMessage_ = value; - + bitField0_ |= 0x00000010; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.CustomBuilderMessage custom_builder_message = 5; - */ public Builder setCustomBuilderMessage( org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage.Builder builderForValue) { customBuilderMessage_ = builderForValue.build(); - + bitField0_ |= 0x00000010; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.CustomBuilderMessage custom_builder_message = 5; - */ public Builder mergeCustomBuilderMessage(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage value) { if (((bitField0_ & 0x00000010) == 0x00000010) && customBuilderMessage_ != org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage.getDefaultInstance()) { @@ -9420,174 +6773,612 @@ public final class CmdlineRemoteProto { } else { customBuilderMessage_ = value; } - + bitField0_ |= 0x00000010; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent.CustomBuilderMessage custom_builder_message = 5; - */ public Builder clearCustomBuilderMessage() { customBuilderMessage_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.CustomBuilderMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000010); return this; } - + // @@protoc_insertion_point(builder_scope:org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent) } - + static { defaultInstance = new BuildEvent(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent) } - + public interface CompileMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required .org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage.Kind kind = 1; - /** - * required .org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage.Kind kind = 1; - */ boolean hasKind(); - /** - * required .org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage.Kind kind = 1; - */ org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.Kind getKind(); - + // optional string text = 2; - /** - * optional string text = 2; - */ boolean hasText(); - /** - * optional string text = 2; - */ - java.lang.String getText(); - /** - * optional string text = 2; - */ - com.google.protobuf.ByteString - getTextBytes(); - + String getText(); + // optional string source_file_path = 3; - /** - * optional string source_file_path = 3; - */ boolean hasSourceFilePath(); - /** - * optional string source_file_path = 3; - */ - java.lang.String getSourceFilePath(); - /** - * optional string source_file_path = 3; - */ - com.google.protobuf.ByteString - getSourceFilePathBytes(); - + String getSourceFilePath(); + // optional uint64 problem_begin_offset = 4; - /** - * optional uint64 problem_begin_offset = 4; - */ boolean hasProblemBeginOffset(); - /** - * optional uint64 problem_begin_offset = 4; - */ long getProblemBeginOffset(); - + // optional uint64 problem_end_offset = 5; - /** - * optional uint64 problem_end_offset = 5; - */ boolean hasProblemEndOffset(); - /** - * optional uint64 problem_end_offset = 5; - */ long getProblemEndOffset(); - + // optional uint64 problem_location_offset = 6; - /** - * optional uint64 problem_location_offset = 6; - */ boolean hasProblemLocationOffset(); - /** - * optional uint64 problem_location_offset = 6; - */ long getProblemLocationOffset(); - + // optional uint64 line = 7; - /** - * optional uint64 line = 7; - */ boolean hasLine(); - /** - * optional uint64 line = 7; - */ long getLine(); - + // optional uint64 column = 8; - /** - * optional uint64 column = 8; - */ boolean hasColumn(); - /** - * optional uint64 column = 8; - */ long getColumn(); - + // optional float done = 9; - /** - * optional float done = 9; - */ boolean hasDone(); - /** - * optional float done = 9; - */ float getDone(); } - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage} - */ public static final class CompileMessage extends com.google.protobuf.GeneratedMessageLite implements CompileMessageOrBuilder { // Use CompileMessage.newBuilder() to construct. - private CompileMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private CompileMessage(Builder builder) { super(builder); - } private CompileMessage(boolean noInit) {} - + private static final CompileMessage defaultInstance; public static CompileMessage getDefaultInstance() { return defaultInstance; } - + public CompileMessage getDefaultInstanceForType() { return defaultInstance; } - - private CompileMessage( - com.google.protobuf.CodedInputStream input, + + public enum Kind + implements com.google.protobuf.Internal.EnumLite { + ERROR(0, 1), + WARNING(1, 2), + INFO(2, 3), + PROGRESS(3, 4), + ; + + public static final int ERROR_VALUE = 1; + public static final int WARNING_VALUE = 2; + public static final int INFO_VALUE = 3; + public static final int PROGRESS_VALUE = 4; + + + public final int getNumber() { return value; } + + public static Kind valueOf(int value) { + switch (value) { + case 1: return ERROR; + case 2: return WARNING; + case 3: return INFO; + case 4: return PROGRESS; + 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.jpsservice.Message.BuilderMessage.CompileMessage.Kind) + } + + private int bitField0_; + // required .org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage.Kind kind = 1; + public static final int KIND_FIELD_NUMBER = 1; + private org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.Kind kind_; + public boolean hasKind() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.Kind getKind() { + return kind_; + } + + // optional string text = 2; + public static final int TEXT_FIELD_NUMBER = 2; + private java.lang.Object text_; + public boolean hasText() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + public String getText() { + java.lang.Object ref = text_; + if (ref instanceof String) { + return (String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { + text_ = s; + } + return s; + } + } + private com.google.protobuf.ByteString getTextBytes() { + java.lang.Object ref = text_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((String) ref); + text_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // optional string source_file_path = 3; + public static final int SOURCE_FILE_PATH_FIELD_NUMBER = 3; + private java.lang.Object sourceFilePath_; + public boolean hasSourceFilePath() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + public String getSourceFilePath() { + java.lang.Object ref = sourceFilePath_; + if (ref instanceof String) { + return (String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { + sourceFilePath_ = s; + } + return s; + } + } + private com.google.protobuf.ByteString getSourceFilePathBytes() { + java.lang.Object ref = sourceFilePath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((String) ref); + sourceFilePath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // optional uint64 problem_begin_offset = 4; + public static final int PROBLEM_BEGIN_OFFSET_FIELD_NUMBER = 4; + private long problemBeginOffset_; + public boolean hasProblemBeginOffset() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + public long getProblemBeginOffset() { + return problemBeginOffset_; + } + + // optional uint64 problem_end_offset = 5; + public static final int PROBLEM_END_OFFSET_FIELD_NUMBER = 5; + private long problemEndOffset_; + public boolean hasProblemEndOffset() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + public long getProblemEndOffset() { + return problemEndOffset_; + } + + // optional uint64 problem_location_offset = 6; + public static final int PROBLEM_LOCATION_OFFSET_FIELD_NUMBER = 6; + private long problemLocationOffset_; + public boolean hasProblemLocationOffset() { + return ((bitField0_ & 0x00000020) == 0x00000020); + } + public long getProblemLocationOffset() { + return problemLocationOffset_; + } + + // optional uint64 line = 7; + public static final int LINE_FIELD_NUMBER = 7; + private long line_; + public boolean hasLine() { + return ((bitField0_ & 0x00000040) == 0x00000040); + } + public long getLine() { + return line_; + } + + // optional uint64 column = 8; + public static final int COLUMN_FIELD_NUMBER = 8; + private long column_; + public boolean hasColumn() { + return ((bitField0_ & 0x00000080) == 0x00000080); + } + public long getColumn() { + return column_; + } + + // optional float done = 9; + public static final int DONE_FIELD_NUMBER = 9; + private float done_; + public boolean hasDone() { + return ((bitField0_ & 0x00000100) == 0x00000100); + } + public float getDone() { + return done_; + } + + private void initFields() { + kind_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.Kind.ERROR; + text_ = ""; + sourceFilePath_ = ""; + problemBeginOffset_ = 0L; + problemEndOffset_ = 0L; + problemLocationOffset_ = 0L; + line_ = 0L; + column_ = 0L; + done_ = 0F; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasKind()) { + 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.writeBytes(2, getTextBytes()); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeBytes(3, getSourceFilePathBytes()); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeUInt64(4, problemBeginOffset_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + output.writeUInt64(5, problemEndOffset_); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + output.writeUInt64(6, problemLocationOffset_); + } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + output.writeUInt64(7, line_); + } + if (((bitField0_ & 0x00000080) == 0x00000080)) { + output.writeUInt64(8, column_); + } + if (((bitField0_ & 0x00000100) == 0x00000100)) { + output.writeFloat(9, done_); + } + } + + 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 + .computeBytesSize(2, getTextBytes()); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(3, getSourceFilePathBytes()); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(4, problemBeginOffset_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(5, problemEndOffset_); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(6, problemLocationOffset_); + } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(7, line_); + } + if (((bitField0_ & 0x00000080) == 0x00000080)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(8, column_); + } + if (((bitField0_ & 0x00000100) == 0x00000100)) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(9, done_); + } + 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.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data).buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage parseFrom( + com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); - int mutable_bitField0_ = 0; - try { - boolean done = false; - while (!done) { + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data).buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return newBuilder().mergeFrom(input).buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input)) { + return builder.buildParsed(); + } else { + return null; + } + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input, extensionRegistry)) { + return builder.buildParsed(); + } else { + return null; + } + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return newBuilder().mergeFrom(input).buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage, Builder> + implements org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessageOrBuilder { + // Construct using org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + kind_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.Kind.ERROR; + bitField0_ = (bitField0_ & ~0x00000001); + text_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + sourceFilePath_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + problemBeginOffset_ = 0L; + bitField0_ = (bitField0_ & ~0x00000008); + problemEndOffset_ = 0L; + bitField0_ = (bitField0_ & ~0x00000010); + problemLocationOffset_ = 0L; + bitField0_ = (bitField0_ & ~0x00000020); + line_ = 0L; + bitField0_ = (bitField0_ & ~0x00000040); + column_ = 0L; + bitField0_ = (bitField0_ & ~0x00000080); + done_ = 0F; + bitField0_ = (bitField0_ & ~0x00000100); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage getDefaultInstanceForType() { + return org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.getDefaultInstance(); + } + + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage build() { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + private org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return result; + } + + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage buildPartial() { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage result = new org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage(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.text_ = text_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.sourceFilePath_ = sourceFilePath_; + if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + to_bitField0_ |= 0x00000008; + } + result.problemBeginOffset_ = problemBeginOffset_; + if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + to_bitField0_ |= 0x00000010; + } + result.problemEndOffset_ = problemEndOffset_; + if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + to_bitField0_ |= 0x00000020; + } + result.problemLocationOffset_ = problemLocationOffset_; + if (((from_bitField0_ & 0x00000040) == 0x00000040)) { + to_bitField0_ |= 0x00000040; + } + result.line_ = line_; + if (((from_bitField0_ & 0x00000080) == 0x00000080)) { + to_bitField0_ |= 0x00000080; + } + result.column_ = column_; + if (((from_bitField0_ & 0x00000100) == 0x00000100)) { + to_bitField0_ |= 0x00000100; + } + result.done_ = done_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage other) { + if (other == org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.getDefaultInstance()) return this; + if (other.hasKind()) { + setKind(other.getKind()); + } + if (other.hasText()) { + setText(other.getText()); + } + if (other.hasSourceFilePath()) { + setSourceFilePath(other.getSourceFilePath()); + } + if (other.hasProblemBeginOffset()) { + setProblemBeginOffset(other.getProblemBeginOffset()); + } + if (other.hasProblemEndOffset()) { + setProblemEndOffset(other.getProblemEndOffset()); + } + if (other.hasProblemLocationOffset()) { + setProblemLocationOffset(other.getProblemLocationOffset()); + } + if (other.hasLine()) { + setLine(other.getLine()); + } + if (other.hasColumn()) { + setColumn(other.getColumn()); + } + if (other.hasDone()) { + setDone(other.getDone()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasKind()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + while (true) { int tag = input.readTag(); switch (tag) { case 0: - done = true; - break; + + return this; default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; + if (!parseUnknownField(input, extensionRegistry, tag)) { + + return this; } break; } @@ -9642,653 +7433,18 @@ public final class CmdlineRemoteProto { } } } - } 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 CompileMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CompileMessage(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - /** - * Protobuf enum {@code org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage.Kind} - */ - public enum Kind - implements com.google.protobuf.Internal.EnumLite { - /** - * ERROR = 1; - */ - ERROR(0, 1), - /** - * WARNING = 2; - */ - WARNING(1, 2), - /** - * INFO = 3; - */ - INFO(2, 3), - /** - * PROGRESS = 4; - */ - PROGRESS(3, 4), - ; - - /** - * ERROR = 1; - */ - public static final int ERROR_VALUE = 1; - /** - * WARNING = 2; - */ - public static final int WARNING_VALUE = 2; - /** - * INFO = 3; - */ - public static final int INFO_VALUE = 3; - /** - * PROGRESS = 4; - */ - public static final int PROGRESS_VALUE = 4; - - - public final int getNumber() { return value; } - - public static Kind valueOf(int value) { - switch (value) { - case 1: return ERROR; - case 2: return WARNING; - case 3: return INFO; - case 4: return PROGRESS; - 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.jpsservice.Message.BuilderMessage.CompileMessage.Kind) - } - - private int bitField0_; - // required .org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage.Kind kind = 1; - public static final int KIND_FIELD_NUMBER = 1; - private org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.Kind kind_; - /** - * required .org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage.Kind kind = 1; - */ - public boolean hasKind() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * required .org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage.Kind kind = 1; - */ - public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.Kind getKind() { - return kind_; - } - - // optional string text = 2; - public static final int TEXT_FIELD_NUMBER = 2; - private java.lang.Object text_; - /** - * optional string text = 2; - */ - public boolean hasText() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * optional string text = 2; - */ - public java.lang.String getText() { - java.lang.Object ref = text_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - text_ = s; - } - return s; - } - } - /** - * optional string text = 2; - */ - public com.google.protobuf.ByteString - getTextBytes() { - java.lang.Object ref = text_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - text_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - // optional string source_file_path = 3; - public static final int SOURCE_FILE_PATH_FIELD_NUMBER = 3; - private java.lang.Object sourceFilePath_; - /** - * optional string source_file_path = 3; - */ - public boolean hasSourceFilePath() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * optional string source_file_path = 3; - */ - public java.lang.String getSourceFilePath() { - java.lang.Object ref = sourceFilePath_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - sourceFilePath_ = s; - } - return s; - } - } - /** - * optional string source_file_path = 3; - */ - public com.google.protobuf.ByteString - getSourceFilePathBytes() { - java.lang.Object ref = sourceFilePath_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - sourceFilePath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - // optional uint64 problem_begin_offset = 4; - public static final int PROBLEM_BEGIN_OFFSET_FIELD_NUMBER = 4; - private long problemBeginOffset_; - /** - * optional uint64 problem_begin_offset = 4; - */ - public boolean hasProblemBeginOffset() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - /** - * optional uint64 problem_begin_offset = 4; - */ - public long getProblemBeginOffset() { - return problemBeginOffset_; - } - - // optional uint64 problem_end_offset = 5; - public static final int PROBLEM_END_OFFSET_FIELD_NUMBER = 5; - private long problemEndOffset_; - /** - * optional uint64 problem_end_offset = 5; - */ - public boolean hasProblemEndOffset() { - return ((bitField0_ & 0x00000010) == 0x00000010); - } - /** - * optional uint64 problem_end_offset = 5; - */ - public long getProblemEndOffset() { - return problemEndOffset_; - } - - // optional uint64 problem_location_offset = 6; - public static final int PROBLEM_LOCATION_OFFSET_FIELD_NUMBER = 6; - private long problemLocationOffset_; - /** - * optional uint64 problem_location_offset = 6; - */ - public boolean hasProblemLocationOffset() { - return ((bitField0_ & 0x00000020) == 0x00000020); - } - /** - * optional uint64 problem_location_offset = 6; - */ - public long getProblemLocationOffset() { - return problemLocationOffset_; - } - - // optional uint64 line = 7; - public static final int LINE_FIELD_NUMBER = 7; - private long line_; - /** - * optional uint64 line = 7; - */ - public boolean hasLine() { - return ((bitField0_ & 0x00000040) == 0x00000040); - } - /** - * optional uint64 line = 7; - */ - public long getLine() { - return line_; - } - - // optional uint64 column = 8; - public static final int COLUMN_FIELD_NUMBER = 8; - private long column_; - /** - * optional uint64 column = 8; - */ - public boolean hasColumn() { - return ((bitField0_ & 0x00000080) == 0x00000080); - } - /** - * optional uint64 column = 8; - */ - public long getColumn() { - return column_; - } - - // optional float done = 9; - public static final int DONE_FIELD_NUMBER = 9; - private float done_; - /** - * optional float done = 9; - */ - public boolean hasDone() { - return ((bitField0_ & 0x00000100) == 0x00000100); - } - /** - * optional float done = 9; - */ - public float getDone() { - return done_; - } - - private void initFields() { - kind_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.Kind.ERROR; - text_ = ""; - sourceFilePath_ = ""; - problemBeginOffset_ = 0L; - problemEndOffset_ = 0L; - problemLocationOffset_ = 0L; - line_ = 0L; - column_ = 0L; - done_ = 0F; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasKind()) { - 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.writeBytes(2, getTextBytes()); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBytes(3, getSourceFilePathBytes()); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeUInt64(4, problemBeginOffset_); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeUInt64(5, problemEndOffset_); - } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - output.writeUInt64(6, problemLocationOffset_); - } - if (((bitField0_ & 0x00000040) == 0x00000040)) { - output.writeUInt64(7, line_); - } - if (((bitField0_ & 0x00000080) == 0x00000080)) { - output.writeUInt64(8, column_); - } - if (((bitField0_ & 0x00000100) == 0x00000100)) { - output.writeFloat(9, done_); - } - } - - 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 - .computeBytesSize(2, getTextBytes()); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, getSourceFilePathBytes()); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt64Size(4, problemBeginOffset_); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt64Size(5, problemEndOffset_); - } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt64Size(6, problemLocationOffset_); - } - if (((bitField0_ & 0x00000040) == 0x00000040)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt64Size(7, line_); - } - if (((bitField0_ & 0x00000080) == 0x00000080)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt64Size(8, column_); - } - if (((bitField0_ & 0x00000100) == 0x00000100)) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(9, done_); - } - 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.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage 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.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage 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.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage, Builder> - implements org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessageOrBuilder { - // Construct using org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - kind_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.Kind.ERROR; - bitField0_ = (bitField0_ & ~0x00000001); - text_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); - sourceFilePath_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); - problemBeginOffset_ = 0L; - bitField0_ = (bitField0_ & ~0x00000008); - problemEndOffset_ = 0L; - bitField0_ = (bitField0_ & ~0x00000010); - problemLocationOffset_ = 0L; - bitField0_ = (bitField0_ & ~0x00000020); - line_ = 0L; - bitField0_ = (bitField0_ & ~0x00000040); - column_ = 0L; - bitField0_ = (bitField0_ & ~0x00000080); - done_ = 0F; - bitField0_ = (bitField0_ & ~0x00000100); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage getDefaultInstanceForType() { - return org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.getDefaultInstance(); - } - - public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage build() { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage buildPartial() { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage result = new org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage(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.text_ = text_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.sourceFilePath_ = sourceFilePath_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { - to_bitField0_ |= 0x00000008; - } - result.problemBeginOffset_ = problemBeginOffset_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { - to_bitField0_ |= 0x00000010; - } - result.problemEndOffset_ = problemEndOffset_; - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { - to_bitField0_ |= 0x00000020; - } - result.problemLocationOffset_ = problemLocationOffset_; - if (((from_bitField0_ & 0x00000040) == 0x00000040)) { - to_bitField0_ |= 0x00000040; - } - result.line_ = line_; - if (((from_bitField0_ & 0x00000080) == 0x00000080)) { - to_bitField0_ |= 0x00000080; - } - result.column_ = column_; - if (((from_bitField0_ & 0x00000100) == 0x00000100)) { - to_bitField0_ |= 0x00000100; - } - result.done_ = done_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage other) { - if (other == org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.getDefaultInstance()) return this; - if (other.hasKind()) { - setKind(other.getKind()); - } - if (other.hasText()) { - bitField0_ |= 0x00000002; - text_ = other.text_; - - } - if (other.hasSourceFilePath()) { - bitField0_ |= 0x00000004; - sourceFilePath_ = other.sourceFilePath_; - - } - if (other.hasProblemBeginOffset()) { - setProblemBeginOffset(other.getProblemBeginOffset()); - } - if (other.hasProblemEndOffset()) { - setProblemEndOffset(other.getProblemEndOffset()); - } - if (other.hasProblemLocationOffset()) { - setProblemLocationOffset(other.getProblemLocationOffset()); - } - if (other.hasLine()) { - setLine(other.getLine()); - } - if (other.hasColumn()) { - setColumn(other.getColumn()); - } - if (other.hasDone()) { - setDone(other.getDone()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasKind()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; } + private int bitField0_; - + // required .org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage.Kind kind = 1; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.Kind kind_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.Kind.ERROR; - /** - * required .org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage.Kind kind = 1; - */ public boolean hasKind() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required .org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage.Kind kind = 1; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.Kind getKind() { return kind_; } - /** - * required .org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage.Kind kind = 1; - */ public Builder setKind(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.Kind value) { if (value == null) { throw new NullPointerException(); @@ -10298,59 +7454,29 @@ public final class CmdlineRemoteProto { return this; } - /** - * required .org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage.Kind kind = 1; - */ public Builder clearKind() { bitField0_ = (bitField0_ & ~0x00000001); kind_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.Kind.ERROR; return this; } - + // optional string text = 2; private java.lang.Object text_ = ""; - /** - * optional string text = 2; - */ public boolean hasText() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * optional string text = 2; - */ - public java.lang.String getText() { + public String getText() { java.lang.Object ref = text_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); text_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * optional string text = 2; - */ - public com.google.protobuf.ByteString - getTextBytes() { - java.lang.Object ref = text_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - text_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string text = 2; - */ - public Builder setText( - java.lang.String value) { + public Builder setText(String value) { if (value == null) { throw new NullPointerException(); } @@ -10359,72 +7485,34 @@ public final class CmdlineRemoteProto { return this; } - /** - * optional string text = 2; - */ public Builder clearText() { bitField0_ = (bitField0_ & ~0x00000002); text_ = getDefaultInstance().getText(); return this; } - /** - * optional string text = 2; - */ - public Builder setTextBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + void setText(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000002; text_ = value; - return this; } - + // optional string source_file_path = 3; private java.lang.Object sourceFilePath_ = ""; - /** - * optional string source_file_path = 3; - */ public boolean hasSourceFilePath() { return ((bitField0_ & 0x00000004) == 0x00000004); } - /** - * optional string source_file_path = 3; - */ - public java.lang.String getSourceFilePath() { + public String getSourceFilePath() { java.lang.Object ref = sourceFilePath_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); sourceFilePath_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * optional string source_file_path = 3; - */ - public com.google.protobuf.ByteString - getSourceFilePathBytes() { - java.lang.Object ref = sourceFilePath_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - sourceFilePath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string source_file_path = 3; - */ - public Builder setSourceFilePath( - java.lang.String value) { + public Builder setSourceFilePath(String value) { if (value == null) { throw new NullPointerException(); } @@ -10433,341 +7521,584 @@ public final class CmdlineRemoteProto { return this; } - /** - * optional string source_file_path = 3; - */ public Builder clearSourceFilePath() { bitField0_ = (bitField0_ & ~0x00000004); sourceFilePath_ = getDefaultInstance().getSourceFilePath(); return this; } - /** - * optional string source_file_path = 3; - */ - public Builder setSourceFilePathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + void setSourceFilePath(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000004; sourceFilePath_ = value; - return this; } - + // optional uint64 problem_begin_offset = 4; private long problemBeginOffset_ ; - /** - * optional uint64 problem_begin_offset = 4; - */ public boolean hasProblemBeginOffset() { return ((bitField0_ & 0x00000008) == 0x00000008); } - /** - * optional uint64 problem_begin_offset = 4; - */ public long getProblemBeginOffset() { return problemBeginOffset_; } - /** - * optional uint64 problem_begin_offset = 4; - */ public Builder setProblemBeginOffset(long value) { bitField0_ |= 0x00000008; problemBeginOffset_ = value; return this; } - /** - * optional uint64 problem_begin_offset = 4; - */ public Builder clearProblemBeginOffset() { bitField0_ = (bitField0_ & ~0x00000008); problemBeginOffset_ = 0L; return this; } - + // optional uint64 problem_end_offset = 5; private long problemEndOffset_ ; - /** - * optional uint64 problem_end_offset = 5; - */ public boolean hasProblemEndOffset() { return ((bitField0_ & 0x00000010) == 0x00000010); } - /** - * optional uint64 problem_end_offset = 5; - */ public long getProblemEndOffset() { return problemEndOffset_; } - /** - * optional uint64 problem_end_offset = 5; - */ public Builder setProblemEndOffset(long value) { bitField0_ |= 0x00000010; problemEndOffset_ = value; return this; } - /** - * optional uint64 problem_end_offset = 5; - */ public Builder clearProblemEndOffset() { bitField0_ = (bitField0_ & ~0x00000010); problemEndOffset_ = 0L; return this; } - + // optional uint64 problem_location_offset = 6; private long problemLocationOffset_ ; - /** - * optional uint64 problem_location_offset = 6; - */ public boolean hasProblemLocationOffset() { return ((bitField0_ & 0x00000020) == 0x00000020); } - /** - * optional uint64 problem_location_offset = 6; - */ public long getProblemLocationOffset() { return problemLocationOffset_; } - /** - * optional uint64 problem_location_offset = 6; - */ public Builder setProblemLocationOffset(long value) { bitField0_ |= 0x00000020; problemLocationOffset_ = value; return this; } - /** - * optional uint64 problem_location_offset = 6; - */ public Builder clearProblemLocationOffset() { bitField0_ = (bitField0_ & ~0x00000020); problemLocationOffset_ = 0L; return this; } - + // optional uint64 line = 7; private long line_ ; - /** - * optional uint64 line = 7; - */ public boolean hasLine() { return ((bitField0_ & 0x00000040) == 0x00000040); } - /** - * optional uint64 line = 7; - */ public long getLine() { return line_; } - /** - * optional uint64 line = 7; - */ public Builder setLine(long value) { bitField0_ |= 0x00000040; line_ = value; return this; } - /** - * optional uint64 line = 7; - */ public Builder clearLine() { bitField0_ = (bitField0_ & ~0x00000040); line_ = 0L; return this; } - + // optional uint64 column = 8; private long column_ ; - /** - * optional uint64 column = 8; - */ public boolean hasColumn() { return ((bitField0_ & 0x00000080) == 0x00000080); } - /** - * optional uint64 column = 8; - */ public long getColumn() { return column_; } - /** - * optional uint64 column = 8; - */ public Builder setColumn(long value) { bitField0_ |= 0x00000080; column_ = value; return this; } - /** - * optional uint64 column = 8; - */ public Builder clearColumn() { bitField0_ = (bitField0_ & ~0x00000080); column_ = 0L; return this; } - + // optional float done = 9; private float done_ ; - /** - * optional float done = 9; - */ public boolean hasDone() { return ((bitField0_ & 0x00000100) == 0x00000100); } - /** - * optional float done = 9; - */ public float getDone() { return done_; } - /** - * optional float done = 9; - */ public Builder setDone(float value) { bitField0_ |= 0x00000100; done_ = value; return this; } - /** - * optional float done = 9; - */ public Builder clearDone() { bitField0_ = (bitField0_ & ~0x00000100); done_ = 0F; return this; } - + // @@protoc_insertion_point(builder_scope:org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage) } - + static { defaultInstance = new CompileMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage) } - + public interface ConstantSearchTaskOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required string owner_class_name = 1; - /** - * required string owner_class_name = 1; - */ boolean hasOwnerClassName(); - /** - * required string owner_class_name = 1; - */ - java.lang.String getOwnerClassName(); - /** - * required string owner_class_name = 1; - */ - com.google.protobuf.ByteString - getOwnerClassNameBytes(); - + String getOwnerClassName(); + // required string field_name = 2; - /** - * required string field_name = 2; - */ boolean hasFieldName(); - /** - * required string field_name = 2; - */ - java.lang.String getFieldName(); - /** - * required string field_name = 2; - */ - com.google.protobuf.ByteString - getFieldNameBytes(); - + String getFieldName(); + // required int32 access_flags = 3; - /** - * required int32 access_flags = 3; - */ boolean hasAccessFlags(); - /** - * required int32 access_flags = 3; - */ int getAccessFlags(); - + // optional bool is_access_changed = 4 [default = false]; - /** - * optional bool is_access_changed = 4 [default = false]; - */ boolean hasIsAccessChanged(); - /** - * optional bool is_access_changed = 4 [default = false]; - */ boolean getIsAccessChanged(); - + // optional bool is_field_removed = 5 [default = false]; - /** - * optional bool is_field_removed = 5 [default = false]; - */ boolean hasIsFieldRemoved(); - /** - * optional bool is_field_removed = 5 [default = false]; - */ boolean getIsFieldRemoved(); } - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.BuilderMessage.ConstantSearchTask} - */ public static final class ConstantSearchTask extends com.google.protobuf.GeneratedMessageLite implements ConstantSearchTaskOrBuilder { // Use ConstantSearchTask.newBuilder() to construct. - private ConstantSearchTask(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private ConstantSearchTask(Builder builder) { super(builder); - } private ConstantSearchTask(boolean noInit) {} - + private static final ConstantSearchTask defaultInstance; public static ConstantSearchTask getDefaultInstance() { return defaultInstance; } - + public ConstantSearchTask getDefaultInstanceForType() { return defaultInstance; } - - private ConstantSearchTask( - com.google.protobuf.CodedInputStream input, + + private int bitField0_; + // required string owner_class_name = 1; + public static final int OWNER_CLASS_NAME_FIELD_NUMBER = 1; + private java.lang.Object ownerClassName_; + public boolean hasOwnerClassName() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + public String getOwnerClassName() { + java.lang.Object ref = ownerClassName_; + if (ref instanceof String) { + return (String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { + ownerClassName_ = s; + } + return s; + } + } + private com.google.protobuf.ByteString getOwnerClassNameBytes() { + java.lang.Object ref = ownerClassName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((String) ref); + ownerClassName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // required string field_name = 2; + public static final int FIELD_NAME_FIELD_NUMBER = 2; + private java.lang.Object fieldName_; + public boolean hasFieldName() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + public String getFieldName() { + java.lang.Object ref = fieldName_; + if (ref instanceof String) { + return (String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { + fieldName_ = s; + } + return s; + } + } + private com.google.protobuf.ByteString getFieldNameBytes() { + java.lang.Object ref = fieldName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((String) ref); + fieldName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // required int32 access_flags = 3; + public static final int ACCESS_FLAGS_FIELD_NUMBER = 3; + private int accessFlags_; + public boolean hasAccessFlags() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + public int getAccessFlags() { + return accessFlags_; + } + + // optional bool is_access_changed = 4 [default = false]; + public static final int IS_ACCESS_CHANGED_FIELD_NUMBER = 4; + private boolean isAccessChanged_; + public boolean hasIsAccessChanged() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + public boolean getIsAccessChanged() { + return isAccessChanged_; + } + + // optional bool is_field_removed = 5 [default = false]; + public static final int IS_FIELD_REMOVED_FIELD_NUMBER = 5; + private boolean isFieldRemoved_; + public boolean hasIsFieldRemoved() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + public boolean getIsFieldRemoved() { + return isFieldRemoved_; + } + + private void initFields() { + ownerClassName_ = ""; + fieldName_ = ""; + accessFlags_ = 0; + isAccessChanged_ = false; + isFieldRemoved_ = false; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasOwnerClassName()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasFieldName()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasAccessFlags()) { + 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.writeBytes(1, getOwnerClassNameBytes()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeBytes(2, getFieldNameBytes()); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeInt32(3, accessFlags_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeBool(4, isAccessChanged_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + output.writeBool(5, isFieldRemoved_); + } + } + + 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 + .computeBytesSize(1, getOwnerClassNameBytes()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, getFieldNameBytes()); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, accessFlags_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, isAccessChanged_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, isFieldRemoved_); + } + 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.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data).buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask parseFrom( + com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); - int mutable_bitField0_ = 0; - try { - boolean done = false; - while (!done) { + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data).buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask parseFrom(java.io.InputStream input) + throws java.io.IOException { + return newBuilder().mergeFrom(input).buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input)) { + return builder.buildParsed(); + } else { + return null; + } + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input, extensionRegistry)) { + return builder.buildParsed(); + } else { + return null; + } + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return newBuilder().mergeFrom(input).buildParsed(); + } + public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask, Builder> + implements org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTaskOrBuilder { + // Construct using org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + ownerClassName_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + fieldName_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + accessFlags_ = 0; + bitField0_ = (bitField0_ & ~0x00000004); + isAccessChanged_ = false; + bitField0_ = (bitField0_ & ~0x00000008); + isFieldRemoved_ = false; + bitField0_ = (bitField0_ & ~0x00000010); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask getDefaultInstanceForType() { + return org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask.getDefaultInstance(); + } + + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask build() { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + private org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return result; + } + + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask buildPartial() { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask result = new org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.ownerClassName_ = ownerClassName_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.fieldName_ = fieldName_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.accessFlags_ = accessFlags_; + if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + to_bitField0_ |= 0x00000008; + } + result.isAccessChanged_ = isAccessChanged_; + if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + to_bitField0_ |= 0x00000010; + } + result.isFieldRemoved_ = isFieldRemoved_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask other) { + if (other == org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask.getDefaultInstance()) return this; + if (other.hasOwnerClassName()) { + setOwnerClassName(other.getOwnerClassName()); + } + if (other.hasFieldName()) { + setFieldName(other.getFieldName()); + } + if (other.hasAccessFlags()) { + setAccessFlags(other.getAccessFlags()); + } + if (other.hasIsAccessChanged()) { + setIsAccessChanged(other.getIsAccessChanged()); + } + if (other.hasIsFieldRemoved()) { + setIsFieldRemoved(other.getIsFieldRemoved()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasOwnerClassName()) { + + return false; + } + if (!hasFieldName()) { + + return false; + } + if (!hasAccessFlags()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + while (true) { int tag = input.readTag(); switch (tag) { case 0: - done = true; - break; + + return this; default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; + if (!parseUnknownField(input, extensionRegistry, tag)) { + + return this; } break; } @@ -10798,489 +8129,26 @@ public final class CmdlineRemoteProto { } } } - } 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 ConstantSearchTask parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConstantSearchTask(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - private int bitField0_; - // required string owner_class_name = 1; - public static final int OWNER_CLASS_NAME_FIELD_NUMBER = 1; - private java.lang.Object ownerClassName_; - /** - * required string owner_class_name = 1; - */ - public boolean hasOwnerClassName() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * required string owner_class_name = 1; - */ - public java.lang.String getOwnerClassName() { - java.lang.Object ref = ownerClassName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - ownerClassName_ = s; - } - return s; - } - } - /** - * required string owner_class_name = 1; - */ - public com.google.protobuf.ByteString - getOwnerClassNameBytes() { - java.lang.Object ref = ownerClassName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - ownerClassName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - // required string field_name = 2; - public static final int FIELD_NAME_FIELD_NUMBER = 2; - private java.lang.Object fieldName_; - /** - * required string field_name = 2; - */ - public boolean hasFieldName() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required string field_name = 2; - */ - public java.lang.String getFieldName() { - java.lang.Object ref = fieldName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - fieldName_ = s; - } - return s; - } - } - /** - * required string field_name = 2; - */ - public com.google.protobuf.ByteString - getFieldNameBytes() { - java.lang.Object ref = fieldName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - fieldName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - // required int32 access_flags = 3; - public static final int ACCESS_FLAGS_FIELD_NUMBER = 3; - private int accessFlags_; - /** - * required int32 access_flags = 3; - */ - public boolean hasAccessFlags() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * required int32 access_flags = 3; - */ - public int getAccessFlags() { - return accessFlags_; - } - - // optional bool is_access_changed = 4 [default = false]; - public static final int IS_ACCESS_CHANGED_FIELD_NUMBER = 4; - private boolean isAccessChanged_; - /** - * optional bool is_access_changed = 4 [default = false]; - */ - public boolean hasIsAccessChanged() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - /** - * optional bool is_access_changed = 4 [default = false]; - */ - public boolean getIsAccessChanged() { - return isAccessChanged_; - } - - // optional bool is_field_removed = 5 [default = false]; - public static final int IS_FIELD_REMOVED_FIELD_NUMBER = 5; - private boolean isFieldRemoved_; - /** - * optional bool is_field_removed = 5 [default = false]; - */ - public boolean hasIsFieldRemoved() { - return ((bitField0_ & 0x00000010) == 0x00000010); - } - /** - * optional bool is_field_removed = 5 [default = false]; - */ - public boolean getIsFieldRemoved() { - return isFieldRemoved_; - } - - private void initFields() { - ownerClassName_ = ""; - fieldName_ = ""; - accessFlags_ = 0; - isAccessChanged_ = false; - isFieldRemoved_ = false; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasOwnerClassName()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasFieldName()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasAccessFlags()) { - 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.writeBytes(1, getOwnerClassNameBytes()); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBytes(2, getFieldNameBytes()); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeInt32(3, accessFlags_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeBool(4, isAccessChanged_); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeBool(5, isFieldRemoved_); - } - } - - 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 - .computeBytesSize(1, getOwnerClassNameBytes()); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, getFieldNameBytes()); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, accessFlags_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, isAccessChanged_); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, isFieldRemoved_); - } - 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.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask 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.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask parseFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask 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.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.BuilderMessage.ConstantSearchTask} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask, Builder> - implements org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTaskOrBuilder { - // Construct using org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - ownerClassName_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - fieldName_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); - accessFlags_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); - isAccessChanged_ = false; - bitField0_ = (bitField0_ & ~0x00000008); - isFieldRemoved_ = false; - bitField0_ = (bitField0_ & ~0x00000010); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask getDefaultInstanceForType() { - return org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask.getDefaultInstance(); - } - - public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask build() { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask buildPartial() { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask result = new org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.ownerClassName_ = ownerClassName_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.fieldName_ = fieldName_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.accessFlags_ = accessFlags_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { - to_bitField0_ |= 0x00000008; - } - result.isAccessChanged_ = isAccessChanged_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { - to_bitField0_ |= 0x00000010; - } - result.isFieldRemoved_ = isFieldRemoved_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask other) { - if (other == org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask.getDefaultInstance()) return this; - if (other.hasOwnerClassName()) { - bitField0_ |= 0x00000001; - ownerClassName_ = other.ownerClassName_; - - } - if (other.hasFieldName()) { - bitField0_ |= 0x00000002; - fieldName_ = other.fieldName_; - - } - if (other.hasAccessFlags()) { - setAccessFlags(other.getAccessFlags()); - } - if (other.hasIsAccessChanged()) { - setIsAccessChanged(other.getIsAccessChanged()); - } - if (other.hasIsFieldRemoved()) { - setIsFieldRemoved(other.getIsFieldRemoved()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasOwnerClassName()) { - - return false; - } - if (!hasFieldName()) { - - return false; - } - if (!hasAccessFlags()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; } + private int bitField0_; - + // required string owner_class_name = 1; private java.lang.Object ownerClassName_ = ""; - /** - * required string owner_class_name = 1; - */ public boolean hasOwnerClassName() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required string owner_class_name = 1; - */ - public java.lang.String getOwnerClassName() { + public String getOwnerClassName() { java.lang.Object ref = ownerClassName_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); ownerClassName_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * required string owner_class_name = 1; - */ - public com.google.protobuf.ByteString - getOwnerClassNameBytes() { - java.lang.Object ref = ownerClassName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - ownerClassName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * required string owner_class_name = 1; - */ - public Builder setOwnerClassName( - java.lang.String value) { + public Builder setOwnerClassName(String value) { if (value == null) { throw new NullPointerException(); } @@ -11289,72 +8157,34 @@ public final class CmdlineRemoteProto { return this; } - /** - * required string owner_class_name = 1; - */ public Builder clearOwnerClassName() { bitField0_ = (bitField0_ & ~0x00000001); ownerClassName_ = getDefaultInstance().getOwnerClassName(); return this; } - /** - * required string owner_class_name = 1; - */ - public Builder setOwnerClassNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + void setOwnerClassName(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000001; ownerClassName_ = value; - return this; } - + // required string field_name = 2; private java.lang.Object fieldName_ = ""; - /** - * required string field_name = 2; - */ public boolean hasFieldName() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * required string field_name = 2; - */ - public java.lang.String getFieldName() { + public String getFieldName() { java.lang.Object ref = fieldName_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); fieldName_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * required string field_name = 2; - */ - public com.google.protobuf.ByteString - getFieldNameBytes() { - java.lang.Object ref = fieldName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - fieldName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * required string field_name = 2; - */ - public Builder setFieldName( - java.lang.String value) { + public Builder setFieldName(String value) { if (value == null) { throw new NullPointerException(); } @@ -11363,204 +8193,133 @@ public final class CmdlineRemoteProto { return this; } - /** - * required string field_name = 2; - */ public Builder clearFieldName() { bitField0_ = (bitField0_ & ~0x00000002); fieldName_ = getDefaultInstance().getFieldName(); return this; } - /** - * required string field_name = 2; - */ - public Builder setFieldNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + void setFieldName(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000002; fieldName_ = value; - return this; } - + // required int32 access_flags = 3; private int accessFlags_ ; - /** - * required int32 access_flags = 3; - */ public boolean hasAccessFlags() { return ((bitField0_ & 0x00000004) == 0x00000004); } - /** - * required int32 access_flags = 3; - */ public int getAccessFlags() { return accessFlags_; } - /** - * required int32 access_flags = 3; - */ public Builder setAccessFlags(int value) { bitField0_ |= 0x00000004; accessFlags_ = value; return this; } - /** - * required int32 access_flags = 3; - */ public Builder clearAccessFlags() { bitField0_ = (bitField0_ & ~0x00000004); accessFlags_ = 0; return this; } - + // optional bool is_access_changed = 4 [default = false]; private boolean isAccessChanged_ ; - /** - * optional bool is_access_changed = 4 [default = false]; - */ public boolean hasIsAccessChanged() { return ((bitField0_ & 0x00000008) == 0x00000008); } - /** - * optional bool is_access_changed = 4 [default = false]; - */ public boolean getIsAccessChanged() { return isAccessChanged_; } - /** - * optional bool is_access_changed = 4 [default = false]; - */ public Builder setIsAccessChanged(boolean value) { bitField0_ |= 0x00000008; isAccessChanged_ = value; return this; } - /** - * optional bool is_access_changed = 4 [default = false]; - */ public Builder clearIsAccessChanged() { bitField0_ = (bitField0_ & ~0x00000008); isAccessChanged_ = false; return this; } - + // optional bool is_field_removed = 5 [default = false]; private boolean isFieldRemoved_ ; - /** - * optional bool is_field_removed = 5 [default = false]; - */ public boolean hasIsFieldRemoved() { return ((bitField0_ & 0x00000010) == 0x00000010); } - /** - * optional bool is_field_removed = 5 [default = false]; - */ public boolean getIsFieldRemoved() { return isFieldRemoved_; } - /** - * optional bool is_field_removed = 5 [default = false]; - */ public Builder setIsFieldRemoved(boolean value) { bitField0_ |= 0x00000010; isFieldRemoved_ = value; return this; } - /** - * optional bool is_field_removed = 5 [default = false]; - */ public Builder clearIsFieldRemoved() { bitField0_ = (bitField0_ & ~0x00000010); isFieldRemoved_ = false; return this; } - + // @@protoc_insertion_point(builder_scope:org.jetbrains.jpsservice.Message.BuilderMessage.ConstantSearchTask) } - + static { defaultInstance = new ConstantSearchTask(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:org.jetbrains.jpsservice.Message.BuilderMessage.ConstantSearchTask) } - + private int bitField0_; // required .org.jetbrains.jpsservice.Message.BuilderMessage.Type type = 1; public static final int TYPE_FIELD_NUMBER = 1; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.Type type_; - /** - * required .org.jetbrains.jpsservice.Message.BuilderMessage.Type type = 1; - */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required .org.jetbrains.jpsservice.Message.BuilderMessage.Type type = 1; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.Type getType() { return type_; } - + // optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent build_event = 2; public static final int BUILD_EVENT_FIELD_NUMBER = 2; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent buildEvent_; - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent build_event = 2; - */ public boolean hasBuildEvent() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent build_event = 2; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent getBuildEvent() { return buildEvent_; } - + // optional .org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage compile_message = 3; public static final int COMPILE_MESSAGE_FIELD_NUMBER = 3; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage compileMessage_; - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage compile_message = 3; - */ public boolean hasCompileMessage() { return ((bitField0_ & 0x00000004) == 0x00000004); } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage compile_message = 3; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage getCompileMessage() { return compileMessage_; } - + // optional .org.jetbrains.jpsservice.Message.BuilderMessage.ConstantSearchTask constant_search_task = 4; public static final int CONSTANT_SEARCH_TASK_FIELD_NUMBER = 4; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask constantSearchTask_; - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.ConstantSearchTask constant_search_task = 4; - */ public boolean hasConstantSearchTask() { return ((bitField0_ & 0x00000008) == 0x00000008); } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.ConstantSearchTask constant_search_task = 4; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask getConstantSearchTask() { return constantSearchTask_; } - + private void initFields() { type_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.Type.PARAM_REQUEST; buildEvent_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.getDefaultInstance(); @@ -11571,7 +8330,7 @@ public final class CmdlineRemoteProto { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasType()) { memoizedIsInitialized = 0; return false; @@ -11597,7 +8356,7 @@ public final class CmdlineRemoteProto { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -11614,12 +8373,12 @@ public final class CmdlineRemoteProto { output.writeMessage(4, constantSearchTask_); } } - + 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 @@ -11640,77 +8399,88 @@ public final class CmdlineRemoteProto { 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.jps.api.CmdlineRemoteProto.Message.BuilderMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input, extensionRegistry)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message.BuilderMessage} - */ + public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage, Builder> @@ -11719,13 +8489,13 @@ public final class CmdlineRemoteProto { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); type_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.Type.PARAM_REQUEST; @@ -11738,15 +8508,15 @@ public final class CmdlineRemoteProto { bitField0_ = (bitField0_ & ~0x00000008); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage getDefaultInstanceForType() { return org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.getDefaultInstance(); } - + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage build() { org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage result = buildPartial(); if (!result.isInitialized()) { @@ -11754,7 +8524,17 @@ public final class CmdlineRemoteProto { } return result; } - + + private org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return result; + } + public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage buildPartial() { org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage result = new org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage(this); int from_bitField0_ = bitField0_; @@ -11778,7 +8558,7 @@ public final class CmdlineRemoteProto { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage other) { if (other == org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.getDefaultInstance()) return this; if (other.hasType()) { @@ -11795,7 +8575,7 @@ public final class CmdlineRemoteProto { } return this; } - + public final boolean isInitialized() { if (!hasType()) { @@ -11821,43 +8601,74 @@ public final class CmdlineRemoteProto { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + while (true) { + int tag = input.readTag(); + switch (tag) { + case 0: + + return this; + default: { + if (!parseUnknownField(input, extensionRegistry, tag)) { + + return this; + } + break; + } + case 8: { + int rawValue = input.readEnum(); + org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.Type value = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.Type.valueOf(rawValue); + if (value != null) { + bitField0_ |= 0x00000001; + type_ = value; + } + break; + } + case 18: { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Builder subBuilder = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.newBuilder(); + if (hasBuildEvent()) { + subBuilder.mergeFrom(getBuildEvent()); + } + input.readMessage(subBuilder, extensionRegistry); + setBuildEvent(subBuilder.buildPartial()); + break; + } + case 26: { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.Builder subBuilder = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.newBuilder(); + if (hasCompileMessage()) { + subBuilder.mergeFrom(getCompileMessage()); + } + input.readMessage(subBuilder, extensionRegistry); + setCompileMessage(subBuilder.buildPartial()); + break; + } + case 34: { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask.Builder subBuilder = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask.newBuilder(); + if (hasConstantSearchTask()) { + subBuilder.mergeFrom(getConstantSearchTask()); + } + input.readMessage(subBuilder, extensionRegistry); + setConstantSearchTask(subBuilder.buildPartial()); + break; + } } } - return this; } + private int bitField0_; - + // required .org.jetbrains.jpsservice.Message.BuilderMessage.Type type = 1; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.Type type_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.Type.PARAM_REQUEST; - /** - * required .org.jetbrains.jpsservice.Message.BuilderMessage.Type type = 1; - */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required .org.jetbrains.jpsservice.Message.BuilderMessage.Type type = 1; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.Type getType() { return type_; } - /** - * required .org.jetbrains.jpsservice.Message.BuilderMessage.Type type = 1; - */ public Builder setType(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.Type value) { if (value == null) { throw new NullPointerException(); @@ -11867,55 +8678,37 @@ public final class CmdlineRemoteProto { return this; } - /** - * required .org.jetbrains.jpsservice.Message.BuilderMessage.Type type = 1; - */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.Type.PARAM_REQUEST; return this; } - + // optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent build_event = 2; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent buildEvent_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.getDefaultInstance(); - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent build_event = 2; - */ public boolean hasBuildEvent() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent build_event = 2; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent getBuildEvent() { return buildEvent_; } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent build_event = 2; - */ public Builder setBuildEvent(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent value) { if (value == null) { throw new NullPointerException(); } buildEvent_ = value; - + bitField0_ |= 0x00000002; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent build_event = 2; - */ public Builder setBuildEvent( org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Builder builderForValue) { buildEvent_ = builderForValue.build(); - + bitField0_ |= 0x00000002; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent build_event = 2; - */ public Builder mergeBuildEvent(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent value) { if (((bitField0_ & 0x00000002) == 0x00000002) && buildEvent_ != org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.getDefaultInstance()) { @@ -11924,59 +8717,41 @@ public final class CmdlineRemoteProto { } else { buildEvent_ = value; } - + bitField0_ |= 0x00000002; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.BuildEvent build_event = 2; - */ public Builder clearBuildEvent() { buildEvent_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000002); return this; } - + // optional .org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage compile_message = 3; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage compileMessage_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.getDefaultInstance(); - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage compile_message = 3; - */ public boolean hasCompileMessage() { return ((bitField0_ & 0x00000004) == 0x00000004); } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage compile_message = 3; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage getCompileMessage() { return compileMessage_; } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage compile_message = 3; - */ public Builder setCompileMessage(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage value) { if (value == null) { throw new NullPointerException(); } compileMessage_ = value; - + bitField0_ |= 0x00000004; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage compile_message = 3; - */ public Builder setCompileMessage( org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.Builder builderForValue) { compileMessage_ = builderForValue.build(); - + bitField0_ |= 0x00000004; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage compile_message = 3; - */ public Builder mergeCompileMessage(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage value) { if (((bitField0_ & 0x00000004) == 0x00000004) && compileMessage_ != org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.getDefaultInstance()) { @@ -11985,59 +8760,41 @@ public final class CmdlineRemoteProto { } else { compileMessage_ = value; } - + bitField0_ |= 0x00000004; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.CompileMessage compile_message = 3; - */ public Builder clearCompileMessage() { compileMessage_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.CompileMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000004); return this; } - + // optional .org.jetbrains.jpsservice.Message.BuilderMessage.ConstantSearchTask constant_search_task = 4; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask constantSearchTask_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask.getDefaultInstance(); - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.ConstantSearchTask constant_search_task = 4; - */ public boolean hasConstantSearchTask() { return ((bitField0_ & 0x00000008) == 0x00000008); } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.ConstantSearchTask constant_search_task = 4; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask getConstantSearchTask() { return constantSearchTask_; } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.ConstantSearchTask constant_search_task = 4; - */ public Builder setConstantSearchTask(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask value) { if (value == null) { throw new NullPointerException(); } constantSearchTask_ = value; - + bitField0_ |= 0x00000008; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.ConstantSearchTask constant_search_task = 4; - */ public Builder setConstantSearchTask( org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask.Builder builderForValue) { constantSearchTask_ = builderForValue.build(); - + bitField0_ |= 0x00000008; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.ConstantSearchTask constant_search_task = 4; - */ public Builder mergeConstantSearchTask(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask value) { if (((bitField0_ & 0x00000008) == 0x00000008) && constantSearchTask_ != org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask.getDefaultInstance()) { @@ -12046,112 +8803,79 @@ public final class CmdlineRemoteProto { } else { constantSearchTask_ = value; } - + bitField0_ |= 0x00000008; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage.ConstantSearchTask constant_search_task = 4; - */ public Builder clearConstantSearchTask() { constantSearchTask_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.ConstantSearchTask.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000008); return this; } - + // @@protoc_insertion_point(builder_scope:org.jetbrains.jpsservice.Message.BuilderMessage) } - + static { defaultInstance = new BuilderMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:org.jetbrains.jpsservice.Message.BuilderMessage) } - + private int bitField0_; // required .org.jetbrains.jpsservice.Message.UUID session_id = 1; public static final int SESSION_ID_FIELD_NUMBER = 1; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID sessionId_; - /** - * required .org.jetbrains.jpsservice.Message.UUID session_id = 1; - */ public boolean hasSessionId() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required .org.jetbrains.jpsservice.Message.UUID session_id = 1; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID getSessionId() { return sessionId_; } - + // required .org.jetbrains.jpsservice.Message.Type type = 2; public static final int TYPE_FIELD_NUMBER = 2; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.Type type_; - /** - * required .org.jetbrains.jpsservice.Message.Type type = 2; - */ public boolean hasType() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * required .org.jetbrains.jpsservice.Message.Type type = 2; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.Type getType() { return type_; } - + // optional .org.jetbrains.jpsservice.Message.ControllerMessage controller_message = 3; public static final int CONTROLLER_MESSAGE_FIELD_NUMBER = 3; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage controllerMessage_; - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage controller_message = 3; - */ public boolean hasControllerMessage() { return ((bitField0_ & 0x00000004) == 0x00000004); } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage controller_message = 3; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage getControllerMessage() { return controllerMessage_; } - + // optional .org.jetbrains.jpsservice.Message.BuilderMessage builder_message = 4; public static final int BUILDER_MESSAGE_FIELD_NUMBER = 4; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage builderMessage_; - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage builder_message = 4; - */ public boolean hasBuilderMessage() { return ((bitField0_ & 0x00000008) == 0x00000008); } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage builder_message = 4; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage getBuilderMessage() { return builderMessage_; } - + // optional .org.jetbrains.jpsservice.Message.Failure failure = 5; public static final int FAILURE_FIELD_NUMBER = 5; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure failure_; - /** - * optional .org.jetbrains.jpsservice.Message.Failure failure = 5; - */ public boolean hasFailure() { return ((bitField0_ & 0x00000010) == 0x00000010); } - /** - * optional .org.jetbrains.jpsservice.Message.Failure failure = 5; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure getFailure() { return failure_; } - + private void initFields() { sessionId_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID.getDefaultInstance(); type_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.Type.CONTROLLER_MESSAGE; @@ -12163,7 +8887,7 @@ public final class CmdlineRemoteProto { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasSessionId()) { memoizedIsInitialized = 0; return false; @@ -12191,7 +8915,7 @@ public final class CmdlineRemoteProto { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -12211,12 +8935,12 @@ public final class CmdlineRemoteProto { output.writeMessage(5, failure_); } } - + 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 @@ -12241,77 +8965,88 @@ public final class CmdlineRemoteProto { 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.jps.api.CmdlineRemoteProto.Message parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input, extensionRegistry)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.api.CmdlineRemoteProto.Message parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.jetbrains.jps.api.CmdlineRemoteProto.Message prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - - /** - * Protobuf type {@code org.jetbrains.jpsservice.Message} - */ + public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.jetbrains.jps.api.CmdlineRemoteProto.Message, Builder> @@ -12320,13 +9055,13 @@ public final class CmdlineRemoteProto { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); sessionId_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID.getDefaultInstance(); @@ -12341,15 +9076,15 @@ public final class CmdlineRemoteProto { bitField0_ = (bitField0_ & ~0x00000010); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public org.jetbrains.jps.api.CmdlineRemoteProto.Message getDefaultInstanceForType() { return org.jetbrains.jps.api.CmdlineRemoteProto.Message.getDefaultInstance(); } - + public org.jetbrains.jps.api.CmdlineRemoteProto.Message build() { org.jetbrains.jps.api.CmdlineRemoteProto.Message result = buildPartial(); if (!result.isInitialized()) { @@ -12357,7 +9092,17 @@ public final class CmdlineRemoteProto { } return result; } - + + private org.jetbrains.jps.api.CmdlineRemoteProto.Message buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + org.jetbrains.jps.api.CmdlineRemoteProto.Message result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return result; + } + public org.jetbrains.jps.api.CmdlineRemoteProto.Message buildPartial() { org.jetbrains.jps.api.CmdlineRemoteProto.Message result = new org.jetbrains.jps.api.CmdlineRemoteProto.Message(this); int from_bitField0_ = bitField0_; @@ -12385,7 +9130,7 @@ public final class CmdlineRemoteProto { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(org.jetbrains.jps.api.CmdlineRemoteProto.Message other) { if (other == org.jetbrains.jps.api.CmdlineRemoteProto.Message.getDefaultInstance()) return this; if (other.hasSessionId()) { @@ -12405,7 +9150,7 @@ public final class CmdlineRemoteProto { } return this; } - + public final boolean isInitialized() { if (!hasSessionId()) { @@ -12433,65 +9178,99 @@ public final class CmdlineRemoteProto { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.jetbrains.jps.api.CmdlineRemoteProto.Message parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.jetbrains.jps.api.CmdlineRemoteProto.Message) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + while (true) { + int tag = input.readTag(); + switch (tag) { + case 0: + + return this; + default: { + if (!parseUnknownField(input, extensionRegistry, tag)) { + + return this; + } + break; + } + case 10: { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID.Builder subBuilder = org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID.newBuilder(); + if (hasSessionId()) { + subBuilder.mergeFrom(getSessionId()); + } + input.readMessage(subBuilder, extensionRegistry); + setSessionId(subBuilder.buildPartial()); + break; + } + case 16: { + int rawValue = input.readEnum(); + org.jetbrains.jps.api.CmdlineRemoteProto.Message.Type value = org.jetbrains.jps.api.CmdlineRemoteProto.Message.Type.valueOf(rawValue); + if (value != null) { + bitField0_ |= 0x00000002; + type_ = value; + } + break; + } + case 26: { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.Builder subBuilder = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.newBuilder(); + if (hasControllerMessage()) { + subBuilder.mergeFrom(getControllerMessage()); + } + input.readMessage(subBuilder, extensionRegistry); + setControllerMessage(subBuilder.buildPartial()); + break; + } + case 34: { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.Builder subBuilder = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.newBuilder(); + if (hasBuilderMessage()) { + subBuilder.mergeFrom(getBuilderMessage()); + } + input.readMessage(subBuilder, extensionRegistry); + setBuilderMessage(subBuilder.buildPartial()); + break; + } + case 42: { + org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure.Builder subBuilder = org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure.newBuilder(); + if (hasFailure()) { + subBuilder.mergeFrom(getFailure()); + } + input.readMessage(subBuilder, extensionRegistry); + setFailure(subBuilder.buildPartial()); + break; + } } } - return this; } + private int bitField0_; - + // required .org.jetbrains.jpsservice.Message.UUID session_id = 1; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID sessionId_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID.getDefaultInstance(); - /** - * required .org.jetbrains.jpsservice.Message.UUID session_id = 1; - */ public boolean hasSessionId() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required .org.jetbrains.jpsservice.Message.UUID session_id = 1; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID getSessionId() { return sessionId_; } - /** - * required .org.jetbrains.jpsservice.Message.UUID session_id = 1; - */ public Builder setSessionId(org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID value) { if (value == null) { throw new NullPointerException(); } sessionId_ = value; - + bitField0_ |= 0x00000001; return this; } - /** - * required .org.jetbrains.jpsservice.Message.UUID session_id = 1; - */ public Builder setSessionId( org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID.Builder builderForValue) { sessionId_ = builderForValue.build(); - + bitField0_ |= 0x00000001; return this; } - /** - * required .org.jetbrains.jpsservice.Message.UUID session_id = 1; - */ public Builder mergeSessionId(org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID value) { if (((bitField0_ & 0x00000001) == 0x00000001) && sessionId_ != org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID.getDefaultInstance()) { @@ -12500,37 +9279,25 @@ public final class CmdlineRemoteProto { } else { sessionId_ = value; } - + bitField0_ |= 0x00000001; return this; } - /** - * required .org.jetbrains.jpsservice.Message.UUID session_id = 1; - */ public Builder clearSessionId() { sessionId_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000001); return this; } - + // required .org.jetbrains.jpsservice.Message.Type type = 2; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.Type type_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.Type.CONTROLLER_MESSAGE; - /** - * required .org.jetbrains.jpsservice.Message.Type type = 2; - */ public boolean hasType() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * required .org.jetbrains.jpsservice.Message.Type type = 2; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.Type getType() { return type_; } - /** - * required .org.jetbrains.jpsservice.Message.Type type = 2; - */ public Builder setType(org.jetbrains.jps.api.CmdlineRemoteProto.Message.Type value) { if (value == null) { throw new NullPointerException(); @@ -12540,55 +9307,37 @@ public final class CmdlineRemoteProto { return this; } - /** - * required .org.jetbrains.jpsservice.Message.Type type = 2; - */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000002); type_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.Type.CONTROLLER_MESSAGE; return this; } - + // optional .org.jetbrains.jpsservice.Message.ControllerMessage controller_message = 3; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage controllerMessage_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.getDefaultInstance(); - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage controller_message = 3; - */ public boolean hasControllerMessage() { return ((bitField0_ & 0x00000004) == 0x00000004); } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage controller_message = 3; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage getControllerMessage() { return controllerMessage_; } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage controller_message = 3; - */ public Builder setControllerMessage(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage value) { if (value == null) { throw new NullPointerException(); } controllerMessage_ = value; - + bitField0_ |= 0x00000004; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage controller_message = 3; - */ public Builder setControllerMessage( org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.Builder builderForValue) { controllerMessage_ = builderForValue.build(); - + bitField0_ |= 0x00000004; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage controller_message = 3; - */ public Builder mergeControllerMessage(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage value) { if (((bitField0_ & 0x00000004) == 0x00000004) && controllerMessage_ != org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.getDefaultInstance()) { @@ -12597,59 +9346,41 @@ public final class CmdlineRemoteProto { } else { controllerMessage_ = value; } - + bitField0_ |= 0x00000004; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.ControllerMessage controller_message = 3; - */ public Builder clearControllerMessage() { controllerMessage_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000004); return this; } - + // optional .org.jetbrains.jpsservice.Message.BuilderMessage builder_message = 4; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage builderMessage_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.getDefaultInstance(); - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage builder_message = 4; - */ public boolean hasBuilderMessage() { return ((bitField0_ & 0x00000008) == 0x00000008); } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage builder_message = 4; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage getBuilderMessage() { return builderMessage_; } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage builder_message = 4; - */ public Builder setBuilderMessage(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage value) { if (value == null) { throw new NullPointerException(); } builderMessage_ = value; - + bitField0_ |= 0x00000008; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage builder_message = 4; - */ public Builder setBuilderMessage( org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.Builder builderForValue) { builderMessage_ = builderForValue.build(); - + bitField0_ |= 0x00000008; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage builder_message = 4; - */ public Builder mergeBuilderMessage(org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage value) { if (((bitField0_ & 0x00000008) == 0x00000008) && builderMessage_ != org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.getDefaultInstance()) { @@ -12658,59 +9389,41 @@ public final class CmdlineRemoteProto { } else { builderMessage_ = value; } - + bitField0_ |= 0x00000008; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.BuilderMessage builder_message = 4; - */ public Builder clearBuilderMessage() { builderMessage_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000008); return this; } - + // optional .org.jetbrains.jpsservice.Message.Failure failure = 5; private org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure failure_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure.getDefaultInstance(); - /** - * optional .org.jetbrains.jpsservice.Message.Failure failure = 5; - */ public boolean hasFailure() { return ((bitField0_ & 0x00000010) == 0x00000010); } - /** - * optional .org.jetbrains.jpsservice.Message.Failure failure = 5; - */ public org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure getFailure() { return failure_; } - /** - * optional .org.jetbrains.jpsservice.Message.Failure failure = 5; - */ public Builder setFailure(org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure value) { if (value == null) { throw new NullPointerException(); } failure_ = value; - + bitField0_ |= 0x00000010; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.Failure failure = 5; - */ public Builder setFailure( org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure.Builder builderForValue) { failure_ = builderForValue.build(); - + bitField0_ |= 0x00000010; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.Failure failure = 5; - */ public Builder mergeFailure(org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure value) { if (((bitField0_ & 0x00000010) == 0x00000010) && failure_ != org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure.getDefaultInstance()) { @@ -12719,34 +9432,31 @@ public final class CmdlineRemoteProto { } else { failure_ = value; } - + bitField0_ |= 0x00000010; return this; } - /** - * optional .org.jetbrains.jpsservice.Message.Failure failure = 5; - */ public Builder clearFailure() { failure_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000010); return this; } - + // @@protoc_insertion_point(builder_scope:org.jetbrains.jpsservice.Message) } - + static { defaultInstance = new Message(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:org.jetbrains.jpsservice.Message) } - - + + static { } - + // @@protoc_insertion_point(outer_class_scope) } diff --git a/jps/jps-builders/src/org/jetbrains/jps/javac/JavacRemoteProto.java b/jps/jps-builders/src/org/jetbrains/jps/javac/JavacRemoteProto.java index 87317f2758a6..4b731645877e 100644 --- a/jps/jps-builders/src/org/jetbrains/jps/javac/JavacRemoteProto.java +++ b/jps/jps-builders/src/org/jetbrains/jps/javac/JavacRemoteProto.java @@ -10,222 +10,59 @@ public final class JavacRemoteProto { } public interface MessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required .org.jetbrains.javac.Message.UUID session_id = 1; - /** - * required .org.jetbrains.javac.Message.UUID session_id = 1; - */ boolean hasSessionId(); - /** - * required .org.jetbrains.javac.Message.UUID session_id = 1; - */ org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID getSessionId(); - + // required .org.jetbrains.javac.Message.Type message_type = 2; - /** - * required .org.jetbrains.javac.Message.Type message_type = 2; - */ boolean hasMessageType(); - /** - * required .org.jetbrains.javac.Message.Type message_type = 2; - */ org.jetbrains.jps.javac.JavacRemoteProto.Message.Type getMessageType(); - + // optional .org.jetbrains.javac.Message.Request request = 3; - /** - * optional .org.jetbrains.javac.Message.Request request = 3; - */ boolean hasRequest(); - /** - * optional .org.jetbrains.javac.Message.Request request = 3; - */ org.jetbrains.jps.javac.JavacRemoteProto.Message.Request getRequest(); - + // optional .org.jetbrains.javac.Message.Response response = 4; - /** - * optional .org.jetbrains.javac.Message.Response response = 4; - */ boolean hasResponse(); - /** - * optional .org.jetbrains.javac.Message.Response response = 4; - */ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response getResponse(); - + // optional .org.jetbrains.javac.Message.Failure failure = 5; - /** - * optional .org.jetbrains.javac.Message.Failure failure = 5; - */ boolean hasFailure(); - /** - * optional .org.jetbrains.javac.Message.Failure failure = 5; - */ org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure getFailure(); } - /** - * Protobuf type {@code org.jetbrains.javac.Message} - */ public static final class Message extends com.google.protobuf.GeneratedMessageLite implements MessageOrBuilder { // Use Message.newBuilder() to construct. - private Message(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private Message(Builder builder) { super(builder); - } private Message(boolean noInit) {} - + private static final Message defaultInstance; public static Message getDefaultInstance() { return defaultInstance; } - + public Message getDefaultInstanceForType() { return defaultInstance; } - - private Message( - 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.jps.javac.JavacRemoteProto.Message.UUID.Builder subBuilder = null; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - subBuilder = sessionId_.toBuilder(); - } - sessionId_ = input.readMessage(org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sessionId_); - sessionId_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000001; - break; - } - case 16: { - int rawValue = input.readEnum(); - org.jetbrains.jps.javac.JavacRemoteProto.Message.Type value = org.jetbrains.jps.javac.JavacRemoteProto.Message.Type.valueOf(rawValue); - if (value != null) { - bitField0_ |= 0x00000002; - messageType_ = value; - } - break; - } - case 26: { - org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.Builder subBuilder = null; - if (((bitField0_ & 0x00000004) == 0x00000004)) { - subBuilder = request_.toBuilder(); - } - request_ = input.readMessage(org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(request_); - request_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000004; - break; - } - case 34: { - org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.Builder subBuilder = null; - if (((bitField0_ & 0x00000008) == 0x00000008)) { - subBuilder = response_.toBuilder(); - } - response_ = input.readMessage(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(response_); - response_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000008; - break; - } - case 42: { - org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure.Builder subBuilder = null; - if (((bitField0_ & 0x00000010) == 0x00000010)) { - subBuilder = failure_.toBuilder(); - } - failure_ = input.readMessage(org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(failure_); - failure_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000010; - 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 Message parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Message(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - /** - * Protobuf enum {@code org.jetbrains.javac.Message.Type} - */ + public enum Type implements com.google.protobuf.Internal.EnumLite { - /** - * REQUEST = 1; - */ REQUEST(0, 1), - /** - * RESPONSE = 2; - */ RESPONSE(1, 2), - /** - * FAILURE = 3; - */ FAILURE(2, 3), ; - - /** - * REQUEST = 1; - */ + public static final int REQUEST_VALUE = 1; - /** - * RESPONSE = 2; - */ public static final int RESPONSE_VALUE = 2; - /** - * FAILURE = 3; - */ public static final int FAILURE_VALUE = 3; - - + + public final int getNumber() { return value; } - + public static Type valueOf(int value) { switch (value) { case 1: return REQUEST; @@ -234,7 +71,7 @@ public final class JavacRemoteProto { default: return null; } } - + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; @@ -246,151 +83,66 @@ public final class JavacRemoteProto { return Type.valueOf(number); } }; - + private final int value; - + private Type(int index, int value) { this.value = value; } - + // @@protoc_insertion_point(enum_scope:org.jetbrains.javac.Message.Type) } - + public interface UUIDOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required sint64 most_sig_bits = 1; - /** - * required sint64 most_sig_bits = 1; - */ boolean hasMostSigBits(); - /** - * required sint64 most_sig_bits = 1; - */ long getMostSigBits(); - + // required sint64 least_sig_bits = 2; - /** - * required sint64 least_sig_bits = 2; - */ boolean hasLeastSigBits(); - /** - * required sint64 least_sig_bits = 2; - */ long getLeastSigBits(); } - /** - * Protobuf type {@code org.jetbrains.javac.Message.UUID} - */ public static final class UUID extends com.google.protobuf.GeneratedMessageLite implements UUIDOrBuilder { // Use UUID.newBuilder() to construct. - private UUID(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private UUID(Builder builder) { super(builder); - } private UUID(boolean noInit) {} - + private static final UUID defaultInstance; public static UUID getDefaultInstance() { return defaultInstance; } - + public UUID getDefaultInstanceForType() { return defaultInstance; } - - private UUID( - 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; - mostSigBits_ = input.readSInt64(); - break; - } - case 16: { - bitField0_ |= 0x00000002; - leastSigBits_ = input.readSInt64(); - 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 UUID parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UUID(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - + private int bitField0_; // required sint64 most_sig_bits = 1; public static final int MOST_SIG_BITS_FIELD_NUMBER = 1; private long mostSigBits_; - /** - * required sint64 most_sig_bits = 1; - */ public boolean hasMostSigBits() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required sint64 most_sig_bits = 1; - */ public long getMostSigBits() { return mostSigBits_; } - + // required sint64 least_sig_bits = 2; public static final int LEAST_SIG_BITS_FIELD_NUMBER = 2; private long leastSigBits_; - /** - * required sint64 least_sig_bits = 2; - */ public boolean hasLeastSigBits() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * required sint64 least_sig_bits = 2; - */ public long getLeastSigBits() { return leastSigBits_; } - + private void initFields() { mostSigBits_ = 0L; leastSigBits_ = 0L; @@ -399,7 +151,7 @@ public final class JavacRemoteProto { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasMostSigBits()) { memoizedIsInitialized = 0; return false; @@ -411,7 +163,7 @@ public final class JavacRemoteProto { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -422,12 +174,12 @@ public final class JavacRemoteProto { output.writeSInt64(2, leastSigBits_); } } - + 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 @@ -440,77 +192,88 @@ public final class JavacRemoteProto { 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.jps.javac.JavacRemoteProto.Message.UUID parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input, extensionRegistry)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - - /** - * Protobuf type {@code org.jetbrains.javac.Message.UUID} - */ + public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID, Builder> @@ -519,13 +282,13 @@ public final class JavacRemoteProto { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); mostSigBits_ = 0L; @@ -534,15 +297,15 @@ public final class JavacRemoteProto { bitField0_ = (bitField0_ & ~0x00000002); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID getDefaultInstanceForType() { return org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID.getDefaultInstance(); } - + public org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID build() { org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID result = buildPartial(); if (!result.isInitialized()) { @@ -550,7 +313,17 @@ public final class JavacRemoteProto { } return result; } - + + private org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return result; + } + public org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID buildPartial() { org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID result = new org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID(this); int from_bitField0_ = bitField0_; @@ -566,7 +339,7 @@ public final class JavacRemoteProto { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID other) { if (other == org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID.getDefaultInstance()) return this; if (other.hasMostSigBits()) { @@ -577,7 +350,7 @@ public final class JavacRemoteProto { } return this; } - + public final boolean isInitialized() { if (!hasMostSigBits()) { @@ -589,186 +362,436 @@ public final class JavacRemoteProto { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + while (true) { + int tag = input.readTag(); + switch (tag) { + case 0: + + return this; + default: { + if (!parseUnknownField(input, extensionRegistry, tag)) { + + return this; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + mostSigBits_ = input.readSInt64(); + break; + } + case 16: { + bitField0_ |= 0x00000002; + leastSigBits_ = input.readSInt64(); + break; + } } } - return this; } + private int bitField0_; - + // required sint64 most_sig_bits = 1; private long mostSigBits_ ; - /** - * required sint64 most_sig_bits = 1; - */ public boolean hasMostSigBits() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required sint64 most_sig_bits = 1; - */ public long getMostSigBits() { return mostSigBits_; } - /** - * required sint64 most_sig_bits = 1; - */ public Builder setMostSigBits(long value) { bitField0_ |= 0x00000001; mostSigBits_ = value; return this; } - /** - * required sint64 most_sig_bits = 1; - */ public Builder clearMostSigBits() { bitField0_ = (bitField0_ & ~0x00000001); mostSigBits_ = 0L; return this; } - + // required sint64 least_sig_bits = 2; private long leastSigBits_ ; - /** - * required sint64 least_sig_bits = 2; - */ public boolean hasLeastSigBits() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * required sint64 least_sig_bits = 2; - */ public long getLeastSigBits() { return leastSigBits_; } - /** - * required sint64 least_sig_bits = 2; - */ public Builder setLeastSigBits(long value) { bitField0_ |= 0x00000002; leastSigBits_ = value; return this; } - /** - * required sint64 least_sig_bits = 2; - */ public Builder clearLeastSigBits() { bitField0_ = (bitField0_ & ~0x00000002); leastSigBits_ = 0L; return this; } - + // @@protoc_insertion_point(builder_scope:org.jetbrains.javac.Message.UUID) } - + static { defaultInstance = new UUID(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:org.jetbrains.javac.Message.UUID) } - + public interface FailureOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // optional int32 error_code = 1; - /** - * optional int32 error_code = 1; - */ boolean hasErrorCode(); - /** - * optional int32 error_code = 1; - */ int getErrorCode(); - + // optional string description = 2; - /** - * optional string description = 2; - */ boolean hasDescription(); - /** - * optional string description = 2; - */ - java.lang.String getDescription(); - /** - * optional string description = 2; - */ - com.google.protobuf.ByteString - getDescriptionBytes(); - + String getDescription(); + // optional string stacktrace = 3; - /** - * optional string stacktrace = 3; - */ boolean hasStacktrace(); - /** - * optional string stacktrace = 3; - */ - java.lang.String getStacktrace(); - /** - * optional string stacktrace = 3; - */ - com.google.protobuf.ByteString - getStacktraceBytes(); + String getStacktrace(); } - /** - * Protobuf type {@code org.jetbrains.javac.Message.Failure} - */ public static final class Failure extends com.google.protobuf.GeneratedMessageLite implements FailureOrBuilder { // Use Failure.newBuilder() to construct. - private Failure(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private Failure(Builder builder) { super(builder); - } private Failure(boolean noInit) {} - + private static final Failure defaultInstance; public static Failure getDefaultInstance() { return defaultInstance; } - + public Failure getDefaultInstanceForType() { return defaultInstance; } - - private Failure( - com.google.protobuf.CodedInputStream input, + + private int bitField0_; + // optional int32 error_code = 1; + public static final int ERROR_CODE_FIELD_NUMBER = 1; + private int errorCode_; + public boolean hasErrorCode() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + public int getErrorCode() { + return errorCode_; + } + + // optional string description = 2; + public static final int DESCRIPTION_FIELD_NUMBER = 2; + private java.lang.Object description_; + public boolean hasDescription() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + public String getDescription() { + java.lang.Object ref = description_; + if (ref instanceof String) { + return (String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { + description_ = s; + } + return s; + } + } + private com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // optional string stacktrace = 3; + public static final int STACKTRACE_FIELD_NUMBER = 3; + private java.lang.Object stacktrace_; + public boolean hasStacktrace() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + public String getStacktrace() { + java.lang.Object ref = stacktrace_; + if (ref instanceof String) { + return (String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { + stacktrace_ = s; + } + return s; + } + } + private com.google.protobuf.ByteString getStacktraceBytes() { + java.lang.Object ref = stacktrace_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((String) ref); + stacktrace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private void initFields() { + errorCode_ = 0; + description_ = ""; + stacktrace_ = ""; + } + 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(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeInt32(1, errorCode_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeBytes(2, getDescriptionBytes()); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeBytes(3, getStacktraceBytes()); + } + } + + 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, errorCode_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, getDescriptionBytes()); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(3, getStacktraceBytes()); + } + 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.jps.javac.JavacRemoteProto.Message.Failure parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data).buildParsed(); + } + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure parseFrom( + com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); - int mutable_bitField0_ = 0; - try { - boolean done = false; - while (!done) { + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); + } + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data).buildParsed(); + } + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); + } + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure parseFrom(java.io.InputStream input) + throws java.io.IOException { + return newBuilder().mergeFrom(input).buildParsed(); + } + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); + } + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input)) { + return builder.buildParsed(); + } else { + return null; + } + } + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input, extensionRegistry)) { + return builder.buildParsed(); + } else { + return null; + } + } + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return newBuilder().mergeFrom(input).buildParsed(); + } + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure, Builder> + implements org.jetbrains.jps.javac.JavacRemoteProto.Message.FailureOrBuilder { + // Construct using org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + errorCode_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + description_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + stacktrace_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure getDefaultInstanceForType() { + return org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure.getDefaultInstance(); + } + + public org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure build() { + org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + private org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return result; + } + + public org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure buildPartial() { + org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure result = new org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.errorCode_ = errorCode_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.description_ = description_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.stacktrace_ = stacktrace_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure other) { + if (other == org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure.getDefaultInstance()) return this; + if (other.hasErrorCode()) { + setErrorCode(other.getErrorCode()); + } + if (other.hasDescription()) { + setDescription(other.getDescription()); + } + if (other.hasStacktrace()) { + setStacktrace(other.getStacktrace()); + } + 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 { + while (true) { int tag = input.readTag(); switch (tag) { case 0: - done = true; - break; + + return this; default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; + if (!parseUnknownField(input, extensionRegistry, tag)) { + + return this; } break; } @@ -789,432 +812,47 @@ public final class JavacRemoteProto { } } } - } 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 Failure parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Failure(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - private int bitField0_; - // optional int32 error_code = 1; - public static final int ERROR_CODE_FIELD_NUMBER = 1; - private int errorCode_; - /** - * optional int32 error_code = 1; - */ - public boolean hasErrorCode() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * optional int32 error_code = 1; - */ - public int getErrorCode() { - return errorCode_; - } - - // optional string description = 2; - public static final int DESCRIPTION_FIELD_NUMBER = 2; - private java.lang.Object description_; - /** - * optional string description = 2; - */ - public boolean hasDescription() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * optional string description = 2; - */ - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - description_ = s; - } - return s; - } - } - /** - * optional string description = 2; - */ - public com.google.protobuf.ByteString - getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - // optional string stacktrace = 3; - public static final int STACKTRACE_FIELD_NUMBER = 3; - private java.lang.Object stacktrace_; - /** - * optional string stacktrace = 3; - */ - public boolean hasStacktrace() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * optional string stacktrace = 3; - */ - public java.lang.String getStacktrace() { - java.lang.Object ref = stacktrace_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - stacktrace_ = s; - } - return s; - } - } - /** - * optional string stacktrace = 3; - */ - public com.google.protobuf.ByteString - getStacktraceBytes() { - java.lang.Object ref = stacktrace_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - stacktrace_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private void initFields() { - errorCode_ = 0; - description_ = ""; - stacktrace_ = ""; - } - 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(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeInt32(1, errorCode_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBytes(2, getDescriptionBytes()); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBytes(3, getStacktraceBytes()); - } - } - - 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, errorCode_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, getDescriptionBytes()); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, getStacktraceBytes()); - } - 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.jps.javac.JavacRemoteProto.Message.Failure parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure 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.jps.javac.JavacRemoteProto.Message.Failure parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure parseFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); - } - public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); - } - public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); - } - public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure 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.jps.javac.JavacRemoteProto.Message.Failure prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - /** - * Protobuf type {@code org.jetbrains.javac.Message.Failure} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure, Builder> - implements org.jetbrains.jps.javac.JavacRemoteProto.Message.FailureOrBuilder { - // Construct using org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - errorCode_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - description_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); - stacktrace_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure getDefaultInstanceForType() { - return org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure.getDefaultInstance(); - } - - public org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure build() { - org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - public org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure buildPartial() { - org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure result = new org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.errorCode_ = errorCode_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.description_ = description_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.stacktrace_ = stacktrace_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure other) { - if (other == org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure.getDefaultInstance()) return this; - if (other.hasErrorCode()) { - setErrorCode(other.getErrorCode()); - } - if (other.hasDescription()) { - bitField0_ |= 0x00000002; - description_ = other.description_; - - } - if (other.hasStacktrace()) { - bitField0_ |= 0x00000004; - stacktrace_ = other.stacktrace_; - - } - 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.jps.javac.JavacRemoteProto.Message.Failure parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; } + private int bitField0_; - + // optional int32 error_code = 1; private int errorCode_ ; - /** - * optional int32 error_code = 1; - */ public boolean hasErrorCode() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * optional int32 error_code = 1; - */ public int getErrorCode() { return errorCode_; } - /** - * optional int32 error_code = 1; - */ public Builder setErrorCode(int value) { bitField0_ |= 0x00000001; errorCode_ = value; return this; } - /** - * optional int32 error_code = 1; - */ public Builder clearErrorCode() { bitField0_ = (bitField0_ & ~0x00000001); errorCode_ = 0; return this; } - + // optional string description = 2; private java.lang.Object description_ = ""; - /** - * optional string description = 2; - */ public boolean hasDescription() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * optional string description = 2; - */ - public java.lang.String getDescription() { + public String getDescription() { java.lang.Object ref = description_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); description_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * optional string description = 2; - */ - public com.google.protobuf.ByteString - getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string description = 2; - */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(String value) { if (value == null) { throw new NullPointerException(); } @@ -1223,72 +861,34 @@ public final class JavacRemoteProto { return this; } - /** - * optional string description = 2; - */ public Builder clearDescription() { bitField0_ = (bitField0_ & ~0x00000002); description_ = getDefaultInstance().getDescription(); return this; } - /** - * optional string description = 2; - */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + void setDescription(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000002; description_ = value; - return this; } - + // optional string stacktrace = 3; private java.lang.Object stacktrace_ = ""; - /** - * optional string stacktrace = 3; - */ public boolean hasStacktrace() { return ((bitField0_ & 0x00000004) == 0x00000004); } - /** - * optional string stacktrace = 3; - */ - public java.lang.String getStacktrace() { + public String getStacktrace() { java.lang.Object ref = stacktrace_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); stacktrace_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * optional string stacktrace = 3; - */ - public com.google.protobuf.ByteString - getStacktraceBytes() { - java.lang.Object ref = stacktrace_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - stacktrace_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string stacktrace = 3; - */ - public Builder setStacktrace( - java.lang.String value) { + public Builder setStacktrace(String value) { if (value == null) { throw new NullPointerException(); } @@ -1297,347 +897,99 @@ public final class JavacRemoteProto { return this; } - /** - * optional string stacktrace = 3; - */ public Builder clearStacktrace() { bitField0_ = (bitField0_ & ~0x00000004); stacktrace_ = getDefaultInstance().getStacktrace(); return this; } - /** - * optional string stacktrace = 3; - */ - public Builder setStacktraceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + void setStacktrace(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000004; stacktrace_ = value; - return this; } - + // @@protoc_insertion_point(builder_scope:org.jetbrains.javac.Message.Failure) } - + static { defaultInstance = new Failure(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:org.jetbrains.javac.Message.Failure) } - + public interface RequestOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required .org.jetbrains.javac.Message.Request.Type request_type = 1; - /** - * required .org.jetbrains.javac.Message.Request.Type request_type = 1; - */ boolean hasRequestType(); - /** - * required .org.jetbrains.javac.Message.Request.Type request_type = 1; - */ org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.Type getRequestType(); - + // repeated string option = 2; - /** - * repeated string option = 2; - */ - java.util.List - getOptionList(); - /** - * repeated string option = 2; - */ + java.util.List getOptionList(); int getOptionCount(); - /** - * repeated string option = 2; - */ - java.lang.String getOption(int index); - /** - * repeated string option = 2; - */ - com.google.protobuf.ByteString - getOptionBytes(int index); - + String getOption(int index); + // repeated string file = 3; - /** - * repeated string file = 3; - */ - java.util.List - getFileList(); - /** - * repeated string file = 3; - */ + java.util.List getFileList(); int getFileCount(); - /** - * repeated string file = 3; - */ - java.lang.String getFile(int index); - /** - * repeated string file = 3; - */ - com.google.protobuf.ByteString - getFileBytes(int index); - + String getFile(int index); + // repeated string platform_classpath = 4; - /** - * repeated string platform_classpath = 4; - */ - java.util.List - getPlatformClasspathList(); - /** - * repeated string platform_classpath = 4; - */ + java.util.List getPlatformClasspathList(); int getPlatformClasspathCount(); - /** - * repeated string platform_classpath = 4; - */ - java.lang.String getPlatformClasspath(int index); - /** - * repeated string platform_classpath = 4; - */ - com.google.protobuf.ByteString - getPlatformClasspathBytes(int index); - + String getPlatformClasspath(int index); + // repeated string classpath = 5; - /** - * repeated string classpath = 5; - */ - java.util.List - getClasspathList(); - /** - * repeated string classpath = 5; - */ + java.util.List getClasspathList(); int getClasspathCount(); - /** - * repeated string classpath = 5; - */ - java.lang.String getClasspath(int index); - /** - * repeated string classpath = 5; - */ - com.google.protobuf.ByteString - getClasspathBytes(int index); - + String getClasspath(int index); + // repeated string sourcepath = 6; - /** - * repeated string sourcepath = 6; - */ - java.util.List - getSourcepathList(); - /** - * repeated string sourcepath = 6; - */ + java.util.List getSourcepathList(); int getSourcepathCount(); - /** - * repeated string sourcepath = 6; - */ - java.lang.String getSourcepath(int index); - /** - * repeated string sourcepath = 6; - */ - com.google.protobuf.ByteString - getSourcepathBytes(int index); - + String getSourcepath(int index); + // repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7; - /** - * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7; - */ java.util.List getOutputList(); - /** - * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7; - */ org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup getOutput(int index); - /** - * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7; - */ int getOutputCount(); } - /** - * Protobuf type {@code org.jetbrains.javac.Message.Request} - */ public static final class Request extends com.google.protobuf.GeneratedMessageLite implements RequestOrBuilder { // Use Request.newBuilder() to construct. - private Request(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private Request(Builder builder) { super(builder); - } private Request(boolean noInit) {} - + private static final Request defaultInstance; public static Request getDefaultInstance() { return defaultInstance; } - + public Request getDefaultInstanceForType() { return defaultInstance; } - - private Request( - 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.jps.javac.JavacRemoteProto.Message.Request.Type value = org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.Type.valueOf(rawValue); - if (value != null) { - bitField0_ |= 0x00000001; - requestType_ = value; - } - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { - option_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - option_.add(input.readBytes()); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { - file_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; - } - file_.add(input.readBytes()); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { - platformClasspath_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000008; - } - platformClasspath_.add(input.readBytes()); - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { - classpath_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000010; - } - classpath_.add(input.readBytes()); - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { - sourcepath_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000020; - } - sourcepath_.add(input.readBytes()); - break; - } - case 58: { - if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { - output_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000040; - } - output_.add(input.readMessage(org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup.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)) { - option_ = new com.google.protobuf.UnmodifiableLazyStringList(option_); - } - if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { - file_ = new com.google.protobuf.UnmodifiableLazyStringList(file_); - } - if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { - platformClasspath_ = new com.google.protobuf.UnmodifiableLazyStringList(platformClasspath_); - } - if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { - classpath_ = new com.google.protobuf.UnmodifiableLazyStringList(classpath_); - } - if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { - sourcepath_ = new com.google.protobuf.UnmodifiableLazyStringList(sourcepath_); - } - if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { - output_ = java.util.Collections.unmodifiableList(output_); - } - makeExtensionsImmutable(); - } - } - public static com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - public Request parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Request(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - /** - * Protobuf enum {@code org.jetbrains.javac.Message.Request.Type} - */ + public enum Type implements com.google.protobuf.Internal.EnumLite { - /** - * COMPILE = 1; - */ COMPILE(0, 1), - /** - * CANCEL = 2; - */ CANCEL(1, 2), - /** - * SHUTDOWN = 3; - */ SHUTDOWN(2, 3), ; - - /** - * COMPILE = 1; - */ + public static final int COMPILE_VALUE = 1; - /** - * CANCEL = 2; - */ public static final int CANCEL_VALUE = 2; - /** - * SHUTDOWN = 3; - */ public static final int SHUTDOWN_VALUE = 3; - - + + public final int getNumber() { return value; } - + public static Type valueOf(int value) { switch (value) { case 1: return COMPILE; @@ -1646,7 +998,7 @@ public final class JavacRemoteProto { default: return null; } } - + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; @@ -1658,213 +1010,93 @@ public final class JavacRemoteProto { return Type.valueOf(number); } }; - + private final int value; - + private Type(int index, int value) { this.value = value; } - + // @@protoc_insertion_point(enum_scope:org.jetbrains.javac.Message.Request.Type) } - + public interface OutputGroupOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required string output_root = 1; - /** - * required string output_root = 1; - */ boolean hasOutputRoot(); - /** - * required string output_root = 1; - */ - java.lang.String getOutputRoot(); - /** - * required string output_root = 1; - */ - com.google.protobuf.ByteString - getOutputRootBytes(); - + String getOutputRoot(); + // repeated string source_root = 2; - /** - * repeated string source_root = 2; - */ - java.util.List - getSourceRootList(); - /** - * repeated string source_root = 2; - */ + java.util.List getSourceRootList(); int getSourceRootCount(); - /** - * repeated string source_root = 2; - */ - java.lang.String getSourceRoot(int index); - /** - * repeated string source_root = 2; - */ - com.google.protobuf.ByteString - getSourceRootBytes(int index); + String getSourceRoot(int index); } - /** - * Protobuf type {@code org.jetbrains.javac.Message.Request.OutputGroup} - */ public static final class OutputGroup extends com.google.protobuf.GeneratedMessageLite implements OutputGroupOrBuilder { // Use OutputGroup.newBuilder() to construct. - private OutputGroup(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private OutputGroup(Builder builder) { super(builder); - } private OutputGroup(boolean noInit) {} - + private static final OutputGroup defaultInstance; public static OutputGroup getDefaultInstance() { return defaultInstance; } - + public OutputGroup getDefaultInstanceForType() { return defaultInstance; } - - private OutputGroup( - 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: { - bitField0_ |= 0x00000001; - outputRoot_ = input.readBytes(); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { - sourceRoot_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - sourceRoot_.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_ & 0x00000002) == 0x00000002)) { - sourceRoot_ = new com.google.protobuf.UnmodifiableLazyStringList(sourceRoot_); - } - makeExtensionsImmutable(); - } - } - public static com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - public OutputGroup parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OutputGroup(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - + private int bitField0_; // required string output_root = 1; public static final int OUTPUT_ROOT_FIELD_NUMBER = 1; private java.lang.Object outputRoot_; - /** - * required string output_root = 1; - */ public boolean hasOutputRoot() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required string output_root = 1; - */ - public java.lang.String getOutputRoot() { + public String getOutputRoot() { java.lang.Object ref = outputRoot_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + if (ref instanceof String) { + return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { outputRoot_ = s; } return s; } } - /** - * required string output_root = 1; - */ - public com.google.protobuf.ByteString - getOutputRootBytes() { + private com.google.protobuf.ByteString getOutputRootBytes() { java.lang.Object ref = outputRoot_; - if (ref instanceof java.lang.String) { + if (ref instanceof String) { com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString.copyFromUtf8((String) ref); outputRoot_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - + // repeated string source_root = 2; public static final int SOURCE_ROOT_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList sourceRoot_; - /** - * repeated string source_root = 2; - */ - public java.util.List + public java.util.List getSourceRootList() { return sourceRoot_; } - /** - * repeated string source_root = 2; - */ public int getSourceRootCount() { return sourceRoot_.size(); } - /** - * repeated string source_root = 2; - */ - public java.lang.String getSourceRoot(int index) { + public String getSourceRoot(int index) { return sourceRoot_.get(index); } - /** - * repeated string source_root = 2; - */ - public com.google.protobuf.ByteString - getSourceRootBytes(int index) { - return sourceRoot_.getByteString(index); - } - + private void initFields() { outputRoot_ = ""; sourceRoot_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -1873,7 +1105,7 @@ public final class JavacRemoteProto { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasOutputRoot()) { memoizedIsInitialized = 0; return false; @@ -1881,7 +1113,7 @@ public final class JavacRemoteProto { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -1892,12 +1124,12 @@ public final class JavacRemoteProto { output.writeBytes(2, sourceRoot_.getByteString(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 @@ -1915,77 +1147,88 @@ public final class JavacRemoteProto { 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.jps.javac.JavacRemoteProto.Message.Request.OutputGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input, extensionRegistry)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - - /** - * Protobuf type {@code org.jetbrains.javac.Message.Request.OutputGroup} - */ + public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup, Builder> @@ -1994,13 +1237,13 @@ public final class JavacRemoteProto { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); outputRoot_ = ""; @@ -2009,15 +1252,15 @@ public final class JavacRemoteProto { bitField0_ = (bitField0_ & ~0x00000002); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup getDefaultInstanceForType() { return org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup.getDefaultInstance(); } - + public org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup build() { org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup result = buildPartial(); if (!result.isInitialized()) { @@ -2025,7 +1268,17 @@ public final class JavacRemoteProto { } return result; } - + + private org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return result; + } + public org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup buildPartial() { org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup result = new org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup(this); int from_bitField0_ = bitField0_; @@ -2043,13 +1296,11 @@ public final class JavacRemoteProto { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup other) { if (other == org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup.getDefaultInstance()) return this; if (other.hasOutputRoot()) { - bitField0_ |= 0x00000001; - outputRoot_ = other.outputRoot_; - + setOutputRoot(other.getOutputRoot()); } if (!other.sourceRoot_.isEmpty()) { if (sourceRoot_.isEmpty()) { @@ -2063,7 +1314,7 @@ public final class JavacRemoteProto { } return this; } - + public final boolean isInitialized() { if (!hasOutputRoot()) { @@ -2071,69 +1322,56 @@ public final class JavacRemoteProto { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + while (true) { + int tag = input.readTag(); + switch (tag) { + case 0: + + return this; + default: { + if (!parseUnknownField(input, extensionRegistry, tag)) { + + return this; + } + break; + } + case 10: { + bitField0_ |= 0x00000001; + outputRoot_ = input.readBytes(); + break; + } + case 18: { + ensureSourceRootIsMutable(); + sourceRoot_.add(input.readBytes()); + break; + } } } - return this; } + private int bitField0_; - + // required string output_root = 1; private java.lang.Object outputRoot_ = ""; - /** - * required string output_root = 1; - */ public boolean hasOutputRoot() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required string output_root = 1; - */ - public java.lang.String getOutputRoot() { + public String getOutputRoot() { java.lang.Object ref = outputRoot_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); outputRoot_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * required string output_root = 1; - */ - public com.google.protobuf.ByteString - getOutputRootBytes() { - java.lang.Object ref = outputRoot_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - outputRoot_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * required string output_root = 1; - */ - public Builder setOutputRoot( - java.lang.String value) { + public Builder setOutputRoot(String value) { if (value == null) { throw new NullPointerException(); } @@ -2142,29 +1380,18 @@ public final class JavacRemoteProto { return this; } - /** - * required string output_root = 1; - */ public Builder clearOutputRoot() { bitField0_ = (bitField0_ & ~0x00000001); outputRoot_ = getDefaultInstance().getOutputRoot(); return this; } - /** - * required string output_root = 1; - */ - public Builder setOutputRootBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + void setOutputRoot(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000001; outputRoot_ = value; - return this; } - + // repeated string source_root = 2; private com.google.protobuf.LazyStringList sourceRoot_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSourceRootIsMutable() { @@ -2173,37 +1400,18 @@ public final class JavacRemoteProto { bitField0_ |= 0x00000002; } } - /** - * repeated string source_root = 2; - */ - public java.util.List + public java.util.List getSourceRootList() { return java.util.Collections.unmodifiableList(sourceRoot_); } - /** - * repeated string source_root = 2; - */ public int getSourceRootCount() { return sourceRoot_.size(); } - /** - * repeated string source_root = 2; - */ - public java.lang.String getSourceRoot(int index) { + public String getSourceRoot(int index) { return sourceRoot_.get(index); } - /** - * repeated string source_root = 2; - */ - public com.google.protobuf.ByteString - getSourceRootBytes(int index) { - return sourceRoot_.getByteString(index); - } - /** - * repeated string source_root = 2; - */ public Builder setSourceRoot( - int index, java.lang.String value) { + int index, String value) { if (value == null) { throw new NullPointerException(); } @@ -2212,11 +1420,7 @@ public final class JavacRemoteProto { return this; } - /** - * repeated string source_root = 2; - */ - public Builder addSourceRoot( - java.lang.String value) { + public Builder addSourceRoot(String value) { if (value == null) { throw new NullPointerException(); } @@ -2225,253 +1429,138 @@ public final class JavacRemoteProto { return this; } - /** - * repeated string source_root = 2; - */ public Builder addAllSourceRoot( - java.lang.Iterable values) { + java.lang.Iterable values) { ensureSourceRootIsMutable(); super.addAll(values, sourceRoot_); return this; } - /** - * repeated string source_root = 2; - */ public Builder clearSourceRoot() { sourceRoot_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); return this; } - /** - * repeated string source_root = 2; - */ - public Builder addSourceRootBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureSourceRootIsMutable(); + void addSourceRoot(com.google.protobuf.ByteString value) { + ensureSourceRootIsMutable(); sourceRoot_.add(value); - return this; } - + // @@protoc_insertion_point(builder_scope:org.jetbrains.javac.Message.Request.OutputGroup) } - + static { defaultInstance = new OutputGroup(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:org.jetbrains.javac.Message.Request.OutputGroup) } - + private int bitField0_; // required .org.jetbrains.javac.Message.Request.Type request_type = 1; public static final int REQUEST_TYPE_FIELD_NUMBER = 1; private org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.Type requestType_; - /** - * required .org.jetbrains.javac.Message.Request.Type request_type = 1; - */ public boolean hasRequestType() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required .org.jetbrains.javac.Message.Request.Type request_type = 1; - */ public org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.Type getRequestType() { return requestType_; } - + // repeated string option = 2; public static final int OPTION_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList option_; - /** - * repeated string option = 2; - */ - public java.util.List + public java.util.List getOptionList() { return option_; } - /** - * repeated string option = 2; - */ public int getOptionCount() { return option_.size(); } - /** - * repeated string option = 2; - */ - public java.lang.String getOption(int index) { + public String getOption(int index) { return option_.get(index); } - /** - * repeated string option = 2; - */ - public com.google.protobuf.ByteString - getOptionBytes(int index) { - return option_.getByteString(index); - } - + // repeated string file = 3; public static final int FILE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList file_; - /** - * repeated string file = 3; - */ - public java.util.List + public java.util.List getFileList() { return file_; } - /** - * repeated string file = 3; - */ public int getFileCount() { return file_.size(); } - /** - * repeated string file = 3; - */ - public java.lang.String getFile(int index) { + public String getFile(int index) { return file_.get(index); } - /** - * repeated string file = 3; - */ - public com.google.protobuf.ByteString - getFileBytes(int index) { - return file_.getByteString(index); - } - + // repeated string platform_classpath = 4; public static final int PLATFORM_CLASSPATH_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList platformClasspath_; - /** - * repeated string platform_classpath = 4; - */ - public java.util.List + public java.util.List getPlatformClasspathList() { return platformClasspath_; } - /** - * repeated string platform_classpath = 4; - */ public int getPlatformClasspathCount() { return platformClasspath_.size(); } - /** - * repeated string platform_classpath = 4; - */ - public java.lang.String getPlatformClasspath(int index) { + public String getPlatformClasspath(int index) { return platformClasspath_.get(index); } - /** - * repeated string platform_classpath = 4; - */ - public com.google.protobuf.ByteString - getPlatformClasspathBytes(int index) { - return platformClasspath_.getByteString(index); - } - + // repeated string classpath = 5; public static final int CLASSPATH_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList classpath_; - /** - * repeated string classpath = 5; - */ - public java.util.List + public java.util.List getClasspathList() { return classpath_; } - /** - * repeated string classpath = 5; - */ public int getClasspathCount() { return classpath_.size(); } - /** - * repeated string classpath = 5; - */ - public java.lang.String getClasspath(int index) { + public String getClasspath(int index) { return classpath_.get(index); } - /** - * repeated string classpath = 5; - */ - public com.google.protobuf.ByteString - getClasspathBytes(int index) { - return classpath_.getByteString(index); - } - + // repeated string sourcepath = 6; public static final int SOURCEPATH_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList sourcepath_; - /** - * repeated string sourcepath = 6; - */ - public java.util.List + public java.util.List getSourcepathList() { return sourcepath_; } - /** - * repeated string sourcepath = 6; - */ public int getSourcepathCount() { return sourcepath_.size(); } - /** - * repeated string sourcepath = 6; - */ - public java.lang.String getSourcepath(int index) { + public String getSourcepath(int index) { return sourcepath_.get(index); } - /** - * repeated string sourcepath = 6; - */ - public com.google.protobuf.ByteString - getSourcepathBytes(int index) { - return sourcepath_.getByteString(index); - } - + // repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7; public static final int OUTPUT_FIELD_NUMBER = 7; private java.util.List output_; - /** - * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7; - */ public java.util.List getOutputList() { return output_; } - /** - * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7; - */ public java.util.List getOutputOrBuilderList() { return output_; } - /** - * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7; - */ public int getOutputCount() { return output_.size(); } - /** - * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7; - */ public org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup getOutput(int index) { return output_.get(index); } - /** - * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7; - */ public org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroupOrBuilder getOutputOrBuilder( int index) { return output_.get(index); } - + private void initFields() { requestType_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.Type.COMPILE; option_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -2485,7 +1574,7 @@ public final class JavacRemoteProto { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasRequestType()) { memoizedIsInitialized = 0; return false; @@ -2499,7 +1588,7 @@ public final class JavacRemoteProto { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -2525,12 +1614,12 @@ public final class JavacRemoteProto { output.writeMessage(7, output_.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 @@ -2588,77 +1677,88 @@ public final class JavacRemoteProto { 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.jps.javac.JavacRemoteProto.Message.Request parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Request parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Request parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Request parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Request parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Request parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Request parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Request parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input, extensionRegistry)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Request parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Request parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.jetbrains.jps.javac.JavacRemoteProto.Message.Request prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - - /** - * Protobuf type {@code org.jetbrains.javac.Message.Request} - */ + public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.jetbrains.jps.javac.JavacRemoteProto.Message.Request, Builder> @@ -2667,13 +1767,13 @@ public final class JavacRemoteProto { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); requestType_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.Type.COMPILE; @@ -2692,15 +1792,15 @@ public final class JavacRemoteProto { bitField0_ = (bitField0_ & ~0x00000040); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public org.jetbrains.jps.javac.JavacRemoteProto.Message.Request getDefaultInstanceForType() { return org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.getDefaultInstance(); } - + public org.jetbrains.jps.javac.JavacRemoteProto.Message.Request build() { org.jetbrains.jps.javac.JavacRemoteProto.Message.Request result = buildPartial(); if (!result.isInitialized()) { @@ -2708,7 +1808,17 @@ public final class JavacRemoteProto { } return result; } - + + private org.jetbrains.jps.javac.JavacRemoteProto.Message.Request buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + org.jetbrains.jps.javac.JavacRemoteProto.Message.Request result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return result; + } + public org.jetbrains.jps.javac.JavacRemoteProto.Message.Request buildPartial() { org.jetbrains.jps.javac.JavacRemoteProto.Message.Request result = new org.jetbrains.jps.javac.JavacRemoteProto.Message.Request(this); int from_bitField0_ = bitField0_; @@ -2755,7 +1865,7 @@ public final class JavacRemoteProto { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(org.jetbrains.jps.javac.JavacRemoteProto.Message.Request other) { if (other == org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.getDefaultInstance()) return this; if (other.hasRequestType()) { @@ -2823,7 +1933,7 @@ public final class JavacRemoteProto { } return this; } - + public final boolean isInitialized() { if (!hasRequestType()) { @@ -2837,43 +1947,78 @@ public final class JavacRemoteProto { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.jetbrains.jps.javac.JavacRemoteProto.Message.Request parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.jetbrains.jps.javac.JavacRemoteProto.Message.Request) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + while (true) { + int tag = input.readTag(); + switch (tag) { + case 0: + + return this; + default: { + if (!parseUnknownField(input, extensionRegistry, tag)) { + + return this; + } + break; + } + case 8: { + int rawValue = input.readEnum(); + org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.Type value = org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.Type.valueOf(rawValue); + if (value != null) { + bitField0_ |= 0x00000001; + requestType_ = value; + } + break; + } + case 18: { + ensureOptionIsMutable(); + option_.add(input.readBytes()); + break; + } + case 26: { + ensureFileIsMutable(); + file_.add(input.readBytes()); + break; + } + case 34: { + ensurePlatformClasspathIsMutable(); + platformClasspath_.add(input.readBytes()); + break; + } + case 42: { + ensureClasspathIsMutable(); + classpath_.add(input.readBytes()); + break; + } + case 50: { + ensureSourcepathIsMutable(); + sourcepath_.add(input.readBytes()); + break; + } + case 58: { + org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup.Builder subBuilder = org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup.newBuilder(); + input.readMessage(subBuilder, extensionRegistry); + addOutput(subBuilder.buildPartial()); + break; + } } } - return this; } + private int bitField0_; - + // required .org.jetbrains.javac.Message.Request.Type request_type = 1; private org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.Type requestType_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.Type.COMPILE; - /** - * required .org.jetbrains.javac.Message.Request.Type request_type = 1; - */ public boolean hasRequestType() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required .org.jetbrains.javac.Message.Request.Type request_type = 1; - */ public org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.Type getRequestType() { return requestType_; } - /** - * required .org.jetbrains.javac.Message.Request.Type request_type = 1; - */ public Builder setRequestType(org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.Type value) { if (value == null) { throw new NullPointerException(); @@ -2883,16 +2028,13 @@ public final class JavacRemoteProto { return this; } - /** - * required .org.jetbrains.javac.Message.Request.Type request_type = 1; - */ public Builder clearRequestType() { bitField0_ = (bitField0_ & ~0x00000001); requestType_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.Type.COMPILE; return this; } - + // repeated string option = 2; private com.google.protobuf.LazyStringList option_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureOptionIsMutable() { @@ -2901,37 +2043,18 @@ public final class JavacRemoteProto { bitField0_ |= 0x00000002; } } - /** - * repeated string option = 2; - */ - public java.util.List + public java.util.List getOptionList() { return java.util.Collections.unmodifiableList(option_); } - /** - * repeated string option = 2; - */ public int getOptionCount() { return option_.size(); } - /** - * repeated string option = 2; - */ - public java.lang.String getOption(int index) { + public String getOption(int index) { return option_.get(index); } - /** - * repeated string option = 2; - */ - public com.google.protobuf.ByteString - getOptionBytes(int index) { - return option_.getByteString(index); - } - /** - * repeated string option = 2; - */ public Builder setOption( - int index, java.lang.String value) { + int index, String value) { if (value == null) { throw new NullPointerException(); } @@ -2940,11 +2063,7 @@ public final class JavacRemoteProto { return this; } - /** - * repeated string option = 2; - */ - public Builder addOption( - java.lang.String value) { + public Builder addOption(String value) { if (value == null) { throw new NullPointerException(); } @@ -2953,39 +2072,25 @@ public final class JavacRemoteProto { return this; } - /** - * repeated string option = 2; - */ public Builder addAllOption( - java.lang.Iterable values) { + java.lang.Iterable values) { ensureOptionIsMutable(); super.addAll(values, option_); return this; } - /** - * repeated string option = 2; - */ public Builder clearOption() { option_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); return this; } - /** - * repeated string option = 2; - */ - public Builder addOptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureOptionIsMutable(); + void addOption(com.google.protobuf.ByteString value) { + ensureOptionIsMutable(); option_.add(value); - return this; } - + // repeated string file = 3; private com.google.protobuf.LazyStringList file_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureFileIsMutable() { @@ -2994,37 +2099,18 @@ public final class JavacRemoteProto { bitField0_ |= 0x00000004; } } - /** - * repeated string file = 3; - */ - public java.util.List + public java.util.List getFileList() { return java.util.Collections.unmodifiableList(file_); } - /** - * repeated string file = 3; - */ public int getFileCount() { return file_.size(); } - /** - * repeated string file = 3; - */ - public java.lang.String getFile(int index) { + public String getFile(int index) { return file_.get(index); } - /** - * repeated string file = 3; - */ - public com.google.protobuf.ByteString - getFileBytes(int index) { - return file_.getByteString(index); - } - /** - * repeated string file = 3; - */ public Builder setFile( - int index, java.lang.String value) { + int index, String value) { if (value == null) { throw new NullPointerException(); } @@ -3033,11 +2119,7 @@ public final class JavacRemoteProto { return this; } - /** - * repeated string file = 3; - */ - public Builder addFile( - java.lang.String value) { + public Builder addFile(String value) { if (value == null) { throw new NullPointerException(); } @@ -3046,39 +2128,25 @@ public final class JavacRemoteProto { return this; } - /** - * repeated string file = 3; - */ public Builder addAllFile( - java.lang.Iterable values) { + java.lang.Iterable values) { ensureFileIsMutable(); super.addAll(values, file_); return this; } - /** - * repeated string file = 3; - */ public Builder clearFile() { file_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); return this; } - /** - * repeated string file = 3; - */ - public Builder addFileBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureFileIsMutable(); + void addFile(com.google.protobuf.ByteString value) { + ensureFileIsMutable(); file_.add(value); - return this; } - + // repeated string platform_classpath = 4; private com.google.protobuf.LazyStringList platformClasspath_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePlatformClasspathIsMutable() { @@ -3087,37 +2155,18 @@ public final class JavacRemoteProto { bitField0_ |= 0x00000008; } } - /** - * repeated string platform_classpath = 4; - */ - public java.util.List + public java.util.List getPlatformClasspathList() { return java.util.Collections.unmodifiableList(platformClasspath_); } - /** - * repeated string platform_classpath = 4; - */ public int getPlatformClasspathCount() { return platformClasspath_.size(); } - /** - * repeated string platform_classpath = 4; - */ - public java.lang.String getPlatformClasspath(int index) { + public String getPlatformClasspath(int index) { return platformClasspath_.get(index); } - /** - * repeated string platform_classpath = 4; - */ - public com.google.protobuf.ByteString - getPlatformClasspathBytes(int index) { - return platformClasspath_.getByteString(index); - } - /** - * repeated string platform_classpath = 4; - */ public Builder setPlatformClasspath( - int index, java.lang.String value) { + int index, String value) { if (value == null) { throw new NullPointerException(); } @@ -3126,11 +2175,7 @@ public final class JavacRemoteProto { return this; } - /** - * repeated string platform_classpath = 4; - */ - public Builder addPlatformClasspath( - java.lang.String value) { + public Builder addPlatformClasspath(String value) { if (value == null) { throw new NullPointerException(); } @@ -3139,39 +2184,25 @@ public final class JavacRemoteProto { return this; } - /** - * repeated string platform_classpath = 4; - */ public Builder addAllPlatformClasspath( - java.lang.Iterable values) { + java.lang.Iterable values) { ensurePlatformClasspathIsMutable(); super.addAll(values, platformClasspath_); return this; } - /** - * repeated string platform_classpath = 4; - */ public Builder clearPlatformClasspath() { platformClasspath_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000008); return this; } - /** - * repeated string platform_classpath = 4; - */ - public Builder addPlatformClasspathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePlatformClasspathIsMutable(); + void addPlatformClasspath(com.google.protobuf.ByteString value) { + ensurePlatformClasspathIsMutable(); platformClasspath_.add(value); - return this; } - + // repeated string classpath = 5; private com.google.protobuf.LazyStringList classpath_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureClasspathIsMutable() { @@ -3180,37 +2211,18 @@ public final class JavacRemoteProto { bitField0_ |= 0x00000010; } } - /** - * repeated string classpath = 5; - */ - public java.util.List + public java.util.List getClasspathList() { return java.util.Collections.unmodifiableList(classpath_); } - /** - * repeated string classpath = 5; - */ public int getClasspathCount() { return classpath_.size(); } - /** - * repeated string classpath = 5; - */ - public java.lang.String getClasspath(int index) { + public String getClasspath(int index) { return classpath_.get(index); } - /** - * repeated string classpath = 5; - */ - public com.google.protobuf.ByteString - getClasspathBytes(int index) { - return classpath_.getByteString(index); - } - /** - * repeated string classpath = 5; - */ public Builder setClasspath( - int index, java.lang.String value) { + int index, String value) { if (value == null) { throw new NullPointerException(); } @@ -3219,11 +2231,7 @@ public final class JavacRemoteProto { return this; } - /** - * repeated string classpath = 5; - */ - public Builder addClasspath( - java.lang.String value) { + public Builder addClasspath(String value) { if (value == null) { throw new NullPointerException(); } @@ -3232,39 +2240,25 @@ public final class JavacRemoteProto { return this; } - /** - * repeated string classpath = 5; - */ public Builder addAllClasspath( - java.lang.Iterable values) { + java.lang.Iterable values) { ensureClasspathIsMutable(); super.addAll(values, classpath_); return this; } - /** - * repeated string classpath = 5; - */ public Builder clearClasspath() { classpath_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000010); return this; } - /** - * repeated string classpath = 5; - */ - public Builder addClasspathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureClasspathIsMutable(); + void addClasspath(com.google.protobuf.ByteString value) { + ensureClasspathIsMutable(); classpath_.add(value); - return this; } - + // repeated string sourcepath = 6; private com.google.protobuf.LazyStringList sourcepath_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSourcepathIsMutable() { @@ -3273,37 +2267,18 @@ public final class JavacRemoteProto { bitField0_ |= 0x00000020; } } - /** - * repeated string sourcepath = 6; - */ - public java.util.List + public java.util.List getSourcepathList() { return java.util.Collections.unmodifiableList(sourcepath_); } - /** - * repeated string sourcepath = 6; - */ public int getSourcepathCount() { return sourcepath_.size(); } - /** - * repeated string sourcepath = 6; - */ - public java.lang.String getSourcepath(int index) { + public String getSourcepath(int index) { return sourcepath_.get(index); } - /** - * repeated string sourcepath = 6; - */ - public com.google.protobuf.ByteString - getSourcepathBytes(int index) { - return sourcepath_.getByteString(index); - } - /** - * repeated string sourcepath = 6; - */ public Builder setSourcepath( - int index, java.lang.String value) { + int index, String value) { if (value == null) { throw new NullPointerException(); } @@ -3312,11 +2287,7 @@ public final class JavacRemoteProto { return this; } - /** - * repeated string sourcepath = 6; - */ - public Builder addSourcepath( - java.lang.String value) { + public Builder addSourcepath(String value) { if (value == null) { throw new NullPointerException(); } @@ -3325,39 +2296,25 @@ public final class JavacRemoteProto { return this; } - /** - * repeated string sourcepath = 6; - */ public Builder addAllSourcepath( - java.lang.Iterable values) { + java.lang.Iterable values) { ensureSourcepathIsMutable(); super.addAll(values, sourcepath_); return this; } - /** - * repeated string sourcepath = 6; - */ public Builder clearSourcepath() { sourcepath_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000020); return this; } - /** - * repeated string sourcepath = 6; - */ - public Builder addSourcepathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureSourcepathIsMutable(); + void addSourcepath(com.google.protobuf.ByteString value) { + ensureSourcepathIsMutable(); sourcepath_.add(value); - return this; } - + // repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7; private java.util.List output_ = java.util.Collections.emptyList(); @@ -3367,28 +2324,16 @@ public final class JavacRemoteProto { bitField0_ |= 0x00000040; } } - - /** - * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7; - */ + public java.util.List getOutputList() { return java.util.Collections.unmodifiableList(output_); } - /** - * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7; - */ public int getOutputCount() { return output_.size(); } - /** - * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7; - */ public org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup getOutput(int index) { return output_.get(index); } - /** - * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7; - */ public Builder setOutput( int index, org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup value) { if (value == null) { @@ -3396,34 +2341,25 @@ public final class JavacRemoteProto { } ensureOutputIsMutable(); output_.set(index, value); - + return this; } - /** - * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7; - */ public Builder setOutput( int index, org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup.Builder builderForValue) { ensureOutputIsMutable(); output_.set(index, builderForValue.build()); - + return this; } - /** - * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7; - */ public Builder addOutput(org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup value) { if (value == null) { throw new NullPointerException(); } ensureOutputIsMutable(); output_.add(value); - + return this; } - /** - * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7; - */ public Builder addOutput( int index, org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup value) { if (value == null) { @@ -3431,295 +2367,113 @@ public final class JavacRemoteProto { } ensureOutputIsMutable(); output_.add(index, value); - + return this; } - /** - * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7; - */ public Builder addOutput( org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup.Builder builderForValue) { ensureOutputIsMutable(); output_.add(builderForValue.build()); - + return this; } - /** - * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7; - */ public Builder addOutput( int index, org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup.Builder builderForValue) { ensureOutputIsMutable(); output_.add(index, builderForValue.build()); - + return this; } - /** - * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7; - */ public Builder addAllOutput( java.lang.Iterable values) { ensureOutputIsMutable(); super.addAll(values, output_); - + return this; } - /** - * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7; - */ public Builder clearOutput() { output_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); - + return this; } - /** - * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7; - */ public Builder removeOutput(int index) { ensureOutputIsMutable(); output_.remove(index); - + return this; } - + // @@protoc_insertion_point(builder_scope:org.jetbrains.javac.Message.Request) } - + static { defaultInstance = new Request(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:org.jetbrains.javac.Message.Request) } - + public interface ResponseOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required .org.jetbrains.javac.Message.Response.Type response_type = 1; - /** - * required .org.jetbrains.javac.Message.Response.Type response_type = 1; - */ boolean hasResponseType(); - /** - * required .org.jetbrains.javac.Message.Response.Type response_type = 1; - */ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.Type getResponseType(); - + // optional .org.jetbrains.javac.Message.Response.CompileMessage compile_message = 2; - /** - * optional .org.jetbrains.javac.Message.Response.CompileMessage compile_message = 2; - */ boolean hasCompileMessage(); - /** - * optional .org.jetbrains.javac.Message.Response.CompileMessage compile_message = 2; - */ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage getCompileMessage(); - + // optional .org.jetbrains.javac.Message.Response.OutputObject output_object = 3; - /** - * optional .org.jetbrains.javac.Message.Response.OutputObject output_object = 3; - */ boolean hasOutputObject(); - /** - * optional .org.jetbrains.javac.Message.Response.OutputObject output_object = 3; - */ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject getOutputObject(); - + // optional .org.jetbrains.javac.Message.Response.ClassData class_data = 4; - /** - * optional .org.jetbrains.javac.Message.Response.ClassData class_data = 4; - */ boolean hasClassData(); - /** - * optional .org.jetbrains.javac.Message.Response.ClassData class_data = 4; - */ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData getClassData(); - + // optional bool completion_status = 5; - /** - * optional bool completion_status = 5; - */ boolean hasCompletionStatus(); - /** - * optional bool completion_status = 5; - */ boolean getCompletionStatus(); } - /** - * Protobuf type {@code org.jetbrains.javac.Message.Response} - */ public static final class Response extends com.google.protobuf.GeneratedMessageLite implements ResponseOrBuilder { // Use Response.newBuilder() to construct. - private Response(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private Response(Builder builder) { super(builder); - } private Response(boolean noInit) {} - + private static final Response defaultInstance; public static Response getDefaultInstance() { return defaultInstance; } - + public Response getDefaultInstanceForType() { return defaultInstance; } - - private Response( - 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.jps.javac.JavacRemoteProto.Message.Response.Type value = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.Type.valueOf(rawValue); - if (value != null) { - bitField0_ |= 0x00000001; - responseType_ = value; - } - break; - } - case 18: { - org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00000002) == 0x00000002)) { - subBuilder = compileMessage_.toBuilder(); - } - compileMessage_ = input.readMessage(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(compileMessage_); - compileMessage_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000002; - break; - } - case 26: { - org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Builder subBuilder = null; - if (((bitField0_ & 0x00000004) == 0x00000004)) { - subBuilder = outputObject_.toBuilder(); - } - outputObject_ = input.readMessage(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(outputObject_); - outputObject_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000004; - break; - } - case 34: { - org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData.Builder subBuilder = null; - if (((bitField0_ & 0x00000008) == 0x00000008)) { - subBuilder = classData_.toBuilder(); - } - classData_ = input.readMessage(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(classData_); - classData_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000008; - break; - } - case 40: { - bitField0_ |= 0x00000010; - completionStatus_ = input.readBool(); - 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 Response parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Response(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - /** - * Protobuf enum {@code org.jetbrains.javac.Message.Response.Type} - */ + public enum Type implements com.google.protobuf.Internal.EnumLite { - /** - * BUILD_MESSAGE = 1; - */ BUILD_MESSAGE(0, 1), - /** - * OUTPUT_OBJECT = 2; - */ OUTPUT_OBJECT(1, 2), - /** - * CLASS_DATA = 3; - */ CLASS_DATA(2, 3), - /** - * BUILD_COMPLETED = 4; - */ BUILD_COMPLETED(3, 4), - /** - * REQUEST_ACK = 5; - */ REQUEST_ACK(4, 5), ; - - /** - * BUILD_MESSAGE = 1; - */ + public static final int BUILD_MESSAGE_VALUE = 1; - /** - * OUTPUT_OBJECT = 2; - */ public static final int OUTPUT_OBJECT_VALUE = 2; - /** - * CLASS_DATA = 3; - */ public static final int CLASS_DATA_VALUE = 3; - /** - * BUILD_COMPLETED = 4; - */ public static final int BUILD_COMPLETED_VALUE = 4; - /** - * REQUEST_ACK = 5; - */ public static final int REQUEST_ACK_VALUE = 5; - - + + public final int getNumber() { return value; } - + public static Type valueOf(int value) { switch (value) { case 1: return BUILD_MESSAGE; @@ -3730,7 +2484,7 @@ public final class JavacRemoteProto { default: return null; } } - + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; @@ -3742,149 +2496,575 @@ public final class JavacRemoteProto { return Type.valueOf(number); } }; - + private final int value; - + private Type(int index, int value) { this.value = value; } - + // @@protoc_insertion_point(enum_scope:org.jetbrains.javac.Message.Response.Type) } - + public interface CompileMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required .org.jetbrains.javac.Message.Response.CompileMessage.Kind kind = 1; - /** - * required .org.jetbrains.javac.Message.Response.CompileMessage.Kind kind = 1; - */ boolean hasKind(); - /** - * required .org.jetbrains.javac.Message.Response.CompileMessage.Kind kind = 1; - */ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind getKind(); - + // optional string text = 2; - /** - * optional string text = 2; - */ boolean hasText(); - /** - * optional string text = 2; - */ - java.lang.String getText(); - /** - * optional string text = 2; - */ - com.google.protobuf.ByteString - getTextBytes(); - + String getText(); + // optional string source_uri = 3; - /** - * optional string source_uri = 3; - */ boolean hasSourceUri(); - /** - * optional string source_uri = 3; - */ - java.lang.String getSourceUri(); - /** - * optional string source_uri = 3; - */ - com.google.protobuf.ByteString - getSourceUriBytes(); - + String getSourceUri(); + // optional uint64 problem_begin_offset = 4; - /** - * optional uint64 problem_begin_offset = 4; - */ boolean hasProblemBeginOffset(); - /** - * optional uint64 problem_begin_offset = 4; - */ long getProblemBeginOffset(); - + // optional uint64 problem_end_offset = 5; - /** - * optional uint64 problem_end_offset = 5; - */ boolean hasProblemEndOffset(); - /** - * optional uint64 problem_end_offset = 5; - */ long getProblemEndOffset(); - + // optional uint64 problem_location_offset = 6; - /** - * optional uint64 problem_location_offset = 6; - */ boolean hasProblemLocationOffset(); - /** - * optional uint64 problem_location_offset = 6; - */ long getProblemLocationOffset(); - + // optional uint64 line = 7; - /** - * optional uint64 line = 7; - */ boolean hasLine(); - /** - * optional uint64 line = 7; - */ long getLine(); - + // optional uint64 column = 8; - /** - * optional uint64 column = 8; - */ boolean hasColumn(); - /** - * optional uint64 column = 8; - */ long getColumn(); } - /** - * Protobuf type {@code org.jetbrains.javac.Message.Response.CompileMessage} - */ public static final class CompileMessage extends com.google.protobuf.GeneratedMessageLite implements CompileMessageOrBuilder { // Use CompileMessage.newBuilder() to construct. - private CompileMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private CompileMessage(Builder builder) { super(builder); - } private CompileMessage(boolean noInit) {} - + private static final CompileMessage defaultInstance; public static CompileMessage getDefaultInstance() { return defaultInstance; } - + public CompileMessage getDefaultInstanceForType() { return defaultInstance; } - - private CompileMessage( - com.google.protobuf.CodedInputStream input, + + public enum Kind + implements com.google.protobuf.Internal.EnumLite { + ERROR(0, 1), + WARNING(1, 2), + MANDATORY_WARNING(2, 3), + NOTE(3, 4), + OTHER(4, 5), + STD_OUT(5, 6), + ; + + public static final int ERROR_VALUE = 1; + public static final int WARNING_VALUE = 2; + public static final int MANDATORY_WARNING_VALUE = 3; + public static final int NOTE_VALUE = 4; + public static final int OTHER_VALUE = 5; + public static final int STD_OUT_VALUE = 6; + + + public final int getNumber() { return value; } + + public static Kind valueOf(int value) { + switch (value) { + case 1: return ERROR; + case 2: return WARNING; + case 3: return MANDATORY_WARNING; + case 4: return NOTE; + case 5: return OTHER; + case 6: return STD_OUT; + 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.javac.Message.Response.CompileMessage.Kind) + } + + private int bitField0_; + // required .org.jetbrains.javac.Message.Response.CompileMessage.Kind kind = 1; + public static final int KIND_FIELD_NUMBER = 1; + private org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind kind_; + public boolean hasKind() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind getKind() { + return kind_; + } + + // optional string text = 2; + public static final int TEXT_FIELD_NUMBER = 2; + private java.lang.Object text_; + public boolean hasText() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + public String getText() { + java.lang.Object ref = text_; + if (ref instanceof String) { + return (String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { + text_ = s; + } + return s; + } + } + private com.google.protobuf.ByteString getTextBytes() { + java.lang.Object ref = text_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((String) ref); + text_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // optional string source_uri = 3; + public static final int SOURCE_URI_FIELD_NUMBER = 3; + private java.lang.Object sourceUri_; + public boolean hasSourceUri() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + public String getSourceUri() { + java.lang.Object ref = sourceUri_; + if (ref instanceof String) { + return (String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { + sourceUri_ = s; + } + return s; + } + } + private com.google.protobuf.ByteString getSourceUriBytes() { + java.lang.Object ref = sourceUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((String) ref); + sourceUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // optional uint64 problem_begin_offset = 4; + public static final int PROBLEM_BEGIN_OFFSET_FIELD_NUMBER = 4; + private long problemBeginOffset_; + public boolean hasProblemBeginOffset() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + public long getProblemBeginOffset() { + return problemBeginOffset_; + } + + // optional uint64 problem_end_offset = 5; + public static final int PROBLEM_END_OFFSET_FIELD_NUMBER = 5; + private long problemEndOffset_; + public boolean hasProblemEndOffset() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + public long getProblemEndOffset() { + return problemEndOffset_; + } + + // optional uint64 problem_location_offset = 6; + public static final int PROBLEM_LOCATION_OFFSET_FIELD_NUMBER = 6; + private long problemLocationOffset_; + public boolean hasProblemLocationOffset() { + return ((bitField0_ & 0x00000020) == 0x00000020); + } + public long getProblemLocationOffset() { + return problemLocationOffset_; + } + + // optional uint64 line = 7; + public static final int LINE_FIELD_NUMBER = 7; + private long line_; + public boolean hasLine() { + return ((bitField0_ & 0x00000040) == 0x00000040); + } + public long getLine() { + return line_; + } + + // optional uint64 column = 8; + public static final int COLUMN_FIELD_NUMBER = 8; + private long column_; + public boolean hasColumn() { + return ((bitField0_ & 0x00000080) == 0x00000080); + } + public long getColumn() { + return column_; + } + + private void initFields() { + kind_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind.ERROR; + text_ = ""; + sourceUri_ = ""; + problemBeginOffset_ = 0L; + problemEndOffset_ = 0L; + problemLocationOffset_ = 0L; + line_ = 0L; + column_ = 0L; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasKind()) { + 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.writeBytes(2, getTextBytes()); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeBytes(3, getSourceUriBytes()); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeUInt64(4, problemBeginOffset_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + output.writeUInt64(5, problemEndOffset_); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + output.writeUInt64(6, problemLocationOffset_); + } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + output.writeUInt64(7, line_); + } + if (((bitField0_ & 0x00000080) == 0x00000080)) { + output.writeUInt64(8, column_); + } + } + + 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 + .computeBytesSize(2, getTextBytes()); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(3, getSourceUriBytes()); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(4, problemBeginOffset_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(5, problemEndOffset_); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(6, problemLocationOffset_); + } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(7, line_); + } + if (((bitField0_ & 0x00000080) == 0x00000080)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(8, column_); + } + 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.jps.javac.JavacRemoteProto.Message.Response.CompileMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data).buildParsed(); + } + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage parseFrom( + com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); - int mutable_bitField0_ = 0; - try { - boolean done = false; - while (!done) { + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); + } + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data).buildParsed(); + } + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); + } + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return newBuilder().mergeFrom(input).buildParsed(); + } + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); + } + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input)) { + return builder.buildParsed(); + } else { + return null; + } + } + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input, extensionRegistry)) { + return builder.buildParsed(); + } else { + return null; + } + } + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return newBuilder().mergeFrom(input).buildParsed(); + } + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage, Builder> + implements org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessageOrBuilder { + // Construct using org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + kind_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind.ERROR; + bitField0_ = (bitField0_ & ~0x00000001); + text_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + sourceUri_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + problemBeginOffset_ = 0L; + bitField0_ = (bitField0_ & ~0x00000008); + problemEndOffset_ = 0L; + bitField0_ = (bitField0_ & ~0x00000010); + problemLocationOffset_ = 0L; + bitField0_ = (bitField0_ & ~0x00000020); + line_ = 0L; + bitField0_ = (bitField0_ & ~0x00000040); + column_ = 0L; + bitField0_ = (bitField0_ & ~0x00000080); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage getDefaultInstanceForType() { + return org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.getDefaultInstance(); + } + + public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage build() { + org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + private org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return result; + } + + public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage buildPartial() { + org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage result = new org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage(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.text_ = text_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.sourceUri_ = sourceUri_; + if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + to_bitField0_ |= 0x00000008; + } + result.problemBeginOffset_ = problemBeginOffset_; + if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + to_bitField0_ |= 0x00000010; + } + result.problemEndOffset_ = problemEndOffset_; + if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + to_bitField0_ |= 0x00000020; + } + result.problemLocationOffset_ = problemLocationOffset_; + if (((from_bitField0_ & 0x00000040) == 0x00000040)) { + to_bitField0_ |= 0x00000040; + } + result.line_ = line_; + if (((from_bitField0_ & 0x00000080) == 0x00000080)) { + to_bitField0_ |= 0x00000080; + } + result.column_ = column_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage other) { + if (other == org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.getDefaultInstance()) return this; + if (other.hasKind()) { + setKind(other.getKind()); + } + if (other.hasText()) { + setText(other.getText()); + } + if (other.hasSourceUri()) { + setSourceUri(other.getSourceUri()); + } + if (other.hasProblemBeginOffset()) { + setProblemBeginOffset(other.getProblemBeginOffset()); + } + if (other.hasProblemEndOffset()) { + setProblemEndOffset(other.getProblemEndOffset()); + } + if (other.hasProblemLocationOffset()) { + setProblemLocationOffset(other.getProblemLocationOffset()); + } + if (other.hasLine()) { + setLine(other.getLine()); + } + if (other.hasColumn()) { + setColumn(other.getColumn()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasKind()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + while (true) { int tag = input.readTag(); switch (tag) { case 0: - done = true; - break; + + return this; default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; + if (!parseUnknownField(input, extensionRegistry, tag)) { + + return this; } break; } @@ -3934,101 +3114,297 @@ public final class JavacRemoteProto { } } } - } 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 CompileMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CompileMessage(input, extensionRegistry); + + private int bitField0_; + + // required .org.jetbrains.javac.Message.Response.CompileMessage.Kind kind = 1; + private org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind kind_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind.ERROR; + public boolean hasKind() { + return ((bitField0_ & 0x00000001) == 0x00000001); } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind getKind() { + return kind_; + } + public Builder setKind(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + kind_ = value; + + return this; + } + public Builder clearKind() { + bitField0_ = (bitField0_ & ~0x00000001); + kind_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind.ERROR; + + return this; + } + + // optional string text = 2; + private java.lang.Object text_ = ""; + public boolean hasText() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + public String getText() { + java.lang.Object ref = text_; + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); + text_ = s; + return s; + } else { + return (String) ref; + } + } + public Builder setText(String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + text_ = value; + + return this; + } + public Builder clearText() { + bitField0_ = (bitField0_ & ~0x00000002); + text_ = getDefaultInstance().getText(); + + return this; + } + void setText(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000002; + text_ = value; + + } + + // optional string source_uri = 3; + private java.lang.Object sourceUri_ = ""; + public boolean hasSourceUri() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + public String getSourceUri() { + java.lang.Object ref = sourceUri_; + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); + sourceUri_ = s; + return s; + } else { + return (String) ref; + } + } + public Builder setSourceUri(String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + sourceUri_ = value; + + return this; + } + public Builder clearSourceUri() { + bitField0_ = (bitField0_ & ~0x00000004); + sourceUri_ = getDefaultInstance().getSourceUri(); + + return this; + } + void setSourceUri(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000004; + sourceUri_ = value; + + } + + // optional uint64 problem_begin_offset = 4; + private long problemBeginOffset_ ; + public boolean hasProblemBeginOffset() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + public long getProblemBeginOffset() { + return problemBeginOffset_; + } + public Builder setProblemBeginOffset(long value) { + bitField0_ |= 0x00000008; + problemBeginOffset_ = value; + + return this; + } + public Builder clearProblemBeginOffset() { + bitField0_ = (bitField0_ & ~0x00000008); + problemBeginOffset_ = 0L; + + return this; + } + + // optional uint64 problem_end_offset = 5; + private long problemEndOffset_ ; + public boolean hasProblemEndOffset() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + public long getProblemEndOffset() { + return problemEndOffset_; + } + public Builder setProblemEndOffset(long value) { + bitField0_ |= 0x00000010; + problemEndOffset_ = value; + + return this; + } + public Builder clearProblemEndOffset() { + bitField0_ = (bitField0_ & ~0x00000010); + problemEndOffset_ = 0L; + + return this; + } + + // optional uint64 problem_location_offset = 6; + private long problemLocationOffset_ ; + public boolean hasProblemLocationOffset() { + return ((bitField0_ & 0x00000020) == 0x00000020); + } + public long getProblemLocationOffset() { + return problemLocationOffset_; + } + public Builder setProblemLocationOffset(long value) { + bitField0_ |= 0x00000020; + problemLocationOffset_ = value; + + return this; + } + public Builder clearProblemLocationOffset() { + bitField0_ = (bitField0_ & ~0x00000020); + problemLocationOffset_ = 0L; + + return this; + } + + // optional uint64 line = 7; + private long line_ ; + public boolean hasLine() { + return ((bitField0_ & 0x00000040) == 0x00000040); + } + public long getLine() { + return line_; + } + public Builder setLine(long value) { + bitField0_ |= 0x00000040; + line_ = value; + + return this; + } + public Builder clearLine() { + bitField0_ = (bitField0_ & ~0x00000040); + line_ = 0L; + + return this; + } + + // optional uint64 column = 8; + private long column_ ; + public boolean hasColumn() { + return ((bitField0_ & 0x00000080) == 0x00000080); + } + public long getColumn() { + return column_; + } + public Builder setColumn(long value) { + bitField0_ |= 0x00000080; + column_ = value; + + return this; + } + public Builder clearColumn() { + bitField0_ = (bitField0_ & ~0x00000080); + column_ = 0L; + + return this; + } + + // @@protoc_insertion_point(builder_scope:org.jetbrains.javac.Message.Response.CompileMessage) } - - /** - * Protobuf enum {@code org.jetbrains.javac.Message.Response.CompileMessage.Kind} - */ + + static { + defaultInstance = new CompileMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.javac.Message.Response.CompileMessage) + } + + public interface OutputObjectOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required .org.jetbrains.javac.Message.Response.OutputObject.Kind kind = 1; + boolean hasKind(); + org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Kind getKind(); + + // required string file_path = 2; + boolean hasFilePath(); + String getFilePath(); + + // optional string output_root = 3; + boolean hasOutputRoot(); + String getOutputRoot(); + + // optional string relative_path = 4; + boolean hasRelativePath(); + String getRelativePath(); + + // optional string class_name = 5; + boolean hasClassName(); + String getClassName(); + + // optional string source_uri = 6; + boolean hasSourceUri(); + String getSourceUri(); + + // optional bytes content = 7; + boolean hasContent(); + com.google.protobuf.ByteString getContent(); + } + public static final class OutputObject extends + com.google.protobuf.GeneratedMessageLite + implements OutputObjectOrBuilder { + // Use OutputObject.newBuilder() to construct. + private OutputObject(Builder builder) { + super(builder); + } + private OutputObject(boolean noInit) {} + + private static final OutputObject defaultInstance; + public static OutputObject getDefaultInstance() { + return defaultInstance; + } + + public OutputObject getDefaultInstanceForType() { + return defaultInstance; + } + public enum Kind implements com.google.protobuf.Internal.EnumLite { - /** - * ERROR = 1; - */ - ERROR(0, 1), - /** - * WARNING = 2; - */ - WARNING(1, 2), - /** - * MANDATORY_WARNING = 3; - */ - MANDATORY_WARNING(2, 3), - /** - * NOTE = 4; - */ - NOTE(3, 4), - /** - * OTHER = 5; - */ - OTHER(4, 5), - /** - * STD_OUT = 6; - */ - STD_OUT(5, 6), + SOURCE(0, 1), + CLASS(1, 2), + HTML(2, 3), + OTHER(3, 4), ; - - /** - * ERROR = 1; - */ - public static final int ERROR_VALUE = 1; - /** - * WARNING = 2; - */ - public static final int WARNING_VALUE = 2; - /** - * MANDATORY_WARNING = 3; - */ - public static final int MANDATORY_WARNING_VALUE = 3; - /** - * NOTE = 4; - */ - public static final int NOTE_VALUE = 4; - /** - * OTHER = 5; - */ - public static final int OTHER_VALUE = 5; - /** - * STD_OUT = 6; - */ - public static final int STD_OUT_VALUE = 6; - - + + public static final int SOURCE_VALUE = 1; + public static final int CLASS_VALUE = 2; + public static final int HTML_VALUE = 3; + public static final int OTHER_VALUE = 4; + + public final int getNumber() { return value; } - + public static Kind valueOf(int value) { switch (value) { - case 1: return ERROR; - case 2: return WARNING; - case 3: return MANDATORY_WARNING; - case 4: return NOTE; - case 5: return OTHER; - case 6: return STD_OUT; + case 1: return SOURCE; + case 2: return CLASS; + case 3: return HTML; + case 4: return OTHER; default: return null; } } - + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; @@ -4040,222 +3416,223 @@ public final class JavacRemoteProto { return Kind.valueOf(number); } }; - + private final int value; - + private Kind(int index, int value) { this.value = value; } - - // @@protoc_insertion_point(enum_scope:org.jetbrains.javac.Message.Response.CompileMessage.Kind) + + // @@protoc_insertion_point(enum_scope:org.jetbrains.javac.Message.Response.OutputObject.Kind) } - + private int bitField0_; - // required .org.jetbrains.javac.Message.Response.CompileMessage.Kind kind = 1; + // required .org.jetbrains.javac.Message.Response.OutputObject.Kind kind = 1; public static final int KIND_FIELD_NUMBER = 1; - private org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind kind_; - /** - * required .org.jetbrains.javac.Message.Response.CompileMessage.Kind kind = 1; - */ + private org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Kind kind_; public boolean hasKind() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required .org.jetbrains.javac.Message.Response.CompileMessage.Kind kind = 1; - */ - public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind getKind() { + public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Kind getKind() { return kind_; } - - // optional string text = 2; - public static final int TEXT_FIELD_NUMBER = 2; - private java.lang.Object text_; - /** - * optional string text = 2; - */ - public boolean hasText() { + + // required string file_path = 2; + public static final int FILE_PATH_FIELD_NUMBER = 2; + private java.lang.Object filePath_; + public boolean hasFilePath() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * optional string text = 2; - */ - public java.lang.String getText() { - java.lang.Object ref = text_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + public String getFilePath() { + java.lang.Object ref = filePath_; + if (ref instanceof String) { + return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - text_ = s; + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { + filePath_ = s; } return s; } } - /** - * optional string text = 2; - */ - public com.google.protobuf.ByteString - getTextBytes() { - java.lang.Object ref = text_; - if (ref instanceof java.lang.String) { + private com.google.protobuf.ByteString getFilePathBytes() { + java.lang.Object ref = filePath_; + if (ref instanceof String) { com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - text_ = b; + com.google.protobuf.ByteString.copyFromUtf8((String) ref); + filePath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - - // optional string source_uri = 3; - public static final int SOURCE_URI_FIELD_NUMBER = 3; - private java.lang.Object sourceUri_; - /** - * optional string source_uri = 3; - */ - public boolean hasSourceUri() { + + // optional string output_root = 3; + public static final int OUTPUT_ROOT_FIELD_NUMBER = 3; + private java.lang.Object outputRoot_; + public boolean hasOutputRoot() { return ((bitField0_ & 0x00000004) == 0x00000004); } - /** - * optional string source_uri = 3; - */ - public java.lang.String getSourceUri() { - java.lang.Object ref = sourceUri_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + public String getOutputRoot() { + java.lang.Object ref = outputRoot_; + if (ref instanceof String) { + return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { + outputRoot_ = s; + } + return s; + } + } + private com.google.protobuf.ByteString getOutputRootBytes() { + java.lang.Object ref = outputRoot_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((String) ref); + outputRoot_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // optional string relative_path = 4; + public static final int RELATIVE_PATH_FIELD_NUMBER = 4; + private java.lang.Object relativePath_; + public boolean hasRelativePath() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + public String getRelativePath() { + java.lang.Object ref = relativePath_; + if (ref instanceof String) { + return (String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { + relativePath_ = s; + } + return s; + } + } + private com.google.protobuf.ByteString getRelativePathBytes() { + java.lang.Object ref = relativePath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((String) ref); + relativePath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // optional string class_name = 5; + public static final int CLASS_NAME_FIELD_NUMBER = 5; + private java.lang.Object className_; + public boolean hasClassName() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + public String getClassName() { + java.lang.Object ref = className_; + if (ref instanceof String) { + return (String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { + className_ = s; + } + return s; + } + } + private com.google.protobuf.ByteString getClassNameBytes() { + java.lang.Object ref = className_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((String) ref); + className_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // optional string source_uri = 6; + public static final int SOURCE_URI_FIELD_NUMBER = 6; + private java.lang.Object sourceUri_; + public boolean hasSourceUri() { + return ((bitField0_ & 0x00000020) == 0x00000020); + } + public String getSourceUri() { + java.lang.Object ref = sourceUri_; + if (ref instanceof String) { + return (String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { sourceUri_ = s; } return s; } } - /** - * optional string source_uri = 3; - */ - public com.google.protobuf.ByteString - getSourceUriBytes() { + private com.google.protobuf.ByteString getSourceUriBytes() { java.lang.Object ref = sourceUri_; - if (ref instanceof java.lang.String) { + if (ref instanceof String) { com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString.copyFromUtf8((String) ref); sourceUri_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - - // optional uint64 problem_begin_offset = 4; - public static final int PROBLEM_BEGIN_OFFSET_FIELD_NUMBER = 4; - private long problemBeginOffset_; - /** - * optional uint64 problem_begin_offset = 4; - */ - public boolean hasProblemBeginOffset() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - /** - * optional uint64 problem_begin_offset = 4; - */ - public long getProblemBeginOffset() { - return problemBeginOffset_; - } - - // optional uint64 problem_end_offset = 5; - public static final int PROBLEM_END_OFFSET_FIELD_NUMBER = 5; - private long problemEndOffset_; - /** - * optional uint64 problem_end_offset = 5; - */ - public boolean hasProblemEndOffset() { - return ((bitField0_ & 0x00000010) == 0x00000010); - } - /** - * optional uint64 problem_end_offset = 5; - */ - public long getProblemEndOffset() { - return problemEndOffset_; - } - - // optional uint64 problem_location_offset = 6; - public static final int PROBLEM_LOCATION_OFFSET_FIELD_NUMBER = 6; - private long problemLocationOffset_; - /** - * optional uint64 problem_location_offset = 6; - */ - public boolean hasProblemLocationOffset() { - return ((bitField0_ & 0x00000020) == 0x00000020); - } - /** - * optional uint64 problem_location_offset = 6; - */ - public long getProblemLocationOffset() { - return problemLocationOffset_; - } - - // optional uint64 line = 7; - public static final int LINE_FIELD_NUMBER = 7; - private long line_; - /** - * optional uint64 line = 7; - */ - public boolean hasLine() { + + // optional bytes content = 7; + public static final int CONTENT_FIELD_NUMBER = 7; + private com.google.protobuf.ByteString content_; + public boolean hasContent() { return ((bitField0_ & 0x00000040) == 0x00000040); } - /** - * optional uint64 line = 7; - */ - public long getLine() { - return line_; + public com.google.protobuf.ByteString getContent() { + return content_; } - - // optional uint64 column = 8; - public static final int COLUMN_FIELD_NUMBER = 8; - private long column_; - /** - * optional uint64 column = 8; - */ - public boolean hasColumn() { - return ((bitField0_ & 0x00000080) == 0x00000080); - } - /** - * optional uint64 column = 8; - */ - public long getColumn() { - return column_; - } - + private void initFields() { - kind_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind.ERROR; - text_ = ""; + kind_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Kind.SOURCE; + filePath_ = ""; + outputRoot_ = ""; + relativePath_ = ""; + className_ = ""; sourceUri_ = ""; - problemBeginOffset_ = 0L; - problemEndOffset_ = 0L; - problemLocationOffset_ = 0L; - line_ = 0L; - column_ = 0L; + content_ = com.google.protobuf.ByteString.EMPTY; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasKind()) { memoizedIsInitialized = 0; return false; } + if (!hasFilePath()) { + memoizedIsInitialized = 0; + return false; + } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -4263,33 +3640,30 @@ public final class JavacRemoteProto { output.writeEnum(1, kind_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBytes(2, getTextBytes()); + output.writeBytes(2, getFilePathBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBytes(3, getSourceUriBytes()); + output.writeBytes(3, getOutputRootBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeUInt64(4, problemBeginOffset_); + output.writeBytes(4, getRelativePathBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeUInt64(5, problemEndOffset_); + output.writeBytes(5, getClassNameBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { - output.writeUInt64(6, problemLocationOffset_); + output.writeBytes(6, getSourceUriBytes()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { - output.writeUInt64(7, line_); - } - if (((bitField0_ & 0x00000080) == 0x00000080)) { - output.writeUInt64(8, column_); + output.writeBytes(7, content_); } } - + 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 @@ -4297,160 +3671,175 @@ public final class JavacRemoteProto { } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, getTextBytes()); + .computeBytesSize(2, getFilePathBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, getSourceUriBytes()); + .computeBytesSize(3, getOutputRootBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream - .computeUInt64Size(4, problemBeginOffset_); + .computeBytesSize(4, getRelativePathBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream - .computeUInt64Size(5, problemEndOffset_); + .computeBytesSize(5, getClassNameBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream - .computeUInt64Size(6, problemLocationOffset_); + .computeBytesSize(6, getSourceUriBytes()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream - .computeUInt64Size(7, line_); - } - if (((bitField0_ & 0x00000080) == 0x00000080)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt64Size(8, column_); + .computeBytesSize(7, content_); } 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.jps.javac.JavacRemoteProto.Message.Response.CompileMessage parseFrom( + + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } - public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage parseFrom( + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } - public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage parseFrom(byte[] data) + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } - public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage parseFrom( + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } - public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage parseFrom(java.io.InputStream input) + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } - public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage parseFrom( + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } - public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage parseDelimitedFrom(java.io.InputStream input) + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input)) { + return builder.buildParsed(); + } else { + return null; + } } - public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage parseDelimitedFrom( + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input, extensionRegistry)) { + return builder.buildParsed(); + } else { + return null; + } } - public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage parseFrom( + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } - public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage parseFrom( + public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage prototype) { + public static Builder newBuilder(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - - /** - * Protobuf type {@code org.jetbrains.javac.Message.Response.CompileMessage} - */ + public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage, Builder> - implements org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessageOrBuilder { - // Construct using org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.newBuilder() + org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject, Builder> + implements org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObjectOrBuilder { + // Construct using org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); - kind_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind.ERROR; + kind_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Kind.SOURCE; bitField0_ = (bitField0_ & ~0x00000001); - text_ = ""; + filePath_ = ""; bitField0_ = (bitField0_ & ~0x00000002); - sourceUri_ = ""; + outputRoot_ = ""; bitField0_ = (bitField0_ & ~0x00000004); - problemBeginOffset_ = 0L; + relativePath_ = ""; bitField0_ = (bitField0_ & ~0x00000008); - problemEndOffset_ = 0L; + className_ = ""; bitField0_ = (bitField0_ & ~0x00000010); - problemLocationOffset_ = 0L; + sourceUri_ = ""; bitField0_ = (bitField0_ & ~0x00000020); - line_ = 0L; + content_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000040); - column_ = 0L; - bitField0_ = (bitField0_ & ~0x00000080); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - - public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage getDefaultInstanceForType() { - return org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.getDefaultInstance(); + + public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject getDefaultInstanceForType() { + return org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.getDefaultInstance(); } - - public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage build() { - org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage result = buildPartial(); + + public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject build() { + org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - - public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage buildPartial() { - org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage result = new org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage(this); + + private org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return result; + } + + public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject buildPartial() { + org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject result = new org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -4460,593 +3849,83 @@ public final class JavacRemoteProto { if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.text_ = text_; + result.filePath_ = filePath_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } - result.sourceUri_ = sourceUri_; + result.outputRoot_ = outputRoot_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } - result.problemBeginOffset_ = problemBeginOffset_; + result.relativePath_ = relativePath_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } - result.problemEndOffset_ = problemEndOffset_; + result.className_ = className_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } - result.problemLocationOffset_ = problemLocationOffset_; + result.sourceUri_ = sourceUri_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } - result.line_ = line_; - if (((from_bitField0_ & 0x00000080) == 0x00000080)) { - to_bitField0_ |= 0x00000080; - } - result.column_ = column_; + result.content_ = content_; result.bitField0_ = to_bitField0_; return result; } - - public Builder mergeFrom(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage other) { - if (other == org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.getDefaultInstance()) return this; + + public Builder mergeFrom(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject other) { + if (other == org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.getDefaultInstance()) return this; if (other.hasKind()) { setKind(other.getKind()); } - if (other.hasText()) { - bitField0_ |= 0x00000002; - text_ = other.text_; - + if (other.hasFilePath()) { + setFilePath(other.getFilePath()); + } + if (other.hasOutputRoot()) { + setOutputRoot(other.getOutputRoot()); + } + if (other.hasRelativePath()) { + setRelativePath(other.getRelativePath()); + } + if (other.hasClassName()) { + setClassName(other.getClassName()); } if (other.hasSourceUri()) { - bitField0_ |= 0x00000004; - sourceUri_ = other.sourceUri_; - + setSourceUri(other.getSourceUri()); } - if (other.hasProblemBeginOffset()) { - setProblemBeginOffset(other.getProblemBeginOffset()); - } - if (other.hasProblemEndOffset()) { - setProblemEndOffset(other.getProblemEndOffset()); - } - if (other.hasProblemLocationOffset()) { - setProblemLocationOffset(other.getProblemLocationOffset()); - } - if (other.hasLine()) { - setLine(other.getLine()); - } - if (other.hasColumn()) { - setColumn(other.getColumn()); + if (other.hasContent()) { + setContent(other.getContent()); } return this; } - + public final boolean isInitialized() { if (!hasKind()) { return false; } + if (!hasFilePath()) { + + return false; + } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - // required .org.jetbrains.javac.Message.Response.CompileMessage.Kind kind = 1; - private org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind kind_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind.ERROR; - /** - * required .org.jetbrains.javac.Message.Response.CompileMessage.Kind kind = 1; - */ - public boolean hasKind() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * required .org.jetbrains.javac.Message.Response.CompileMessage.Kind kind = 1; - */ - public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind getKind() { - return kind_; - } - /** - * required .org.jetbrains.javac.Message.Response.CompileMessage.Kind kind = 1; - */ - public Builder setKind(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - kind_ = value; - - return this; - } - /** - * required .org.jetbrains.javac.Message.Response.CompileMessage.Kind kind = 1; - */ - public Builder clearKind() { - bitField0_ = (bitField0_ & ~0x00000001); - kind_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind.ERROR; - - return this; - } - - // optional string text = 2; - private java.lang.Object text_ = ""; - /** - * optional string text = 2; - */ - public boolean hasText() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * optional string text = 2; - */ - public java.lang.String getText() { - java.lang.Object ref = text_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - text_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string text = 2; - */ - public com.google.protobuf.ByteString - getTextBytes() { - java.lang.Object ref = text_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - text_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string text = 2; - */ - public Builder setText( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - text_ = value; - - return this; - } - /** - * optional string text = 2; - */ - public Builder clearText() { - bitField0_ = (bitField0_ & ~0x00000002); - text_ = getDefaultInstance().getText(); - - return this; - } - /** - * optional string text = 2; - */ - public Builder setTextBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - text_ = value; - - return this; - } - - // optional string source_uri = 3; - private java.lang.Object sourceUri_ = ""; - /** - * optional string source_uri = 3; - */ - public boolean hasSourceUri() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * optional string source_uri = 3; - */ - public java.lang.String getSourceUri() { - java.lang.Object ref = sourceUri_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - sourceUri_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string source_uri = 3; - */ - public com.google.protobuf.ByteString - getSourceUriBytes() { - java.lang.Object ref = sourceUri_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - sourceUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string source_uri = 3; - */ - public Builder setSourceUri( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - sourceUri_ = value; - - return this; - } - /** - * optional string source_uri = 3; - */ - public Builder clearSourceUri() { - bitField0_ = (bitField0_ & ~0x00000004); - sourceUri_ = getDefaultInstance().getSourceUri(); - - return this; - } - /** - * optional string source_uri = 3; - */ - public Builder setSourceUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - sourceUri_ = value; - - return this; - } - - // optional uint64 problem_begin_offset = 4; - private long problemBeginOffset_ ; - /** - * optional uint64 problem_begin_offset = 4; - */ - public boolean hasProblemBeginOffset() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - /** - * optional uint64 problem_begin_offset = 4; - */ - public long getProblemBeginOffset() { - return problemBeginOffset_; - } - /** - * optional uint64 problem_begin_offset = 4; - */ - public Builder setProblemBeginOffset(long value) { - bitField0_ |= 0x00000008; - problemBeginOffset_ = value; - - return this; - } - /** - * optional uint64 problem_begin_offset = 4; - */ - public Builder clearProblemBeginOffset() { - bitField0_ = (bitField0_ & ~0x00000008); - problemBeginOffset_ = 0L; - - return this; - } - - // optional uint64 problem_end_offset = 5; - private long problemEndOffset_ ; - /** - * optional uint64 problem_end_offset = 5; - */ - public boolean hasProblemEndOffset() { - return ((bitField0_ & 0x00000010) == 0x00000010); - } - /** - * optional uint64 problem_end_offset = 5; - */ - public long getProblemEndOffset() { - return problemEndOffset_; - } - /** - * optional uint64 problem_end_offset = 5; - */ - public Builder setProblemEndOffset(long value) { - bitField0_ |= 0x00000010; - problemEndOffset_ = value; - - return this; - } - /** - * optional uint64 problem_end_offset = 5; - */ - public Builder clearProblemEndOffset() { - bitField0_ = (bitField0_ & ~0x00000010); - problemEndOffset_ = 0L; - - return this; - } - - // optional uint64 problem_location_offset = 6; - private long problemLocationOffset_ ; - /** - * optional uint64 problem_location_offset = 6; - */ - public boolean hasProblemLocationOffset() { - return ((bitField0_ & 0x00000020) == 0x00000020); - } - /** - * optional uint64 problem_location_offset = 6; - */ - public long getProblemLocationOffset() { - return problemLocationOffset_; - } - /** - * optional uint64 problem_location_offset = 6; - */ - public Builder setProblemLocationOffset(long value) { - bitField0_ |= 0x00000020; - problemLocationOffset_ = value; - - return this; - } - /** - * optional uint64 problem_location_offset = 6; - */ - public Builder clearProblemLocationOffset() { - bitField0_ = (bitField0_ & ~0x00000020); - problemLocationOffset_ = 0L; - - return this; - } - - // optional uint64 line = 7; - private long line_ ; - /** - * optional uint64 line = 7; - */ - public boolean hasLine() { - return ((bitField0_ & 0x00000040) == 0x00000040); - } - /** - * optional uint64 line = 7; - */ - public long getLine() { - return line_; - } - /** - * optional uint64 line = 7; - */ - public Builder setLine(long value) { - bitField0_ |= 0x00000040; - line_ = value; - - return this; - } - /** - * optional uint64 line = 7; - */ - public Builder clearLine() { - bitField0_ = (bitField0_ & ~0x00000040); - line_ = 0L; - - return this; - } - - // optional uint64 column = 8; - private long column_ ; - /** - * optional uint64 column = 8; - */ - public boolean hasColumn() { - return ((bitField0_ & 0x00000080) == 0x00000080); - } - /** - * optional uint64 column = 8; - */ - public long getColumn() { - return column_; - } - /** - * optional uint64 column = 8; - */ - public Builder setColumn(long value) { - bitField0_ |= 0x00000080; - column_ = value; - - return this; - } - /** - * optional uint64 column = 8; - */ - public Builder clearColumn() { - bitField0_ = (bitField0_ & ~0x00000080); - column_ = 0L; - - return this; - } - - // @@protoc_insertion_point(builder_scope:org.jetbrains.javac.Message.Response.CompileMessage) - } - - static { - defaultInstance = new CompileMessage(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:org.jetbrains.javac.Message.Response.CompileMessage) - } - - public interface OutputObjectOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required .org.jetbrains.javac.Message.Response.OutputObject.Kind kind = 1; - /** - * required .org.jetbrains.javac.Message.Response.OutputObject.Kind kind = 1; - */ - boolean hasKind(); - /** - * required .org.jetbrains.javac.Message.Response.OutputObject.Kind kind = 1; - */ - org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Kind getKind(); - - // required string file_path = 2; - /** - * required string file_path = 2; - */ - boolean hasFilePath(); - /** - * required string file_path = 2; - */ - java.lang.String getFilePath(); - /** - * required string file_path = 2; - */ - com.google.protobuf.ByteString - getFilePathBytes(); - - // optional string output_root = 3; - /** - * optional string output_root = 3; - */ - boolean hasOutputRoot(); - /** - * optional string output_root = 3; - */ - java.lang.String getOutputRoot(); - /** - * optional string output_root = 3; - */ - com.google.protobuf.ByteString - getOutputRootBytes(); - - // optional string relative_path = 4; - /** - * optional string relative_path = 4; - */ - boolean hasRelativePath(); - /** - * optional string relative_path = 4; - */ - java.lang.String getRelativePath(); - /** - * optional string relative_path = 4; - */ - com.google.protobuf.ByteString - getRelativePathBytes(); - - // optional string class_name = 5; - /** - * optional string class_name = 5; - */ - boolean hasClassName(); - /** - * optional string class_name = 5; - */ - java.lang.String getClassName(); - /** - * optional string class_name = 5; - */ - com.google.protobuf.ByteString - getClassNameBytes(); - - // optional string source_uri = 6; - /** - * optional string source_uri = 6; - */ - boolean hasSourceUri(); - /** - * optional string source_uri = 6; - */ - java.lang.String getSourceUri(); - /** - * optional string source_uri = 6; - */ - com.google.protobuf.ByteString - getSourceUriBytes(); - - // optional bytes content = 7; - /** - * optional bytes content = 7; - */ - boolean hasContent(); - /** - * optional bytes content = 7; - */ - com.google.protobuf.ByteString getContent(); - } - /** - * Protobuf type {@code org.jetbrains.javac.Message.Response.OutputObject} - */ - public static final class OutputObject extends - com.google.protobuf.GeneratedMessageLite - implements OutputObjectOrBuilder { - // Use OutputObject.newBuilder() to construct. - private OutputObject(com.google.protobuf.GeneratedMessageLite.Builder builder) { - super(builder); - - } - private OutputObject(boolean noInit) {} - - private static final OutputObject defaultInstance; - public static OutputObject getDefaultInstance() { - return defaultInstance; - } - - public OutputObject getDefaultInstanceForType() { - return defaultInstance; - } - - private OutputObject( - 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) { + while (true) { int tag = input.readTag(); switch (tag) { case 0: - done = true; - break; + + return this; default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; + if (!parseUnknownField(input, extensionRegistry, tag)) { + + return this; } break; } @@ -5091,682 +3970,18 @@ public final class JavacRemoteProto { } } } - } 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 OutputObject parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OutputObject(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - /** - * Protobuf enum {@code org.jetbrains.javac.Message.Response.OutputObject.Kind} - */ - public enum Kind - implements com.google.protobuf.Internal.EnumLite { - /** - * SOURCE = 1; - */ - SOURCE(0, 1), - /** - * CLASS = 2; - */ - CLASS(1, 2), - /** - * HTML = 3; - */ - HTML(2, 3), - /** - * OTHER = 4; - */ - OTHER(3, 4), - ; - - /** - * SOURCE = 1; - */ - public static final int SOURCE_VALUE = 1; - /** - * CLASS = 2; - */ - public static final int CLASS_VALUE = 2; - /** - * HTML = 3; - */ - public static final int HTML_VALUE = 3; - /** - * OTHER = 4; - */ - public static final int OTHER_VALUE = 4; - - - public final int getNumber() { return value; } - - public static Kind valueOf(int value) { - switch (value) { - case 1: return SOURCE; - case 2: return CLASS; - case 3: return HTML; - case 4: return OTHER; - 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.javac.Message.Response.OutputObject.Kind) - } - - private int bitField0_; - // required .org.jetbrains.javac.Message.Response.OutputObject.Kind kind = 1; - public static final int KIND_FIELD_NUMBER = 1; - private org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Kind kind_; - /** - * required .org.jetbrains.javac.Message.Response.OutputObject.Kind kind = 1; - */ - public boolean hasKind() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * required .org.jetbrains.javac.Message.Response.OutputObject.Kind kind = 1; - */ - public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Kind getKind() { - return kind_; - } - - // required string file_path = 2; - public static final int FILE_PATH_FIELD_NUMBER = 2; - private java.lang.Object filePath_; - /** - * required string file_path = 2; - */ - public boolean hasFilePath() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * required string file_path = 2; - */ - public java.lang.String getFilePath() { - java.lang.Object ref = filePath_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - filePath_ = s; - } - return s; - } - } - /** - * required string file_path = 2; - */ - public com.google.protobuf.ByteString - getFilePathBytes() { - java.lang.Object ref = filePath_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - filePath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - // optional string output_root = 3; - public static final int OUTPUT_ROOT_FIELD_NUMBER = 3; - private java.lang.Object outputRoot_; - /** - * optional string output_root = 3; - */ - public boolean hasOutputRoot() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * optional string output_root = 3; - */ - public java.lang.String getOutputRoot() { - java.lang.Object ref = outputRoot_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - outputRoot_ = s; - } - return s; - } - } - /** - * optional string output_root = 3; - */ - public com.google.protobuf.ByteString - getOutputRootBytes() { - java.lang.Object ref = outputRoot_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - outputRoot_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - // optional string relative_path = 4; - public static final int RELATIVE_PATH_FIELD_NUMBER = 4; - private java.lang.Object relativePath_; - /** - * optional string relative_path = 4; - */ - public boolean hasRelativePath() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - /** - * optional string relative_path = 4; - */ - public java.lang.String getRelativePath() { - java.lang.Object ref = relativePath_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - relativePath_ = s; - } - return s; - } - } - /** - * optional string relative_path = 4; - */ - public com.google.protobuf.ByteString - getRelativePathBytes() { - java.lang.Object ref = relativePath_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - relativePath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - // optional string class_name = 5; - public static final int CLASS_NAME_FIELD_NUMBER = 5; - private java.lang.Object className_; - /** - * optional string class_name = 5; - */ - public boolean hasClassName() { - return ((bitField0_ & 0x00000010) == 0x00000010); - } - /** - * optional string class_name = 5; - */ - public java.lang.String getClassName() { - java.lang.Object ref = className_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - className_ = s; - } - return s; - } - } - /** - * optional string class_name = 5; - */ - public com.google.protobuf.ByteString - getClassNameBytes() { - java.lang.Object ref = className_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - className_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - // optional string source_uri = 6; - public static final int SOURCE_URI_FIELD_NUMBER = 6; - private java.lang.Object sourceUri_; - /** - * optional string source_uri = 6; - */ - public boolean hasSourceUri() { - return ((bitField0_ & 0x00000020) == 0x00000020); - } - /** - * optional string source_uri = 6; - */ - public java.lang.String getSourceUri() { - java.lang.Object ref = sourceUri_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - sourceUri_ = s; - } - return s; - } - } - /** - * optional string source_uri = 6; - */ - public com.google.protobuf.ByteString - getSourceUriBytes() { - java.lang.Object ref = sourceUri_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - sourceUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - // optional bytes content = 7; - public static final int CONTENT_FIELD_NUMBER = 7; - private com.google.protobuf.ByteString content_; - /** - * optional bytes content = 7; - */ - public boolean hasContent() { - return ((bitField0_ & 0x00000040) == 0x00000040); - } - /** - * optional bytes content = 7; - */ - public com.google.protobuf.ByteString getContent() { - return content_; - } - - private void initFields() { - kind_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Kind.SOURCE; - filePath_ = ""; - outputRoot_ = ""; - relativePath_ = ""; - className_ = ""; - sourceUri_ = ""; - content_ = com.google.protobuf.ByteString.EMPTY; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasKind()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasFilePath()) { - 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.writeBytes(2, getFilePathBytes()); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBytes(3, getOutputRootBytes()); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeBytes(4, getRelativePathBytes()); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeBytes(5, getClassNameBytes()); - } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - output.writeBytes(6, getSourceUriBytes()); - } - if (((bitField0_ & 0x00000040) == 0x00000040)) { - output.writeBytes(7, content_); - } - } - - 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 - .computeBytesSize(2, getFilePathBytes()); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, getOutputRootBytes()); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(4, getRelativePathBytes()); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(5, getClassNameBytes()); - } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(6, getSourceUriBytes()); - } - if (((bitField0_ & 0x00000040) == 0x00000040)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(7, content_); - } - 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.jps.javac.JavacRemoteProto.Message.Response.OutputObject parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject 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.jps.javac.JavacRemoteProto.Message.Response.OutputObject parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject parseFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); - } - public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); - } - public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); - } - public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject 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.jps.javac.JavacRemoteProto.Message.Response.OutputObject prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - /** - * Protobuf type {@code org.jetbrains.javac.Message.Response.OutputObject} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject, Builder> - implements org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObjectOrBuilder { - // Construct using org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - kind_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Kind.SOURCE; - bitField0_ = (bitField0_ & ~0x00000001); - filePath_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); - outputRoot_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); - relativePath_ = ""; - bitField0_ = (bitField0_ & ~0x00000008); - className_ = ""; - bitField0_ = (bitField0_ & ~0x00000010); - sourceUri_ = ""; - bitField0_ = (bitField0_ & ~0x00000020); - content_ = com.google.protobuf.ByteString.EMPTY; - bitField0_ = (bitField0_ & ~0x00000040); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject getDefaultInstanceForType() { - return org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.getDefaultInstance(); - } - - public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject build() { - org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject buildPartial() { - org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject result = new org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject(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.filePath_ = filePath_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.outputRoot_ = outputRoot_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { - to_bitField0_ |= 0x00000008; - } - result.relativePath_ = relativePath_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { - to_bitField0_ |= 0x00000010; - } - result.className_ = className_; - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { - to_bitField0_ |= 0x00000020; - } - result.sourceUri_ = sourceUri_; - if (((from_bitField0_ & 0x00000040) == 0x00000040)) { - to_bitField0_ |= 0x00000040; - } - result.content_ = content_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject other) { - if (other == org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.getDefaultInstance()) return this; - if (other.hasKind()) { - setKind(other.getKind()); - } - if (other.hasFilePath()) { - bitField0_ |= 0x00000002; - filePath_ = other.filePath_; - - } - if (other.hasOutputRoot()) { - bitField0_ |= 0x00000004; - outputRoot_ = other.outputRoot_; - - } - if (other.hasRelativePath()) { - bitField0_ |= 0x00000008; - relativePath_ = other.relativePath_; - - } - if (other.hasClassName()) { - bitField0_ |= 0x00000010; - className_ = other.className_; - - } - if (other.hasSourceUri()) { - bitField0_ |= 0x00000020; - sourceUri_ = other.sourceUri_; - - } - if (other.hasContent()) { - setContent(other.getContent()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasKind()) { - - return false; - } - if (!hasFilePath()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; } + private int bitField0_; - + // required .org.jetbrains.javac.Message.Response.OutputObject.Kind kind = 1; private org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Kind kind_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Kind.SOURCE; - /** - * required .org.jetbrains.javac.Message.Response.OutputObject.Kind kind = 1; - */ public boolean hasKind() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required .org.jetbrains.javac.Message.Response.OutputObject.Kind kind = 1; - */ public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Kind getKind() { return kind_; } - /** - * required .org.jetbrains.javac.Message.Response.OutputObject.Kind kind = 1; - */ public Builder setKind(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Kind value) { if (value == null) { throw new NullPointerException(); @@ -5776,59 +3991,29 @@ public final class JavacRemoteProto { return this; } - /** - * required .org.jetbrains.javac.Message.Response.OutputObject.Kind kind = 1; - */ public Builder clearKind() { bitField0_ = (bitField0_ & ~0x00000001); kind_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Kind.SOURCE; return this; } - + // required string file_path = 2; private java.lang.Object filePath_ = ""; - /** - * required string file_path = 2; - */ public boolean hasFilePath() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * required string file_path = 2; - */ - public java.lang.String getFilePath() { + public String getFilePath() { java.lang.Object ref = filePath_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); filePath_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * required string file_path = 2; - */ - public com.google.protobuf.ByteString - getFilePathBytes() { - java.lang.Object ref = filePath_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - filePath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * required string file_path = 2; - */ - public Builder setFilePath( - java.lang.String value) { + public Builder setFilePath(String value) { if (value == null) { throw new NullPointerException(); } @@ -5837,72 +4022,34 @@ public final class JavacRemoteProto { return this; } - /** - * required string file_path = 2; - */ public Builder clearFilePath() { bitField0_ = (bitField0_ & ~0x00000002); filePath_ = getDefaultInstance().getFilePath(); return this; } - /** - * required string file_path = 2; - */ - public Builder setFilePathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + void setFilePath(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000002; filePath_ = value; - return this; } - + // optional string output_root = 3; private java.lang.Object outputRoot_ = ""; - /** - * optional string output_root = 3; - */ public boolean hasOutputRoot() { return ((bitField0_ & 0x00000004) == 0x00000004); } - /** - * optional string output_root = 3; - */ - public java.lang.String getOutputRoot() { + public String getOutputRoot() { java.lang.Object ref = outputRoot_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); outputRoot_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * optional string output_root = 3; - */ - public com.google.protobuf.ByteString - getOutputRootBytes() { - java.lang.Object ref = outputRoot_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - outputRoot_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string output_root = 3; - */ - public Builder setOutputRoot( - java.lang.String value) { + public Builder setOutputRoot(String value) { if (value == null) { throw new NullPointerException(); } @@ -5911,72 +4058,34 @@ public final class JavacRemoteProto { return this; } - /** - * optional string output_root = 3; - */ public Builder clearOutputRoot() { bitField0_ = (bitField0_ & ~0x00000004); outputRoot_ = getDefaultInstance().getOutputRoot(); return this; } - /** - * optional string output_root = 3; - */ - public Builder setOutputRootBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + void setOutputRoot(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000004; outputRoot_ = value; - return this; } - + // optional string relative_path = 4; private java.lang.Object relativePath_ = ""; - /** - * optional string relative_path = 4; - */ public boolean hasRelativePath() { return ((bitField0_ & 0x00000008) == 0x00000008); } - /** - * optional string relative_path = 4; - */ - public java.lang.String getRelativePath() { + public String getRelativePath() { java.lang.Object ref = relativePath_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); relativePath_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * optional string relative_path = 4; - */ - public com.google.protobuf.ByteString - getRelativePathBytes() { - java.lang.Object ref = relativePath_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - relativePath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string relative_path = 4; - */ - public Builder setRelativePath( - java.lang.String value) { + public Builder setRelativePath(String value) { if (value == null) { throw new NullPointerException(); } @@ -5985,72 +4094,34 @@ public final class JavacRemoteProto { return this; } - /** - * optional string relative_path = 4; - */ public Builder clearRelativePath() { bitField0_ = (bitField0_ & ~0x00000008); relativePath_ = getDefaultInstance().getRelativePath(); return this; } - /** - * optional string relative_path = 4; - */ - public Builder setRelativePathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; + void setRelativePath(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000008; relativePath_ = value; - return this; } - + // optional string class_name = 5; private java.lang.Object className_ = ""; - /** - * optional string class_name = 5; - */ public boolean hasClassName() { return ((bitField0_ & 0x00000010) == 0x00000010); } - /** - * optional string class_name = 5; - */ - public java.lang.String getClassName() { + public String getClassName() { java.lang.Object ref = className_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); className_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * optional string class_name = 5; - */ - public com.google.protobuf.ByteString - getClassNameBytes() { - java.lang.Object ref = className_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - className_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string class_name = 5; - */ - public Builder setClassName( - java.lang.String value) { + public Builder setClassName(String value) { if (value == null) { throw new NullPointerException(); } @@ -6059,72 +4130,34 @@ public final class JavacRemoteProto { return this; } - /** - * optional string class_name = 5; - */ public Builder clearClassName() { bitField0_ = (bitField0_ & ~0x00000010); className_ = getDefaultInstance().getClassName(); return this; } - /** - * optional string class_name = 5; - */ - public Builder setClassNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; + void setClassName(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000010; className_ = value; - return this; } - + // optional string source_uri = 6; private java.lang.Object sourceUri_ = ""; - /** - * optional string source_uri = 6; - */ public boolean hasSourceUri() { return ((bitField0_ & 0x00000020) == 0x00000020); } - /** - * optional string source_uri = 6; - */ - public java.lang.String getSourceUri() { + public String getSourceUri() { java.lang.Object ref = sourceUri_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); sourceUri_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * optional string source_uri = 6; - */ - public com.google.protobuf.ByteString - getSourceUriBytes() { - java.lang.Object ref = sourceUri_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - sourceUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string source_uri = 6; - */ - public Builder setSourceUri( - java.lang.String value) { + public Builder setSourceUri(String value) { if (value == null) { throw new NullPointerException(); } @@ -6133,46 +4166,26 @@ public final class JavacRemoteProto { return this; } - /** - * optional string source_uri = 6; - */ public Builder clearSourceUri() { bitField0_ = (bitField0_ & ~0x00000020); sourceUri_ = getDefaultInstance().getSourceUri(); return this; } - /** - * optional string source_uri = 6; - */ - public Builder setSourceUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000020; + void setSourceUri(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000020; sourceUri_ = value; - return this; } - + // optional bytes content = 7; private com.google.protobuf.ByteString content_ = com.google.protobuf.ByteString.EMPTY; - /** - * optional bytes content = 7; - */ public boolean hasContent() { return ((bitField0_ & 0x00000040) == 0x00000040); } - /** - * optional bytes content = 7; - */ public com.google.protobuf.ByteString getContent() { return content_; } - /** - * optional bytes content = 7; - */ public Builder setContent(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); @@ -6182,346 +4195,139 @@ public final class JavacRemoteProto { return this; } - /** - * optional bytes content = 7; - */ public Builder clearContent() { bitField0_ = (bitField0_ & ~0x00000040); content_ = getDefaultInstance().getContent(); return this; } - + // @@protoc_insertion_point(builder_scope:org.jetbrains.javac.Message.Response.OutputObject) } - + static { defaultInstance = new OutputObject(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:org.jetbrains.javac.Message.Response.OutputObject) } - + public interface ClassDataOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required string class_name = 1; - /** - * required string class_name = 1; - */ boolean hasClassName(); - /** - * required string class_name = 1; - */ - java.lang.String getClassName(); - /** - * required string class_name = 1; - */ - com.google.protobuf.ByteString - getClassNameBytes(); - + String getClassName(); + // repeated string import_statement = 2; - /** - * repeated string import_statement = 2; - */ - java.util.List - getImportStatementList(); - /** - * repeated string import_statement = 2; - */ + java.util.List getImportStatementList(); int getImportStatementCount(); - /** - * repeated string import_statement = 2; - */ - java.lang.String getImportStatement(int index); - /** - * repeated string import_statement = 2; - */ - com.google.protobuf.ByteString - getImportStatementBytes(int index); - + String getImportStatement(int index); + // repeated string static_import = 3; - /** - * repeated string static_import = 3; - */ - java.util.List - getStaticImportList(); - /** - * repeated string static_import = 3; - */ + java.util.List getStaticImportList(); int getStaticImportCount(); - /** - * repeated string static_import = 3; - */ - java.lang.String getStaticImport(int index); - /** - * repeated string static_import = 3; - */ - com.google.protobuf.ByteString - getStaticImportBytes(int index); - + String getStaticImport(int index); + // repeated string identifier = 4; - /** - * repeated string identifier = 4; - */ - java.util.List - getIdentifierList(); - /** - * repeated string identifier = 4; - */ + java.util.List getIdentifierList(); int getIdentifierCount(); - /** - * repeated string identifier = 4; - */ - java.lang.String getIdentifier(int index); - /** - * repeated string identifier = 4; - */ - com.google.protobuf.ByteString - getIdentifierBytes(int index); + String getIdentifier(int index); } - /** - * Protobuf type {@code org.jetbrains.javac.Message.Response.ClassData} - */ public static final class ClassData extends com.google.protobuf.GeneratedMessageLite implements ClassDataOrBuilder { // Use ClassData.newBuilder() to construct. - private ClassData(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private ClassData(Builder builder) { super(builder); - } private ClassData(boolean noInit) {} - + private static final ClassData defaultInstance; public static ClassData getDefaultInstance() { return defaultInstance; } - + public ClassData getDefaultInstanceForType() { return defaultInstance; } - - private ClassData( - 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: { - bitField0_ |= 0x00000001; - className_ = input.readBytes(); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { - importStatement_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - importStatement_.add(input.readBytes()); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { - staticImport_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; - } - staticImport_.add(input.readBytes()); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { - identifier_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000008; - } - identifier_.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_ & 0x00000002) == 0x00000002)) { - importStatement_ = new com.google.protobuf.UnmodifiableLazyStringList(importStatement_); - } - if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { - staticImport_ = new com.google.protobuf.UnmodifiableLazyStringList(staticImport_); - } - if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { - identifier_ = new com.google.protobuf.UnmodifiableLazyStringList(identifier_); - } - makeExtensionsImmutable(); - } - } - public static com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - public ClassData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ClassData(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - + private int bitField0_; // required string class_name = 1; public static final int CLASS_NAME_FIELD_NUMBER = 1; private java.lang.Object className_; - /** - * required string class_name = 1; - */ public boolean hasClassName() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required string class_name = 1; - */ - public java.lang.String getClassName() { + public String getClassName() { java.lang.Object ref = className_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + if (ref instanceof String) { + return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { + String s = bs.toStringUtf8(); + if (com.google.protobuf.Internal.isValidUtf8(bs)) { className_ = s; } return s; } } - /** - * required string class_name = 1; - */ - public com.google.protobuf.ByteString - getClassNameBytes() { + private com.google.protobuf.ByteString getClassNameBytes() { java.lang.Object ref = className_; - if (ref instanceof java.lang.String) { + if (ref instanceof String) { com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString.copyFromUtf8((String) ref); className_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - + // repeated string import_statement = 2; public static final int IMPORT_STATEMENT_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList importStatement_; - /** - * repeated string import_statement = 2; - */ - public java.util.List + public java.util.List getImportStatementList() { return importStatement_; } - /** - * repeated string import_statement = 2; - */ public int getImportStatementCount() { return importStatement_.size(); } - /** - * repeated string import_statement = 2; - */ - public java.lang.String getImportStatement(int index) { + public String getImportStatement(int index) { return importStatement_.get(index); } - /** - * repeated string import_statement = 2; - */ - public com.google.protobuf.ByteString - getImportStatementBytes(int index) { - return importStatement_.getByteString(index); - } - + // repeated string static_import = 3; public static final int STATIC_IMPORT_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList staticImport_; - /** - * repeated string static_import = 3; - */ - public java.util.List + public java.util.List getStaticImportList() { return staticImport_; } - /** - * repeated string static_import = 3; - */ public int getStaticImportCount() { return staticImport_.size(); } - /** - * repeated string static_import = 3; - */ - public java.lang.String getStaticImport(int index) { + public String getStaticImport(int index) { return staticImport_.get(index); } - /** - * repeated string static_import = 3; - */ - public com.google.protobuf.ByteString - getStaticImportBytes(int index) { - return staticImport_.getByteString(index); - } - + // repeated string identifier = 4; public static final int IDENTIFIER_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList identifier_; - /** - * repeated string identifier = 4; - */ - public java.util.List + public java.util.List getIdentifierList() { return identifier_; } - /** - * repeated string identifier = 4; - */ public int getIdentifierCount() { return identifier_.size(); } - /** - * repeated string identifier = 4; - */ - public java.lang.String getIdentifier(int index) { + public String getIdentifier(int index) { return identifier_.get(index); } - /** - * repeated string identifier = 4; - */ - public com.google.protobuf.ByteString - getIdentifierBytes(int index) { - return identifier_.getByteString(index); - } - + private void initFields() { className_ = ""; importStatement_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -6532,7 +4338,7 @@ public final class JavacRemoteProto { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasClassName()) { memoizedIsInitialized = 0; return false; @@ -6540,7 +4346,7 @@ public final class JavacRemoteProto { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -6557,12 +4363,12 @@ public final class JavacRemoteProto { output.writeBytes(4, identifier_.getByteString(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 @@ -6598,77 +4404,88 @@ public final class JavacRemoteProto { 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.jps.javac.JavacRemoteProto.Message.Response.ClassData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input, extensionRegistry)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - - /** - * Protobuf type {@code org.jetbrains.javac.Message.Response.ClassData} - */ + public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData, Builder> @@ -6677,13 +4494,13 @@ public final class JavacRemoteProto { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); className_ = ""; @@ -6696,15 +4513,15 @@ public final class JavacRemoteProto { bitField0_ = (bitField0_ & ~0x00000008); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData getDefaultInstanceForType() { return org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData.getDefaultInstance(); } - + public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData build() { org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData result = buildPartial(); if (!result.isInitialized()) { @@ -6712,7 +4529,17 @@ public final class JavacRemoteProto { } return result; } - + + private org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return result; + } + public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData buildPartial() { org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData result = new org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData(this); int from_bitField0_ = bitField0_; @@ -6742,13 +4569,11 @@ public final class JavacRemoteProto { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData other) { if (other == org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData.getDefaultInstance()) return this; if (other.hasClassName()) { - bitField0_ |= 0x00000001; - className_ = other.className_; - + setClassName(other.getClassName()); } if (!other.importStatement_.isEmpty()) { if (importStatement_.isEmpty()) { @@ -6782,7 +4607,7 @@ public final class JavacRemoteProto { } return this; } - + public final boolean isInitialized() { if (!hasClassName()) { @@ -6790,69 +4615,66 @@ public final class JavacRemoteProto { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + while (true) { + int tag = input.readTag(); + switch (tag) { + case 0: + + return this; + default: { + if (!parseUnknownField(input, extensionRegistry, tag)) { + + return this; + } + break; + } + case 10: { + bitField0_ |= 0x00000001; + className_ = input.readBytes(); + break; + } + case 18: { + ensureImportStatementIsMutable(); + importStatement_.add(input.readBytes()); + break; + } + case 26: { + ensureStaticImportIsMutable(); + staticImport_.add(input.readBytes()); + break; + } + case 34: { + ensureIdentifierIsMutable(); + identifier_.add(input.readBytes()); + break; + } } } - return this; } + private int bitField0_; - + // required string class_name = 1; private java.lang.Object className_ = ""; - /** - * required string class_name = 1; - */ public boolean hasClassName() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required string class_name = 1; - */ - public java.lang.String getClassName() { + public String getClassName() { java.lang.Object ref = className_; - if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); + if (!(ref instanceof String)) { + String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); className_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } - /** - * required string class_name = 1; - */ - public com.google.protobuf.ByteString - getClassNameBytes() { - java.lang.Object ref = className_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - className_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * required string class_name = 1; - */ - public Builder setClassName( - java.lang.String value) { + public Builder setClassName(String value) { if (value == null) { throw new NullPointerException(); } @@ -6861,29 +4683,18 @@ public final class JavacRemoteProto { return this; } - /** - * required string class_name = 1; - */ public Builder clearClassName() { bitField0_ = (bitField0_ & ~0x00000001); className_ = getDefaultInstance().getClassName(); return this; } - /** - * required string class_name = 1; - */ - public Builder setClassNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + void setClassName(com.google.protobuf.ByteString value) { + bitField0_ |= 0x00000001; className_ = value; - return this; } - + // repeated string import_statement = 2; private com.google.protobuf.LazyStringList importStatement_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureImportStatementIsMutable() { @@ -6892,37 +4703,18 @@ public final class JavacRemoteProto { bitField0_ |= 0x00000002; } } - /** - * repeated string import_statement = 2; - */ - public java.util.List + public java.util.List getImportStatementList() { return java.util.Collections.unmodifiableList(importStatement_); } - /** - * repeated string import_statement = 2; - */ public int getImportStatementCount() { return importStatement_.size(); } - /** - * repeated string import_statement = 2; - */ - public java.lang.String getImportStatement(int index) { + public String getImportStatement(int index) { return importStatement_.get(index); } - /** - * repeated string import_statement = 2; - */ - public com.google.protobuf.ByteString - getImportStatementBytes(int index) { - return importStatement_.getByteString(index); - } - /** - * repeated string import_statement = 2; - */ public Builder setImportStatement( - int index, java.lang.String value) { + int index, String value) { if (value == null) { throw new NullPointerException(); } @@ -6931,11 +4723,7 @@ public final class JavacRemoteProto { return this; } - /** - * repeated string import_statement = 2; - */ - public Builder addImportStatement( - java.lang.String value) { + public Builder addImportStatement(String value) { if (value == null) { throw new NullPointerException(); } @@ -6944,39 +4732,25 @@ public final class JavacRemoteProto { return this; } - /** - * repeated string import_statement = 2; - */ public Builder addAllImportStatement( - java.lang.Iterable values) { + java.lang.Iterable values) { ensureImportStatementIsMutable(); super.addAll(values, importStatement_); return this; } - /** - * repeated string import_statement = 2; - */ public Builder clearImportStatement() { importStatement_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); return this; } - /** - * repeated string import_statement = 2; - */ - public Builder addImportStatementBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureImportStatementIsMutable(); + void addImportStatement(com.google.protobuf.ByteString value) { + ensureImportStatementIsMutable(); importStatement_.add(value); - return this; } - + // repeated string static_import = 3; private com.google.protobuf.LazyStringList staticImport_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureStaticImportIsMutable() { @@ -6985,37 +4759,18 @@ public final class JavacRemoteProto { bitField0_ |= 0x00000004; } } - /** - * repeated string static_import = 3; - */ - public java.util.List + public java.util.List getStaticImportList() { return java.util.Collections.unmodifiableList(staticImport_); } - /** - * repeated string static_import = 3; - */ public int getStaticImportCount() { return staticImport_.size(); } - /** - * repeated string static_import = 3; - */ - public java.lang.String getStaticImport(int index) { + public String getStaticImport(int index) { return staticImport_.get(index); } - /** - * repeated string static_import = 3; - */ - public com.google.protobuf.ByteString - getStaticImportBytes(int index) { - return staticImport_.getByteString(index); - } - /** - * repeated string static_import = 3; - */ public Builder setStaticImport( - int index, java.lang.String value) { + int index, String value) { if (value == null) { throw new NullPointerException(); } @@ -7024,11 +4779,7 @@ public final class JavacRemoteProto { return this; } - /** - * repeated string static_import = 3; - */ - public Builder addStaticImport( - java.lang.String value) { + public Builder addStaticImport(String value) { if (value == null) { throw new NullPointerException(); } @@ -7037,39 +4788,25 @@ public final class JavacRemoteProto { return this; } - /** - * repeated string static_import = 3; - */ public Builder addAllStaticImport( - java.lang.Iterable values) { + java.lang.Iterable values) { ensureStaticImportIsMutable(); super.addAll(values, staticImport_); return this; } - /** - * repeated string static_import = 3; - */ public Builder clearStaticImport() { staticImport_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); return this; } - /** - * repeated string static_import = 3; - */ - public Builder addStaticImportBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureStaticImportIsMutable(); + void addStaticImport(com.google.protobuf.ByteString value) { + ensureStaticImportIsMutable(); staticImport_.add(value); - return this; } - + // repeated string identifier = 4; private com.google.protobuf.LazyStringList identifier_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureIdentifierIsMutable() { @@ -7078,37 +4815,18 @@ public final class JavacRemoteProto { bitField0_ |= 0x00000008; } } - /** - * repeated string identifier = 4; - */ - public java.util.List + public java.util.List getIdentifierList() { return java.util.Collections.unmodifiableList(identifier_); } - /** - * repeated string identifier = 4; - */ public int getIdentifierCount() { return identifier_.size(); } - /** - * repeated string identifier = 4; - */ - public java.lang.String getIdentifier(int index) { + public String getIdentifier(int index) { return identifier_.get(index); } - /** - * repeated string identifier = 4; - */ - public com.google.protobuf.ByteString - getIdentifierBytes(int index) { - return identifier_.getByteString(index); - } - /** - * repeated string identifier = 4; - */ public Builder setIdentifier( - int index, java.lang.String value) { + int index, String value) { if (value == null) { throw new NullPointerException(); } @@ -7117,11 +4835,7 @@ public final class JavacRemoteProto { return this; } - /** - * repeated string identifier = 4; - */ - public Builder addIdentifier( - java.lang.String value) { + public Builder addIdentifier(String value) { if (value == null) { throw new NullPointerException(); } @@ -7130,131 +4844,87 @@ public final class JavacRemoteProto { return this; } - /** - * repeated string identifier = 4; - */ public Builder addAllIdentifier( - java.lang.Iterable values) { + java.lang.Iterable values) { ensureIdentifierIsMutable(); super.addAll(values, identifier_); return this; } - /** - * repeated string identifier = 4; - */ public Builder clearIdentifier() { identifier_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000008); return this; } - /** - * repeated string identifier = 4; - */ - public Builder addIdentifierBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureIdentifierIsMutable(); + void addIdentifier(com.google.protobuf.ByteString value) { + ensureIdentifierIsMutable(); identifier_.add(value); - return this; } - + // @@protoc_insertion_point(builder_scope:org.jetbrains.javac.Message.Response.ClassData) } - + static { defaultInstance = new ClassData(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:org.jetbrains.javac.Message.Response.ClassData) } - + private int bitField0_; // required .org.jetbrains.javac.Message.Response.Type response_type = 1; public static final int RESPONSE_TYPE_FIELD_NUMBER = 1; private org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.Type responseType_; - /** - * required .org.jetbrains.javac.Message.Response.Type response_type = 1; - */ public boolean hasResponseType() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required .org.jetbrains.javac.Message.Response.Type response_type = 1; - */ public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.Type getResponseType() { return responseType_; } - + // optional .org.jetbrains.javac.Message.Response.CompileMessage compile_message = 2; public static final int COMPILE_MESSAGE_FIELD_NUMBER = 2; private org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage compileMessage_; - /** - * optional .org.jetbrains.javac.Message.Response.CompileMessage compile_message = 2; - */ public boolean hasCompileMessage() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * optional .org.jetbrains.javac.Message.Response.CompileMessage compile_message = 2; - */ public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage getCompileMessage() { return compileMessage_; } - + // optional .org.jetbrains.javac.Message.Response.OutputObject output_object = 3; public static final int OUTPUT_OBJECT_FIELD_NUMBER = 3; private org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject outputObject_; - /** - * optional .org.jetbrains.javac.Message.Response.OutputObject output_object = 3; - */ public boolean hasOutputObject() { return ((bitField0_ & 0x00000004) == 0x00000004); } - /** - * optional .org.jetbrains.javac.Message.Response.OutputObject output_object = 3; - */ public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject getOutputObject() { return outputObject_; } - + // optional .org.jetbrains.javac.Message.Response.ClassData class_data = 4; public static final int CLASS_DATA_FIELD_NUMBER = 4; private org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData classData_; - /** - * optional .org.jetbrains.javac.Message.Response.ClassData class_data = 4; - */ public boolean hasClassData() { return ((bitField0_ & 0x00000008) == 0x00000008); } - /** - * optional .org.jetbrains.javac.Message.Response.ClassData class_data = 4; - */ public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData getClassData() { return classData_; } - + // optional bool completion_status = 5; public static final int COMPLETION_STATUS_FIELD_NUMBER = 5; private boolean completionStatus_; - /** - * optional bool completion_status = 5; - */ public boolean hasCompletionStatus() { return ((bitField0_ & 0x00000010) == 0x00000010); } - /** - * optional bool completion_status = 5; - */ public boolean getCompletionStatus() { return completionStatus_; } - + private void initFields() { responseType_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.Type.BUILD_MESSAGE; compileMessage_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.getDefaultInstance(); @@ -7266,7 +4936,7 @@ public final class JavacRemoteProto { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasResponseType()) { memoizedIsInitialized = 0; return false; @@ -7292,7 +4962,7 @@ public final class JavacRemoteProto { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -7312,12 +4982,12 @@ public final class JavacRemoteProto { output.writeBool(5, completionStatus_); } } - + 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 @@ -7342,77 +5012,88 @@ public final class JavacRemoteProto { 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.jps.javac.JavacRemoteProto.Message.Response parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input, extensionRegistry)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - - /** - * Protobuf type {@code org.jetbrains.javac.Message.Response} - */ + public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.jetbrains.jps.javac.JavacRemoteProto.Message.Response, Builder> @@ -7421,13 +5102,13 @@ public final class JavacRemoteProto { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); responseType_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.Type.BUILD_MESSAGE; @@ -7442,15 +5123,15 @@ public final class JavacRemoteProto { bitField0_ = (bitField0_ & ~0x00000010); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response getDefaultInstanceForType() { return org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.getDefaultInstance(); } - + public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response build() { org.jetbrains.jps.javac.JavacRemoteProto.Message.Response result = buildPartial(); if (!result.isInitialized()) { @@ -7458,7 +5139,17 @@ public final class JavacRemoteProto { } return result; } - + + private org.jetbrains.jps.javac.JavacRemoteProto.Message.Response buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + org.jetbrains.jps.javac.JavacRemoteProto.Message.Response result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return result; + } + public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response buildPartial() { org.jetbrains.jps.javac.JavacRemoteProto.Message.Response result = new org.jetbrains.jps.javac.JavacRemoteProto.Message.Response(this); int from_bitField0_ = bitField0_; @@ -7486,7 +5177,7 @@ public final class JavacRemoteProto { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response other) { if (other == org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.getDefaultInstance()) return this; if (other.hasResponseType()) { @@ -7506,7 +5197,7 @@ public final class JavacRemoteProto { } return this; } - + public final boolean isInitialized() { if (!hasResponseType()) { @@ -7532,43 +5223,79 @@ public final class JavacRemoteProto { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.jetbrains.jps.javac.JavacRemoteProto.Message.Response parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.jetbrains.jps.javac.JavacRemoteProto.Message.Response) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + while (true) { + int tag = input.readTag(); + switch (tag) { + case 0: + + return this; + default: { + if (!parseUnknownField(input, extensionRegistry, tag)) { + + return this; + } + break; + } + case 8: { + int rawValue = input.readEnum(); + org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.Type value = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.Type.valueOf(rawValue); + if (value != null) { + bitField0_ |= 0x00000001; + responseType_ = value; + } + break; + } + case 18: { + org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Builder subBuilder = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.newBuilder(); + if (hasCompileMessage()) { + subBuilder.mergeFrom(getCompileMessage()); + } + input.readMessage(subBuilder, extensionRegistry); + setCompileMessage(subBuilder.buildPartial()); + break; + } + case 26: { + org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Builder subBuilder = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.newBuilder(); + if (hasOutputObject()) { + subBuilder.mergeFrom(getOutputObject()); + } + input.readMessage(subBuilder, extensionRegistry); + setOutputObject(subBuilder.buildPartial()); + break; + } + case 34: { + org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData.Builder subBuilder = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData.newBuilder(); + if (hasClassData()) { + subBuilder.mergeFrom(getClassData()); + } + input.readMessage(subBuilder, extensionRegistry); + setClassData(subBuilder.buildPartial()); + break; + } + case 40: { + bitField0_ |= 0x00000010; + completionStatus_ = input.readBool(); + break; + } } } - return this; } + private int bitField0_; - + // required .org.jetbrains.javac.Message.Response.Type response_type = 1; private org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.Type responseType_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.Type.BUILD_MESSAGE; - /** - * required .org.jetbrains.javac.Message.Response.Type response_type = 1; - */ public boolean hasResponseType() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required .org.jetbrains.javac.Message.Response.Type response_type = 1; - */ public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.Type getResponseType() { return responseType_; } - /** - * required .org.jetbrains.javac.Message.Response.Type response_type = 1; - */ public Builder setResponseType(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.Type value) { if (value == null) { throw new NullPointerException(); @@ -7578,55 +5305,37 @@ public final class JavacRemoteProto { return this; } - /** - * required .org.jetbrains.javac.Message.Response.Type response_type = 1; - */ public Builder clearResponseType() { bitField0_ = (bitField0_ & ~0x00000001); responseType_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.Type.BUILD_MESSAGE; return this; } - + // optional .org.jetbrains.javac.Message.Response.CompileMessage compile_message = 2; private org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage compileMessage_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.getDefaultInstance(); - /** - * optional .org.jetbrains.javac.Message.Response.CompileMessage compile_message = 2; - */ public boolean hasCompileMessage() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * optional .org.jetbrains.javac.Message.Response.CompileMessage compile_message = 2; - */ public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage getCompileMessage() { return compileMessage_; } - /** - * optional .org.jetbrains.javac.Message.Response.CompileMessage compile_message = 2; - */ public Builder setCompileMessage(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage value) { if (value == null) { throw new NullPointerException(); } compileMessage_ = value; - + bitField0_ |= 0x00000002; return this; } - /** - * optional .org.jetbrains.javac.Message.Response.CompileMessage compile_message = 2; - */ public Builder setCompileMessage( org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Builder builderForValue) { compileMessage_ = builderForValue.build(); - + bitField0_ |= 0x00000002; return this; } - /** - * optional .org.jetbrains.javac.Message.Response.CompileMessage compile_message = 2; - */ public Builder mergeCompileMessage(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage value) { if (((bitField0_ & 0x00000002) == 0x00000002) && compileMessage_ != org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.getDefaultInstance()) { @@ -7635,59 +5344,41 @@ public final class JavacRemoteProto { } else { compileMessage_ = value; } - + bitField0_ |= 0x00000002; return this; } - /** - * optional .org.jetbrains.javac.Message.Response.CompileMessage compile_message = 2; - */ public Builder clearCompileMessage() { compileMessage_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000002); return this; } - + // optional .org.jetbrains.javac.Message.Response.OutputObject output_object = 3; private org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject outputObject_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.getDefaultInstance(); - /** - * optional .org.jetbrains.javac.Message.Response.OutputObject output_object = 3; - */ public boolean hasOutputObject() { return ((bitField0_ & 0x00000004) == 0x00000004); } - /** - * optional .org.jetbrains.javac.Message.Response.OutputObject output_object = 3; - */ public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject getOutputObject() { return outputObject_; } - /** - * optional .org.jetbrains.javac.Message.Response.OutputObject output_object = 3; - */ public Builder setOutputObject(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject value) { if (value == null) { throw new NullPointerException(); } outputObject_ = value; - + bitField0_ |= 0x00000004; return this; } - /** - * optional .org.jetbrains.javac.Message.Response.OutputObject output_object = 3; - */ public Builder setOutputObject( org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Builder builderForValue) { outputObject_ = builderForValue.build(); - + bitField0_ |= 0x00000004; return this; } - /** - * optional .org.jetbrains.javac.Message.Response.OutputObject output_object = 3; - */ public Builder mergeOutputObject(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject value) { if (((bitField0_ & 0x00000004) == 0x00000004) && outputObject_ != org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.getDefaultInstance()) { @@ -7696,59 +5387,41 @@ public final class JavacRemoteProto { } else { outputObject_ = value; } - + bitField0_ |= 0x00000004; return this; } - /** - * optional .org.jetbrains.javac.Message.Response.OutputObject output_object = 3; - */ public Builder clearOutputObject() { outputObject_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000004); return this; } - + // optional .org.jetbrains.javac.Message.Response.ClassData class_data = 4; private org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData classData_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData.getDefaultInstance(); - /** - * optional .org.jetbrains.javac.Message.Response.ClassData class_data = 4; - */ public boolean hasClassData() { return ((bitField0_ & 0x00000008) == 0x00000008); } - /** - * optional .org.jetbrains.javac.Message.Response.ClassData class_data = 4; - */ public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData getClassData() { return classData_; } - /** - * optional .org.jetbrains.javac.Message.Response.ClassData class_data = 4; - */ public Builder setClassData(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData value) { if (value == null) { throw new NullPointerException(); } classData_ = value; - + bitField0_ |= 0x00000008; return this; } - /** - * optional .org.jetbrains.javac.Message.Response.ClassData class_data = 4; - */ public Builder setClassData( org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData.Builder builderForValue) { classData_ = builderForValue.build(); - + bitField0_ |= 0x00000008; return this; } - /** - * optional .org.jetbrains.javac.Message.Response.ClassData class_data = 4; - */ public Builder mergeClassData(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData value) { if (((bitField0_ & 0x00000008) == 0x00000008) && classData_ != org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData.getDefaultInstance()) { @@ -7757,145 +5430,100 @@ public final class JavacRemoteProto { } else { classData_ = value; } - + bitField0_ |= 0x00000008; return this; } - /** - * optional .org.jetbrains.javac.Message.Response.ClassData class_data = 4; - */ public Builder clearClassData() { classData_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000008); return this; } - + // optional bool completion_status = 5; private boolean completionStatus_ ; - /** - * optional bool completion_status = 5; - */ public boolean hasCompletionStatus() { return ((bitField0_ & 0x00000010) == 0x00000010); } - /** - * optional bool completion_status = 5; - */ public boolean getCompletionStatus() { return completionStatus_; } - /** - * optional bool completion_status = 5; - */ public Builder setCompletionStatus(boolean value) { bitField0_ |= 0x00000010; completionStatus_ = value; return this; } - /** - * optional bool completion_status = 5; - */ public Builder clearCompletionStatus() { bitField0_ = (bitField0_ & ~0x00000010); completionStatus_ = false; return this; } - + // @@protoc_insertion_point(builder_scope:org.jetbrains.javac.Message.Response) } - + static { defaultInstance = new Response(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:org.jetbrains.javac.Message.Response) } - + private int bitField0_; // required .org.jetbrains.javac.Message.UUID session_id = 1; public static final int SESSION_ID_FIELD_NUMBER = 1; private org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID sessionId_; - /** - * required .org.jetbrains.javac.Message.UUID session_id = 1; - */ public boolean hasSessionId() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required .org.jetbrains.javac.Message.UUID session_id = 1; - */ public org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID getSessionId() { return sessionId_; } - + // required .org.jetbrains.javac.Message.Type message_type = 2; public static final int MESSAGE_TYPE_FIELD_NUMBER = 2; private org.jetbrains.jps.javac.JavacRemoteProto.Message.Type messageType_; - /** - * required .org.jetbrains.javac.Message.Type message_type = 2; - */ public boolean hasMessageType() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * required .org.jetbrains.javac.Message.Type message_type = 2; - */ public org.jetbrains.jps.javac.JavacRemoteProto.Message.Type getMessageType() { return messageType_; } - + // optional .org.jetbrains.javac.Message.Request request = 3; public static final int REQUEST_FIELD_NUMBER = 3; private org.jetbrains.jps.javac.JavacRemoteProto.Message.Request request_; - /** - * optional .org.jetbrains.javac.Message.Request request = 3; - */ public boolean hasRequest() { return ((bitField0_ & 0x00000004) == 0x00000004); } - /** - * optional .org.jetbrains.javac.Message.Request request = 3; - */ public org.jetbrains.jps.javac.JavacRemoteProto.Message.Request getRequest() { return request_; } - + // optional .org.jetbrains.javac.Message.Response response = 4; public static final int RESPONSE_FIELD_NUMBER = 4; private org.jetbrains.jps.javac.JavacRemoteProto.Message.Response response_; - /** - * optional .org.jetbrains.javac.Message.Response response = 4; - */ public boolean hasResponse() { return ((bitField0_ & 0x00000008) == 0x00000008); } - /** - * optional .org.jetbrains.javac.Message.Response response = 4; - */ public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response getResponse() { return response_; } - + // optional .org.jetbrains.javac.Message.Failure failure = 5; public static final int FAILURE_FIELD_NUMBER = 5; private org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure failure_; - /** - * optional .org.jetbrains.javac.Message.Failure failure = 5; - */ public boolean hasFailure() { return ((bitField0_ & 0x00000010) == 0x00000010); } - /** - * optional .org.jetbrains.javac.Message.Failure failure = 5; - */ public org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure getFailure() { return failure_; } - + private void initFields() { sessionId_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID.getDefaultInstance(); messageType_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Type.REQUEST; @@ -7907,7 +5535,7 @@ public final class JavacRemoteProto { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasSessionId()) { memoizedIsInitialized = 0; return false; @@ -7935,7 +5563,7 @@ public final class JavacRemoteProto { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -7955,12 +5583,12 @@ public final class JavacRemoteProto { output.writeMessage(5, failure_); } } - + 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 @@ -7985,77 +5613,88 @@ public final class JavacRemoteProto { 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.jps.javac.JavacRemoteProto.Message parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + return newBuilder().mergeFrom(data).buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.javac.JavacRemoteProto.Message parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + Builder builder = newBuilder(); + if (builder.mergeDelimitedFrom(input, extensionRegistry)) { + return builder.buildParsed(); + } else { + return null; + } } public static org.jetbrains.jps.javac.JavacRemoteProto.Message parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return newBuilder().mergeFrom(input).buildParsed(); } public static org.jetbrains.jps.javac.JavacRemoteProto.Message parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.jetbrains.jps.javac.JavacRemoteProto.Message prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - - /** - * Protobuf type {@code org.jetbrains.javac.Message} - */ + public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.jetbrains.jps.javac.JavacRemoteProto.Message, Builder> @@ -8064,13 +5703,13 @@ public final class JavacRemoteProto { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); sessionId_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID.getDefaultInstance(); @@ -8085,15 +5724,15 @@ public final class JavacRemoteProto { bitField0_ = (bitField0_ & ~0x00000010); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public org.jetbrains.jps.javac.JavacRemoteProto.Message getDefaultInstanceForType() { return org.jetbrains.jps.javac.JavacRemoteProto.Message.getDefaultInstance(); } - + public org.jetbrains.jps.javac.JavacRemoteProto.Message build() { org.jetbrains.jps.javac.JavacRemoteProto.Message result = buildPartial(); if (!result.isInitialized()) { @@ -8101,7 +5740,17 @@ public final class JavacRemoteProto { } return result; } - + + private org.jetbrains.jps.javac.JavacRemoteProto.Message buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + org.jetbrains.jps.javac.JavacRemoteProto.Message result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return result; + } + public org.jetbrains.jps.javac.JavacRemoteProto.Message buildPartial() { org.jetbrains.jps.javac.JavacRemoteProto.Message result = new org.jetbrains.jps.javac.JavacRemoteProto.Message(this); int from_bitField0_ = bitField0_; @@ -8129,7 +5778,7 @@ public final class JavacRemoteProto { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(org.jetbrains.jps.javac.JavacRemoteProto.Message other) { if (other == org.jetbrains.jps.javac.JavacRemoteProto.Message.getDefaultInstance()) return this; if (other.hasSessionId()) { @@ -8149,7 +5798,7 @@ public final class JavacRemoteProto { } return this; } - + public final boolean isInitialized() { if (!hasSessionId()) { @@ -8177,65 +5826,99 @@ public final class JavacRemoteProto { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - org.jetbrains.jps.javac.JavacRemoteProto.Message parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.jetbrains.jps.javac.JavacRemoteProto.Message) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + while (true) { + int tag = input.readTag(); + switch (tag) { + case 0: + + return this; + default: { + if (!parseUnknownField(input, extensionRegistry, tag)) { + + return this; + } + break; + } + case 10: { + org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID.Builder subBuilder = org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID.newBuilder(); + if (hasSessionId()) { + subBuilder.mergeFrom(getSessionId()); + } + input.readMessage(subBuilder, extensionRegistry); + setSessionId(subBuilder.buildPartial()); + break; + } + case 16: { + int rawValue = input.readEnum(); + org.jetbrains.jps.javac.JavacRemoteProto.Message.Type value = org.jetbrains.jps.javac.JavacRemoteProto.Message.Type.valueOf(rawValue); + if (value != null) { + bitField0_ |= 0x00000002; + messageType_ = value; + } + break; + } + case 26: { + org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.Builder subBuilder = org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.newBuilder(); + if (hasRequest()) { + subBuilder.mergeFrom(getRequest()); + } + input.readMessage(subBuilder, extensionRegistry); + setRequest(subBuilder.buildPartial()); + break; + } + case 34: { + org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.Builder subBuilder = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.newBuilder(); + if (hasResponse()) { + subBuilder.mergeFrom(getResponse()); + } + input.readMessage(subBuilder, extensionRegistry); + setResponse(subBuilder.buildPartial()); + break; + } + case 42: { + org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure.Builder subBuilder = org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure.newBuilder(); + if (hasFailure()) { + subBuilder.mergeFrom(getFailure()); + } + input.readMessage(subBuilder, extensionRegistry); + setFailure(subBuilder.buildPartial()); + break; + } } } - return this; } + private int bitField0_; - + // required .org.jetbrains.javac.Message.UUID session_id = 1; private org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID sessionId_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID.getDefaultInstance(); - /** - * required .org.jetbrains.javac.Message.UUID session_id = 1; - */ public boolean hasSessionId() { return ((bitField0_ & 0x00000001) == 0x00000001); } - /** - * required .org.jetbrains.javac.Message.UUID session_id = 1; - */ public org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID getSessionId() { return sessionId_; } - /** - * required .org.jetbrains.javac.Message.UUID session_id = 1; - */ public Builder setSessionId(org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID value) { if (value == null) { throw new NullPointerException(); } sessionId_ = value; - + bitField0_ |= 0x00000001; return this; } - /** - * required .org.jetbrains.javac.Message.UUID session_id = 1; - */ public Builder setSessionId( org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID.Builder builderForValue) { sessionId_ = builderForValue.build(); - + bitField0_ |= 0x00000001; return this; } - /** - * required .org.jetbrains.javac.Message.UUID session_id = 1; - */ public Builder mergeSessionId(org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID value) { if (((bitField0_ & 0x00000001) == 0x00000001) && sessionId_ != org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID.getDefaultInstance()) { @@ -8244,37 +5927,25 @@ public final class JavacRemoteProto { } else { sessionId_ = value; } - + bitField0_ |= 0x00000001; return this; } - /** - * required .org.jetbrains.javac.Message.UUID session_id = 1; - */ public Builder clearSessionId() { sessionId_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000001); return this; } - + // required .org.jetbrains.javac.Message.Type message_type = 2; private org.jetbrains.jps.javac.JavacRemoteProto.Message.Type messageType_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Type.REQUEST; - /** - * required .org.jetbrains.javac.Message.Type message_type = 2; - */ public boolean hasMessageType() { return ((bitField0_ & 0x00000002) == 0x00000002); } - /** - * required .org.jetbrains.javac.Message.Type message_type = 2; - */ public org.jetbrains.jps.javac.JavacRemoteProto.Message.Type getMessageType() { return messageType_; } - /** - * required .org.jetbrains.javac.Message.Type message_type = 2; - */ public Builder setMessageType(org.jetbrains.jps.javac.JavacRemoteProto.Message.Type value) { if (value == null) { throw new NullPointerException(); @@ -8284,55 +5955,37 @@ public final class JavacRemoteProto { return this; } - /** - * required .org.jetbrains.javac.Message.Type message_type = 2; - */ public Builder clearMessageType() { bitField0_ = (bitField0_ & ~0x00000002); messageType_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Type.REQUEST; return this; } - + // optional .org.jetbrains.javac.Message.Request request = 3; private org.jetbrains.jps.javac.JavacRemoteProto.Message.Request request_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.getDefaultInstance(); - /** - * optional .org.jetbrains.javac.Message.Request request = 3; - */ public boolean hasRequest() { return ((bitField0_ & 0x00000004) == 0x00000004); } - /** - * optional .org.jetbrains.javac.Message.Request request = 3; - */ public org.jetbrains.jps.javac.JavacRemoteProto.Message.Request getRequest() { return request_; } - /** - * optional .org.jetbrains.javac.Message.Request request = 3; - */ public Builder setRequest(org.jetbrains.jps.javac.JavacRemoteProto.Message.Request value) { if (value == null) { throw new NullPointerException(); } request_ = value; - + bitField0_ |= 0x00000004; return this; } - /** - * optional .org.jetbrains.javac.Message.Request request = 3; - */ public Builder setRequest( org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.Builder builderForValue) { request_ = builderForValue.build(); - + bitField0_ |= 0x00000004; return this; } - /** - * optional .org.jetbrains.javac.Message.Request request = 3; - */ public Builder mergeRequest(org.jetbrains.jps.javac.JavacRemoteProto.Message.Request value) { if (((bitField0_ & 0x00000004) == 0x00000004) && request_ != org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.getDefaultInstance()) { @@ -8341,59 +5994,41 @@ public final class JavacRemoteProto { } else { request_ = value; } - + bitField0_ |= 0x00000004; return this; } - /** - * optional .org.jetbrains.javac.Message.Request request = 3; - */ public Builder clearRequest() { request_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000004); return this; } - + // optional .org.jetbrains.javac.Message.Response response = 4; private org.jetbrains.jps.javac.JavacRemoteProto.Message.Response response_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.getDefaultInstance(); - /** - * optional .org.jetbrains.javac.Message.Response response = 4; - */ public boolean hasResponse() { return ((bitField0_ & 0x00000008) == 0x00000008); } - /** - * optional .org.jetbrains.javac.Message.Response response = 4; - */ public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response getResponse() { return response_; } - /** - * optional .org.jetbrains.javac.Message.Response response = 4; - */ public Builder setResponse(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response value) { if (value == null) { throw new NullPointerException(); } response_ = value; - + bitField0_ |= 0x00000008; return this; } - /** - * optional .org.jetbrains.javac.Message.Response response = 4; - */ public Builder setResponse( org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.Builder builderForValue) { response_ = builderForValue.build(); - + bitField0_ |= 0x00000008; return this; } - /** - * optional .org.jetbrains.javac.Message.Response response = 4; - */ public Builder mergeResponse(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response value) { if (((bitField0_ & 0x00000008) == 0x00000008) && response_ != org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.getDefaultInstance()) { @@ -8402,59 +6037,41 @@ public final class JavacRemoteProto { } else { response_ = value; } - + bitField0_ |= 0x00000008; return this; } - /** - * optional .org.jetbrains.javac.Message.Response response = 4; - */ public Builder clearResponse() { response_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000008); return this; } - + // optional .org.jetbrains.javac.Message.Failure failure = 5; private org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure failure_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure.getDefaultInstance(); - /** - * optional .org.jetbrains.javac.Message.Failure failure = 5; - */ public boolean hasFailure() { return ((bitField0_ & 0x00000010) == 0x00000010); } - /** - * optional .org.jetbrains.javac.Message.Failure failure = 5; - */ public org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure getFailure() { return failure_; } - /** - * optional .org.jetbrains.javac.Message.Failure failure = 5; - */ public Builder setFailure(org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure value) { if (value == null) { throw new NullPointerException(); } failure_ = value; - + bitField0_ |= 0x00000010; return this; } - /** - * optional .org.jetbrains.javac.Message.Failure failure = 5; - */ public Builder setFailure( org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure.Builder builderForValue) { failure_ = builderForValue.build(); - + bitField0_ |= 0x00000010; return this; } - /** - * optional .org.jetbrains.javac.Message.Failure failure = 5; - */ public Builder mergeFailure(org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure value) { if (((bitField0_ & 0x00000010) == 0x00000010) && failure_ != org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure.getDefaultInstance()) { @@ -8463,34 +6080,31 @@ public final class JavacRemoteProto { } else { failure_ = value; } - + bitField0_ |= 0x00000010; return this; } - /** - * optional .org.jetbrains.javac.Message.Failure failure = 5; - */ public Builder clearFailure() { failure_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000010); return this; } - + // @@protoc_insertion_point(builder_scope:org.jetbrains.javac.Message) } - + static { defaultInstance = new Message(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:org.jetbrains.javac.Message) } - - + + static { } - + // @@protoc_insertion_point(outer_class_scope) } diff --git a/lib/protobuf-2.4.1.jar b/lib/protobuf-2.4.1.jar new file mode 100644 index 000000000000..20f7aa47d14c Binary files /dev/null and b/lib/protobuf-2.4.1.jar differ diff --git a/lib/protobuf-2.5.0.jar b/lib/protobuf-2.5.0.jar deleted file mode 100644 index a45bbbd5ac49..000000000000 Binary files a/lib/protobuf-2.5.0.jar and /dev/null differ diff --git a/lib/required_for_dist.txt b/lib/required_for_dist.txt index 2fa9a3cb0e8a..f6de4ecbd927 100644 --- a/lib/required_for_dist.txt +++ b/lib/required_for_dist.txt @@ -46,6 +46,6 @@ xpp3-1.1.4-min.jar xstream-1.4.3.jar swingx-core-1.6.2.jar netty-3.6.6.Final.jar -protobuf-2.5.0.jar +protobuf-2.4.1.jar rhino-js-1_7R4.jar proxy-vole_20120920.jar