diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml
index 6185c30ddacf..bf084f46f720 100644
--- a/.idea/jarRepositories.xml
+++ b/.idea/jarRepositories.xml
@@ -21,5 +21,10 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/analytics_protos.xml b/.idea/libraries/analytics_protos.xml
new file mode 100644
index 000000000000..9caf8b11d3de
--- /dev/null
+++ b/.idea/libraries/analytics_protos.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/archive_patcher.xml b/.idea/libraries/archive_patcher.xml
new file mode 100644
index 000000000000..e6e00cbc5e23
--- /dev/null
+++ b/.idea/libraries/archive_patcher.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/baksmali.xml b/.idea/libraries/baksmali.xml
new file mode 100644
index 000000000000..85627127198e
--- /dev/null
+++ b/.idea/libraries/baksmali.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/com_android_tools_analytics_library_shared_26_0_0.xml b/.idea/libraries/com_android_tools_analytics_library_shared_26_0_0.xml
new file mode 100644
index 000000000000..195e79790a02
--- /dev/null
+++ b/.idea/libraries/com_android_tools_analytics_library_shared_26_0_0.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/com_android_tools_analytics_library_tracker_26_0_0.xml b/.idea/libraries/com_android_tools_analytics_library_tracker_26_0_0.xml
new file mode 100644
index 000000000000..129d775b35e1
--- /dev/null
+++ b/.idea/libraries/com_android_tools_analytics_library_tracker_26_0_0.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/dexlib2.xml b/.idea/libraries/dexlib2.xml
index b38e3790e09d..e8044243b570 100644
--- a/.idea/libraries/dexlib2.xml
+++ b/.idea/libraries/dexlib2.xml
@@ -1,8 +1,7 @@
-
-
+
diff --git a/.idea/libraries/equalsverifier.xml b/.idea/libraries/equalsverifier.xml
new file mode 100644
index 000000000000..9bab63f7680f
--- /dev/null
+++ b/.idea/libraries/equalsverifier.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/fest_swing.xml b/.idea/libraries/fest_swing.xml
index 728ad922d14e..ca0d6a5343ea 100644
--- a/.idea/libraries/fest_swing.xml
+++ b/.idea/libraries/fest_swing.xml
@@ -1,8 +1,8 @@
-
+
-
+
diff --git a/.idea/libraries/google_analytics_library.xml b/.idea/libraries/google_analytics_library.xml
deleted file mode 100644
index 4065f2b9e542..000000000000
--- a/.idea/libraries/google_analytics_library.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/libraries/javax_inject_javax_inject_1.xml b/.idea/libraries/javax_inject_javax_inject_1.xml
new file mode 100644
index 000000000000..f100402636f2
--- /dev/null
+++ b/.idea/libraries/javax_inject_javax_inject_1.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/jogl_all.xml b/.idea/libraries/jogl_all.xml
deleted file mode 100644
index 2cecad77682d..000000000000
--- a/.idea/libraries/jogl_all.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/libraries/mockito_2.xml b/.idea/libraries/mockito_2.xml
new file mode 100644
index 000000000000..feafb8c41a7e
--- /dev/null
+++ b/.idea/libraries/mockito_2.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/protobuf.xml b/.idea/libraries/protobuf.xml
index 63f5ad6173d2..581a4b86597e 100644
--- a/.idea/libraries/protobuf.xml
+++ b/.idea/libraries/protobuf.xml
@@ -1,12 +1,12 @@
-
+
-
+
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 683af7c30b71..60dbb03229d3 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -17,9 +17,11 @@
+
-
+
+
@@ -33,12 +35,14 @@
-
+
+
+
@@ -76,6 +80,7 @@
+
@@ -102,6 +107,8 @@
+
+
@@ -145,6 +152,8 @@
+
+
@@ -182,6 +191,7 @@
+
@@ -210,19 +220,20 @@
+
-
+
@@ -275,6 +286,7 @@
+
@@ -325,6 +337,7 @@
+
diff --git a/build/dependencies/setupAndroidSdk.gradle b/build/dependencies/setupAndroidSdk.gradle
index 348288e1b667..2ffcd2af3f4d 100644
--- a/build/dependencies/setupAndroidSdk.gradle
+++ b/build/dependencies/setupAndroidSdk.gradle
@@ -32,14 +32,21 @@ import de.undercouch.gradle.tasks.download.Download
def currentOs = org.gradle.internal.os.OperatingSystem.current()
task downloadGradleDistribution(type: Download) {
- src "http://repo.labs.intellij.net/thirdparty/gradle/gradle-3.3-bin.zip"
- dest "$buildDir/android-sdk/tools/external/gradle/gradle-3.3-bin.zip"
+ src "http://repo.labs.intellij.net/thirdparty/gradle/gradle-4.1-bin.zip"
+ dest "$buildDir/android-sdk/tools/external/gradle/gradle-4.1-bin.zip"
+ onlyIfNewer true
+ onlyIf { inJetBrainsNetwork }
+}
+
+task downloadGradleDistribution2(type: Download) {
+ src "http://repo.labs.intellij.net/thirdparty/gradle/gradle-2.2.1-bin.zip"
+ dest "$buildDir/android-sdk/tools/external/gradle/gradle-2.2.1-bin.zip"
onlyIfNewer true
onlyIf { inJetBrainsNetwork }
}
task downloadOfflineRepo(type: Download) {
- src "http://repo.labs.intellij.net/thirdparty/android-sdk/offline_repo_repo_04.zip"
+ src "http://repo.labs.intellij.net/thirdparty/android-sdk/offline_repo_repo_3_0_03.zip"
dest "$buildDir/android-sdk/offline_repo_repo.zip"
onlyIfNewer true
onlyIf { inJetBrainsNetwork }
@@ -52,13 +59,13 @@ task setupOfflineRepo(dependsOn: downloadOfflineRepo, type: Copy) {
task downloadAndroidSdk(type: Download) {
def osFamily = currentOs.familyName
- src "http://repo.labs.intellij.net/thirdparty/android-sdk/${osFamily}.zip"
+ src "http://repo.labs.intellij.net/thirdparty/android-sdk/${osFamily}_3_0.zip"
dest "$buildDir/android-sdk/${osFamily}.zip"
onlyIfNewer true
onlyIf { !currentOs.isMacOsX() && inJetBrainsNetwork }
}
-task setupAndroidSdk(dependsOn: [downloadAndroidSdk, downloadGradleDistribution, setupOfflineRepo], type: Copy) {
+task setupAndroidSdk(dependsOn: [downloadAndroidSdk, downloadGradleDistribution, downloadGradleDistribution2, setupOfflineRepo], type: Copy) {
from zipTree(downloadAndroidSdk.outputs.files.singleFile)
into "$buildDir/android-sdk/prebuilts/studio/sdk"
onlyIf { !currentOs.isMacOsX() }
diff --git a/build/groovy/org/jetbrains/intellij/build/BaseIdeaProperties.groovy b/build/groovy/org/jetbrains/intellij/build/BaseIdeaProperties.groovy
index 6159e09ba92e..0c90f1890d56 100644
--- a/build/groovy/org/jetbrains/intellij/build/BaseIdeaProperties.groovy
+++ b/build/groovy/org/jetbrains/intellij/build/BaseIdeaProperties.groovy
@@ -42,7 +42,7 @@ abstract class BaseIdeaProperties extends ProductProperties {
"git4idea", "remote-servers-git", "remote-servers-git-java", "svn4idea", "hg4idea", "github", "cvs-plugin",
"jetgroovy", "junit", "testng", "xpath", "xslt-debugger", "android-plugin", "javaFX-CE",
"java-i18n", "ant", "ui-designer", "ByteCodeViewer", "coverage", "java-decompiler-plugin", "devkit", "eclipse",
- "IntelliLang", "IntelliLang-java", "IntelliLang-xml", "intellilang-jps-plugin", "stream-debugger"
+ "IntelliLang", "IntelliLang-java", "IntelliLang-xml", "intellilang-jps-plugin", "stream-debugger", "smali"
]
BaseIdeaProperties() {
diff --git a/build/lib/jps/aether-dependency-resolver.jar b/build/lib/jps/aether-dependency-resolver.jar
index 7e21c23ea191..f0c9354608b5 100644
Binary files a/build/lib/jps/aether-dependency-resolver.jar and b/build/lib/jps/aether-dependency-resolver.jar differ
diff --git a/build/lib/jps/antlayout.jar b/build/lib/jps/antlayout.jar
index bef7ea44b9d5..bbe5ec3782ae 100644
Binary files a/build/lib/jps/antlayout.jar and b/build/lib/jps/antlayout.jar differ
diff --git a/build/lib/jps/groovy-jps-plugin.jar b/build/lib/jps/groovy-jps-plugin.jar
index 25abd29d198c..f47b327c3259 100644
Binary files a/build/lib/jps/groovy-jps-plugin.jar and b/build/lib/jps/groovy-jps-plugin.jar differ
diff --git a/build/lib/jps/groovy-rt-constants.jar b/build/lib/jps/groovy-rt-constants.jar
index ab59de144bb7..456065c4b8b0 100644
Binary files a/build/lib/jps/groovy-rt-constants.jar and b/build/lib/jps/groovy-rt-constants.jar differ
diff --git a/build/lib/jps/groovy_rt.jar b/build/lib/jps/groovy_rt.jar
index 1f7cdcff864d..aa6c50726bd2 100644
Binary files a/build/lib/jps/groovy_rt.jar and b/build/lib/jps/groovy_rt.jar differ
diff --git a/build/lib/jps/jps-builders-6.jar b/build/lib/jps/jps-builders-6.jar
index d22a5d75d6a2..392a004914ee 100644
Binary files a/build/lib/jps/jps-builders-6.jar and b/build/lib/jps/jps-builders-6.jar differ
diff --git a/build/lib/jps/jps-builders.jar b/build/lib/jps/jps-builders.jar
index ccf5ae4b534a..bd076e23d728 100644
Binary files a/build/lib/jps/jps-builders.jar and b/build/lib/jps/jps-builders.jar differ
diff --git a/build/lib/jps/jps-model.jar b/build/lib/jps/jps-model.jar
index 2d2f82c09a3f..8d1c6f7ca979 100644
Binary files a/build/lib/jps/jps-model.jar and b/build/lib/jps/jps-model.jar differ
diff --git a/build/lib/jps/ui-designer-jps-plugin.jar b/build/lib/jps/ui-designer-jps-plugin.jar
index 2ead1d5cd095..8bae64289af1 100644
Binary files a/build/lib/jps/ui-designer-jps-plugin.jar and b/build/lib/jps/ui-designer-jps-plugin.jar differ
diff --git a/build/lib/jps/util.jar b/build/lib/jps/util.jar
index 3ce493984231..d0f0996bca2e 100644
Binary files a/build/lib/jps/util.jar and b/build/lib/jps/util.jar differ
diff --git a/community-main.iml b/community-main.iml
index 49e4c3bd95ed..ce6a0da2ea5d 100644
--- a/community-main.iml
+++ b/community-main.iml
@@ -5,11 +5,11 @@
-
+
-
+
@@ -26,7 +26,7 @@
-
+
@@ -44,7 +44,7 @@
-
+
@@ -59,7 +59,7 @@
-
+
@@ -77,7 +77,7 @@
-
+
@@ -95,7 +95,7 @@
-
+
@@ -109,7 +109,7 @@
-
+
diff --git a/java/testFramework/src/com/intellij/testFramework/fixtures/impl/JavaModuleFixtureBuilderImpl.java b/java/testFramework/src/com/intellij/testFramework/fixtures/impl/JavaModuleFixtureBuilderImpl.java
index 7d8cc2a72b5d..df61ce984ea5 100644
--- a/java/testFramework/src/com/intellij/testFramework/fixtures/impl/JavaModuleFixtureBuilderImpl.java
+++ b/java/testFramework/src/com/intellij/testFramework/fixtures/impl/JavaModuleFixtureBuilderImpl.java
@@ -40,7 +40,6 @@ import com.intellij.testFramework.fixtures.IdeaProjectTestFixture;
import com.intellij.testFramework.fixtures.ModuleFixture;
import com.intellij.testFramework.fixtures.TestFixtureBuilder;
import com.intellij.util.ArrayUtil;
-import com.intellij.util.Consumer;
import org.jetbrains.annotations.NonNls;
import java.io.File;
@@ -52,7 +51,7 @@ import java.util.Map;
/**
* @author mike
*/
-abstract class JavaModuleFixtureBuilderImpl extends ModuleFixtureBuilderImpl implements JavaModuleFixtureBuilder {
+public abstract class JavaModuleFixtureBuilderImpl extends ModuleFixtureBuilderImpl implements JavaModuleFixtureBuilder {
private final List myLibraries = new ArrayList<>();
private String myJdk;
private MockJdkLevel myMockJdkLevel = MockJdkLevel.jdk14;
diff --git a/jps/jps-builders-6/src/org/jetbrains/jps/javac/JavacRemoteProto.java b/jps/jps-builders-6/src/org/jetbrains/jps/javac/JavacRemoteProto.java
index 3f318f2aa6eb..a14f3d4e5e64 100644
--- a/jps/jps-builders-6/src/org/jetbrains/jps/javac/JavacRemoteProto.java
+++ b/jps/jps-builders-6/src/org/jetbrains/jps/javac/JavacRemoteProto.java
@@ -1,19 +1,3 @@
-/*
- * Copyright 2000-2016 JetBrains s.r.o.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: javac_remote_proto.proto
@@ -24,10 +8,10 @@ public final class JavacRemoteProto {
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
- public interface MessageOrBuilder
- extends com.google.protobuf.MessageLiteOrBuilder {
+ public interface MessageOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:org.jetbrains.javac.Message)
+ com.google.protobuf.MessageLiteOrBuilder {
- // required .org.jetbrains.javac.Message.UUID session_id = 1;
/**
* required .org.jetbrains.javac.Message.UUID session_id = 1;
*/
@@ -37,7 +21,6 @@ public final class JavacRemoteProto {
*/
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;
*/
@@ -47,7 +30,6 @@ public final class JavacRemoteProto {
*/
org.jetbrains.jps.javac.JavacRemoteProto.Message.Type getMessageType();
- // optional .org.jetbrains.javac.Message.Request request = 3;
/**
* optional .org.jetbrains.javac.Message.Request request = 3;
*/
@@ -57,7 +39,6 @@ public final class JavacRemoteProto {
*/
org.jetbrains.jps.javac.JavacRemoteProto.Message.Request getRequest();
- // optional .org.jetbrains.javac.Message.Response response = 4;
/**
* optional .org.jetbrains.javac.Message.Response response = 4;
*/
@@ -67,7 +48,6 @@ public final class JavacRemoteProto {
*/
org.jetbrains.jps.javac.JavacRemoteProto.Message.Response getResponse();
- // optional .org.jetbrains.javac.Message.Failure failure = 5;
/**
* optional .org.jetbrains.javac.Message.Failure failure = 5;
*/
@@ -80,133 +60,14 @@ public final class JavacRemoteProto {
/**
* 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) {
- super(builder);
-
+ public static final class Message extends
+ com.google.protobuf.GeneratedMessageLite<
+ Message, Message.Builder> implements
+ // @@protoc_insertion_point(message_implements:org.jetbrains.javac.Message)
+ MessageOrBuilder {
+ private Message() {
+ messageType_ = 1;
}
- 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}
*/
@@ -215,15 +76,15 @@ public final class JavacRemoteProto {
/**
* REQUEST = 1;
*/
- REQUEST(0, 1),
+ REQUEST(1),
/**
* RESPONSE = 2;
*/
- RESPONSE(1, 2),
+ RESPONSE(2),
/**
* FAILURE = 3;
*/
- FAILURE(2, 3),
+ FAILURE(3),
;
/**
@@ -240,9 +101,19 @@ public final class JavacRemoteProto {
public static final int FAILURE_VALUE = 3;
- public final int getNumber() { return value; }
+ public final int getNumber() {
+ return value;
+ }
+ /**
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
public static Type valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static Type forNumber(int value) {
switch (value) {
case 1: return REQUEST;
case 2: return RESPONSE;
@@ -255,27 +126,27 @@ public final class JavacRemoteProto {
internalGetValueMap() {
return internalValueMap;
}
- private static com.google.protobuf.Internal.EnumLiteMap
- internalValueMap =
+ private static final com.google.protobuf.Internal.EnumLiteMap<
+ Type> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Type findValueByNumber(int number) {
- return Type.valueOf(number);
+ return Type.forNumber(number);
}
};
private final int value;
- private Type(int index, int value) {
+ private Type(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org.jetbrains.javac.Message.Type)
}
- public interface UUIDOrBuilder
- extends com.google.protobuf.MessageLiteOrBuilder {
+ public interface UUIDOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:org.jetbrains.javac.Message.UUID)
+ com.google.protobuf.MessageLiteOrBuilder {
- // required sint64 most_sig_bits = 1;
/**
* required sint64 most_sig_bits = 1;
*/
@@ -285,7 +156,6 @@ public final class JavacRemoteProto {
*/
long getMostSigBits();
- // required sint64 least_sig_bits = 2;
/**
* required sint64 least_sig_bits = 2;
*/
@@ -298,84 +168,14 @@ public final class JavacRemoteProto {
/**
* 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) {
- super(builder);
-
+ public static final class UUID extends
+ com.google.protobuf.GeneratedMessageLite<
+ UUID, UUID.Builder> implements
+ // @@protoc_insertion_point(message_implements:org.jetbrains.javac.Message.UUID)
+ UUIDOrBuilder {
+ private UUID() {
}
- 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_;
/**
@@ -390,8 +190,21 @@ public final class JavacRemoteProto {
public long getMostSigBits() {
return mostSigBits_;
}
+ /**
+ * required sint64 most_sig_bits = 1;
+ */
+ private void setMostSigBits(long value) {
+ bitField0_ |= 0x00000001;
+ mostSigBits_ = value;
+ }
+ /**
+ * required sint64 most_sig_bits = 1;
+ */
+ private void clearMostSigBits() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ mostSigBits_ = 0L;
+ }
- // required sint64 least_sig_bits = 2;
public static final int LEAST_SIG_BITS_FIELD_NUMBER = 2;
private long leastSigBits_;
/**
@@ -406,40 +219,32 @@ public final class JavacRemoteProto {
public long getLeastSigBits() {
return leastSigBits_;
}
-
- private void initFields() {
- mostSigBits_ = 0L;
- leastSigBits_ = 0L;
+ /**
+ * required sint64 least_sig_bits = 2;
+ */
+ private void setLeastSigBits(long value) {
+ bitField0_ |= 0x00000002;
+ leastSigBits_ = value;
}
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasMostSigBits()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasLeastSigBits()) {
- memoizedIsInitialized = 0;
- return false;
- }
- memoizedIsInitialized = 1;
- return true;
+ /**
+ * required sint64 least_sig_bits = 2;
+ */
+ private void clearLeastSigBits() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ leastSigBits_ = 0L;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeSInt64(1, mostSigBits_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeSInt64(2, leastSigBits_);
}
+ unknownFields.writeTo(output);
}
- private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
@@ -453,259 +258,283 @@ public final class JavacRemoteProto {
size += com.google.protobuf.CodedOutputStream
.computeSInt64Size(2, leastSigBits_);
}
+ size += unknownFields.getSerializedSize();
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
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);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
public static Builder newBuilder(org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID prototype) {
- return newBuilder().mergeFrom(prototype);
+ return DEFAULT_INSTANCE.toBuilder().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>
- implements org.jetbrains.jps.javac.JavacRemoteProto.Message.UUIDOrBuilder {
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID, Builder> implements
+ // @@protoc_insertion_point(builder_implements:org.jetbrains.javac.Message.UUID)
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.UUIDOrBuilder {
// Construct using org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID.newBuilder()
private Builder() {
- maybeForceBuilderInitialization();
+ super(DEFAULT_INSTANCE);
}
- private void maybeForceBuilderInitialization() {
- }
- private static Builder create() {
- return new Builder();
- }
- public Builder clear() {
- super.clear();
- mostSigBits_ = 0L;
- bitField0_ = (bitField0_ & ~0x00000001);
- leastSigBits_ = 0L;
- 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()) {
- throw Builder.newUninitializedMessageException(result);
- }
- 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_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.mostSigBits_ = mostSigBits_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- result.leastSigBits_ = leastSigBits_;
- 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()) {
- setMostSigBits(other.getMostSigBits());
- }
- if (other.hasLeastSigBits()) {
- setLeastSigBits(other.getLeastSigBits());
- }
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasMostSigBits()) {
-
- return false;
- }
- if (!hasLeastSigBits()) {
-
- 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.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);
- }
- }
- 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);
+ return instance.hasMostSigBits();
}
/**
* required sint64 most_sig_bits = 1;
*/
public long getMostSigBits() {
- return mostSigBits_;
+ return instance.getMostSigBits();
}
/**
* required sint64 most_sig_bits = 1;
*/
public Builder setMostSigBits(long value) {
- bitField0_ |= 0x00000001;
- mostSigBits_ = value;
-
+ copyOnWrite();
+ instance.setMostSigBits(value);
return this;
}
/**
* required sint64 most_sig_bits = 1;
*/
public Builder clearMostSigBits() {
- bitField0_ = (bitField0_ & ~0x00000001);
- mostSigBits_ = 0L;
-
+ copyOnWrite();
+ instance.clearMostSigBits();
return this;
}
- // required sint64 least_sig_bits = 2;
- private long leastSigBits_ ;
/**
* required sint64 least_sig_bits = 2;
*/
public boolean hasLeastSigBits() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return instance.hasLeastSigBits();
}
/**
* required sint64 least_sig_bits = 2;
*/
public long getLeastSigBits() {
- return leastSigBits_;
+ return instance.getLeastSigBits();
}
/**
* required sint64 least_sig_bits = 2;
*/
public Builder setLeastSigBits(long value) {
- bitField0_ |= 0x00000002;
- leastSigBits_ = value;
-
+ copyOnWrite();
+ instance.setLeastSigBits(value);
return this;
}
/**
* required sint64 least_sig_bits = 2;
*/
public Builder clearLeastSigBits() {
- bitField0_ = (bitField0_ & ~0x00000002);
- leastSigBits_ = 0L;
-
+ copyOnWrite();
+ instance.clearLeastSigBits();
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.javac.Message.UUID)
}
+ private byte memoizedIsInitialized = -1;
+ protected final Object dynamicMethod(
+ com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
+ Object arg0, Object arg1) {
+ switch (method) {
+ case NEW_MUTABLE_INSTANCE: {
+ return new org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID();
+ }
+ case IS_INITIALIZED: {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return DEFAULT_INSTANCE;
+ if (isInitialized == 0) return null;
- static {
- defaultInstance = new UUID(true);
- defaultInstance.initFields();
+ boolean shouldMemoize = ((Boolean) arg0).booleanValue();
+ if (!hasMostSigBits()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ if (!hasLeastSigBits()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ if (shouldMemoize) memoizedIsInitialized = 1;
+ return DEFAULT_INSTANCE;
+
+ }
+ case MAKE_IMMUTABLE: {
+ return null;
+ }
+ case NEW_BUILDER: {
+ return new Builder();
+ }
+ case VISIT: {
+ Visitor visitor = (Visitor) arg0;
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID other = (org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID) arg1;
+ mostSigBits_ = visitor.visitLong(
+ hasMostSigBits(), mostSigBits_,
+ other.hasMostSigBits(), other.mostSigBits_);
+ leastSigBits_ = visitor.visitLong(
+ hasLeastSigBits(), leastSigBits_,
+ other.hasLeastSigBits(), other.leastSigBits_);
+ if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor
+ .INSTANCE) {
+ bitField0_ |= other.bitField0_;
+ }
+ return this;
+ }
+ case MERGE_FROM_STREAM: {
+ com.google.protobuf.CodedInputStream input =
+ (com.google.protobuf.CodedInputStream) arg0;
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry =
+ (com.google.protobuf.ExtensionRegistryLite) arg1;
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(tag, input)) {
+ 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 new RuntimeException(e.setUnfinishedMessage(this));
+ } catch (java.io.IOException e) {
+ throw new RuntimeException(
+ new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this));
+ } finally {
+ }
+ }
+ case GET_DEFAULT_INSTANCE: {
+ return DEFAULT_INSTANCE;
+ }
+ case GET_PARSER: {
+ if (PARSER == null) { synchronized (org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID.class) {
+ if (PARSER == null) {
+ PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE);
+ }
+ }
+ }
+ return PARSER;
+ }
+ }
+ throw new UnsupportedOperationException();
}
+
// @@protoc_insertion_point(class_scope:org.jetbrains.javac.Message.UUID)
+ private static final org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new UUID();
+ DEFAULT_INSTANCE.makeImmutable();
+ }
+
+ public static org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static volatile com.google.protobuf.Parser PARSER;
+
+ public static com.google.protobuf.Parser parser() {
+ return DEFAULT_INSTANCE.getParserForType();
+ }
}
- public interface FailureOrBuilder
- extends com.google.protobuf.MessageLiteOrBuilder {
+ public interface FailureOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:org.jetbrains.javac.Message.Failure)
+ com.google.protobuf.MessageLiteOrBuilder {
- // optional int32 error_code = 1;
/**
* optional int32 error_code = 1;
*/
@@ -715,7 +544,6 @@ public final class JavacRemoteProto {
*/
int getErrorCode();
- // optional string description = 2;
/**
* optional string description = 2;
*/
@@ -730,7 +558,6 @@ public final class JavacRemoteProto {
com.google.protobuf.ByteString
getDescriptionBytes();
- // optional string stacktrace = 3;
/**
* optional string stacktrace = 3;
*/
@@ -748,89 +575,16 @@ public final class JavacRemoteProto {
/**
* 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) {
- super(builder);
-
+ public static final class Failure extends
+ com.google.protobuf.GeneratedMessageLite<
+ Failure, Failure.Builder> implements
+ // @@protoc_insertion_point(message_implements:org.jetbrains.javac.Message.Failure)
+ FailureOrBuilder {
+ private Failure() {
+ description_ = "";
+ stacktrace_ = "";
}
- 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,
- 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;
- errorCode_ = input.readInt32();
- break;
- }
- case 18: {
- bitField0_ |= 0x00000002;
- description_ = input.readBytes();
- break;
- }
- case 26: {
- bitField0_ |= 0x00000004;
- stacktrace_ = 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 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_;
/**
@@ -845,10 +599,23 @@ public final class JavacRemoteProto {
public int getErrorCode() {
return errorCode_;
}
+ /**
+ * optional int32 error_code = 1;
+ */
+ private void setErrorCode(int value) {
+ bitField0_ |= 0x00000001;
+ errorCode_ = value;
+ }
+ /**
+ * optional int32 error_code = 1;
+ */
+ private void clearErrorCode() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ errorCode_ = 0;
+ }
- // optional string description = 2;
public static final int DESCRIPTION_FIELD_NUMBER = 2;
- private java.lang.Object description_;
+ private java.lang.String description_;
/**
* optional string description = 2;
*/
@@ -859,39 +626,47 @@ public final class JavacRemoteProto {
* 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;
- }
+ return description_;
}
/**
* 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;
- }
+ return com.google.protobuf.ByteString.copyFromUtf8(description_);
+ }
+ /**
+ * optional string description = 2;
+ */
+ private void setDescription(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
+ description_ = value;
+ }
+ /**
+ * optional string description = 2;
+ */
+ private void clearDescription() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ description_ = getDefaultInstance().getDescription();
+ }
+ /**
+ * optional string description = 2;
+ */
+ private void setDescriptionBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
+ description_ = value.toStringUtf8();
}
- // optional string stacktrace = 3;
public static final int STACKTRACE_FIELD_NUMBER = 3;
- private java.lang.Object stacktrace_;
+ private java.lang.String stacktrace_;
/**
* optional string stacktrace = 3;
*/
@@ -902,65 +677,59 @@ public final class JavacRemoteProto {
* 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;
- }
+ return stacktrace_;
}
/**
* 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;
- }
+ return com.google.protobuf.ByteString.copyFromUtf8(stacktrace_);
}
-
- private void initFields() {
- errorCode_ = 0;
- description_ = "";
- stacktrace_ = "";
+ /**
+ * optional string stacktrace = 3;
+ */
+ private void setStacktrace(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
+ stacktrace_ = value;
}
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- memoizedIsInitialized = 1;
- return true;
+ /**
+ * optional string stacktrace = 3;
+ */
+ private void clearStacktrace() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ stacktrace_ = getDefaultInstance().getStacktrace();
+ }
+ /**
+ * optional string stacktrace = 3;
+ */
+ private void setStacktraceBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
+ stacktrace_ = value.toStringUtf8();
}
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());
+ output.writeString(2, getDescription());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeBytes(3, getStacktraceBytes());
+ output.writeString(3, getStacktrace());
}
+ unknownFields.writeTo(output);
}
- private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
@@ -972,280 +741,162 @@ public final class JavacRemoteProto {
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(2, getDescriptionBytes());
+ .computeStringSize(2, getDescription());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(3, getStacktraceBytes());
+ .computeStringSize(3, getStacktrace());
}
+ size += unknownFields.getSerializedSize();
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);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, 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);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, 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);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, 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);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, 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);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, 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);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, 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);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
public static Builder newBuilder(org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure prototype) {
- return newBuilder().mergeFrom(prototype);
+ return DEFAULT_INSTANCE.toBuilder().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 {
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure, Builder> implements
+ // @@protoc_insertion_point(builder_implements:org.jetbrains.javac.Message.Failure)
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.FailureOrBuilder {
// Construct using org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure.newBuilder()
private Builder() {
- maybeForceBuilderInitialization();
+ super(DEFAULT_INSTANCE);
}
- 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 Builder.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);
+ return instance.hasErrorCode();
}
/**
* optional int32 error_code = 1;
*/
public int getErrorCode() {
- return errorCode_;
+ return instance.getErrorCode();
}
/**
* optional int32 error_code = 1;
*/
public Builder setErrorCode(int value) {
- bitField0_ |= 0x00000001;
- errorCode_ = value;
-
+ copyOnWrite();
+ instance.setErrorCode(value);
return this;
}
/**
* optional int32 error_code = 1;
*/
public Builder clearErrorCode() {
- bitField0_ = (bitField0_ & ~0x00000001);
- errorCode_ = 0;
-
+ copyOnWrite();
+ instance.clearErrorCode();
return this;
}
- // optional string description = 2;
- private java.lang.Object description_ = "";
/**
* optional string description = 2;
*/
public boolean hasDescription() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return instance.hasDescription();
}
/**
* optional string description = 2;
*/
public java.lang.String getDescription() {
- java.lang.Object ref = description_;
- if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- description_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
+ return instance.getDescription();
}
/**
* 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;
- }
+ return instance.getDescriptionBytes();
}
/**
* optional string description = 2;
*/
public Builder setDescription(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- description_ = value;
-
+ copyOnWrite();
+ instance.setDescription(value);
return this;
}
/**
* optional string description = 2;
*/
public Builder clearDescription() {
- bitField0_ = (bitField0_ & ~0x00000002);
- description_ = getDefaultInstance().getDescription();
-
+ copyOnWrite();
+ instance.clearDescription();
return this;
}
/**
@@ -1253,73 +904,45 @@ public final class JavacRemoteProto {
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- description_ = value;
-
+ copyOnWrite();
+ instance.setDescriptionBytes(value);
return this;
}
- // optional string stacktrace = 3;
- private java.lang.Object stacktrace_ = "";
/**
* optional string stacktrace = 3;
*/
public boolean hasStacktrace() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return instance.hasStacktrace();
}
/**
* optional string stacktrace = 3;
*/
public java.lang.String getStacktrace() {
- java.lang.Object ref = stacktrace_;
- if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- stacktrace_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
+ return instance.getStacktrace();
}
/**
* 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;
- }
+ return instance.getStacktraceBytes();
}
/**
* optional string stacktrace = 3;
*/
public Builder setStacktrace(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000004;
- stacktrace_ = value;
-
+ copyOnWrite();
+ instance.setStacktrace(value);
return this;
}
/**
* optional string stacktrace = 3;
*/
public Builder clearStacktrace() {
- bitField0_ = (bitField0_ & ~0x00000004);
- stacktrace_ = getDefaultInstance().getStacktrace();
-
+ copyOnWrite();
+ instance.clearStacktrace();
return this;
}
/**
@@ -1327,30 +950,133 @@ public final class JavacRemoteProto {
*/
public Builder setStacktraceBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000004;
- stacktrace_ = value;
-
+ copyOnWrite();
+ instance.setStacktraceBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.javac.Message.Failure)
}
-
- static {
- defaultInstance = new Failure(true);
- defaultInstance.initFields();
+ protected final Object dynamicMethod(
+ com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
+ Object arg0, Object arg1) {
+ switch (method) {
+ case NEW_MUTABLE_INSTANCE: {
+ return new org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure();
+ }
+ case IS_INITIALIZED: {
+ return DEFAULT_INSTANCE;
+ }
+ case MAKE_IMMUTABLE: {
+ return null;
+ }
+ case NEW_BUILDER: {
+ return new Builder();
+ }
+ case VISIT: {
+ Visitor visitor = (Visitor) arg0;
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure other = (org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure) arg1;
+ errorCode_ = visitor.visitInt(
+ hasErrorCode(), errorCode_,
+ other.hasErrorCode(), other.errorCode_);
+ description_ = visitor.visitString(
+ hasDescription(), description_,
+ other.hasDescription(), other.description_);
+ stacktrace_ = visitor.visitString(
+ hasStacktrace(), stacktrace_,
+ other.hasStacktrace(), other.stacktrace_);
+ if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor
+ .INSTANCE) {
+ bitField0_ |= other.bitField0_;
+ }
+ return this;
+ }
+ case MERGE_FROM_STREAM: {
+ com.google.protobuf.CodedInputStream input =
+ (com.google.protobuf.CodedInputStream) arg0;
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry =
+ (com.google.protobuf.ExtensionRegistryLite) arg1;
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(tag, input)) {
+ done = true;
+ }
+ break;
+ }
+ case 8: {
+ bitField0_ |= 0x00000001;
+ errorCode_ = input.readInt32();
+ break;
+ }
+ case 18: {
+ String s = input.readString();
+ bitField0_ |= 0x00000002;
+ description_ = s;
+ break;
+ }
+ case 26: {
+ String s = input.readString();
+ bitField0_ |= 0x00000004;
+ stacktrace_ = s;
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw new RuntimeException(e.setUnfinishedMessage(this));
+ } catch (java.io.IOException e) {
+ throw new RuntimeException(
+ new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this));
+ } finally {
+ }
+ }
+ case GET_DEFAULT_INSTANCE: {
+ return DEFAULT_INSTANCE;
+ }
+ case GET_PARSER: {
+ if (PARSER == null) { synchronized (org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure.class) {
+ if (PARSER == null) {
+ PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE);
+ }
+ }
+ }
+ return PARSER;
+ }
+ }
+ throw new UnsupportedOperationException();
}
+
// @@protoc_insertion_point(class_scope:org.jetbrains.javac.Message.Failure)
+ private static final org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new Failure();
+ DEFAULT_INSTANCE.makeImmutable();
+ }
+
+ public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static volatile com.google.protobuf.Parser PARSER;
+
+ public static com.google.protobuf.Parser parser() {
+ return DEFAULT_INSTANCE.getParserForType();
+ }
}
- public interface RequestOrBuilder
- extends com.google.protobuf.MessageLiteOrBuilder {
+ public interface RequestOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:org.jetbrains.javac.Message.Request)
+ com.google.protobuf.MessageLiteOrBuilder {
- // required .org.jetbrains.javac.Message.Request.Type request_type = 1;
/**
* required .org.jetbrains.javac.Message.Request.Type request_type = 1;
*/
@@ -1360,12 +1086,11 @@ public final class JavacRemoteProto {
*/
org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.Type getRequestType();
- // repeated string option = 2;
/**
* repeated string option = 2;
*/
- java.util.List
- getOptionList();
+ java.util.List
+ getOptionList();
/**
* repeated string option = 2;
*/
@@ -1380,12 +1105,11 @@ public final class JavacRemoteProto {
com.google.protobuf.ByteString
getOptionBytes(int index);
- // repeated string file = 3;
/**
* repeated string file = 3;
*/
- java.util.List
- getFileList();
+ java.util.List
+ getFileList();
/**
* repeated string file = 3;
*/
@@ -1400,12 +1124,11 @@ public final class JavacRemoteProto {
com.google.protobuf.ByteString
getFileBytes(int index);
- // repeated string platform_classpath = 4;
/**
* repeated string platform_classpath = 4;
*/
- java.util.List
- getPlatformClasspathList();
+ java.util.List
+ getPlatformClasspathList();
/**
* repeated string platform_classpath = 4;
*/
@@ -1420,12 +1143,11 @@ public final class JavacRemoteProto {
com.google.protobuf.ByteString
getPlatformClasspathBytes(int index);
- // repeated string classpath = 5;
/**
* repeated string classpath = 5;
*/
- java.util.List
- getClasspathList();
+ java.util.List
+ getClasspathList();
/**
* repeated string classpath = 5;
*/
@@ -1440,12 +1162,11 @@ public final class JavacRemoteProto {
com.google.protobuf.ByteString
getClasspathBytes(int index);
- // repeated string sourcepath = 6;
/**
* repeated string sourcepath = 6;
*/
- java.util.List
- getSourcepathList();
+ java.util.List
+ getSourcepathList();
/**
* repeated string sourcepath = 6;
*/
@@ -1460,7 +1181,6 @@ public final class JavacRemoteProto {
com.google.protobuf.ByteString
getSourcepathBytes(int index);
- // repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7;
/**
* repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7;
*/
@@ -1475,12 +1195,11 @@ public final class JavacRemoteProto {
*/
int getOutputCount();
- // repeated string module_path = 8;
/**
* repeated string module_path = 8;
*/
- java.util.List
- getModulePathList();
+ java.util.List
+ getModulePathList();
/**
* repeated string module_path = 8;
*/
@@ -1498,158 +1217,21 @@ public final class JavacRemoteProto {
/**
* 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) {
- super(builder);
-
+ public static final class Request extends
+ com.google.protobuf.GeneratedMessageLite<
+ Request, Request.Builder> implements
+ // @@protoc_insertion_point(message_implements:org.jetbrains.javac.Message.Request)
+ RequestOrBuilder {
+ private Request() {
+ requestType_ = 1;
+ option_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
+ file_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
+ platformClasspath_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
+ classpath_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
+ sourcepath_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
+ output_ = emptyProtobufList();
+ modulePath_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
- 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;
- }
- case 66: {
- if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
- modulePath_ = new com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00000080;
- }
- modulePath_.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)) {
- 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_);
- }
- if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
- modulePath_ = new com.google.protobuf.UnmodifiableLazyStringList(modulePath_);
- }
- 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}
*/
@@ -1658,15 +1240,15 @@ public final class JavacRemoteProto {
/**
* COMPILE = 1;
*/
- COMPILE(0, 1),
+ COMPILE(1),
/**
* CANCEL = 2;
*/
- CANCEL(1, 2),
+ CANCEL(2),
/**
* SHUTDOWN = 3;
*/
- SHUTDOWN(2, 3),
+ SHUTDOWN(3),
;
/**
@@ -1683,9 +1265,19 @@ public final class JavacRemoteProto {
public static final int SHUTDOWN_VALUE = 3;
- public final int getNumber() { return value; }
+ public final int getNumber() {
+ return value;
+ }
+ /**
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
public static Type valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static Type forNumber(int value) {
switch (value) {
case 1: return COMPILE;
case 2: return CANCEL;
@@ -1698,27 +1290,27 @@ public final class JavacRemoteProto {
internalGetValueMap() {
return internalValueMap;
}
- private static com.google.protobuf.Internal.EnumLiteMap
- internalValueMap =
+ private static final com.google.protobuf.Internal.EnumLiteMap<
+ Type> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Type findValueByNumber(int number) {
- return Type.valueOf(number);
+ return Type.forNumber(number);
}
};
private final int value;
- private Type(int index, int value) {
+ private Type(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org.jetbrains.javac.Message.Request.Type)
}
- public interface OutputGroupOrBuilder
- extends com.google.protobuf.MessageLiteOrBuilder {
+ public interface OutputGroupOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:org.jetbrains.javac.Message.Request.OutputGroup)
+ com.google.protobuf.MessageLiteOrBuilder {
- // required string output_root = 1;
/**
* required string output_root = 1;
*/
@@ -1733,12 +1325,11 @@ public final class JavacRemoteProto {
com.google.protobuf.ByteString
getOutputRootBytes();
- // repeated string source_root = 2;
/**
* repeated string source_root = 2;
*/
- java.util.List
- getSourceRootList();
+ java.util.List
+ getSourceRootList();
/**
* repeated string source_root = 2;
*/
@@ -1756,92 +1347,18 @@ public final class JavacRemoteProto {
/**
* 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) {
- super(builder);
-
+ public static final class OutputGroup extends
+ com.google.protobuf.GeneratedMessageLite<
+ OutputGroup, OutputGroup.Builder> implements
+ // @@protoc_insertion_point(message_implements:org.jetbrains.javac.Message.Request.OutputGroup)
+ OutputGroupOrBuilder {
+ private OutputGroup() {
+ outputRoot_ = "";
+ sourceRoot_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
- 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_;
+ private java.lang.String outputRoot_;
/**
* required string output_root = 1;
*/
@@ -1852,44 +1369,51 @@ public final class JavacRemoteProto {
* required string output_root = 1;
*/
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;
- }
+ return outputRoot_;
}
/**
* required string output_root = 1;
*/
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;
- }
+ return com.google.protobuf.ByteString.copyFromUtf8(outputRoot_);
+ }
+ /**
+ * required string output_root = 1;
+ */
+ private void setOutputRoot(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ outputRoot_ = value;
+ }
+ /**
+ * required string output_root = 1;
+ */
+ private void clearOutputRoot() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ outputRoot_ = getDefaultInstance().getOutputRoot();
+ }
+ /**
+ * required string output_root = 1;
+ */
+ private void setOutputRootBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ outputRoot_ = value.toStringUtf8();
}
- // repeated string source_root = 2;
public static final int SOURCE_ROOT_FIELD_NUMBER = 2;
- private com.google.protobuf.LazyStringList sourceRoot_;
+ private com.google.protobuf.Internal.ProtobufList sourceRoot_;
/**
* repeated string source_root = 2;
*/
- public java.util.List
- getSourceRootList() {
+ public java.util.List getSourceRootList() {
return sourceRoot_;
}
/**
@@ -1909,38 +1433,75 @@ public final class JavacRemoteProto {
*/
public com.google.protobuf.ByteString
getSourceRootBytes(int index) {
- return sourceRoot_.getByteString(index);
+ return com.google.protobuf.ByteString.copyFromUtf8(
+ sourceRoot_.get(index));
}
-
- private void initFields() {
- outputRoot_ = "";
- sourceRoot_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ private void ensureSourceRootIsMutable() {
+ if (!sourceRoot_.isModifiable()) {
+ sourceRoot_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(sourceRoot_);
+ }
}
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasOutputRoot()) {
- memoizedIsInitialized = 0;
- return false;
- }
- memoizedIsInitialized = 1;
- return true;
+ /**
+ * repeated string source_root = 2;
+ */
+ private void setSourceRoot(
+ int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSourceRootIsMutable();
+ sourceRoot_.set(index, value);
+ }
+ /**
+ * repeated string source_root = 2;
+ */
+ private void addSourceRoot(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSourceRootIsMutable();
+ sourceRoot_.add(value);
+ }
+ /**
+ * repeated string source_root = 2;
+ */
+ private void addAllSourceRoot(
+ java.lang.Iterable values) {
+ ensureSourceRootIsMutable();
+ com.google.protobuf.AbstractMessageLite.addAll(
+ values, sourceRoot_);
+ }
+ /**
+ * repeated string source_root = 2;
+ */
+ private void clearSourceRoot() {
+ sourceRoot_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
+ }
+ /**
+ * repeated string source_root = 2;
+ */
+ private void addSourceRootBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSourceRootIsMutable();
+ sourceRoot_.add(value.toStringUtf8());
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeBytes(1, getOutputRootBytes());
+ output.writeString(1, getOutputRoot());
}
for (int i = 0; i < sourceRoot_.size(); i++) {
- output.writeBytes(2, sourceRoot_.getByteString(i));
+ output.writeString(2, sourceRoot_.get(i));
}
+ unknownFields.writeTo(output);
}
- private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
@@ -1948,254 +1509,138 @@ public final class JavacRemoteProto {
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(1, getOutputRootBytes());
+ .computeStringSize(1, getOutputRoot());
}
{
int dataSize = 0;
for (int i = 0; i < sourceRoot_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
- .computeBytesSizeNoTag(sourceRoot_.getByteString(i));
+ .computeStringSizeNoTag(sourceRoot_.get(i));
}
size += dataSize;
size += 1 * getSourceRootList().size();
}
+ size += unknownFields.getSerializedSize();
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
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);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
public static Builder newBuilder(org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup prototype) {
- return newBuilder().mergeFrom(prototype);
+ return DEFAULT_INSTANCE.toBuilder().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>
- implements org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroupOrBuilder {
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup, Builder> implements
+ // @@protoc_insertion_point(builder_implements:org.jetbrains.javac.Message.Request.OutputGroup)
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroupOrBuilder {
// Construct using org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup.newBuilder()
private Builder() {
- maybeForceBuilderInitialization();
+ super(DEFAULT_INSTANCE);
}
- private void maybeForceBuilderInitialization() {
- }
- private static Builder create() {
- return new Builder();
- }
- public Builder clear() {
- super.clear();
- outputRoot_ = "";
- bitField0_ = (bitField0_ & ~0x00000001);
- sourceRoot_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- 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()) {
- throw Builder.newUninitializedMessageException(result);
- }
- 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_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.outputRoot_ = outputRoot_;
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- sourceRoot_ = new com.google.protobuf.UnmodifiableLazyStringList(
- sourceRoot_);
- bitField0_ = (bitField0_ & ~0x00000002);
- }
- result.sourceRoot_ = sourceRoot_;
- 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_;
-
- }
- if (!other.sourceRoot_.isEmpty()) {
- if (sourceRoot_.isEmpty()) {
- sourceRoot_ = other.sourceRoot_;
- bitField0_ = (bitField0_ & ~0x00000002);
- } else {
- ensureSourceRootIsMutable();
- sourceRoot_.addAll(other.sourceRoot_);
- }
-
- }
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasOutputRoot()) {
-
- 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.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);
- }
- }
- 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);
+ return instance.hasOutputRoot();
}
/**
* required string output_root = 1;
*/
public java.lang.String getOutputRoot() {
- java.lang.Object ref = outputRoot_;
- if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- outputRoot_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
+ return instance.getOutputRoot();
}
/**
* 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;
- }
+ return instance.getOutputRootBytes();
}
/**
* required string output_root = 1;
*/
public Builder setOutputRoot(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- outputRoot_ = value;
-
+ copyOnWrite();
+ instance.setOutputRoot(value);
return this;
}
/**
* required string output_root = 1;
*/
public Builder clearOutputRoot() {
- bitField0_ = (bitField0_ & ~0x00000001);
- outputRoot_ = getDefaultInstance().getOutputRoot();
-
+ copyOnWrite();
+ instance.clearOutputRoot();
return this;
}
/**
@@ -2203,60 +1648,45 @@ public final class JavacRemoteProto {
*/
public Builder setOutputRootBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- outputRoot_ = value;
-
+ copyOnWrite();
+ instance.setOutputRootBytes(value);
return this;
}
- // repeated string source_root = 2;
- private com.google.protobuf.LazyStringList sourceRoot_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- private void ensureSourceRootIsMutable() {
- if (!((bitField0_ & 0x00000002) == 0x00000002)) {
- sourceRoot_ = new com.google.protobuf.LazyStringArrayList(sourceRoot_);
- bitField0_ |= 0x00000002;
- }
- }
/**
* repeated string source_root = 2;
*/
- public java.util.List
+ public java.util.List
getSourceRootList() {
- return java.util.Collections.unmodifiableList(sourceRoot_);
+ return java.util.Collections.unmodifiableList(
+ instance.getSourceRootList());
}
/**
* repeated string source_root = 2;
*/
public int getSourceRootCount() {
- return sourceRoot_.size();
+ return instance.getSourceRootCount();
}
/**
* repeated string source_root = 2;
*/
public java.lang.String getSourceRoot(int index) {
- return sourceRoot_.get(index);
+ return instance.getSourceRoot(index);
}
/**
* repeated string source_root = 2;
*/
public com.google.protobuf.ByteString
getSourceRootBytes(int index) {
- return sourceRoot_.getByteString(index);
+ return instance.getSourceRootBytes(index);
}
/**
* repeated string source_root = 2;
*/
public Builder setSourceRoot(
int index, java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureSourceRootIsMutable();
- sourceRoot_.set(index, value);
-
+ copyOnWrite();
+ instance.setSourceRoot(index, value);
return this;
}
/**
@@ -2264,12 +1694,8 @@ public final class JavacRemoteProto {
*/
public Builder addSourceRoot(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureSourceRootIsMutable();
- sourceRoot_.add(value);
-
+ copyOnWrite();
+ instance.addSourceRoot(value);
return this;
}
/**
@@ -2277,18 +1703,16 @@ public final class JavacRemoteProto {
*/
public Builder addAllSourceRoot(
java.lang.Iterable values) {
- ensureSourceRootIsMutable();
- super.addAll(values, sourceRoot_);
-
+ copyOnWrite();
+ instance.addAllSourceRoot(values);
return this;
}
/**
* repeated string source_root = 2;
*/
public Builder clearSourceRoot() {
- sourceRoot_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
-
+ copyOnWrite();
+ instance.clearSourceRoot();
return this;
}
/**
@@ -2296,30 +1720,140 @@ public final class JavacRemoteProto {
*/
public Builder addSourceRootBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureSourceRootIsMutable();
- sourceRoot_.add(value);
-
+ copyOnWrite();
+ instance.addSourceRootBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.javac.Message.Request.OutputGroup)
}
+ private byte memoizedIsInitialized = -1;
+ protected final Object dynamicMethod(
+ com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
+ Object arg0, Object arg1) {
+ switch (method) {
+ case NEW_MUTABLE_INSTANCE: {
+ return new org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup();
+ }
+ case IS_INITIALIZED: {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return DEFAULT_INSTANCE;
+ if (isInitialized == 0) return null;
- static {
- defaultInstance = new OutputGroup(true);
- defaultInstance.initFields();
+ boolean shouldMemoize = ((Boolean) arg0).booleanValue();
+ if (!hasOutputRoot()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ if (shouldMemoize) memoizedIsInitialized = 1;
+ return DEFAULT_INSTANCE;
+
+ }
+ case MAKE_IMMUTABLE: {
+ sourceRoot_.makeImmutable();
+ return null;
+ }
+ case NEW_BUILDER: {
+ return new Builder();
+ }
+ case VISIT: {
+ Visitor visitor = (Visitor) arg0;
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup other = (org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup) arg1;
+ outputRoot_ = visitor.visitString(
+ hasOutputRoot(), outputRoot_,
+ other.hasOutputRoot(), other.outputRoot_);
+ sourceRoot_= visitor.visitList(sourceRoot_, other.sourceRoot_);
+ if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor
+ .INSTANCE) {
+ bitField0_ |= other.bitField0_;
+ }
+ return this;
+ }
+ case MERGE_FROM_STREAM: {
+ com.google.protobuf.CodedInputStream input =
+ (com.google.protobuf.CodedInputStream) arg0;
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry =
+ (com.google.protobuf.ExtensionRegistryLite) arg1;
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(tag, input)) {
+ done = true;
+ }
+ break;
+ }
+ case 10: {
+ String s = input.readString();
+ bitField0_ |= 0x00000001;
+ outputRoot_ = s;
+ break;
+ }
+ case 18: {
+ String s = input.readString();
+ if (!sourceRoot_.isModifiable()) {
+ sourceRoot_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(sourceRoot_);
+ }
+ sourceRoot_.add(s);
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw new RuntimeException(e.setUnfinishedMessage(this));
+ } catch (java.io.IOException e) {
+ throw new RuntimeException(
+ new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this));
+ } finally {
+ }
+ }
+ case GET_DEFAULT_INSTANCE: {
+ return DEFAULT_INSTANCE;
+ }
+ case GET_PARSER: {
+ if (PARSER == null) { synchronized (org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup.class) {
+ if (PARSER == null) {
+ PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE);
+ }
+ }
+ }
+ return PARSER;
+ }
+ }
+ throw new UnsupportedOperationException();
}
+
// @@protoc_insertion_point(class_scope:org.jetbrains.javac.Message.Request.OutputGroup)
+ private static final org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new OutputGroup();
+ DEFAULT_INSTANCE.makeImmutable();
+ }
+
+ public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static volatile com.google.protobuf.Parser PARSER;
+
+ public static com.google.protobuf.Parser parser() {
+ return DEFAULT_INSTANCE.getParserForType();
+ }
}
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_;
+ private int requestType_;
/**
* required .org.jetbrains.javac.Message.Request.Type request_type = 1;
*/
@@ -2330,17 +1864,33 @@ public final class JavacRemoteProto {
* required .org.jetbrains.javac.Message.Request.Type request_type = 1;
*/
public org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.Type getRequestType() {
- return requestType_;
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.Type result = org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.Type.forNumber(requestType_);
+ return result == null ? org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.Type.COMPILE : result;
+ }
+ /**
+ * required .org.jetbrains.javac.Message.Request.Type request_type = 1;
+ */
+ private void setRequestType(org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.Type value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ requestType_ = value.getNumber();
+ }
+ /**
+ * required .org.jetbrains.javac.Message.Request.Type request_type = 1;
+ */
+ private void clearRequestType() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ requestType_ = 1;
}
- // repeated string option = 2;
public static final int OPTION_FIELD_NUMBER = 2;
- private com.google.protobuf.LazyStringList option_;
+ private com.google.protobuf.Internal.ProtobufList option_;
/**
* repeated string option = 2;
*/
- public java.util.List
- getOptionList() {
+ public java.util.List getOptionList() {
return option_;
}
/**
@@ -2360,17 +1910,70 @@ public final class JavacRemoteProto {
*/
public com.google.protobuf.ByteString
getOptionBytes(int index) {
- return option_.getByteString(index);
+ return com.google.protobuf.ByteString.copyFromUtf8(
+ option_.get(index));
+ }
+ private void ensureOptionIsMutable() {
+ if (!option_.isModifiable()) {
+ option_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(option_);
+ }
+ }
+ /**
+ * repeated string option = 2;
+ */
+ private void setOption(
+ int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureOptionIsMutable();
+ option_.set(index, value);
+ }
+ /**
+ * repeated string option = 2;
+ */
+ private void addOption(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureOptionIsMutable();
+ option_.add(value);
+ }
+ /**
+ * repeated string option = 2;
+ */
+ private void addAllOption(
+ java.lang.Iterable values) {
+ ensureOptionIsMutable();
+ com.google.protobuf.AbstractMessageLite.addAll(
+ values, option_);
+ }
+ /**
+ * repeated string option = 2;
+ */
+ private void clearOption() {
+ option_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
+ }
+ /**
+ * repeated string option = 2;
+ */
+ private void addOptionBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureOptionIsMutable();
+ option_.add(value.toStringUtf8());
}
- // repeated string file = 3;
public static final int FILE_FIELD_NUMBER = 3;
- private com.google.protobuf.LazyStringList file_;
+ private com.google.protobuf.Internal.ProtobufList file_;
/**
* repeated string file = 3;
*/
- public java.util.List
- getFileList() {
+ public java.util.List getFileList() {
return file_;
}
/**
@@ -2390,17 +1993,70 @@ public final class JavacRemoteProto {
*/
public com.google.protobuf.ByteString
getFileBytes(int index) {
- return file_.getByteString(index);
+ return com.google.protobuf.ByteString.copyFromUtf8(
+ file_.get(index));
+ }
+ private void ensureFileIsMutable() {
+ if (!file_.isModifiable()) {
+ file_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(file_);
+ }
+ }
+ /**
+ * repeated string file = 3;
+ */
+ private void setFile(
+ int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureFileIsMutable();
+ file_.set(index, value);
+ }
+ /**
+ * repeated string file = 3;
+ */
+ private void addFile(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureFileIsMutable();
+ file_.add(value);
+ }
+ /**
+ * repeated string file = 3;
+ */
+ private void addAllFile(
+ java.lang.Iterable values) {
+ ensureFileIsMutable();
+ com.google.protobuf.AbstractMessageLite.addAll(
+ values, file_);
+ }
+ /**
+ * repeated string file = 3;
+ */
+ private void clearFile() {
+ file_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
+ }
+ /**
+ * repeated string file = 3;
+ */
+ private void addFileBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureFileIsMutable();
+ file_.add(value.toStringUtf8());
}
- // repeated string platform_classpath = 4;
public static final int PLATFORM_CLASSPATH_FIELD_NUMBER = 4;
- private com.google.protobuf.LazyStringList platformClasspath_;
+ private com.google.protobuf.Internal.ProtobufList platformClasspath_;
/**
* repeated string platform_classpath = 4;
*/
- public java.util.List
- getPlatformClasspathList() {
+ public java.util.List getPlatformClasspathList() {
return platformClasspath_;
}
/**
@@ -2420,17 +2076,70 @@ public final class JavacRemoteProto {
*/
public com.google.protobuf.ByteString
getPlatformClasspathBytes(int index) {
- return platformClasspath_.getByteString(index);
+ return com.google.protobuf.ByteString.copyFromUtf8(
+ platformClasspath_.get(index));
+ }
+ private void ensurePlatformClasspathIsMutable() {
+ if (!platformClasspath_.isModifiable()) {
+ platformClasspath_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(platformClasspath_);
+ }
+ }
+ /**
+ * repeated string platform_classpath = 4;
+ */
+ private void setPlatformClasspath(
+ int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePlatformClasspathIsMutable();
+ platformClasspath_.set(index, value);
+ }
+ /**
+ * repeated string platform_classpath = 4;
+ */
+ private void addPlatformClasspath(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePlatformClasspathIsMutable();
+ platformClasspath_.add(value);
+ }
+ /**
+ * repeated string platform_classpath = 4;
+ */
+ private void addAllPlatformClasspath(
+ java.lang.Iterable values) {
+ ensurePlatformClasspathIsMutable();
+ com.google.protobuf.AbstractMessageLite.addAll(
+ values, platformClasspath_);
+ }
+ /**
+ * repeated string platform_classpath = 4;
+ */
+ private void clearPlatformClasspath() {
+ platformClasspath_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
+ }
+ /**
+ * repeated string platform_classpath = 4;
+ */
+ private void addPlatformClasspathBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePlatformClasspathIsMutable();
+ platformClasspath_.add(value.toStringUtf8());
}
- // repeated string classpath = 5;
public static final int CLASSPATH_FIELD_NUMBER = 5;
- private com.google.protobuf.LazyStringList classpath_;
+ private com.google.protobuf.Internal.ProtobufList classpath_;
/**
* repeated string classpath = 5;
*/
- public java.util.List
- getClasspathList() {
+ public java.util.List getClasspathList() {
return classpath_;
}
/**
@@ -2450,17 +2159,70 @@ public final class JavacRemoteProto {
*/
public com.google.protobuf.ByteString
getClasspathBytes(int index) {
- return classpath_.getByteString(index);
+ return com.google.protobuf.ByteString.copyFromUtf8(
+ classpath_.get(index));
+ }
+ private void ensureClasspathIsMutable() {
+ if (!classpath_.isModifiable()) {
+ classpath_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(classpath_);
+ }
+ }
+ /**
+ * repeated string classpath = 5;
+ */
+ private void setClasspath(
+ int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureClasspathIsMutable();
+ classpath_.set(index, value);
+ }
+ /**
+ * repeated string classpath = 5;
+ */
+ private void addClasspath(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureClasspathIsMutable();
+ classpath_.add(value);
+ }
+ /**
+ * repeated string classpath = 5;
+ */
+ private void addAllClasspath(
+ java.lang.Iterable values) {
+ ensureClasspathIsMutable();
+ com.google.protobuf.AbstractMessageLite.addAll(
+ values, classpath_);
+ }
+ /**
+ * repeated string classpath = 5;
+ */
+ private void clearClasspath() {
+ classpath_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
+ }
+ /**
+ * repeated string classpath = 5;
+ */
+ private void addClasspathBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureClasspathIsMutable();
+ classpath_.add(value.toStringUtf8());
}
- // repeated string sourcepath = 6;
public static final int SOURCEPATH_FIELD_NUMBER = 6;
- private com.google.protobuf.LazyStringList sourcepath_;
+ private com.google.protobuf.Internal.ProtobufList sourcepath_;
/**
* repeated string sourcepath = 6;
*/
- public java.util.List
- getSourcepathList() {
+ public java.util.List getSourcepathList() {
return sourcepath_;
}
/**
@@ -2480,12 +2242,66 @@ public final class JavacRemoteProto {
*/
public com.google.protobuf.ByteString
getSourcepathBytes(int index) {
- return sourcepath_.getByteString(index);
+ return com.google.protobuf.ByteString.copyFromUtf8(
+ sourcepath_.get(index));
+ }
+ private void ensureSourcepathIsMutable() {
+ if (!sourcepath_.isModifiable()) {
+ sourcepath_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(sourcepath_);
+ }
+ }
+ /**
+ * repeated string sourcepath = 6;
+ */
+ private void setSourcepath(
+ int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSourcepathIsMutable();
+ sourcepath_.set(index, value);
+ }
+ /**
+ * repeated string sourcepath = 6;
+ */
+ private void addSourcepath(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSourcepathIsMutable();
+ sourcepath_.add(value);
+ }
+ /**
+ * repeated string sourcepath = 6;
+ */
+ private void addAllSourcepath(
+ java.lang.Iterable values) {
+ ensureSourcepathIsMutable();
+ com.google.protobuf.AbstractMessageLite.addAll(
+ values, sourcepath_);
+ }
+ /**
+ * repeated string sourcepath = 6;
+ */
+ private void clearSourcepath() {
+ sourcepath_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
+ }
+ /**
+ * repeated string sourcepath = 6;
+ */
+ private void addSourcepathBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSourcepathIsMutable();
+ sourcepath_.add(value.toStringUtf8());
}
- // repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7;
public static final int OUTPUT_FIELD_NUMBER = 7;
- private java.util.List output_;
+ private com.google.protobuf.Internal.ProtobufList output_;
/**
* repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7;
*/
@@ -2518,15 +2334,98 @@ public final class JavacRemoteProto {
int index) {
return output_.get(index);
}
+ private void ensureOutputIsMutable() {
+ if (!output_.isModifiable()) {
+ output_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(output_);
+ }
+ }
+
+ /**
+ * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7;
+ */
+ private void setOutput(
+ int index, org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureOutputIsMutable();
+ output_.set(index, value);
+ }
+ /**
+ * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7;
+ */
+ private void setOutput(
+ int index, org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup.Builder builderForValue) {
+ ensureOutputIsMutable();
+ output_.set(index, builderForValue.build());
+ }
+ /**
+ * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7;
+ */
+ private void addOutput(org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureOutputIsMutable();
+ output_.add(value);
+ }
+ /**
+ * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7;
+ */
+ private void addOutput(
+ int index, org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureOutputIsMutable();
+ output_.add(index, value);
+ }
+ /**
+ * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7;
+ */
+ private void addOutput(
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup.Builder builderForValue) {
+ ensureOutputIsMutable();
+ output_.add(builderForValue.build());
+ }
+ /**
+ * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7;
+ */
+ private void addOutput(
+ int index, org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup.Builder builderForValue) {
+ ensureOutputIsMutable();
+ output_.add(index, builderForValue.build());
+ }
+ /**
+ * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7;
+ */
+ private void addAllOutput(
+ java.lang.Iterable extends org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup> values) {
+ ensureOutputIsMutable();
+ com.google.protobuf.AbstractMessageLite.addAll(
+ values, output_);
+ }
+ /**
+ * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7;
+ */
+ private void clearOutput() {
+ output_ = emptyProtobufList();
+ }
+ /**
+ * repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7;
+ */
+ private void removeOutput(int index) {
+ ensureOutputIsMutable();
+ output_.remove(index);
+ }
- // repeated string module_path = 8;
public static final int MODULE_PATH_FIELD_NUMBER = 8;
- private com.google.protobuf.LazyStringList modulePath_;
+ private com.google.protobuf.Internal.ProtobufList modulePath_;
/**
* repeated string module_path = 8;
*/
- public java.util.List
- getModulePathList() {
+ public java.util.List getModulePathList() {
return modulePath_;
}
/**
@@ -2546,68 +2445,93 @@ public final class JavacRemoteProto {
*/
public com.google.protobuf.ByteString
getModulePathBytes(int index) {
- return modulePath_.getByteString(index);
+ return com.google.protobuf.ByteString.copyFromUtf8(
+ modulePath_.get(index));
}
-
- private void initFields() {
- requestType_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.Type.COMPILE;
- option_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- file_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- platformClasspath_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- classpath_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- sourcepath_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- output_ = java.util.Collections.emptyList();
- modulePath_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ private void ensureModulePathIsMutable() {
+ if (!modulePath_.isModifiable()) {
+ modulePath_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(modulePath_);
+ }
}
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasRequestType()) {
- memoizedIsInitialized = 0;
- return false;
- }
- for (int i = 0; i < getOutputCount(); i++) {
- if (!getOutput(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
+ /**
+ * repeated string module_path = 8;
+ */
+ private void setModulePath(
+ int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureModulePathIsMutable();
+ modulePath_.set(index, value);
+ }
+ /**
+ * repeated string module_path = 8;
+ */
+ private void addModulePath(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureModulePathIsMutable();
+ modulePath_.add(value);
+ }
+ /**
+ * repeated string module_path = 8;
+ */
+ private void addAllModulePath(
+ java.lang.Iterable values) {
+ ensureModulePathIsMutable();
+ com.google.protobuf.AbstractMessageLite.addAll(
+ values, modulePath_);
+ }
+ /**
+ * repeated string module_path = 8;
+ */
+ private void clearModulePath() {
+ modulePath_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
+ }
+ /**
+ * repeated string module_path = 8;
+ */
+ private void addModulePathBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureModulePathIsMutable();
+ modulePath_.add(value.toStringUtf8());
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeEnum(1, requestType_.getNumber());
+ output.writeEnum(1, requestType_);
}
for (int i = 0; i < option_.size(); i++) {
- output.writeBytes(2, option_.getByteString(i));
+ output.writeString(2, option_.get(i));
}
for (int i = 0; i < file_.size(); i++) {
- output.writeBytes(3, file_.getByteString(i));
+ output.writeString(3, file_.get(i));
}
for (int i = 0; i < platformClasspath_.size(); i++) {
- output.writeBytes(4, platformClasspath_.getByteString(i));
+ output.writeString(4, platformClasspath_.get(i));
}
for (int i = 0; i < classpath_.size(); i++) {
- output.writeBytes(5, classpath_.getByteString(i));
+ output.writeString(5, classpath_.get(i));
}
for (int i = 0; i < sourcepath_.size(); i++) {
- output.writeBytes(6, sourcepath_.getByteString(i));
+ output.writeString(6, sourcepath_.get(i));
}
for (int i = 0; i < output_.size(); i++) {
output.writeMessage(7, output_.get(i));
}
for (int i = 0; i < modulePath_.size(); i++) {
- output.writeBytes(8, modulePath_.getByteString(i));
+ output.writeString(8, modulePath_.get(i));
}
+ unknownFields.writeTo(output);
}
- private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
@@ -2615,13 +2539,13 @@ public final class JavacRemoteProto {
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(1, requestType_.getNumber());
+ .computeEnumSize(1, requestType_);
}
{
int dataSize = 0;
for (int i = 0; i < option_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
- .computeBytesSizeNoTag(option_.getByteString(i));
+ .computeStringSizeNoTag(option_.get(i));
}
size += dataSize;
size += 1 * getOptionList().size();
@@ -2630,7 +2554,7 @@ public final class JavacRemoteProto {
int dataSize = 0;
for (int i = 0; i < file_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
- .computeBytesSizeNoTag(file_.getByteString(i));
+ .computeStringSizeNoTag(file_.get(i));
}
size += dataSize;
size += 1 * getFileList().size();
@@ -2639,7 +2563,7 @@ public final class JavacRemoteProto {
int dataSize = 0;
for (int i = 0; i < platformClasspath_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
- .computeBytesSizeNoTag(platformClasspath_.getByteString(i));
+ .computeStringSizeNoTag(platformClasspath_.get(i));
}
size += dataSize;
size += 1 * getPlatformClasspathList().size();
@@ -2648,7 +2572,7 @@ public final class JavacRemoteProto {
int dataSize = 0;
for (int i = 0; i < classpath_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
- .computeBytesSizeNoTag(classpath_.getByteString(i));
+ .computeStringSizeNoTag(classpath_.get(i));
}
size += dataSize;
size += 1 * getClasspathList().size();
@@ -2657,7 +2581,7 @@ public final class JavacRemoteProto {
int dataSize = 0;
for (int i = 0; i < sourcepath_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
- .computeBytesSizeNoTag(sourcepath_.getByteString(i));
+ .computeStringSizeNoTag(sourcepath_.get(i));
}
size += dataSize;
size += 1 * getSourcepathList().size();
@@ -2670,382 +2594,161 @@ public final class JavacRemoteProto {
int dataSize = 0;
for (int i = 0; i < modulePath_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
- .computeBytesSizeNoTag(modulePath_.getByteString(i));
+ .computeStringSizeNoTag(modulePath_.get(i));
}
size += dataSize;
size += 1 * getModulePathList().size();
}
+ size += unknownFields.getSerializedSize();
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Request parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Request parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Request parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
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);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Request parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
public static Builder newBuilder(org.jetbrains.jps.javac.JavacRemoteProto.Message.Request prototype) {
- return newBuilder().mergeFrom(prototype);
+ return DEFAULT_INSTANCE.toBuilder().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>
- implements org.jetbrains.jps.javac.JavacRemoteProto.Message.RequestOrBuilder {
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Request, Builder> implements
+ // @@protoc_insertion_point(builder_implements:org.jetbrains.javac.Message.Request)
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.RequestOrBuilder {
// Construct using org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.newBuilder()
private Builder() {
- maybeForceBuilderInitialization();
+ super(DEFAULT_INSTANCE);
}
- 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;
- bitField0_ = (bitField0_ & ~0x00000001);
- option_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
- file_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
- platformClasspath_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000008);
- classpath_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000010);
- sourcepath_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000020);
- output_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000040);
- modulePath_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000080);
- 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()) {
- throw Builder.newUninitializedMessageException(result);
- }
- 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_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.requestType_ = requestType_;
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- option_ = new com.google.protobuf.UnmodifiableLazyStringList(
- option_);
- bitField0_ = (bitField0_ & ~0x00000002);
- }
- result.option_ = option_;
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- file_ = new com.google.protobuf.UnmodifiableLazyStringList(
- file_);
- bitField0_ = (bitField0_ & ~0x00000004);
- }
- result.file_ = file_;
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- platformClasspath_ = new com.google.protobuf.UnmodifiableLazyStringList(
- platformClasspath_);
- bitField0_ = (bitField0_ & ~0x00000008);
- }
- result.platformClasspath_ = platformClasspath_;
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- classpath_ = new com.google.protobuf.UnmodifiableLazyStringList(
- classpath_);
- bitField0_ = (bitField0_ & ~0x00000010);
- }
- result.classpath_ = classpath_;
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- sourcepath_ = new com.google.protobuf.UnmodifiableLazyStringList(
- sourcepath_);
- bitField0_ = (bitField0_ & ~0x00000020);
- }
- result.sourcepath_ = sourcepath_;
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
- output_ = java.util.Collections.unmodifiableList(output_);
- bitField0_ = (bitField0_ & ~0x00000040);
- }
- result.output_ = output_;
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
- modulePath_ = new com.google.protobuf.UnmodifiableLazyStringList(
- modulePath_);
- bitField0_ = (bitField0_ & ~0x00000080);
- }
- result.modulePath_ = modulePath_;
- 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()) {
- setRequestType(other.getRequestType());
- }
- if (!other.option_.isEmpty()) {
- if (option_.isEmpty()) {
- option_ = other.option_;
- bitField0_ = (bitField0_ & ~0x00000002);
- } else {
- ensureOptionIsMutable();
- option_.addAll(other.option_);
- }
-
- }
- if (!other.file_.isEmpty()) {
- if (file_.isEmpty()) {
- file_ = other.file_;
- bitField0_ = (bitField0_ & ~0x00000004);
- } else {
- ensureFileIsMutable();
- file_.addAll(other.file_);
- }
-
- }
- if (!other.platformClasspath_.isEmpty()) {
- if (platformClasspath_.isEmpty()) {
- platformClasspath_ = other.platformClasspath_;
- bitField0_ = (bitField0_ & ~0x00000008);
- } else {
- ensurePlatformClasspathIsMutable();
- platformClasspath_.addAll(other.platformClasspath_);
- }
-
- }
- if (!other.classpath_.isEmpty()) {
- if (classpath_.isEmpty()) {
- classpath_ = other.classpath_;
- bitField0_ = (bitField0_ & ~0x00000010);
- } else {
- ensureClasspathIsMutable();
- classpath_.addAll(other.classpath_);
- }
-
- }
- if (!other.sourcepath_.isEmpty()) {
- if (sourcepath_.isEmpty()) {
- sourcepath_ = other.sourcepath_;
- bitField0_ = (bitField0_ & ~0x00000020);
- } else {
- ensureSourcepathIsMutable();
- sourcepath_.addAll(other.sourcepath_);
- }
-
- }
- if (!other.output_.isEmpty()) {
- if (output_.isEmpty()) {
- output_ = other.output_;
- bitField0_ = (bitField0_ & ~0x00000040);
- } else {
- ensureOutputIsMutable();
- output_.addAll(other.output_);
- }
-
- }
- if (!other.modulePath_.isEmpty()) {
- if (modulePath_.isEmpty()) {
- modulePath_ = other.modulePath_;
- bitField0_ = (bitField0_ & ~0x00000080);
- } else {
- ensureModulePathIsMutable();
- modulePath_.addAll(other.modulePath_);
- }
-
- }
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasRequestType()) {
-
- return false;
- }
- for (int i = 0; i < getOutputCount(); i++) {
- if (!getOutput(i).isInitialized()) {
-
- return false;
- }
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- org.jetbrains.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);
- }
- }
- 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);
+ return instance.hasRequestType();
}
/**
* required .org.jetbrains.javac.Message.Request.Type request_type = 1;
*/
public org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.Type getRequestType() {
- return requestType_;
+ return instance.getRequestType();
}
/**
* 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();
- }
- bitField0_ |= 0x00000001;
- requestType_ = value;
-
+ copyOnWrite();
+ instance.setRequestType(value);
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;
-
+ copyOnWrite();
+ instance.clearRequestType();
return this;
}
- // repeated string option = 2;
- private com.google.protobuf.LazyStringList option_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- private void ensureOptionIsMutable() {
- if (!((bitField0_ & 0x00000002) == 0x00000002)) {
- option_ = new com.google.protobuf.LazyStringArrayList(option_);
- bitField0_ |= 0x00000002;
- }
- }
/**
* repeated string option = 2;
*/
- public java.util.List
+ public java.util.List
getOptionList() {
- return java.util.Collections.unmodifiableList(option_);
+ return java.util.Collections.unmodifiableList(
+ instance.getOptionList());
}
/**
* repeated string option = 2;
*/
public int getOptionCount() {
- return option_.size();
+ return instance.getOptionCount();
}
/**
* repeated string option = 2;
*/
public java.lang.String getOption(int index) {
- return option_.get(index);
+ return instance.getOption(index);
}
/**
* repeated string option = 2;
*/
public com.google.protobuf.ByteString
getOptionBytes(int index) {
- return option_.getByteString(index);
+ return instance.getOptionBytes(index);
}
/**
* repeated string option = 2;
*/
public Builder setOption(
int index, java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureOptionIsMutable();
- option_.set(index, value);
-
+ copyOnWrite();
+ instance.setOption(index, value);
return this;
}
/**
@@ -3053,12 +2756,8 @@ public final class JavacRemoteProto {
*/
public Builder addOption(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureOptionIsMutable();
- option_.add(value);
-
+ copyOnWrite();
+ instance.addOption(value);
return this;
}
/**
@@ -3066,18 +2765,16 @@ public final class JavacRemoteProto {
*/
public Builder addAllOption(
java.lang.Iterable values) {
- ensureOptionIsMutable();
- super.addAll(values, option_);
-
+ copyOnWrite();
+ instance.addAllOption(values);
return this;
}
/**
* repeated string option = 2;
*/
public Builder clearOption() {
- option_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
-
+ copyOnWrite();
+ instance.clearOption();
return this;
}
/**
@@ -3085,60 +2782,45 @@ public final class JavacRemoteProto {
*/
public Builder addOptionBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureOptionIsMutable();
- option_.add(value);
-
+ copyOnWrite();
+ instance.addOptionBytes(value);
return this;
}
- // repeated string file = 3;
- private com.google.protobuf.LazyStringList file_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- private void ensureFileIsMutable() {
- if (!((bitField0_ & 0x00000004) == 0x00000004)) {
- file_ = new com.google.protobuf.LazyStringArrayList(file_);
- bitField0_ |= 0x00000004;
- }
- }
/**
* repeated string file = 3;
*/
- public java.util.List
+ public java.util.List
getFileList() {
- return java.util.Collections.unmodifiableList(file_);
+ return java.util.Collections.unmodifiableList(
+ instance.getFileList());
}
/**
* repeated string file = 3;
*/
public int getFileCount() {
- return file_.size();
+ return instance.getFileCount();
}
/**
* repeated string file = 3;
*/
public java.lang.String getFile(int index) {
- return file_.get(index);
+ return instance.getFile(index);
}
/**
* repeated string file = 3;
*/
public com.google.protobuf.ByteString
getFileBytes(int index) {
- return file_.getByteString(index);
+ return instance.getFileBytes(index);
}
/**
* repeated string file = 3;
*/
public Builder setFile(
int index, java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureFileIsMutable();
- file_.set(index, value);
-
+ copyOnWrite();
+ instance.setFile(index, value);
return this;
}
/**
@@ -3146,12 +2828,8 @@ public final class JavacRemoteProto {
*/
public Builder addFile(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureFileIsMutable();
- file_.add(value);
-
+ copyOnWrite();
+ instance.addFile(value);
return this;
}
/**
@@ -3159,18 +2837,16 @@ public final class JavacRemoteProto {
*/
public Builder addAllFile(
java.lang.Iterable values) {
- ensureFileIsMutable();
- super.addAll(values, file_);
-
+ copyOnWrite();
+ instance.addAllFile(values);
return this;
}
/**
* repeated string file = 3;
*/
public Builder clearFile() {
- file_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
-
+ copyOnWrite();
+ instance.clearFile();
return this;
}
/**
@@ -3178,60 +2854,45 @@ public final class JavacRemoteProto {
*/
public Builder addFileBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureFileIsMutable();
- file_.add(value);
-
+ copyOnWrite();
+ instance.addFileBytes(value);
return this;
}
- // repeated string platform_classpath = 4;
- private com.google.protobuf.LazyStringList platformClasspath_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- private void ensurePlatformClasspathIsMutable() {
- if (!((bitField0_ & 0x00000008) == 0x00000008)) {
- platformClasspath_ = new com.google.protobuf.LazyStringArrayList(platformClasspath_);
- bitField0_ |= 0x00000008;
- }
- }
/**
* repeated string platform_classpath = 4;
*/
- public java.util.List
+ public java.util.List
getPlatformClasspathList() {
- return java.util.Collections.unmodifiableList(platformClasspath_);
+ return java.util.Collections.unmodifiableList(
+ instance.getPlatformClasspathList());
}
/**
* repeated string platform_classpath = 4;
*/
public int getPlatformClasspathCount() {
- return platformClasspath_.size();
+ return instance.getPlatformClasspathCount();
}
/**
* repeated string platform_classpath = 4;
*/
public java.lang.String getPlatformClasspath(int index) {
- return platformClasspath_.get(index);
+ return instance.getPlatformClasspath(index);
}
/**
* repeated string platform_classpath = 4;
*/
public com.google.protobuf.ByteString
getPlatformClasspathBytes(int index) {
- return platformClasspath_.getByteString(index);
+ return instance.getPlatformClasspathBytes(index);
}
/**
* repeated string platform_classpath = 4;
*/
public Builder setPlatformClasspath(
int index, java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensurePlatformClasspathIsMutable();
- platformClasspath_.set(index, value);
-
+ copyOnWrite();
+ instance.setPlatformClasspath(index, value);
return this;
}
/**
@@ -3239,12 +2900,8 @@ public final class JavacRemoteProto {
*/
public Builder addPlatformClasspath(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensurePlatformClasspathIsMutable();
- platformClasspath_.add(value);
-
+ copyOnWrite();
+ instance.addPlatformClasspath(value);
return this;
}
/**
@@ -3252,18 +2909,16 @@ public final class JavacRemoteProto {
*/
public Builder addAllPlatformClasspath(
java.lang.Iterable values) {
- ensurePlatformClasspathIsMutable();
- super.addAll(values, platformClasspath_);
-
+ copyOnWrite();
+ instance.addAllPlatformClasspath(values);
return this;
}
/**
* repeated string platform_classpath = 4;
*/
public Builder clearPlatformClasspath() {
- platformClasspath_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000008);
-
+ copyOnWrite();
+ instance.clearPlatformClasspath();
return this;
}
/**
@@ -3271,60 +2926,45 @@ public final class JavacRemoteProto {
*/
public Builder addPlatformClasspathBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensurePlatformClasspathIsMutable();
- platformClasspath_.add(value);
-
+ copyOnWrite();
+ instance.addPlatformClasspathBytes(value);
return this;
}
- // repeated string classpath = 5;
- private com.google.protobuf.LazyStringList classpath_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- private void ensureClasspathIsMutable() {
- if (!((bitField0_ & 0x00000010) == 0x00000010)) {
- classpath_ = new com.google.protobuf.LazyStringArrayList(classpath_);
- bitField0_ |= 0x00000010;
- }
- }
/**
* repeated string classpath = 5;
*/
- public java.util.List
+ public java.util.List
getClasspathList() {
- return java.util.Collections.unmodifiableList(classpath_);
+ return java.util.Collections.unmodifiableList(
+ instance.getClasspathList());
}
/**
* repeated string classpath = 5;
*/
public int getClasspathCount() {
- return classpath_.size();
+ return instance.getClasspathCount();
}
/**
* repeated string classpath = 5;
*/
public java.lang.String getClasspath(int index) {
- return classpath_.get(index);
+ return instance.getClasspath(index);
}
/**
* repeated string classpath = 5;
*/
public com.google.protobuf.ByteString
getClasspathBytes(int index) {
- return classpath_.getByteString(index);
+ return instance.getClasspathBytes(index);
}
/**
* repeated string classpath = 5;
*/
public Builder setClasspath(
int index, java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureClasspathIsMutable();
- classpath_.set(index, value);
-
+ copyOnWrite();
+ instance.setClasspath(index, value);
return this;
}
/**
@@ -3332,12 +2972,8 @@ public final class JavacRemoteProto {
*/
public Builder addClasspath(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureClasspathIsMutable();
- classpath_.add(value);
-
+ copyOnWrite();
+ instance.addClasspath(value);
return this;
}
/**
@@ -3345,18 +2981,16 @@ public final class JavacRemoteProto {
*/
public Builder addAllClasspath(
java.lang.Iterable values) {
- ensureClasspathIsMutable();
- super.addAll(values, classpath_);
-
+ copyOnWrite();
+ instance.addAllClasspath(values);
return this;
}
/**
* repeated string classpath = 5;
*/
public Builder clearClasspath() {
- classpath_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000010);
-
+ copyOnWrite();
+ instance.clearClasspath();
return this;
}
/**
@@ -3364,60 +2998,45 @@ public final class JavacRemoteProto {
*/
public Builder addClasspathBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureClasspathIsMutable();
- classpath_.add(value);
-
+ copyOnWrite();
+ instance.addClasspathBytes(value);
return this;
}
- // repeated string sourcepath = 6;
- private com.google.protobuf.LazyStringList sourcepath_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- private void ensureSourcepathIsMutable() {
- if (!((bitField0_ & 0x00000020) == 0x00000020)) {
- sourcepath_ = new com.google.protobuf.LazyStringArrayList(sourcepath_);
- bitField0_ |= 0x00000020;
- }
- }
/**
* repeated string sourcepath = 6;
*/
- public java.util.List
+ public java.util.List
getSourcepathList() {
- return java.util.Collections.unmodifiableList(sourcepath_);
+ return java.util.Collections.unmodifiableList(
+ instance.getSourcepathList());
}
/**
* repeated string sourcepath = 6;
*/
public int getSourcepathCount() {
- return sourcepath_.size();
+ return instance.getSourcepathCount();
}
/**
* repeated string sourcepath = 6;
*/
public java.lang.String getSourcepath(int index) {
- return sourcepath_.get(index);
+ return instance.getSourcepath(index);
}
/**
* repeated string sourcepath = 6;
*/
public com.google.protobuf.ByteString
getSourcepathBytes(int index) {
- return sourcepath_.getByteString(index);
+ return instance.getSourcepathBytes(index);
}
/**
* repeated string sourcepath = 6;
*/
public Builder setSourcepath(
int index, java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureSourcepathIsMutable();
- sourcepath_.set(index, value);
-
+ copyOnWrite();
+ instance.setSourcepath(index, value);
return this;
}
/**
@@ -3425,12 +3044,8 @@ public final class JavacRemoteProto {
*/
public Builder addSourcepath(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureSourcepathIsMutable();
- sourcepath_.add(value);
-
+ copyOnWrite();
+ instance.addSourcepath(value);
return this;
}
/**
@@ -3438,18 +3053,16 @@ public final class JavacRemoteProto {
*/
public Builder addAllSourcepath(
java.lang.Iterable values) {
- ensureSourcepathIsMutable();
- super.addAll(values, sourcepath_);
-
+ copyOnWrite();
+ instance.addAllSourcepath(values);
return this;
}
/**
* repeated string sourcepath = 6;
*/
public Builder clearSourcepath() {
- sourcepath_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000020);
-
+ copyOnWrite();
+ instance.clearSourcepath();
return this;
}
/**
@@ -3457,54 +3070,36 @@ public final class JavacRemoteProto {
*/
public Builder addSourcepathBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureSourcepathIsMutable();
- sourcepath_.add(value);
-
+ copyOnWrite();
+ instance.addSourcepathBytes(value);
return this;
}
- // repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7;
- private java.util.List output_ =
- java.util.Collections.emptyList();
- private void ensureOutputIsMutable() {
- if (!((bitField0_ & 0x00000040) == 0x00000040)) {
- output_ = new java.util.ArrayList(output_);
- bitField0_ |= 0x00000040;
- }
- }
-
/**
* repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7;
*/
public java.util.List getOutputList() {
- return java.util.Collections.unmodifiableList(output_);
+ return java.util.Collections.unmodifiableList(
+ instance.getOutputList());
}
/**
* repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7;
*/
public int getOutputCount() {
- return output_.size();
- }
- /**
+ return instance.getOutputCount();
+ }/**
* 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);
+ return instance.getOutput(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) {
- throw new NullPointerException();
- }
- ensureOutputIsMutable();
- output_.set(index, value);
-
+ copyOnWrite();
+ instance.setOutput(index, value);
return this;
}
/**
@@ -3512,21 +3107,16 @@ public final class JavacRemoteProto {
*/
public Builder setOutput(
int index, org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup.Builder builderForValue) {
- ensureOutputIsMutable();
- output_.set(index, builderForValue.build());
-
+ copyOnWrite();
+ instance.setOutput(index, builderForValue);
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);
-
+ copyOnWrite();
+ instance.addOutput(value);
return this;
}
/**
@@ -3534,12 +3124,8 @@ public final class JavacRemoteProto {
*/
public Builder addOutput(
int index, org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureOutputIsMutable();
- output_.add(index, value);
-
+ copyOnWrite();
+ instance.addOutput(index, value);
return this;
}
/**
@@ -3547,9 +3133,8 @@ public final class JavacRemoteProto {
*/
public Builder addOutput(
org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup.Builder builderForValue) {
- ensureOutputIsMutable();
- output_.add(builderForValue.build());
-
+ copyOnWrite();
+ instance.addOutput(builderForValue);
return this;
}
/**
@@ -3557,9 +3142,8 @@ public final class JavacRemoteProto {
*/
public Builder addOutput(
int index, org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup.Builder builderForValue) {
- ensureOutputIsMutable();
- output_.add(index, builderForValue.build());
-
+ copyOnWrite();
+ instance.addOutput(index, builderForValue);
return this;
}
/**
@@ -3567,75 +3151,61 @@ public final class JavacRemoteProto {
*/
public Builder addAllOutput(
java.lang.Iterable extends org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup> values) {
- ensureOutputIsMutable();
- super.addAll(values, output_);
-
+ copyOnWrite();
+ instance.addAllOutput(values);
return this;
}
/**
* repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7;
*/
public Builder clearOutput() {
- output_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000040);
-
+ copyOnWrite();
+ instance.clearOutput();
return this;
}
/**
* repeated .org.jetbrains.javac.Message.Request.OutputGroup output = 7;
*/
public Builder removeOutput(int index) {
- ensureOutputIsMutable();
- output_.remove(index);
-
+ copyOnWrite();
+ instance.removeOutput(index);
return this;
}
- // repeated string module_path = 8;
- private com.google.protobuf.LazyStringList modulePath_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- private void ensureModulePathIsMutable() {
- if (!((bitField0_ & 0x00000080) == 0x00000080)) {
- modulePath_ = new com.google.protobuf.LazyStringArrayList(modulePath_);
- bitField0_ |= 0x00000080;
- }
- }
/**
* repeated string module_path = 8;
*/
- public java.util.List
+ public java.util.List
getModulePathList() {
- return java.util.Collections.unmodifiableList(modulePath_);
+ return java.util.Collections.unmodifiableList(
+ instance.getModulePathList());
}
/**
* repeated string module_path = 8;
*/
public int getModulePathCount() {
- return modulePath_.size();
+ return instance.getModulePathCount();
}
/**
* repeated string module_path = 8;
*/
public java.lang.String getModulePath(int index) {
- return modulePath_.get(index);
+ return instance.getModulePath(index);
}
/**
* repeated string module_path = 8;
*/
public com.google.protobuf.ByteString
getModulePathBytes(int index) {
- return modulePath_.getByteString(index);
+ return instance.getModulePathBytes(index);
}
/**
* repeated string module_path = 8;
*/
public Builder setModulePath(
int index, java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureModulePathIsMutable();
- modulePath_.set(index, value);
-
+ copyOnWrite();
+ instance.setModulePath(index, value);
return this;
}
/**
@@ -3643,12 +3213,8 @@ public final class JavacRemoteProto {
*/
public Builder addModulePath(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureModulePathIsMutable();
- modulePath_.add(value);
-
+ copyOnWrite();
+ instance.addModulePath(value);
return this;
}
/**
@@ -3656,18 +3222,16 @@ public final class JavacRemoteProto {
*/
public Builder addAllModulePath(
java.lang.Iterable values) {
- ensureModulePathIsMutable();
- super.addAll(values, modulePath_);
-
+ copyOnWrite();
+ instance.addAllModulePath(values);
return this;
}
/**
* repeated string module_path = 8;
*/
public Builder clearModulePath() {
- modulePath_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000080);
-
+ copyOnWrite();
+ instance.clearModulePath();
return this;
}
/**
@@ -3675,30 +3239,219 @@ public final class JavacRemoteProto {
*/
public Builder addModulePathBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureModulePathIsMutable();
- modulePath_.add(value);
-
+ copyOnWrite();
+ instance.addModulePathBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.javac.Message.Request)
}
+ private byte memoizedIsInitialized = -1;
+ protected final Object dynamicMethod(
+ com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
+ Object arg0, Object arg1) {
+ switch (method) {
+ case NEW_MUTABLE_INSTANCE: {
+ return new org.jetbrains.jps.javac.JavacRemoteProto.Message.Request();
+ }
+ case IS_INITIALIZED: {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return DEFAULT_INSTANCE;
+ if (isInitialized == 0) return null;
- static {
- defaultInstance = new Request(true);
- defaultInstance.initFields();
+ boolean shouldMemoize = ((Boolean) arg0).booleanValue();
+ if (!hasRequestType()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ for (int i = 0; i < getOutputCount(); i++) {
+ if (!getOutput(i).isInitialized()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ }
+ if (shouldMemoize) memoizedIsInitialized = 1;
+ return DEFAULT_INSTANCE;
+
+ }
+ case MAKE_IMMUTABLE: {
+ option_.makeImmutable();
+ file_.makeImmutable();
+ platformClasspath_.makeImmutable();
+ classpath_.makeImmutable();
+ sourcepath_.makeImmutable();
+ output_.makeImmutable();
+ modulePath_.makeImmutable();
+ return null;
+ }
+ case NEW_BUILDER: {
+ return new Builder();
+ }
+ case VISIT: {
+ Visitor visitor = (Visitor) arg0;
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Request other = (org.jetbrains.jps.javac.JavacRemoteProto.Message.Request) arg1;
+ requestType_ = visitor.visitInt(hasRequestType(), requestType_,
+ other.hasRequestType(), other.requestType_);
+ option_= visitor.visitList(option_, other.option_);
+ file_= visitor.visitList(file_, other.file_);
+ platformClasspath_= visitor.visitList(platformClasspath_, other.platformClasspath_);
+ classpath_= visitor.visitList(classpath_, other.classpath_);
+ sourcepath_= visitor.visitList(sourcepath_, other.sourcepath_);
+ output_= visitor.visitList(output_, other.output_);
+ modulePath_= visitor.visitList(modulePath_, other.modulePath_);
+ if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor
+ .INSTANCE) {
+ bitField0_ |= other.bitField0_;
+ }
+ return this;
+ }
+ case MERGE_FROM_STREAM: {
+ com.google.protobuf.CodedInputStream input =
+ (com.google.protobuf.CodedInputStream) arg0;
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry =
+ (com.google.protobuf.ExtensionRegistryLite) arg1;
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(tag, input)) {
+ 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.forNumber(rawValue);
+ if (value == null) {
+ super.mergeVarintField(1, rawValue);
+ } else {
+ bitField0_ |= 0x00000001;
+ requestType_ = rawValue;
+ }
+ break;
+ }
+ case 18: {
+ String s = input.readString();
+ if (!option_.isModifiable()) {
+ option_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(option_);
+ }
+ option_.add(s);
+ break;
+ }
+ case 26: {
+ String s = input.readString();
+ if (!file_.isModifiable()) {
+ file_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(file_);
+ }
+ file_.add(s);
+ break;
+ }
+ case 34: {
+ String s = input.readString();
+ if (!platformClasspath_.isModifiable()) {
+ platformClasspath_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(platformClasspath_);
+ }
+ platformClasspath_.add(s);
+ break;
+ }
+ case 42: {
+ String s = input.readString();
+ if (!classpath_.isModifiable()) {
+ classpath_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(classpath_);
+ }
+ classpath_.add(s);
+ break;
+ }
+ case 50: {
+ String s = input.readString();
+ if (!sourcepath_.isModifiable()) {
+ sourcepath_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(sourcepath_);
+ }
+ sourcepath_.add(s);
+ break;
+ }
+ case 58: {
+ if (!output_.isModifiable()) {
+ output_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(output_);
+ }
+ output_.add(
+ input.readMessage(org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.OutputGroup.parser(), extensionRegistry));
+ break;
+ }
+ case 66: {
+ String s = input.readString();
+ if (!modulePath_.isModifiable()) {
+ modulePath_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(modulePath_);
+ }
+ modulePath_.add(s);
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw new RuntimeException(e.setUnfinishedMessage(this));
+ } catch (java.io.IOException e) {
+ throw new RuntimeException(
+ new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this));
+ } finally {
+ }
+ }
+ case GET_DEFAULT_INSTANCE: {
+ return DEFAULT_INSTANCE;
+ }
+ case GET_PARSER: {
+ if (PARSER == null) { synchronized (org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.class) {
+ if (PARSER == null) {
+ PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE);
+ }
+ }
+ }
+ return PARSER;
+ }
+ }
+ throw new UnsupportedOperationException();
}
+
// @@protoc_insertion_point(class_scope:org.jetbrains.javac.Message.Request)
+ private static final org.jetbrains.jps.javac.JavacRemoteProto.Message.Request DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new Request();
+ DEFAULT_INSTANCE.makeImmutable();
+ }
+
+ public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Request getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static volatile com.google.protobuf.Parser PARSER;
+
+ public static com.google.protobuf.Parser parser() {
+ return DEFAULT_INSTANCE.getParserForType();
+ }
}
- public interface ResponseOrBuilder
- extends com.google.protobuf.MessageLiteOrBuilder {
+ public interface ResponseOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:org.jetbrains.javac.Message.Response)
+ com.google.protobuf.MessageLiteOrBuilder {
- // required .org.jetbrains.javac.Message.Response.Type response_type = 1;
/**
* required .org.jetbrains.javac.Message.Response.Type response_type = 1;
*/
@@ -3708,7 +3461,6 @@ public final class JavacRemoteProto {
*/
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;
*/
@@ -3718,7 +3470,6 @@ public final class JavacRemoteProto {
*/
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;
*/
@@ -3728,7 +3479,6 @@ public final class JavacRemoteProto {
*/
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;
*/
@@ -3738,7 +3488,6 @@ public final class JavacRemoteProto {
*/
org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData getClassData();
- // optional bool completion_status = 5;
/**
* optional bool completion_status = 5;
*/
@@ -3751,125 +3500,14 @@ public final class JavacRemoteProto {
/**
* 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) {
- super(builder);
-
+ public static final class Response extends
+ com.google.protobuf.GeneratedMessageLite<
+ Response, Response.Builder> implements
+ // @@protoc_insertion_point(message_implements:org.jetbrains.javac.Message.Response)
+ ResponseOrBuilder {
+ private Response() {
+ responseType_ = 1;
}
- 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}
*/
@@ -3878,31 +3516,31 @@ public final class JavacRemoteProto {
/**
* BUILD_MESSAGE = 1;
*/
- BUILD_MESSAGE(0, 1),
+ BUILD_MESSAGE(1),
/**
* OUTPUT_OBJECT = 2;
*/
- OUTPUT_OBJECT(1, 2),
+ OUTPUT_OBJECT(2),
/**
* CLASS_DATA = 3;
*/
- CLASS_DATA(2, 3),
+ CLASS_DATA(3),
/**
* BUILD_COMPLETED = 4;
*/
- BUILD_COMPLETED(3, 4),
+ BUILD_COMPLETED(4),
/**
* REQUEST_ACK = 5;
*/
- REQUEST_ACK(4, 5),
+ REQUEST_ACK(5),
/**
* SRC_FILE_LOADED = 6;
*/
- SRC_FILE_LOADED(5, 6),
+ SRC_FILE_LOADED(6),
/**
* CUSTOM_OUTPUT_OBJECT = 7;
*/
- CUSTOM_OUTPUT_OBJECT(6, 7),
+ CUSTOM_OUTPUT_OBJECT(7),
;
/**
@@ -3935,9 +3573,19 @@ public final class JavacRemoteProto {
public static final int CUSTOM_OUTPUT_OBJECT_VALUE = 7;
- public final int getNumber() { return value; }
+ public final int getNumber() {
+ return value;
+ }
+ /**
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
public static Type valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static Type forNumber(int value) {
switch (value) {
case 1: return BUILD_MESSAGE;
case 2: return OUTPUT_OBJECT;
@@ -3954,27 +3602,27 @@ public final class JavacRemoteProto {
internalGetValueMap() {
return internalValueMap;
}
- private static com.google.protobuf.Internal.EnumLiteMap
- internalValueMap =
+ private static final com.google.protobuf.Internal.EnumLiteMap<
+ Type> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Type findValueByNumber(int number) {
- return Type.valueOf(number);
+ return Type.forNumber(number);
}
};
private final int value;
- private Type(int index, int value) {
+ private Type(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org.jetbrains.javac.Message.Response.Type)
}
- public interface CompileMessageOrBuilder
- extends com.google.protobuf.MessageLiteOrBuilder {
+ public interface CompileMessageOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:org.jetbrains.javac.Message.Response.CompileMessage)
+ com.google.protobuf.MessageLiteOrBuilder {
- // required .org.jetbrains.javac.Message.Response.CompileMessage.Kind kind = 1;
/**
* required .org.jetbrains.javac.Message.Response.CompileMessage.Kind kind = 1;
*/
@@ -3984,7 +3632,6 @@ public final class JavacRemoteProto {
*/
org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind getKind();
- // optional string text = 2;
/**
* optional string text = 2;
*/
@@ -3999,7 +3646,6 @@ public final class JavacRemoteProto {
com.google.protobuf.ByteString
getTextBytes();
- // optional string source_uri = 3;
/**
* optional string source_uri = 3;
*/
@@ -4014,7 +3660,6 @@ public final class JavacRemoteProto {
com.google.protobuf.ByteString
getSourceUriBytes();
- // optional uint64 problem_begin_offset = 4;
/**
* optional uint64 problem_begin_offset = 4;
*/
@@ -4024,7 +3669,6 @@ public final class JavacRemoteProto {
*/
long getProblemBeginOffset();
- // optional uint64 problem_end_offset = 5;
/**
* optional uint64 problem_end_offset = 5;
*/
@@ -4034,7 +3678,6 @@ public final class JavacRemoteProto {
*/
long getProblemEndOffset();
- // optional uint64 problem_location_offset = 6;
/**
* optional uint64 problem_location_offset = 6;
*/
@@ -4044,7 +3687,6 @@ public final class JavacRemoteProto {
*/
long getProblemLocationOffset();
- // optional uint64 line = 7;
/**
* optional uint64 line = 7;
*/
@@ -4054,7 +3696,6 @@ public final class JavacRemoteProto {
*/
long getLine();
- // optional uint64 column = 8;
/**
* optional uint64 column = 8;
*/
@@ -4067,116 +3708,16 @@ public final class JavacRemoteProto {
/**
* 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) {
- super(builder);
-
+ public static final class CompileMessage extends
+ com.google.protobuf.GeneratedMessageLite<
+ CompileMessage, CompileMessage.Builder> implements
+ // @@protoc_insertion_point(message_implements:org.jetbrains.javac.Message.Response.CompileMessage)
+ CompileMessageOrBuilder {
+ private CompileMessage() {
+ kind_ = 1;
+ text_ = "";
+ sourceUri_ = "";
}
- 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,
- 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.CompileMessage.Kind value = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind.valueOf(rawValue);
- if (value != null) {
- bitField0_ |= 0x00000001;
- kind_ = value;
- }
- break;
- }
- case 18: {
- bitField0_ |= 0x00000002;
- text_ = input.readBytes();
- break;
- }
- case 26: {
- bitField0_ |= 0x00000004;
- sourceUri_ = input.readBytes();
- break;
- }
- case 32: {
- bitField0_ |= 0x00000008;
- problemBeginOffset_ = input.readUInt64();
- break;
- }
- case 40: {
- bitField0_ |= 0x00000010;
- problemEndOffset_ = input.readUInt64();
- break;
- }
- case 48: {
- bitField0_ |= 0x00000020;
- problemLocationOffset_ = input.readUInt64();
- break;
- }
- case 56: {
- bitField0_ |= 0x00000040;
- line_ = input.readUInt64();
- break;
- }
- case 64: {
- bitField0_ |= 0x00000080;
- column_ = input.readUInt64();
- 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 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.javac.Message.Response.CompileMessage.Kind}
*/
@@ -4185,27 +3726,27 @@ public final class JavacRemoteProto {
/**
* ERROR = 1;
*/
- ERROR(0, 1),
+ ERROR(1),
/**
* WARNING = 2;
*/
- WARNING(1, 2),
+ WARNING(2),
/**
* MANDATORY_WARNING = 3;
*/
- MANDATORY_WARNING(2, 3),
+ MANDATORY_WARNING(3),
/**
* NOTE = 4;
*/
- NOTE(3, 4),
+ NOTE(4),
/**
* OTHER = 5;
*/
- OTHER(4, 5),
+ OTHER(5),
/**
* STD_OUT = 6;
*/
- STD_OUT(5, 6),
+ STD_OUT(6),
;
/**
@@ -4234,9 +3775,19 @@ public final class JavacRemoteProto {
public static final int STD_OUT_VALUE = 6;
- public final int getNumber() { return value; }
+ public final int getNumber() {
+ return value;
+ }
+ /**
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
public static Kind valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static Kind forNumber(int value) {
switch (value) {
case 1: return ERROR;
case 2: return WARNING;
@@ -4252,17 +3803,17 @@ public final class JavacRemoteProto {
internalGetValueMap() {
return internalValueMap;
}
- private static com.google.protobuf.Internal.EnumLiteMap
- internalValueMap =
+ private static final com.google.protobuf.Internal.EnumLiteMap<
+ Kind> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Kind findValueByNumber(int number) {
- return Kind.valueOf(number);
+ return Kind.forNumber(number);
}
};
private final int value;
- private Kind(int index, int value) {
+ private Kind(int value) {
this.value = value;
}
@@ -4270,9 +3821,8 @@ public final class JavacRemoteProto {
}
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_;
+ private int kind_;
/**
* required .org.jetbrains.javac.Message.Response.CompileMessage.Kind kind = 1;
*/
@@ -4283,12 +3833,29 @@ public final class JavacRemoteProto {
* required .org.jetbrains.javac.Message.Response.CompileMessage.Kind kind = 1;
*/
public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind getKind() {
- return kind_;
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind result = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind.forNumber(kind_);
+ return result == null ? org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind.ERROR : result;
+ }
+ /**
+ * required .org.jetbrains.javac.Message.Response.CompileMessage.Kind kind = 1;
+ */
+ private void setKind(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ kind_ = value.getNumber();
+ }
+ /**
+ * required .org.jetbrains.javac.Message.Response.CompileMessage.Kind kind = 1;
+ */
+ private void clearKind() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ kind_ = 1;
}
- // optional string text = 2;
public static final int TEXT_FIELD_NUMBER = 2;
- private java.lang.Object text_;
+ private java.lang.String text_;
/**
* optional string text = 2;
*/
@@ -4299,39 +3866,47 @@ public final class JavacRemoteProto {
* 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;
- }
+ return text_;
}
/**
* 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;
- }
+ return com.google.protobuf.ByteString.copyFromUtf8(text_);
+ }
+ /**
+ * optional string text = 2;
+ */
+ private void setText(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
+ text_ = value;
+ }
+ /**
+ * optional string text = 2;
+ */
+ private void clearText() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ text_ = getDefaultInstance().getText();
+ }
+ /**
+ * optional string text = 2;
+ */
+ private void setTextBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
+ text_ = value.toStringUtf8();
}
- // optional string source_uri = 3;
public static final int SOURCE_URI_FIELD_NUMBER = 3;
- private java.lang.Object sourceUri_;
+ private java.lang.String sourceUri_;
/**
* optional string source_uri = 3;
*/
@@ -4342,37 +3917,45 @@ public final class JavacRemoteProto {
* 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;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- sourceUri_ = s;
- }
- return s;
- }
+ return sourceUri_;
}
/**
* optional string source_uri = 3;
*/
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;
- }
+ return com.google.protobuf.ByteString.copyFromUtf8(sourceUri_);
+ }
+ /**
+ * optional string source_uri = 3;
+ */
+ private void setSourceUri(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
+ sourceUri_ = value;
+ }
+ /**
+ * optional string source_uri = 3;
+ */
+ private void clearSourceUri() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ sourceUri_ = getDefaultInstance().getSourceUri();
+ }
+ /**
+ * optional string source_uri = 3;
+ */
+ private void setSourceUriBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
+ sourceUri_ = value.toStringUtf8();
}
- // optional uint64 problem_begin_offset = 4;
public static final int PROBLEM_BEGIN_OFFSET_FIELD_NUMBER = 4;
private long problemBeginOffset_;
/**
@@ -4387,8 +3970,21 @@ public final class JavacRemoteProto {
public long getProblemBeginOffset() {
return problemBeginOffset_;
}
+ /**
+ * optional uint64 problem_begin_offset = 4;
+ */
+ private void setProblemBeginOffset(long value) {
+ bitField0_ |= 0x00000008;
+ problemBeginOffset_ = value;
+ }
+ /**
+ * optional uint64 problem_begin_offset = 4;
+ */
+ private void clearProblemBeginOffset() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ problemBeginOffset_ = 0L;
+ }
- // optional uint64 problem_end_offset = 5;
public static final int PROBLEM_END_OFFSET_FIELD_NUMBER = 5;
private long problemEndOffset_;
/**
@@ -4403,8 +3999,21 @@ public final class JavacRemoteProto {
public long getProblemEndOffset() {
return problemEndOffset_;
}
+ /**
+ * optional uint64 problem_end_offset = 5;
+ */
+ private void setProblemEndOffset(long value) {
+ bitField0_ |= 0x00000010;
+ problemEndOffset_ = value;
+ }
+ /**
+ * optional uint64 problem_end_offset = 5;
+ */
+ private void clearProblemEndOffset() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ problemEndOffset_ = 0L;
+ }
- // optional uint64 problem_location_offset = 6;
public static final int PROBLEM_LOCATION_OFFSET_FIELD_NUMBER = 6;
private long problemLocationOffset_;
/**
@@ -4419,8 +4028,21 @@ public final class JavacRemoteProto {
public long getProblemLocationOffset() {
return problemLocationOffset_;
}
+ /**
+ * optional uint64 problem_location_offset = 6;
+ */
+ private void setProblemLocationOffset(long value) {
+ bitField0_ |= 0x00000020;
+ problemLocationOffset_ = value;
+ }
+ /**
+ * optional uint64 problem_location_offset = 6;
+ */
+ private void clearProblemLocationOffset() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ problemLocationOffset_ = 0L;
+ }
- // optional uint64 line = 7;
public static final int LINE_FIELD_NUMBER = 7;
private long line_;
/**
@@ -4435,8 +4057,21 @@ public final class JavacRemoteProto {
public long getLine() {
return line_;
}
+ /**
+ * optional uint64 line = 7;
+ */
+ private void setLine(long value) {
+ bitField0_ |= 0x00000040;
+ line_ = value;
+ }
+ /**
+ * optional uint64 line = 7;
+ */
+ private void clearLine() {
+ bitField0_ = (bitField0_ & ~0x00000040);
+ line_ = 0L;
+ }
- // optional uint64 column = 8;
public static final int COLUMN_FIELD_NUMBER = 8;
private long column_;
/**
@@ -4451,41 +4086,31 @@ public final class JavacRemoteProto {
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;
+ /**
+ * optional uint64 column = 8;
+ */
+ private void setColumn(long value) {
+ bitField0_ |= 0x00000080;
+ column_ = value;
}
- 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;
+ /**
+ * optional uint64 column = 8;
+ */
+ private void clearColumn() {
+ bitField0_ = (bitField0_ & ~0x00000080);
+ column_ = 0L;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeEnum(1, kind_.getNumber());
+ output.writeEnum(1, kind_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeBytes(2, getTextBytes());
+ output.writeString(2, getText());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeBytes(3, getSourceUriBytes());
+ output.writeString(3, getSourceUri());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeUInt64(4, problemBeginOffset_);
@@ -4502,9 +4127,9 @@ public final class JavacRemoteProto {
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeUInt64(8, column_);
}
+ unknownFields.writeTo(output);
}
- private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
@@ -4512,15 +4137,15 @@ public final class JavacRemoteProto {
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(1, kind_.getNumber());
+ .computeEnumSize(1, kind_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(2, getTextBytes());
+ .computeStringSize(2, getText());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(3, getSourceUriBytes());
+ .computeStringSize(3, getSourceUri());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
@@ -4542,326 +4167,156 @@ public final class JavacRemoteProto {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(8, column_);
}
+ size += unknownFields.getSerializedSize();
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 PARSER.parseFrom(data);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
}
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 {
- return PARSER.parseFrom(data, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
}
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 PARSER.parseFrom(input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
}
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 PARSER.parseFrom(input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
public static Builder newBuilder(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage prototype) {
- return newBuilder().mergeFrom(prototype);
+ return DEFAULT_INSTANCE.toBuilder().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 {
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage, Builder> implements
+ // @@protoc_insertion_point(builder_implements:org.jetbrains.javac.Message.Response.CompileMessage)
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessageOrBuilder {
// Construct using org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.newBuilder()
private Builder() {
- maybeForceBuilderInitialization();
+ super(DEFAULT_INSTANCE);
}
- 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 Builder.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);
- 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()) {
- bitField0_ |= 0x00000002;
- text_ = other.text_;
-
- }
- if (other.hasSourceUri()) {
- bitField0_ |= 0x00000004;
- sourceUri_ = other.sourceUri_;
-
- }
- 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 {
- 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);
+ return instance.hasKind();
}
/**
* required .org.jetbrains.javac.Message.Response.CompileMessage.Kind kind = 1;
*/
public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind getKind() {
- return kind_;
+ return instance.getKind();
}
/**
* 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;
-
+ copyOnWrite();
+ instance.setKind(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;
-
+ copyOnWrite();
+ instance.clearKind();
return this;
}
- // optional string text = 2;
- private java.lang.Object text_ = "";
/**
* optional string text = 2;
*/
public boolean hasText() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return instance.hasText();
}
/**
* 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;
- }
+ return instance.getText();
}
/**
* 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;
- }
+ return instance.getTextBytes();
}
/**
* optional string text = 2;
*/
public Builder setText(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- text_ = value;
-
+ copyOnWrite();
+ instance.setText(value);
return this;
}
/**
* optional string text = 2;
*/
public Builder clearText() {
- bitField0_ = (bitField0_ & ~0x00000002);
- text_ = getDefaultInstance().getText();
-
+ copyOnWrite();
+ instance.clearText();
return this;
}
/**
@@ -4869,73 +4324,45 @@ public final class JavacRemoteProto {
*/
public Builder setTextBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- text_ = value;
-
+ copyOnWrite();
+ instance.setTextBytes(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);
+ return instance.hasSourceUri();
}
/**
* 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;
- }
+ return instance.getSourceUri();
}
/**
* 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;
- }
+ return instance.getSourceUriBytes();
}
/**
* optional string source_uri = 3;
*/
public Builder setSourceUri(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000004;
- sourceUri_ = value;
-
+ copyOnWrite();
+ instance.setSourceUri(value);
return this;
}
/**
* optional string source_uri = 3;
*/
public Builder clearSourceUri() {
- bitField0_ = (bitField0_ & ~0x00000004);
- sourceUri_ = getDefaultInstance().getSourceUri();
-
+ copyOnWrite();
+ instance.clearSourceUri();
return this;
}
/**
@@ -4943,195 +4370,337 @@ public final class JavacRemoteProto {
*/
public Builder setSourceUriBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000004;
- sourceUri_ = value;
-
+ copyOnWrite();
+ instance.setSourceUriBytes(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);
+ return instance.hasProblemBeginOffset();
}
/**
* optional uint64 problem_begin_offset = 4;
*/
public long getProblemBeginOffset() {
- return problemBeginOffset_;
+ return instance.getProblemBeginOffset();
}
/**
* optional uint64 problem_begin_offset = 4;
*/
public Builder setProblemBeginOffset(long value) {
- bitField0_ |= 0x00000008;
- problemBeginOffset_ = value;
-
+ copyOnWrite();
+ instance.setProblemBeginOffset(value);
return this;
}
/**
* optional uint64 problem_begin_offset = 4;
*/
public Builder clearProblemBeginOffset() {
- bitField0_ = (bitField0_ & ~0x00000008);
- problemBeginOffset_ = 0L;
-
+ copyOnWrite();
+ instance.clearProblemBeginOffset();
return this;
}
- // optional uint64 problem_end_offset = 5;
- private long problemEndOffset_ ;
/**
* optional uint64 problem_end_offset = 5;
*/
public boolean hasProblemEndOffset() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return instance.hasProblemEndOffset();
}
/**
* optional uint64 problem_end_offset = 5;
*/
public long getProblemEndOffset() {
- return problemEndOffset_;
+ return instance.getProblemEndOffset();
}
/**
* optional uint64 problem_end_offset = 5;
*/
public Builder setProblemEndOffset(long value) {
- bitField0_ |= 0x00000010;
- problemEndOffset_ = value;
-
+ copyOnWrite();
+ instance.setProblemEndOffset(value);
return this;
}
/**
* optional uint64 problem_end_offset = 5;
*/
public Builder clearProblemEndOffset() {
- bitField0_ = (bitField0_ & ~0x00000010);
- problemEndOffset_ = 0L;
-
+ copyOnWrite();
+ instance.clearProblemEndOffset();
return this;
}
- // optional uint64 problem_location_offset = 6;
- private long problemLocationOffset_ ;
/**
* optional uint64 problem_location_offset = 6;
*/
public boolean hasProblemLocationOffset() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ return instance.hasProblemLocationOffset();
}
/**
* optional uint64 problem_location_offset = 6;
*/
public long getProblemLocationOffset() {
- return problemLocationOffset_;
+ return instance.getProblemLocationOffset();
}
/**
* optional uint64 problem_location_offset = 6;
*/
public Builder setProblemLocationOffset(long value) {
- bitField0_ |= 0x00000020;
- problemLocationOffset_ = value;
-
+ copyOnWrite();
+ instance.setProblemLocationOffset(value);
return this;
}
/**
* optional uint64 problem_location_offset = 6;
*/
public Builder clearProblemLocationOffset() {
- bitField0_ = (bitField0_ & ~0x00000020);
- problemLocationOffset_ = 0L;
-
+ copyOnWrite();
+ instance.clearProblemLocationOffset();
return this;
}
- // optional uint64 line = 7;
- private long line_ ;
/**
* optional uint64 line = 7;
*/
public boolean hasLine() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ return instance.hasLine();
}
/**
* optional uint64 line = 7;
*/
public long getLine() {
- return line_;
+ return instance.getLine();
}
/**
* optional uint64 line = 7;
*/
public Builder setLine(long value) {
- bitField0_ |= 0x00000040;
- line_ = value;
-
+ copyOnWrite();
+ instance.setLine(value);
return this;
}
/**
* optional uint64 line = 7;
*/
public Builder clearLine() {
- bitField0_ = (bitField0_ & ~0x00000040);
- line_ = 0L;
-
+ copyOnWrite();
+ instance.clearLine();
return this;
}
- // optional uint64 column = 8;
- private long column_ ;
/**
* optional uint64 column = 8;
*/
public boolean hasColumn() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
+ return instance.hasColumn();
}
/**
* optional uint64 column = 8;
*/
public long getColumn() {
- return column_;
+ return instance.getColumn();
}
/**
* optional uint64 column = 8;
*/
public Builder setColumn(long value) {
- bitField0_ |= 0x00000080;
- column_ = value;
-
+ copyOnWrite();
+ instance.setColumn(value);
return this;
}
/**
* optional uint64 column = 8;
*/
public Builder clearColumn() {
- bitField0_ = (bitField0_ & ~0x00000080);
- column_ = 0L;
-
+ copyOnWrite();
+ instance.clearColumn();
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.javac.Message.Response.CompileMessage)
}
+ private byte memoizedIsInitialized = -1;
+ protected final Object dynamicMethod(
+ com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
+ Object arg0, Object arg1) {
+ switch (method) {
+ case NEW_MUTABLE_INSTANCE: {
+ return new org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage();
+ }
+ case IS_INITIALIZED: {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return DEFAULT_INSTANCE;
+ if (isInitialized == 0) return null;
- static {
- defaultInstance = new CompileMessage(true);
- defaultInstance.initFields();
+ boolean shouldMemoize = ((Boolean) arg0).booleanValue();
+ if (!hasKind()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ if (shouldMemoize) memoizedIsInitialized = 1;
+ return DEFAULT_INSTANCE;
+
+ }
+ case MAKE_IMMUTABLE: {
+ return null;
+ }
+ case NEW_BUILDER: {
+ return new Builder();
+ }
+ case VISIT: {
+ Visitor visitor = (Visitor) arg0;
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage other = (org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage) arg1;
+ kind_ = visitor.visitInt(hasKind(), kind_,
+ other.hasKind(), other.kind_);
+ text_ = visitor.visitString(
+ hasText(), text_,
+ other.hasText(), other.text_);
+ sourceUri_ = visitor.visitString(
+ hasSourceUri(), sourceUri_,
+ other.hasSourceUri(), other.sourceUri_);
+ problemBeginOffset_ = visitor.visitLong(
+ hasProblemBeginOffset(), problemBeginOffset_,
+ other.hasProblemBeginOffset(), other.problemBeginOffset_);
+ problemEndOffset_ = visitor.visitLong(
+ hasProblemEndOffset(), problemEndOffset_,
+ other.hasProblemEndOffset(), other.problemEndOffset_);
+ problemLocationOffset_ = visitor.visitLong(
+ hasProblemLocationOffset(), problemLocationOffset_,
+ other.hasProblemLocationOffset(), other.problemLocationOffset_);
+ line_ = visitor.visitLong(
+ hasLine(), line_,
+ other.hasLine(), other.line_);
+ column_ = visitor.visitLong(
+ hasColumn(), column_,
+ other.hasColumn(), other.column_);
+ if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor
+ .INSTANCE) {
+ bitField0_ |= other.bitField0_;
+ }
+ return this;
+ }
+ case MERGE_FROM_STREAM: {
+ com.google.protobuf.CodedInputStream input =
+ (com.google.protobuf.CodedInputStream) arg0;
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry =
+ (com.google.protobuf.ExtensionRegistryLite) arg1;
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(tag, input)) {
+ done = true;
+ }
+ break;
+ }
+ case 8: {
+ int rawValue = input.readEnum();
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind value = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Kind.forNumber(rawValue);
+ if (value == null) {
+ super.mergeVarintField(1, rawValue);
+ } else {
+ bitField0_ |= 0x00000001;
+ kind_ = rawValue;
+ }
+ break;
+ }
+ case 18: {
+ String s = input.readString();
+ bitField0_ |= 0x00000002;
+ text_ = s;
+ break;
+ }
+ case 26: {
+ String s = input.readString();
+ bitField0_ |= 0x00000004;
+ sourceUri_ = s;
+ break;
+ }
+ case 32: {
+ bitField0_ |= 0x00000008;
+ problemBeginOffset_ = input.readUInt64();
+ break;
+ }
+ case 40: {
+ bitField0_ |= 0x00000010;
+ problemEndOffset_ = input.readUInt64();
+ break;
+ }
+ case 48: {
+ bitField0_ |= 0x00000020;
+ problemLocationOffset_ = input.readUInt64();
+ break;
+ }
+ case 56: {
+ bitField0_ |= 0x00000040;
+ line_ = input.readUInt64();
+ break;
+ }
+ case 64: {
+ bitField0_ |= 0x00000080;
+ column_ = input.readUInt64();
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw new RuntimeException(e.setUnfinishedMessage(this));
+ } catch (java.io.IOException e) {
+ throw new RuntimeException(
+ new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this));
+ } finally {
+ }
+ }
+ case GET_DEFAULT_INSTANCE: {
+ return DEFAULT_INSTANCE;
+ }
+ case GET_PARSER: {
+ if (PARSER == null) { synchronized (org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.class) {
+ if (PARSER == null) {
+ PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE);
+ }
+ }
+ }
+ return PARSER;
+ }
+ }
+ throw new UnsupportedOperationException();
}
+
// @@protoc_insertion_point(class_scope:org.jetbrains.javac.Message.Response.CompileMessage)
+ private static final org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new CompileMessage();
+ DEFAULT_INSTANCE.makeImmutable();
+ }
+
+ public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static volatile com.google.protobuf.Parser PARSER;
+
+ public static com.google.protobuf.Parser parser() {
+ return DEFAULT_INSTANCE.getParserForType();
+ }
}
- public interface OutputObjectOrBuilder
- extends com.google.protobuf.MessageLiteOrBuilder {
+ public interface OutputObjectOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:org.jetbrains.javac.Message.Response.OutputObject)
+ com.google.protobuf.MessageLiteOrBuilder {
- // required .org.jetbrains.javac.Message.Response.OutputObject.Kind kind = 1;
/**
* required .org.jetbrains.javac.Message.Response.OutputObject.Kind kind = 1;
*/
@@ -5141,7 +4710,6 @@ public final class JavacRemoteProto {
*/
org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Kind getKind();
- // required string file_path = 2;
/**
* required string file_path = 2;
*/
@@ -5156,7 +4724,6 @@ public final class JavacRemoteProto {
com.google.protobuf.ByteString
getFilePathBytes();
- // optional string output_root = 3;
/**
* optional string output_root = 3;
*/
@@ -5171,7 +4738,6 @@ public final class JavacRemoteProto {
com.google.protobuf.ByteString
getOutputRootBytes();
- // optional string relative_path = 4;
/**
* optional string relative_path = 4;
*/
@@ -5186,7 +4752,6 @@ public final class JavacRemoteProto {
com.google.protobuf.ByteString
getRelativePathBytes();
- // optional string class_name = 5;
/**
* optional string class_name = 5;
*/
@@ -5201,7 +4766,6 @@ public final class JavacRemoteProto {
com.google.protobuf.ByteString
getClassNameBytes();
- // optional string source_uri = 6;
/**
* optional string source_uri = 6;
*/
@@ -5216,7 +4780,6 @@ public final class JavacRemoteProto {
com.google.protobuf.ByteString
getSourceUriBytes();
- // optional bytes content = 7;
/**
* optional bytes content = 7;
*/
@@ -5229,111 +4792,20 @@ public final class JavacRemoteProto {
/**
* 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);
-
+ public static final class OutputObject extends
+ com.google.protobuf.GeneratedMessageLite<
+ OutputObject, OutputObject.Builder> implements
+ // @@protoc_insertion_point(message_implements:org.jetbrains.javac.Message.Response.OutputObject)
+ OutputObjectOrBuilder {
+ private OutputObject() {
+ kind_ = 1;
+ filePath_ = "";
+ outputRoot_ = "";
+ relativePath_ = "";
+ className_ = "";
+ sourceUri_ = "";
+ content_ = com.google.protobuf.ByteString.EMPTY;
}
- 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) {
- 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.OutputObject.Kind value = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Kind.valueOf(rawValue);
- if (value != null) {
- bitField0_ |= 0x00000001;
- kind_ = value;
- }
- break;
- }
- case 18: {
- bitField0_ |= 0x00000002;
- filePath_ = input.readBytes();
- break;
- }
- case 26: {
- bitField0_ |= 0x00000004;
- outputRoot_ = input.readBytes();
- break;
- }
- case 34: {
- bitField0_ |= 0x00000008;
- relativePath_ = input.readBytes();
- break;
- }
- case 42: {
- bitField0_ |= 0x00000010;
- className_ = input.readBytes();
- break;
- }
- case 50: {
- bitField0_ |= 0x00000020;
- sourceUri_ = input.readBytes();
- break;
- }
- case 58: {
- bitField0_ |= 0x00000040;
- content_ = 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 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}
*/
@@ -5342,19 +4814,19 @@ public final class JavacRemoteProto {
/**
* SOURCE = 1;
*/
- SOURCE(0, 1),
+ SOURCE(1),
/**
* CLASS = 2;
*/
- CLASS(1, 2),
+ CLASS(2),
/**
* HTML = 3;
*/
- HTML(2, 3),
+ HTML(3),
/**
* OTHER = 4;
*/
- OTHER(3, 4),
+ OTHER(4),
;
/**
@@ -5375,9 +4847,19 @@ public final class JavacRemoteProto {
public static final int OTHER_VALUE = 4;
- public final int getNumber() { return value; }
+ public final int getNumber() {
+ return value;
+ }
+ /**
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
public static Kind valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static Kind forNumber(int value) {
switch (value) {
case 1: return SOURCE;
case 2: return CLASS;
@@ -5391,17 +4873,17 @@ public final class JavacRemoteProto {
internalGetValueMap() {
return internalValueMap;
}
- private static com.google.protobuf.Internal.EnumLiteMap
- internalValueMap =
+ private static final com.google.protobuf.Internal.EnumLiteMap<
+ Kind> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Kind findValueByNumber(int number) {
- return Kind.valueOf(number);
+ return Kind.forNumber(number);
}
};
private final int value;
- private Kind(int index, int value) {
+ private Kind(int value) {
this.value = value;
}
@@ -5409,9 +4891,8 @@ public final class JavacRemoteProto {
}
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_;
+ private int kind_;
/**
* required .org.jetbrains.javac.Message.Response.OutputObject.Kind kind = 1;
*/
@@ -5422,12 +4903,29 @@ public final class JavacRemoteProto {
* required .org.jetbrains.javac.Message.Response.OutputObject.Kind kind = 1;
*/
public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Kind getKind() {
- return kind_;
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Kind result = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Kind.forNumber(kind_);
+ return result == null ? org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Kind.SOURCE : result;
+ }
+ /**
+ * required .org.jetbrains.javac.Message.Response.OutputObject.Kind kind = 1;
+ */
+ private void setKind(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Kind value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ kind_ = value.getNumber();
+ }
+ /**
+ * required .org.jetbrains.javac.Message.Response.OutputObject.Kind kind = 1;
+ */
+ private void clearKind() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ kind_ = 1;
}
- // required string file_path = 2;
public static final int FILE_PATH_FIELD_NUMBER = 2;
- private java.lang.Object filePath_;
+ private java.lang.String filePath_;
/**
* required string file_path = 2;
*/
@@ -5438,39 +4936,47 @@ public final class JavacRemoteProto {
* 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;
- }
+ return filePath_;
}
/**
* 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;
- }
+ return com.google.protobuf.ByteString.copyFromUtf8(filePath_);
+ }
+ /**
+ * required string file_path = 2;
+ */
+ private void setFilePath(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
+ filePath_ = value;
+ }
+ /**
+ * required string file_path = 2;
+ */
+ private void clearFilePath() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ filePath_ = getDefaultInstance().getFilePath();
+ }
+ /**
+ * required string file_path = 2;
+ */
+ private void setFilePathBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
+ filePath_ = value.toStringUtf8();
}
- // optional string output_root = 3;
public static final int OUTPUT_ROOT_FIELD_NUMBER = 3;
- private java.lang.Object outputRoot_;
+ private java.lang.String outputRoot_;
/**
* optional string output_root = 3;
*/
@@ -5481,39 +4987,47 @@ public final class JavacRemoteProto {
* 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;
- }
+ return outputRoot_;
}
/**
* 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;
- }
+ return com.google.protobuf.ByteString.copyFromUtf8(outputRoot_);
+ }
+ /**
+ * optional string output_root = 3;
+ */
+ private void setOutputRoot(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
+ outputRoot_ = value;
+ }
+ /**
+ * optional string output_root = 3;
+ */
+ private void clearOutputRoot() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ outputRoot_ = getDefaultInstance().getOutputRoot();
+ }
+ /**
+ * optional string output_root = 3;
+ */
+ private void setOutputRootBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
+ outputRoot_ = value.toStringUtf8();
}
- // optional string relative_path = 4;
public static final int RELATIVE_PATH_FIELD_NUMBER = 4;
- private java.lang.Object relativePath_;
+ private java.lang.String relativePath_;
/**
* optional string relative_path = 4;
*/
@@ -5524,39 +5038,47 @@ public final class JavacRemoteProto {
* 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;
- }
+ return relativePath_;
}
/**
* 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;
- }
+ return com.google.protobuf.ByteString.copyFromUtf8(relativePath_);
+ }
+ /**
+ * optional string relative_path = 4;
+ */
+ private void setRelativePath(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000008;
+ relativePath_ = value;
+ }
+ /**
+ * optional string relative_path = 4;
+ */
+ private void clearRelativePath() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ relativePath_ = getDefaultInstance().getRelativePath();
+ }
+ /**
+ * optional string relative_path = 4;
+ */
+ private void setRelativePathBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000008;
+ relativePath_ = value.toStringUtf8();
}
- // optional string class_name = 5;
public static final int CLASS_NAME_FIELD_NUMBER = 5;
- private java.lang.Object className_;
+ private java.lang.String className_;
/**
* optional string class_name = 5;
*/
@@ -5567,39 +5089,47 @@ public final class JavacRemoteProto {
* 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;
- }
+ return className_;
}
/**
* 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;
- }
+ return com.google.protobuf.ByteString.copyFromUtf8(className_);
+ }
+ /**
+ * optional string class_name = 5;
+ */
+ private void setClassName(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000010;
+ className_ = value;
+ }
+ /**
+ * optional string class_name = 5;
+ */
+ private void clearClassName() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ className_ = getDefaultInstance().getClassName();
+ }
+ /**
+ * optional string class_name = 5;
+ */
+ private void setClassNameBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000010;
+ className_ = value.toStringUtf8();
}
- // optional string source_uri = 6;
public static final int SOURCE_URI_FIELD_NUMBER = 6;
- private java.lang.Object sourceUri_;
+ private java.lang.String sourceUri_;
/**
* optional string source_uri = 6;
*/
@@ -5610,37 +5140,45 @@ public final class JavacRemoteProto {
* 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;
- }
+ return sourceUri_;
}
/**
* 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;
- }
+ return com.google.protobuf.ByteString.copyFromUtf8(sourceUri_);
+ }
+ /**
+ * optional string source_uri = 6;
+ */
+ private void setSourceUri(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000020;
+ sourceUri_ = value;
+ }
+ /**
+ * optional string source_uri = 6;
+ */
+ private void clearSourceUri() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ sourceUri_ = getDefaultInstance().getSourceUri();
+ }
+ /**
+ * optional string source_uri = 6;
+ */
+ private void setSourceUriBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000020;
+ sourceUri_ = value.toStringUtf8();
}
- // optional bytes content = 7;
public static final int CONTENT_FIELD_NUMBER = 7;
private com.google.protobuf.ByteString content_;
/**
@@ -5655,60 +5193,50 @@ public final class JavacRemoteProto {
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;
+ /**
+ * optional bytes content = 7;
+ */
+ private void setContent(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000040;
+ content_ = value;
}
- 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;
+ /**
+ * optional bytes content = 7;
+ */
+ private void clearContent() {
+ bitField0_ = (bitField0_ & ~0x00000040);
+ content_ = getDefaultInstance().getContent();
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeEnum(1, kind_.getNumber());
+ output.writeEnum(1, kind_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeBytes(2, getFilePathBytes());
+ output.writeString(2, getFilePath());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeBytes(3, getOutputRootBytes());
+ output.writeString(3, getOutputRoot());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
- output.writeBytes(4, getRelativePathBytes());
+ output.writeString(4, getRelativePath());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
- output.writeBytes(5, getClassNameBytes());
+ output.writeString(5, getClassName());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
- output.writeBytes(6, getSourceUriBytes());
+ output.writeString(6, getSourceUri());
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeBytes(7, content_);
}
+ unknownFields.writeTo(output);
}
- private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
@@ -5716,353 +5244,182 @@ public final class JavacRemoteProto {
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(1, kind_.getNumber());
+ .computeEnumSize(1, kind_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(2, getFilePathBytes());
+ .computeStringSize(2, getFilePath());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(3, getOutputRootBytes());
+ .computeStringSize(3, getOutputRoot());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(4, getRelativePathBytes());
+ .computeStringSize(4, getRelativePath());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(5, getClassNameBytes());
+ .computeStringSize(5, getClassName());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(6, getSourceUriBytes());
+ .computeStringSize(6, getSourceUri());
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(7, content_);
}
+ size += unknownFields.getSerializedSize();
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);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, 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);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, 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);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, 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);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, 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);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, 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);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, 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);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, 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);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, 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);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
public static Builder newBuilder(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject prototype) {
- return newBuilder().mergeFrom(prototype);
+ return DEFAULT_INSTANCE.toBuilder().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 {
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject, Builder> implements
+ // @@protoc_insertion_point(builder_implements:org.jetbrains.javac.Message.Response.OutputObject)
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObjectOrBuilder {
// Construct using org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.newBuilder()
private Builder() {
- maybeForceBuilderInitialization();
+ super(DEFAULT_INSTANCE);
}
- 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 Builder.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);
+ return instance.hasKind();
}
/**
* required .org.jetbrains.javac.Message.Response.OutputObject.Kind kind = 1;
*/
public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Kind getKind() {
- return kind_;
+ return instance.getKind();
}
/**
* 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();
- }
- bitField0_ |= 0x00000001;
- kind_ = value;
-
+ copyOnWrite();
+ instance.setKind(value);
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;
-
+ copyOnWrite();
+ instance.clearKind();
return this;
}
- // required string file_path = 2;
- private java.lang.Object filePath_ = "";
/**
* required string file_path = 2;
*/
public boolean hasFilePath() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return instance.hasFilePath();
}
/**
* required string file_path = 2;
*/
public java.lang.String getFilePath() {
- java.lang.Object ref = filePath_;
- if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- filePath_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
+ return instance.getFilePath();
}
/**
* 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;
- }
+ return instance.getFilePathBytes();
}
/**
* required string file_path = 2;
*/
public Builder setFilePath(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- filePath_ = value;
-
+ copyOnWrite();
+ instance.setFilePath(value);
return this;
}
/**
* required string file_path = 2;
*/
public Builder clearFilePath() {
- bitField0_ = (bitField0_ & ~0x00000002);
- filePath_ = getDefaultInstance().getFilePath();
-
+ copyOnWrite();
+ instance.clearFilePath();
return this;
}
/**
@@ -6070,73 +5427,45 @@ public final class JavacRemoteProto {
*/
public Builder setFilePathBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- filePath_ = value;
-
+ copyOnWrite();
+ instance.setFilePathBytes(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);
+ return instance.hasOutputRoot();
}
/**
* optional string output_root = 3;
*/
public java.lang.String getOutputRoot() {
- java.lang.Object ref = outputRoot_;
- if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- outputRoot_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
+ return instance.getOutputRoot();
}
/**
* 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;
- }
+ return instance.getOutputRootBytes();
}
/**
* optional string output_root = 3;
*/
public Builder setOutputRoot(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000004;
- outputRoot_ = value;
-
+ copyOnWrite();
+ instance.setOutputRoot(value);
return this;
}
/**
* optional string output_root = 3;
*/
public Builder clearOutputRoot() {
- bitField0_ = (bitField0_ & ~0x00000004);
- outputRoot_ = getDefaultInstance().getOutputRoot();
-
+ copyOnWrite();
+ instance.clearOutputRoot();
return this;
}
/**
@@ -6144,73 +5473,45 @@ public final class JavacRemoteProto {
*/
public Builder setOutputRootBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000004;
- outputRoot_ = value;
-
+ copyOnWrite();
+ instance.setOutputRootBytes(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);
+ return instance.hasRelativePath();
}
/**
* optional string relative_path = 4;
*/
public java.lang.String getRelativePath() {
- java.lang.Object ref = relativePath_;
- if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- relativePath_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
+ return instance.getRelativePath();
}
/**
* 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;
- }
+ return instance.getRelativePathBytes();
}
/**
* optional string relative_path = 4;
*/
public Builder setRelativePath(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000008;
- relativePath_ = value;
-
+ copyOnWrite();
+ instance.setRelativePath(value);
return this;
}
/**
* optional string relative_path = 4;
*/
public Builder clearRelativePath() {
- bitField0_ = (bitField0_ & ~0x00000008);
- relativePath_ = getDefaultInstance().getRelativePath();
-
+ copyOnWrite();
+ instance.clearRelativePath();
return this;
}
/**
@@ -6218,73 +5519,45 @@ public final class JavacRemoteProto {
*/
public Builder setRelativePathBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000008;
- relativePath_ = value;
-
+ copyOnWrite();
+ instance.setRelativePathBytes(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);
+ return instance.hasClassName();
}
/**
* optional string class_name = 5;
*/
public java.lang.String getClassName() {
- java.lang.Object ref = className_;
- if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- className_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
+ return instance.getClassName();
}
/**
* 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;
- }
+ return instance.getClassNameBytes();
}
/**
* optional string class_name = 5;
*/
public Builder setClassName(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000010;
- className_ = value;
-
+ copyOnWrite();
+ instance.setClassName(value);
return this;
}
/**
* optional string class_name = 5;
*/
public Builder clearClassName() {
- bitField0_ = (bitField0_ & ~0x00000010);
- className_ = getDefaultInstance().getClassName();
-
+ copyOnWrite();
+ instance.clearClassName();
return this;
}
/**
@@ -6292,73 +5565,45 @@ public final class JavacRemoteProto {
*/
public Builder setClassNameBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000010;
- className_ = value;
-
+ copyOnWrite();
+ instance.setClassNameBytes(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);
+ return instance.hasSourceUri();
}
/**
* optional string source_uri = 6;
*/
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;
- }
+ return instance.getSourceUri();
}
/**
* 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;
- }
+ return instance.getSourceUriBytes();
}
/**
* optional string source_uri = 6;
*/
public Builder setSourceUri(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000020;
- sourceUri_ = value;
-
+ copyOnWrite();
+ instance.setSourceUri(value);
return this;
}
/**
* optional string source_uri = 6;
*/
public Builder clearSourceUri() {
- bitField0_ = (bitField0_ & ~0x00000020);
- sourceUri_ = getDefaultInstance().getSourceUri();
-
+ copyOnWrite();
+ instance.clearSourceUri();
return this;
}
/**
@@ -6366,66 +5611,222 @@ public final class JavacRemoteProto {
*/
public Builder setSourceUriBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000020;
- sourceUri_ = value;
-
+ copyOnWrite();
+ instance.setSourceUriBytes(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);
+ return instance.hasContent();
}
/**
* optional bytes content = 7;
*/
public com.google.protobuf.ByteString getContent() {
- return content_;
+ return instance.getContent();
}
/**
* optional bytes content = 7;
*/
public Builder setContent(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000040;
- content_ = value;
-
+ copyOnWrite();
+ instance.setContent(value);
return this;
}
/**
* optional bytes content = 7;
*/
public Builder clearContent() {
- bitField0_ = (bitField0_ & ~0x00000040);
- content_ = getDefaultInstance().getContent();
-
+ copyOnWrite();
+ instance.clearContent();
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.javac.Message.Response.OutputObject)
}
+ private byte memoizedIsInitialized = -1;
+ protected final Object dynamicMethod(
+ com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
+ Object arg0, Object arg1) {
+ switch (method) {
+ case NEW_MUTABLE_INSTANCE: {
+ return new org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject();
+ }
+ case IS_INITIALIZED: {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return DEFAULT_INSTANCE;
+ if (isInitialized == 0) return null;
- static {
- defaultInstance = new OutputObject(true);
- defaultInstance.initFields();
+ boolean shouldMemoize = ((Boolean) arg0).booleanValue();
+ if (!hasKind()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ if (!hasFilePath()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ if (shouldMemoize) memoizedIsInitialized = 1;
+ return DEFAULT_INSTANCE;
+
+ }
+ case MAKE_IMMUTABLE: {
+ return null;
+ }
+ case NEW_BUILDER: {
+ return new Builder();
+ }
+ case VISIT: {
+ Visitor visitor = (Visitor) arg0;
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject other = (org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject) arg1;
+ kind_ = visitor.visitInt(hasKind(), kind_,
+ other.hasKind(), other.kind_);
+ filePath_ = visitor.visitString(
+ hasFilePath(), filePath_,
+ other.hasFilePath(), other.filePath_);
+ outputRoot_ = visitor.visitString(
+ hasOutputRoot(), outputRoot_,
+ other.hasOutputRoot(), other.outputRoot_);
+ relativePath_ = visitor.visitString(
+ hasRelativePath(), relativePath_,
+ other.hasRelativePath(), other.relativePath_);
+ className_ = visitor.visitString(
+ hasClassName(), className_,
+ other.hasClassName(), other.className_);
+ sourceUri_ = visitor.visitString(
+ hasSourceUri(), sourceUri_,
+ other.hasSourceUri(), other.sourceUri_);
+ content_ = visitor.visitByteString(
+ hasContent(), content_,
+ other.hasContent(), other.content_);
+ if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor
+ .INSTANCE) {
+ bitField0_ |= other.bitField0_;
+ }
+ return this;
+ }
+ case MERGE_FROM_STREAM: {
+ com.google.protobuf.CodedInputStream input =
+ (com.google.protobuf.CodedInputStream) arg0;
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry =
+ (com.google.protobuf.ExtensionRegistryLite) arg1;
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(tag, input)) {
+ done = true;
+ }
+ break;
+ }
+ case 8: {
+ int rawValue = input.readEnum();
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Kind value = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Kind.forNumber(rawValue);
+ if (value == null) {
+ super.mergeVarintField(1, rawValue);
+ } else {
+ bitField0_ |= 0x00000001;
+ kind_ = rawValue;
+ }
+ break;
+ }
+ case 18: {
+ String s = input.readString();
+ bitField0_ |= 0x00000002;
+ filePath_ = s;
+ break;
+ }
+ case 26: {
+ String s = input.readString();
+ bitField0_ |= 0x00000004;
+ outputRoot_ = s;
+ break;
+ }
+ case 34: {
+ String s = input.readString();
+ bitField0_ |= 0x00000008;
+ relativePath_ = s;
+ break;
+ }
+ case 42: {
+ String s = input.readString();
+ bitField0_ |= 0x00000010;
+ className_ = s;
+ break;
+ }
+ case 50: {
+ String s = input.readString();
+ bitField0_ |= 0x00000020;
+ sourceUri_ = s;
+ break;
+ }
+ case 58: {
+ bitField0_ |= 0x00000040;
+ content_ = input.readBytes();
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw new RuntimeException(e.setUnfinishedMessage(this));
+ } catch (java.io.IOException e) {
+ throw new RuntimeException(
+ new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this));
+ } finally {
+ }
+ }
+ case GET_DEFAULT_INSTANCE: {
+ return DEFAULT_INSTANCE;
+ }
+ case GET_PARSER: {
+ if (PARSER == null) { synchronized (org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.class) {
+ if (PARSER == null) {
+ PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE);
+ }
+ }
+ }
+ return PARSER;
+ }
+ }
+ throw new UnsupportedOperationException();
}
+
// @@protoc_insertion_point(class_scope:org.jetbrains.javac.Message.Response.OutputObject)
+ private static final org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new OutputObject();
+ DEFAULT_INSTANCE.makeImmutable();
+ }
+
+ public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static volatile com.google.protobuf.Parser PARSER;
+
+ public static com.google.protobuf.Parser parser() {
+ return DEFAULT_INSTANCE.getParserForType();
+ }
}
- public interface ClassDataOrBuilder
- extends com.google.protobuf.MessageLiteOrBuilder {
+ public interface ClassDataOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:org.jetbrains.javac.Message.Response.ClassData)
+ com.google.protobuf.MessageLiteOrBuilder {
- // required string class_name = 1;
/**
* required string class_name = 1;
*/
@@ -6440,12 +5841,11 @@ public final class JavacRemoteProto {
com.google.protobuf.ByteString
getClassNameBytes();
- // repeated string import_statement = 2;
/**
* repeated string import_statement = 2;
*/
- java.util.List
- getImportStatementList();
+ java.util.List
+ getImportStatementList();
/**
* repeated string import_statement = 2;
*/
@@ -6460,12 +5860,11 @@ public final class JavacRemoteProto {
com.google.protobuf.ByteString
getImportStatementBytes(int index);
- // repeated string static_import = 3;
/**
* repeated string static_import = 3;
*/
- java.util.List
- getStaticImportList();
+ java.util.List
+ getStaticImportList();
/**
* repeated string static_import = 3;
*/
@@ -6480,12 +5879,11 @@ public final class JavacRemoteProto {
com.google.protobuf.ByteString
getStaticImportBytes(int index);
- // repeated string identifier = 4;
/**
* repeated string identifier = 4;
*/
- java.util.List
- getIdentifierList();
+ java.util.List
+ getIdentifierList();
/**
* repeated string identifier = 4;
*/
@@ -6503,114 +5901,20 @@ public final class JavacRemoteProto {
/**
* 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) {
- super(builder);
-
+ public static final class ClassData extends
+ com.google.protobuf.GeneratedMessageLite<
+ ClassData, ClassData.Builder> implements
+ // @@protoc_insertion_point(message_implements:org.jetbrains.javac.Message.Response.ClassData)
+ ClassDataOrBuilder {
+ private ClassData() {
+ className_ = "";
+ importStatement_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
+ staticImport_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
+ identifier_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
- 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_;
+ private java.lang.String className_;
/**
* required string class_name = 1;
*/
@@ -6621,44 +5925,51 @@ public final class JavacRemoteProto {
* required string class_name = 1;
*/
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;
- }
+ return className_;
}
/**
* required string class_name = 1;
*/
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;
- }
+ return com.google.protobuf.ByteString.copyFromUtf8(className_);
+ }
+ /**
+ * required string class_name = 1;
+ */
+ private void setClassName(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ className_ = value;
+ }
+ /**
+ * required string class_name = 1;
+ */
+ private void clearClassName() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ className_ = getDefaultInstance().getClassName();
+ }
+ /**
+ * required string class_name = 1;
+ */
+ private void setClassNameBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ className_ = value.toStringUtf8();
}
- // repeated string import_statement = 2;
public static final int IMPORT_STATEMENT_FIELD_NUMBER = 2;
- private com.google.protobuf.LazyStringList importStatement_;
+ private com.google.protobuf.Internal.ProtobufList importStatement_;
/**
* repeated string import_statement = 2;
*/
- public java.util.List
- getImportStatementList() {
+ public java.util.List getImportStatementList() {
return importStatement_;
}
/**
@@ -6678,17 +5989,70 @@ public final class JavacRemoteProto {
*/
public com.google.protobuf.ByteString
getImportStatementBytes(int index) {
- return importStatement_.getByteString(index);
+ return com.google.protobuf.ByteString.copyFromUtf8(
+ importStatement_.get(index));
+ }
+ private void ensureImportStatementIsMutable() {
+ if (!importStatement_.isModifiable()) {
+ importStatement_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(importStatement_);
+ }
+ }
+ /**
+ * repeated string import_statement = 2;
+ */
+ private void setImportStatement(
+ int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureImportStatementIsMutable();
+ importStatement_.set(index, value);
+ }
+ /**
+ * repeated string import_statement = 2;
+ */
+ private void addImportStatement(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureImportStatementIsMutable();
+ importStatement_.add(value);
+ }
+ /**
+ * repeated string import_statement = 2;
+ */
+ private void addAllImportStatement(
+ java.lang.Iterable values) {
+ ensureImportStatementIsMutable();
+ com.google.protobuf.AbstractMessageLite.addAll(
+ values, importStatement_);
+ }
+ /**
+ * repeated string import_statement = 2;
+ */
+ private void clearImportStatement() {
+ importStatement_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
+ }
+ /**
+ * repeated string import_statement = 2;
+ */
+ private void addImportStatementBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureImportStatementIsMutable();
+ importStatement_.add(value.toStringUtf8());
}
- // repeated string static_import = 3;
public static final int STATIC_IMPORT_FIELD_NUMBER = 3;
- private com.google.protobuf.LazyStringList staticImport_;
+ private com.google.protobuf.Internal.ProtobufList staticImport_;
/**
* repeated string static_import = 3;
*/
- public java.util.List
- getStaticImportList() {
+ public java.util.List getStaticImportList() {
return staticImport_;
}
/**
@@ -6708,17 +6072,70 @@ public final class JavacRemoteProto {
*/
public com.google.protobuf.ByteString
getStaticImportBytes(int index) {
- return staticImport_.getByteString(index);
+ return com.google.protobuf.ByteString.copyFromUtf8(
+ staticImport_.get(index));
+ }
+ private void ensureStaticImportIsMutable() {
+ if (!staticImport_.isModifiable()) {
+ staticImport_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(staticImport_);
+ }
+ }
+ /**
+ * repeated string static_import = 3;
+ */
+ private void setStaticImport(
+ int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureStaticImportIsMutable();
+ staticImport_.set(index, value);
+ }
+ /**
+ * repeated string static_import = 3;
+ */
+ private void addStaticImport(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureStaticImportIsMutable();
+ staticImport_.add(value);
+ }
+ /**
+ * repeated string static_import = 3;
+ */
+ private void addAllStaticImport(
+ java.lang.Iterable values) {
+ ensureStaticImportIsMutable();
+ com.google.protobuf.AbstractMessageLite.addAll(
+ values, staticImport_);
+ }
+ /**
+ * repeated string static_import = 3;
+ */
+ private void clearStaticImport() {
+ staticImport_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
+ }
+ /**
+ * repeated string static_import = 3;
+ */
+ private void addStaticImportBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureStaticImportIsMutable();
+ staticImport_.add(value.toStringUtf8());
}
- // repeated string identifier = 4;
public static final int IDENTIFIER_FIELD_NUMBER = 4;
- private com.google.protobuf.LazyStringList identifier_;
+ private com.google.protobuf.Internal.ProtobufList identifier_;
/**
* repeated string identifier = 4;
*/
- public java.util.List
- getIdentifierList() {
+ public java.util.List getIdentifierList() {
return identifier_;
}
/**
@@ -6738,46 +6155,81 @@ public final class JavacRemoteProto {
*/
public com.google.protobuf.ByteString
getIdentifierBytes(int index) {
- return identifier_.getByteString(index);
+ return com.google.protobuf.ByteString.copyFromUtf8(
+ identifier_.get(index));
}
-
- private void initFields() {
- className_ = "";
- importStatement_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- staticImport_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- identifier_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ private void ensureIdentifierIsMutable() {
+ if (!identifier_.isModifiable()) {
+ identifier_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(identifier_);
+ }
}
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasClassName()) {
- memoizedIsInitialized = 0;
- return false;
- }
- memoizedIsInitialized = 1;
- return true;
+ /**
+ * repeated string identifier = 4;
+ */
+ private void setIdentifier(
+ int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureIdentifierIsMutable();
+ identifier_.set(index, value);
+ }
+ /**
+ * repeated string identifier = 4;
+ */
+ private void addIdentifier(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureIdentifierIsMutable();
+ identifier_.add(value);
+ }
+ /**
+ * repeated string identifier = 4;
+ */
+ private void addAllIdentifier(
+ java.lang.Iterable values) {
+ ensureIdentifierIsMutable();
+ com.google.protobuf.AbstractMessageLite.addAll(
+ values, identifier_);
+ }
+ /**
+ * repeated string identifier = 4;
+ */
+ private void clearIdentifier() {
+ identifier_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
+ }
+ /**
+ * repeated string identifier = 4;
+ */
+ private void addIdentifierBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureIdentifierIsMutable();
+ identifier_.add(value.toStringUtf8());
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeBytes(1, getClassNameBytes());
+ output.writeString(1, getClassName());
}
for (int i = 0; i < importStatement_.size(); i++) {
- output.writeBytes(2, importStatement_.getByteString(i));
+ output.writeString(2, importStatement_.get(i));
}
for (int i = 0; i < staticImport_.size(); i++) {
- output.writeBytes(3, staticImport_.getByteString(i));
+ output.writeString(3, staticImport_.get(i));
}
for (int i = 0; i < identifier_.size(); i++) {
- output.writeBytes(4, identifier_.getByteString(i));
+ output.writeString(4, identifier_.get(i));
}
+ unknownFields.writeTo(output);
}
- private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
@@ -6785,13 +6237,13 @@ public final class JavacRemoteProto {
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(1, getClassNameBytes());
+ .computeStringSize(1, getClassName());
}
{
int dataSize = 0;
for (int i = 0; i < importStatement_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
- .computeBytesSizeNoTag(importStatement_.getByteString(i));
+ .computeStringSizeNoTag(importStatement_.get(i));
}
size += dataSize;
size += 1 * getImportStatementList().size();
@@ -6800,7 +6252,7 @@ public final class JavacRemoteProto {
int dataSize = 0;
for (int i = 0; i < staticImport_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
- .computeBytesSizeNoTag(staticImport_.getByteString(i));
+ .computeStringSizeNoTag(staticImport_.get(i));
}
size += dataSize;
size += 1 * getStaticImportList().size();
@@ -6809,284 +6261,132 @@ public final class JavacRemoteProto {
int dataSize = 0;
for (int i = 0; i < identifier_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
- .computeBytesSizeNoTag(identifier_.getByteString(i));
+ .computeStringSizeNoTag(identifier_.get(i));
}
size += dataSize;
size += 1 * getIdentifierList().size();
}
+ size += unknownFields.getSerializedSize();
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
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);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
public static Builder newBuilder(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData prototype) {
- return newBuilder().mergeFrom(prototype);
+ return DEFAULT_INSTANCE.toBuilder().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>
- implements org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassDataOrBuilder {
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData, Builder> implements
+ // @@protoc_insertion_point(builder_implements:org.jetbrains.javac.Message.Response.ClassData)
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassDataOrBuilder {
// Construct using org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData.newBuilder()
private Builder() {
- maybeForceBuilderInitialization();
+ super(DEFAULT_INSTANCE);
}
- private void maybeForceBuilderInitialization() {
- }
- private static Builder create() {
- return new Builder();
- }
- public Builder clear() {
- super.clear();
- className_ = "";
- bitField0_ = (bitField0_ & ~0x00000001);
- importStatement_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
- staticImport_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
- identifier_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- 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()) {
- throw Builder.newUninitializedMessageException(result);
- }
- 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_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.className_ = className_;
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- importStatement_ = new com.google.protobuf.UnmodifiableLazyStringList(
- importStatement_);
- bitField0_ = (bitField0_ & ~0x00000002);
- }
- result.importStatement_ = importStatement_;
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- staticImport_ = new com.google.protobuf.UnmodifiableLazyStringList(
- staticImport_);
- bitField0_ = (bitField0_ & ~0x00000004);
- }
- result.staticImport_ = staticImport_;
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- identifier_ = new com.google.protobuf.UnmodifiableLazyStringList(
- identifier_);
- bitField0_ = (bitField0_ & ~0x00000008);
- }
- result.identifier_ = identifier_;
- 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_;
-
- }
- if (!other.importStatement_.isEmpty()) {
- if (importStatement_.isEmpty()) {
- importStatement_ = other.importStatement_;
- bitField0_ = (bitField0_ & ~0x00000002);
- } else {
- ensureImportStatementIsMutable();
- importStatement_.addAll(other.importStatement_);
- }
-
- }
- if (!other.staticImport_.isEmpty()) {
- if (staticImport_.isEmpty()) {
- staticImport_ = other.staticImport_;
- bitField0_ = (bitField0_ & ~0x00000004);
- } else {
- ensureStaticImportIsMutable();
- staticImport_.addAll(other.staticImport_);
- }
-
- }
- if (!other.identifier_.isEmpty()) {
- if (identifier_.isEmpty()) {
- identifier_ = other.identifier_;
- bitField0_ = (bitField0_ & ~0x00000008);
- } else {
- ensureIdentifierIsMutable();
- identifier_.addAll(other.identifier_);
- }
-
- }
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasClassName()) {
-
- 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.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);
- }
- }
- 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);
+ return instance.hasClassName();
}
/**
* required string class_name = 1;
*/
public java.lang.String getClassName() {
- java.lang.Object ref = className_;
- if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- className_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
+ return instance.getClassName();
}
/**
* 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;
- }
+ return instance.getClassNameBytes();
}
/**
* required string class_name = 1;
*/
public Builder setClassName(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- className_ = value;
-
+ copyOnWrite();
+ instance.setClassName(value);
return this;
}
/**
* required string class_name = 1;
*/
public Builder clearClassName() {
- bitField0_ = (bitField0_ & ~0x00000001);
- className_ = getDefaultInstance().getClassName();
-
+ copyOnWrite();
+ instance.clearClassName();
return this;
}
/**
@@ -7094,60 +6394,45 @@ public final class JavacRemoteProto {
*/
public Builder setClassNameBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- className_ = value;
-
+ copyOnWrite();
+ instance.setClassNameBytes(value);
return this;
}
- // repeated string import_statement = 2;
- private com.google.protobuf.LazyStringList importStatement_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- private void ensureImportStatementIsMutable() {
- if (!((bitField0_ & 0x00000002) == 0x00000002)) {
- importStatement_ = new com.google.protobuf.LazyStringArrayList(importStatement_);
- bitField0_ |= 0x00000002;
- }
- }
/**
* repeated string import_statement = 2;
*/
- public java.util.List
+ public java.util.List
getImportStatementList() {
- return java.util.Collections.unmodifiableList(importStatement_);
+ return java.util.Collections.unmodifiableList(
+ instance.getImportStatementList());
}
/**
* repeated string import_statement = 2;
*/
public int getImportStatementCount() {
- return importStatement_.size();
+ return instance.getImportStatementCount();
}
/**
* repeated string import_statement = 2;
*/
public java.lang.String getImportStatement(int index) {
- return importStatement_.get(index);
+ return instance.getImportStatement(index);
}
/**
* repeated string import_statement = 2;
*/
public com.google.protobuf.ByteString
getImportStatementBytes(int index) {
- return importStatement_.getByteString(index);
+ return instance.getImportStatementBytes(index);
}
/**
* repeated string import_statement = 2;
*/
public Builder setImportStatement(
int index, java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureImportStatementIsMutable();
- importStatement_.set(index, value);
-
+ copyOnWrite();
+ instance.setImportStatement(index, value);
return this;
}
/**
@@ -7155,12 +6440,8 @@ public final class JavacRemoteProto {
*/
public Builder addImportStatement(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureImportStatementIsMutable();
- importStatement_.add(value);
-
+ copyOnWrite();
+ instance.addImportStatement(value);
return this;
}
/**
@@ -7168,18 +6449,16 @@ public final class JavacRemoteProto {
*/
public Builder addAllImportStatement(
java.lang.Iterable values) {
- ensureImportStatementIsMutable();
- super.addAll(values, importStatement_);
-
+ copyOnWrite();
+ instance.addAllImportStatement(values);
return this;
}
/**
* repeated string import_statement = 2;
*/
public Builder clearImportStatement() {
- importStatement_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
-
+ copyOnWrite();
+ instance.clearImportStatement();
return this;
}
/**
@@ -7187,60 +6466,45 @@ public final class JavacRemoteProto {
*/
public Builder addImportStatementBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureImportStatementIsMutable();
- importStatement_.add(value);
-
+ copyOnWrite();
+ instance.addImportStatementBytes(value);
return this;
}
- // repeated string static_import = 3;
- private com.google.protobuf.LazyStringList staticImport_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- private void ensureStaticImportIsMutable() {
- if (!((bitField0_ & 0x00000004) == 0x00000004)) {
- staticImport_ = new com.google.protobuf.LazyStringArrayList(staticImport_);
- bitField0_ |= 0x00000004;
- }
- }
/**
* repeated string static_import = 3;
*/
- public java.util.List
+ public java.util.List
getStaticImportList() {
- return java.util.Collections.unmodifiableList(staticImport_);
+ return java.util.Collections.unmodifiableList(
+ instance.getStaticImportList());
}
/**
* repeated string static_import = 3;
*/
public int getStaticImportCount() {
- return staticImport_.size();
+ return instance.getStaticImportCount();
}
/**
* repeated string static_import = 3;
*/
public java.lang.String getStaticImport(int index) {
- return staticImport_.get(index);
+ return instance.getStaticImport(index);
}
/**
* repeated string static_import = 3;
*/
public com.google.protobuf.ByteString
getStaticImportBytes(int index) {
- return staticImport_.getByteString(index);
+ return instance.getStaticImportBytes(index);
}
/**
* repeated string static_import = 3;
*/
public Builder setStaticImport(
int index, java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureStaticImportIsMutable();
- staticImport_.set(index, value);
-
+ copyOnWrite();
+ instance.setStaticImport(index, value);
return this;
}
/**
@@ -7248,12 +6512,8 @@ public final class JavacRemoteProto {
*/
public Builder addStaticImport(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureStaticImportIsMutable();
- staticImport_.add(value);
-
+ copyOnWrite();
+ instance.addStaticImport(value);
return this;
}
/**
@@ -7261,18 +6521,16 @@ public final class JavacRemoteProto {
*/
public Builder addAllStaticImport(
java.lang.Iterable values) {
- ensureStaticImportIsMutable();
- super.addAll(values, staticImport_);
-
+ copyOnWrite();
+ instance.addAllStaticImport(values);
return this;
}
/**
* repeated string static_import = 3;
*/
public Builder clearStaticImport() {
- staticImport_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
-
+ copyOnWrite();
+ instance.clearStaticImport();
return this;
}
/**
@@ -7280,60 +6538,45 @@ public final class JavacRemoteProto {
*/
public Builder addStaticImportBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureStaticImportIsMutable();
- staticImport_.add(value);
-
+ copyOnWrite();
+ instance.addStaticImportBytes(value);
return this;
}
- // repeated string identifier = 4;
- private com.google.protobuf.LazyStringList identifier_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- private void ensureIdentifierIsMutable() {
- if (!((bitField0_ & 0x00000008) == 0x00000008)) {
- identifier_ = new com.google.protobuf.LazyStringArrayList(identifier_);
- bitField0_ |= 0x00000008;
- }
- }
/**
* repeated string identifier = 4;
*/
- public java.util.List
+ public java.util.List
getIdentifierList() {
- return java.util.Collections.unmodifiableList(identifier_);
+ return java.util.Collections.unmodifiableList(
+ instance.getIdentifierList());
}
/**
* repeated string identifier = 4;
*/
public int getIdentifierCount() {
- return identifier_.size();
+ return instance.getIdentifierCount();
}
/**
* repeated string identifier = 4;
*/
public java.lang.String getIdentifier(int index) {
- return identifier_.get(index);
+ return instance.getIdentifier(index);
}
/**
* repeated string identifier = 4;
*/
public com.google.protobuf.ByteString
getIdentifierBytes(int index) {
- return identifier_.getByteString(index);
+ return instance.getIdentifierBytes(index);
}
/**
* repeated string identifier = 4;
*/
public Builder setIdentifier(
int index, java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureIdentifierIsMutable();
- identifier_.set(index, value);
-
+ copyOnWrite();
+ instance.setIdentifier(index, value);
return this;
}
/**
@@ -7341,12 +6584,8 @@ public final class JavacRemoteProto {
*/
public Builder addIdentifier(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureIdentifierIsMutable();
- identifier_.add(value);
-
+ copyOnWrite();
+ instance.addIdentifier(value);
return this;
}
/**
@@ -7354,18 +6593,16 @@ public final class JavacRemoteProto {
*/
public Builder addAllIdentifier(
java.lang.Iterable values) {
- ensureIdentifierIsMutable();
- super.addAll(values, identifier_);
-
+ copyOnWrite();
+ instance.addAllIdentifier(values);
return this;
}
/**
* repeated string identifier = 4;
*/
public Builder clearIdentifier() {
- identifier_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000008);
-
+ copyOnWrite();
+ instance.clearIdentifier();
return this;
}
/**
@@ -7373,30 +6610,162 @@ public final class JavacRemoteProto {
*/
public Builder addIdentifierBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureIdentifierIsMutable();
- identifier_.add(value);
-
+ copyOnWrite();
+ instance.addIdentifierBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.javac.Message.Response.ClassData)
}
+ private byte memoizedIsInitialized = -1;
+ protected final Object dynamicMethod(
+ com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
+ Object arg0, Object arg1) {
+ switch (method) {
+ case NEW_MUTABLE_INSTANCE: {
+ return new org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData();
+ }
+ case IS_INITIALIZED: {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return DEFAULT_INSTANCE;
+ if (isInitialized == 0) return null;
- static {
- defaultInstance = new ClassData(true);
- defaultInstance.initFields();
+ boolean shouldMemoize = ((Boolean) arg0).booleanValue();
+ if (!hasClassName()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ if (shouldMemoize) memoizedIsInitialized = 1;
+ return DEFAULT_INSTANCE;
+
+ }
+ case MAKE_IMMUTABLE: {
+ importStatement_.makeImmutable();
+ staticImport_.makeImmutable();
+ identifier_.makeImmutable();
+ return null;
+ }
+ case NEW_BUILDER: {
+ return new Builder();
+ }
+ case VISIT: {
+ Visitor visitor = (Visitor) arg0;
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData other = (org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData) arg1;
+ className_ = visitor.visitString(
+ hasClassName(), className_,
+ other.hasClassName(), other.className_);
+ importStatement_= visitor.visitList(importStatement_, other.importStatement_);
+ staticImport_= visitor.visitList(staticImport_, other.staticImport_);
+ identifier_= visitor.visitList(identifier_, other.identifier_);
+ if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor
+ .INSTANCE) {
+ bitField0_ |= other.bitField0_;
+ }
+ return this;
+ }
+ case MERGE_FROM_STREAM: {
+ com.google.protobuf.CodedInputStream input =
+ (com.google.protobuf.CodedInputStream) arg0;
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry =
+ (com.google.protobuf.ExtensionRegistryLite) arg1;
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(tag, input)) {
+ done = true;
+ }
+ break;
+ }
+ case 10: {
+ String s = input.readString();
+ bitField0_ |= 0x00000001;
+ className_ = s;
+ break;
+ }
+ case 18: {
+ String s = input.readString();
+ if (!importStatement_.isModifiable()) {
+ importStatement_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(importStatement_);
+ }
+ importStatement_.add(s);
+ break;
+ }
+ case 26: {
+ String s = input.readString();
+ if (!staticImport_.isModifiable()) {
+ staticImport_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(staticImport_);
+ }
+ staticImport_.add(s);
+ break;
+ }
+ case 34: {
+ String s = input.readString();
+ if (!identifier_.isModifiable()) {
+ identifier_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(identifier_);
+ }
+ identifier_.add(s);
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw new RuntimeException(e.setUnfinishedMessage(this));
+ } catch (java.io.IOException e) {
+ throw new RuntimeException(
+ new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this));
+ } finally {
+ }
+ }
+ case GET_DEFAULT_INSTANCE: {
+ return DEFAULT_INSTANCE;
+ }
+ case GET_PARSER: {
+ if (PARSER == null) { synchronized (org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData.class) {
+ if (PARSER == null) {
+ PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE);
+ }
+ }
+ }
+ return PARSER;
+ }
+ }
+ throw new UnsupportedOperationException();
}
+
// @@protoc_insertion_point(class_scope:org.jetbrains.javac.Message.Response.ClassData)
+ private static final org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new ClassData();
+ DEFAULT_INSTANCE.makeImmutable();
+ }
+
+ public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static volatile com.google.protobuf.Parser PARSER;
+
+ public static com.google.protobuf.Parser parser() {
+ return DEFAULT_INSTANCE.getParserForType();
+ }
}
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_;
+ private int responseType_;
/**
* required .org.jetbrains.javac.Message.Response.Type response_type = 1;
*/
@@ -7407,10 +6776,27 @@ public final class JavacRemoteProto {
* required .org.jetbrains.javac.Message.Response.Type response_type = 1;
*/
public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.Type getResponseType() {
- return responseType_;
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.Type result = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.Type.forNumber(responseType_);
+ return result == null ? org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.Type.BUILD_MESSAGE : result;
+ }
+ /**
+ * required .org.jetbrains.javac.Message.Response.Type response_type = 1;
+ */
+ private void setResponseType(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.Type value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ responseType_ = value.getNumber();
+ }
+ /**
+ * required .org.jetbrains.javac.Message.Response.Type response_type = 1;
+ */
+ private void clearResponseType() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ responseType_ = 1;
}
- // 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_;
/**
@@ -7423,10 +6809,46 @@ public final class JavacRemoteProto {
* optional .org.jetbrains.javac.Message.Response.CompileMessage compile_message = 2;
*/
public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage getCompileMessage() {
- return compileMessage_;
+ return compileMessage_ == null ? org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.getDefaultInstance() : compileMessage_;
+ }
+ /**
+ * optional .org.jetbrains.javac.Message.Response.CompileMessage compile_message = 2;
+ */
+ private void setCompileMessage(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ compileMessage_ = value;
+ bitField0_ |= 0x00000002;
+ }
+ /**
+ * optional .org.jetbrains.javac.Message.Response.CompileMessage compile_message = 2;
+ */
+ private void setCompileMessage(
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.Builder builderForValue) {
+ compileMessage_ = builderForValue.build();
+ bitField0_ |= 0x00000002;
+ }
+ /**
+ * optional .org.jetbrains.javac.Message.Response.CompileMessage compile_message = 2;
+ */
+ private void mergeCompileMessage(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage value) {
+ if (compileMessage_ != null &&
+ compileMessage_ != org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.getDefaultInstance()) {
+ compileMessage_ =
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.newBuilder(compileMessage_).mergeFrom(value).buildPartial();
+ } else {
+ compileMessage_ = value;
+ }
+ bitField0_ |= 0x00000002;
+ }
+ /**
+ * optional .org.jetbrains.javac.Message.Response.CompileMessage compile_message = 2;
+ */
+ private void clearCompileMessage() { compileMessage_ = null;
+ bitField0_ = (bitField0_ & ~0x00000002);
}
- // 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_;
/**
@@ -7439,10 +6861,46 @@ public final class JavacRemoteProto {
* optional .org.jetbrains.javac.Message.Response.OutputObject output_object = 3;
*/
public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject getOutputObject() {
- return outputObject_;
+ return outputObject_ == null ? org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.getDefaultInstance() : outputObject_;
+ }
+ /**
+ * optional .org.jetbrains.javac.Message.Response.OutputObject output_object = 3;
+ */
+ private void setOutputObject(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ outputObject_ = value;
+ bitField0_ |= 0x00000004;
+ }
+ /**
+ * optional .org.jetbrains.javac.Message.Response.OutputObject output_object = 3;
+ */
+ private void setOutputObject(
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.Builder builderForValue) {
+ outputObject_ = builderForValue.build();
+ bitField0_ |= 0x00000004;
+ }
+ /**
+ * optional .org.jetbrains.javac.Message.Response.OutputObject output_object = 3;
+ */
+ private void mergeOutputObject(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject value) {
+ if (outputObject_ != null &&
+ outputObject_ != org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.getDefaultInstance()) {
+ outputObject_ =
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.newBuilder(outputObject_).mergeFrom(value).buildPartial();
+ } else {
+ outputObject_ = value;
+ }
+ bitField0_ |= 0x00000004;
+ }
+ /**
+ * optional .org.jetbrains.javac.Message.Response.OutputObject output_object = 3;
+ */
+ private void clearOutputObject() { outputObject_ = null;
+ bitField0_ = (bitField0_ & ~0x00000004);
}
- // 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_;
/**
@@ -7455,10 +6913,46 @@ public final class JavacRemoteProto {
* optional .org.jetbrains.javac.Message.Response.ClassData class_data = 4;
*/
public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData getClassData() {
- return classData_;
+ return classData_ == null ? org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData.getDefaultInstance() : classData_;
+ }
+ /**
+ * optional .org.jetbrains.javac.Message.Response.ClassData class_data = 4;
+ */
+ private void setClassData(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ classData_ = value;
+ bitField0_ |= 0x00000008;
+ }
+ /**
+ * optional .org.jetbrains.javac.Message.Response.ClassData class_data = 4;
+ */
+ private void setClassData(
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData.Builder builderForValue) {
+ classData_ = builderForValue.build();
+ bitField0_ |= 0x00000008;
+ }
+ /**
+ * optional .org.jetbrains.javac.Message.Response.ClassData class_data = 4;
+ */
+ private void mergeClassData(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData value) {
+ if (classData_ != null &&
+ classData_ != org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData.getDefaultInstance()) {
+ classData_ =
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData.newBuilder(classData_).mergeFrom(value).buildPartial();
+ } else {
+ classData_ = value;
+ }
+ bitField0_ |= 0x00000008;
+ }
+ /**
+ * optional .org.jetbrains.javac.Message.Response.ClassData class_data = 4;
+ */
+ private void clearClassData() { classData_ = null;
+ bitField0_ = (bitField0_ & ~0x00000008);
}
- // optional bool completion_status = 5;
public static final int COMPLETION_STATUS_FIELD_NUMBER = 5;
private boolean completionStatus_;
/**
@@ -7473,66 +6967,41 @@ public final class JavacRemoteProto {
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();
- outputObject_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.getDefaultInstance();
- classData_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData.getDefaultInstance();
- completionStatus_ = false;
+ /**
+ * optional bool completion_status = 5;
+ */
+ private void setCompletionStatus(boolean value) {
+ bitField0_ |= 0x00000010;
+ completionStatus_ = value;
}
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasResponseType()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (hasCompileMessage()) {
- if (!getCompileMessage().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasOutputObject()) {
- if (!getOutputObject().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasClassData()) {
- if (!getClassData().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
+ /**
+ * optional bool completion_status = 5;
+ */
+ private void clearCompletionStatus() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ completionStatus_ = false;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeEnum(1, responseType_.getNumber());
+ output.writeEnum(1, responseType_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeMessage(2, compileMessage_);
+ output.writeMessage(2, getCompileMessage());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeMessage(3, outputObject_);
+ output.writeMessage(3, getOutputObject());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
- output.writeMessage(4, classData_);
+ output.writeMessage(4, getClassData());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBool(5, completionStatus_);
}
+ unknownFields.writeTo(output);
}
- private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
@@ -7540,502 +7009,498 @@ public final class JavacRemoteProto {
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(1, responseType_.getNumber());
+ .computeEnumSize(1, responseType_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, compileMessage_);
+ .computeMessageSize(2, getCompileMessage());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, outputObject_);
+ .computeMessageSize(3, getOutputObject());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(4, classData_);
+ .computeMessageSize(4, getClassData());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, completionStatus_);
}
+ size += unknownFields.getSerializedSize();
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
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);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
public static Builder newBuilder(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response prototype) {
- return newBuilder().mergeFrom(prototype);
+ return DEFAULT_INSTANCE.toBuilder().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>
- implements org.jetbrains.jps.javac.JavacRemoteProto.Message.ResponseOrBuilder {
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response, Builder> implements
+ // @@protoc_insertion_point(builder_implements:org.jetbrains.javac.Message.Response)
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.ResponseOrBuilder {
// Construct using org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.newBuilder()
private Builder() {
- maybeForceBuilderInitialization();
+ super(DEFAULT_INSTANCE);
}
- 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;
- bitField0_ = (bitField0_ & ~0x00000001);
- compileMessage_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.getDefaultInstance();
- bitField0_ = (bitField0_ & ~0x00000002);
- outputObject_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.getDefaultInstance();
- bitField0_ = (bitField0_ & ~0x00000004);
- classData_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData.getDefaultInstance();
- bitField0_ = (bitField0_ & ~0x00000008);
- completionStatus_ = false;
- 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()) {
- throw Builder.newUninitializedMessageException(result);
- }
- 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_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.responseType_ = responseType_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- result.compileMessage_ = compileMessage_;
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
- to_bitField0_ |= 0x00000004;
- }
- result.outputObject_ = outputObject_;
- if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
- to_bitField0_ |= 0x00000008;
- }
- result.classData_ = classData_;
- if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
- to_bitField0_ |= 0x00000010;
- }
- result.completionStatus_ = completionStatus_;
- 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()) {
- setResponseType(other.getResponseType());
- }
- if (other.hasCompileMessage()) {
- mergeCompileMessage(other.getCompileMessage());
- }
- if (other.hasOutputObject()) {
- mergeOutputObject(other.getOutputObject());
- }
- if (other.hasClassData()) {
- mergeClassData(other.getClassData());
- }
- if (other.hasCompletionStatus()) {
- setCompletionStatus(other.getCompletionStatus());
- }
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasResponseType()) {
-
- return false;
- }
- if (hasCompileMessage()) {
- if (!getCompileMessage().isInitialized()) {
-
- return false;
- }
- }
- if (hasOutputObject()) {
- if (!getOutputObject().isInitialized()) {
-
- return false;
- }
- }
- if (hasClassData()) {
- if (!getClassData().isInitialized()) {
-
- 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 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);
- }
- }
- 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);
+ return instance.hasResponseType();
}
/**
* required .org.jetbrains.javac.Message.Response.Type response_type = 1;
*/
public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.Type getResponseType() {
- return responseType_;
+ return instance.getResponseType();
}
/**
* 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();
- }
- bitField0_ |= 0x00000001;
- responseType_ = value;
-
+ copyOnWrite();
+ instance.setResponseType(value);
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;
-
+ copyOnWrite();
+ instance.clearResponseType();
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);
+ return instance.hasCompileMessage();
}
/**
* optional .org.jetbrains.javac.Message.Response.CompileMessage compile_message = 2;
*/
public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage getCompileMessage() {
- return compileMessage_;
+ return instance.getCompileMessage();
}
/**
* 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;
+ copyOnWrite();
+ instance.setCompileMessage(value);
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;
+ copyOnWrite();
+ instance.setCompileMessage(builderForValue);
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()) {
- compileMessage_ =
- org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.CompileMessage.newBuilder(compileMessage_).mergeFrom(value).buildPartial();
- } else {
- compileMessage_ = value;
- }
-
- bitField0_ |= 0x00000002;
+ copyOnWrite();
+ instance.mergeCompileMessage(value);
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);
+ public Builder clearCompileMessage() { copyOnWrite();
+ instance.clearCompileMessage();
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);
+ return instance.hasOutputObject();
}
/**
* optional .org.jetbrains.javac.Message.Response.OutputObject output_object = 3;
*/
public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject getOutputObject() {
- return outputObject_;
+ return instance.getOutputObject();
}
/**
* 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;
+ copyOnWrite();
+ instance.setOutputObject(value);
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;
+ copyOnWrite();
+ instance.setOutputObject(builderForValue);
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()) {
- outputObject_ =
- org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.OutputObject.newBuilder(outputObject_).mergeFrom(value).buildPartial();
- } else {
- outputObject_ = value;
- }
-
- bitField0_ |= 0x00000004;
+ copyOnWrite();
+ instance.mergeOutputObject(value);
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);
+ public Builder clearOutputObject() { copyOnWrite();
+ instance.clearOutputObject();
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);
+ return instance.hasClassData();
}
/**
* optional .org.jetbrains.javac.Message.Response.ClassData class_data = 4;
*/
public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData getClassData() {
- return classData_;
+ return instance.getClassData();
}
/**
* 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;
+ copyOnWrite();
+ instance.setClassData(value);
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;
+ copyOnWrite();
+ instance.setClassData(builderForValue);
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()) {
- classData_ =
- org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.ClassData.newBuilder(classData_).mergeFrom(value).buildPartial();
- } else {
- classData_ = value;
- }
-
- bitField0_ |= 0x00000008;
+ copyOnWrite();
+ instance.mergeClassData(value);
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);
+ public Builder clearClassData() { copyOnWrite();
+ instance.clearClassData();
return this;
}
- // optional bool completion_status = 5;
- private boolean completionStatus_ ;
/**
* optional bool completion_status = 5;
*/
public boolean hasCompletionStatus() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return instance.hasCompletionStatus();
}
/**
* optional bool completion_status = 5;
*/
public boolean getCompletionStatus() {
- return completionStatus_;
+ return instance.getCompletionStatus();
}
/**
* optional bool completion_status = 5;
*/
public Builder setCompletionStatus(boolean value) {
- bitField0_ |= 0x00000010;
- completionStatus_ = value;
-
+ copyOnWrite();
+ instance.setCompletionStatus(value);
return this;
}
/**
* optional bool completion_status = 5;
*/
public Builder clearCompletionStatus() {
- bitField0_ = (bitField0_ & ~0x00000010);
- completionStatus_ = false;
-
+ copyOnWrite();
+ instance.clearCompletionStatus();
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.javac.Message.Response)
}
+ private byte memoizedIsInitialized = -1;
+ protected final Object dynamicMethod(
+ com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
+ Object arg0, Object arg1) {
+ switch (method) {
+ case NEW_MUTABLE_INSTANCE: {
+ return new org.jetbrains.jps.javac.JavacRemoteProto.Message.Response();
+ }
+ case IS_INITIALIZED: {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return DEFAULT_INSTANCE;
+ if (isInitialized == 0) return null;
- static {
- defaultInstance = new Response(true);
- defaultInstance.initFields();
+ boolean shouldMemoize = ((Boolean) arg0).booleanValue();
+ if (!hasResponseType()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ if (hasCompileMessage()) {
+ if (!getCompileMessage().isInitialized()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ }
+ if (hasOutputObject()) {
+ if (!getOutputObject().isInitialized()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ }
+ if (hasClassData()) {
+ if (!getClassData().isInitialized()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ }
+ if (shouldMemoize) memoizedIsInitialized = 1;
+ return DEFAULT_INSTANCE;
+
+ }
+ case MAKE_IMMUTABLE: {
+ return null;
+ }
+ case NEW_BUILDER: {
+ return new Builder();
+ }
+ case VISIT: {
+ Visitor visitor = (Visitor) arg0;
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response other = (org.jetbrains.jps.javac.JavacRemoteProto.Message.Response) arg1;
+ responseType_ = visitor.visitInt(hasResponseType(), responseType_,
+ other.hasResponseType(), other.responseType_);
+ compileMessage_ = visitor.visitMessage(compileMessage_, other.compileMessage_);
+ outputObject_ = visitor.visitMessage(outputObject_, other.outputObject_);
+ classData_ = visitor.visitMessage(classData_, other.classData_);
+ completionStatus_ = visitor.visitBoolean(
+ hasCompletionStatus(), completionStatus_,
+ other.hasCompletionStatus(), other.completionStatus_);
+ if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor
+ .INSTANCE) {
+ bitField0_ |= other.bitField0_;
+ }
+ return this;
+ }
+ case MERGE_FROM_STREAM: {
+ com.google.protobuf.CodedInputStream input =
+ (com.google.protobuf.CodedInputStream) arg0;
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry =
+ (com.google.protobuf.ExtensionRegistryLite) arg1;
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(tag, input)) {
+ 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.forNumber(rawValue);
+ if (value == null) {
+ super.mergeVarintField(1, rawValue);
+ } else {
+ bitField0_ |= 0x00000001;
+ responseType_ = rawValue;
+ }
+ 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 new RuntimeException(e.setUnfinishedMessage(this));
+ } catch (java.io.IOException e) {
+ throw new RuntimeException(
+ new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this));
+ } finally {
+ }
+ }
+ case GET_DEFAULT_INSTANCE: {
+ return DEFAULT_INSTANCE;
+ }
+ case GET_PARSER: {
+ if (PARSER == null) { synchronized (org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.class) {
+ if (PARSER == null) {
+ PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE);
+ }
+ }
+ }
+ return PARSER;
+ }
+ }
+ throw new UnsupportedOperationException();
}
+
// @@protoc_insertion_point(class_scope:org.jetbrains.javac.Message.Response)
+ private static final org.jetbrains.jps.javac.JavacRemoteProto.Message.Response DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new Response();
+ DEFAULT_INSTANCE.makeImmutable();
+ }
+
+ public static org.jetbrains.jps.javac.JavacRemoteProto.Message.Response getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static volatile com.google.protobuf.Parser PARSER;
+
+ public static com.google.protobuf.Parser parser() {
+ return DEFAULT_INSTANCE.getParserForType();
+ }
}
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_;
/**
@@ -8048,12 +7513,48 @@ public final class JavacRemoteProto {
* required .org.jetbrains.javac.Message.UUID session_id = 1;
*/
public org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID getSessionId() {
- return sessionId_;
+ return sessionId_ == null ? org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID.getDefaultInstance() : sessionId_;
+ }
+ /**
+ * required .org.jetbrains.javac.Message.UUID session_id = 1;
+ */
+ private void setSessionId(org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ sessionId_ = value;
+ bitField0_ |= 0x00000001;
+ }
+ /**
+ * required .org.jetbrains.javac.Message.UUID session_id = 1;
+ */
+ private void setSessionId(
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID.Builder builderForValue) {
+ sessionId_ = builderForValue.build();
+ bitField0_ |= 0x00000001;
+ }
+ /**
+ * required .org.jetbrains.javac.Message.UUID session_id = 1;
+ */
+ private void mergeSessionId(org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID value) {
+ if (sessionId_ != null &&
+ sessionId_ != org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID.getDefaultInstance()) {
+ sessionId_ =
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID.newBuilder(sessionId_).mergeFrom(value).buildPartial();
+ } else {
+ sessionId_ = value;
+ }
+ bitField0_ |= 0x00000001;
+ }
+ /**
+ * required .org.jetbrains.javac.Message.UUID session_id = 1;
+ */
+ private void clearSessionId() { sessionId_ = null;
+ bitField0_ = (bitField0_ & ~0x00000001);
}
- // 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_;
+ private int messageType_;
/**
* required .org.jetbrains.javac.Message.Type message_type = 2;
*/
@@ -8064,10 +7565,27 @@ public final class JavacRemoteProto {
* required .org.jetbrains.javac.Message.Type message_type = 2;
*/
public org.jetbrains.jps.javac.JavacRemoteProto.Message.Type getMessageType() {
- return messageType_;
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Type result = org.jetbrains.jps.javac.JavacRemoteProto.Message.Type.forNumber(messageType_);
+ return result == null ? org.jetbrains.jps.javac.JavacRemoteProto.Message.Type.REQUEST : result;
+ }
+ /**
+ * required .org.jetbrains.javac.Message.Type message_type = 2;
+ */
+ private void setMessageType(org.jetbrains.jps.javac.JavacRemoteProto.Message.Type value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
+ messageType_ = value.getNumber();
+ }
+ /**
+ * required .org.jetbrains.javac.Message.Type message_type = 2;
+ */
+ private void clearMessageType() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ messageType_ = 1;
}
- // 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_;
/**
@@ -8080,10 +7598,46 @@ public final class JavacRemoteProto {
* optional .org.jetbrains.javac.Message.Request request = 3;
*/
public org.jetbrains.jps.javac.JavacRemoteProto.Message.Request getRequest() {
- return request_;
+ return request_ == null ? org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.getDefaultInstance() : request_;
+ }
+ /**
+ * optional .org.jetbrains.javac.Message.Request request = 3;
+ */
+ private void setRequest(org.jetbrains.jps.javac.JavacRemoteProto.Message.Request value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ request_ = value;
+ bitField0_ |= 0x00000004;
+ }
+ /**
+ * optional .org.jetbrains.javac.Message.Request request = 3;
+ */
+ private void setRequest(
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.Builder builderForValue) {
+ request_ = builderForValue.build();
+ bitField0_ |= 0x00000004;
+ }
+ /**
+ * optional .org.jetbrains.javac.Message.Request request = 3;
+ */
+ private void mergeRequest(org.jetbrains.jps.javac.JavacRemoteProto.Message.Request value) {
+ if (request_ != null &&
+ request_ != org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.getDefaultInstance()) {
+ request_ =
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.newBuilder(request_).mergeFrom(value).buildPartial();
+ } else {
+ request_ = value;
+ }
+ bitField0_ |= 0x00000004;
+ }
+ /**
+ * optional .org.jetbrains.javac.Message.Request request = 3;
+ */
+ private void clearRequest() { request_ = null;
+ bitField0_ = (bitField0_ & ~0x00000004);
}
- // 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_;
/**
@@ -8096,10 +7650,46 @@ public final class JavacRemoteProto {
* optional .org.jetbrains.javac.Message.Response response = 4;
*/
public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response getResponse() {
- return response_;
+ return response_ == null ? org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.getDefaultInstance() : response_;
+ }
+ /**
+ * optional .org.jetbrains.javac.Message.Response response = 4;
+ */
+ private void setResponse(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ response_ = value;
+ bitField0_ |= 0x00000008;
+ }
+ /**
+ * optional .org.jetbrains.javac.Message.Response response = 4;
+ */
+ private void setResponse(
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.Builder builderForValue) {
+ response_ = builderForValue.build();
+ bitField0_ |= 0x00000008;
+ }
+ /**
+ * optional .org.jetbrains.javac.Message.Response response = 4;
+ */
+ private void mergeResponse(org.jetbrains.jps.javac.JavacRemoteProto.Message.Response value) {
+ if (response_ != null &&
+ response_ != org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.getDefaultInstance()) {
+ response_ =
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.newBuilder(response_).mergeFrom(value).buildPartial();
+ } else {
+ response_ = value;
+ }
+ bitField0_ |= 0x00000008;
+ }
+ /**
+ * optional .org.jetbrains.javac.Message.Response response = 4;
+ */
+ private void clearResponse() { response_ = null;
+ bitField0_ = (bitField0_ & ~0x00000008);
}
- // 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_;
/**
@@ -8112,70 +7702,66 @@ public final class JavacRemoteProto {
* optional .org.jetbrains.javac.Message.Failure failure = 5;
*/
public org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure getFailure() {
- return failure_;
+ return failure_ == null ? org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure.getDefaultInstance() : failure_;
}
-
- private void initFields() {
- sessionId_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID.getDefaultInstance();
- messageType_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Type.REQUEST;
- request_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.getDefaultInstance();
- response_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.getDefaultInstance();
- failure_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure.getDefaultInstance();
+ /**
+ * optional .org.jetbrains.javac.Message.Failure failure = 5;
+ */
+ private void setFailure(org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ failure_ = value;
+ bitField0_ |= 0x00000010;
+ }
+ /**
+ * optional .org.jetbrains.javac.Message.Failure failure = 5;
+ */
+ private void setFailure(
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure.Builder builderForValue) {
+ failure_ = builderForValue.build();
+ bitField0_ |= 0x00000010;
}
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasSessionId()) {
- memoizedIsInitialized = 0;
- return false;
+ /**
+ * optional .org.jetbrains.javac.Message.Failure failure = 5;
+ */
+ private void mergeFailure(org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure value) {
+ if (failure_ != null &&
+ failure_ != org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure.getDefaultInstance()) {
+ failure_ =
+ org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure.newBuilder(failure_).mergeFrom(value).buildPartial();
+ } else {
+ failure_ = value;
}
- if (!hasMessageType()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!getSessionId().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (hasRequest()) {
- if (!getRequest().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasResponse()) {
- if (!getResponse().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
+ bitField0_ |= 0x00000010;
+ }
+ /**
+ * optional .org.jetbrains.javac.Message.Failure failure = 5;
+ */
+ private void clearFailure() { failure_ = null;
+ bitField0_ = (bitField0_ & ~0x00000010);
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeMessage(1, sessionId_);
+ output.writeMessage(1, getSessionId());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeEnum(2, messageType_.getNumber());
+ output.writeEnum(2, messageType_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeMessage(3, request_);
+ output.writeMessage(3, getRequest());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
- output.writeMessage(4, response_);
+ output.writeMessage(4, getResponse());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
- output.writeMessage(5, failure_);
+ output.writeMessage(5, getFailure());
}
+ unknownFields.writeTo(output);
}
- private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
@@ -8183,528 +7769,521 @@ public final class JavacRemoteProto {
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, sessionId_);
+ .computeMessageSize(1, getSessionId());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(2, messageType_.getNumber());
+ .computeEnumSize(2, messageType_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, request_);
+ .computeMessageSize(3, getRequest());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(4, response_);
+ .computeMessageSize(4, getResponse());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(5, failure_);
+ .computeMessageSize(5, getFailure());
}
+ size += unknownFields.getSerializedSize();
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
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);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.jetbrains.jps.javac.JavacRemoteProto.Message parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
public static Builder newBuilder(org.jetbrains.jps.javac.JavacRemoteProto.Message prototype) {
- return newBuilder().mergeFrom(prototype);
+ return DEFAULT_INSTANCE.toBuilder().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>
- implements org.jetbrains.jps.javac.JavacRemoteProto.MessageOrBuilder {
+ org.jetbrains.jps.javac.JavacRemoteProto.Message, Builder> implements
+ // @@protoc_insertion_point(builder_implements:org.jetbrains.javac.Message)
+ org.jetbrains.jps.javac.JavacRemoteProto.MessageOrBuilder {
// Construct using org.jetbrains.jps.javac.JavacRemoteProto.Message.newBuilder()
private Builder() {
- maybeForceBuilderInitialization();
+ super(DEFAULT_INSTANCE);
}
- private void maybeForceBuilderInitialization() {
- }
- private static Builder create() {
- return new Builder();
- }
- public Builder clear() {
- super.clear();
- sessionId_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID.getDefaultInstance();
- bitField0_ = (bitField0_ & ~0x00000001);
- messageType_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Type.REQUEST;
- bitField0_ = (bitField0_ & ~0x00000002);
- request_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.getDefaultInstance();
- bitField0_ = (bitField0_ & ~0x00000004);
- response_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.getDefaultInstance();
- bitField0_ = (bitField0_ & ~0x00000008);
- failure_ = org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure.getDefaultInstance();
- 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()) {
- throw Builder.newUninitializedMessageException(result);
- }
- 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_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.sessionId_ = sessionId_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- result.messageType_ = messageType_;
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
- to_bitField0_ |= 0x00000004;
- }
- result.request_ = request_;
- if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
- to_bitField0_ |= 0x00000008;
- }
- result.response_ = response_;
- if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
- to_bitField0_ |= 0x00000010;
- }
- result.failure_ = failure_;
- 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()) {
- mergeSessionId(other.getSessionId());
- }
- if (other.hasMessageType()) {
- setMessageType(other.getMessageType());
- }
- if (other.hasRequest()) {
- mergeRequest(other.getRequest());
- }
- if (other.hasResponse()) {
- mergeResponse(other.getResponse());
- }
- if (other.hasFailure()) {
- mergeFailure(other.getFailure());
- }
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasSessionId()) {
-
- return false;
- }
- if (!hasMessageType()) {
-
- return false;
- }
- if (!getSessionId().isInitialized()) {
-
- return false;
- }
- if (hasRequest()) {
- if (!getRequest().isInitialized()) {
-
- return false;
- }
- }
- if (hasResponse()) {
- if (!getResponse().isInitialized()) {
-
- 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 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);
- }
- }
- 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);
+ return instance.hasSessionId();
}
/**
* required .org.jetbrains.javac.Message.UUID session_id = 1;
*/
public org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID getSessionId() {
- return sessionId_;
+ return instance.getSessionId();
}
/**
* 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;
+ copyOnWrite();
+ instance.setSessionId(value);
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;
+ copyOnWrite();
+ instance.setSessionId(builderForValue);
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()) {
- sessionId_ =
- org.jetbrains.jps.javac.JavacRemoteProto.Message.UUID.newBuilder(sessionId_).mergeFrom(value).buildPartial();
- } else {
- sessionId_ = value;
- }
-
- bitField0_ |= 0x00000001;
+ copyOnWrite();
+ instance.mergeSessionId(value);
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);
+ public Builder clearSessionId() { copyOnWrite();
+ instance.clearSessionId();
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);
+ return instance.hasMessageType();
}
/**
* required .org.jetbrains.javac.Message.Type message_type = 2;
*/
public org.jetbrains.jps.javac.JavacRemoteProto.Message.Type getMessageType() {
- return messageType_;
+ return instance.getMessageType();
}
/**
* 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();
- }
- bitField0_ |= 0x00000002;
- messageType_ = value;
-
+ copyOnWrite();
+ instance.setMessageType(value);
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;
-
+ copyOnWrite();
+ instance.clearMessageType();
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);
+ return instance.hasRequest();
}
/**
* optional .org.jetbrains.javac.Message.Request request = 3;
*/
public org.jetbrains.jps.javac.JavacRemoteProto.Message.Request getRequest() {
- return request_;
+ return instance.getRequest();
}
/**
* 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;
+ copyOnWrite();
+ instance.setRequest(value);
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;
+ copyOnWrite();
+ instance.setRequest(builderForValue);
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()) {
- request_ =
- org.jetbrains.jps.javac.JavacRemoteProto.Message.Request.newBuilder(request_).mergeFrom(value).buildPartial();
- } else {
- request_ = value;
- }
-
- bitField0_ |= 0x00000004;
+ copyOnWrite();
+ instance.mergeRequest(value);
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);
+ public Builder clearRequest() { copyOnWrite();
+ instance.clearRequest();
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);
+ return instance.hasResponse();
}
/**
* optional .org.jetbrains.javac.Message.Response response = 4;
*/
public org.jetbrains.jps.javac.JavacRemoteProto.Message.Response getResponse() {
- return response_;
+ return instance.getResponse();
}
/**
* 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;
+ copyOnWrite();
+ instance.setResponse(value);
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;
+ copyOnWrite();
+ instance.setResponse(builderForValue);
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()) {
- response_ =
- org.jetbrains.jps.javac.JavacRemoteProto.Message.Response.newBuilder(response_).mergeFrom(value).buildPartial();
- } else {
- response_ = value;
- }
-
- bitField0_ |= 0x00000008;
+ copyOnWrite();
+ instance.mergeResponse(value);
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);
+ public Builder clearResponse() { copyOnWrite();
+ instance.clearResponse();
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);
+ return instance.hasFailure();
}
/**
* optional .org.jetbrains.javac.Message.Failure failure = 5;
*/
public org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure getFailure() {
- return failure_;
+ return instance.getFailure();
}
/**
* 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;
+ copyOnWrite();
+ instance.setFailure(value);
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;
+ copyOnWrite();
+ instance.setFailure(builderForValue);
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()) {
- failure_ =
- org.jetbrains.jps.javac.JavacRemoteProto.Message.Failure.newBuilder(failure_).mergeFrom(value).buildPartial();
- } else {
- failure_ = value;
- }
-
- bitField0_ |= 0x00000010;
+ copyOnWrite();
+ instance.mergeFailure(value);
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);
+ public Builder clearFailure() { copyOnWrite();
+ instance.clearFailure();
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.javac.Message)
}
+ private byte memoizedIsInitialized = -1;
+ protected final Object dynamicMethod(
+ com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
+ Object arg0, Object arg1) {
+ switch (method) {
+ case NEW_MUTABLE_INSTANCE: {
+ return new org.jetbrains.jps.javac.JavacRemoteProto.Message();
+ }
+ case IS_INITIALIZED: {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return DEFAULT_INSTANCE;
+ if (isInitialized == 0) return null;
- static {
- defaultInstance = new Message(true);
- defaultInstance.initFields();
+ boolean shouldMemoize = ((Boolean) arg0).booleanValue();
+ if (!hasSessionId()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ if (!hasMessageType()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ if (!getSessionId().isInitialized()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ if (hasRequest()) {
+ if (!getRequest().isInitialized()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ }
+ if (hasResponse()) {
+ if (!getResponse().isInitialized()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ }
+ if (shouldMemoize) memoizedIsInitialized = 1;
+ return DEFAULT_INSTANCE;
+
+ }
+ case MAKE_IMMUTABLE: {
+ return null;
+ }
+ case NEW_BUILDER: {
+ return new Builder();
+ }
+ case VISIT: {
+ Visitor visitor = (Visitor) arg0;
+ org.jetbrains.jps.javac.JavacRemoteProto.Message other = (org.jetbrains.jps.javac.JavacRemoteProto.Message) arg1;
+ sessionId_ = visitor.visitMessage(sessionId_, other.sessionId_);
+ messageType_ = visitor.visitInt(hasMessageType(), messageType_,
+ other.hasMessageType(), other.messageType_);
+ request_ = visitor.visitMessage(request_, other.request_);
+ response_ = visitor.visitMessage(response_, other.response_);
+ failure_ = visitor.visitMessage(failure_, other.failure_);
+ if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor
+ .INSTANCE) {
+ bitField0_ |= other.bitField0_;
+ }
+ return this;
+ }
+ case MERGE_FROM_STREAM: {
+ com.google.protobuf.CodedInputStream input =
+ (com.google.protobuf.CodedInputStream) arg0;
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry =
+ (com.google.protobuf.ExtensionRegistryLite) arg1;
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(tag, input)) {
+ 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.forNumber(rawValue);
+ if (value == null) {
+ super.mergeVarintField(2, rawValue);
+ } else {
+ bitField0_ |= 0x00000002;
+ messageType_ = rawValue;
+ }
+ 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 new RuntimeException(e.setUnfinishedMessage(this));
+ } catch (java.io.IOException e) {
+ throw new RuntimeException(
+ new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this));
+ } finally {
+ }
+ }
+ case GET_DEFAULT_INSTANCE: {
+ return DEFAULT_INSTANCE;
+ }
+ case GET_PARSER: {
+ if (PARSER == null) { synchronized (org.jetbrains.jps.javac.JavacRemoteProto.Message.class) {
+ if (PARSER == null) {
+ PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE);
+ }
+ }
+ }
+ return PARSER;
+ }
+ }
+ throw new UnsupportedOperationException();
}
+
// @@protoc_insertion_point(class_scope:org.jetbrains.javac.Message)
+ private static final org.jetbrains.jps.javac.JavacRemoteProto.Message DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new Message();
+ DEFAULT_INSTANCE.makeImmutable();
+ }
+
+ public static org.jetbrains.jps.javac.JavacRemoteProto.Message getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static volatile com.google.protobuf.Parser PARSER;
+
+ public static com.google.protobuf.Parser parser() {
+ return DEFAULT_INSTANCE.getParserForType();
+ }
}
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 9adb05fb640a..9c0a5b4eef3f 100644
--- a/jps/jps-builders/src/org/jetbrains/jps/api/CmdlineRemoteProto.java
+++ b/jps/jps-builders/src/org/jetbrains/jps/api/CmdlineRemoteProto.java
@@ -8,10 +8,10 @@ public final class CmdlineRemoteProto {
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
- public interface MessageOrBuilder
- extends com.google.protobuf.MessageLiteOrBuilder {
+ public interface MessageOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:org.jetbrains.jpsservice.Message)
+ com.google.protobuf.MessageLiteOrBuilder {
- // required .org.jetbrains.jpsservice.Message.UUID session_id = 1;
/**
* required .org.jetbrains.jpsservice.Message.UUID session_id = 1;
*/
@@ -21,7 +21,6 @@ public final class CmdlineRemoteProto {
*/
org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID getSessionId();
- // required .org.jetbrains.jpsservice.Message.Type type = 2;
/**
* required .org.jetbrains.jpsservice.Message.Type type = 2;
*/
@@ -31,7 +30,6 @@ public final class CmdlineRemoteProto {
*/
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;
*/
@@ -41,7 +39,6 @@ public final class CmdlineRemoteProto {
*/
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;
*/
@@ -51,7 +48,6 @@ public final class CmdlineRemoteProto {
*/
org.jetbrains.jps.api.CmdlineRemoteProto.Message.BuilderMessage getBuilderMessage();
- // optional .org.jetbrains.jpsservice.Message.Failure failure = 5;
/**
* optional .org.jetbrains.jpsservice.Message.Failure failure = 5;
*/
@@ -64,133 +60,14 @@ public final class CmdlineRemoteProto {
/**
* 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) {
- super(builder);
-
+ public static final class Message extends
+ com.google.protobuf.GeneratedMessageLite<
+ Message, Message.Builder> implements
+ // @@protoc_insertion_point(message_implements:org.jetbrains.jpsservice.Message)
+ MessageOrBuilder {
+ private Message() {
+ type_ = 1;
}
- 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}
*/
@@ -199,15 +76,15 @@ public final class CmdlineRemoteProto {
/**
* CONTROLLER_MESSAGE = 1;
*/
- CONTROLLER_MESSAGE(0, 1),
+ CONTROLLER_MESSAGE(1),
/**
* BUILDER_MESSAGE = 2;
*/
- BUILDER_MESSAGE(1, 2),
+ BUILDER_MESSAGE(2),
/**
* FAILURE = 3;
*/
- FAILURE(2, 3),
+ FAILURE(3),
;
/**
@@ -224,9 +101,19 @@ public final class CmdlineRemoteProto {
public static final int FAILURE_VALUE = 3;
- public final int getNumber() { return value; }
+ public final int getNumber() {
+ return value;
+ }
+ /**
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
public static Type valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static Type forNumber(int value) {
switch (value) {
case 1: return CONTROLLER_MESSAGE;
case 2: return BUILDER_MESSAGE;
@@ -239,27 +126,27 @@ public final class CmdlineRemoteProto {
internalGetValueMap() {
return internalValueMap;
}
- private static com.google.protobuf.Internal.EnumLiteMap
- internalValueMap =
+ private static final com.google.protobuf.Internal.EnumLiteMap<
+ Type> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Type findValueByNumber(int number) {
- return Type.valueOf(number);
+ return Type.forNumber(number);
}
};
private final int value;
- private Type(int index, int value) {
+ private Type(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org.jetbrains.jpsservice.Message.Type)
}
- public interface UUIDOrBuilder
- extends com.google.protobuf.MessageLiteOrBuilder {
+ public interface UUIDOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:org.jetbrains.jpsservice.Message.UUID)
+ com.google.protobuf.MessageLiteOrBuilder {
- // required sint64 most_sig_bits = 1;
/**
* required sint64 most_sig_bits = 1;
*/
@@ -269,7 +156,6 @@ public final class CmdlineRemoteProto {
*/
long getMostSigBits();
- // required sint64 least_sig_bits = 2;
/**
* required sint64 least_sig_bits = 2;
*/
@@ -282,84 +168,14 @@ public final class CmdlineRemoteProto {
/**
* 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) {
- super(builder);
-
+ public static final class UUID extends
+ com.google.protobuf.GeneratedMessageLite<
+ UUID, UUID.Builder> implements
+ // @@protoc_insertion_point(message_implements:org.jetbrains.jpsservice.Message.UUID)
+ UUIDOrBuilder {
+ private UUID() {
}
- 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_;
/**
@@ -374,8 +190,21 @@ public final class CmdlineRemoteProto {
public long getMostSigBits() {
return mostSigBits_;
}
+ /**
+ * required sint64 most_sig_bits = 1;
+ */
+ private void setMostSigBits(long value) {
+ bitField0_ |= 0x00000001;
+ mostSigBits_ = value;
+ }
+ /**
+ * required sint64 most_sig_bits = 1;
+ */
+ private void clearMostSigBits() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ mostSigBits_ = 0L;
+ }
- // required sint64 least_sig_bits = 2;
public static final int LEAST_SIG_BITS_FIELD_NUMBER = 2;
private long leastSigBits_;
/**
@@ -390,40 +219,32 @@ public final class CmdlineRemoteProto {
public long getLeastSigBits() {
return leastSigBits_;
}
-
- private void initFields() {
- mostSigBits_ = 0L;
- leastSigBits_ = 0L;
+ /**
+ * required sint64 least_sig_bits = 2;
+ */
+ private void setLeastSigBits(long value) {
+ bitField0_ |= 0x00000002;
+ leastSigBits_ = value;
}
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasMostSigBits()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasLeastSigBits()) {
- memoizedIsInitialized = 0;
- return false;
- }
- memoizedIsInitialized = 1;
- return true;
+ /**
+ * required sint64 least_sig_bits = 2;
+ */
+ private void clearLeastSigBits() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ leastSigBits_ = 0L;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeSInt64(1, mostSigBits_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeSInt64(2, leastSigBits_);
}
+ unknownFields.writeTo(output);
}
- private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
@@ -437,259 +258,283 @@ public final class CmdlineRemoteProto {
size += com.google.protobuf.CodedOutputStream
.computeSInt64Size(2, leastSigBits_);
}
+ size += unknownFields.getSerializedSize();
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
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);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
public static Builder newBuilder(org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID prototype) {
- return newBuilder().mergeFrom(prototype);
+ return DEFAULT_INSTANCE.toBuilder().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>
- implements org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUIDOrBuilder {
+ org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID, Builder> implements
+ // @@protoc_insertion_point(builder_implements:org.jetbrains.jpsservice.Message.UUID)
+ org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUIDOrBuilder {
// Construct using org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID.newBuilder()
private Builder() {
- maybeForceBuilderInitialization();
+ super(DEFAULT_INSTANCE);
}
- private void maybeForceBuilderInitialization() {
- }
- private static Builder create() {
- return new Builder();
- }
- public Builder clear() {
- super.clear();
- mostSigBits_ = 0L;
- bitField0_ = (bitField0_ & ~0x00000001);
- leastSigBits_ = 0L;
- 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()) {
- throw newUninitializedMessageException(result);
- }
- 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_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.mostSigBits_ = mostSigBits_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- result.leastSigBits_ = leastSigBits_;
- 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()) {
- setMostSigBits(other.getMostSigBits());
- }
- if (other.hasLeastSigBits()) {
- setLeastSigBits(other.getLeastSigBits());
- }
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasMostSigBits()) {
-
- return false;
- }
- if (!hasLeastSigBits()) {
-
- 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.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);
- }
- }
- 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);
+ return instance.hasMostSigBits();
}
/**
* required sint64 most_sig_bits = 1;
*/
public long getMostSigBits() {
- return mostSigBits_;
+ return instance.getMostSigBits();
}
/**
* required sint64 most_sig_bits = 1;
*/
public Builder setMostSigBits(long value) {
- bitField0_ |= 0x00000001;
- mostSigBits_ = value;
-
+ copyOnWrite();
+ instance.setMostSigBits(value);
return this;
}
/**
* required sint64 most_sig_bits = 1;
*/
public Builder clearMostSigBits() {
- bitField0_ = (bitField0_ & ~0x00000001);
- mostSigBits_ = 0L;
-
+ copyOnWrite();
+ instance.clearMostSigBits();
return this;
}
- // required sint64 least_sig_bits = 2;
- private long leastSigBits_ ;
/**
* required sint64 least_sig_bits = 2;
*/
public boolean hasLeastSigBits() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return instance.hasLeastSigBits();
}
/**
* required sint64 least_sig_bits = 2;
*/
public long getLeastSigBits() {
- return leastSigBits_;
+ return instance.getLeastSigBits();
}
/**
* required sint64 least_sig_bits = 2;
*/
public Builder setLeastSigBits(long value) {
- bitField0_ |= 0x00000002;
- leastSigBits_ = value;
-
+ copyOnWrite();
+ instance.setLeastSigBits(value);
return this;
}
/**
* required sint64 least_sig_bits = 2;
*/
public Builder clearLeastSigBits() {
- bitField0_ = (bitField0_ & ~0x00000002);
- leastSigBits_ = 0L;
-
+ copyOnWrite();
+ instance.clearLeastSigBits();
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.jpsservice.Message.UUID)
}
+ private byte memoizedIsInitialized = -1;
+ protected final Object dynamicMethod(
+ com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
+ Object arg0, Object arg1) {
+ switch (method) {
+ case NEW_MUTABLE_INSTANCE: {
+ return new org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID();
+ }
+ case IS_INITIALIZED: {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return DEFAULT_INSTANCE;
+ if (isInitialized == 0) return null;
- static {
- defaultInstance = new UUID(true);
- defaultInstance.initFields();
+ boolean shouldMemoize = ((Boolean) arg0).booleanValue();
+ if (!hasMostSigBits()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ if (!hasLeastSigBits()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ if (shouldMemoize) memoizedIsInitialized = 1;
+ return DEFAULT_INSTANCE;
+
+ }
+ case MAKE_IMMUTABLE: {
+ return null;
+ }
+ case NEW_BUILDER: {
+ return new Builder();
+ }
+ case VISIT: {
+ Visitor visitor = (Visitor) arg0;
+ org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID other = (org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID) arg1;
+ mostSigBits_ = visitor.visitLong(
+ hasMostSigBits(), mostSigBits_,
+ other.hasMostSigBits(), other.mostSigBits_);
+ leastSigBits_ = visitor.visitLong(
+ hasLeastSigBits(), leastSigBits_,
+ other.hasLeastSigBits(), other.leastSigBits_);
+ if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor
+ .INSTANCE) {
+ bitField0_ |= other.bitField0_;
+ }
+ return this;
+ }
+ case MERGE_FROM_STREAM: {
+ com.google.protobuf.CodedInputStream input =
+ (com.google.protobuf.CodedInputStream) arg0;
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry =
+ (com.google.protobuf.ExtensionRegistryLite) arg1;
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(tag, input)) {
+ 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 new RuntimeException(e.setUnfinishedMessage(this));
+ } catch (java.io.IOException e) {
+ throw new RuntimeException(
+ new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this));
+ } finally {
+ }
+ }
+ case GET_DEFAULT_INSTANCE: {
+ return DEFAULT_INSTANCE;
+ }
+ case GET_PARSER: {
+ if (PARSER == null) { synchronized (org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID.class) {
+ if (PARSER == null) {
+ PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE);
+ }
+ }
+ }
+ return PARSER;
+ }
+ }
+ throw new UnsupportedOperationException();
}
+
// @@protoc_insertion_point(class_scope:org.jetbrains.jpsservice.Message.UUID)
+ private static final org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new UUID();
+ DEFAULT_INSTANCE.makeImmutable();
+ }
+
+ public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.UUID getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static volatile com.google.protobuf.Parser PARSER;
+
+ public static com.google.protobuf.Parser parser() {
+ return DEFAULT_INSTANCE.getParserForType();
+ }
}
- public interface KeyValuePairOrBuilder
- extends com.google.protobuf.MessageLiteOrBuilder {
+ public interface KeyValuePairOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:org.jetbrains.jpsservice.Message.KeyValuePair)
+ com.google.protobuf.MessageLiteOrBuilder {
- // required string key = 1;
/**
* required string key = 1;
*/
@@ -704,7 +549,6 @@ public final class CmdlineRemoteProto {
com.google.protobuf.ByteString
getKeyBytes();
- // required string value = 2;
/**
* required string value = 2;
*/
@@ -722,86 +566,18 @@ public final class CmdlineRemoteProto {
/**
* 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) {
- super(builder);
-
+ public static final class KeyValuePair extends
+ com.google.protobuf.GeneratedMessageLite<
+ KeyValuePair, KeyValuePair.Builder> implements
+ // @@protoc_insertion_point(message_implements:org.jetbrains.jpsservice.Message.KeyValuePair)
+ KeyValuePairOrBuilder {
+ private KeyValuePair() {
+ key_ = "";
+ value_ = "";
}
- 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_;
+ private java.lang.String key_;
/**
* required string key = 1;
*/
@@ -812,39 +588,47 @@ public final class CmdlineRemoteProto {
* required string key = 1;
*/
public java.lang.String getKey() {
- java.lang.Object ref = key_;
- 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()) {
- key_ = s;
- }
- return s;
- }
+ return key_;
}
/**
* required string key = 1;
*/
public com.google.protobuf.ByteString
getKeyBytes() {
- java.lang.Object ref = key_;
- if (ref instanceof java.lang.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;
- }
+ return com.google.protobuf.ByteString.copyFromUtf8(key_);
+ }
+ /**
+ * required string key = 1;
+ */
+ private void setKey(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ key_ = value;
+ }
+ /**
+ * required string key = 1;
+ */
+ private void clearKey() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ key_ = getDefaultInstance().getKey();
+ }
+ /**
+ * required string key = 1;
+ */
+ private void setKeyBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ key_ = value.toStringUtf8();
}
- // required string value = 2;
public static final int VALUE_FIELD_NUMBER = 2;
- private java.lang.Object value_;
+ private java.lang.String value_;
/**
* required string value = 2;
*/
@@ -855,69 +639,56 @@ public final class CmdlineRemoteProto {
* required string value = 2;
*/
public java.lang.String getValue() {
- java.lang.Object ref = value_;
- 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()) {
- value_ = s;
- }
- return s;
- }
+ return value_;
}
/**
* required string value = 2;
*/
public com.google.protobuf.ByteString
getValueBytes() {
- java.lang.Object ref = value_;
- if (ref instanceof java.lang.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;
- }
+ return com.google.protobuf.ByteString.copyFromUtf8(value_);
}
-
- private void initFields() {
- key_ = "";
- value_ = "";
+ /**
+ * required string value = 2;
+ */
+ private void setValue(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
+ value_ = value;
}
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasKey()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasValue()) {
- memoizedIsInitialized = 0;
- return false;
- }
- memoizedIsInitialized = 1;
- return true;
+ /**
+ * required string value = 2;
+ */
+ private void clearValue() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ value_ = getDefaultInstance().getValue();
+ }
+ /**
+ * required string value = 2;
+ */
+ private void setValueBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
+ value_ = value.toStringUtf8();
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeBytes(1, getKeyBytes());
+ output.writeString(1, getKey());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeBytes(2, getValueBytes());
+ output.writeString(2, getValue());
}
+ unknownFields.writeTo(output);
}
- private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
@@ -925,246 +696,133 @@ public final class CmdlineRemoteProto {
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(1, getKeyBytes());
+ .computeStringSize(1, getKey());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(2, getValueBytes());
+ .computeStringSize(2, getValue());
}
+ size += unknownFields.getSerializedSize();
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
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);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
public static Builder newBuilder(org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair prototype) {
- return newBuilder().mergeFrom(prototype);
+ return DEFAULT_INSTANCE.toBuilder().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>
- implements org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePairOrBuilder {
+ org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair, Builder> implements
+ // @@protoc_insertion_point(builder_implements:org.jetbrains.jpsservice.Message.KeyValuePair)
+ org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePairOrBuilder {
// Construct using org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair.newBuilder()
private Builder() {
- maybeForceBuilderInitialization();
+ super(DEFAULT_INSTANCE);
}
- private void maybeForceBuilderInitialization() {
- }
- private static Builder create() {
- return new Builder();
- }
- public Builder clear() {
- super.clear();
- key_ = "";
- bitField0_ = (bitField0_ & ~0x00000001);
- value_ = "";
- 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()) {
- throw newUninitializedMessageException(result);
- }
- 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_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.key_ = key_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- result.value_ = value_;
- 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_;
-
- }
- if (other.hasValue()) {
- bitField0_ |= 0x00000002;
- value_ = other.value_;
-
- }
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasKey()) {
-
- return false;
- }
- if (!hasValue()) {
-
- 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.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);
- }
- }
- 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);
+ return instance.hasKey();
}
/**
* required string key = 1;
*/
public java.lang.String getKey() {
- java.lang.Object ref = key_;
- if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- key_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
+ return instance.getKey();
}
/**
* 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;
- }
+ return instance.getKeyBytes();
}
/**
* required string key = 1;
*/
public Builder setKey(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- key_ = value;
-
+ copyOnWrite();
+ instance.setKey(value);
return this;
}
/**
* required string key = 1;
*/
public Builder clearKey() {
- bitField0_ = (bitField0_ & ~0x00000001);
- key_ = getDefaultInstance().getKey();
-
+ copyOnWrite();
+ instance.clearKey();
return this;
}
/**
@@ -1172,73 +830,45 @@ public final class CmdlineRemoteProto {
*/
public Builder setKeyBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- key_ = value;
-
+ copyOnWrite();
+ instance.setKeyBytes(value);
return this;
}
- // required string value = 2;
- private java.lang.Object value_ = "";
/**
* required string value = 2;
*/
public boolean hasValue() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return instance.hasValue();
}
/**
* required string value = 2;
*/
public java.lang.String getValue() {
- java.lang.Object ref = value_;
- if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- value_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
+ return instance.getValue();
}
/**
* 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;
- }
+ return instance.getValueBytes();
}
/**
* required string value = 2;
*/
public Builder setValue(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- value_ = value;
-
+ copyOnWrite();
+ instance.setValue(value);
return this;
}
/**
* required string value = 2;
*/
public Builder clearValue() {
- bitField0_ = (bitField0_ & ~0x00000002);
- value_ = getDefaultInstance().getValue();
-
+ copyOnWrite();
+ instance.clearValue();
return this;
}
/**
@@ -1246,30 +876,145 @@ public final class CmdlineRemoteProto {
*/
public Builder setValueBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- value_ = value;
-
+ copyOnWrite();
+ instance.setValueBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.jpsservice.Message.KeyValuePair)
}
+ private byte memoizedIsInitialized = -1;
+ protected final Object dynamicMethod(
+ com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
+ Object arg0, Object arg1) {
+ switch (method) {
+ case NEW_MUTABLE_INSTANCE: {
+ return new org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair();
+ }
+ case IS_INITIALIZED: {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return DEFAULT_INSTANCE;
+ if (isInitialized == 0) return null;
- static {
- defaultInstance = new KeyValuePair(true);
- defaultInstance.initFields();
+ boolean shouldMemoize = ((Boolean) arg0).booleanValue();
+ if (!hasKey()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ if (!hasValue()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ if (shouldMemoize) memoizedIsInitialized = 1;
+ return DEFAULT_INSTANCE;
+
+ }
+ case MAKE_IMMUTABLE: {
+ return null;
+ }
+ case NEW_BUILDER: {
+ return new Builder();
+ }
+ case VISIT: {
+ Visitor visitor = (Visitor) arg0;
+ org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair other = (org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair) arg1;
+ key_ = visitor.visitString(
+ hasKey(), key_,
+ other.hasKey(), other.key_);
+ value_ = visitor.visitString(
+ hasValue(), value_,
+ other.hasValue(), other.value_);
+ if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor
+ .INSTANCE) {
+ bitField0_ |= other.bitField0_;
+ }
+ return this;
+ }
+ case MERGE_FROM_STREAM: {
+ com.google.protobuf.CodedInputStream input =
+ (com.google.protobuf.CodedInputStream) arg0;
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry =
+ (com.google.protobuf.ExtensionRegistryLite) arg1;
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(tag, input)) {
+ done = true;
+ }
+ break;
+ }
+ case 10: {
+ String s = input.readString();
+ bitField0_ |= 0x00000001;
+ key_ = s;
+ break;
+ }
+ case 18: {
+ String s = input.readString();
+ bitField0_ |= 0x00000002;
+ value_ = s;
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw new RuntimeException(e.setUnfinishedMessage(this));
+ } catch (java.io.IOException e) {
+ throw new RuntimeException(
+ new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this));
+ } finally {
+ }
+ }
+ case GET_DEFAULT_INSTANCE: {
+ return DEFAULT_INSTANCE;
+ }
+ case GET_PARSER: {
+ if (PARSER == null) { synchronized (org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair.class) {
+ if (PARSER == null) {
+ PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE);
+ }
+ }
+ }
+ return PARSER;
+ }
+ }
+ throw new UnsupportedOperationException();
}
+
// @@protoc_insertion_point(class_scope:org.jetbrains.jpsservice.Message.KeyValuePair)
+ private static final org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new KeyValuePair();
+ DEFAULT_INSTANCE.makeImmutable();
+ }
+
+ public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static volatile com.google.protobuf.Parser PARSER;
+
+ public static com.google.protobuf.Parser parser() {
+ return DEFAULT_INSTANCE.getParserForType();
+ }
}
- public interface FailureOrBuilder
- extends com.google.protobuf.MessageLiteOrBuilder {
+ public interface FailureOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:org.jetbrains.jpsservice.Message.Failure)
+ com.google.protobuf.MessageLiteOrBuilder {
- // optional int32 error_code = 1;
/**
* optional int32 error_code = 1;
*/
@@ -1279,7 +1024,6 @@ public final class CmdlineRemoteProto {
*/
int getErrorCode();
- // optional string description = 2;
/**
* optional string description = 2;
*/
@@ -1294,7 +1038,6 @@ public final class CmdlineRemoteProto {
com.google.protobuf.ByteString
getDescriptionBytes();
- // optional string stacktrace = 3;
/**
* optional string stacktrace = 3;
*/
@@ -1312,89 +1055,16 @@ public final class CmdlineRemoteProto {
/**
* 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) {
- super(builder);
-
+ public static final class Failure extends
+ com.google.protobuf.GeneratedMessageLite<
+ Failure, Failure.Builder> implements
+ // @@protoc_insertion_point(message_implements:org.jetbrains.jpsservice.Message.Failure)
+ FailureOrBuilder {
+ private Failure() {
+ description_ = "";
+ stacktrace_ = "";
}
- 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,
- 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;
- errorCode_ = input.readInt32();
- break;
- }
- case 18: {
- bitField0_ |= 0x00000002;
- description_ = input.readBytes();
- break;
- }
- case 26: {
- bitField0_ |= 0x00000004;
- stacktrace_ = 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 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_;
/**
@@ -1409,10 +1079,23 @@ public final class CmdlineRemoteProto {
public int getErrorCode() {
return errorCode_;
}
+ /**
+ * optional int32 error_code = 1;
+ */
+ private void setErrorCode(int value) {
+ bitField0_ |= 0x00000001;
+ errorCode_ = value;
+ }
+ /**
+ * optional int32 error_code = 1;
+ */
+ private void clearErrorCode() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ errorCode_ = 0;
+ }
- // optional string description = 2;
public static final int DESCRIPTION_FIELD_NUMBER = 2;
- private java.lang.Object description_;
+ private java.lang.String description_;
/**
* optional string description = 2;
*/
@@ -1423,39 +1106,47 @@ public final class CmdlineRemoteProto {
* 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;
- }
+ return description_;
}
/**
* 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;
- }
+ return com.google.protobuf.ByteString.copyFromUtf8(description_);
+ }
+ /**
+ * optional string description = 2;
+ */
+ private void setDescription(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
+ description_ = value;
+ }
+ /**
+ * optional string description = 2;
+ */
+ private void clearDescription() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ description_ = getDefaultInstance().getDescription();
+ }
+ /**
+ * optional string description = 2;
+ */
+ private void setDescriptionBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
+ description_ = value.toStringUtf8();
}
- // optional string stacktrace = 3;
public static final int STACKTRACE_FIELD_NUMBER = 3;
- private java.lang.Object stacktrace_;
+ private java.lang.String stacktrace_;
/**
* optional string stacktrace = 3;
*/
@@ -1466,65 +1157,59 @@ public final class CmdlineRemoteProto {
* 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;
- }
+ return stacktrace_;
}
/**
* 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;
- }
+ return com.google.protobuf.ByteString.copyFromUtf8(stacktrace_);
}
-
- private void initFields() {
- errorCode_ = 0;
- description_ = "";
- stacktrace_ = "";
+ /**
+ * optional string stacktrace = 3;
+ */
+ private void setStacktrace(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
+ stacktrace_ = value;
}
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- memoizedIsInitialized = 1;
- return true;
+ /**
+ * optional string stacktrace = 3;
+ */
+ private void clearStacktrace() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ stacktrace_ = getDefaultInstance().getStacktrace();
+ }
+ /**
+ * optional string stacktrace = 3;
+ */
+ private void setStacktraceBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
+ stacktrace_ = value.toStringUtf8();
}
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());
+ output.writeString(2, getDescription());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeBytes(3, getStacktraceBytes());
+ output.writeString(3, getStacktrace());
}
+ unknownFields.writeTo(output);
}
- private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
@@ -1536,280 +1221,162 @@ public final class CmdlineRemoteProto {
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(2, getDescriptionBytes());
+ .computeStringSize(2, getDescription());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(3, getStacktraceBytes());
+ .computeStringSize(3, getStacktrace());
}
+ size += unknownFields.getSerializedSize();
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);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, 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);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, 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);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, 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);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, 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);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, 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);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, 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);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
public static Builder newBuilder(org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure prototype) {
- return newBuilder().mergeFrom(prototype);
+ return DEFAULT_INSTANCE.toBuilder().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 {
+ org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure, Builder> implements
+ // @@protoc_insertion_point(builder_implements:org.jetbrains.jpsservice.Message.Failure)
+ org.jetbrains.jps.api.CmdlineRemoteProto.Message.FailureOrBuilder {
// Construct using org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure.newBuilder()
private Builder() {
- maybeForceBuilderInitialization();
+ super(DEFAULT_INSTANCE);
}
- 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);
+ return instance.hasErrorCode();
}
/**
* optional int32 error_code = 1;
*/
public int getErrorCode() {
- return errorCode_;
+ return instance.getErrorCode();
}
/**
* optional int32 error_code = 1;
*/
public Builder setErrorCode(int value) {
- bitField0_ |= 0x00000001;
- errorCode_ = value;
-
+ copyOnWrite();
+ instance.setErrorCode(value);
return this;
}
/**
* optional int32 error_code = 1;
*/
public Builder clearErrorCode() {
- bitField0_ = (bitField0_ & ~0x00000001);
- errorCode_ = 0;
-
+ copyOnWrite();
+ instance.clearErrorCode();
return this;
}
- // optional string description = 2;
- private java.lang.Object description_ = "";
/**
* optional string description = 2;
*/
public boolean hasDescription() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return instance.hasDescription();
}
/**
* optional string description = 2;
*/
public java.lang.String getDescription() {
- java.lang.Object ref = description_;
- if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- description_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
+ return instance.getDescription();
}
/**
* 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;
- }
+ return instance.getDescriptionBytes();
}
/**
* optional string description = 2;
*/
public Builder setDescription(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- description_ = value;
-
+ copyOnWrite();
+ instance.setDescription(value);
return this;
}
/**
* optional string description = 2;
*/
public Builder clearDescription() {
- bitField0_ = (bitField0_ & ~0x00000002);
- description_ = getDefaultInstance().getDescription();
-
+ copyOnWrite();
+ instance.clearDescription();
return this;
}
/**
@@ -1817,73 +1384,45 @@ public final class CmdlineRemoteProto {
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- description_ = value;
-
+ copyOnWrite();
+ instance.setDescriptionBytes(value);
return this;
}
- // optional string stacktrace = 3;
- private java.lang.Object stacktrace_ = "";
/**
* optional string stacktrace = 3;
*/
public boolean hasStacktrace() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return instance.hasStacktrace();
}
/**
* optional string stacktrace = 3;
*/
public java.lang.String getStacktrace() {
- java.lang.Object ref = stacktrace_;
- if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- stacktrace_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
+ return instance.getStacktrace();
}
/**
* 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;
- }
+ return instance.getStacktraceBytes();
}
/**
* optional string stacktrace = 3;
*/
public Builder setStacktrace(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000004;
- stacktrace_ = value;
-
+ copyOnWrite();
+ instance.setStacktrace(value);
return this;
}
/**
* optional string stacktrace = 3;
*/
public Builder clearStacktrace() {
- bitField0_ = (bitField0_ & ~0x00000004);
- stacktrace_ = getDefaultInstance().getStacktrace();
-
+ copyOnWrite();
+ instance.clearStacktrace();
return this;
}
/**
@@ -1891,30 +1430,133 @@ public final class CmdlineRemoteProto {
*/
public Builder setStacktraceBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000004;
- stacktrace_ = value;
-
+ copyOnWrite();
+ instance.setStacktraceBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.jpsservice.Message.Failure)
}
-
- static {
- defaultInstance = new Failure(true);
- defaultInstance.initFields();
+ protected final Object dynamicMethod(
+ com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
+ Object arg0, Object arg1) {
+ switch (method) {
+ case NEW_MUTABLE_INSTANCE: {
+ return new org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure();
+ }
+ case IS_INITIALIZED: {
+ return DEFAULT_INSTANCE;
+ }
+ case MAKE_IMMUTABLE: {
+ return null;
+ }
+ case NEW_BUILDER: {
+ return new Builder();
+ }
+ case VISIT: {
+ Visitor visitor = (Visitor) arg0;
+ org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure other = (org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure) arg1;
+ errorCode_ = visitor.visitInt(
+ hasErrorCode(), errorCode_,
+ other.hasErrorCode(), other.errorCode_);
+ description_ = visitor.visitString(
+ hasDescription(), description_,
+ other.hasDescription(), other.description_);
+ stacktrace_ = visitor.visitString(
+ hasStacktrace(), stacktrace_,
+ other.hasStacktrace(), other.stacktrace_);
+ if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor
+ .INSTANCE) {
+ bitField0_ |= other.bitField0_;
+ }
+ return this;
+ }
+ case MERGE_FROM_STREAM: {
+ com.google.protobuf.CodedInputStream input =
+ (com.google.protobuf.CodedInputStream) arg0;
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry =
+ (com.google.protobuf.ExtensionRegistryLite) arg1;
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(tag, input)) {
+ done = true;
+ }
+ break;
+ }
+ case 8: {
+ bitField0_ |= 0x00000001;
+ errorCode_ = input.readInt32();
+ break;
+ }
+ case 18: {
+ String s = input.readString();
+ bitField0_ |= 0x00000002;
+ description_ = s;
+ break;
+ }
+ case 26: {
+ String s = input.readString();
+ bitField0_ |= 0x00000004;
+ stacktrace_ = s;
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw new RuntimeException(e.setUnfinishedMessage(this));
+ } catch (java.io.IOException e) {
+ throw new RuntimeException(
+ new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this));
+ } finally {
+ }
+ }
+ case GET_DEFAULT_INSTANCE: {
+ return DEFAULT_INSTANCE;
+ }
+ case GET_PARSER: {
+ if (PARSER == null) { synchronized (org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure.class) {
+ if (PARSER == null) {
+ PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE);
+ }
+ }
+ }
+ return PARSER;
+ }
+ }
+ throw new UnsupportedOperationException();
}
+
// @@protoc_insertion_point(class_scope:org.jetbrains.jpsservice.Message.Failure)
+ private static final org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new Failure();
+ DEFAULT_INSTANCE.makeImmutable();
+ }
+
+ public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.Failure getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static volatile com.google.protobuf.Parser PARSER;
+
+ public static com.google.protobuf.Parser parser() {
+ return DEFAULT_INSTANCE.getParserForType();
+ }
}
- public interface ControllerMessageOrBuilder
- extends com.google.protobuf.MessageLiteOrBuilder {
+ public interface ControllerMessageOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:org.jetbrains.jpsservice.Message.ControllerMessage)
+ com.google.protobuf.MessageLiteOrBuilder {
- // required .org.jetbrains.jpsservice.Message.ControllerMessage.Type type = 1;
/**
* required .org.jetbrains.jpsservice.Message.ControllerMessage.Type type = 1;
*/
@@ -1924,7 +1566,6 @@ public final class CmdlineRemoteProto {
*/
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;
*/
@@ -1934,7 +1575,6 @@ public final class CmdlineRemoteProto {
*/
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;
*/
@@ -1944,7 +1584,6 @@ public final class CmdlineRemoteProto {
*/
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;
*/
@@ -1957,120 +1596,14 @@ public final class CmdlineRemoteProto {
/**
* 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) {
- super(builder);
-
+ public static final class ControllerMessage extends
+ com.google.protobuf.GeneratedMessageLite<
+ ControllerMessage, ControllerMessage.Builder> implements
+ // @@protoc_insertion_point(message_implements:org.jetbrains.jpsservice.Message.ControllerMessage)
+ ControllerMessageOrBuilder {
+ private ControllerMessage() {
+ type_ = 1;
}
- 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}
*/
@@ -2079,19 +1612,19 @@ public final class CmdlineRemoteProto {
/**
* BUILD_PARAMETERS = 1;
*/
- BUILD_PARAMETERS(0, 1),
+ BUILD_PARAMETERS(1),
/**
* CANCEL_BUILD_COMMAND = 2;
*/
- CANCEL_BUILD_COMMAND(1, 2),
+ CANCEL_BUILD_COMMAND(2),
/**
* FS_EVENT = 3;
*/
- FS_EVENT(2, 3),
+ FS_EVENT(3),
/**
* CONSTANT_SEARCH_RESULT = 4;
*/
- CONSTANT_SEARCH_RESULT(3, 4),
+ CONSTANT_SEARCH_RESULT(4),
;
/**
@@ -2112,9 +1645,19 @@ public final class CmdlineRemoteProto {
public static final int CONSTANT_SEARCH_RESULT_VALUE = 4;
- public final int getNumber() { return value; }
+ public final int getNumber() {
+ return value;
+ }
+ /**
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
public static Type valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static Type forNumber(int value) {
switch (value) {
case 1: return BUILD_PARAMETERS;
case 2: return CANCEL_BUILD_COMMAND;
@@ -2128,27 +1671,27 @@ public final class CmdlineRemoteProto {
internalGetValueMap() {
return internalValueMap;
}
- private static com.google.protobuf.Internal.EnumLiteMap
- internalValueMap =
+ private static final com.google.protobuf.Internal.EnumLiteMap<
+ Type> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Type findValueByNumber(int number) {
- return Type.valueOf(number);
+ return Type.forNumber(number);
}
};
private final int value;
- private Type(int index, int value) {
+ private Type(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org.jetbrains.jpsservice.Message.ControllerMessage.Type)
}
- public interface FSEventOrBuilder
- extends com.google.protobuf.MessageLiteOrBuilder {
+ public interface FSEventOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:org.jetbrains.jpsservice.Message.ControllerMessage.FSEvent)
+ com.google.protobuf.MessageLiteOrBuilder {
- // required uint64 ordinal = 1;
/**
* required uint64 ordinal = 1;
*/
@@ -2158,12 +1701,11 @@ public final class CmdlineRemoteProto {
*/
long getOrdinal();
- // repeated string changed_paths = 2;
/**
* repeated string changed_paths = 2;
*/
- java.util.List
- getChangedPathsList();
+ java.util.List
+ getChangedPathsList();
/**
* repeated string changed_paths = 2;
*/
@@ -2178,12 +1720,11 @@ public final class CmdlineRemoteProto {
com.google.protobuf.ByteString
getChangedPathsBytes(int index);
- // repeated string deleted_paths = 3;
/**
* repeated string deleted_paths = 3;
*/
- java.util.List
- getDeletedPathsList();
+ java.util.List
+ getDeletedPathsList();
/**
* repeated string deleted_paths = 3;
*/
@@ -2201,101 +1742,16 @@ public final class CmdlineRemoteProto {
/**
* 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) {
- super(builder);
-
+ public static final class FSEvent extends
+ com.google.protobuf.GeneratedMessageLite<
+ FSEvent, FSEvent.Builder> implements
+ // @@protoc_insertion_point(message_implements:org.jetbrains.jpsservice.Message.ControllerMessage.FSEvent)
+ FSEventOrBuilder {
+ private FSEvent() {
+ changedPaths_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
+ deletedPaths_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
- 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_;
/**
@@ -2310,15 +1766,27 @@ public final class CmdlineRemoteProto {
public long getOrdinal() {
return ordinal_;
}
+ /**
+ * required uint64 ordinal = 1;
+ */
+ private void setOrdinal(long value) {
+ bitField0_ |= 0x00000001;
+ ordinal_ = value;
+ }
+ /**
+ * required uint64 ordinal = 1;
+ */
+ private void clearOrdinal() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ ordinal_ = 0L;
+ }
- // repeated string changed_paths = 2;
public static final int CHANGED_PATHS_FIELD_NUMBER = 2;
- private com.google.protobuf.LazyStringList changedPaths_;
+ private com.google.protobuf.Internal.ProtobufList changedPaths_;
/**
* repeated string changed_paths = 2;
*/
- public java.util.List
- getChangedPathsList() {
+ public java.util.List getChangedPathsList() {
return changedPaths_;
}
/**
@@ -2338,17 +1806,70 @@ public final class CmdlineRemoteProto {
*/
public com.google.protobuf.ByteString
getChangedPathsBytes(int index) {
- return changedPaths_.getByteString(index);
+ return com.google.protobuf.ByteString.copyFromUtf8(
+ changedPaths_.get(index));
+ }
+ private void ensureChangedPathsIsMutable() {
+ if (!changedPaths_.isModifiable()) {
+ changedPaths_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(changedPaths_);
+ }
+ }
+ /**
+ * repeated string changed_paths = 2;
+ */
+ private void setChangedPaths(
+ int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureChangedPathsIsMutable();
+ changedPaths_.set(index, value);
+ }
+ /**
+ * repeated string changed_paths = 2;
+ */
+ private void addChangedPaths(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureChangedPathsIsMutable();
+ changedPaths_.add(value);
+ }
+ /**
+ * repeated string changed_paths = 2;
+ */
+ private void addAllChangedPaths(
+ java.lang.Iterable values) {
+ ensureChangedPathsIsMutable();
+ com.google.protobuf.AbstractMessageLite.addAll(
+ values, changedPaths_);
+ }
+ /**
+ * repeated string changed_paths = 2;
+ */
+ private void clearChangedPaths() {
+ changedPaths_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
+ }
+ /**
+ * repeated string changed_paths = 2;
+ */
+ private void addChangedPathsBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureChangedPathsIsMutable();
+ changedPaths_.add(value.toStringUtf8());
}
- // repeated string deleted_paths = 3;
public static final int DELETED_PATHS_FIELD_NUMBER = 3;
- private com.google.protobuf.LazyStringList deletedPaths_;
+ private com.google.protobuf.Internal.ProtobufList deletedPaths_;
/**
* repeated string deleted_paths = 3;
*/
- public java.util.List
- getDeletedPathsList() {
+ public java.util.List getDeletedPathsList() {
return deletedPaths_;
}
/**
@@ -2368,42 +1889,78 @@ public final class CmdlineRemoteProto {
*/
public com.google.protobuf.ByteString
getDeletedPathsBytes(int index) {
- return deletedPaths_.getByteString(index);
+ return com.google.protobuf.ByteString.copyFromUtf8(
+ deletedPaths_.get(index));
}
-
- private void initFields() {
- ordinal_ = 0L;
- changedPaths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- deletedPaths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ private void ensureDeletedPathsIsMutable() {
+ if (!deletedPaths_.isModifiable()) {
+ deletedPaths_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(deletedPaths_);
+ }
}
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasOrdinal()) {
- memoizedIsInitialized = 0;
- return false;
- }
- memoizedIsInitialized = 1;
- return true;
+ /**
+ * repeated string deleted_paths = 3;
+ */
+ private void setDeletedPaths(
+ int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDeletedPathsIsMutable();
+ deletedPaths_.set(index, value);
+ }
+ /**
+ * repeated string deleted_paths = 3;
+ */
+ private void addDeletedPaths(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDeletedPathsIsMutable();
+ deletedPaths_.add(value);
+ }
+ /**
+ * repeated string deleted_paths = 3;
+ */
+ private void addAllDeletedPaths(
+ java.lang.Iterable values) {
+ ensureDeletedPathsIsMutable();
+ com.google.protobuf.AbstractMessageLite.addAll(
+ values, deletedPaths_);
+ }
+ /**
+ * repeated string deleted_paths = 3;
+ */
+ private void clearDeletedPaths() {
+ deletedPaths_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
+ }
+ /**
+ * repeated string deleted_paths = 3;
+ */
+ private void addDeletedPathsBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDeletedPathsIsMutable();
+ deletedPaths_.add(value.toStringUtf8());
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt64(1, ordinal_);
}
for (int i = 0; i < changedPaths_.size(); i++) {
- output.writeBytes(2, changedPaths_.getByteString(i));
+ output.writeString(2, changedPaths_.get(i));
}
for (int i = 0; i < deletedPaths_.size(); i++) {
- output.writeBytes(3, deletedPaths_.getByteString(i));
+ output.writeString(3, deletedPaths_.get(i));
}
+ unknownFields.writeTo(output);
}
- private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
@@ -2417,7 +1974,7 @@ public final class CmdlineRemoteProto {
int dataSize = 0;
for (int i = 0; i < changedPaths_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
- .computeBytesSizeNoTag(changedPaths_.getByteString(i));
+ .computeStringSizeNoTag(changedPaths_.get(i));
}
size += dataSize;
size += 1 * getChangedPathsList().size();
@@ -2426,284 +1983,161 @@ public final class CmdlineRemoteProto {
int dataSize = 0;
for (int i = 0; i < deletedPaths_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
- .computeBytesSizeNoTag(deletedPaths_.getByteString(i));
+ .computeStringSizeNoTag(deletedPaths_.get(i));
}
size += dataSize;
size += 1 * getDeletedPathsList().size();
}
+ size += unknownFields.getSerializedSize();
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
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);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
public static Builder newBuilder(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent prototype) {
- return newBuilder().mergeFrom(prototype);
+ return DEFAULT_INSTANCE.toBuilder().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>
- implements org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEventOrBuilder {
+ org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent, Builder> implements
+ // @@protoc_insertion_point(builder_implements:org.jetbrains.jpsservice.Message.ControllerMessage.FSEvent)
+ org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEventOrBuilder {
// Construct using org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent.newBuilder()
private Builder() {
- maybeForceBuilderInitialization();
+ super(DEFAULT_INSTANCE);
}
- private void maybeForceBuilderInitialization() {
- }
- private static Builder create() {
- return new Builder();
- }
- public Builder clear() {
- super.clear();
- ordinal_ = 0L;
- bitField0_ = (bitField0_ & ~0x00000001);
- changedPaths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
- deletedPaths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- 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()) {
- throw newUninitializedMessageException(result);
- }
- 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_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.ordinal_ = ordinal_;
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- changedPaths_ = new com.google.protobuf.UnmodifiableLazyStringList(
- changedPaths_);
- bitField0_ = (bitField0_ & ~0x00000002);
- }
- result.changedPaths_ = changedPaths_;
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- deletedPaths_ = new com.google.protobuf.UnmodifiableLazyStringList(
- deletedPaths_);
- bitField0_ = (bitField0_ & ~0x00000004);
- }
- result.deletedPaths_ = deletedPaths_;
- 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()) {
- setOrdinal(other.getOrdinal());
- }
- if (!other.changedPaths_.isEmpty()) {
- if (changedPaths_.isEmpty()) {
- changedPaths_ = other.changedPaths_;
- bitField0_ = (bitField0_ & ~0x00000002);
- } else {
- ensureChangedPathsIsMutable();
- changedPaths_.addAll(other.changedPaths_);
- }
-
- }
- if (!other.deletedPaths_.isEmpty()) {
- if (deletedPaths_.isEmpty()) {
- deletedPaths_ = other.deletedPaths_;
- bitField0_ = (bitField0_ & ~0x00000004);
- } else {
- ensureDeletedPathsIsMutable();
- deletedPaths_.addAll(other.deletedPaths_);
- }
-
- }
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasOrdinal()) {
-
- 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.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);
- }
- }
- return this;
- }
- private int bitField0_;
-
- // required uint64 ordinal = 1;
- private long ordinal_ ;
/**
* required uint64 ordinal = 1;
*/
public boolean hasOrdinal() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return instance.hasOrdinal();
}
/**
* required uint64 ordinal = 1;
*/
public long getOrdinal() {
- return ordinal_;
+ return instance.getOrdinal();
}
/**
* required uint64 ordinal = 1;
*/
public Builder setOrdinal(long value) {
- bitField0_ |= 0x00000001;
- ordinal_ = value;
-
+ copyOnWrite();
+ instance.setOrdinal(value);
return this;
}
/**
* required uint64 ordinal = 1;
*/
public Builder clearOrdinal() {
- bitField0_ = (bitField0_ & ~0x00000001);
- ordinal_ = 0L;
-
+ copyOnWrite();
+ instance.clearOrdinal();
return this;
}
- // repeated string changed_paths = 2;
- private com.google.protobuf.LazyStringList changedPaths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- private void ensureChangedPathsIsMutable() {
- if (!((bitField0_ & 0x00000002) == 0x00000002)) {
- changedPaths_ = new com.google.protobuf.LazyStringArrayList(changedPaths_);
- bitField0_ |= 0x00000002;
- }
- }
/**
* repeated string changed_paths = 2;
*/
- public java.util.List
+ public java.util.List
getChangedPathsList() {
- return java.util.Collections.unmodifiableList(changedPaths_);
+ return java.util.Collections.unmodifiableList(
+ instance.getChangedPathsList());
}
/**
* repeated string changed_paths = 2;
*/
public int getChangedPathsCount() {
- return changedPaths_.size();
+ return instance.getChangedPathsCount();
}
/**
* repeated string changed_paths = 2;
*/
public java.lang.String getChangedPaths(int index) {
- return changedPaths_.get(index);
+ return instance.getChangedPaths(index);
}
/**
* repeated string changed_paths = 2;
*/
public com.google.protobuf.ByteString
getChangedPathsBytes(int index) {
- return changedPaths_.getByteString(index);
+ return instance.getChangedPathsBytes(index);
}
/**
* repeated string changed_paths = 2;
*/
public Builder setChangedPaths(
int index, java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureChangedPathsIsMutable();
- changedPaths_.set(index, value);
-
+ copyOnWrite();
+ instance.setChangedPaths(index, value);
return this;
}
/**
@@ -2711,12 +2145,8 @@ public final class CmdlineRemoteProto {
*/
public Builder addChangedPaths(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureChangedPathsIsMutable();
- changedPaths_.add(value);
-
+ copyOnWrite();
+ instance.addChangedPaths(value);
return this;
}
/**
@@ -2724,18 +2154,16 @@ public final class CmdlineRemoteProto {
*/
public Builder addAllChangedPaths(
java.lang.Iterable values) {
- ensureChangedPathsIsMutable();
- super.addAll(values, changedPaths_);
-
+ copyOnWrite();
+ instance.addAllChangedPaths(values);
return this;
}
/**
* repeated string changed_paths = 2;
*/
public Builder clearChangedPaths() {
- changedPaths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
-
+ copyOnWrite();
+ instance.clearChangedPaths();
return this;
}
/**
@@ -2743,60 +2171,45 @@ public final class CmdlineRemoteProto {
*/
public Builder addChangedPathsBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureChangedPathsIsMutable();
- changedPaths_.add(value);
-
+ copyOnWrite();
+ instance.addChangedPathsBytes(value);
return this;
}
- // repeated string deleted_paths = 3;
- private com.google.protobuf.LazyStringList deletedPaths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- private void ensureDeletedPathsIsMutable() {
- if (!((bitField0_ & 0x00000004) == 0x00000004)) {
- deletedPaths_ = new com.google.protobuf.LazyStringArrayList(deletedPaths_);
- bitField0_ |= 0x00000004;
- }
- }
/**
* repeated string deleted_paths = 3;
*/
- public java.util.List
+ public java.util.List
getDeletedPathsList() {
- return java.util.Collections.unmodifiableList(deletedPaths_);
+ return java.util.Collections.unmodifiableList(
+ instance.getDeletedPathsList());
}
/**
* repeated string deleted_paths = 3;
*/
public int getDeletedPathsCount() {
- return deletedPaths_.size();
+ return instance.getDeletedPathsCount();
}
/**
* repeated string deleted_paths = 3;
*/
public java.lang.String getDeletedPaths(int index) {
- return deletedPaths_.get(index);
+ return instance.getDeletedPaths(index);
}
/**
* repeated string deleted_paths = 3;
*/
public com.google.protobuf.ByteString
getDeletedPathsBytes(int index) {
- return deletedPaths_.getByteString(index);
+ return instance.getDeletedPathsBytes(index);
}
/**
* repeated string deleted_paths = 3;
*/
public Builder setDeletedPaths(
int index, java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureDeletedPathsIsMutable();
- deletedPaths_.set(index, value);
-
+ copyOnWrite();
+ instance.setDeletedPaths(index, value);
return this;
}
/**
@@ -2804,12 +2217,8 @@ public final class CmdlineRemoteProto {
*/
public Builder addDeletedPaths(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureDeletedPathsIsMutable();
- deletedPaths_.add(value);
-
+ copyOnWrite();
+ instance.addDeletedPaths(value);
return this;
}
/**
@@ -2817,18 +2226,16 @@ public final class CmdlineRemoteProto {
*/
public Builder addAllDeletedPaths(
java.lang.Iterable values) {
- ensureDeletedPathsIsMutable();
- super.addAll(values, deletedPaths_);
-
+ copyOnWrite();
+ instance.addAllDeletedPaths(values);
return this;
}
/**
* repeated string deleted_paths = 3;
*/
public Builder clearDeletedPaths() {
- deletedPaths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
-
+ copyOnWrite();
+ instance.clearDeletedPaths();
return this;
}
/**
@@ -2836,30 +2243,151 @@ public final class CmdlineRemoteProto {
*/
public Builder addDeletedPathsBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureDeletedPathsIsMutable();
- deletedPaths_.add(value);
-
+ copyOnWrite();
+ instance.addDeletedPathsBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.jpsservice.Message.ControllerMessage.FSEvent)
}
+ private byte memoizedIsInitialized = -1;
+ protected final Object dynamicMethod(
+ com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
+ Object arg0, Object arg1) {
+ switch (method) {
+ case NEW_MUTABLE_INSTANCE: {
+ return new org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent();
+ }
+ case IS_INITIALIZED: {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return DEFAULT_INSTANCE;
+ if (isInitialized == 0) return null;
- static {
- defaultInstance = new FSEvent(true);
- defaultInstance.initFields();
+ boolean shouldMemoize = ((Boolean) arg0).booleanValue();
+ if (!hasOrdinal()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ if (shouldMemoize) memoizedIsInitialized = 1;
+ return DEFAULT_INSTANCE;
+
+ }
+ case MAKE_IMMUTABLE: {
+ changedPaths_.makeImmutable();
+ deletedPaths_.makeImmutable();
+ return null;
+ }
+ case NEW_BUILDER: {
+ return new Builder();
+ }
+ case VISIT: {
+ Visitor visitor = (Visitor) arg0;
+ org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent other = (org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent) arg1;
+ ordinal_ = visitor.visitLong(
+ hasOrdinal(), ordinal_,
+ other.hasOrdinal(), other.ordinal_);
+ changedPaths_= visitor.visitList(changedPaths_, other.changedPaths_);
+ deletedPaths_= visitor.visitList(deletedPaths_, other.deletedPaths_);
+ if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor
+ .INSTANCE) {
+ bitField0_ |= other.bitField0_;
+ }
+ return this;
+ }
+ case MERGE_FROM_STREAM: {
+ com.google.protobuf.CodedInputStream input =
+ (com.google.protobuf.CodedInputStream) arg0;
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry =
+ (com.google.protobuf.ExtensionRegistryLite) arg1;
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(tag, input)) {
+ done = true;
+ }
+ break;
+ }
+ case 8: {
+ bitField0_ |= 0x00000001;
+ ordinal_ = input.readUInt64();
+ break;
+ }
+ case 18: {
+ String s = input.readString();
+ if (!changedPaths_.isModifiable()) {
+ changedPaths_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(changedPaths_);
+ }
+ changedPaths_.add(s);
+ break;
+ }
+ case 26: {
+ String s = input.readString();
+ if (!deletedPaths_.isModifiable()) {
+ deletedPaths_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(deletedPaths_);
+ }
+ deletedPaths_.add(s);
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw new RuntimeException(e.setUnfinishedMessage(this));
+ } catch (java.io.IOException e) {
+ throw new RuntimeException(
+ new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this));
+ } finally {
+ }
+ }
+ case GET_DEFAULT_INSTANCE: {
+ return DEFAULT_INSTANCE;
+ }
+ case GET_PARSER: {
+ if (PARSER == null) { synchronized (org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent.class) {
+ if (PARSER == null) {
+ PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE);
+ }
+ }
+ }
+ return PARSER;
+ }
+ }
+ throw new UnsupportedOperationException();
}
+
// @@protoc_insertion_point(class_scope:org.jetbrains.jpsservice.Message.ControllerMessage.FSEvent)
+ private static final org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new FSEvent();
+ DEFAULT_INSTANCE.makeImmutable();
+ }
+
+ public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.FSEvent getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static volatile com.google.protobuf.Parser PARSER;
+
+ public static com.google.protobuf.Parser parser() {
+ return DEFAULT_INSTANCE.getParserForType();
+ }
}
- public interface GlobalSettingsOrBuilder
- extends com.google.protobuf.MessageLiteOrBuilder {
+ public interface GlobalSettingsOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings)
+ com.google.protobuf.MessageLiteOrBuilder {
- // required string global_options_path = 5;
/**
* required string global_options_path = 5;
*/
@@ -2877,81 +2405,17 @@ public final class CmdlineRemoteProto {
/**
* 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) {
- super(builder);
-
+ public static final class GlobalSettings extends
+ com.google.protobuf.GeneratedMessageLite<
+ GlobalSettings, GlobalSettings.Builder> implements
+ // @@protoc_insertion_point(message_implements:org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings)
+ GlobalSettingsOrBuilder {
+ private GlobalSettings() {
+ globalOptionsPath_ = "";
}
- 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_;
+ private java.lang.String globalOptionsPath_;
/**
* required string global_options_path = 5;
*/
@@ -2962,61 +2426,53 @@ public final class CmdlineRemoteProto {
* required string global_options_path = 5;
*/
public java.lang.String getGlobalOptionsPath() {
- java.lang.Object ref = globalOptionsPath_;
- 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()) {
- globalOptionsPath_ = s;
- }
- return s;
- }
+ return globalOptionsPath_;
}
/**
* required string global_options_path = 5;
*/
public com.google.protobuf.ByteString
getGlobalOptionsPathBytes() {
- java.lang.Object ref = globalOptionsPath_;
- if (ref instanceof java.lang.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;
- }
+ return com.google.protobuf.ByteString.copyFromUtf8(globalOptionsPath_);
}
-
- private void initFields() {
- globalOptionsPath_ = "";
+ /**
+ * required string global_options_path = 5;
+ */
+ private void setGlobalOptionsPath(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ globalOptionsPath_ = value;
}
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasGlobalOptionsPath()) {
- memoizedIsInitialized = 0;
- return false;
- }
- memoizedIsInitialized = 1;
- return true;
+ /**
+ * required string global_options_path = 5;
+ */
+ private void clearGlobalOptionsPath() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ globalOptionsPath_ = getDefaultInstance().getGlobalOptionsPath();
+ }
+ /**
+ * required string global_options_path = 5;
+ */
+ private void setGlobalOptionsPathBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ globalOptionsPath_ = value.toStringUtf8();
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeBytes(5, getGlobalOptionsPathBytes());
+ output.writeString(5, getGlobalOptionsPath());
}
+ unknownFields.writeTo(output);
}
- private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
@@ -3024,227 +2480,129 @@ public final class CmdlineRemoteProto {
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(5, getGlobalOptionsPathBytes());
+ .computeStringSize(5, getGlobalOptionsPath());
}
+ size += unknownFields.getSerializedSize();
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
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);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
public static Builder newBuilder(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings prototype) {
- return newBuilder().mergeFrom(prototype);
+ return DEFAULT_INSTANCE.toBuilder().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>
- implements org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettingsOrBuilder {
+ org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings, Builder> implements
+ // @@protoc_insertion_point(builder_implements:org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings)
+ org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettingsOrBuilder {
// Construct using org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings.newBuilder()
private Builder() {
- maybeForceBuilderInitialization();
+ super(DEFAULT_INSTANCE);
}
- 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()) {
- throw newUninitializedMessageException(result);
- }
- 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_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.globalOptionsPath_ = globalOptionsPath_;
- 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_;
-
- }
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasGlobalOptionsPath()) {
-
- 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.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);
- }
- }
- 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);
+ return instance.hasGlobalOptionsPath();
}
/**
* required string global_options_path = 5;
*/
public java.lang.String getGlobalOptionsPath() {
- java.lang.Object ref = globalOptionsPath_;
- if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- globalOptionsPath_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
+ return instance.getGlobalOptionsPath();
}
/**
* 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;
- }
+ return instance.getGlobalOptionsPathBytes();
}
/**
* required string global_options_path = 5;
*/
public Builder setGlobalOptionsPath(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- globalOptionsPath_ = value;
-
+ copyOnWrite();
+ instance.setGlobalOptionsPath(value);
return this;
}
/**
* required string global_options_path = 5;
*/
public Builder clearGlobalOptionsPath() {
- bitField0_ = (bitField0_ & ~0x00000001);
- globalOptionsPath_ = getDefaultInstance().getGlobalOptionsPath();
-
+ copyOnWrite();
+ instance.clearGlobalOptionsPath();
return this;
}
/**
@@ -3252,30 +2610,130 @@ public final class CmdlineRemoteProto {
*/
public Builder setGlobalOptionsPathBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- globalOptionsPath_ = value;
-
+ copyOnWrite();
+ instance.setGlobalOptionsPathBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings)
}
+ private byte memoizedIsInitialized = -1;
+ protected final Object dynamicMethod(
+ com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
+ Object arg0, Object arg1) {
+ switch (method) {
+ case NEW_MUTABLE_INSTANCE: {
+ return new org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings();
+ }
+ case IS_INITIALIZED: {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return DEFAULT_INSTANCE;
+ if (isInitialized == 0) return null;
- static {
- defaultInstance = new GlobalSettings(true);
- defaultInstance.initFields();
+ boolean shouldMemoize = ((Boolean) arg0).booleanValue();
+ if (!hasGlobalOptionsPath()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ if (shouldMemoize) memoizedIsInitialized = 1;
+ return DEFAULT_INSTANCE;
+
+ }
+ case MAKE_IMMUTABLE: {
+ return null;
+ }
+ case NEW_BUILDER: {
+ return new Builder();
+ }
+ case VISIT: {
+ Visitor visitor = (Visitor) arg0;
+ org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings other = (org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings) arg1;
+ globalOptionsPath_ = visitor.visitString(
+ hasGlobalOptionsPath(), globalOptionsPath_,
+ other.hasGlobalOptionsPath(), other.globalOptionsPath_);
+ if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor
+ .INSTANCE) {
+ bitField0_ |= other.bitField0_;
+ }
+ return this;
+ }
+ case MERGE_FROM_STREAM: {
+ com.google.protobuf.CodedInputStream input =
+ (com.google.protobuf.CodedInputStream) arg0;
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry =
+ (com.google.protobuf.ExtensionRegistryLite) arg1;
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(tag, input)) {
+ done = true;
+ }
+ break;
+ }
+ case 42: {
+ String s = input.readString();
+ bitField0_ |= 0x00000001;
+ globalOptionsPath_ = s;
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw new RuntimeException(e.setUnfinishedMessage(this));
+ } catch (java.io.IOException e) {
+ throw new RuntimeException(
+ new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this));
+ } finally {
+ }
+ }
+ case GET_DEFAULT_INSTANCE: {
+ return DEFAULT_INSTANCE;
+ }
+ case GET_PARSER: {
+ if (PARSER == null) { synchronized (org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings.class) {
+ if (PARSER == null) {
+ PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE);
+ }
+ }
+ }
+ return PARSER;
+ }
+ }
+ throw new UnsupportedOperationException();
}
+
// @@protoc_insertion_point(class_scope:org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings)
+ private static final org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new GlobalSettings();
+ DEFAULT_INSTANCE.makeImmutable();
+ }
+
+ public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static volatile com.google.protobuf.Parser PARSER;
+
+ public static com.google.protobuf.Parser parser() {
+ return DEFAULT_INSTANCE.getParserForType();
+ }
}
- public interface ParametersMessageOrBuilder
- extends com.google.protobuf.MessageLiteOrBuilder {
+ public interface ParametersMessageOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage)
+ 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;
*/
@@ -3285,7 +2743,6 @@ public final class CmdlineRemoteProto {
*/
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;
*/
@@ -3295,7 +2752,6 @@ public final class CmdlineRemoteProto {
*/
org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings getGlobalSettings();
- // optional string project_id = 3;
/**
* optional string project_id = 3;
*/
@@ -3310,7 +2766,6 @@ public final class CmdlineRemoteProto {
com.google.protobuf.ByteString
getProjectIdBytes();
- // repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4;
/**
* repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4;
*/
@@ -3325,12 +2780,11 @@ public final class CmdlineRemoteProto {
*/
int getScopeCount();
- // repeated string file_path = 5;
/**
* repeated string file_path = 5;
*/
- java.util.List
- getFilePathList();
+ java.util.List
+ getFilePathList();
/**
* repeated string file_path = 5;
*/
@@ -3345,7 +2799,6 @@ public final class CmdlineRemoteProto {
com.google.protobuf.ByteString
getFilePathBytes(int index);
- // repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6;
/**
* repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6;
*/
@@ -3363,132 +2816,18 @@ public final class CmdlineRemoteProto {
/**
* 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) {
- super(builder);
-
+ public static final class ParametersMessage extends
+ com.google.protobuf.GeneratedMessageLite<
+ ParametersMessage, ParametersMessage.Builder> implements
+ // @@protoc_insertion_point(message_implements:org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage)
+ ParametersMessageOrBuilder {
+ private ParametersMessage() {
+ buildType_ = 1;
+ projectId_ = "";
+ scope_ = emptyProtobufList();
+ filePath_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
+ builderParameter_ = emptyProtobufList();
}
- 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}
*/
@@ -3497,15 +2836,15 @@ public final class CmdlineRemoteProto {
/**
* BUILD = 1;
*/
- BUILD(0, 1),
+ BUILD(1),
/**
* CLEAN = 2;
*/
- CLEAN(1, 2),
+ CLEAN(2),
/**
* UP_TO_DATE_CHECK = 3;
*/
- UP_TO_DATE_CHECK(2, 3),
+ UP_TO_DATE_CHECK(3),
;
/**
@@ -3522,9 +2861,19 @@ public final class CmdlineRemoteProto {
public static final int UP_TO_DATE_CHECK_VALUE = 3;
- public final int getNumber() { return value; }
+ public final int getNumber() {
+ return value;
+ }
+ /**
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
public static Type valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static Type forNumber(int value) {
switch (value) {
case 1: return BUILD;
case 2: return CLEAN;
@@ -3537,27 +2886,27 @@ public final class CmdlineRemoteProto {
internalGetValueMap() {
return internalValueMap;
}
- private static com.google.protobuf.Internal.EnumLiteMap
- internalValueMap =
+ private static final com.google.protobuf.Internal.EnumLiteMap<
+ Type> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Type findValueByNumber(int number) {
- return Type.valueOf(number);
+ return Type.forNumber(number);
}
};
private final int value;
- private Type(int index, int value) {
+ private Type(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 {
+ public interface TargetTypeBuildScopeOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope)
+ com.google.protobuf.MessageLiteOrBuilder {
- // required string type_id = 1;
/**
* required string type_id = 1;
*/
@@ -3572,7 +2921,6 @@ public final class CmdlineRemoteProto {
com.google.protobuf.ByteString
getTypeIdBytes();
- // optional bool all_targets = 2;
/**
* optional bool all_targets = 2;
*/
@@ -3582,12 +2930,11 @@ public final class CmdlineRemoteProto {
*/
boolean getAllTargets();
- // repeated string target_id = 3;
/**
* repeated string target_id = 3;
*/
- java.util.List
- getTargetIdList();
+ java.util.List
+ getTargetIdList();
/**
* repeated string target_id = 3;
*/
@@ -3602,7 +2949,6 @@ public final class CmdlineRemoteProto {
com.google.protobuf.ByteString
getTargetIdBytes(int index);
- // required bool force_build = 4;
/**
* required bool force_build = 4;
*/
@@ -3615,102 +2961,18 @@ public final class CmdlineRemoteProto {
/**
* 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) {
- super(builder);
-
+ public static final class TargetTypeBuildScope extends
+ com.google.protobuf.GeneratedMessageLite<
+ TargetTypeBuildScope, TargetTypeBuildScope.Builder> implements
+ // @@protoc_insertion_point(message_implements:org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope)
+ TargetTypeBuildScopeOrBuilder {
+ private TargetTypeBuildScope() {
+ typeId_ = "";
+ targetId_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
- 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_;
+ private java.lang.String typeId_;
/**
* required string type_id = 1;
*/
@@ -3721,37 +2983,45 @@ public final class CmdlineRemoteProto {
* required string type_id = 1;
*/
public java.lang.String getTypeId() {
- java.lang.Object ref = typeId_;
- 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()) {
- typeId_ = s;
- }
- return s;
- }
+ return typeId_;
}
/**
* required string type_id = 1;
*/
public com.google.protobuf.ByteString
getTypeIdBytes() {
- java.lang.Object ref = typeId_;
- if (ref instanceof java.lang.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;
- }
+ return com.google.protobuf.ByteString.copyFromUtf8(typeId_);
+ }
+ /**
+ * required string type_id = 1;
+ */
+ private void setTypeId(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ typeId_ = value;
+ }
+ /**
+ * required string type_id = 1;
+ */
+ private void clearTypeId() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ typeId_ = getDefaultInstance().getTypeId();
+ }
+ /**
+ * required string type_id = 1;
+ */
+ private void setTypeIdBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ typeId_ = value.toStringUtf8();
}
- // optional bool all_targets = 2;
public static final int ALL_TARGETS_FIELD_NUMBER = 2;
private boolean allTargets_;
/**
@@ -3766,15 +3036,27 @@ public final class CmdlineRemoteProto {
public boolean getAllTargets() {
return allTargets_;
}
+ /**
+ * optional bool all_targets = 2;
+ */
+ private void setAllTargets(boolean value) {
+ bitField0_ |= 0x00000002;
+ allTargets_ = value;
+ }
+ /**
+ * optional bool all_targets = 2;
+ */
+ private void clearAllTargets() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ allTargets_ = false;
+ }
- // repeated string target_id = 3;
public static final int TARGET_ID_FIELD_NUMBER = 3;
- private com.google.protobuf.LazyStringList targetId_;
+ private com.google.protobuf.Internal.ProtobufList targetId_;
/**
* repeated string target_id = 3;
*/
- public java.util.List
- getTargetIdList() {
+ public java.util.List getTargetIdList() {
return targetId_;
}
/**
@@ -3794,10 +3076,64 @@ public final class CmdlineRemoteProto {
*/
public com.google.protobuf.ByteString
getTargetIdBytes(int index) {
- return targetId_.getByteString(index);
+ return com.google.protobuf.ByteString.copyFromUtf8(
+ targetId_.get(index));
+ }
+ private void ensureTargetIdIsMutable() {
+ if (!targetId_.isModifiable()) {
+ targetId_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(targetId_);
+ }
+ }
+ /**
+ * repeated string target_id = 3;
+ */
+ private void setTargetId(
+ int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureTargetIdIsMutable();
+ targetId_.set(index, value);
+ }
+ /**
+ * repeated string target_id = 3;
+ */
+ private void addTargetId(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureTargetIdIsMutable();
+ targetId_.add(value);
+ }
+ /**
+ * repeated string target_id = 3;
+ */
+ private void addAllTargetId(
+ java.lang.Iterable values) {
+ ensureTargetIdIsMutable();
+ com.google.protobuf.AbstractMessageLite.addAll(
+ values, targetId_);
+ }
+ /**
+ * repeated string target_id = 3;
+ */
+ private void clearTargetId() {
+ targetId_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
+ }
+ /**
+ * repeated string target_id = 3;
+ */
+ private void addTargetIdBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureTargetIdIsMutable();
+ targetId_.add(value.toStringUtf8());
}
- // required bool force_build = 4;
public static final int FORCE_BUILD_FIELD_NUMBER = 4;
private boolean forceBuild_;
/**
@@ -3812,48 +3148,38 @@ public final class CmdlineRemoteProto {
public boolean getForceBuild() {
return forceBuild_;
}
-
- private void initFields() {
- typeId_ = "";
- allTargets_ = false;
- targetId_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- forceBuild_ = false;
+ /**
+ * required bool force_build = 4;
+ */
+ private void setForceBuild(boolean value) {
+ bitField0_ |= 0x00000004;
+ forceBuild_ = value;
}
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasTypeId()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasForceBuild()) {
- memoizedIsInitialized = 0;
- return false;
- }
- memoizedIsInitialized = 1;
- return true;
+ /**
+ * required bool force_build = 4;
+ */
+ private void clearForceBuild() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ forceBuild_ = false;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeBytes(1, getTypeIdBytes());
+ output.writeString(1, getTypeId());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBool(2, allTargets_);
}
for (int i = 0; i < targetId_.size(); i++) {
- output.writeBytes(3, targetId_.getByteString(i));
+ output.writeString(3, targetId_.get(i));
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBool(4, forceBuild_);
}
+ unknownFields.writeTo(output);
}
- private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
@@ -3861,7 +3187,7 @@ public final class CmdlineRemoteProto {
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(1, getTypeIdBytes());
+ .computeStringSize(1, getTypeId());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
@@ -3871,7 +3197,7 @@ public final class CmdlineRemoteProto {
int dataSize = 0;
for (int i = 0; i < targetId_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
- .computeBytesSizeNoTag(targetId_.getByteString(i));
+ .computeStringSizeNoTag(targetId_.get(i));
}
size += dataSize;
size += 1 * getTargetIdList().size();
@@ -3880,265 +3206,127 @@ public final class CmdlineRemoteProto {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, forceBuild_);
}
+ size += unknownFields.getSerializedSize();
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
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);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
public static Builder newBuilder(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope prototype) {
- return newBuilder().mergeFrom(prototype);
+ return DEFAULT_INSTANCE.toBuilder().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>
- implements org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScopeOrBuilder {
+ org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope, Builder> implements
+ // @@protoc_insertion_point(builder_implements:org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope)
+ org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScopeOrBuilder {
// Construct using org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope.newBuilder()
private Builder() {
- maybeForceBuilderInitialization();
+ super(DEFAULT_INSTANCE);
}
- private void maybeForceBuilderInitialization() {
- }
- private static Builder create() {
- return new Builder();
- }
- public Builder clear() {
- super.clear();
- typeId_ = "";
- bitField0_ = (bitField0_ & ~0x00000001);
- allTargets_ = false;
- bitField0_ = (bitField0_ & ~0x00000002);
- targetId_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
- forceBuild_ = false;
- 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()) {
- throw newUninitializedMessageException(result);
- }
- 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_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.typeId_ = typeId_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- result.allTargets_ = allTargets_;
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- targetId_ = new com.google.protobuf.UnmodifiableLazyStringList(
- targetId_);
- bitField0_ = (bitField0_ & ~0x00000004);
- }
- result.targetId_ = targetId_;
- if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
- to_bitField0_ |= 0x00000004;
- }
- result.forceBuild_ = forceBuild_;
- 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_;
-
- }
- if (other.hasAllTargets()) {
- setAllTargets(other.getAllTargets());
- }
- if (!other.targetId_.isEmpty()) {
- if (targetId_.isEmpty()) {
- targetId_ = other.targetId_;
- bitField0_ = (bitField0_ & ~0x00000004);
- } else {
- ensureTargetIdIsMutable();
- targetId_.addAll(other.targetId_);
- }
-
- }
- if (other.hasForceBuild()) {
- setForceBuild(other.getForceBuild());
- }
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasTypeId()) {
-
- return false;
- }
- if (!hasForceBuild()) {
-
- 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.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);
- }
- }
- 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);
+ return instance.hasTypeId();
}
/**
* required string type_id = 1;
*/
public java.lang.String getTypeId() {
- java.lang.Object ref = typeId_;
- if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- typeId_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
+ return instance.getTypeId();
}
/**
* 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;
- }
+ return instance.getTypeIdBytes();
}
/**
* required string type_id = 1;
*/
public Builder setTypeId(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- typeId_ = value;
-
+ copyOnWrite();
+ instance.setTypeId(value);
return this;
}
/**
* required string type_id = 1;
*/
public Builder clearTypeId() {
- bitField0_ = (bitField0_ & ~0x00000001);
- typeId_ = getDefaultInstance().getTypeId();
-
+ copyOnWrite();
+ instance.clearTypeId();
return this;
}
/**
@@ -4146,93 +3334,74 @@ public final class CmdlineRemoteProto {
*/
public Builder setTypeIdBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- typeId_ = value;
-
+ copyOnWrite();
+ instance.setTypeIdBytes(value);
return this;
}
- // optional bool all_targets = 2;
- private boolean allTargets_ ;
/**
* optional bool all_targets = 2;
*/
public boolean hasAllTargets() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return instance.hasAllTargets();
}
/**
* optional bool all_targets = 2;
*/
public boolean getAllTargets() {
- return allTargets_;
+ return instance.getAllTargets();
}
/**
* optional bool all_targets = 2;
*/
public Builder setAllTargets(boolean value) {
- bitField0_ |= 0x00000002;
- allTargets_ = value;
-
+ copyOnWrite();
+ instance.setAllTargets(value);
return this;
}
/**
* optional bool all_targets = 2;
*/
public Builder clearAllTargets() {
- bitField0_ = (bitField0_ & ~0x00000002);
- allTargets_ = false;
-
+ copyOnWrite();
+ instance.clearAllTargets();
return this;
}
- // repeated string target_id = 3;
- private com.google.protobuf.LazyStringList targetId_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- private void ensureTargetIdIsMutable() {
- if (!((bitField0_ & 0x00000004) == 0x00000004)) {
- targetId_ = new com.google.protobuf.LazyStringArrayList(targetId_);
- bitField0_ |= 0x00000004;
- }
- }
/**
* repeated string target_id = 3;
*/
- public java.util.List
+ public java.util.List
getTargetIdList() {
- return java.util.Collections.unmodifiableList(targetId_);
+ return java.util.Collections.unmodifiableList(
+ instance.getTargetIdList());
}
/**
* repeated string target_id = 3;
*/
public int getTargetIdCount() {
- return targetId_.size();
+ return instance.getTargetIdCount();
}
/**
* repeated string target_id = 3;
*/
public java.lang.String getTargetId(int index) {
- return targetId_.get(index);
+ return instance.getTargetId(index);
}
/**
* repeated string target_id = 3;
*/
public com.google.protobuf.ByteString
getTargetIdBytes(int index) {
- return targetId_.getByteString(index);
+ return instance.getTargetIdBytes(index);
}
/**
* repeated string target_id = 3;
*/
public Builder setTargetId(
int index, java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureTargetIdIsMutable();
- targetId_.set(index, value);
-
+ copyOnWrite();
+ instance.setTargetId(index, value);
return this;
}
/**
@@ -4240,12 +3409,8 @@ public final class CmdlineRemoteProto {
*/
public Builder addTargetId(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureTargetIdIsMutable();
- targetId_.add(value);
-
+ copyOnWrite();
+ instance.addTargetId(value);
return this;
}
/**
@@ -4253,18 +3418,16 @@ public final class CmdlineRemoteProto {
*/
public Builder addAllTargetId(
java.lang.Iterable values) {
- ensureTargetIdIsMutable();
- super.addAll(values, targetId_);
-
+ copyOnWrite();
+ instance.addAllTargetId(values);
return this;
}
/**
* repeated string target_id = 3;
*/
public Builder clearTargetId() {
- targetId_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
-
+ copyOnWrite();
+ instance.clearTargetId();
return this;
}
/**
@@ -4272,63 +3435,191 @@ public final class CmdlineRemoteProto {
*/
public Builder addTargetIdBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureTargetIdIsMutable();
- targetId_.add(value);
-
+ copyOnWrite();
+ instance.addTargetIdBytes(value);
return this;
}
- // required bool force_build = 4;
- private boolean forceBuild_ ;
/**
* required bool force_build = 4;
*/
public boolean hasForceBuild() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return instance.hasForceBuild();
}
/**
* required bool force_build = 4;
*/
public boolean getForceBuild() {
- return forceBuild_;
+ return instance.getForceBuild();
}
/**
* required bool force_build = 4;
*/
public Builder setForceBuild(boolean value) {
- bitField0_ |= 0x00000008;
- forceBuild_ = value;
-
+ copyOnWrite();
+ instance.setForceBuild(value);
return this;
}
/**
* required bool force_build = 4;
*/
public Builder clearForceBuild() {
- bitField0_ = (bitField0_ & ~0x00000008);
- forceBuild_ = false;
-
+ copyOnWrite();
+ instance.clearForceBuild();
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope)
}
+ private byte memoizedIsInitialized = -1;
+ protected final Object dynamicMethod(
+ com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
+ Object arg0, Object arg1) {
+ switch (method) {
+ case NEW_MUTABLE_INSTANCE: {
+ return new org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope();
+ }
+ case IS_INITIALIZED: {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return DEFAULT_INSTANCE;
+ if (isInitialized == 0) return null;
- static {
- defaultInstance = new TargetTypeBuildScope(true);
- defaultInstance.initFields();
+ boolean shouldMemoize = ((Boolean) arg0).booleanValue();
+ if (!hasTypeId()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ if (!hasForceBuild()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ if (shouldMemoize) memoizedIsInitialized = 1;
+ return DEFAULT_INSTANCE;
+
+ }
+ case MAKE_IMMUTABLE: {
+ targetId_.makeImmutable();
+ return null;
+ }
+ case NEW_BUILDER: {
+ return new Builder();
+ }
+ case VISIT: {
+ Visitor visitor = (Visitor) arg0;
+ org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope other = (org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope) arg1;
+ typeId_ = visitor.visitString(
+ hasTypeId(), typeId_,
+ other.hasTypeId(), other.typeId_);
+ allTargets_ = visitor.visitBoolean(
+ hasAllTargets(), allTargets_,
+ other.hasAllTargets(), other.allTargets_);
+ targetId_= visitor.visitList(targetId_, other.targetId_);
+ forceBuild_ = visitor.visitBoolean(
+ hasForceBuild(), forceBuild_,
+ other.hasForceBuild(), other.forceBuild_);
+ if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor
+ .INSTANCE) {
+ bitField0_ |= other.bitField0_;
+ }
+ return this;
+ }
+ case MERGE_FROM_STREAM: {
+ com.google.protobuf.CodedInputStream input =
+ (com.google.protobuf.CodedInputStream) arg0;
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry =
+ (com.google.protobuf.ExtensionRegistryLite) arg1;
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(tag, input)) {
+ done = true;
+ }
+ break;
+ }
+ case 10: {
+ String s = input.readString();
+ bitField0_ |= 0x00000001;
+ typeId_ = s;
+ break;
+ }
+ case 16: {
+ bitField0_ |= 0x00000002;
+ allTargets_ = input.readBool();
+ break;
+ }
+ case 26: {
+ String s = input.readString();
+ if (!targetId_.isModifiable()) {
+ targetId_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(targetId_);
+ }
+ targetId_.add(s);
+ break;
+ }
+ case 32: {
+ bitField0_ |= 0x00000004;
+ forceBuild_ = input.readBool();
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw new RuntimeException(e.setUnfinishedMessage(this));
+ } catch (java.io.IOException e) {
+ throw new RuntimeException(
+ new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this));
+ } finally {
+ }
+ }
+ case GET_DEFAULT_INSTANCE: {
+ return DEFAULT_INSTANCE;
+ }
+ case GET_PARSER: {
+ if (PARSER == null) { synchronized (org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope.class) {
+ if (PARSER == null) {
+ PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE);
+ }
+ }
+ }
+ return PARSER;
+ }
+ }
+ throw new UnsupportedOperationException();
}
+
// @@protoc_insertion_point(class_scope:org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope)
+ private static final org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new TargetTypeBuildScope();
+ DEFAULT_INSTANCE.makeImmutable();
+ }
+
+ public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static volatile com.google.protobuf.Parser PARSER;
+
+ public static com.google.protobuf.Parser parser() {
+ return DEFAULT_INSTANCE.getParserForType();
+ }
}
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_;
+ private int buildType_;
/**
* required .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.Type build_type = 1;
*/
@@ -4339,10 +3630,27 @@ public final class CmdlineRemoteProto {
* required .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.Type build_type = 1;
*/
public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.Type getBuildType() {
- return buildType_;
+ org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.Type result = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.Type.forNumber(buildType_);
+ return result == null ? org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.Type.BUILD : result;
+ }
+ /**
+ * required .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.Type build_type = 1;
+ */
+ private void setBuildType(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.Type value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ buildType_ = value.getNumber();
+ }
+ /**
+ * required .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.Type build_type = 1;
+ */
+ private void clearBuildType() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ buildType_ = 1;
}
- // 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_;
/**
@@ -4355,12 +3663,48 @@ public final class CmdlineRemoteProto {
* optional .org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings global_settings = 2;
*/
public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings getGlobalSettings() {
- return globalSettings_;
+ return globalSettings_ == null ? org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings.getDefaultInstance() : globalSettings_;
+ }
+ /**
+ * optional .org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings global_settings = 2;
+ */
+ private void setGlobalSettings(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ globalSettings_ = value;
+ bitField0_ |= 0x00000002;
+ }
+ /**
+ * optional .org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings global_settings = 2;
+ */
+ private void setGlobalSettings(
+ org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings.Builder builderForValue) {
+ globalSettings_ = builderForValue.build();
+ bitField0_ |= 0x00000002;
+ }
+ /**
+ * optional .org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings global_settings = 2;
+ */
+ private void mergeGlobalSettings(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings value) {
+ if (globalSettings_ != null &&
+ globalSettings_ != org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings.getDefaultInstance()) {
+ globalSettings_ =
+ org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings.newBuilder(globalSettings_).mergeFrom(value).buildPartial();
+ } else {
+ globalSettings_ = value;
+ }
+ bitField0_ |= 0x00000002;
+ }
+ /**
+ * optional .org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings global_settings = 2;
+ */
+ private void clearGlobalSettings() { globalSettings_ = null;
+ bitField0_ = (bitField0_ & ~0x00000002);
}
- // optional string project_id = 3;
public static final int PROJECT_ID_FIELD_NUMBER = 3;
- private java.lang.Object projectId_;
+ private java.lang.String projectId_;
/**
* optional string project_id = 3;
*/
@@ -4371,39 +3715,47 @@ public final class CmdlineRemoteProto {
* optional string project_id = 3;
*/
public java.lang.String getProjectId() {
- java.lang.Object ref = projectId_;
- 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()) {
- projectId_ = s;
- }
- return s;
- }
+ return projectId_;
}
/**
* optional string project_id = 3;
*/
public com.google.protobuf.ByteString
getProjectIdBytes() {
- java.lang.Object ref = projectId_;
- if (ref instanceof java.lang.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;
- }
+ return com.google.protobuf.ByteString.copyFromUtf8(projectId_);
+ }
+ /**
+ * optional string project_id = 3;
+ */
+ private void setProjectId(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
+ projectId_ = value;
+ }
+ /**
+ * optional string project_id = 3;
+ */
+ private void clearProjectId() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ projectId_ = getDefaultInstance().getProjectId();
+ }
+ /**
+ * optional string project_id = 3;
+ */
+ private void setProjectIdBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
+ projectId_ = value.toStringUtf8();
}
- // repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4;
public static final int SCOPE_FIELD_NUMBER = 4;
- private java.util.List scope_;
+ private com.google.protobuf.Internal.ProtobufList scope_;
/**
* repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4;
*/
@@ -4436,15 +3788,98 @@ public final class CmdlineRemoteProto {
int index) {
return scope_.get(index);
}
+ private void ensureScopeIsMutable() {
+ if (!scope_.isModifiable()) {
+ scope_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(scope_);
+ }
+ }
+
+ /**
+ * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4;
+ */
+ private void setScope(
+ int index, org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureScopeIsMutable();
+ scope_.set(index, value);
+ }
+ /**
+ * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4;
+ */
+ private void setScope(
+ int index, org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope.Builder builderForValue) {
+ ensureScopeIsMutable();
+ scope_.set(index, builderForValue.build());
+ }
+ /**
+ * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4;
+ */
+ private void addScope(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureScopeIsMutable();
+ scope_.add(value);
+ }
+ /**
+ * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4;
+ */
+ private void addScope(
+ int index, org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureScopeIsMutable();
+ scope_.add(index, value);
+ }
+ /**
+ * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4;
+ */
+ private void addScope(
+ org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope.Builder builderForValue) {
+ ensureScopeIsMutable();
+ scope_.add(builderForValue.build());
+ }
+ /**
+ * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4;
+ */
+ private void addScope(
+ int index, org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope.Builder builderForValue) {
+ ensureScopeIsMutable();
+ scope_.add(index, builderForValue.build());
+ }
+ /**
+ * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4;
+ */
+ private void addAllScope(
+ java.lang.Iterable extends org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope> values) {
+ ensureScopeIsMutable();
+ com.google.protobuf.AbstractMessageLite.addAll(
+ values, scope_);
+ }
+ /**
+ * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4;
+ */
+ private void clearScope() {
+ scope_ = emptyProtobufList();
+ }
+ /**
+ * repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4;
+ */
+ private void removeScope(int index) {
+ ensureScopeIsMutable();
+ scope_.remove(index);
+ }
- // repeated string file_path = 5;
public static final int FILE_PATH_FIELD_NUMBER = 5;
- private com.google.protobuf.LazyStringList filePath_;
+ private com.google.protobuf.Internal.ProtobufList filePath_;
/**
* repeated string file_path = 5;
*/
- public java.util.List
- getFilePathList() {
+ public java.util.List getFilePathList() {
return filePath_;
}
/**
@@ -4464,12 +3899,66 @@ public final class CmdlineRemoteProto {
*/
public com.google.protobuf.ByteString
getFilePathBytes(int index) {
- return filePath_.getByteString(index);
+ return com.google.protobuf.ByteString.copyFromUtf8(
+ filePath_.get(index));
+ }
+ private void ensureFilePathIsMutable() {
+ if (!filePath_.isModifiable()) {
+ filePath_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(filePath_);
+ }
+ }
+ /**
+ * repeated string file_path = 5;
+ */
+ private void setFilePath(
+ int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureFilePathIsMutable();
+ filePath_.set(index, value);
+ }
+ /**
+ * repeated string file_path = 5;
+ */
+ private void addFilePath(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureFilePathIsMutable();
+ filePath_.add(value);
+ }
+ /**
+ * repeated string file_path = 5;
+ */
+ private void addAllFilePath(
+ java.lang.Iterable values) {
+ ensureFilePathIsMutable();
+ com.google.protobuf.AbstractMessageLite.addAll(
+ values, filePath_);
+ }
+ /**
+ * repeated string file_path = 5;
+ */
+ private void clearFilePath() {
+ filePath_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
+ }
+ /**
+ * repeated string file_path = 5;
+ */
+ private void addFilePathBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureFilePathIsMutable();
+ filePath_.add(value.toStringUtf8());
}
- // repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6;
public static final int BUILDER_PARAMETER_FIELD_NUMBER = 6;
- private java.util.List builderParameter_;
+ private com.google.protobuf.Internal.ProtobufList builderParameter_;
/**
* repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6;
*/
@@ -4502,70 +3991,115 @@ public final class CmdlineRemoteProto {
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();
- projectId_ = "";
- scope_ = java.util.Collections.emptyList();
- filePath_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- builderParameter_ = java.util.Collections.emptyList();
+ private void ensureBuilderParameterIsMutable() {
+ if (!builderParameter_.isModifiable()) {
+ builderParameter_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(builderParameter_);
+ }
}
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
- if (!hasBuildType()) {
- memoizedIsInitialized = 0;
- return false;
+ /**
+ * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6;
+ */
+ private void setBuilderParameter(
+ int index, org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair value) {
+ if (value == null) {
+ throw new NullPointerException();
}
- if (hasGlobalSettings()) {
- if (!getGlobalSettings().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
+ ensureBuilderParameterIsMutable();
+ builderParameter_.set(index, value);
+ }
+ /**
+ * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6;
+ */
+ private void setBuilderParameter(
+ int index, org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair.Builder builderForValue) {
+ ensureBuilderParameterIsMutable();
+ builderParameter_.set(index, builderForValue.build());
+ }
+ /**
+ * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6;
+ */
+ private void addBuilderParameter(org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair value) {
+ if (value == null) {
+ throw new NullPointerException();
}
- for (int i = 0; i < getScopeCount(); i++) {
- if (!getScope(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
+ ensureBuilderParameterIsMutable();
+ builderParameter_.add(value);
+ }
+ /**
+ * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6;
+ */
+ private void addBuilderParameter(
+ int index, org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair value) {
+ if (value == null) {
+ throw new NullPointerException();
}
- for (int i = 0; i < getBuilderParameterCount(); i++) {
- if (!getBuilderParameter(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
+ ensureBuilderParameterIsMutable();
+ builderParameter_.add(index, value);
+ }
+ /**
+ * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6;
+ */
+ private void addBuilderParameter(
+ org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair.Builder builderForValue) {
+ ensureBuilderParameterIsMutable();
+ builderParameter_.add(builderForValue.build());
+ }
+ /**
+ * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6;
+ */
+ private void addBuilderParameter(
+ int index, org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair.Builder builderForValue) {
+ ensureBuilderParameterIsMutable();
+ builderParameter_.add(index, builderForValue.build());
+ }
+ /**
+ * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6;
+ */
+ private void addAllBuilderParameter(
+ java.lang.Iterable extends org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair> values) {
+ ensureBuilderParameterIsMutable();
+ com.google.protobuf.AbstractMessageLite.addAll(
+ values, builderParameter_);
+ }
+ /**
+ * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6;
+ */
+ private void clearBuilderParameter() {
+ builderParameter_ = emptyProtobufList();
+ }
+ /**
+ * repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6;
+ */
+ private void removeBuilderParameter(int index) {
+ ensureBuilderParameterIsMutable();
+ builderParameter_.remove(index);
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeEnum(1, buildType_.getNumber());
+ output.writeEnum(1, buildType_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeMessage(2, globalSettings_);
+ output.writeMessage(2, getGlobalSettings());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeBytes(3, getProjectIdBytes());
+ output.writeString(3, getProjectId());
}
for (int i = 0; i < scope_.size(); i++) {
output.writeMessage(4, scope_.get(i));
}
for (int i = 0; i < filePath_.size(); i++) {
- output.writeBytes(5, filePath_.getByteString(i));
+ output.writeString(5, filePath_.get(i));
}
for (int i = 0; i < builderParameter_.size(); i++) {
output.writeMessage(6, builderParameter_.get(i));
}
+ unknownFields.writeTo(output);
}
- private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
@@ -4573,15 +4107,15 @@ public final class CmdlineRemoteProto {
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(1, buildType_.getNumber());
+ .computeEnumSize(1, buildType_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, globalSettings_);
+ .computeMessageSize(2, getGlobalSettings());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(3, getProjectIdBytes());
+ .computeStringSize(3, getProjectId());
}
for (int i = 0; i < scope_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
@@ -4591,7 +4125,7 @@ public final class CmdlineRemoteProto {
int dataSize = 0;
for (int i = 0; i < filePath_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
- .computeBytesSizeNoTag(filePath_.getByteString(i));
+ .computeStringSizeNoTag(filePath_.get(i));
}
size += dataSize;
size += 1 * getFilePathList().size();
@@ -4600,410 +4134,201 @@ public final class CmdlineRemoteProto {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, builderParameter_.get(i));
}
+ size += unknownFields.getSerializedSize();
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
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);
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
}
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 com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
public static Builder newBuilder(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage prototype) {
- return newBuilder().mergeFrom(prototype);
+ return DEFAULT_INSTANCE.toBuilder().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>
- implements org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessageOrBuilder {
+ org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage, Builder> implements
+ // @@protoc_insertion_point(builder_implements:org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage)
+ org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessageOrBuilder {
// Construct using org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.newBuilder()
private Builder() {
- maybeForceBuilderInitialization();
+ super(DEFAULT_INSTANCE);
}
- 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;
- bitField0_ = (bitField0_ & ~0x00000001);
- globalSettings_ = org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings.getDefaultInstance();
- bitField0_ = (bitField0_ & ~0x00000002);
- projectId_ = "";
- bitField0_ = (bitField0_ & ~0x00000004);
- scope_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
- filePath_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000010);
- builderParameter_ = java.util.Collections.emptyList();
- 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()) {
- throw newUninitializedMessageException(result);
- }
- 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_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.buildType_ = buildType_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- result.globalSettings_ = globalSettings_;
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
- to_bitField0_ |= 0x00000004;
- }
- result.projectId_ = projectId_;
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- scope_ = java.util.Collections.unmodifiableList(scope_);
- bitField0_ = (bitField0_ & ~0x00000008);
- }
- result.scope_ = scope_;
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- filePath_ = new com.google.protobuf.UnmodifiableLazyStringList(
- filePath_);
- bitField0_ = (bitField0_ & ~0x00000010);
- }
- result.filePath_ = filePath_;
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- builderParameter_ = java.util.Collections.unmodifiableList(builderParameter_);
- bitField0_ = (bitField0_ & ~0x00000020);
- }
- result.builderParameter_ = builderParameter_;
- 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()) {
- setBuildType(other.getBuildType());
- }
- if (other.hasGlobalSettings()) {
- mergeGlobalSettings(other.getGlobalSettings());
- }
- if (other.hasProjectId()) {
- bitField0_ |= 0x00000004;
- projectId_ = other.projectId_;
-
- }
- if (!other.scope_.isEmpty()) {
- if (scope_.isEmpty()) {
- scope_ = other.scope_;
- bitField0_ = (bitField0_ & ~0x00000008);
- } else {
- ensureScopeIsMutable();
- scope_.addAll(other.scope_);
- }
-
- }
- if (!other.filePath_.isEmpty()) {
- if (filePath_.isEmpty()) {
- filePath_ = other.filePath_;
- bitField0_ = (bitField0_ & ~0x00000010);
- } else {
- ensureFilePathIsMutable();
- filePath_.addAll(other.filePath_);
- }
-
- }
- if (!other.builderParameter_.isEmpty()) {
- if (builderParameter_.isEmpty()) {
- builderParameter_ = other.builderParameter_;
- bitField0_ = (bitField0_ & ~0x00000020);
- } else {
- ensureBuilderParameterIsMutable();
- builderParameter_.addAll(other.builderParameter_);
- }
-
- }
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasBuildType()) {
-
- return false;
- }
- if (hasGlobalSettings()) {
- if (!getGlobalSettings().isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getScopeCount(); i++) {
- if (!getScope(i).isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getBuilderParameterCount(); i++) {
- if (!getBuilderParameter(i).isInitialized()) {
-
- return false;
- }
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- org.jetbrains.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);
- }
- }
- 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);
+ return instance.hasBuildType();
}
/**
* required .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.Type build_type = 1;
*/
public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.Type getBuildType() {
- return buildType_;
+ return instance.getBuildType();
}
/**
* 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();
- }
- bitField0_ |= 0x00000001;
- buildType_ = value;
-
+ copyOnWrite();
+ instance.setBuildType(value);
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;
-
+ copyOnWrite();
+ instance.clearBuildType();
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);
+ return instance.hasGlobalSettings();
}
/**
* optional .org.jetbrains.jpsservice.Message.ControllerMessage.GlobalSettings global_settings = 2;
*/
public org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings getGlobalSettings() {
- return globalSettings_;
+ return instance.getGlobalSettings();
}
/**
* 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;
+ copyOnWrite();
+ instance.setGlobalSettings(value);
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;
+ copyOnWrite();
+ instance.setGlobalSettings(builderForValue);
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()) {
- globalSettings_ =
- org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.GlobalSettings.newBuilder(globalSettings_).mergeFrom(value).buildPartial();
- } else {
- globalSettings_ = value;
- }
-
- bitField0_ |= 0x00000002;
+ copyOnWrite();
+ instance.mergeGlobalSettings(value);
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);
+ public Builder clearGlobalSettings() { copyOnWrite();
+ instance.clearGlobalSettings();
return this;
}
- // optional string project_id = 3;
- private java.lang.Object projectId_ = "";
/**
* optional string project_id = 3;
*/
public boolean hasProjectId() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return instance.hasProjectId();
}
/**
* optional string project_id = 3;
*/
public java.lang.String getProjectId() {
- java.lang.Object ref = projectId_;
- if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- projectId_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
+ return instance.getProjectId();
}
/**
* 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;
- }
+ return instance.getProjectIdBytes();
}
/**
* optional string project_id = 3;
*/
public Builder setProjectId(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000004;
- projectId_ = value;
-
+ copyOnWrite();
+ instance.setProjectId(value);
return this;
}
/**
* optional string project_id = 3;
*/
public Builder clearProjectId() {
- bitField0_ = (bitField0_ & ~0x00000004);
- projectId_ = getDefaultInstance().getProjectId();
-
+ copyOnWrite();
+ instance.clearProjectId();
return this;
}
/**
@@ -5011,54 +4336,36 @@ public final class CmdlineRemoteProto {
*/
public Builder setProjectIdBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000004;
- projectId_ = value;
-
+ copyOnWrite();
+ instance.setProjectIdBytes(value);
return this;
}
- // repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4;
- private java.util.List scope_ =
- java.util.Collections.emptyList();
- private void ensureScopeIsMutable() {
- if (!((bitField0_ & 0x00000008) == 0x00000008)) {
- scope_ = new java.util.ArrayList<>(scope_);
- bitField0_ |= 0x00000008;
- }
- }
-
/**
* repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4;
*/
public java.util.List getScopeList() {
- return java.util.Collections.unmodifiableList(scope_);
+ return java.util.Collections.unmodifiableList(
+ instance.getScopeList());
}
/**
* repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4;
*/
public int getScopeCount() {
- return scope_.size();
- }
- /**
+ return instance.getScopeCount();
+ }/**
* 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);
+ return instance.getScope(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) {
- throw new NullPointerException();
- }
- ensureScopeIsMutable();
- scope_.set(index, value);
-
+ copyOnWrite();
+ instance.setScope(index, value);
return this;
}
/**
@@ -5066,21 +4373,16 @@ public final class CmdlineRemoteProto {
*/
public Builder setScope(
int index, org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope.Builder builderForValue) {
- ensureScopeIsMutable();
- scope_.set(index, builderForValue.build());
-
+ copyOnWrite();
+ instance.setScope(index, builderForValue);
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);
-
+ copyOnWrite();
+ instance.addScope(value);
return this;
}
/**
@@ -5088,12 +4390,8 @@ public final class CmdlineRemoteProto {
*/
public Builder addScope(
int index, org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureScopeIsMutable();
- scope_.add(index, value);
-
+ copyOnWrite();
+ instance.addScope(index, value);
return this;
}
/**
@@ -5101,9 +4399,8 @@ public final class CmdlineRemoteProto {
*/
public Builder addScope(
org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope.Builder builderForValue) {
- ensureScopeIsMutable();
- scope_.add(builderForValue.build());
-
+ copyOnWrite();
+ instance.addScope(builderForValue);
return this;
}
/**
@@ -5111,9 +4408,8 @@ public final class CmdlineRemoteProto {
*/
public Builder addScope(
int index, org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope.Builder builderForValue) {
- ensureScopeIsMutable();
- scope_.add(index, builderForValue.build());
-
+ copyOnWrite();
+ instance.addScope(index, builderForValue);
return this;
}
/**
@@ -5121,75 +4417,61 @@ public final class CmdlineRemoteProto {
*/
public Builder addAllScope(
java.lang.Iterable extends org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope> values) {
- ensureScopeIsMutable();
- super.addAll(values, scope_);
-
+ copyOnWrite();
+ instance.addAllScope(values);
return this;
}
/**
* repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4;
*/
public Builder clearScope() {
- scope_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
-
+ copyOnWrite();
+ instance.clearScope();
return this;
}
/**
* repeated .org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope scope = 4;
*/
public Builder removeScope(int index) {
- ensureScopeIsMutable();
- scope_.remove(index);
-
+ copyOnWrite();
+ instance.removeScope(index);
return this;
}
- // repeated string file_path = 5;
- private com.google.protobuf.LazyStringList filePath_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- private void ensureFilePathIsMutable() {
- if (!((bitField0_ & 0x00000010) == 0x00000010)) {
- filePath_ = new com.google.protobuf.LazyStringArrayList(filePath_);
- bitField0_ |= 0x00000010;
- }
- }
/**
* repeated string file_path = 5;
*/
- public java.util.List
+ public java.util.List
getFilePathList() {
- return java.util.Collections.unmodifiableList(filePath_);
+ return java.util.Collections.unmodifiableList(
+ instance.getFilePathList());
}
/**
* repeated string file_path = 5;
*/
public int getFilePathCount() {
- return filePath_.size();
+ return instance.getFilePathCount();
}
/**
* repeated string file_path = 5;
*/
public java.lang.String getFilePath(int index) {
- return filePath_.get(index);
+ return instance.getFilePath(index);
}
/**
* repeated string file_path = 5;
*/
public com.google.protobuf.ByteString
getFilePathBytes(int index) {
- return filePath_.getByteString(index);
+ return instance.getFilePathBytes(index);
}
/**
* repeated string file_path = 5;
*/
public Builder setFilePath(
int index, java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureFilePathIsMutable();
- filePath_.set(index, value);
-
+ copyOnWrite();
+ instance.setFilePath(index, value);
return this;
}
/**
@@ -5197,12 +4479,8 @@ public final class CmdlineRemoteProto {
*/
public Builder addFilePath(
java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureFilePathIsMutable();
- filePath_.add(value);
-
+ copyOnWrite();
+ instance.addFilePath(value);
return this;
}
/**
@@ -5210,18 +4488,16 @@ public final class CmdlineRemoteProto {
*/
public Builder addAllFilePath(
java.lang.Iterable values) {
- ensureFilePathIsMutable();
- super.addAll(values, filePath_);
-
+ copyOnWrite();
+ instance.addAllFilePath(values);
return this;
}
/**
* repeated string file_path = 5;
*/
public Builder clearFilePath() {
- filePath_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000010);
-
+ copyOnWrite();
+ instance.clearFilePath();
return this;
}
/**
@@ -5229,54 +4505,36 @@ public final class CmdlineRemoteProto {
*/
public Builder addFilePathBytes(
com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureFilePathIsMutable();
- filePath_.add(value);
-
+ copyOnWrite();
+ instance.addFilePathBytes(value);
return this;
}
- // repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6;
- private java.util.List builderParameter_ =
- java.util.Collections.emptyList();
- private void ensureBuilderParameterIsMutable() {
- if (!((bitField0_ & 0x00000020) == 0x00000020)) {
- builderParameter_ = new java.util.ArrayList<>(builderParameter_);
- bitField0_ |= 0x00000020;
- }
- }
-
/**
* repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6;
*/
public java.util.List getBuilderParameterList() {
- return java.util.Collections.unmodifiableList(builderParameter_);
+ return java.util.Collections.unmodifiableList(
+ instance.getBuilderParameterList());
}
/**
* repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6;
*/
public int getBuilderParameterCount() {
- return builderParameter_.size();
- }
- /**
+ return instance.getBuilderParameterCount();
+ }/**
* repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6;
*/
public org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair getBuilderParameter(int index) {
- return builderParameter_.get(index);
+ return instance.getBuilderParameter(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) {
- throw new NullPointerException();
- }
- ensureBuilderParameterIsMutable();
- builderParameter_.set(index, value);
-
+ copyOnWrite();
+ instance.setBuilderParameter(index, value);
return this;
}
/**
@@ -5284,21 +4542,16 @@ public final class CmdlineRemoteProto {
*/
public Builder setBuilderParameter(
int index, org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair.Builder builderForValue) {
- ensureBuilderParameterIsMutable();
- builderParameter_.set(index, builderForValue.build());
-
+ copyOnWrite();
+ instance.setBuilderParameter(index, builderForValue);
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);
-
+ copyOnWrite();
+ instance.addBuilderParameter(value);
return this;
}
/**
@@ -5306,12 +4559,8 @@ public final class CmdlineRemoteProto {
*/
public Builder addBuilderParameter(
int index, org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureBuilderParameterIsMutable();
- builderParameter_.add(index, value);
-
+ copyOnWrite();
+ instance.addBuilderParameter(index, value);
return this;
}
/**
@@ -5319,9 +4568,8 @@ public final class CmdlineRemoteProto {
*/
public Builder addBuilderParameter(
org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair.Builder builderForValue) {
- ensureBuilderParameterIsMutable();
- builderParameter_.add(builderForValue.build());
-
+ copyOnWrite();
+ instance.addBuilderParameter(builderForValue);
return this;
}
/**
@@ -5329,9 +4577,8 @@ public final class CmdlineRemoteProto {
*/
public Builder addBuilderParameter(
int index, org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair.Builder builderForValue) {
- ensureBuilderParameterIsMutable();
- builderParameter_.add(index, builderForValue.build());
-
+ copyOnWrite();
+ instance.addBuilderParameter(index, builderForValue);
return this;
}
/**
@@ -5339,45 +4586,230 @@ public final class CmdlineRemoteProto {
*/
public Builder addAllBuilderParameter(
java.lang.Iterable extends org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair> values) {
- ensureBuilderParameterIsMutable();
- super.addAll(values, builderParameter_);
-
+ copyOnWrite();
+ instance.addAllBuilderParameter(values);
return this;
}
/**
* repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6;
*/
public Builder clearBuilderParameter() {
- builderParameter_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000020);
-
+ copyOnWrite();
+ instance.clearBuilderParameter();
return this;
}
/**
* repeated .org.jetbrains.jpsservice.Message.KeyValuePair builder_parameter = 6;
*/
public Builder removeBuilderParameter(int index) {
- ensureBuilderParameterIsMutable();
- builderParameter_.remove(index);
-
+ copyOnWrite();
+ instance.removeBuilderParameter(index);
return this;
}
// @@protoc_insertion_point(builder_scope:org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage)
}
+ private byte memoizedIsInitialized = -1;
+ protected final Object dynamicMethod(
+ com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
+ Object arg0, Object arg1) {
+ switch (method) {
+ case NEW_MUTABLE_INSTANCE: {
+ return new org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage();
+ }
+ case IS_INITIALIZED: {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return DEFAULT_INSTANCE;
+ if (isInitialized == 0) return null;
- static {
- defaultInstance = new ParametersMessage(true);
- defaultInstance.initFields();
+ boolean shouldMemoize = ((Boolean) arg0).booleanValue();
+ if (!hasBuildType()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ if (hasGlobalSettings()) {
+ if (!getGlobalSettings().isInitialized()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ }
+ for (int i = 0; i < getScopeCount(); i++) {
+ if (!getScope(i).isInitialized()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ }
+ for (int i = 0; i < getBuilderParameterCount(); i++) {
+ if (!getBuilderParameter(i).isInitialized()) {
+ if (shouldMemoize) {
+ memoizedIsInitialized = 0;
+ }
+ return null;
+ }
+ }
+ if (shouldMemoize) memoizedIsInitialized = 1;
+ return DEFAULT_INSTANCE;
+
+ }
+ case MAKE_IMMUTABLE: {
+ scope_.makeImmutable();
+ filePath_.makeImmutable();
+ builderParameter_.makeImmutable();
+ return null;
+ }
+ case NEW_BUILDER: {
+ return new Builder();
+ }
+ case VISIT: {
+ Visitor visitor = (Visitor) arg0;
+ org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage other = (org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage) arg1;
+ buildType_ = visitor.visitInt(hasBuildType(), buildType_,
+ other.hasBuildType(), other.buildType_);
+ globalSettings_ = visitor.visitMessage(globalSettings_, other.globalSettings_);
+ projectId_ = visitor.visitString(
+ hasProjectId(), projectId_,
+ other.hasProjectId(), other.projectId_);
+ scope_= visitor.visitList(scope_, other.scope_);
+ filePath_= visitor.visitList(filePath_, other.filePath_);
+ builderParameter_= visitor.visitList(builderParameter_, other.builderParameter_);
+ if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor
+ .INSTANCE) {
+ bitField0_ |= other.bitField0_;
+ }
+ return this;
+ }
+ case MERGE_FROM_STREAM: {
+ com.google.protobuf.CodedInputStream input =
+ (com.google.protobuf.CodedInputStream) arg0;
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry =
+ (com.google.protobuf.ExtensionRegistryLite) arg1;
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(tag, input)) {
+ 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.forNumber(rawValue);
+ if (value == null) {
+ super.mergeVarintField(1, rawValue);
+ } else {
+ bitField0_ |= 0x00000001;
+ buildType_ = rawValue;
+ }
+ 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: {
+ String s = input.readString();
+ bitField0_ |= 0x00000004;
+ projectId_ = s;
+ break;
+ }
+ case 34: {
+ if (!scope_.isModifiable()) {
+ scope_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(scope_);
+ }
+ scope_.add(
+ input.readMessage(org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.TargetTypeBuildScope.parser(), extensionRegistry));
+ break;
+ }
+ case 42: {
+ String s = input.readString();
+ if (!filePath_.isModifiable()) {
+ filePath_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(filePath_);
+ }
+ filePath_.add(s);
+ break;
+ }
+ case 50: {
+ if (!builderParameter_.isModifiable()) {
+ builderParameter_ =
+ com.google.protobuf.GeneratedMessageLite.mutableCopy(builderParameter_);
+ }
+ builderParameter_.add(
+ input.readMessage(org.jetbrains.jps.api.CmdlineRemoteProto.Message.KeyValuePair.parser(), extensionRegistry));
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw new RuntimeException(e.setUnfinishedMessage(this));
+ } catch (java.io.IOException e) {
+ throw new RuntimeException(
+ new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this));
+ } finally {
+ }
+ }
+ case GET_DEFAULT_INSTANCE: {
+ return DEFAULT_INSTANCE;
+ }
+ case GET_PARSER: {
+ if (PARSER == null) { synchronized (org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.class) {
+ if (PARSER == null) {
+ PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE);
+ }
+ }
+ }
+ return PARSER;
+ }
+ }
+ throw new UnsupportedOperationException();
}
+
// @@protoc_insertion_point(class_scope:org.jetbrains.jpsservice.Message.ControllerMessage.ParametersMessage)
+ private static final org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new ParametersMessage();
+ DEFAULT_INSTANCE.makeImmutable();
+ }
+
+ public static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static volatile com.google.protobuf.Parser PARSER;
+
+ public static com.google.protobuf.Parser parser() {
+ return DEFAULT_INSTANCE.getParserForType();
+ }
}
- public interface ConstantSearchResultOrBuilder
- extends com.google.protobuf.MessageLiteOrBuilder {
+ public interface ConstantSearchResultOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:org.jetbrains.jpsservice.Message.ControllerMessage.ConstantSearchResult)
+ com.google.protobuf.MessageLiteOrBuilder {
- // required string owner_class_name = 1;
/**
* required string owner_class_name = 1;
*/
@@ -5392,7 +4824,6 @@ public final class CmdlineRemoteProto {
com.google.protobuf.ByteString
getOwnerClassNameBytes();
- // required string field_name = 2;
/**
* required string field_name = 2;
*/
@@ -5407,7 +4838,6 @@ public final class CmdlineRemoteProto {
com.google.protobuf.ByteString
getFieldNameBytes();
- // required bool is_success = 3;
/**
* required bool is_success = 3;
*/
@@ -5417,12 +4847,11 @@ public final class CmdlineRemoteProto {
*/
boolean getIsSuccess();
- // repeated string path = 4;
/**
* repeated string path = 4;
*/
- java.util.List
- getPathList();
+ java.util.List