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

package org.languagetool.grpc;

public final class Synthesizer {
  private Synthesizer() {}
  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 SynthesizeRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:lt_ml_server.SynthesizeRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string languageCode = 1;</code>
     * @return The languageCode.
     */
    java.lang.String getLanguageCode();
    /**
     * <code>string languageCode = 1;</code>
     * @return The bytes for languageCode.
     */
    com.google.protobuf.ByteString
        getLanguageCodeBytes();

    /**
     * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
     */
    java.util.List<org.languagetool.grpc.Synthesizer.SynthesizeRequestItem> 
        getItemsList();
    /**
     * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
     */
    org.languagetool.grpc.Synthesizer.SynthesizeRequestItem getItems(int index);
    /**
     * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
     */
    int getItemsCount();
    /**
     * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
     */
    java.util.List<? extends org.languagetool.grpc.Synthesizer.SynthesizeRequestItemOrBuilder> 
        getItemsOrBuilderList();
    /**
     * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
     */
    org.languagetool.grpc.Synthesizer.SynthesizeRequestItemOrBuilder getItemsOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code lt_ml_server.SynthesizeRequest}
   */
  public static final class SynthesizeRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:lt_ml_server.SynthesizeRequest)
      SynthesizeRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use SynthesizeRequest.newBuilder() to construct.
    private SynthesizeRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private SynthesizeRequest() {
      languageCode_ = "";
      items_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private SynthesizeRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              languageCode_ = s;
              break;
            }
            case 18: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                items_ = new java.util.ArrayList<org.languagetool.grpc.Synthesizer.SynthesizeRequestItem>();
                mutable_bitField0_ |= 0x00000001;
              }
              items_.add(
                  input.readMessage(org.languagetool.grpc.Synthesizer.SynthesizeRequestItem.parser(), extensionRegistry));
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          items_ = java.util.Collections.unmodifiableList(items_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.languagetool.grpc.Synthesizer.internal_static_lt_ml_server_SynthesizeRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.languagetool.grpc.Synthesizer.internal_static_lt_ml_server_SynthesizeRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.languagetool.grpc.Synthesizer.SynthesizeRequest.class, org.languagetool.grpc.Synthesizer.SynthesizeRequest.Builder.class);
    }

    public static final int LANGUAGECODE_FIELD_NUMBER = 1;
    private volatile java.lang.Object languageCode_;
    /**
     * <code>string languageCode = 1;</code>
     * @return The languageCode.
     */
    @java.lang.Override
    public java.lang.String getLanguageCode() {
      java.lang.Object ref = languageCode_;
      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();
        languageCode_ = s;
        return s;
      }
    }
    /**
     * <code>string languageCode = 1;</code>
     * @return The bytes for languageCode.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getLanguageCodeBytes() {
      java.lang.Object ref = languageCode_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        languageCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int ITEMS_FIELD_NUMBER = 2;
    private java.util.List<org.languagetool.grpc.Synthesizer.SynthesizeRequestItem> items_;
    /**
     * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
     */
    @java.lang.Override
    public java.util.List<org.languagetool.grpc.Synthesizer.SynthesizeRequestItem> getItemsList() {
      return items_;
    }
    /**
     * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
     */
    @java.lang.Override
    public java.util.List<? extends org.languagetool.grpc.Synthesizer.SynthesizeRequestItemOrBuilder> 
        getItemsOrBuilderList() {
      return items_;
    }
    /**
     * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
     */
    @java.lang.Override
    public int getItemsCount() {
      return items_.size();
    }
    /**
     * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
     */
    @java.lang.Override
    public org.languagetool.grpc.Synthesizer.SynthesizeRequestItem getItems(int index) {
      return items_.get(index);
    }
    /**
     * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
     */
    @java.lang.Override
    public org.languagetool.grpc.Synthesizer.SynthesizeRequestItemOrBuilder getItemsOrBuilder(
        int index) {
      return items_.get(index);
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getLanguageCodeBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, languageCode_);
      }
      for (int i = 0; i < items_.size(); i++) {
        output.writeMessage(2, items_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!getLanguageCodeBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, languageCode_);
      }
      for (int i = 0; i < items_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, items_.get(i));
      }
      size += unknownFields.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.languagetool.grpc.Synthesizer.SynthesizeRequest)) {
        return super.equals(obj);
      }
      org.languagetool.grpc.Synthesizer.SynthesizeRequest other = (org.languagetool.grpc.Synthesizer.SynthesizeRequest) obj;

      if (!getLanguageCode()
          .equals(other.getLanguageCode())) return false;
      if (!getItemsList()
          .equals(other.getItemsList())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + LANGUAGECODE_FIELD_NUMBER;
      hash = (53 * hash) + getLanguageCode().hashCode();
      if (getItemsCount() > 0) {
        hash = (37 * hash) + ITEMS_FIELD_NUMBER;
        hash = (53 * hash) + getItemsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.languagetool.grpc.Synthesizer.SynthesizeRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeRequest 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.languagetool.grpc.Synthesizer.SynthesizeRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeRequest 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.languagetool.grpc.Synthesizer.SynthesizeRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeRequest 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.languagetool.grpc.Synthesizer.SynthesizeRequest 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 lt_ml_server.SynthesizeRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:lt_ml_server.SynthesizeRequest)
        org.languagetool.grpc.Synthesizer.SynthesizeRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.languagetool.grpc.Synthesizer.internal_static_lt_ml_server_SynthesizeRequest_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.languagetool.grpc.Synthesizer.internal_static_lt_ml_server_SynthesizeRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.languagetool.grpc.Synthesizer.SynthesizeRequest.class, org.languagetool.grpc.Synthesizer.SynthesizeRequest.Builder.class);
      }

      // Construct using org.languagetool.grpc.Synthesizer.SynthesizeRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getItemsFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        languageCode_ = "";

        if (itemsBuilder_ == null) {
          items_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          itemsBuilder_.clear();
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.languagetool.grpc.Synthesizer.internal_static_lt_ml_server_SynthesizeRequest_descriptor;
      }

      @java.lang.Override
      public org.languagetool.grpc.Synthesizer.SynthesizeRequest getDefaultInstanceForType() {
        return org.languagetool.grpc.Synthesizer.SynthesizeRequest.getDefaultInstance();
      }

      @java.lang.Override
      public org.languagetool.grpc.Synthesizer.SynthesizeRequest build() {
        org.languagetool.grpc.Synthesizer.SynthesizeRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.languagetool.grpc.Synthesizer.SynthesizeRequest buildPartial() {
        org.languagetool.grpc.Synthesizer.SynthesizeRequest result = new org.languagetool.grpc.Synthesizer.SynthesizeRequest(this);
        int from_bitField0_ = bitField0_;
        result.languageCode_ = languageCode_;
        if (itemsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            items_ = java.util.Collections.unmodifiableList(items_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.items_ = items_;
        } else {
          result.items_ = itemsBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @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.languagetool.grpc.Synthesizer.SynthesizeRequest) {
          return mergeFrom((org.languagetool.grpc.Synthesizer.SynthesizeRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.languagetool.grpc.Synthesizer.SynthesizeRequest other) {
        if (other == org.languagetool.grpc.Synthesizer.SynthesizeRequest.getDefaultInstance()) return this;
        if (!other.getLanguageCode().isEmpty()) {
          languageCode_ = other.languageCode_;
          onChanged();
        }
        if (itemsBuilder_ == null) {
          if (!other.items_.isEmpty()) {
            if (items_.isEmpty()) {
              items_ = other.items_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureItemsIsMutable();
              items_.addAll(other.items_);
            }
            onChanged();
          }
        } else {
          if (!other.items_.isEmpty()) {
            if (itemsBuilder_.isEmpty()) {
              itemsBuilder_.dispose();
              itemsBuilder_ = null;
              items_ = other.items_;
              bitField0_ = (bitField0_ & ~0x00000001);
              itemsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getItemsFieldBuilder() : null;
            } else {
              itemsBuilder_.addAllMessages(other.items_);
            }
          }
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        org.languagetool.grpc.Synthesizer.SynthesizeRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.languagetool.grpc.Synthesizer.SynthesizeRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.lang.Object languageCode_ = "";
      /**
       * <code>string languageCode = 1;</code>
       * @return The languageCode.
       */
      public java.lang.String getLanguageCode() {
        java.lang.Object ref = languageCode_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          languageCode_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string languageCode = 1;</code>
       * @return The bytes for languageCode.
       */
      public com.google.protobuf.ByteString
          getLanguageCodeBytes() {
        java.lang.Object ref = languageCode_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          languageCode_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string languageCode = 1;</code>
       * @param value The languageCode to set.
       * @return This builder for chaining.
       */
      public Builder setLanguageCode(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        languageCode_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string languageCode = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearLanguageCode() {
        
        languageCode_ = getDefaultInstance().getLanguageCode();
        onChanged();
        return this;
      }
      /**
       * <code>string languageCode = 1;</code>
       * @param value The bytes for languageCode to set.
       * @return This builder for chaining.
       */
      public Builder setLanguageCodeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        languageCode_ = value;
        onChanged();
        return this;
      }

      private java.util.List<org.languagetool.grpc.Synthesizer.SynthesizeRequestItem> items_ =
        java.util.Collections.emptyList();
      private void ensureItemsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          items_ = new java.util.ArrayList<org.languagetool.grpc.Synthesizer.SynthesizeRequestItem>(items_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          org.languagetool.grpc.Synthesizer.SynthesizeRequestItem, org.languagetool.grpc.Synthesizer.SynthesizeRequestItem.Builder, org.languagetool.grpc.Synthesizer.SynthesizeRequestItemOrBuilder> itemsBuilder_;

      /**
       * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
       */
      public java.util.List<org.languagetool.grpc.Synthesizer.SynthesizeRequestItem> getItemsList() {
        if (itemsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(items_);
        } else {
          return itemsBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
       */
      public int getItemsCount() {
        if (itemsBuilder_ == null) {
          return items_.size();
        } else {
          return itemsBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
       */
      public org.languagetool.grpc.Synthesizer.SynthesizeRequestItem getItems(int index) {
        if (itemsBuilder_ == null) {
          return items_.get(index);
        } else {
          return itemsBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
       */
      public Builder setItems(
          int index, org.languagetool.grpc.Synthesizer.SynthesizeRequestItem value) {
        if (itemsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureItemsIsMutable();
          items_.set(index, value);
          onChanged();
        } else {
          itemsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
       */
      public Builder setItems(
          int index, org.languagetool.grpc.Synthesizer.SynthesizeRequestItem.Builder builderForValue) {
        if (itemsBuilder_ == null) {
          ensureItemsIsMutable();
          items_.set(index, builderForValue.build());
          onChanged();
        } else {
          itemsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
       */
      public Builder addItems(org.languagetool.grpc.Synthesizer.SynthesizeRequestItem value) {
        if (itemsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureItemsIsMutable();
          items_.add(value);
          onChanged();
        } else {
          itemsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
       */
      public Builder addItems(
          int index, org.languagetool.grpc.Synthesizer.SynthesizeRequestItem value) {
        if (itemsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureItemsIsMutable();
          items_.add(index, value);
          onChanged();
        } else {
          itemsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
       */
      public Builder addItems(
          org.languagetool.grpc.Synthesizer.SynthesizeRequestItem.Builder builderForValue) {
        if (itemsBuilder_ == null) {
          ensureItemsIsMutable();
          items_.add(builderForValue.build());
          onChanged();
        } else {
          itemsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
       */
      public Builder addItems(
          int index, org.languagetool.grpc.Synthesizer.SynthesizeRequestItem.Builder builderForValue) {
        if (itemsBuilder_ == null) {
          ensureItemsIsMutable();
          items_.add(index, builderForValue.build());
          onChanged();
        } else {
          itemsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
       */
      public Builder addAllItems(
          java.lang.Iterable<? extends org.languagetool.grpc.Synthesizer.SynthesizeRequestItem> values) {
        if (itemsBuilder_ == null) {
          ensureItemsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, items_);
          onChanged();
        } else {
          itemsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
       */
      public Builder clearItems() {
        if (itemsBuilder_ == null) {
          items_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          itemsBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
       */
      public Builder removeItems(int index) {
        if (itemsBuilder_ == null) {
          ensureItemsIsMutable();
          items_.remove(index);
          onChanged();
        } else {
          itemsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
       */
      public org.languagetool.grpc.Synthesizer.SynthesizeRequestItem.Builder getItemsBuilder(
          int index) {
        return getItemsFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
       */
      public org.languagetool.grpc.Synthesizer.SynthesizeRequestItemOrBuilder getItemsOrBuilder(
          int index) {
        if (itemsBuilder_ == null) {
          return items_.get(index);  } else {
          return itemsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
       */
      public java.util.List<? extends org.languagetool.grpc.Synthesizer.SynthesizeRequestItemOrBuilder> 
           getItemsOrBuilderList() {
        if (itemsBuilder_ != null) {
          return itemsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(items_);
        }
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
       */
      public org.languagetool.grpc.Synthesizer.SynthesizeRequestItem.Builder addItemsBuilder() {
        return getItemsFieldBuilder().addBuilder(
            org.languagetool.grpc.Synthesizer.SynthesizeRequestItem.getDefaultInstance());
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
       */
      public org.languagetool.grpc.Synthesizer.SynthesizeRequestItem.Builder addItemsBuilder(
          int index) {
        return getItemsFieldBuilder().addBuilder(
            index, org.languagetool.grpc.Synthesizer.SynthesizeRequestItem.getDefaultInstance());
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeRequestItem items = 2;</code>
       */
      public java.util.List<org.languagetool.grpc.Synthesizer.SynthesizeRequestItem.Builder> 
           getItemsBuilderList() {
        return getItemsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          org.languagetool.grpc.Synthesizer.SynthesizeRequestItem, org.languagetool.grpc.Synthesizer.SynthesizeRequestItem.Builder, org.languagetool.grpc.Synthesizer.SynthesizeRequestItemOrBuilder> 
          getItemsFieldBuilder() {
        if (itemsBuilder_ == null) {
          itemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              org.languagetool.grpc.Synthesizer.SynthesizeRequestItem, org.languagetool.grpc.Synthesizer.SynthesizeRequestItem.Builder, org.languagetool.grpc.Synthesizer.SynthesizeRequestItemOrBuilder>(
                  items_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          items_ = null;
        }
        return itemsBuilder_;
      }
      @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:lt_ml_server.SynthesizeRequest)
    }

    // @@protoc_insertion_point(class_scope:lt_ml_server.SynthesizeRequest)
    private static final org.languagetool.grpc.Synthesizer.SynthesizeRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.languagetool.grpc.Synthesizer.SynthesizeRequest();
    }

    public static org.languagetool.grpc.Synthesizer.SynthesizeRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<SynthesizeRequest>
        PARSER = new com.google.protobuf.AbstractParser<SynthesizeRequest>() {
      @java.lang.Override
      public SynthesizeRequest parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new SynthesizeRequest(input, extensionRegistry);
      }
    };

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

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

    @java.lang.Override
    public org.languagetool.grpc.Synthesizer.SynthesizeRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface SynthesizeRequestItemOrBuilder extends
      // @@protoc_insertion_point(interface_extends:lt_ml_server.SynthesizeRequestItem)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.lt_ml_server.AnalyzedTokenReadings tokens = 1;</code>
     * @return Whether the tokens field is set.
     */
    boolean hasTokens();
    /**
     * <code>.lt_ml_server.AnalyzedTokenReadings tokens = 1;</code>
     * @return The tokens.
     */
    org.languagetool.rules.ml.MLServerProto.AnalyzedTokenReadings getTokens();
    /**
     * <code>.lt_ml_server.AnalyzedTokenReadings tokens = 1;</code>
     */
    org.languagetool.rules.ml.MLServerProto.AnalyzedTokenReadingsOrBuilder getTokensOrBuilder();

    /**
     * <code>string postag = 2;</code>
     * @return The postag.
     */
    java.lang.String getPostag();
    /**
     * <code>string postag = 2;</code>
     * @return The bytes for postag.
     */
    com.google.protobuf.ByteString
        getPostagBytes();

    /**
     * <code>bool postag_regexp = 3;</code>
     * @return The postagRegexp.
     */
    boolean getPostagRegexp();

    /**
     * <code>string postag_replace = 4;</code>
     * @return The postagReplace.
     */
    java.lang.String getPostagReplace();
    /**
     * <code>string postag_replace = 4;</code>
     * @return The bytes for postagReplace.
     */
    com.google.protobuf.ByteString
        getPostagReplaceBytes();

    /**
     * <code>string lemma = 5;</code>
     * @return The lemma.
     */
    java.lang.String getLemma();
    /**
     * <code>string lemma = 5;</code>
     * @return The bytes for lemma.
     */
    com.google.protobuf.ByteString
        getLemmaBytes();
  }
  /**
   * Protobuf type {@code lt_ml_server.SynthesizeRequestItem}
   */
  public static final class SynthesizeRequestItem extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:lt_ml_server.SynthesizeRequestItem)
      SynthesizeRequestItemOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use SynthesizeRequestItem.newBuilder() to construct.
    private SynthesizeRequestItem(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private SynthesizeRequestItem() {
      postag_ = "";
      postagReplace_ = "";
      lemma_ = "";
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private SynthesizeRequestItem(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              org.languagetool.rules.ml.MLServerProto.AnalyzedTokenReadings.Builder subBuilder = null;
              if (tokens_ != null) {
                subBuilder = tokens_.toBuilder();
              }
              tokens_ = input.readMessage(org.languagetool.rules.ml.MLServerProto.AnalyzedTokenReadings.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(tokens_);
                tokens_ = subBuilder.buildPartial();
              }

              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();

              postag_ = s;
              break;
            }
            case 24: {

              postagRegexp_ = input.readBool();
              break;
            }
            case 34: {
              java.lang.String s = input.readStringRequireUtf8();

              postagReplace_ = s;
              break;
            }
            case 42: {
              java.lang.String s = input.readStringRequireUtf8();

              lemma_ = s;
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.languagetool.grpc.Synthesizer.internal_static_lt_ml_server_SynthesizeRequestItem_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.languagetool.grpc.Synthesizer.internal_static_lt_ml_server_SynthesizeRequestItem_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.languagetool.grpc.Synthesizer.SynthesizeRequestItem.class, org.languagetool.grpc.Synthesizer.SynthesizeRequestItem.Builder.class);
    }

    public static final int TOKENS_FIELD_NUMBER = 1;
    private org.languagetool.rules.ml.MLServerProto.AnalyzedTokenReadings tokens_;
    /**
     * <code>.lt_ml_server.AnalyzedTokenReadings tokens = 1;</code>
     * @return Whether the tokens field is set.
     */
    @java.lang.Override
    public boolean hasTokens() {
      return tokens_ != null;
    }
    /**
     * <code>.lt_ml_server.AnalyzedTokenReadings tokens = 1;</code>
     * @return The tokens.
     */
    @java.lang.Override
    public org.languagetool.rules.ml.MLServerProto.AnalyzedTokenReadings getTokens() {
      return tokens_ == null ? org.languagetool.rules.ml.MLServerProto.AnalyzedTokenReadings.getDefaultInstance() : tokens_;
    }
    /**
     * <code>.lt_ml_server.AnalyzedTokenReadings tokens = 1;</code>
     */
    @java.lang.Override
    public org.languagetool.rules.ml.MLServerProto.AnalyzedTokenReadingsOrBuilder getTokensOrBuilder() {
      return getTokens();
    }

    public static final int POSTAG_FIELD_NUMBER = 2;
    private volatile java.lang.Object postag_;
    /**
     * <code>string postag = 2;</code>
     * @return The postag.
     */
    @java.lang.Override
    public java.lang.String getPostag() {
      java.lang.Object ref = postag_;
      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();
        postag_ = s;
        return s;
      }
    }
    /**
     * <code>string postag = 2;</code>
     * @return The bytes for postag.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getPostagBytes() {
      java.lang.Object ref = postag_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        postag_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int POSTAG_REGEXP_FIELD_NUMBER = 3;
    private boolean postagRegexp_;
    /**
     * <code>bool postag_regexp = 3;</code>
     * @return The postagRegexp.
     */
    @java.lang.Override
    public boolean getPostagRegexp() {
      return postagRegexp_;
    }

    public static final int POSTAG_REPLACE_FIELD_NUMBER = 4;
    private volatile java.lang.Object postagReplace_;
    /**
     * <code>string postag_replace = 4;</code>
     * @return The postagReplace.
     */
    @java.lang.Override
    public java.lang.String getPostagReplace() {
      java.lang.Object ref = postagReplace_;
      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();
        postagReplace_ = s;
        return s;
      }
    }
    /**
     * <code>string postag_replace = 4;</code>
     * @return The bytes for postagReplace.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getPostagReplaceBytes() {
      java.lang.Object ref = postagReplace_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        postagReplace_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int LEMMA_FIELD_NUMBER = 5;
    private volatile java.lang.Object lemma_;
    /**
     * <code>string lemma = 5;</code>
     * @return The lemma.
     */
    @java.lang.Override
    public java.lang.String getLemma() {
      java.lang.Object ref = lemma_;
      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();
        lemma_ = s;
        return s;
      }
    }
    /**
     * <code>string lemma = 5;</code>
     * @return The bytes for lemma.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getLemmaBytes() {
      java.lang.Object ref = lemma_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        lemma_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (tokens_ != null) {
        output.writeMessage(1, getTokens());
      }
      if (!getPostagBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, postag_);
      }
      if (postagRegexp_ != false) {
        output.writeBool(3, postagRegexp_);
      }
      if (!getPostagReplaceBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, postagReplace_);
      }
      if (!getLemmaBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 5, lemma_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (tokens_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getTokens());
      }
      if (!getPostagBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, postag_);
      }
      if (postagRegexp_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(3, postagRegexp_);
      }
      if (!getPostagReplaceBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, postagReplace_);
      }
      if (!getLemmaBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, lemma_);
      }
      size += unknownFields.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.languagetool.grpc.Synthesizer.SynthesizeRequestItem)) {
        return super.equals(obj);
      }
      org.languagetool.grpc.Synthesizer.SynthesizeRequestItem other = (org.languagetool.grpc.Synthesizer.SynthesizeRequestItem) obj;

      if (hasTokens() != other.hasTokens()) return false;
      if (hasTokens()) {
        if (!getTokens()
            .equals(other.getTokens())) return false;
      }
      if (!getPostag()
          .equals(other.getPostag())) return false;
      if (getPostagRegexp()
          != other.getPostagRegexp()) return false;
      if (!getPostagReplace()
          .equals(other.getPostagReplace())) return false;
      if (!getLemma()
          .equals(other.getLemma())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasTokens()) {
        hash = (37 * hash) + TOKENS_FIELD_NUMBER;
        hash = (53 * hash) + getTokens().hashCode();
      }
      hash = (37 * hash) + POSTAG_FIELD_NUMBER;
      hash = (53 * hash) + getPostag().hashCode();
      hash = (37 * hash) + POSTAG_REGEXP_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getPostagRegexp());
      hash = (37 * hash) + POSTAG_REPLACE_FIELD_NUMBER;
      hash = (53 * hash) + getPostagReplace().hashCode();
      hash = (37 * hash) + LEMMA_FIELD_NUMBER;
      hash = (53 * hash) + getLemma().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.languagetool.grpc.Synthesizer.SynthesizeRequestItem parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeRequestItem parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeRequestItem parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeRequestItem parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeRequestItem parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeRequestItem parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeRequestItem parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeRequestItem 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.languagetool.grpc.Synthesizer.SynthesizeRequestItem parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeRequestItem 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.languagetool.grpc.Synthesizer.SynthesizeRequestItem parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeRequestItem 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.languagetool.grpc.Synthesizer.SynthesizeRequestItem 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 lt_ml_server.SynthesizeRequestItem}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:lt_ml_server.SynthesizeRequestItem)
        org.languagetool.grpc.Synthesizer.SynthesizeRequestItemOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.languagetool.grpc.Synthesizer.internal_static_lt_ml_server_SynthesizeRequestItem_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.languagetool.grpc.Synthesizer.internal_static_lt_ml_server_SynthesizeRequestItem_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.languagetool.grpc.Synthesizer.SynthesizeRequestItem.class, org.languagetool.grpc.Synthesizer.SynthesizeRequestItem.Builder.class);
      }

      // Construct using org.languagetool.grpc.Synthesizer.SynthesizeRequestItem.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (tokensBuilder_ == null) {
          tokens_ = null;
        } else {
          tokens_ = null;
          tokensBuilder_ = null;
        }
        postag_ = "";

        postagRegexp_ = false;

        postagReplace_ = "";

        lemma_ = "";

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.languagetool.grpc.Synthesizer.internal_static_lt_ml_server_SynthesizeRequestItem_descriptor;
      }

      @java.lang.Override
      public org.languagetool.grpc.Synthesizer.SynthesizeRequestItem getDefaultInstanceForType() {
        return org.languagetool.grpc.Synthesizer.SynthesizeRequestItem.getDefaultInstance();
      }

      @java.lang.Override
      public org.languagetool.grpc.Synthesizer.SynthesizeRequestItem build() {
        org.languagetool.grpc.Synthesizer.SynthesizeRequestItem result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.languagetool.grpc.Synthesizer.SynthesizeRequestItem buildPartial() {
        org.languagetool.grpc.Synthesizer.SynthesizeRequestItem result = new org.languagetool.grpc.Synthesizer.SynthesizeRequestItem(this);
        if (tokensBuilder_ == null) {
          result.tokens_ = tokens_;
        } else {
          result.tokens_ = tokensBuilder_.build();
        }
        result.postag_ = postag_;
        result.postagRegexp_ = postagRegexp_;
        result.postagReplace_ = postagReplace_;
        result.lemma_ = lemma_;
        onBuilt();
        return result;
      }

      @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.languagetool.grpc.Synthesizer.SynthesizeRequestItem) {
          return mergeFrom((org.languagetool.grpc.Synthesizer.SynthesizeRequestItem)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.languagetool.grpc.Synthesizer.SynthesizeRequestItem other) {
        if (other == org.languagetool.grpc.Synthesizer.SynthesizeRequestItem.getDefaultInstance()) return this;
        if (other.hasTokens()) {
          mergeTokens(other.getTokens());
        }
        if (!other.getPostag().isEmpty()) {
          postag_ = other.postag_;
          onChanged();
        }
        if (other.getPostagRegexp() != false) {
          setPostagRegexp(other.getPostagRegexp());
        }
        if (!other.getPostagReplace().isEmpty()) {
          postagReplace_ = other.postagReplace_;
          onChanged();
        }
        if (!other.getLemma().isEmpty()) {
          lemma_ = other.lemma_;
          onChanged();
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        org.languagetool.grpc.Synthesizer.SynthesizeRequestItem parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.languagetool.grpc.Synthesizer.SynthesizeRequestItem) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private org.languagetool.rules.ml.MLServerProto.AnalyzedTokenReadings tokens_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.languagetool.rules.ml.MLServerProto.AnalyzedTokenReadings, org.languagetool.rules.ml.MLServerProto.AnalyzedTokenReadings.Builder, org.languagetool.rules.ml.MLServerProto.AnalyzedTokenReadingsOrBuilder> tokensBuilder_;
      /**
       * <code>.lt_ml_server.AnalyzedTokenReadings tokens = 1;</code>
       * @return Whether the tokens field is set.
       */
      public boolean hasTokens() {
        return tokensBuilder_ != null || tokens_ != null;
      }
      /**
       * <code>.lt_ml_server.AnalyzedTokenReadings tokens = 1;</code>
       * @return The tokens.
       */
      public org.languagetool.rules.ml.MLServerProto.AnalyzedTokenReadings getTokens() {
        if (tokensBuilder_ == null) {
          return tokens_ == null ? org.languagetool.rules.ml.MLServerProto.AnalyzedTokenReadings.getDefaultInstance() : tokens_;
        } else {
          return tokensBuilder_.getMessage();
        }
      }
      /**
       * <code>.lt_ml_server.AnalyzedTokenReadings tokens = 1;</code>
       */
      public Builder setTokens(org.languagetool.rules.ml.MLServerProto.AnalyzedTokenReadings value) {
        if (tokensBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          tokens_ = value;
          onChanged();
        } else {
          tokensBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.lt_ml_server.AnalyzedTokenReadings tokens = 1;</code>
       */
      public Builder setTokens(
          org.languagetool.rules.ml.MLServerProto.AnalyzedTokenReadings.Builder builderForValue) {
        if (tokensBuilder_ == null) {
          tokens_ = builderForValue.build();
          onChanged();
        } else {
          tokensBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.lt_ml_server.AnalyzedTokenReadings tokens = 1;</code>
       */
      public Builder mergeTokens(org.languagetool.rules.ml.MLServerProto.AnalyzedTokenReadings value) {
        if (tokensBuilder_ == null) {
          if (tokens_ != null) {
            tokens_ =
              org.languagetool.rules.ml.MLServerProto.AnalyzedTokenReadings.newBuilder(tokens_).mergeFrom(value).buildPartial();
          } else {
            tokens_ = value;
          }
          onChanged();
        } else {
          tokensBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.lt_ml_server.AnalyzedTokenReadings tokens = 1;</code>
       */
      public Builder clearTokens() {
        if (tokensBuilder_ == null) {
          tokens_ = null;
          onChanged();
        } else {
          tokens_ = null;
          tokensBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.lt_ml_server.AnalyzedTokenReadings tokens = 1;</code>
       */
      public org.languagetool.rules.ml.MLServerProto.AnalyzedTokenReadings.Builder getTokensBuilder() {
        
        onChanged();
        return getTokensFieldBuilder().getBuilder();
      }
      /**
       * <code>.lt_ml_server.AnalyzedTokenReadings tokens = 1;</code>
       */
      public org.languagetool.rules.ml.MLServerProto.AnalyzedTokenReadingsOrBuilder getTokensOrBuilder() {
        if (tokensBuilder_ != null) {
          return tokensBuilder_.getMessageOrBuilder();
        } else {
          return tokens_ == null ?
              org.languagetool.rules.ml.MLServerProto.AnalyzedTokenReadings.getDefaultInstance() : tokens_;
        }
      }
      /**
       * <code>.lt_ml_server.AnalyzedTokenReadings tokens = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.languagetool.rules.ml.MLServerProto.AnalyzedTokenReadings, org.languagetool.rules.ml.MLServerProto.AnalyzedTokenReadings.Builder, org.languagetool.rules.ml.MLServerProto.AnalyzedTokenReadingsOrBuilder> 
          getTokensFieldBuilder() {
        if (tokensBuilder_ == null) {
          tokensBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.languagetool.rules.ml.MLServerProto.AnalyzedTokenReadings, org.languagetool.rules.ml.MLServerProto.AnalyzedTokenReadings.Builder, org.languagetool.rules.ml.MLServerProto.AnalyzedTokenReadingsOrBuilder>(
                  getTokens(),
                  getParentForChildren(),
                  isClean());
          tokens_ = null;
        }
        return tokensBuilder_;
      }

      private java.lang.Object postag_ = "";
      /**
       * <code>string postag = 2;</code>
       * @return The postag.
       */
      public java.lang.String getPostag() {
        java.lang.Object ref = postag_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          postag_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string postag = 2;</code>
       * @return The bytes for postag.
       */
      public com.google.protobuf.ByteString
          getPostagBytes() {
        java.lang.Object ref = postag_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          postag_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string postag = 2;</code>
       * @param value The postag to set.
       * @return This builder for chaining.
       */
      public Builder setPostag(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        postag_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string postag = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearPostag() {
        
        postag_ = getDefaultInstance().getPostag();
        onChanged();
        return this;
      }
      /**
       * <code>string postag = 2;</code>
       * @param value The bytes for postag to set.
       * @return This builder for chaining.
       */
      public Builder setPostagBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        postag_ = value;
        onChanged();
        return this;
      }

      private boolean postagRegexp_ ;
      /**
       * <code>bool postag_regexp = 3;</code>
       * @return The postagRegexp.
       */
      @java.lang.Override
      public boolean getPostagRegexp() {
        return postagRegexp_;
      }
      /**
       * <code>bool postag_regexp = 3;</code>
       * @param value The postagRegexp to set.
       * @return This builder for chaining.
       */
      public Builder setPostagRegexp(boolean value) {
        
        postagRegexp_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool postag_regexp = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearPostagRegexp() {
        
        postagRegexp_ = false;
        onChanged();
        return this;
      }

      private java.lang.Object postagReplace_ = "";
      /**
       * <code>string postag_replace = 4;</code>
       * @return The postagReplace.
       */
      public java.lang.String getPostagReplace() {
        java.lang.Object ref = postagReplace_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          postagReplace_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string postag_replace = 4;</code>
       * @return The bytes for postagReplace.
       */
      public com.google.protobuf.ByteString
          getPostagReplaceBytes() {
        java.lang.Object ref = postagReplace_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          postagReplace_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string postag_replace = 4;</code>
       * @param value The postagReplace to set.
       * @return This builder for chaining.
       */
      public Builder setPostagReplace(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        postagReplace_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string postag_replace = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearPostagReplace() {
        
        postagReplace_ = getDefaultInstance().getPostagReplace();
        onChanged();
        return this;
      }
      /**
       * <code>string postag_replace = 4;</code>
       * @param value The bytes for postagReplace to set.
       * @return This builder for chaining.
       */
      public Builder setPostagReplaceBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        postagReplace_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object lemma_ = "";
      /**
       * <code>string lemma = 5;</code>
       * @return The lemma.
       */
      public java.lang.String getLemma() {
        java.lang.Object ref = lemma_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          lemma_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string lemma = 5;</code>
       * @return The bytes for lemma.
       */
      public com.google.protobuf.ByteString
          getLemmaBytes() {
        java.lang.Object ref = lemma_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          lemma_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string lemma = 5;</code>
       * @param value The lemma to set.
       * @return This builder for chaining.
       */
      public Builder setLemma(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        lemma_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string lemma = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearLemma() {
        
        lemma_ = getDefaultInstance().getLemma();
        onChanged();
        return this;
      }
      /**
       * <code>string lemma = 5;</code>
       * @param value The bytes for lemma to set.
       * @return This builder for chaining.
       */
      public Builder setLemmaBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        lemma_ = value;
        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:lt_ml_server.SynthesizeRequestItem)
    }

    // @@protoc_insertion_point(class_scope:lt_ml_server.SynthesizeRequestItem)
    private static final org.languagetool.grpc.Synthesizer.SynthesizeRequestItem DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.languagetool.grpc.Synthesizer.SynthesizeRequestItem();
    }

    public static org.languagetool.grpc.Synthesizer.SynthesizeRequestItem getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<SynthesizeRequestItem>
        PARSER = new com.google.protobuf.AbstractParser<SynthesizeRequestItem>() {
      @java.lang.Override
      public SynthesizeRequestItem parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new SynthesizeRequestItem(input, extensionRegistry);
      }
    };

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

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

    @java.lang.Override
    public org.languagetool.grpc.Synthesizer.SynthesizeRequestItem getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface SynthesizeResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:lt_ml_server.SynthesizeResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
     */
    java.util.List<org.languagetool.grpc.Synthesizer.SynthesizeResponseItem> 
        getItemsList();
    /**
     * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
     */
    org.languagetool.grpc.Synthesizer.SynthesizeResponseItem getItems(int index);
    /**
     * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
     */
    int getItemsCount();
    /**
     * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
     */
    java.util.List<? extends org.languagetool.grpc.Synthesizer.SynthesizeResponseItemOrBuilder> 
        getItemsOrBuilderList();
    /**
     * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
     */
    org.languagetool.grpc.Synthesizer.SynthesizeResponseItemOrBuilder getItemsOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code lt_ml_server.SynthesizeResponse}
   */
  public static final class SynthesizeResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:lt_ml_server.SynthesizeResponse)
      SynthesizeResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use SynthesizeResponse.newBuilder() to construct.
    private SynthesizeResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private SynthesizeResponse() {
      items_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private SynthesizeResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                items_ = new java.util.ArrayList<org.languagetool.grpc.Synthesizer.SynthesizeResponseItem>();
                mutable_bitField0_ |= 0x00000001;
              }
              items_.add(
                  input.readMessage(org.languagetool.grpc.Synthesizer.SynthesizeResponseItem.parser(), extensionRegistry));
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          items_ = java.util.Collections.unmodifiableList(items_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.languagetool.grpc.Synthesizer.internal_static_lt_ml_server_SynthesizeResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.languagetool.grpc.Synthesizer.internal_static_lt_ml_server_SynthesizeResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.languagetool.grpc.Synthesizer.SynthesizeResponse.class, org.languagetool.grpc.Synthesizer.SynthesizeResponse.Builder.class);
    }

    public static final int ITEMS_FIELD_NUMBER = 1;
    private java.util.List<org.languagetool.grpc.Synthesizer.SynthesizeResponseItem> items_;
    /**
     * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
     */
    @java.lang.Override
    public java.util.List<org.languagetool.grpc.Synthesizer.SynthesizeResponseItem> getItemsList() {
      return items_;
    }
    /**
     * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
     */
    @java.lang.Override
    public java.util.List<? extends org.languagetool.grpc.Synthesizer.SynthesizeResponseItemOrBuilder> 
        getItemsOrBuilderList() {
      return items_;
    }
    /**
     * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
     */
    @java.lang.Override
    public int getItemsCount() {
      return items_.size();
    }
    /**
     * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
     */
    @java.lang.Override
    public org.languagetool.grpc.Synthesizer.SynthesizeResponseItem getItems(int index) {
      return items_.get(index);
    }
    /**
     * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
     */
    @java.lang.Override
    public org.languagetool.grpc.Synthesizer.SynthesizeResponseItemOrBuilder getItemsOrBuilder(
        int index) {
      return items_.get(index);
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      for (int i = 0; i < items_.size(); i++) {
        output.writeMessage(1, items_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < items_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, items_.get(i));
      }
      size += unknownFields.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.languagetool.grpc.Synthesizer.SynthesizeResponse)) {
        return super.equals(obj);
      }
      org.languagetool.grpc.Synthesizer.SynthesizeResponse other = (org.languagetool.grpc.Synthesizer.SynthesizeResponse) obj;

      if (!getItemsList()
          .equals(other.getItemsList())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getItemsCount() > 0) {
        hash = (37 * hash) + ITEMS_FIELD_NUMBER;
        hash = (53 * hash) + getItemsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.languagetool.grpc.Synthesizer.SynthesizeResponse parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeResponse parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeResponse 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.languagetool.grpc.Synthesizer.SynthesizeResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeResponse 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.languagetool.grpc.Synthesizer.SynthesizeResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeResponse 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.languagetool.grpc.Synthesizer.SynthesizeResponse 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 lt_ml_server.SynthesizeResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:lt_ml_server.SynthesizeResponse)
        org.languagetool.grpc.Synthesizer.SynthesizeResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.languagetool.grpc.Synthesizer.internal_static_lt_ml_server_SynthesizeResponse_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.languagetool.grpc.Synthesizer.internal_static_lt_ml_server_SynthesizeResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.languagetool.grpc.Synthesizer.SynthesizeResponse.class, org.languagetool.grpc.Synthesizer.SynthesizeResponse.Builder.class);
      }

      // Construct using org.languagetool.grpc.Synthesizer.SynthesizeResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getItemsFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (itemsBuilder_ == null) {
          items_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          itemsBuilder_.clear();
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.languagetool.grpc.Synthesizer.internal_static_lt_ml_server_SynthesizeResponse_descriptor;
      }

      @java.lang.Override
      public org.languagetool.grpc.Synthesizer.SynthesizeResponse getDefaultInstanceForType() {
        return org.languagetool.grpc.Synthesizer.SynthesizeResponse.getDefaultInstance();
      }

      @java.lang.Override
      public org.languagetool.grpc.Synthesizer.SynthesizeResponse build() {
        org.languagetool.grpc.Synthesizer.SynthesizeResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.languagetool.grpc.Synthesizer.SynthesizeResponse buildPartial() {
        org.languagetool.grpc.Synthesizer.SynthesizeResponse result = new org.languagetool.grpc.Synthesizer.SynthesizeResponse(this);
        int from_bitField0_ = bitField0_;
        if (itemsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            items_ = java.util.Collections.unmodifiableList(items_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.items_ = items_;
        } else {
          result.items_ = itemsBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @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.languagetool.grpc.Synthesizer.SynthesizeResponse) {
          return mergeFrom((org.languagetool.grpc.Synthesizer.SynthesizeResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.languagetool.grpc.Synthesizer.SynthesizeResponse other) {
        if (other == org.languagetool.grpc.Synthesizer.SynthesizeResponse.getDefaultInstance()) return this;
        if (itemsBuilder_ == null) {
          if (!other.items_.isEmpty()) {
            if (items_.isEmpty()) {
              items_ = other.items_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureItemsIsMutable();
              items_.addAll(other.items_);
            }
            onChanged();
          }
        } else {
          if (!other.items_.isEmpty()) {
            if (itemsBuilder_.isEmpty()) {
              itemsBuilder_.dispose();
              itemsBuilder_ = null;
              items_ = other.items_;
              bitField0_ = (bitField0_ & ~0x00000001);
              itemsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getItemsFieldBuilder() : null;
            } else {
              itemsBuilder_.addAllMessages(other.items_);
            }
          }
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        org.languagetool.grpc.Synthesizer.SynthesizeResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.languagetool.grpc.Synthesizer.SynthesizeResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List<org.languagetool.grpc.Synthesizer.SynthesizeResponseItem> items_ =
        java.util.Collections.emptyList();
      private void ensureItemsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          items_ = new java.util.ArrayList<org.languagetool.grpc.Synthesizer.SynthesizeResponseItem>(items_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          org.languagetool.grpc.Synthesizer.SynthesizeResponseItem, org.languagetool.grpc.Synthesizer.SynthesizeResponseItem.Builder, org.languagetool.grpc.Synthesizer.SynthesizeResponseItemOrBuilder> itemsBuilder_;

      /**
       * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
       */
      public java.util.List<org.languagetool.grpc.Synthesizer.SynthesizeResponseItem> getItemsList() {
        if (itemsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(items_);
        } else {
          return itemsBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
       */
      public int getItemsCount() {
        if (itemsBuilder_ == null) {
          return items_.size();
        } else {
          return itemsBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
       */
      public org.languagetool.grpc.Synthesizer.SynthesizeResponseItem getItems(int index) {
        if (itemsBuilder_ == null) {
          return items_.get(index);
        } else {
          return itemsBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
       */
      public Builder setItems(
          int index, org.languagetool.grpc.Synthesizer.SynthesizeResponseItem value) {
        if (itemsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureItemsIsMutable();
          items_.set(index, value);
          onChanged();
        } else {
          itemsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
       */
      public Builder setItems(
          int index, org.languagetool.grpc.Synthesizer.SynthesizeResponseItem.Builder builderForValue) {
        if (itemsBuilder_ == null) {
          ensureItemsIsMutable();
          items_.set(index, builderForValue.build());
          onChanged();
        } else {
          itemsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
       */
      public Builder addItems(org.languagetool.grpc.Synthesizer.SynthesizeResponseItem value) {
        if (itemsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureItemsIsMutable();
          items_.add(value);
          onChanged();
        } else {
          itemsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
       */
      public Builder addItems(
          int index, org.languagetool.grpc.Synthesizer.SynthesizeResponseItem value) {
        if (itemsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureItemsIsMutable();
          items_.add(index, value);
          onChanged();
        } else {
          itemsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
       */
      public Builder addItems(
          org.languagetool.grpc.Synthesizer.SynthesizeResponseItem.Builder builderForValue) {
        if (itemsBuilder_ == null) {
          ensureItemsIsMutable();
          items_.add(builderForValue.build());
          onChanged();
        } else {
          itemsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
       */
      public Builder addItems(
          int index, org.languagetool.grpc.Synthesizer.SynthesizeResponseItem.Builder builderForValue) {
        if (itemsBuilder_ == null) {
          ensureItemsIsMutable();
          items_.add(index, builderForValue.build());
          onChanged();
        } else {
          itemsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
       */
      public Builder addAllItems(
          java.lang.Iterable<? extends org.languagetool.grpc.Synthesizer.SynthesizeResponseItem> values) {
        if (itemsBuilder_ == null) {
          ensureItemsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, items_);
          onChanged();
        } else {
          itemsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
       */
      public Builder clearItems() {
        if (itemsBuilder_ == null) {
          items_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          itemsBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
       */
      public Builder removeItems(int index) {
        if (itemsBuilder_ == null) {
          ensureItemsIsMutable();
          items_.remove(index);
          onChanged();
        } else {
          itemsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
       */
      public org.languagetool.grpc.Synthesizer.SynthesizeResponseItem.Builder getItemsBuilder(
          int index) {
        return getItemsFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
       */
      public org.languagetool.grpc.Synthesizer.SynthesizeResponseItemOrBuilder getItemsOrBuilder(
          int index) {
        if (itemsBuilder_ == null) {
          return items_.get(index);  } else {
          return itemsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
       */
      public java.util.List<? extends org.languagetool.grpc.Synthesizer.SynthesizeResponseItemOrBuilder> 
           getItemsOrBuilderList() {
        if (itemsBuilder_ != null) {
          return itemsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(items_);
        }
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
       */
      public org.languagetool.grpc.Synthesizer.SynthesizeResponseItem.Builder addItemsBuilder() {
        return getItemsFieldBuilder().addBuilder(
            org.languagetool.grpc.Synthesizer.SynthesizeResponseItem.getDefaultInstance());
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
       */
      public org.languagetool.grpc.Synthesizer.SynthesizeResponseItem.Builder addItemsBuilder(
          int index) {
        return getItemsFieldBuilder().addBuilder(
            index, org.languagetool.grpc.Synthesizer.SynthesizeResponseItem.getDefaultInstance());
      }
      /**
       * <code>repeated .lt_ml_server.SynthesizeResponseItem items = 1;</code>
       */
      public java.util.List<org.languagetool.grpc.Synthesizer.SynthesizeResponseItem.Builder> 
           getItemsBuilderList() {
        return getItemsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          org.languagetool.grpc.Synthesizer.SynthesizeResponseItem, org.languagetool.grpc.Synthesizer.SynthesizeResponseItem.Builder, org.languagetool.grpc.Synthesizer.SynthesizeResponseItemOrBuilder> 
          getItemsFieldBuilder() {
        if (itemsBuilder_ == null) {
          itemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              org.languagetool.grpc.Synthesizer.SynthesizeResponseItem, org.languagetool.grpc.Synthesizer.SynthesizeResponseItem.Builder, org.languagetool.grpc.Synthesizer.SynthesizeResponseItemOrBuilder>(
                  items_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          items_ = null;
        }
        return itemsBuilder_;
      }
      @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:lt_ml_server.SynthesizeResponse)
    }

    // @@protoc_insertion_point(class_scope:lt_ml_server.SynthesizeResponse)
    private static final org.languagetool.grpc.Synthesizer.SynthesizeResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.languagetool.grpc.Synthesizer.SynthesizeResponse();
    }

    public static org.languagetool.grpc.Synthesizer.SynthesizeResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<SynthesizeResponse>
        PARSER = new com.google.protobuf.AbstractParser<SynthesizeResponse>() {
      @java.lang.Override
      public SynthesizeResponse parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new SynthesizeResponse(input, extensionRegistry);
      }
    };

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

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

    @java.lang.Override
    public org.languagetool.grpc.Synthesizer.SynthesizeResponse getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface SynthesizeResponseItemOrBuilder extends
      // @@protoc_insertion_point(interface_extends:lt_ml_server.SynthesizeResponseItem)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>repeated string forms = 1;</code>
     * @return A list containing the forms.
     */
    java.util.List<java.lang.String>
        getFormsList();
    /**
     * <code>repeated string forms = 1;</code>
     * @return The count of forms.
     */
    int getFormsCount();
    /**
     * <code>repeated string forms = 1;</code>
     * @param index The index of the element to return.
     * @return The forms at the given index.
     */
    java.lang.String getForms(int index);
    /**
     * <code>repeated string forms = 1;</code>
     * @param index The index of the value to return.
     * @return The bytes of the forms at the given index.
     */
    com.google.protobuf.ByteString
        getFormsBytes(int index);
  }
  /**
   * Protobuf type {@code lt_ml_server.SynthesizeResponseItem}
   */
  public static final class SynthesizeResponseItem extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:lt_ml_server.SynthesizeResponseItem)
      SynthesizeResponseItemOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use SynthesizeResponseItem.newBuilder() to construct.
    private SynthesizeResponseItem(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private SynthesizeResponseItem() {
      forms_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private SynthesizeResponseItem(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                forms_ = new com.google.protobuf.LazyStringArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              forms_.add(s);
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          forms_ = forms_.getUnmodifiableView();
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.languagetool.grpc.Synthesizer.internal_static_lt_ml_server_SynthesizeResponseItem_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.languagetool.grpc.Synthesizer.internal_static_lt_ml_server_SynthesizeResponseItem_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.languagetool.grpc.Synthesizer.SynthesizeResponseItem.class, org.languagetool.grpc.Synthesizer.SynthesizeResponseItem.Builder.class);
    }

    public static final int FORMS_FIELD_NUMBER = 1;
    private com.google.protobuf.LazyStringList forms_;
    /**
     * <code>repeated string forms = 1;</code>
     * @return A list containing the forms.
     */
    public com.google.protobuf.ProtocolStringList
        getFormsList() {
      return forms_;
    }
    /**
     * <code>repeated string forms = 1;</code>
     * @return The count of forms.
     */
    public int getFormsCount() {
      return forms_.size();
    }
    /**
     * <code>repeated string forms = 1;</code>
     * @param index The index of the element to return.
     * @return The forms at the given index.
     */
    public java.lang.String getForms(int index) {
      return forms_.get(index);
    }
    /**
     * <code>repeated string forms = 1;</code>
     * @param index The index of the value to return.
     * @return The bytes of the forms at the given index.
     */
    public com.google.protobuf.ByteString
        getFormsBytes(int index) {
      return forms_.getByteString(index);
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      for (int i = 0; i < forms_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, forms_.getRaw(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < forms_.size(); i++) {
          dataSize += computeStringSizeNoTag(forms_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getFormsList().size();
      }
      size += unknownFields.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.languagetool.grpc.Synthesizer.SynthesizeResponseItem)) {
        return super.equals(obj);
      }
      org.languagetool.grpc.Synthesizer.SynthesizeResponseItem other = (org.languagetool.grpc.Synthesizer.SynthesizeResponseItem) obj;

      if (!getFormsList()
          .equals(other.getFormsList())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getFormsCount() > 0) {
        hash = (37 * hash) + FORMS_FIELD_NUMBER;
        hash = (53 * hash) + getFormsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.languagetool.grpc.Synthesizer.SynthesizeResponseItem parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeResponseItem parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeResponseItem parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeResponseItem parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeResponseItem parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeResponseItem parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeResponseItem parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeResponseItem 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.languagetool.grpc.Synthesizer.SynthesizeResponseItem parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeResponseItem 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.languagetool.grpc.Synthesizer.SynthesizeResponseItem parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.languagetool.grpc.Synthesizer.SynthesizeResponseItem 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.languagetool.grpc.Synthesizer.SynthesizeResponseItem 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 lt_ml_server.SynthesizeResponseItem}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:lt_ml_server.SynthesizeResponseItem)
        org.languagetool.grpc.Synthesizer.SynthesizeResponseItemOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.languagetool.grpc.Synthesizer.internal_static_lt_ml_server_SynthesizeResponseItem_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.languagetool.grpc.Synthesizer.internal_static_lt_ml_server_SynthesizeResponseItem_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.languagetool.grpc.Synthesizer.SynthesizeResponseItem.class, org.languagetool.grpc.Synthesizer.SynthesizeResponseItem.Builder.class);
      }

      // Construct using org.languagetool.grpc.Synthesizer.SynthesizeResponseItem.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        forms_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.languagetool.grpc.Synthesizer.internal_static_lt_ml_server_SynthesizeResponseItem_descriptor;
      }

      @java.lang.Override
      public org.languagetool.grpc.Synthesizer.SynthesizeResponseItem getDefaultInstanceForType() {
        return org.languagetool.grpc.Synthesizer.SynthesizeResponseItem.getDefaultInstance();
      }

      @java.lang.Override
      public org.languagetool.grpc.Synthesizer.SynthesizeResponseItem build() {
        org.languagetool.grpc.Synthesizer.SynthesizeResponseItem result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.languagetool.grpc.Synthesizer.SynthesizeResponseItem buildPartial() {
        org.languagetool.grpc.Synthesizer.SynthesizeResponseItem result = new org.languagetool.grpc.Synthesizer.SynthesizeResponseItem(this);
        int from_bitField0_ = bitField0_;
        if (((bitField0_ & 0x00000001) != 0)) {
          forms_ = forms_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.forms_ = forms_;
        onBuilt();
        return result;
      }

      @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.languagetool.grpc.Synthesizer.SynthesizeResponseItem) {
          return mergeFrom((org.languagetool.grpc.Synthesizer.SynthesizeResponseItem)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.languagetool.grpc.Synthesizer.SynthesizeResponseItem other) {
        if (other == org.languagetool.grpc.Synthesizer.SynthesizeResponseItem.getDefaultInstance()) return this;
        if (!other.forms_.isEmpty()) {
          if (forms_.isEmpty()) {
            forms_ = other.forms_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureFormsIsMutable();
            forms_.addAll(other.forms_);
          }
          onChanged();
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        org.languagetool.grpc.Synthesizer.SynthesizeResponseItem parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.languagetool.grpc.Synthesizer.SynthesizeResponseItem) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private com.google.protobuf.LazyStringList forms_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureFormsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          forms_ = new com.google.protobuf.LazyStringArrayList(forms_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * <code>repeated string forms = 1;</code>
       * @return A list containing the forms.
       */
      public com.google.protobuf.ProtocolStringList
          getFormsList() {
        return forms_.getUnmodifiableView();
      }
      /**
       * <code>repeated string forms = 1;</code>
       * @return The count of forms.
       */
      public int getFormsCount() {
        return forms_.size();
      }
      /**
       * <code>repeated string forms = 1;</code>
       * @param index The index of the element to return.
       * @return The forms at the given index.
       */
      public java.lang.String getForms(int index) {
        return forms_.get(index);
      }
      /**
       * <code>repeated string forms = 1;</code>
       * @param index The index of the value to return.
       * @return The bytes of the forms at the given index.
       */
      public com.google.protobuf.ByteString
          getFormsBytes(int index) {
        return forms_.getByteString(index);
      }
      /**
       * <code>repeated string forms = 1;</code>
       * @param index The index to set the value at.
       * @param value The forms to set.
       * @return This builder for chaining.
       */
      public Builder setForms(
          int index, java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureFormsIsMutable();
        forms_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string forms = 1;</code>
       * @param value The forms to add.
       * @return This builder for chaining.
       */
      public Builder addForms(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureFormsIsMutable();
        forms_.add(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string forms = 1;</code>
       * @param values The forms to add.
       * @return This builder for chaining.
       */
      public Builder addAllForms(
          java.lang.Iterable<java.lang.String> values) {
        ensureFormsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, forms_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string forms = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearForms() {
        forms_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string forms = 1;</code>
       * @param value The bytes of the forms to add.
       * @return This builder for chaining.
       */
      public Builder addFormsBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        ensureFormsIsMutable();
        forms_.add(value);
        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:lt_ml_server.SynthesizeResponseItem)
    }

    // @@protoc_insertion_point(class_scope:lt_ml_server.SynthesizeResponseItem)
    private static final org.languagetool.grpc.Synthesizer.SynthesizeResponseItem DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.languagetool.grpc.Synthesizer.SynthesizeResponseItem();
    }

    public static org.languagetool.grpc.Synthesizer.SynthesizeResponseItem getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<SynthesizeResponseItem>
        PARSER = new com.google.protobuf.AbstractParser<SynthesizeResponseItem>() {
      @java.lang.Override
      public SynthesizeResponseItem parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new SynthesizeResponseItem(input, extensionRegistry);
      }
    };

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

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

    @java.lang.Override
    public org.languagetool.grpc.Synthesizer.SynthesizeResponseItem getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_lt_ml_server_SynthesizeRequest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_lt_ml_server_SynthesizeRequest_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_lt_ml_server_SynthesizeRequestItem_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_lt_ml_server_SynthesizeRequestItem_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_lt_ml_server_SynthesizeResponse_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_lt_ml_server_SynthesizeResponse_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_lt_ml_server_SynthesizeResponseItem_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_lt_ml_server_SynthesizeResponseItem_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\021synthesizer.proto\022\014lt_ml_server\032\017ml_se" +
      "rver.proto\"]\n\021SynthesizeRequest\022\024\n\014langu" +
      "ageCode\030\001 \001(\t\0222\n\005items\030\002 \003(\0132#.lt_ml_ser" +
      "ver.SynthesizeRequestItem\"\232\001\n\025Synthesize" +
      "RequestItem\0223\n\006tokens\030\001 \001(\0132#.lt_ml_serv" +
      "er.AnalyzedTokenReadings\022\016\n\006postag\030\002 \001(\t" +
      "\022\025\n\rpostag_regexp\030\003 \001(\010\022\026\n\016postag_replac" +
      "e\030\004 \001(\t\022\r\n\005lemma\030\005 \001(\t\"I\n\022SynthesizeResp" +
      "onse\0223\n\005items\030\001 \003(\0132$.lt_ml_server.Synth" +
      "esizeResponseItem\"\'\n\026SynthesizeResponseI" +
      "tem\022\r\n\005forms\030\001 \003(\t2e\n\020SynthesizeServer\022Q" +
      "\n\nSynthesize\022\037.lt_ml_server.SynthesizeRe" +
      "quest\032 .lt_ml_server.SynthesizeResponse\"" +
      "\000B\027\n\025org.languagetool.grpcb\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          org.languagetool.rules.ml.MLServerProto.getDescriptor(),
        });
    internal_static_lt_ml_server_SynthesizeRequest_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_lt_ml_server_SynthesizeRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_lt_ml_server_SynthesizeRequest_descriptor,
        new java.lang.String[] { "LanguageCode", "Items", });
    internal_static_lt_ml_server_SynthesizeRequestItem_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_lt_ml_server_SynthesizeRequestItem_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_lt_ml_server_SynthesizeRequestItem_descriptor,
        new java.lang.String[] { "Tokens", "Postag", "PostagRegexp", "PostagReplace", "Lemma", });
    internal_static_lt_ml_server_SynthesizeResponse_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_lt_ml_server_SynthesizeResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_lt_ml_server_SynthesizeResponse_descriptor,
        new java.lang.String[] { "Items", });
    internal_static_lt_ml_server_SynthesizeResponseItem_descriptor =
      getDescriptor().getMessageTypes().get(3);
    internal_static_lt_ml_server_SynthesizeResponseItem_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_lt_ml_server_SynthesizeResponseItem_descriptor,
        new java.lang.String[] { "Forms", });
    org.languagetool.rules.ml.MLServerProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
