// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: javac_remote_proto.proto

package org.jetbrains.jps.javac.rpc;

import org.jetbrains.annotations.ApiStatus;

@javax.annotation.Generated(value="protoc", comments="annotations:JavacRemoteProto.java.pb.meta")
public final class JavacRemoteProto {
  private JavacRemoteProto() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface MessageOrBuilder extends
      // @@protoc_insertion_point(interface_extends:org.jetbrains.javac.Message)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>required .org.jetbrains.javac.Message.UUID session_id = 1;</code>
     * @return Whether the sessionId field is set.
     */
    boolean hasSessionId();
    /**
     * <code>required .org.jetbrains.javac.Message.UUID session_id = 1;</code>
     * @return The sessionId.
     */
    org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID getSessionId();
    /**
     * <code>required .org.jetbrains.javac.Message.UUID session_id = 1;</code>
     */
    org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUIDOrBuilder getSessionIdOrBuilder();

    /**
     * <code>required .org.jetbrains.javac.Message.Type message_type = 2;</code>
     * @return Whether the messageType field is set.
     */
    boolean hasMessageType();
    /**
     * <code>required .org.jetbrains.javac.Message.Type message_type = 2;</code>
     * @return The messageType.
     */
    org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.Type getMessageType();

    /**
     * <code>optional .org.jetbrains.javac.Message.Request request = 3;</code>
     * @return Whether the request field is set.
     */
    boolean hasRequest();
    /**
     * <code>optional .org.jetbrains.javac.Message.Request request = 3;</code>
     * @return The request.
     */
    org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.Request getRequest();
    /**
     * <code>optional .org.jetbrains.javac.Message.Request request = 3;</code>
     */
    org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.RequestOrBuilder getRequestOrBuilder();

    /**
     * <code>optional .org.jetbrains.javac.Message.Response response = 4;</code>
     * @return Whether the response field is set.
     */
    boolean hasResponse();
    /**
     * <code>optional .org.jetbrains.javac.Message.Response response = 4;</code>
     * @return The response.
     */
    org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.Response getResponse();
    /**
     * <code>optional .org.jetbrains.javac.Message.Response response = 4;</code>
     */
    org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.ResponseOrBuilder getResponseOrBuilder();

    /**
     * <code>optional .org.jetbrains.javac.Message.Failure failure = 5;</code>
     * @return Whether the failure field is set.
     */
    boolean hasFailure();
    /**
     * <code>optional .org.jetbrains.javac.Message.Failure failure = 5;</code>
     * @return The failure.
     */
    org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.Failure getFailure();
    /**
     * <code>optional .org.jetbrains.javac.Message.Failure failure = 5;</code>
     */
    org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.FailureOrBuilder getFailureOrBuilder();
  }
  /**
   * Protobuf type {@code org.jetbrains.javac.Message}
   */
  public static final class Message extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:org.jetbrains.javac.Message)
      MessageOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Message.newBuilder() to construct.
    private Message(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private Message() {
      messageType_ = 1;
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new Message();
    }

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.jetbrains.jps.javac.rpc.JavacRemoteProto.internal_static_org_jetbrains_javac_Message_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.jetbrains.jps.javac.rpc.JavacRemoteProto.internal_static_org_jetbrains_javac_Message_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.class, org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.Builder.class);
    }

    /**
     * Protobuf enum {@code org.jetbrains.javac.Message.Type}
     */
    public enum Type
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <code>REQUEST = 1;</code>
       */
      REQUEST(1),
      /**
       * <code>RESPONSE = 2;</code>
       */
      RESPONSE(2),
      /**
       * <code>FAILURE = 3;</code>
       */
      FAILURE(3),
      ;

      /**
       * <code>REQUEST = 1;</code>
       */
      public static final int REQUEST_VALUE = 1;
      /**
       * <code>RESPONSE = 2;</code>
       */
      public static final int RESPONSE_VALUE = 2;
      /**
       * <code>FAILURE = 3;</code>
       */
      public static final int FAILURE_VALUE = 3;


      public final int getNumber() {
        return value;
      }

      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static Type valueOf(int value) {
        return forNumber(value);
      }

      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       */
      public static Type forNumber(int value) {
        switch (value) {
          case 1: return REQUEST;
          case 2: return RESPONSE;
          case 3: return FAILURE;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap<Type>
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          Type> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap<Type>() {
              public Type findValueByNumber(int number) {
                return Type.forNumber(number);
              }
            };

      public final com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        return getDescriptor().getValues().get(ordinal());
      }
      public final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptorForType() {
        return getDescriptor();
      }
      public static final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptor() {
        return org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.getDescriptor().getEnumTypes().get(0);
      }

      private static final Type[] VALUES = values();

      public static Type valueOf(
          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
        if (desc.getType() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "EnumValueDescriptor is not for this type.");
        }
        return VALUES[desc.getIndex()];
      }

      private final int value;

      private Type(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:org.jetbrains.javac.Message.Type)
    }

    public interface UUIDOrBuilder extends
        // @@protoc_insertion_point(interface_extends:org.jetbrains.javac.Message.UUID)
        com.google.protobuf.MessageOrBuilder {

      /**
       * <code>required sint64 most_sig_bits = 1;</code>
       * @return Whether the mostSigBits field is set.
       */
      boolean hasMostSigBits();
      /**
       * <code>required sint64 most_sig_bits = 1;</code>
       * @return The mostSigBits.
       */
      long getMostSigBits();

      /**
       * <code>required sint64 least_sig_bits = 2;</code>
       * @return Whether the leastSigBits field is set.
       */
      boolean hasLeastSigBits();
      /**
       * <code>required sint64 least_sig_bits = 2;</code>
       * @return The leastSigBits.
       */
      long getLeastSigBits();
    }
    /**
     * Protobuf type {@code org.jetbrains.javac.Message.UUID}
     */
    public static final class UUID extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:org.jetbrains.javac.Message.UUID)
        UUIDOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use UUID.newBuilder() to construct.
      private UUID(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private UUID() {
      }

      @java.lang.Override
      @SuppressWarnings({"unused"})
      protected java.lang.Object newInstance(
          UnusedPrivateParameter unused) {
        return new UUID();
      }

      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.jetbrains.jps.javac.rpc.JavacRemoteProto.internal_static_org_jetbrains_javac_Message_UUID_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.jetbrains.jps.javac.rpc.JavacRemoteProto.internal_static_org_jetbrains_javac_Message_UUID_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID.class, org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID.Builder.class);
      }

      private int bitField0_;
      public static final int MOST_SIG_BITS_FIELD_NUMBER = 1;
      private long mostSigBits_ = 0L;
      /**
       * <code>required sint64 most_sig_bits = 1;</code>
       * @return Whether the mostSigBits field is set.
       */
      @java.lang.Override
      public boolean hasMostSigBits() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>required sint64 most_sig_bits = 1;</code>
       * @return The mostSigBits.
       */
      @java.lang.Override
      public long getMostSigBits() {
        return mostSigBits_;
      }

      public static final int LEAST_SIG_BITS_FIELD_NUMBER = 2;
      private long leastSigBits_ = 0L;
      /**
       * <code>required sint64 least_sig_bits = 2;</code>
       * @return Whether the leastSigBits field is set.
       */
      @java.lang.Override
      public boolean hasLeastSigBits() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <code>required sint64 least_sig_bits = 2;</code>
       * @return The leastSigBits.
       */
      @java.lang.Override
      public long getLeastSigBits() {
        return leastSigBits_;
      }

      private byte memoizedIsInitialized = -1;
      @java.lang.Override
      public final boolean isInitialized() {
        byte isInitialized = memoizedIsInitialized;
        if (isInitialized == 1) return true;
        if (isInitialized == 0) return false;

        if (!hasMostSigBits()) {
          memoizedIsInitialized = 0;
          return false;
        }
        if (!hasLeastSigBits()) {
          memoizedIsInitialized = 0;
          return false;
        }
        memoizedIsInitialized = 1;
        return true;
      }

      @java.lang.Override
      public void writeTo(com.google.protobuf.CodedOutputStream output)
                          throws java.io.IOException {
        if (((bitField0_ & 0x00000001) != 0)) {
          output.writeSInt64(1, mostSigBits_);
        }
        if (((bitField0_ & 0x00000002) != 0)) {
          output.writeSInt64(2, leastSigBits_);
        }
        getUnknownFields().writeTo(output);
      }

      @java.lang.Override
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;

        size = 0;
        if (((bitField0_ & 0x00000001) != 0)) {
          size += com.google.protobuf.CodedOutputStream
            .computeSInt64Size(1, mostSigBits_);
        }
        if (((bitField0_ & 0x00000002) != 0)) {
          size += com.google.protobuf.CodedOutputStream
            .computeSInt64Size(2, leastSigBits_);
        }
        size += getUnknownFields().getSerializedSize();
        memoizedSize = size;
        return size;
      }

      @java.lang.Override
      public boolean equals(final java.lang.Object obj) {
        if (obj == this) {
         return true;
        }
        if (!(obj instanceof org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID)) {
          return super.equals(obj);
        }
        org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID other = (org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID) obj;

        if (hasMostSigBits() != other.hasMostSigBits()) return false;
        if (hasMostSigBits()) {
          if (getMostSigBits()
              != other.getMostSigBits()) return false;
        }
        if (hasLeastSigBits() != other.hasLeastSigBits()) return false;
        if (hasLeastSigBits()) {
          if (getLeastSigBits()
              != other.getLeastSigBits()) return false;
        }
        if (!getUnknownFields().equals(other.getUnknownFields())) return false;
        return true;
      }

      @java.lang.Override
      public int hashCode() {
        if (memoizedHashCode != 0) {
          return memoizedHashCode;
        }
        int hash = 41;
        hash = (19 * hash) + getDescriptor().hashCode();
        if (hasMostSigBits()) {
          hash = (37 * hash) + MOST_SIG_BITS_FIELD_NUMBER;
          hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
              getMostSigBits());
        }
        if (hasLeastSigBits()) {
          hash = (37 * hash) + LEAST_SIG_BITS_FIELD_NUMBER;
          hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
              getLeastSigBits());
        }
        hash = (29 * hash) + getUnknownFields().hashCode();
        memoizedHashCode = hash;
        return hash;
      }

      public static org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID parseFrom(
          java.nio.ByteBuffer data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID parseFrom(
          com.google.protobuf.ByteString data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID parseFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input, extensionRegistry);
      }

      public static org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }

      public static org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID parseDelimitedFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
      }
      public static org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID parseFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input, extensionRegistry);
      }

      @java.lang.Override
      public Builder newBuilderForType() { return newBuilder(); }
      public static Builder newBuilder() {
        return DEFAULT_INSTANCE.toBuilder();
      }
      public static Builder newBuilder(org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID prototype) {
        return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
      }
      @java.lang.Override
      public Builder toBuilder() {
        return this == DEFAULT_INSTANCE
            ? new Builder() : new Builder().mergeFrom(this);
      }

      @java.lang.Override
      protected Builder newBuilderForType(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /**
       * Protobuf type {@code org.jetbrains.javac.Message.UUID}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:org.jetbrains.javac.Message.UUID)
          org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUIDOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return org.jetbrains.jps.javac.rpc.JavacRemoteProto.internal_static_org_jetbrains_javac_Message_UUID_descriptor;
        }

        @java.lang.Override
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return org.jetbrains.jps.javac.rpc.JavacRemoteProto.internal_static_org_jetbrains_javac_Message_UUID_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID.class, org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID.Builder.class);
        }

        // Construct using org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID.newBuilder()
        private Builder() {

        }

        private Builder(
            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          super(parent);

        }
        @java.lang.Override
        public Builder clear() {
          super.clear();
          bitField0_ = 0;
          mostSigBits_ = 0L;
          leastSigBits_ = 0L;
          return this;
        }

        @java.lang.Override
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return org.jetbrains.jps.javac.rpc.JavacRemoteProto.internal_static_org_jetbrains_javac_Message_UUID_descriptor;
        }

        @java.lang.Override
        public org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID getDefaultInstanceForType() {
          return org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID.getDefaultInstance();
        }

        @java.lang.Override
        public org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID build() {
          org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        @java.lang.Override
        public org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID buildPartial() {
          org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID result = new org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID(this);
          if (bitField0_ != 0) { buildPartial0(result); }
          onBuilt();
          return result;
        }

        private void buildPartial0(org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID result) {
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          if (((from_bitField0_ & 0x00000001) != 0)) {
            result.mostSigBits_ = mostSigBits_;
            to_bitField0_ |= 0x00000001;
          }
          if (((from_bitField0_ & 0x00000002) != 0)) {
            result.leastSigBits_ = leastSigBits_;
            to_bitField0_ |= 0x00000002;
          }
          result.bitField0_ |= to_bitField0_;
        }

        @java.lang.Override
        public Builder clone() {
          return super.clone();
        }
        @java.lang.Override
        public Builder setField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            java.lang.Object value) {
          return super.setField(field, value);
        }
        @java.lang.Override
        public Builder clearField(
            com.google.protobuf.Descriptors.FieldDescriptor field) {
          return super.clearField(field);
        }
        @java.lang.Override
        public Builder clearOneof(
            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
          return super.clearOneof(oneof);
        }
        @java.lang.Override
        public Builder setRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            int index, java.lang.Object value) {
          return super.setRepeatedField(field, index, value);
        }
        @java.lang.Override
        public Builder addRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            java.lang.Object value) {
          return super.addRepeatedField(field, value);
        }
        @java.lang.Override
        public Builder mergeFrom(com.google.protobuf.Message other) {
          if (other instanceof org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID) {
            return mergeFrom((org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID other) {
          if (other == org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID.getDefaultInstance()) return this;
          if (other.hasMostSigBits()) {
            setMostSigBits(other.getMostSigBits());
          }
          if (other.hasLeastSigBits()) {
            setLeastSigBits(other.getLeastSigBits());
          }
          this.mergeUnknownFields(other.getUnknownFields());
          onChanged();
          return this;
        }

        @java.lang.Override
        public final boolean isInitialized() {
          if (!hasMostSigBits()) {
            return false;
          }
          if (!hasLeastSigBits()) {
            return false;
          }
          return true;
        }

        @java.lang.Override
        public Builder mergeFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          if (extensionRegistry == null) {
            throw new java.lang.NullPointerException();
          }
          try {
            boolean done = false;
            while (!done) {
              int tag = input.readTag();
              switch (tag) {
                case 0:
                  done = true;
                  break;
                case 8: {
                  mostSigBits_ = input.readSInt64();
                  bitField0_ |= 0x00000001;
                  break;
                } // case 8
                case 16: {
                  leastSigBits_ = input.readSInt64();
                  bitField0_ |= 0x00000002;
                  break;
                } // case 16
                default: {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
              } // switch (tag)
            } // while (!done)
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            throw e.unwrapIOException();
          } finally {
            onChanged();
          } // finally
          return this;
        }
        private int bitField0_;

        private long mostSigBits_ ;
        /**
         * <code>required sint64 most_sig_bits = 1;</code>
         * @return Whether the mostSigBits field is set.
         */
        @java.lang.Override
        public boolean hasMostSigBits() {
          return ((bitField0_ & 0x00000001) != 0);
        }
        /**
         * <code>required sint64 most_sig_bits = 1;</code>
         * @return The mostSigBits.
         */
        @java.lang.Override
        public long getMostSigBits() {
          return mostSigBits_;
        }
        /**
         * <code>required sint64 most_sig_bits = 1;</code>
         * @param value The mostSigBits to set.
         * @return This builder for chaining.
         */
        public Builder setMostSigBits(long value) {

          mostSigBits_ = value;
          bitField0_ |= 0x00000001;
          onChanged();
          return this;
        }
        /**
         * <code>required sint64 most_sig_bits = 1;</code>
         * @return This builder for chaining.
         */
        public Builder clearMostSigBits() {
          bitField0_ = (bitField0_ & ~0x00000001);
          mostSigBits_ = 0L;
          onChanged();
          return this;
        }

        private long leastSigBits_ ;
        /**
         * <code>required sint64 least_sig_bits = 2;</code>
         * @return Whether the leastSigBits field is set.
         */
        @java.lang.Override
        public boolean hasLeastSigBits() {
          return ((bitField0_ & 0x00000002) != 0);
        }
        /**
         * <code>required sint64 least_sig_bits = 2;</code>
         * @return The leastSigBits.
         */
        @java.lang.Override
        public long getLeastSigBits() {
          return leastSigBits_;
        }
        /**
         * <code>required sint64 least_sig_bits = 2;</code>
         * @param value The leastSigBits to set.
         * @return This builder for chaining.
         */
        public Builder setLeastSigBits(long value) {

          leastSigBits_ = value;
          bitField0_ |= 0x00000002;
          onChanged();
          return this;
        }
        /**
         * <code>required sint64 least_sig_bits = 2;</code>
         * @return This builder for chaining.
         */
        public Builder clearLeastSigBits() {
          bitField0_ = (bitField0_ & ~0x00000002);
          leastSigBits_ = 0L;
          onChanged();
          return this;
        }
        @java.lang.Override
        public final Builder setUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.setUnknownFields(unknownFields);
        }

        @java.lang.Override
        public final Builder mergeUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.mergeUnknownFields(unknownFields);
        }


        // @@protoc_insertion_point(builder_scope:org.jetbrains.javac.Message.UUID)
      }

      // @@protoc_insertion_point(class_scope:org.jetbrains.javac.Message.UUID)
      private static final org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID();
      }

      public static org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

      @java.lang.Deprecated public static final com.google.protobuf.Parser<UUID>
          PARSER = new com.google.protobuf.AbstractParser<UUID>() {
        @java.lang.Override
        public UUID parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          Builder builder = newBuilder();
          try {
            builder.mergeFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            throw e.setUnfinishedMessage(builder.buildPartial());
          } catch (com.google.protobuf.UninitializedMessageException e) {
            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
          } catch (java.io.IOException e) {
            throw new com.google.protobuf.InvalidProtocolBufferException(e)
                .setUnfinishedMessage(builder.buildPartial());
          }
          return builder.buildPartial();
        }
      };

      public static com.google.protobuf.Parser<UUID> parser() {
        return PARSER;
      }

      @java.lang.Override
      public com.google.protobuf.Parser<UUID> getParserForType() {
        return PARSER;
      }

      @java.lang.Override
      public org.jetbrains.jps.javac.rpc.JavacRemoteProto.Message.UUID getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }

    }

    public interface FailureOrBuilder extends
        // @@protoc_insertion_point(interface_extends:org.jetbrains.javac.Message.Failure)
        com.google.protobuf.MessageOrBuilder {

      /**
       * <code>optional int32 error_code = 1;</code>
       * @return Whether the errorCode field is set.
       */
      boolean hasErrorCode();
      /**
       * <code>optional int32 error_code = 1;</code>
       * @return The errorCode.
       */
      int getErrorCode();

      /**
       * <code>optional string description = 2;</code>
       * @return Whether the description field is set.
       */
      boolean hasDescription();
      /**
       * <code>optional string description = 2;</code>
       * @return The description.
       */
      java.lang.String getDescription();
      /**
       * <code>optional string description = 2;</code>
       * @return The bytes for description.
       */
      com.google.protobuf.ByteString
          getDescriptionBytes();

      /**
       * <code>optional string stacktrace = 3;</code>
       * @return Whether the stacktrace field is set.
       */
      boolean hasStacktrace();
      /**
       * <code>optional string stacktrace = 3;</code>
       * @return The stacktrace.
       */
      java.lang.String getStacktrace();
      /**
       * <code>optional string stacktrace = 3;</code>
       * @return The bytes for stacktrace.
       */
      com.google.protobuf.ByteString
          getStacktraceBytes();
    }
    /**
