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

package com.intel.analytics.bigdl.ppml.generated;

public final class PSIServiceProto {
  private PSIServiceProto() {}
  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 SaltRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:SaltRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>optional string task_id = 1;</code>
     */
    String getTaskId();
    /**
     * <code>optional string task_id = 1;</code>
     */
    com.google.protobuf.ByteString
        getTaskIdBytes();

    /**
     * <code>optional int32 client_num = 2;</code>
     */
    int getClientNum();

    /**
     * <code>optional string secure_code = 3;</code>
     */
    String getSecureCode();
    /**
     * <code>optional string secure_code = 3;</code>
     */
    com.google.protobuf.ByteString
        getSecureCodeBytes();
  }
  /**
   * Protobuf type {@code SaltRequest}
   */
  public  static final class SaltRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:SaltRequest)
      SaltRequestOrBuilder {
    // Use SaltRequest.newBuilder() to construct.
    private SaltRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private SaltRequest() {
      taskId_ = "";
      clientNum_ = 0;
      secureCode_ = "";
    }

    @Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private SaltRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              String s = input.readStringRequireUtf8();

              taskId_ = s;
              break;
            }
            case 16: {

              clientNum_ = input.readInt32();
              break;
            }
            case 26: {
              String s = input.readStringRequireUtf8();

              secureCode_ = s;
              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 {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return PSIServiceProto.internal_static_SaltRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return PSIServiceProto.internal_static_SaltRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              SaltRequest.class, Builder.class);
    }

    public static final int TASK_ID_FIELD_NUMBER = 1;
    private volatile Object taskId_;
    /**
     * <code>optional string task_id = 1;</code>
     */
    public String getTaskId() {
      Object ref = taskId_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        taskId_ = s;
        return s;
      }
    }
    /**
     * <code>optional string task_id = 1;</code>
     */
    public com.google.protobuf.ByteString
        getTaskIdBytes() {
      Object ref = taskId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        taskId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int CLIENT_NUM_FIELD_NUMBER = 2;
    private int clientNum_;
    /**
     * <code>optional int32 client_num = 2;</code>
     */
    public int getClientNum() {
      return clientNum_;
    }

    public static final int SECURE_CODE_FIELD_NUMBER = 3;
    private volatile Object secureCode_;
    /**
     * <code>optional string secure_code = 3;</code>
     */
    public String getSecureCode() {
      Object ref = secureCode_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        secureCode_ = s;
        return s;
      }
    }
    /**
     * <code>optional string secure_code = 3;</code>
     */
    public com.google.protobuf.ByteString
        getSecureCodeBytes() {
      Object ref = secureCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        secureCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getTaskIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, taskId_);
      }
      if (clientNum_ != 0) {
        output.writeInt32(2, clientNum_);
      }
      if (!getSecureCodeBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, secureCode_);
      }
    }

    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!getTaskIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, taskId_);
      }
      if (clientNum_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(2, clientNum_);
      }
      if (!getSecureCodeBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, secureCode_);
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @Override
    public boolean equals(final Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof SaltRequest)) {
        return super.equals(obj);
      }
      SaltRequest other = (SaltRequest) obj;

      boolean result = true;
      result = result && getTaskId()
          .equals(other.getTaskId());
      result = result && (getClientNum()
          == other.getClientNum());
      result = result && getSecureCode()
          .equals(other.getSecureCode());
      return result;
    }

    @Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      hash = (37 * hash) + TASK_ID_FIELD_NUMBER;
      hash = (53 * hash) + getTaskId().hashCode();
      hash = (37 * hash) + CLIENT_NUM_FIELD_NUMBER;
      hash = (53 * hash) + getClientNum();
      hash = (37 * hash) + SECURE_CODE_FIELD_NUMBER;
      hash = (53 * hash) + getSecureCode().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static SaltRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static SaltRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static SaltRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static SaltRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static SaltRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static SaltRequest 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 SaltRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static SaltRequest 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 SaltRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static SaltRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(SaltRequest prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code SaltRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:SaltRequest)
        SaltRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return PSIServiceProto.internal_static_SaltRequest_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return PSIServiceProto.internal_static_SaltRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                SaltRequest.class, Builder.class);
      }

      // Construct using com.intel.analytics.bigdl.ppml.generated.PSIServiceProto.SaltRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        taskId_ = "";

        clientNum_ = 0;

        secureCode_ = "";

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return PSIServiceProto.internal_static_SaltRequest_descriptor;
      }

      public SaltRequest getDefaultInstanceForType() {
        return SaltRequest.getDefaultInstance();
      }

      public SaltRequest build() {
        SaltRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public SaltRequest buildPartial() {
        SaltRequest result = new SaltRequest(this);
        result.taskId_ = taskId_;
        result.clientNum_ = clientNum_;
        result.secureCode_ = secureCode_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof SaltRequest) {
          return mergeFrom((SaltRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(SaltRequest other) {
        if (other == SaltRequest.getDefaultInstance()) return this;
        if (!other.getTaskId().isEmpty()) {
          taskId_ = other.taskId_;
          onChanged();
        }
        if (other.getClientNum() != 0) {
          setClientNum(other.getClientNum());
        }
        if (!other.getSecureCode().isEmpty()) {
          secureCode_ = other.secureCode_;
          onChanged();
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

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

      private Object taskId_ = "";
      /**
       * <code>optional string task_id = 1;</code>
       */
      public String getTaskId() {
        Object ref = taskId_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          taskId_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <code>optional string task_id = 1;</code>
       */
      public com.google.protobuf.ByteString
          getTaskIdBytes() {
        Object ref = taskId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          taskId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string task_id = 1;</code>
       */
      public Builder setTaskId(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        taskId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string task_id = 1;</code>
       */
      public Builder clearTaskId() {
        
        taskId_ = getDefaultInstance().getTaskId();
        onChanged();
        return this;
      }
      /**
       * <code>optional string task_id = 1;</code>
       */
      public Builder setTaskIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        taskId_ = value;
        onChanged();
        return this;
      }

      private int clientNum_ ;
      /**
       * <code>optional int32 client_num = 2;</code>
       */
      public int getClientNum() {
        return clientNum_;
      }
      /**
       * <code>optional int32 client_num = 2;</code>
       */
      public Builder setClientNum(int value) {
        
        clientNum_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional int32 client_num = 2;</code>
       */
      public Builder clearClientNum() {
        
        clientNum_ = 0;
        onChanged();
        return this;
      }

      private Object secureCode_ = "";
      /**
       * <code>optional string secure_code = 3;</code>
       */
      public String getSecureCode() {
        Object ref = secureCode_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          secureCode_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <code>optional string secure_code = 3;</code>
       */
      public com.google.protobuf.ByteString
          getSecureCodeBytes() {
        Object ref = secureCode_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          secureCode_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string secure_code = 3;</code>
       */
      public Builder setSecureCode(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        secureCode_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string secure_code = 3;</code>
       */
      public Builder clearSecureCode() {
        
        secureCode_ = getDefaultInstance().getSecureCode();
        onChanged();
        return this;
      }
      /**
       * <code>optional string secure_code = 3;</code>
       */
      public Builder setSecureCodeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        secureCode_ = value;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }


      // @@protoc_insertion_point(builder_scope:SaltRequest)
    }

    // @@protoc_insertion_point(class_scope:SaltRequest)
    private static final SaltRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new SaltRequest();
    }

    public static SaltRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public SaltRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface SaltReplyOrBuilder extends
      // @@protoc_insertion_point(interface_extends:SaltReply)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>optional string salt_reply = 1;</code>
     */
    String getSaltReply();
    /**
     * <code>optional string salt_reply = 1;</code>
     */
    com.google.protobuf.ByteString
        getSaltReplyBytes();
  }
  /**
   * Protobuf type {@code SaltReply}
   */
  public  static final class SaltReply extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:SaltReply)
      SaltReplyOrBuilder {
    // Use SaltReply.newBuilder() to construct.
    private SaltReply(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private SaltReply() {
      saltReply_ = "";
    }

    @Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private SaltReply(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              String s = input.readStringRequireUtf8();

              saltReply_ = s;
              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 {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return PSIServiceProto.internal_static_SaltReply_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return PSIServiceProto.internal_static_SaltReply_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              SaltReply.class, Builder.class);
    }

    public static final int SALT_REPLY_FIELD_NUMBER = 1;
    private volatile Object saltReply_;
    /**
     * <code>optional string salt_reply = 1;</code>
     */
    public String getSaltReply() {
      Object ref = saltReply_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        saltReply_ = s;
        return s;
      }
    }
    /**
     * <code>optional string salt_reply = 1;</code>
     */
    public com.google.protobuf.ByteString
        getSaltReplyBytes() {
      Object ref = saltReply_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        saltReply_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getSaltReplyBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, saltReply_);
      }
    }

    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!getSaltReplyBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, saltReply_);
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @Override
    public boolean equals(final Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof SaltReply)) {
        return super.equals(obj);
      }
      SaltReply other = (SaltReply) obj;

      boolean result = true;
      result = result && getSaltReply()
          .equals(other.getSaltReply());
      return result;
    }

    @Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      hash = (37 * hash) + SALT_REPLY_FIELD_NUMBER;
      hash = (53 * hash) + getSaltReply().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static SaltReply parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static SaltReply parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static SaltReply parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static SaltReply parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static SaltReply parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static SaltReply 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 SaltReply parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static SaltReply 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 SaltReply parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static SaltReply parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(SaltReply prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code SaltReply}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:SaltReply)
        SaltReplyOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return PSIServiceProto.internal_static_SaltReply_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return PSIServiceProto.internal_static_SaltReply_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                SaltReply.class, Builder.class);
      }

      // Construct using com.intel.analytics.bigdl.ppml.generated.PSIServiceProto.SaltReply.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        saltReply_ = "";

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return PSIServiceProto.internal_static_SaltReply_descriptor;
      }

      public SaltReply getDefaultInstanceForType() {
        return SaltReply.getDefaultInstance();
      }

      public SaltReply build() {
        SaltReply result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public SaltReply buildPartial() {
        SaltReply result = new SaltReply(this);
        result.saltReply_ = saltReply_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof SaltReply) {
          return mergeFrom((SaltReply)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(SaltReply other) {
        if (other == SaltReply.getDefaultInstance()) return this;
        if (!other.getSaltReply().isEmpty()) {
          saltReply_ = other.saltReply_;
          onChanged();
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

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

      private Object saltReply_ = "";
      /**
       * <code>optional string salt_reply = 1;</code>
       */
      public String getSaltReply() {
        Object ref = saltReply_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          saltReply_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <code>optional string salt_reply = 1;</code>
       */
      public com.google.protobuf.ByteString
          getSaltReplyBytes() {
        Object ref = saltReply_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          saltReply_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string salt_reply = 1;</code>
       */
      public Builder setSaltReply(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        saltReply_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string salt_reply = 1;</code>
       */
      public Builder clearSaltReply() {
        
        saltReply_ = getDefaultInstance().getSaltReply();
        onChanged();
        return this;
      }
      /**
       * <code>optional string salt_reply = 1;</code>
       */
      public Builder setSaltReplyBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        saltReply_ = value;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }


      // @@protoc_insertion_point(builder_scope:SaltReply)
    }

    // @@protoc_insertion_point(class_scope:SaltReply)
    private static final SaltReply DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new SaltReply();
    }

    public static SaltReply getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public SaltReply getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface UploadSetRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:UploadSetRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>optional string task_id = 1;</code>
     */
    String getTaskId();
    /**
     * <code>optional string task_id = 1;</code>
     */
    com.google.protobuf.ByteString
        getTaskIdBytes();

    /**
     * <code>optional string client_id = 2;</code>
     */
    String getClientId();
    /**
     * <code>optional string client_id = 2;</code>
     */
    com.google.protobuf.ByteString
        getClientIdBytes();

    /**
     * <code>optional int32 split = 3;</code>
     */
    int getSplit();

    /**
     * <code>optional int32 num_split = 4;</code>
     */
    int getNumSplit();

    /**
     * <code>optional int32 split_length = 5;</code>
     */
    int getSplitLength();

    /**
     * <code>optional int32 total_length = 6;</code>
     */
    int getTotalLength();

    /**
     * <code>repeated string hashedID = 7;</code>
     */
    java.util.List<String>
        getHashedIDList();
    /**
     * <code>repeated string hashedID = 7;</code>
     */
    int getHashedIDCount();
    /**
     * <code>repeated string hashedID = 7;</code>
     */
    String getHashedID(int index);
    /**
     * <code>repeated string hashedID = 7;</code>
     */
    com.google.protobuf.ByteString
        getHashedIDBytes(int index);
  }
  /**
   * Protobuf type {@code UploadSetRequest}
   */
  public  static final class UploadSetRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:UploadSetRequest)
      UploadSetRequestOrBuilder {
    // Use UploadSetRequest.newBuilder() to construct.
    private UploadSetRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private UploadSetRequest() {
      taskId_ = "";
      clientId_ = "";
      split_ = 0;
      numSplit_ = 0;
      splitLength_ = 0;
      totalLength_ = 0;
      hashedID_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    }

    @Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private UploadSetRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              String s = input.readStringRequireUtf8();

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

              clientId_ = s;
              break;
            }
            case 24: {

              split_ = input.readInt32();
              break;
            }
            case 32: {

              numSplit_ = input.readInt32();
              break;
            }
            case 40: {

              splitLength_ = input.readInt32();
              break;
            }
            case 48: {

              totalLength_ = input.readInt32();
              break;
            }
            case 58: {
              String s = input.readStringRequireUtf8();
              if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
                hashedID_ = new com.google.protobuf.LazyStringArrayList();
                mutable_bitField0_ |= 0x00000040;
              }
              hashedID_.add(s);
              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_ & 0x00000040) == 0x00000040)) {
          hashedID_ = hashedID_.getUnmodifiableView();
        }
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return PSIServiceProto.internal_static_UploadSetRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return PSIServiceProto.internal_static_UploadSetRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              UploadSetRequest.class, Builder.class);
    }

    private int bitField0_;
    public static final int TASK_ID_FIELD_NUMBER = 1;
    private volatile Object taskId_;
    /**
     * <code>optional string task_id = 1;</code>
     */
    public String getTaskId() {
      Object ref = taskId_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        taskId_ = s;
        return s;
      }
    }
    /**
     * <code>optional string task_id = 1;</code>
     */
    public com.google.protobuf.ByteString
        getTaskIdBytes() {
      Object ref = taskId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        taskId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int CLIENT_ID_FIELD_NUMBER = 2;
    private volatile Object clientId_;
    /**
     * <code>optional string client_id = 2;</code>
     */
    public String getClientId() {
      Object ref = clientId_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        clientId_ = s;
        return s;
      }
    }
    /**
     * <code>optional string client_id = 2;</code>
     */
    public com.google.protobuf.ByteString
        getClientIdBytes() {
      Object ref = clientId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        clientId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int SPLIT_FIELD_NUMBER = 3;
    private int split_;
    /**
     * <code>optional int32 split = 3;</code>
     */
    public int getSplit() {
      return split_;
    }

    public static final int NUM_SPLIT_FIELD_NUMBER = 4;
    private int numSplit_;
    /**
     * <code>optional int32 num_split = 4;</code>
     */
    public int getNumSplit() {
      return numSplit_;
    }

    public static final int SPLIT_LENGTH_FIELD_NUMBER = 5;
    private int splitLength_;
    /**
     * <code>optional int32 split_length = 5;</code>
     */
    public int getSplitLength() {
      return splitLength_;
    }

    public static final int TOTAL_LENGTH_FIELD_NUMBER = 6;
    private int totalLength_;
    /**
     * <code>optional int32 total_length = 6;</code>
     */
    public int getTotalLength() {
      return totalLength_;
    }

    public static final int HASHEDID_FIELD_NUMBER = 7;
    private com.google.protobuf.LazyStringList hashedID_;
    /**
     * <code>repeated string hashedID = 7;</code>
     */
    public com.google.protobuf.ProtocolStringList
        getHashedIDList() {
      return hashedID_;
    }
    /**
     * <code>repeated string hashedID = 7;</code>
     */
    public int getHashedIDCount() {
      return hashedID_.size();
    }
    /**
     * <code>repeated string hashedID = 7;</code>
     */
    public String getHashedID(int index) {
      return hashedID_.get(index);
    }
    /**
     * <code>repeated string hashedID = 7;</code>
     */
    public com.google.protobuf.ByteString
        getHashedIDBytes(int index) {
      return hashedID_.getByteString(index);
    }

    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getTaskIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, taskId_);
      }
      if (!getClientIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, clientId_);
      }
      if (split_ != 0) {
        output.writeInt32(3, split_);
      }
      if (numSplit_ != 0) {
        output.writeInt32(4, numSplit_);
      }
      if (splitLength_ != 0) {
        output.writeInt32(5, splitLength_);
      }
      if (totalLength_ != 0) {
        output.writeInt32(6, totalLength_);
      }
      for (int i = 0; i < hashedID_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 7, hashedID_.getRaw(i));
      }
    }

    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!getTaskIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, taskId_);
      }
      if (!getClientIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clientId_);
      }
      if (split_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(3, split_);
      }
      if (numSplit_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(4, numSplit_);
      }
      if (splitLength_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(5, splitLength_);
      }
      if (totalLength_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(6, totalLength_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < hashedID_.size(); i++) {
          dataSize += computeStringSizeNoTag(hashedID_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getHashedIDList().size();
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @Override
    public boolean equals(final Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof UploadSetRequest)) {
        return super.equals(obj);
      }
      UploadSetRequest other = (UploadSetRequest) obj;

      boolean result = true;
      result = result && getTaskId()
          .equals(other.getTaskId());
      result = result && getClientId()
          .equals(other.getClientId());
      result = result && (getSplit()
          == other.getSplit());
      result = result && (getNumSplit()
          == other.getNumSplit());
      result = result && (getSplitLength()
          == other.getSplitLength());
      result = result && (getTotalLength()
          == other.getTotalLength());
      result = result && getHashedIDList()
          .equals(other.getHashedIDList());
      return result;
    }

    @Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      hash = (37 * hash) + TASK_ID_FIELD_NUMBER;
      hash = (53 * hash) + getTaskId().hashCode();
      hash = (37 * hash) + CLIENT_ID_FIELD_NUMBER;
      hash = (53 * hash) + getClientId().hashCode();
      hash = (37 * hash) + SPLIT_FIELD_NUMBER;
      hash = (53 * hash) + getSplit();
      hash = (37 * hash) + NUM_SPLIT_FIELD_NUMBER;
      hash = (53 * hash) + getNumSplit();
      hash = (37 * hash) + SPLIT_LENGTH_FIELD_NUMBER;
      hash = (53 * hash) + getSplitLength();
      hash = (37 * hash) + TOTAL_LENGTH_FIELD_NUMBER;
      hash = (53 * hash) + getTotalLength();
      if (getHashedIDCount() > 0) {
        hash = (37 * hash) + HASHEDID_FIELD_NUMBER;
        hash = (53 * hash) + getHashedIDList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static UploadSetRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static UploadSetRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static UploadSetRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static UploadSetRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static UploadSetRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static UploadSetRequest 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 UploadSetRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static UploadSetRequest 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 UploadSetRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static UploadSetRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(UploadSetRequest prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code UploadSetRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:UploadSetRequest)
        UploadSetRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return PSIServiceProto.internal_static_UploadSetRequest_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return PSIServiceProto.internal_static_UploadSetRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                UploadSetRequest.class, Builder.class);
      }

      // Construct using com.intel.analytics.bigdl.ppml.generated.PSIServiceProto.UploadSetRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        taskId_ = "";

        clientId_ = "";

        split_ = 0;

        numSplit_ = 0;

        splitLength_ = 0;

        totalLength_ = 0;

        hashedID_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000040);
        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return PSIServiceProto.internal_static_UploadSetRequest_descriptor;
      }

      public UploadSetRequest getDefaultInstanceForType() {
        return UploadSetRequest.getDefaultInstance();
      }

      public UploadSetRequest build() {
        UploadSetRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public UploadSetRequest buildPartial() {
        UploadSetRequest result = new UploadSetRequest(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        result.taskId_ = taskId_;
        result.clientId_ = clientId_;
        result.split_ = split_;
        result.numSplit_ = numSplit_;
        result.splitLength_ = splitLength_;
        result.totalLength_ = totalLength_;
        if (((bitField0_ & 0x00000040) == 0x00000040)) {
          hashedID_ = hashedID_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000040);
        }
        result.hashedID_ = hashedID_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof UploadSetRequest) {
          return mergeFrom((UploadSetRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(UploadSetRequest other) {
        if (other == UploadSetRequest.getDefaultInstance()) return this;
        if (!other.getTaskId().isEmpty()) {
          taskId_ = other.taskId_;
          onChanged();
        }
        if (!other.getClientId().isEmpty()) {
          clientId_ = other.clientId_;
          onChanged();
        }
        if (other.getSplit() != 0) {
          setSplit(other.getSplit());
        }
        if (other.getNumSplit() != 0) {
          setNumSplit(other.getNumSplit());
        }
        if (other.getSplitLength() != 0) {
          setSplitLength(other.getSplitLength());
        }
        if (other.getTotalLength() != 0) {
          setTotalLength(other.getTotalLength());
        }
        if (!other.hashedID_.isEmpty()) {
          if (hashedID_.isEmpty()) {
            hashedID_ = other.hashedID_;
            bitField0_ = (bitField0_ & ~0x00000040);
          } else {
            ensureHashedIDIsMutable();
            hashedID_.addAll(other.hashedID_);
          }
          onChanged();
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

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

      private Object taskId_ = "";
      /**
       * <code>optional string task_id = 1;</code>
       */
      public String getTaskId() {
        Object ref = taskId_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          taskId_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <code>optional string task_id = 1;</code>
       */
      public com.google.protobuf.ByteString
          getTaskIdBytes() {
        Object ref = taskId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          taskId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string task_id = 1;</code>
       */
      public Builder setTaskId(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        taskId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string task_id = 1;</code>
       */
      public Builder clearTaskId() {
        
        taskId_ = getDefaultInstance().getTaskId();
        onChanged();
        return this;
      }
      /**
       * <code>optional string task_id = 1;</code>
       */
      public Builder setTaskIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        taskId_ = value;
        onChanged();
        return this;
      }

      private Object clientId_ = "";
      /**
       * <code>optional string client_id = 2;</code>
       */
      public String getClientId() {
        Object ref = clientId_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          clientId_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <code>optional string client_id = 2;</code>
       */
      public com.google.protobuf.ByteString
          getClientIdBytes() {
        Object ref = clientId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          clientId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string client_id = 2;</code>
       */
      public Builder setClientId(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        clientId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string client_id = 2;</code>
       */
      public Builder clearClientId() {
        
        clientId_ = getDefaultInstance().getClientId();
        onChanged();
        return this;
      }
      /**
       * <code>optional string client_id = 2;</code>
       */
      public Builder setClientIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        clientId_ = value;
        onChanged();
        return this;
      }

      private int split_ ;
      /**
       * <code>optional int32 split = 3;</code>
       */
      public int getSplit() {
        return split_;
      }
      /**
       * <code>optional int32 split = 3;</code>
       */
      public Builder setSplit(int value) {
        
        split_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional int32 split = 3;</code>
       */
      public Builder clearSplit() {
        
        split_ = 0;
        onChanged();
        return this;
      }

      private int numSplit_ ;
      /**
       * <code>optional int32 num_split = 4;</code>
       */
      public int getNumSplit() {
        return numSplit_;
      }
      /**
       * <code>optional int32 num_split = 4;</code>
       */
      public Builder setNumSplit(int value) {
        
        numSplit_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional int32 num_split = 4;</code>
       */
      public Builder clearNumSplit() {
        
        numSplit_ = 0;
        onChanged();
        return this;
      }

      private int splitLength_ ;
      /**
       * <code>optional int32 split_length = 5;</code>
       */
      public int getSplitLength() {
        return splitLength_;
      }
      /**
       * <code>optional int32 split_length = 5;</code>
       */
      public Builder setSplitLength(int value) {
        
        splitLength_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional int32 split_length = 5;</code>
       */
      public Builder clearSplitLength() {
        
        splitLength_ = 0;
        onChanged();
        return this;
      }

      private int totalLength_ ;
      /**
       * <code>optional int32 total_length = 6;</code>
       */
      public int getTotalLength() {
        return totalLength_;
      }
      /**
       * <code>optional int32 total_length = 6;</code>
       */
      public Builder setTotalLength(int value) {
        
        totalLength_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional int32 total_length = 6;</code>
       */
      public Builder clearTotalLength() {
        
        totalLength_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.LazyStringList hashedID_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureHashedIDIsMutable() {
        if (!((bitField0_ & 0x00000040) == 0x00000040)) {
          hashedID_ = new com.google.protobuf.LazyStringArrayList(hashedID_);
          bitField0_ |= 0x00000040;
         }
      }
      /**
       * <code>repeated string hashedID = 7;</code>
       */
      public com.google.protobuf.ProtocolStringList
          getHashedIDList() {
        return hashedID_.getUnmodifiableView();
      }
      /**
       * <code>repeated string hashedID = 7;</code>
       */
      public int getHashedIDCount() {
        return hashedID_.size();
      }
      /**
       * <code>repeated string hashedID = 7;</code>
       */
      public String getHashedID(int index) {
        return hashedID_.get(index);
      }
      /**
       * <code>repeated string hashedID = 7;</code>
       */
      public com.google.protobuf.ByteString
          getHashedIDBytes(int index) {
        return hashedID_.getByteString(index);
      }
      /**
       * <code>repeated string hashedID = 7;</code>
       */
      public Builder setHashedID(
          int index, String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureHashedIDIsMutable();
        hashedID_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string hashedID = 7;</code>
       */
      public Builder addHashedID(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureHashedIDIsMutable();
        hashedID_.add(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string hashedID = 7;</code>
       */
      public Builder addAllHashedID(
          Iterable<String> values) {
        ensureHashedIDIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, hashedID_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string hashedID = 7;</code>
       */
      public Builder clearHashedID() {
        hashedID_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000040);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string hashedID = 7;</code>
       */
      public Builder addHashedIDBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        ensureHashedIDIsMutable();
        hashedID_.add(value);
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }


      // @@protoc_insertion_point(builder_scope:UploadSetRequest)
    }

    // @@protoc_insertion_point(class_scope:UploadSetRequest)
    private static final UploadSetRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new UploadSetRequest();
    }

    public static UploadSetRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public UploadSetRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface UploadSetResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:UploadSetResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>optional string task_id = 1;</code>
     */
    String getTaskId();
    /**
     * <code>optional string task_id = 1;</code>
     */
    com.google.protobuf.ByteString
        getTaskIdBytes();

    /**
     * <code>optional .SIGNAL status = 2;</code>
     */
    int getStatusValue();
    /**
     * <code>optional .SIGNAL status = 2;</code>
     */
    FlBaseProto.SIGNAL getStatus();
  }
  /**
   * Protobuf type {@code UploadSetResponse}
   */
  public  static final class UploadSetResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:UploadSetResponse)
      UploadSetResponseOrBuilder {
    // Use UploadSetResponse.newBuilder() to construct.
    private UploadSetResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private UploadSetResponse() {
      taskId_ = "";
      status_ = 0;
    }

    @Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private UploadSetResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              String s = input.readStringRequireUtf8();

              taskId_ = s;
              break;
            }
            case 16: {
              int rawValue = input.readEnum();

              status_ = rawValue;
              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 {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return PSIServiceProto.internal_static_UploadSetResponse_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return PSIServiceProto.internal_static_UploadSetResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              UploadSetResponse.class, Builder.class);
    }

    public static final int TASK_ID_FIELD_NUMBER = 1;
    private volatile Object taskId_;
    /**
     * <code>optional string task_id = 1;</code>
     */
    public String getTaskId() {
      Object ref = taskId_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        taskId_ = s;
        return s;
      }
    }
    /**
     * <code>optional string task_id = 1;</code>
     */
    public com.google.protobuf.ByteString
        getTaskIdBytes() {
      Object ref = taskId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        taskId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int STATUS_FIELD_NUMBER = 2;
    private int status_;
    /**
     * <code>optional .SIGNAL status = 2;</code>
     */
    public int getStatusValue() {
      return status_;
    }
    /**
     * <code>optional .SIGNAL status = 2;</code>
     */
    public FlBaseProto.SIGNAL getStatus() {
      FlBaseProto.SIGNAL result = FlBaseProto.SIGNAL.valueOf(status_);
      return result == null ? FlBaseProto.SIGNAL.UNRECOGNIZED : result;
    }

    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getTaskIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, taskId_);
      }
      if (status_ != FlBaseProto.SIGNAL.SUCCESS.getNumber()) {
        output.writeEnum(2, status_);
      }
    }

    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!getTaskIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, taskId_);
      }
      if (status_ != FlBaseProto.SIGNAL.SUCCESS.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(2, status_);
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @Override
    public boolean equals(final Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof UploadSetResponse)) {
        return super.equals(obj);
      }
      UploadSetResponse other = (UploadSetResponse) obj;

      boolean result = true;
      result = result && getTaskId()
          .equals(other.getTaskId());
      result = result && status_ == other.status_;
      return result;
    }

    @Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      hash = (37 * hash) + TASK_ID_FIELD_NUMBER;
      hash = (53 * hash) + getTaskId().hashCode();
      hash = (37 * hash) + STATUS_FIELD_NUMBER;
      hash = (53 * hash) + status_;
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static UploadSetResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static UploadSetResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static UploadSetResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static UploadSetResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static UploadSetResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static UploadSetResponse 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 UploadSetResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static UploadSetResponse 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 UploadSetResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static UploadSetResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(UploadSetResponse prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code UploadSetResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:UploadSetResponse)
        UploadSetResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return PSIServiceProto.internal_static_UploadSetResponse_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return PSIServiceProto.internal_static_UploadSetResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                UploadSetResponse.class, Builder.class);
      }

      // Construct using com.intel.analytics.bigdl.ppml.generated.PSIServiceProto.UploadSetResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        taskId_ = "";

        status_ = 0;

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return PSIServiceProto.internal_static_UploadSetResponse_descriptor;
      }

      public UploadSetResponse getDefaultInstanceForType() {
        return UploadSetResponse.getDefaultInstance();
      }

      public UploadSetResponse build() {
        UploadSetResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public UploadSetResponse buildPartial() {
        UploadSetResponse result = new UploadSetResponse(this);
        result.taskId_ = taskId_;
        result.status_ = status_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof UploadSetResponse) {
          return mergeFrom((UploadSetResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(UploadSetResponse other) {
        if (other == UploadSetResponse.getDefaultInstance()) return this;
        if (!other.getTaskId().isEmpty()) {
          taskId_ = other.taskId_;
          onChanged();
        }
        if (other.status_ != 0) {
          setStatusValue(other.getStatusValue());
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

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

      private Object taskId_ = "";
      /**
       * <code>optional string task_id = 1;</code>
       */
      public String getTaskId() {
        Object ref = taskId_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          taskId_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <code>optional string task_id = 1;</code>
       */
      public com.google.protobuf.ByteString
          getTaskIdBytes() {
        Object ref = taskId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          taskId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string task_id = 1;</code>
       */
      public Builder setTaskId(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        taskId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string task_id = 1;</code>
       */
      public Builder clearTaskId() {
        
        taskId_ = getDefaultInstance().getTaskId();
        onChanged();
        return this;
      }
      /**
       * <code>optional string task_id = 1;</code>
       */
      public Builder setTaskIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        taskId_ = value;
        onChanged();
        return this;
      }

      private int status_ = 0;
      /**
       * <code>optional .SIGNAL status = 2;</code>
       */
      public int getStatusValue() {
        return status_;
      }
      /**
       * <code>optional .SIGNAL status = 2;</code>
       */
      public Builder setStatusValue(int value) {
        status_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional .SIGNAL status = 2;</code>
       */
      public FlBaseProto.SIGNAL getStatus() {
        FlBaseProto.SIGNAL result = FlBaseProto.SIGNAL.valueOf(status_);
        return result == null ? FlBaseProto.SIGNAL.UNRECOGNIZED : result;
      }
      /**
       * <code>optional .SIGNAL status = 2;</code>
       */
      public Builder setStatus(FlBaseProto.SIGNAL value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        status_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>optional .SIGNAL status = 2;</code>
       */
      public Builder clearStatus() {
        
        status_ = 0;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }


      // @@protoc_insertion_point(builder_scope:UploadSetResponse)
    }

    // @@protoc_insertion_point(class_scope:UploadSetResponse)
    private static final UploadSetResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new UploadSetResponse();
    }

    public static UploadSetResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public UploadSetResponse getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface DownloadIntersectionRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:DownloadIntersectionRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>optional string task_id = 1;</code>
     */
    String getTaskId();
    /**
     * <code>optional string task_id = 1;</code>
     */
    com.google.protobuf.ByteString
        getTaskIdBytes();

    /**
     * <code>optional int32 split = 2;</code>
     */
    int getSplit();
  }
  /**
   * Protobuf type {@code DownloadIntersectionRequest}
   */
  public  static final class DownloadIntersectionRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:DownloadIntersectionRequest)
      DownloadIntersectionRequestOrBuilder {
    // Use DownloadIntersectionRequest.newBuilder() to construct.
    private DownloadIntersectionRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private DownloadIntersectionRequest() {
      taskId_ = "";
      split_ = 0;
    }

    @Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private DownloadIntersectionRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              String s = input.readStringRequireUtf8();

              taskId_ = s;
              break;
            }
            case 16: {

              split_ = input.readInt32();
              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 {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return PSIServiceProto.internal_static_DownloadIntersectionRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return PSIServiceProto.internal_static_DownloadIntersectionRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              DownloadIntersectionRequest.class, Builder.class);
    }

    public static final int TASK_ID_FIELD_NUMBER = 1;
    private volatile Object taskId_;
    /**
     * <code>optional string task_id = 1;</code>
     */
    public String getTaskId() {
      Object ref = taskId_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        taskId_ = s;
        return s;
      }
    }
    /**
     * <code>optional string task_id = 1;</code>
     */
    public com.google.protobuf.ByteString
        getTaskIdBytes() {
      Object ref = taskId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        taskId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int SPLIT_FIELD_NUMBER = 2;
    private int split_;
    /**
     * <code>optional int32 split = 2;</code>
     */
    public int getSplit() {
      return split_;
    }

    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getTaskIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, taskId_);
      }
      if (split_ != 0) {
        output.writeInt32(2, split_);
      }
    }

    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!getTaskIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, taskId_);
      }
      if (split_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(2, split_);
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @Override
    public boolean equals(final Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof DownloadIntersectionRequest)) {
        return super.equals(obj);
      }
      DownloadIntersectionRequest other = (DownloadIntersectionRequest) obj;

      boolean result = true;
      result = result && getTaskId()
          .equals(other.getTaskId());
      result = result && (getSplit()
          == other.getSplit());
      return result;
    }

    @Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      hash = (37 * hash) + TASK_ID_FIELD_NUMBER;
      hash = (53 * hash) + getTaskId().hashCode();
      hash = (37 * hash) + SPLIT_FIELD_NUMBER;
      hash = (53 * hash) + getSplit();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static DownloadIntersectionRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static DownloadIntersectionRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static DownloadIntersectionRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static DownloadIntersectionRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static DownloadIntersectionRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static DownloadIntersectionRequest 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 DownloadIntersectionRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static DownloadIntersectionRequest 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 DownloadIntersectionRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static DownloadIntersectionRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(DownloadIntersectionRequest prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code DownloadIntersectionRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:DownloadIntersectionRequest)
        DownloadIntersectionRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return PSIServiceProto.internal_static_DownloadIntersectionRequest_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return PSIServiceProto.internal_static_DownloadIntersectionRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                DownloadIntersectionRequest.class, Builder.class);
      }

      // Construct using com.intel.analytics.bigdl.ppml.generated.PSIServiceProto.DownloadIntersectionRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        taskId_ = "";

        split_ = 0;

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return PSIServiceProto.internal_static_DownloadIntersectionRequest_descriptor;
      }

      public DownloadIntersectionRequest getDefaultInstanceForType() {
        return DownloadIntersectionRequest.getDefaultInstance();
      }

      public DownloadIntersectionRequest build() {
        DownloadIntersectionRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public DownloadIntersectionRequest buildPartial() {
        DownloadIntersectionRequest result = new DownloadIntersectionRequest(this);
        result.taskId_ = taskId_;
        result.split_ = split_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof DownloadIntersectionRequest) {
          return mergeFrom((DownloadIntersectionRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(DownloadIntersectionRequest other) {
        if (other == DownloadIntersectionRequest.getDefaultInstance()) return this;
        if (!other.getTaskId().isEmpty()) {
          taskId_ = other.taskId_;
          onChanged();
        }
        if (other.getSplit() != 0) {
          setSplit(other.getSplit());
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

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

      private Object taskId_ = "";
      /**
       * <code>optional string task_id = 1;</code>
       */
      public String getTaskId() {
        Object ref = taskId_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          taskId_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <code>optional string task_id = 1;</code>
       */
      public com.google.protobuf.ByteString
          getTaskIdBytes() {
        Object ref = taskId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          taskId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string task_id = 1;</code>
       */
      public Builder setTaskId(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        taskId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string task_id = 1;</code>
       */
      public Builder clearTaskId() {
        
        taskId_ = getDefaultInstance().getTaskId();
        onChanged();
        return this;
      }
      /**
       * <code>optional string task_id = 1;</code>
       */
      public Builder setTaskIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        taskId_ = value;
        onChanged();
        return this;
      }

      private int split_ ;
      /**
       * <code>optional int32 split = 2;</code>
       */
      public int getSplit() {
        return split_;
      }
      /**
       * <code>optional int32 split = 2;</code>
       */
      public Builder setSplit(int value) {
        
        split_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional int32 split = 2;</code>
       */
      public Builder clearSplit() {
        
        split_ = 0;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }


      // @@protoc_insertion_point(builder_scope:DownloadIntersectionRequest)
    }

    // @@protoc_insertion_point(class_scope:DownloadIntersectionRequest)
    private static final DownloadIntersectionRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new DownloadIntersectionRequest();
    }

    public static DownloadIntersectionRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public DownloadIntersectionRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface DownloadIntersectionResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:DownloadIntersectionResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>optional string task_id = 1;</code>
     */
    String getTaskId();
    /**
     * <code>optional string task_id = 1;</code>
     */
    com.google.protobuf.ByteString
        getTaskIdBytes();

    /**
     * <code>optional .SIGNAL status = 2;</code>
     */
    int getStatusValue();
    /**
     * <code>optional .SIGNAL status = 2;</code>
     */
    FlBaseProto.SIGNAL getStatus();

    /**
     * <code>optional int32 split = 3;</code>
     */
    int getSplit();

    /**
     * <code>optional int32 num_split = 4;</code>
     */
    int getNumSplit();

    /**
     * <code>optional int32 split_length = 5;</code>
     */
    int getSplitLength();

    /**
     * <code>optional int32 total_length = 6;</code>
     */
    int getTotalLength();

    /**
     * <code>repeated string intersection = 7;</code>
     */
    java.util.List<String>
        getIntersectionList();
    /**
     * <code>repeated string intersection = 7;</code>
     */
    int getIntersectionCount();
    /**
     * <code>repeated string intersection = 7;</code>
     */
    String getIntersection(int index);
    /**
     * <code>repeated string intersection = 7;</code>
     */
    com.google.protobuf.ByteString
        getIntersectionBytes(int index);
  }
  /**
   * Protobuf type {@code DownloadIntersectionResponse}
   */
  public  static final class DownloadIntersectionResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:DownloadIntersectionResponse)
      DownloadIntersectionResponseOrBuilder {
    // Use DownloadIntersectionResponse.newBuilder() to construct.
    private DownloadIntersectionResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private DownloadIntersectionResponse() {
      taskId_ = "";
      status_ = 0;
      split_ = 0;
      numSplit_ = 0;
      splitLength_ = 0;
      totalLength_ = 0;
      intersection_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    }

    @Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private DownloadIntersectionResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              String s = input.readStringRequireUtf8();

              taskId_ = s;
              break;
            }
            case 16: {
              int rawValue = input.readEnum();

              status_ = rawValue;
              break;
            }
            case 24: {

              split_ = input.readInt32();
              break;
            }
            case 32: {

              numSplit_ = input.readInt32();
              break;
            }
            case 40: {

              splitLength_ = input.readInt32();
              break;
            }
            case 48: {

              totalLength_ = input.readInt32();
              break;
            }
            case 58: {
              String s = input.readStringRequireUtf8();
              if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
                intersection_ = new com.google.protobuf.LazyStringArrayList();
                mutable_bitField0_ |= 0x00000040;
              }
              intersection_.add(s);
              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_ & 0x00000040) == 0x00000040)) {
          intersection_ = intersection_.getUnmodifiableView();
        }
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return PSIServiceProto.internal_static_DownloadIntersectionResponse_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return PSIServiceProto.internal_static_DownloadIntersectionResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              DownloadIntersectionResponse.class, Builder.class);
    }

    private int bitField0_;
    public static final int TASK_ID_FIELD_NUMBER = 1;
    private volatile Object taskId_;
    /**
     * <code>optional string task_id = 1;</code>
     */
    public String getTaskId() {
      Object ref = taskId_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        taskId_ = s;
        return s;
      }
    }
    /**
     * <code>optional string task_id = 1;</code>
     */
    public com.google.protobuf.ByteString
        getTaskIdBytes() {
      Object ref = taskId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        taskId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int STATUS_FIELD_NUMBER = 2;
    private int status_;
    /**
     * <code>optional .SIGNAL status = 2;</code>
     */
    public int getStatusValue() {
      return status_;
    }
    /**
     * <code>optional .SIGNAL status = 2;</code>
     */
    public FlBaseProto.SIGNAL getStatus() {
      FlBaseProto.SIGNAL result = FlBaseProto.SIGNAL.valueOf(status_);
      return result == null ? FlBaseProto.SIGNAL.UNRECOGNIZED : result;
    }

    public static final int SPLIT_FIELD_NUMBER = 3;
    private int split_;
    /**
     * <code>optional int32 split = 3;</code>
     */
    public int getSplit() {
      return split_;
    }

    public static final int NUM_SPLIT_FIELD_NUMBER = 4;
    private int numSplit_;
    /**
     * <code>optional int32 num_split = 4;</code>
     */
    public int getNumSplit() {
      return numSplit_;
    }

    public static final int SPLIT_LENGTH_FIELD_NUMBER = 5;
    private int splitLength_;
    /**
     * <code>optional int32 split_length = 5;</code>
     */
    public int getSplitLength() {
      return splitLength_;
    }

    public static final int TOTAL_LENGTH_FIELD_NUMBER = 6;
    private int totalLength_;
    /**
     * <code>optional int32 total_length = 6;</code>
     */
    public int getTotalLength() {
      return totalLength_;
    }

    public static final int INTERSECTION_FIELD_NUMBER = 7;
    private com.google.protobuf.LazyStringList intersection_;
    /**
     * <code>repeated string intersection = 7;</code>
     */
    public com.google.protobuf.ProtocolStringList
        getIntersectionList() {
      return intersection_;
    }
    /**
     * <code>repeated string intersection = 7;</code>
     */
    public int getIntersectionCount() {
      return intersection_.size();
    }
    /**
     * <code>repeated string intersection = 7;</code>
     */
    public String getIntersection(int index) {
      return intersection_.get(index);
    }
    /**
     * <code>repeated string intersection = 7;</code>
     */
    public com.google.protobuf.ByteString
        getIntersectionBytes(int index) {
      return intersection_.getByteString(index);
    }

    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getTaskIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, taskId_);
      }
      if (status_ != FlBaseProto.SIGNAL.SUCCESS.getNumber()) {
        output.writeEnum(2, status_);
      }
      if (split_ != 0) {
        output.writeInt32(3, split_);
      }
      if (numSplit_ != 0) {
        output.writeInt32(4, numSplit_);
      }
      if (splitLength_ != 0) {
        output.writeInt32(5, splitLength_);
      }
      if (totalLength_ != 0) {
        output.writeInt32(6, totalLength_);
      }
      for (int i = 0; i < intersection_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 7, intersection_.getRaw(i));
      }
    }

    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!getTaskIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, taskId_);
      }
      if (status_ != FlBaseProto.SIGNAL.SUCCESS.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(2, status_);
      }
      if (split_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(3, split_);
      }
      if (numSplit_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(4, numSplit_);
      }
      if (splitLength_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(5, splitLength_);
      }
      if (totalLength_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(6, totalLength_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < intersection_.size(); i++) {
          dataSize += computeStringSizeNoTag(intersection_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getIntersectionList().size();
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @Override
    public boolean equals(final Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof DownloadIntersectionResponse)) {
        return super.equals(obj);
      }
      DownloadIntersectionResponse other = (DownloadIntersectionResponse) obj;

      boolean result = true;
      result = result && getTaskId()
          .equals(other.getTaskId());
      result = result && status_ == other.status_;
      result = result && (getSplit()
          == other.getSplit());
      result = result && (getNumSplit()
          == other.getNumSplit());
      result = result && (getSplitLength()
          == other.getSplitLength());
      result = result && (getTotalLength()
          == other.getTotalLength());
      result = result && getIntersectionList()
          .equals(other.getIntersectionList());
      return result;
    }

    @Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      hash = (37 * hash) + TASK_ID_FIELD_NUMBER;
      hash = (53 * hash) + getTaskId().hashCode();
      hash = (37 * hash) + STATUS_FIELD_NUMBER;
      hash = (53 * hash) + status_;
      hash = (37 * hash) + SPLIT_FIELD_NUMBER;
      hash = (53 * hash) + getSplit();
      hash = (37 * hash) + NUM_SPLIT_FIELD_NUMBER;
      hash = (53 * hash) + getNumSplit();
      hash = (37 * hash) + SPLIT_LENGTH_FIELD_NUMBER;
      hash = (53 * hash) + getSplitLength();
      hash = (37 * hash) + TOTAL_LENGTH_FIELD_NUMBER;
      hash = (53 * hash) + getTotalLength();
      if (getIntersectionCount() > 0) {
        hash = (37 * hash) + INTERSECTION_FIELD_NUMBER;
        hash = (53 * hash) + getIntersectionList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static DownloadIntersectionResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static DownloadIntersectionResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static DownloadIntersectionResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static DownloadIntersectionResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static DownloadIntersectionResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static DownloadIntersectionResponse 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 DownloadIntersectionResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static DownloadIntersectionResponse 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 DownloadIntersectionResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static DownloadIntersectionResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(DownloadIntersectionResponse prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code DownloadIntersectionResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:DownloadIntersectionResponse)
        DownloadIntersectionResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return PSIServiceProto.internal_static_DownloadIntersectionResponse_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return PSIServiceProto.internal_static_DownloadIntersectionResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                DownloadIntersectionResponse.class, Builder.class);
      }

      // Construct using com.intel.analytics.bigdl.ppml.generated.PSIServiceProto.DownloadIntersectionResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        taskId_ = "";

        status_ = 0;

        split_ = 0;

        numSplit_ = 0;

        splitLength_ = 0;

        totalLength_ = 0;

        intersection_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000040);
        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return PSIServiceProto.internal_static_DownloadIntersectionResponse_descriptor;
      }

      public DownloadIntersectionResponse getDefaultInstanceForType() {
        return DownloadIntersectionResponse.getDefaultInstance();
      }

      public DownloadIntersectionResponse build() {
        DownloadIntersectionResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public DownloadIntersectionResponse buildPartial() {
        DownloadIntersectionResponse result = new DownloadIntersectionResponse(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        result.taskId_ = taskId_;
        result.status_ = status_;
        result.split_ = split_;
        result.numSplit_ = numSplit_;
        result.splitLength_ = splitLength_;
        result.totalLength_ = totalLength_;
        if (((bitField0_ & 0x00000040) == 0x00000040)) {
          intersection_ = intersection_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000040);
        }
        result.intersection_ = intersection_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof DownloadIntersectionResponse) {
          return mergeFrom((DownloadIntersectionResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(DownloadIntersectionResponse other) {
        if (other == DownloadIntersectionResponse.getDefaultInstance()) return this;
        if (!other.getTaskId().isEmpty()) {
          taskId_ = other.taskId_;
          onChanged();
        }
        if (other.status_ != 0) {
          setStatusValue(other.getStatusValue());
        }
        if (other.getSplit() != 0) {
          setSplit(other.getSplit());
        }
        if (other.getNumSplit() != 0) {
          setNumSplit(other.getNumSplit());
        }
        if (other.getSplitLength() != 0) {
          setSplitLength(other.getSplitLength());
        }
        if (other.getTotalLength() != 0) {
          setTotalLength(other.getTotalLength());
        }
        if (!other.intersection_.isEmpty()) {
          if (intersection_.isEmpty()) {
            intersection_ = other.intersection_;
            bitField0_ = (bitField0_ & ~0x00000040);
          } else {
            ensureIntersectionIsMutable();
            intersection_.addAll(other.intersection_);
          }
          onChanged();
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

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

      private Object taskId_ = "";
      /**
       * <code>optional string task_id = 1;</code>
       */
      public String getTaskId() {
        Object ref = taskId_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          taskId_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <code>optional string task_id = 1;</code>
       */
      public com.google.protobuf.ByteString
          getTaskIdBytes() {
        Object ref = taskId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          taskId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string task_id = 1;</code>
       */
      public Builder setTaskId(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        taskId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string task_id = 1;</code>
       */
      public Builder clearTaskId() {
        
        taskId_ = getDefaultInstance().getTaskId();
        onChanged();
        return this;
      }
      /**
       * <code>optional string task_id = 1;</code>
       */
      public Builder setTaskIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        taskId_ = value;
        onChanged();
        return this;
      }

      private int status_ = 0;
      /**
       * <code>optional .SIGNAL status = 2;</code>
       */
      public int getStatusValue() {
        return status_;
      }
      /**
       * <code>optional .SIGNAL status = 2;</code>
       */
      public Builder setStatusValue(int value) {
        status_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional .SIGNAL status = 2;</code>
       */
      public FlBaseProto.SIGNAL getStatus() {
        FlBaseProto.SIGNAL result = FlBaseProto.SIGNAL.valueOf(status_);
        return result == null ? FlBaseProto.SIGNAL.UNRECOGNIZED : result;
      }
      /**
       * <code>optional .SIGNAL status = 2;</code>
       */
      public Builder setStatus(FlBaseProto.SIGNAL value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        status_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>optional .SIGNAL status = 2;</code>
       */
      public Builder clearStatus() {
        
        status_ = 0;
        onChanged();
        return this;
      }

      private int split_ ;
      /**
       * <code>optional int32 split = 3;</code>
       */
      public int getSplit() {
        return split_;
      }
      /**
       * <code>optional int32 split = 3;</code>
       */
      public Builder setSplit(int value) {
        
        split_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional int32 split = 3;</code>
       */
      public Builder clearSplit() {
        
        split_ = 0;
        onChanged();
        return this;
      }

      private int numSplit_ ;
      /**
       * <code>optional int32 num_split = 4;</code>
       */
      public int getNumSplit() {
        return numSplit_;
      }
      /**
       * <code>optional int32 num_split = 4;</code>
       */
      public Builder setNumSplit(int value) {
        
        numSplit_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional int32 num_split = 4;</code>
       */
      public Builder clearNumSplit() {
        
        numSplit_ = 0;
        onChanged();
        return this;
      }

      private int splitLength_ ;
      /**
       * <code>optional int32 split_length = 5;</code>
       */
      public int getSplitLength() {
        return splitLength_;
      }
      /**
       * <code>optional int32 split_length = 5;</code>
       */
      public Builder setSplitLength(int value) {
        
        splitLength_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional int32 split_length = 5;</code>
       */
      public Builder clearSplitLength() {
        
        splitLength_ = 0;
        onChanged();
        return this;
      }

      private int totalLength_ ;
      /**
       * <code>optional int32 total_length = 6;</code>
       */
      public int getTotalLength() {
        return totalLength_;
      }
      /**
       * <code>optional int32 total_length = 6;</code>
       */
      public Builder setTotalLength(int value) {
        
        totalLength_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional int32 total_length = 6;</code>
       */
      public Builder clearTotalLength() {
        
        totalLength_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.LazyStringList intersection_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureIntersectionIsMutable() {
        if (!((bitField0_ & 0x00000040) == 0x00000040)) {
          intersection_ = new com.google.protobuf.LazyStringArrayList(intersection_);
          bitField0_ |= 0x00000040;
         }
      }
      /**
       * <code>repeated string intersection = 7;</code>
       */
      public com.google.protobuf.ProtocolStringList
          getIntersectionList() {
        return intersection_.getUnmodifiableView();
      }
      /**
       * <code>repeated string intersection = 7;</code>
       */
      public int getIntersectionCount() {
        return intersection_.size();
      }
      /**
       * <code>repeated string intersection = 7;</code>
       */
      public String getIntersection(int index) {
        return intersection_.get(index);
      }
      /**
       * <code>repeated string intersection = 7;</code>
       */
      public com.google.protobuf.ByteString
          getIntersectionBytes(int index) {
        return intersection_.getByteString(index);
      }
      /**
       * <code>repeated string intersection = 7;</code>
       */
      public Builder setIntersection(
          int index, String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureIntersectionIsMutable();
        intersection_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string intersection = 7;</code>
       */
      public Builder addIntersection(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureIntersectionIsMutable();
        intersection_.add(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string intersection = 7;</code>
       */
      public Builder addAllIntersection(
          Iterable<String> values) {
        ensureIntersectionIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, intersection_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string intersection = 7;</code>
       */
      public Builder clearIntersection() {
        intersection_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000040);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string intersection = 7;</code>
       */
      public Builder addIntersectionBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        ensureIntersectionIsMutable();
        intersection_.add(value);
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }


      // @@protoc_insertion_point(builder_scope:DownloadIntersectionResponse)
    }

    // @@protoc_insertion_point(class_scope:DownloadIntersectionResponse)
    private static final DownloadIntersectionResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new DownloadIntersectionResponse();
    }

    public static DownloadIntersectionResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public DownloadIntersectionResponse getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_SaltRequest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_SaltRequest_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_SaltReply_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_SaltReply_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_UploadSetRequest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_UploadSetRequest_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_UploadSetResponse_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_UploadSetResponse_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_DownloadIntersectionRequest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_DownloadIntersectionRequest_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_DownloadIntersectionResponse_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_DownloadIntersectionResponse_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    String[] descriptorData = {
      "\n\021psi_service.proto\032\rfl_base.proto\"G\n\013Sa" +
      "ltRequest\022\017\n\007task_id\030\001 \001(\t\022\022\n\nclient_num" +
      "\030\002 \001(\005\022\023\n\013secure_code\030\003 \001(\t\"\037\n\tSaltReply" +
      "\022\022\n\nsalt_reply\030\001 \001(\t\"\226\001\n\020UploadSetReques" +
      "t\022\017\n\007task_id\030\001 \001(\t\022\021\n\tclient_id\030\002 \001(\t\022\r\n" +
      "\005split\030\003 \001(\005\022\021\n\tnum_split\030\004 \001(\005\022\024\n\014split" +
      "_length\030\005 \001(\005\022\024\n\014total_length\030\006 \001(\005\022\020\n\010h" +
      "ashedID\030\007 \003(\t\"=\n\021UploadSetResponse\022\017\n\007ta" +
      "sk_id\030\001 \001(\t\022\027\n\006status\030\002 \001(\0162\007.SIGNAL\"=\n\033" +
      "DownloadIntersectionRequest\022\017\n\007task_id\030\001",
      " \001(\t\022\r\n\005split\030\002 \001(\005\"\254\001\n\034DownloadIntersec" +
      "tionResponse\022\017\n\007task_id\030\001 \001(\t\022\027\n\006status\030" +
      "\002 \001(\0162\007.SIGNAL\022\r\n\005split\030\003 \001(\005\022\021\n\tnum_spl" +
      "it\030\004 \001(\005\022\024\n\014split_length\030\005 \001(\005\022\024\n\014total_" +
      "length\030\006 \001(\005\022\024\n\014intersection\030\007 \003(\t2\300\001\n\nP" +
      "SIService\022%\n\007getSalt\022\014.SaltRequest\032\n.Sal" +
      "tReply\"\000\0224\n\tuploadSet\022\021.UploadSetRequest" +
      "\032\022.UploadSetResponse\"\000\022U\n\024downloadInters" +
      "ection\022\034.DownloadIntersectionRequest\032\035.D" +
      "ownloadIntersectionResponse\"\000B;\n(com.int",
      "el.analytics.bigdl.ppml.generatedB\017PSISe" +
      "rviceProtob\006proto3"
    };
    com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
        new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
          public com.google.protobuf.ExtensionRegistry assignDescriptors(
              com.google.protobuf.Descriptors.FileDescriptor root) {
            descriptor = root;
            return null;
          }
        };
    com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          FlBaseProto.getDescriptor(),
        }, assigner);
    internal_static_SaltRequest_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_SaltRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_SaltRequest_descriptor,
        new String[] { "TaskId", "ClientNum", "SecureCode", });
    internal_static_SaltReply_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_SaltReply_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_SaltReply_descriptor,
        new String[] { "SaltReply", });
    internal_static_UploadSetRequest_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_UploadSetRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_UploadSetRequest_descriptor,
        new String[] { "TaskId", "ClientId", "Split", "NumSplit", "SplitLength", "TotalLength", "HashedID", });
    internal_static_UploadSetResponse_descriptor =
      getDescriptor().getMessageTypes().get(3);
    internal_static_UploadSetResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_UploadSetResponse_descriptor,
        new String[] { "TaskId", "Status", });
    internal_static_DownloadIntersectionRequest_descriptor =
      getDescriptor().getMessageTypes().get(4);
    internal_static_DownloadIntersectionRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_DownloadIntersectionRequest_descriptor,
        new String[] { "TaskId", "Split", });
    internal_static_DownloadIntersectionResponse_descriptor =
      getDescriptor().getMessageTypes().get(5);
    internal_static_DownloadIntersectionResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_DownloadIntersectionResponse_descriptor,
        new String[] { "TaskId", "Status", "Split", "NumSplit", "SplitLength", "TotalLength", "Intersection", });
    FlBaseProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
