content: /*
   * Tencent is pleased to support the open source community by making Angel available.
   *
   * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
   *
   * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
   * compliance with the License. You may obtain a copy of the License at
   *
   * https://opensource.org/licenses/Apache-2.0
   *
   * Unless required by applicable law or agreed to in writing, software distributed under the License
   * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
   * or implied. See the License for the specific language governing permissions and limitations under
   * the License.
   *
   */
  // Generated by the protocol buffer compiler.  DO NOT EDIT!
  // source: apis/session/session_service.proto
  
  package com.tencent.angel.serving.apis.session;
  
  public final class SessionServiceProtos {
    private SessionServiceProtos() {}
    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 SessionRunRequestOrBuilder extends
        // @@protoc_insertion_point(interface_extends:angel.serving.SessionRunRequest)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <pre>
       * Model Specification. If version is not specified, will use the latest
       * (numerical) version.
       * </pre>
       *
       * <code>.angel.serving.ModelSpec model_spec = 1;</code>
       */
      boolean hasModelSpec();
      /**
       * <pre>
       * Model Specification. If version is not specified, will use the latest
       * (numerical) version.
       * </pre>
       *
       * <code>.angel.serving.ModelSpec model_spec = 1;</code>
       */
      com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec getModelSpec();
      /**
       * <pre>
       * Model Specification. If version is not specified, will use the latest
       * (numerical) version.
       * </pre>
       *
       * <code>.angel.serving.ModelSpec model_spec = 1;</code>
       */
      com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpecOrBuilder getModelSpecOrBuilder();
  
      /**
       * <pre>
       * Tensors to be fed in the step. Each feed is a named tensor.
       * </pre>
       *
       * <code>repeated .angel.NamedTensorProto feed = 2;</code>
       */
      java.util.List<com.tencent.angel.config.NamedTensorProtos.NamedTensorProto> 
          getFeedList();
      /**
       * <pre>
       * Tensors to be fed in the step. Each feed is a named tensor.
       * </pre>
       *
       * <code>repeated .angel.NamedTensorProto feed = 2;</code>
       */
      com.tencent.angel.config.NamedTensorProtos.NamedTensorProto getFeed(int index);
      /**
       * <pre>
       * Tensors to be fed in the step. Each feed is a named tensor.
       * </pre>
       *
       * <code>repeated .angel.NamedTensorProto feed = 2;</code>
       */
      int getFeedCount();
      /**
       * <pre>
       * Tensors to be fed in the step. Each feed is a named tensor.
       * </pre>
       *
       * <code>repeated .angel.NamedTensorProto feed = 2;</code>
       */
      java.util.List<? extends com.tencent.angel.config.NamedTensorProtos.NamedTensorProtoOrBuilder> 
          getFeedOrBuilderList();
      /**
       * <pre>
       * Tensors to be fed in the step. Each feed is a named tensor.
       * </pre>
       *
       * <code>repeated .angel.NamedTensorProto feed = 2;</code>
       */
      com.tencent.angel.config.NamedTensorProtos.NamedTensorProtoOrBuilder getFeedOrBuilder(
          int index);
  
      /**
       * <pre>
       * Fetches. A list of tensor names. The caller expects a tensor to
       * be returned for each fetch[i] (see RunResponse.tensor). The
       * order of specified fetches does not change the execution order.
       * </pre>
       *
       * <code>repeated string fetch = 3;</code>
       */
      java.util.List<java.lang.String>
          getFetchList();
      /**
       * <pre>
       * Fetches. A list of tensor names. The caller expects a tensor to
       * be returned for each fetch[i] (see RunResponse.tensor). The
       * order of specified fetches does not change the execution order.
       * </pre>
       *
       * <code>repeated string fetch = 3;</code>
       */
      int getFetchCount();
      /**
       * <pre>
       * Fetches. A list of tensor names. The caller expects a tensor to
       * be returned for each fetch[i] (see RunResponse.tensor). The
       * order of specified fetches does not change the execution order.
       * </pre>
       *
       * <code>repeated string fetch = 3;</code>
       */
      java.lang.String getFetch(int index);
      /**
       * <pre>
       * Fetches. A list of tensor names. The caller expects a tensor to
       * be returned for each fetch[i] (see RunResponse.tensor). The
       * order of specified fetches does not change the execution order.
       * </pre>
       *
       * <code>repeated string fetch = 3;</code>
       */
      com.google.protobuf.ByteString
          getFetchBytes(int index);
  
      /**
       * <pre>
       * Target Nodes. A list of node names. The named nodes will be run
       * to but their outputs will not be fetched.
       * </pre>
       *
       * <code>repeated string target = 4;</code>
       */
      java.util.List<java.lang.String>
          getTargetList();
      /**
       * <pre>
       * Target Nodes. A list of node names. The named nodes will be run
       * to but their outputs will not be fetched.
       * </pre>
       *
       * <code>repeated string target = 4;</code>
       */
      int getTargetCount();
      /**
       * <pre>
       * Target Nodes. A list of node names. The named nodes will be run
       * to but their outputs will not be fetched.
       * </pre>
       *
       * <code>repeated string target = 4;</code>
       */
      java.lang.String getTarget(int index);
      /**
       * <pre>
       * Target Nodes. A list of node names. The named nodes will be run
       * to but their outputs will not be fetched.
       * </pre>
       *
       * <code>repeated string target = 4;</code>
       */
      com.google.protobuf.ByteString
          getTargetBytes(int index);
  
      /**
       * <pre>
       * Options for the run call. **Currently ignored.**
       * </pre>
       *
       * <code>.angel.RunOptions options = 5;</code>
       */
      boolean hasOptions();
      /**
       * <pre>
       * Options for the run call. **Currently ignored.**
       * </pre>
       *
       * <code>.angel.RunOptions options = 5;</code>
       */
      com.tencent.angel.config.ConfigProtos.RunOptions getOptions();
      /**
       * <pre>
       * Options for the run call. **Currently ignored.**
       * </pre>
       *
       * <code>.angel.RunOptions options = 5;</code>
       */
      com.tencent.angel.config.ConfigProtos.RunOptionsOrBuilder getOptionsOrBuilder();
    }
    /**
     * Protobuf type {@code angel.serving.SessionRunRequest}
     */
    public  static final class SessionRunRequest extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:angel.serving.SessionRunRequest)
        SessionRunRequestOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use SessionRunRequest.newBuilder() to construct.
      private SessionRunRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private SessionRunRequest() {
        feed_ = java.util.Collections.emptyList();
        fetch_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        target_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      }
  
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private SessionRunRequest(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        this();
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        int mutable_bitField0_ = 0;
        com.google.protobuf.UnknownFieldSet.Builder unknownFields =
            com.google.protobuf.UnknownFieldSet.newBuilder();
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              default: {
                if (!parseUnknownFieldProto3(
                    input, unknownFields, extensionRegistry, tag)) {
                  done = true;
                }
                break;
              }
              case 10: {
                com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.Builder subBuilder = null;
                if (modelSpec_ != null) {
                  subBuilder = modelSpec_.toBuilder();
                }
                modelSpec_ = input.readMessage(com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom(modelSpec_);
                  modelSpec_ = subBuilder.buildPartial();
                }
  
                break;
              }
              case 18: {
                if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
                  feed_ = new java.util.ArrayList<com.tencent.angel.config.NamedTensorProtos.NamedTensorProto>();
                  mutable_bitField0_ |= 0x00000002;
                }
                feed_.add(
                    input.readMessage(com.tencent.angel.config.NamedTensorProtos.NamedTensorProto.parser(), extensionRegistry));
                break;
              }
              case 26: {
                java.lang.String s = input.readStringRequireUtf8();
                if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
                  fetch_ = new com.google.protobuf.LazyStringArrayList();
                  mutable_bitField0_ |= 0x00000004;
                }
                fetch_.add(s);
                break;
              }
              case 34: {
                java.lang.String s = input.readStringRequireUtf8();
                if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
                  target_ = new com.google.protobuf.LazyStringArrayList();
                  mutable_bitField0_ |= 0x00000008;
                }
                target_.add(s);
                break;
              }
              case 42: {
                com.tencent.angel.config.ConfigProtos.RunOptions.Builder subBuilder = null;
                if (options_ != null) {
                  subBuilder = options_.toBuilder();
                }
                options_ = input.readMessage(com.tencent.angel.config.ConfigProtos.RunOptions.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom(options_);
                  options_ = subBuilder.buildPartial();
                }
  
                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_ & 0x00000002) == 0x00000002)) {
            feed_ = java.util.Collections.unmodifiableList(feed_);
          }
          if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
            fetch_ = fetch_.getUnmodifiableView();
          }
          if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
            target_ = target_.getUnmodifiableView();
          }
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.serving.apis.session.SessionServiceProtos.internal_static_angel_serving_SessionRunRequest_descriptor;
      }
  
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.serving.apis.session.SessionServiceProtos.internal_static_angel_serving_SessionRunRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest.class, com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest.Builder.class);
      }
  
      private int bitField0_;
      public static final int MODEL_SPEC_FIELD_NUMBER = 1;
      private com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec modelSpec_;
      /**
       * <pre>
       * Model Specification. If version is not specified, will use the latest
       * (numerical) version.
       * </pre>
       *
       * <code>.angel.serving.ModelSpec model_spec = 1;</code>
       */
      public boolean hasModelSpec() {
        return modelSpec_ != null;
      }
      /**
       * <pre>
       * Model Specification. If version is not specified, will use the latest
       * (numerical) version.
       * </pre>
       *
       * <code>.angel.serving.ModelSpec model_spec = 1;</code>
       */
      public com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec getModelSpec() {
        return modelSpec_ == null ? com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.getDefaultInstance() : modelSpec_;
      }
      /**
       * <pre>
       * Model Specification. If version is not specified, will use the latest
       * (numerical) version.
       * </pre>
       *
       * <code>.angel.serving.ModelSpec model_spec = 1;</code>
       */
      public com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpecOrBuilder getModelSpecOrBuilder() {
        return getModelSpec();
      }
  
      public static final int FEED_FIELD_NUMBER = 2;
      private java.util.List<com.tencent.angel.config.NamedTensorProtos.NamedTensorProto> feed_;
      /**
       * <pre>
       * Tensors to be fed in the step. Each feed is a named tensor.
       * </pre>
       *
       * <code>repeated .angel.NamedTensorProto feed = 2;</code>
       */
      public java.util.List<com.tencent.angel.config.NamedTensorProtos.NamedTensorProto> getFeedList() {
        return feed_;
      }
      /**
       * <pre>
       * Tensors to be fed in the step. Each feed is a named tensor.
       * </pre>
       *
       * <code>repeated .angel.NamedTensorProto feed = 2;</code>
       */
      public java.util.List<? extends com.tencent.angel.config.NamedTensorProtos.NamedTensorProtoOrBuilder> 
          getFeedOrBuilderList() {
        return feed_;
      }
      /**
       * <pre>
       * Tensors to be fed in the step. Each feed is a named tensor.
       * </pre>
       *
       * <code>repeated .angel.NamedTensorProto feed = 2;</code>
       */
      public int getFeedCount() {
        return feed_.size();
      }
      /**
       * <pre>
       * Tensors to be fed in the step. Each feed is a named tensor.
       * </pre>
       *
       * <code>repeated .angel.NamedTensorProto feed = 2;</code>
       */
      public com.tencent.angel.config.NamedTensorProtos.NamedTensorProto getFeed(int index) {
        return feed_.get(index);
      }
      /**
       * <pre>
       * Tensors to be fed in the step. Each feed is a named tensor.
       * </pre>
       *
       * <code>repeated .angel.NamedTensorProto feed = 2;</code>
       */
      public com.tencent.angel.config.NamedTensorProtos.NamedTensorProtoOrBuilder getFeedOrBuilder(
          int index) {
        return feed_.get(index);
      }
  
      public static final int FETCH_FIELD_NUMBER = 3;
      private com.google.protobuf.LazyStringList fetch_;
      /**
       * <pre>
       * Fetches. A list of tensor names. The caller expects a tensor to
       * be returned for each fetch[i] (see RunResponse.tensor). The
       * order of specified fetches does not change the execution order.
       * </pre>
       *
       * <code>repeated string fetch = 3;</code>
       */
      public com.google.protobuf.ProtocolStringList
          getFetchList() {
        return fetch_;
      }
      /**
       * <pre>
       * Fetches. A list of tensor names. The caller expects a tensor to
       * be returned for each fetch[i] (see RunResponse.tensor). The
       * order of specified fetches does not change the execution order.
       * </pre>
       *
       * <code>repeated string fetch = 3;</code>
       */
      public int getFetchCount() {
        return fetch_.size();
      }
      /**
       * <pre>
       * Fetches. A list of tensor names. The caller expects a tensor to
       * be returned for each fetch[i] (see RunResponse.tensor). The
       * order of specified fetches does not change the execution order.
       * </pre>
       *
       * <code>repeated string fetch = 3;</code>
       */
      public java.lang.String getFetch(int index) {
        return fetch_.get(index);
      }
      /**
       * <pre>
       * Fetches. A list of tensor names. The caller expects a tensor to
       * be returned for each fetch[i] (see RunResponse.tensor). The
       * order of specified fetches does not change the execution order.
       * </pre>
       *
       * <code>repeated string fetch = 3;</code>
       */
      public com.google.protobuf.ByteString
          getFetchBytes(int index) {
        return fetch_.getByteString(index);
      }
  
      public static final int TARGET_FIELD_NUMBER = 4;
      private com.google.protobuf.LazyStringList target_;
      /**
       * <pre>
       * Target Nodes. A list of node names. The named nodes will be run
       * to but their outputs will not be fetched.
       * </pre>
       *
       * <code>repeated string target = 4;</code>
       */
      public com.google.protobuf.ProtocolStringList
          getTargetList() {
        return target_;
      }
      /**
       * <pre>
       * Target Nodes. A list of node names. The named nodes will be run
       * to but their outputs will not be fetched.
       * </pre>
       *
       * <code>repeated string target = 4;</code>
       */
      public int getTargetCount() {
        return target_.size();
      }
      /**
       * <pre>
       * Target Nodes. A list of node names. The named nodes will be run
       * to but their outputs will not be fetched.
       * </pre>
       *
       * <code>repeated string target = 4;</code>
       */
      public java.lang.String getTarget(int index) {
        return target_.get(index);
      }
      /**
       * <pre>
       * Target Nodes. A list of node names. The named nodes will be run
       * to but their outputs will not be fetched.
       * </pre>
       *
       * <code>repeated string target = 4;</code>
       */
      public com.google.protobuf.ByteString
          getTargetBytes(int index) {
        return target_.getByteString(index);
      }
  
      public static final int OPTIONS_FIELD_NUMBER = 5;
      private com.tencent.angel.config.ConfigProtos.RunOptions options_;
      /**
       * <pre>
       * Options for the run call. **Currently ignored.**
       * </pre>
       *
       * <code>.angel.RunOptions options = 5;</code>
       */
      public boolean hasOptions() {
        return options_ != null;
      }
      /**
       * <pre>
       * Options for the run call. **Currently ignored.**
       * </pre>
       *
       * <code>.angel.RunOptions options = 5;</code>
       */
      public com.tencent.angel.config.ConfigProtos.RunOptions getOptions() {
        return options_ == null ? com.tencent.angel.config.ConfigProtos.RunOptions.getDefaultInstance() : options_;
      }
      /**
       * <pre>
       * Options for the run call. **Currently ignored.**
       * </pre>
       *
       * <code>.angel.RunOptions options = 5;</code>
       */
      public com.tencent.angel.config.ConfigProtos.RunOptionsOrBuilder getOptionsOrBuilder() {
        return getOptions();
      }
  
      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 (modelSpec_ != null) {
          output.writeMessage(1, getModelSpec());
        }
        for (int i = 0; i < feed_.size(); i++) {
          output.writeMessage(2, feed_.get(i));
        }
        for (int i = 0; i < fetch_.size(); i++) {
          com.google.protobuf.GeneratedMessageV3.writeString(output, 3, fetch_.getRaw(i));
        }
        for (int i = 0; i < target_.size(); i++) {
          com.google.protobuf.GeneratedMessageV3.writeString(output, 4, target_.getRaw(i));
        }
        if (options_ != null) {
          output.writeMessage(5, getOptions());
        }
        unknownFields.writeTo(output);
      }
  
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        if (modelSpec_ != null) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(1, getModelSpec());
        }
        for (int i = 0; i < feed_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(2, feed_.get(i));
        }
        {
          int dataSize = 0;
          for (int i = 0; i < fetch_.size(); i++) {
            dataSize += computeStringSizeNoTag(fetch_.getRaw(i));
          }
          size += dataSize;
          size += 1 * getFetchList().size();
        }
        {
          int dataSize = 0;
          for (int i = 0; i < target_.size(); i++) {
            dataSize += computeStringSizeNoTag(target_.getRaw(i));
          }
          size += dataSize;
          size += 1 * getTargetList().size();
        }
        if (options_ != null) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(5, getOptions());
        }
        size += unknownFields.getSerializedSize();
        memoizedSize = size;
        return size;
      }
  
      @java.lang.Override
      public boolean equals(final java.lang.Object obj) {
        if (obj == this) {
         return true;
        }
        if (!(obj instanceof com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest)) {
          return super.equals(obj);
        }
        com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest other = (com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest) obj;
  
        boolean result = true;
        result = result && (hasModelSpec() == other.hasModelSpec());
        if (hasModelSpec()) {
          result = result && getModelSpec()
              .equals(other.getModelSpec());
        }
        result = result && getFeedList()
            .equals(other.getFeedList());
        result = result && getFetchList()
            .equals(other.getFetchList());
        result = result && getTargetList()
            .equals(other.getTargetList());
        result = result && (hasOptions() == other.hasOptions());
        if (hasOptions()) {
          result = result && getOptions()
              .equals(other.getOptions());
        }
        result = result && unknownFields.equals(other.unknownFields);
        return result;
      }
  
      @java.lang.Override
      public int hashCode() {
        if (memoizedHashCode != 0) {
          return memoizedHashCode;
        }
        int hash = 41;
        hash = (19 * hash) + getDescriptor().hashCode();
        if (hasModelSpec()) {
          hash = (37 * hash) + MODEL_SPEC_FIELD_NUMBER;
          hash = (53 * hash) + getModelSpec().hashCode();
        }
        if (getFeedCount() > 0) {
          hash = (37 * hash) + FEED_FIELD_NUMBER;
          hash = (53 * hash) + getFeedList().hashCode();
        }
        if (getFetchCount() > 0) {
          hash = (37 * hash) + FETCH_FIELD_NUMBER;
          hash = (53 * hash) + getFetchList().hashCode();
        }
        if (getTargetCount() > 0) {
          hash = (37 * hash) + TARGET_FIELD_NUMBER;
          hash = (53 * hash) + getTargetList().hashCode();
        }
        if (hasOptions()) {
          hash = (37 * hash) + OPTIONS_FIELD_NUMBER;
          hash = (53 * hash) + getOptions().hashCode();
        }
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }
  
      public static com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest parseFrom(
          java.nio.ByteBuffer data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest parseFrom(
          com.google.protobuf.ByteString data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest 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 com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest 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 com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest 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(com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest prototype) {
        return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
      }
      public Builder toBuilder() {
        return this == DEFAULT_INSTANCE
            ? new Builder() : new Builder().mergeFrom(this);
      }
  
      @java.lang.Override
      protected Builder newBuilderForType(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /**
       * Protobuf type {@code angel.serving.SessionRunRequest}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:angel.serving.SessionRunRequest)
          com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequestOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.tencent.angel.serving.apis.session.SessionServiceProtos.internal_static_angel_serving_SessionRunRequest_descriptor;
        }
  
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.tencent.angel.serving.apis.session.SessionServiceProtos.internal_static_angel_serving_SessionRunRequest_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest.class, com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest.Builder.class);
        }
  
        // Construct using com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }
  
        private Builder(
            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          super(parent);
          maybeForceBuilderInitialization();
        }
        private void maybeForceBuilderInitialization() {
          if (com.google.protobuf.GeneratedMessageV3
                  .alwaysUseFieldBuilders) {
            getFeedFieldBuilder();
          }
        }
        public Builder clear() {
          super.clear();
          if (modelSpecBuilder_ == null) {
            modelSpec_ = null;
          } else {
            modelSpec_ = null;
            modelSpecBuilder_ = null;
          }
          if (feedBuilder_ == null) {
            feed_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            feedBuilder_.clear();
          }
          fetch_ = com.google.protobuf.LazyStringArrayList.EMPTY;
          bitField0_ = (bitField0_ & ~0x00000004);
          target_ = com.google.protobuf.LazyStringArrayList.EMPTY;
          bitField0_ = (bitField0_ & ~0x00000008);
          if (optionsBuilder_ == null) {
            options_ = null;
          } else {
            options_ = null;
            optionsBuilder_ = null;
          }
          return this;
        }
  
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return com.tencent.angel.serving.apis.session.SessionServiceProtos.internal_static_angel_serving_SessionRunRequest_descriptor;
        }
  
        public com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest getDefaultInstanceForType() {
          return com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest.getDefaultInstance();
        }
  
        public com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest build() {
          com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        public com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest buildPartial() {
          com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest result = new com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          if (modelSpecBuilder_ == null) {
            result.modelSpec_ = modelSpec_;
          } else {
            result.modelSpec_ = modelSpecBuilder_.build();
          }
          if (feedBuilder_ == null) {
            if (((bitField0_ & 0x00000002) == 0x00000002)) {
              feed_ = java.util.Collections.unmodifiableList(feed_);
              bitField0_ = (bitField0_ & ~0x00000002);
            }
            result.feed_ = feed_;
          } else {
            result.feed_ = feedBuilder_.build();
          }
          if (((bitField0_ & 0x00000004) == 0x00000004)) {
            fetch_ = fetch_.getUnmodifiableView();
            bitField0_ = (bitField0_ & ~0x00000004);
          }
          result.fetch_ = fetch_;
          if (((bitField0_ & 0x00000008) == 0x00000008)) {
            target_ = target_.getUnmodifiableView();
            bitField0_ = (bitField0_ & ~0x00000008);
          }
          result.target_ = target_;
          if (optionsBuilder_ == null) {
            result.options_ = options_;
          } else {
            result.options_ = optionsBuilder_.build();
          }
          result.bitField0_ = to_bitField0_;
          onBuilt();
          return result;
        }
  
        public Builder clone() {
          return (Builder) super.clone();
        }
        public Builder setField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            java.lang.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, java.lang.Object value) {
          return (Builder) super.setRepeatedField(field, index, value);
        }
        public Builder addRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            java.lang.Object value) {
          return (Builder) super.addRepeatedField(field, value);
        }
        public Builder mergeFrom(com.google.protobuf.Message other) {
          if (other instanceof com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest) {
            return mergeFrom((com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest other) {
          if (other == com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest.getDefaultInstance()) return this;
          if (other.hasModelSpec()) {
            mergeModelSpec(other.getModelSpec());
          }
          if (feedBuilder_ == null) {
            if (!other.feed_.isEmpty()) {
              if (feed_.isEmpty()) {
                feed_ = other.feed_;
                bitField0_ = (bitField0_ & ~0x00000002);
              } else {
                ensureFeedIsMutable();
                feed_.addAll(other.feed_);
              }
              onChanged();
            }
          } else {
            if (!other.feed_.isEmpty()) {
              if (feedBuilder_.isEmpty()) {
                feedBuilder_.dispose();
                feedBuilder_ = null;
                feed_ = other.feed_;
                bitField0_ = (bitField0_ & ~0x00000002);
                feedBuilder_ = 
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getFeedFieldBuilder() : null;
              } else {
                feedBuilder_.addAllMessages(other.feed_);
              }
            }
          }
          if (!other.fetch_.isEmpty()) {
            if (fetch_.isEmpty()) {
              fetch_ = other.fetch_;
              bitField0_ = (bitField0_ & ~0x00000004);
            } else {
              ensureFetchIsMutable();
              fetch_.addAll(other.fetch_);
            }
            onChanged();
          }
          if (!other.target_.isEmpty()) {
            if (target_.isEmpty()) {
              target_ = other.target_;
              bitField0_ = (bitField0_ & ~0x00000008);
            } else {
              ensureTargetIsMutable();
              target_.addAll(other.target_);
            }
            onChanged();
          }
          if (other.hasOptions()) {
            mergeOptions(other.getOptions());
          }
          this.mergeUnknownFields(other.unknownFields);
          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 {
          com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;
  
        private com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec modelSpec_ = null;
        private com.google.protobuf.SingleFieldBuilderV3<
            com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec, com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.Builder, com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpecOrBuilder> modelSpecBuilder_;
        /**
         * <pre>
         * Model Specification. If version is not specified, will use the latest
         * (numerical) version.
         * </pre>
         *
         * <code>.angel.serving.ModelSpec model_spec = 1;</code>
         */
        public boolean hasModelSpec() {
          return modelSpecBuilder_ != null || modelSpec_ != null;
        }
        /**
         * <pre>
         * Model Specification. If version is not specified, will use the latest
         * (numerical) version.
         * </pre>
         *
         * <code>.angel.serving.ModelSpec model_spec = 1;</code>
         */
        public com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec getModelSpec() {
          if (modelSpecBuilder_ == null) {
            return modelSpec_ == null ? com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.getDefaultInstance() : modelSpec_;
          } else {
            return modelSpecBuilder_.getMessage();
          }
        }
        /**
         * <pre>
         * Model Specification. If version is not specified, will use the latest
         * (numerical) version.
         * </pre>
         *
         * <code>.angel.serving.ModelSpec model_spec = 1;</code>
         */
        public Builder setModelSpec(com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec value) {
          if (modelSpecBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            modelSpec_ = value;
            onChanged();
          } else {
            modelSpecBuilder_.setMessage(value);
          }
  
          return this;
        }
        /**
         * <pre>
         * Model Specification. If version is not specified, will use the latest
         * (numerical) version.
         * </pre>
         *
         * <code>.angel.serving.ModelSpec model_spec = 1;</code>
         */
        public Builder setModelSpec(
            com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.Builder builderForValue) {
          if (modelSpecBuilder_ == null) {
            modelSpec_ = builderForValue.build();
            onChanged();
          } else {
            modelSpecBuilder_.setMessage(builderForValue.build());
          }
  
          return this;
        }
        /**
         * <pre>
         * Model Specification. If version is not specified, will use the latest
         * (numerical) version.
         * </pre>
         *
         * <code>.angel.serving.ModelSpec model_spec = 1;</code>
         */
        public Builder mergeModelSpec(com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec value) {
          if (modelSpecBuilder_ == null) {
            if (modelSpec_ != null) {
              modelSpec_ =
                com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.newBuilder(modelSpec_).mergeFrom(value).buildPartial();
            } else {
              modelSpec_ = value;
            }
            onChanged();
          } else {
            modelSpecBuilder_.mergeFrom(value);
          }
  
          return this;
        }
        /**
         * <pre>
         * Model Specification. If version is not specified, will use the latest
         * (numerical) version.
         * </pre>
         *
         * <code>.angel.serving.ModelSpec model_spec = 1;</code>
         */
        public Builder clearModelSpec() {
          if (modelSpecBuilder_ == null) {
            modelSpec_ = null;
            onChanged();
          } else {
            modelSpec_ = null;
            modelSpecBuilder_ = null;
          }
  
          return this;
        }
        /**
         * <pre>
         * Model Specification. If version is not specified, will use the latest
         * (numerical) version.
         * </pre>
         *
         * <code>.angel.serving.ModelSpec model_spec = 1;</code>
         */
        public com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.Builder getModelSpecBuilder() {
          
          onChanged();
          return getModelSpecFieldBuilder().getBuilder();
        }
        /**
         * <pre>
         * Model Specification. If version is not specified, will use the latest
         * (numerical) version.
         * </pre>
         *
         * <code>.angel.serving.ModelSpec model_spec = 1;</code>
         */
        public com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpecOrBuilder getModelSpecOrBuilder() {
          if (modelSpecBuilder_ != null) {
            return modelSpecBuilder_.getMessageOrBuilder();
          } else {
            return modelSpec_ == null ?
                com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.getDefaultInstance() : modelSpec_;
          }
        }
        /**
         * <pre>
         * Model Specification. If version is not specified, will use the latest
         * (numerical) version.
         * </pre>
         *
         * <code>.angel.serving.ModelSpec model_spec = 1;</code>
         */
        private com.google.protobuf.SingleFieldBuilderV3<
            com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec, com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.Builder, com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpecOrBuilder> 
            getModelSpecFieldBuilder() {
          if (modelSpecBuilder_ == null) {
            modelSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec, com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.Builder, com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpecOrBuilder>(
                    getModelSpec(),
                    getParentForChildren(),
                    isClean());
            modelSpec_ = null;
          }
          return modelSpecBuilder_;
        }
  
        private java.util.List<com.tencent.angel.config.NamedTensorProtos.NamedTensorProto> feed_ =
          java.util.Collections.emptyList();
        private void ensureFeedIsMutable() {
          if (!((bitField0_ & 0x00000002) == 0x00000002)) {
            feed_ = new java.util.ArrayList<com.tencent.angel.config.NamedTensorProtos.NamedTensorProto>(feed_);
            bitField0_ |= 0x00000002;
           }
        }
  
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.tencent.angel.config.NamedTensorProtos.NamedTensorProto, com.tencent.angel.config.NamedTensorProtos.NamedTensorProto.Builder, com.tencent.angel.config.NamedTensorProtos.NamedTensorProtoOrBuilder> feedBuilder_;
  
        /**
         * <pre>
         * Tensors to be fed in the step. Each feed is a named tensor.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto feed = 2;</code>
         */
        public java.util.List<com.tencent.angel.config.NamedTensorProtos.NamedTensorProto> getFeedList() {
          if (feedBuilder_ == null) {
            return java.util.Collections.unmodifiableList(feed_);
          } else {
            return feedBuilder_.getMessageList();
          }
        }
        /**
         * <pre>
         * Tensors to be fed in the step. Each feed is a named tensor.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto feed = 2;</code>
         */
        public int getFeedCount() {
          if (feedBuilder_ == null) {
            return feed_.size();
          } else {
            return feedBuilder_.getCount();
          }
        }
        /**
         * <pre>
         * Tensors to be fed in the step. Each feed is a named tensor.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto feed = 2;</code>
         */
        public com.tencent.angel.config.NamedTensorProtos.NamedTensorProto getFeed(int index) {
          if (feedBuilder_ == null) {
            return feed_.get(index);
          } else {
            return feedBuilder_.getMessage(index);
          }
        }
        /**
         * <pre>
         * Tensors to be fed in the step. Each feed is a named tensor.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto feed = 2;</code>
         */
        public Builder setFeed(
            int index, com.tencent.angel.config.NamedTensorProtos.NamedTensorProto value) {
          if (feedBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureFeedIsMutable();
            feed_.set(index, value);
            onChanged();
          } else {
            feedBuilder_.setMessage(index, value);
          }
          return this;
        }
        /**
         * <pre>
         * Tensors to be fed in the step. Each feed is a named tensor.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto feed = 2;</code>
         */
        public Builder setFeed(
            int index, com.tencent.angel.config.NamedTensorProtos.NamedTensorProto.Builder builderForValue) {
          if (feedBuilder_ == null) {
            ensureFeedIsMutable();
            feed_.set(index, builderForValue.build());
            onChanged();
          } else {
            feedBuilder_.setMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <pre>
         * Tensors to be fed in the step. Each feed is a named tensor.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto feed = 2;</code>
         */
        public Builder addFeed(com.tencent.angel.config.NamedTensorProtos.NamedTensorProto value) {
          if (feedBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureFeedIsMutable();
            feed_.add(value);
            onChanged();
          } else {
            feedBuilder_.addMessage(value);
          }
          return this;
        }
        /**
         * <pre>
         * Tensors to be fed in the step. Each feed is a named tensor.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto feed = 2;</code>
         */
        public Builder addFeed(
            int index, com.tencent.angel.config.NamedTensorProtos.NamedTensorProto value) {
          if (feedBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureFeedIsMutable();
            feed_.add(index, value);
            onChanged();
          } else {
            feedBuilder_.addMessage(index, value);
          }
          return this;
        }
        /**
         * <pre>
         * Tensors to be fed in the step. Each feed is a named tensor.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto feed = 2;</code>
         */
        public Builder addFeed(
            com.tencent.angel.config.NamedTensorProtos.NamedTensorProto.Builder builderForValue) {
          if (feedBuilder_ == null) {
            ensureFeedIsMutable();
            feed_.add(builderForValue.build());
            onChanged();
          } else {
            feedBuilder_.addMessage(builderForValue.build());
          }
          return this;
        }
        /**
         * <pre>
         * Tensors to be fed in the step. Each feed is a named tensor.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto feed = 2;</code>
         */
        public Builder addFeed(
            int index, com.tencent.angel.config.NamedTensorProtos.NamedTensorProto.Builder builderForValue) {
          if (feedBuilder_ == null) {
            ensureFeedIsMutable();
            feed_.add(index, builderForValue.build());
            onChanged();
          } else {
            feedBuilder_.addMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <pre>
         * Tensors to be fed in the step. Each feed is a named tensor.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto feed = 2;</code>
         */
        public Builder addAllFeed(
            java.lang.Iterable<? extends com.tencent.angel.config.NamedTensorProtos.NamedTensorProto> values) {
          if (feedBuilder_ == null) {
            ensureFeedIsMutable();
            com.google.protobuf.AbstractMessageLite.Builder.addAll(
                values, feed_);
            onChanged();
          } else {
            feedBuilder_.addAllMessages(values);
          }
          return this;
        }
        /**
         * <pre>
         * Tensors to be fed in the step. Each feed is a named tensor.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto feed = 2;</code>
         */
        public Builder clearFeed() {
          if (feedBuilder_ == null) {
            feed_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000002);
            onChanged();
          } else {
            feedBuilder_.clear();
          }
          return this;
        }
        /**
         * <pre>
         * Tensors to be fed in the step. Each feed is a named tensor.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto feed = 2;</code>
         */
        public Builder removeFeed(int index) {
          if (feedBuilder_ == null) {
            ensureFeedIsMutable();
            feed_.remove(index);
            onChanged();
          } else {
            feedBuilder_.remove(index);
          }
          return this;
        }
        /**
         * <pre>
         * Tensors to be fed in the step. Each feed is a named tensor.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto feed = 2;</code>
         */
        public com.tencent.angel.config.NamedTensorProtos.NamedTensorProto.Builder getFeedBuilder(
            int index) {
          return getFeedFieldBuilder().getBuilder(index);
        }
        /**
         * <pre>
         * Tensors to be fed in the step. Each feed is a named tensor.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto feed = 2;</code>
         */
        public com.tencent.angel.config.NamedTensorProtos.NamedTensorProtoOrBuilder getFeedOrBuilder(
            int index) {
          if (feedBuilder_ == null) {
            return feed_.get(index);  } else {
            return feedBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         * <pre>
         * Tensors to be fed in the step. Each feed is a named tensor.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto feed = 2;</code>
         */
        public java.util.List<? extends com.tencent.angel.config.NamedTensorProtos.NamedTensorProtoOrBuilder> 
             getFeedOrBuilderList() {
          if (feedBuilder_ != null) {
            return feedBuilder_.getMessageOrBuilderList();
          } else {
            return java.util.Collections.unmodifiableList(feed_);
          }
        }
        /**
         * <pre>
         * Tensors to be fed in the step. Each feed is a named tensor.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto feed = 2;</code>
         */
        public com.tencent.angel.config.NamedTensorProtos.NamedTensorProto.Builder addFeedBuilder() {
          return getFeedFieldBuilder().addBuilder(
              com.tencent.angel.config.NamedTensorProtos.NamedTensorProto.getDefaultInstance());
        }
        /**
         * <pre>
         * Tensors to be fed in the step. Each feed is a named tensor.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto feed = 2;</code>
         */
        public com.tencent.angel.config.NamedTensorProtos.NamedTensorProto.Builder addFeedBuilder(
            int index) {
          return getFeedFieldBuilder().addBuilder(
              index, com.tencent.angel.config.NamedTensorProtos.NamedTensorProto.getDefaultInstance());
        }
        /**
         * <pre>
         * Tensors to be fed in the step. Each feed is a named tensor.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto feed = 2;</code>
         */
        public java.util.List<com.tencent.angel.config.NamedTensorProtos.NamedTensorProto.Builder> 
             getFeedBuilderList() {
          return getFeedFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.tencent.angel.config.NamedTensorProtos.NamedTensorProto, com.tencent.angel.config.NamedTensorProtos.NamedTensorProto.Builder, com.tencent.angel.config.NamedTensorProtos.NamedTensorProtoOrBuilder> 
            getFeedFieldBuilder() {
          if (feedBuilder_ == null) {
            feedBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                com.tencent.angel.config.NamedTensorProtos.NamedTensorProto, com.tencent.angel.config.NamedTensorProtos.NamedTensorProto.Builder, com.tencent.angel.config.NamedTensorProtos.NamedTensorProtoOrBuilder>(
                    feed_,
                    ((bitField0_ & 0x00000002) == 0x00000002),
                    getParentForChildren(),
                    isClean());
            feed_ = null;
          }
          return feedBuilder_;
        }
  
        private com.google.protobuf.LazyStringList fetch_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        private void ensureFetchIsMutable() {
          if (!((bitField0_ & 0x00000004) == 0x00000004)) {
            fetch_ = new com.google.protobuf.LazyStringArrayList(fetch_);
            bitField0_ |= 0x00000004;
           }
        }
        /**
         * <pre>
         * Fetches. A list of tensor names. The caller expects a tensor to
         * be returned for each fetch[i] (see RunResponse.tensor). The
         * order of specified fetches does not change the execution order.
         * </pre>
         *
         * <code>repeated string fetch = 3;</code>
         */
        public com.google.protobuf.ProtocolStringList
            getFetchList() {
          return fetch_.getUnmodifiableView();
        }
        /**
         * <pre>
         * Fetches. A list of tensor names. The caller expects a tensor to
         * be returned for each fetch[i] (see RunResponse.tensor). The
         * order of specified fetches does not change the execution order.
         * </pre>
         *
         * <code>repeated string fetch = 3;</code>
         */
        public int getFetchCount() {
          return fetch_.size();
        }
        /**
         * <pre>
         * Fetches. A list of tensor names. The caller expects a tensor to
         * be returned for each fetch[i] (see RunResponse.tensor). The
         * order of specified fetches does not change the execution order.
         * </pre>
         *
         * <code>repeated string fetch = 3;</code>
         */
        public java.lang.String getFetch(int index) {
          return fetch_.get(index);
        }
        /**
         * <pre>
         * Fetches. A list of tensor names. The caller expects a tensor to
         * be returned for each fetch[i] (see RunResponse.tensor). The
         * order of specified fetches does not change the execution order.
         * </pre>
         *
         * <code>repeated string fetch = 3;</code>
         */
        public com.google.protobuf.ByteString
            getFetchBytes(int index) {
          return fetch_.getByteString(index);
        }
        /**
         * <pre>
         * Fetches. A list of tensor names. The caller expects a tensor to
         * be returned for each fetch[i] (see RunResponse.tensor). The
         * order of specified fetches does not change the execution order.
         * </pre>
         *
         * <code>repeated string fetch = 3;</code>
         */
        public Builder setFetch(
            int index, java.lang.String value) {
          if (value == null) {
      throw new NullPointerException();
    }
    ensureFetchIsMutable();
          fetch_.set(index, value);
          onChanged();
          return this;
        }
        /**
         * <pre>
         * Fetches. A list of tensor names. The caller expects a tensor to
         * be returned for each fetch[i] (see RunResponse.tensor). The
         * order of specified fetches does not change the execution order.
         * </pre>
         *
         * <code>repeated string fetch = 3;</code>
         */
        public Builder addFetch(
            java.lang.String value) {
          if (value == null) {
      throw new NullPointerException();
    }
    ensureFetchIsMutable();
          fetch_.add(value);
          onChanged();
          return this;
        }
        /**
         * <pre>
         * Fetches. A list of tensor names. The caller expects a tensor to
         * be returned for each fetch[i] (see RunResponse.tensor). The
         * order of specified fetches does not change the execution order.
         * </pre>
         *
         * <code>repeated string fetch = 3;</code>
         */
        public Builder addAllFetch(
            java.lang.Iterable<java.lang.String> values) {
          ensureFetchIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, fetch_);
          onChanged();
          return this;
        }
        /**
         * <pre>
         * Fetches. A list of tensor names. The caller expects a tensor to
         * be returned for each fetch[i] (see RunResponse.tensor). The
         * order of specified fetches does not change the execution order.
         * </pre>
         *
         * <code>repeated string fetch = 3;</code>
         */
        public Builder clearFetch() {
          fetch_ = com.google.protobuf.LazyStringArrayList.EMPTY;
          bitField0_ = (bitField0_ & ~0x00000004);
          onChanged();
          return this;
        }
        /**
         * <pre>
         * Fetches. A list of tensor names. The caller expects a tensor to
         * be returned for each fetch[i] (see RunResponse.tensor). The
         * order of specified fetches does not change the execution order.
         * </pre>
         *
         * <code>repeated string fetch = 3;</code>
         */
        public Builder addFetchBytes(
            com.google.protobuf.ByteString value) {
          if (value == null) {
      throw new NullPointerException();
    }
    checkByteStringIsUtf8(value);
          ensureFetchIsMutable();
          fetch_.add(value);
          onChanged();
          return this;
        }
  
        private com.google.protobuf.LazyStringList target_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        private void ensureTargetIsMutable() {
          if (!((bitField0_ & 0x00000008) == 0x00000008)) {
            target_ = new com.google.protobuf.LazyStringArrayList(target_);
            bitField0_ |= 0x00000008;
           }
        }
        /**
         * <pre>
         * Target Nodes. A list of node names. The named nodes will be run
         * to but their outputs will not be fetched.
         * </pre>
         *
         * <code>repeated string target = 4;</code>
         */
        public com.google.protobuf.ProtocolStringList
            getTargetList() {
          return target_.getUnmodifiableView();
        }
        /**
         * <pre>
         * Target Nodes. A list of node names. The named nodes will be run
         * to but their outputs will not be fetched.
         * </pre>
         *
         * <code>repeated string target = 4;</code>
         */
        public int getTargetCount() {
          return target_.size();
        }
        /**
         * <pre>
         * Target Nodes. A list of node names. The named nodes will be run
         * to but their outputs will not be fetched.
         * </pre>
         *
         * <code>repeated string target = 4;</code>
         */
        public java.lang.String getTarget(int index) {
          return target_.get(index);
        }
        /**
         * <pre>
         * Target Nodes. A list of node names. The named nodes will be run
         * to but their outputs will not be fetched.
         * </pre>
         *
         * <code>repeated string target = 4;</code>
         */
        public com.google.protobuf.ByteString
            getTargetBytes(int index) {
          return target_.getByteString(index);
        }
        /**
         * <pre>
         * Target Nodes. A list of node names. The named nodes will be run
         * to but their outputs will not be fetched.
         * </pre>
         *
         * <code>repeated string target = 4;</code>
         */
        public Builder setTarget(
            int index, java.lang.String value) {
          if (value == null) {
      throw new NullPointerException();
    }
    ensureTargetIsMutable();
          target_.set(index, value);
          onChanged();
          return this;
        }
        /**
         * <pre>
         * Target Nodes. A list of node names. The named nodes will be run
         * to but their outputs will not be fetched.
         * </pre>
         *
         * <code>repeated string target = 4;</code>
         */
        public Builder addTarget(
            java.lang.String value) {
          if (value == null) {
      throw new NullPointerException();
    }
    ensureTargetIsMutable();
          target_.add(value);
          onChanged();
          return this;
        }
        /**
         * <pre>
         * Target Nodes. A list of node names. The named nodes will be run
         * to but their outputs will not be fetched.
         * </pre>
         *
         * <code>repeated string target = 4;</code>
         */
        public Builder addAllTarget(
            java.lang.Iterable<java.lang.String> values) {
          ensureTargetIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, target_);
          onChanged();
          return this;
        }
        /**
         * <pre>
         * Target Nodes. A list of node names. The named nodes will be run
         * to but their outputs will not be fetched.
         * </pre>
         *
         * <code>repeated string target = 4;</code>
         */
        public Builder clearTarget() {
          target_ = com.google.protobuf.LazyStringArrayList.EMPTY;
          bitField0_ = (bitField0_ & ~0x00000008);
          onChanged();
          return this;
        }
        /**
         * <pre>
         * Target Nodes. A list of node names. The named nodes will be run
         * to but their outputs will not be fetched.
         * </pre>
         *
         * <code>repeated string target = 4;</code>
         */
        public Builder addTargetBytes(
            com.google.protobuf.ByteString value) {
          if (value == null) {
      throw new NullPointerException();
    }
    checkByteStringIsUtf8(value);
          ensureTargetIsMutable();
          target_.add(value);
          onChanged();
          return this;
        }
  
        private com.tencent.angel.config.ConfigProtos.RunOptions options_ = null;
        private com.google.protobuf.SingleFieldBuilderV3<
            com.tencent.angel.config.ConfigProtos.RunOptions, com.tencent.angel.config.ConfigProtos.RunOptions.Builder, com.tencent.angel.config.ConfigProtos.RunOptionsOrBuilder> optionsBuilder_;
        /**
         * <pre>
         * Options for the run call. **Currently ignored.**
         * </pre>
         *
         * <code>.angel.RunOptions options = 5;</code>
         */
        public boolean hasOptions() {
          return optionsBuilder_ != null || options_ != null;
        }
        /**
         * <pre>
         * Options for the run call. **Currently ignored.**
         * </pre>
         *
         * <code>.angel.RunOptions options = 5;</code>
         */
        public com.tencent.angel.config.ConfigProtos.RunOptions getOptions() {
          if (optionsBuilder_ == null) {
            return options_ == null ? com.tencent.angel.config.ConfigProtos.RunOptions.getDefaultInstance() : options_;
          } else {
            return optionsBuilder_.getMessage();
          }
        }
        /**
         * <pre>
         * Options for the run call. **Currently ignored.**
         * </pre>
         *
         * <code>.angel.RunOptions options = 5;</code>
         */
        public Builder setOptions(com.tencent.angel.config.ConfigProtos.RunOptions value) {
          if (optionsBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            options_ = value;
            onChanged();
          } else {
            optionsBuilder_.setMessage(value);
          }
  
          return this;
        }
        /**
         * <pre>
         * Options for the run call. **Currently ignored.**
         * </pre>
         *
         * <code>.angel.RunOptions options = 5;</code>
         */
        public Builder setOptions(
            com.tencent.angel.config.ConfigProtos.RunOptions.Builder builderForValue) {
          if (optionsBuilder_ == null) {
            options_ = builderForValue.build();
            onChanged();
          } else {
            optionsBuilder_.setMessage(builderForValue.build());
          }
  
          return this;
        }
        /**
         * <pre>
         * Options for the run call. **Currently ignored.**
         * </pre>
         *
         * <code>.angel.RunOptions options = 5;</code>
         */
        public Builder mergeOptions(com.tencent.angel.config.ConfigProtos.RunOptions value) {
          if (optionsBuilder_ == null) {
            if (options_ != null) {
              options_ =
                com.tencent.angel.config.ConfigProtos.RunOptions.newBuilder(options_).mergeFrom(value).buildPartial();
            } else {
              options_ = value;
            }
            onChanged();
          } else {
            optionsBuilder_.mergeFrom(value);
          }
  
          return this;
        }
        /**
         * <pre>
         * Options for the run call. **Currently ignored.**
         * </pre>
         *
         * <code>.angel.RunOptions options = 5;</code>
         */
        public Builder clearOptions() {
          if (optionsBuilder_ == null) {
            options_ = null;
            onChanged();
          } else {
            options_ = null;
            optionsBuilder_ = null;
          }
  
          return this;
        }
        /**
         * <pre>
         * Options for the run call. **Currently ignored.**
         * </pre>
         *
         * <code>.angel.RunOptions options = 5;</code>
         */
        public com.tencent.angel.config.ConfigProtos.RunOptions.Builder getOptionsBuilder() {
          
          onChanged();
          return getOptionsFieldBuilder().getBuilder();
        }
        /**
         * <pre>
         * Options for the run call. **Currently ignored.**
         * </pre>
         *
         * <code>.angel.RunOptions options = 5;</code>
         */
        public com.tencent.angel.config.ConfigProtos.RunOptionsOrBuilder getOptionsOrBuilder() {
          if (optionsBuilder_ != null) {
            return optionsBuilder_.getMessageOrBuilder();
          } else {
            return options_ == null ?
                com.tencent.angel.config.ConfigProtos.RunOptions.getDefaultInstance() : options_;
          }
        }
        /**
         * <pre>
         * Options for the run call. **Currently ignored.**
         * </pre>
         *
         * <code>.angel.RunOptions options = 5;</code>
         */
        private com.google.protobuf.SingleFieldBuilderV3<
            com.tencent.angel.config.ConfigProtos.RunOptions, com.tencent.angel.config.ConfigProtos.RunOptions.Builder, com.tencent.angel.config.ConfigProtos.RunOptionsOrBuilder> 
            getOptionsFieldBuilder() {
          if (optionsBuilder_ == null) {
            optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                com.tencent.angel.config.ConfigProtos.RunOptions, com.tencent.angel.config.ConfigProtos.RunOptions.Builder, com.tencent.angel.config.ConfigProtos.RunOptionsOrBuilder>(
                    getOptions(),
                    getParentForChildren(),
                    isClean());
            options_ = null;
          }
          return optionsBuilder_;
        }
        public final Builder setUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.setUnknownFieldsProto3(unknownFields);
        }
  
        public final Builder mergeUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.mergeUnknownFields(unknownFields);
        }
  
  
        // @@protoc_insertion_point(builder_scope:angel.serving.SessionRunRequest)
      }
  
      // @@protoc_insertion_point(class_scope:angel.serving.SessionRunRequest)
      private static final com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest();
      }
  
      public static com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }
  
      private static final com.google.protobuf.Parser<SessionRunRequest>
          PARSER = new com.google.protobuf.AbstractParser<SessionRunRequest>() {
        public SessionRunRequest parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new SessionRunRequest(input, extensionRegistry);
        }
      };
  
      public static com.google.protobuf.Parser<SessionRunRequest> parser() {
        return PARSER;
      }
  
      @java.lang.Override
      public com.google.protobuf.Parser<SessionRunRequest> getParserForType() {
        return PARSER;
      }
  
      public com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunRequest getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    public interface SessionRunResponseOrBuilder extends
        // @@protoc_insertion_point(interface_extends:angel.serving.SessionRunResponse)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <pre>
       * NOTE: The order of the returned tensors may or may not match
       * the fetch order specified in RunRequest.
       * </pre>
       *
       * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
       */
      java.util.List<com.tencent.angel.config.NamedTensorProtos.NamedTensorProto> 
          getTensorList();
      /**
       * <pre>
       * NOTE: The order of the returned tensors may or may not match
       * the fetch order specified in RunRequest.
       * </pre>
       *
       * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
       */
      com.tencent.angel.config.NamedTensorProtos.NamedTensorProto getTensor(int index);
      /**
       * <pre>
       * NOTE: The order of the returned tensors may or may not match
       * the fetch order specified in RunRequest.
       * </pre>
       *
       * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
       */
      int getTensorCount();
      /**
       * <pre>
       * NOTE: The order of the returned tensors may or may not match
       * the fetch order specified in RunRequest.
       * </pre>
       *
       * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
       */
      java.util.List<? extends com.tencent.angel.config.NamedTensorProtos.NamedTensorProtoOrBuilder> 
          getTensorOrBuilderList();
      /**
       * <pre>
       * NOTE: The order of the returned tensors may or may not match
       * the fetch order specified in RunRequest.
       * </pre>
       *
       * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
       */
      com.tencent.angel.config.NamedTensorProtos.NamedTensorProtoOrBuilder getTensorOrBuilder(
          int index);
  
      /**
       * <pre>
       * Returned metadata if requested in the options.
       * </pre>
       *
       * <code>.angel.RunMetadata metadata = 2;</code>
       */
      boolean hasMetadata();
      /**
       * <pre>
       * Returned metadata if requested in the options.
       * </pre>
       *
       * <code>.angel.RunMetadata metadata = 2;</code>
       */
      com.tencent.angel.config.ConfigProtos.RunMetadata getMetadata();
      /**
       * <pre>
       * Returned metadata if requested in the options.
       * </pre>
       *
       * <code>.angel.RunMetadata metadata = 2;</code>
       */
      com.tencent.angel.config.ConfigProtos.RunMetadataOrBuilder getMetadataOrBuilder();
    }
    /**
     * Protobuf type {@code angel.serving.SessionRunResponse}
     */
    public  static final class SessionRunResponse extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:angel.serving.SessionRunResponse)
        SessionRunResponseOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use SessionRunResponse.newBuilder() to construct.
      private SessionRunResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private SessionRunResponse() {
        tensor_ = java.util.Collections.emptyList();
      }
  
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private SessionRunResponse(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        this();
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        int mutable_bitField0_ = 0;
        com.google.protobuf.UnknownFieldSet.Builder unknownFields =
            com.google.protobuf.UnknownFieldSet.newBuilder();
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              default: {
                if (!parseUnknownFieldProto3(
                    input, unknownFields, extensionRegistry, tag)) {
                  done = true;
                }
                break;
              }
              case 10: {
                if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                  tensor_ = new java.util.ArrayList<com.tencent.angel.config.NamedTensorProtos.NamedTensorProto>();
                  mutable_bitField0_ |= 0x00000001;
                }
                tensor_.add(
                    input.readMessage(com.tencent.angel.config.NamedTensorProtos.NamedTensorProto.parser(), extensionRegistry));
                break;
              }
              case 18: {
                com.tencent.angel.config.ConfigProtos.RunMetadata.Builder subBuilder = null;
                if (metadata_ != null) {
                  subBuilder = metadata_.toBuilder();
                }
                metadata_ = input.readMessage(com.tencent.angel.config.ConfigProtos.RunMetadata.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom(metadata_);
                  metadata_ = subBuilder.buildPartial();
                }
  
                break;
              }
            }
          }
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(this);
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(
              e).setUnfinishedMessage(this);
        } finally {
          if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
            tensor_ = java.util.Collections.unmodifiableList(tensor_);
          }
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.serving.apis.session.SessionServiceProtos.internal_static_angel_serving_SessionRunResponse_descriptor;
      }
  
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.serving.apis.session.SessionServiceProtos.internal_static_angel_serving_SessionRunResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse.class, com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse.Builder.class);
      }
  
      private int bitField0_;
      public static final int TENSOR_FIELD_NUMBER = 1;
      private java.util.List<com.tencent.angel.config.NamedTensorProtos.NamedTensorProto> tensor_;
      /**
       * <pre>
       * NOTE: The order of the returned tensors may or may not match
       * the fetch order specified in RunRequest.
       * </pre>
       *
       * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
       */
      public java.util.List<com.tencent.angel.config.NamedTensorProtos.NamedTensorProto> getTensorList() {
        return tensor_;
      }
      /**
       * <pre>
       * NOTE: The order of the returned tensors may or may not match
       * the fetch order specified in RunRequest.
       * </pre>
       *
       * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
       */
      public java.util.List<? extends com.tencent.angel.config.NamedTensorProtos.NamedTensorProtoOrBuilder> 
          getTensorOrBuilderList() {
        return tensor_;
      }
      /**
       * <pre>
       * NOTE: The order of the returned tensors may or may not match
       * the fetch order specified in RunRequest.
       * </pre>
       *
       * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
       */
      public int getTensorCount() {
        return tensor_.size();
      }
      /**
       * <pre>
       * NOTE: The order of the returned tensors may or may not match
       * the fetch order specified in RunRequest.
       * </pre>
       *
       * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
       */
      public com.tencent.angel.config.NamedTensorProtos.NamedTensorProto getTensor(int index) {
        return tensor_.get(index);
      }
      /**
       * <pre>
       * NOTE: The order of the returned tensors may or may not match
       * the fetch order specified in RunRequest.
       * </pre>
       *
       * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
       */
      public com.tencent.angel.config.NamedTensorProtos.NamedTensorProtoOrBuilder getTensorOrBuilder(
          int index) {
        return tensor_.get(index);
      }
  
      public static final int METADATA_FIELD_NUMBER = 2;
      private com.tencent.angel.config.ConfigProtos.RunMetadata metadata_;
      /**
       * <pre>
       * Returned metadata if requested in the options.
       * </pre>
       *
       * <code>.angel.RunMetadata metadata = 2;</code>
       */
      public boolean hasMetadata() {
        return metadata_ != null;
      }
      /**
       * <pre>
       * Returned metadata if requested in the options.
       * </pre>
       *
       * <code>.angel.RunMetadata metadata = 2;</code>
       */
      public com.tencent.angel.config.ConfigProtos.RunMetadata getMetadata() {
        return metadata_ == null ? com.tencent.angel.config.ConfigProtos.RunMetadata.getDefaultInstance() : metadata_;
      }
      /**
       * <pre>
       * Returned metadata if requested in the options.
       * </pre>
       *
       * <code>.angel.RunMetadata metadata = 2;</code>
       */
      public com.tencent.angel.config.ConfigProtos.RunMetadataOrBuilder getMetadataOrBuilder() {
        return getMetadata();
      }
  
      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 {
        for (int i = 0; i < tensor_.size(); i++) {
          output.writeMessage(1, tensor_.get(i));
        }
        if (metadata_ != null) {
          output.writeMessage(2, getMetadata());
        }
        unknownFields.writeTo(output);
      }
  
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        for (int i = 0; i < tensor_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(1, tensor_.get(i));
        }
        if (metadata_ != null) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(2, getMetadata());
        }
        size += unknownFields.getSerializedSize();
        memoizedSize = size;
        return size;
      }
  
      @java.lang.Override
      public boolean equals(final java.lang.Object obj) {
        if (obj == this) {
         return true;
        }
        if (!(obj instanceof com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse)) {
          return super.equals(obj);
        }
        com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse other = (com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse) obj;
  
        boolean result = true;
        result = result && getTensorList()
            .equals(other.getTensorList());
        result = result && (hasMetadata() == other.hasMetadata());
        if (hasMetadata()) {
          result = result && getMetadata()
              .equals(other.getMetadata());
        }
        result = result && unknownFields.equals(other.unknownFields);
        return result;
      }
  
      @java.lang.Override
      public int hashCode() {
        if (memoizedHashCode != 0) {
          return memoizedHashCode;
        }
        int hash = 41;
        hash = (19 * hash) + getDescriptor().hashCode();
        if (getTensorCount() > 0) {
          hash = (37 * hash) + TENSOR_FIELD_NUMBER;
          hash = (53 * hash) + getTensorList().hashCode();
        }
        if (hasMetadata()) {
          hash = (37 * hash) + METADATA_FIELD_NUMBER;
          hash = (53 * hash) + getMetadata().hashCode();
        }
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }
  
      public static com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse parseFrom(
          java.nio.ByteBuffer data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse parseFrom(
          com.google.protobuf.ByteString data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse 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 com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse 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 com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse 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(com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse prototype) {
        return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
      }
      public Builder toBuilder() {
        return this == DEFAULT_INSTANCE
            ? new Builder() : new Builder().mergeFrom(this);
      }
  
      @java.lang.Override
      protected Builder newBuilderForType(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /**
       * Protobuf type {@code angel.serving.SessionRunResponse}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:angel.serving.SessionRunResponse)
          com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponseOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.tencent.angel.serving.apis.session.SessionServiceProtos.internal_static_angel_serving_SessionRunResponse_descriptor;
        }
  
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.tencent.angel.serving.apis.session.SessionServiceProtos.internal_static_angel_serving_SessionRunResponse_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse.class, com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse.Builder.class);
        }
  
        // Construct using com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }
  
        private Builder(
            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          super(parent);
          maybeForceBuilderInitialization();
        }
        private void maybeForceBuilderInitialization() {
          if (com.google.protobuf.GeneratedMessageV3
                  .alwaysUseFieldBuilders) {
            getTensorFieldBuilder();
          }
        }
        public Builder clear() {
          super.clear();
          if (tensorBuilder_ == null) {
            tensor_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            tensorBuilder_.clear();
          }
          if (metadataBuilder_ == null) {
            metadata_ = null;
          } else {
            metadata_ = null;
            metadataBuilder_ = null;
          }
          return this;
        }
  
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return com.tencent.angel.serving.apis.session.SessionServiceProtos.internal_static_angel_serving_SessionRunResponse_descriptor;
        }
  
        public com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse getDefaultInstanceForType() {
          return com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse.getDefaultInstance();
        }
  
        public com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse build() {
          com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        public com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse buildPartial() {
          com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse result = new com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          if (tensorBuilder_ == null) {
            if (((bitField0_ & 0x00000001) == 0x00000001)) {
              tensor_ = java.util.Collections.unmodifiableList(tensor_);
              bitField0_ = (bitField0_ & ~0x00000001);
            }
            result.tensor_ = tensor_;
          } else {
            result.tensor_ = tensorBuilder_.build();
          }
          if (metadataBuilder_ == null) {
            result.metadata_ = metadata_;
          } else {
            result.metadata_ = metadataBuilder_.build();
          }
          result.bitField0_ = to_bitField0_;
          onBuilt();
          return result;
        }
  
        public Builder clone() {
          return (Builder) super.clone();
        }
        public Builder setField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            java.lang.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, java.lang.Object value) {
          return (Builder) super.setRepeatedField(field, index, value);
        }
        public Builder addRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            java.lang.Object value) {
          return (Builder) super.addRepeatedField(field, value);
        }
        public Builder mergeFrom(com.google.protobuf.Message other) {
          if (other instanceof com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse) {
            return mergeFrom((com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse other) {
          if (other == com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse.getDefaultInstance()) return this;
          if (tensorBuilder_ == null) {
            if (!other.tensor_.isEmpty()) {
              if (tensor_.isEmpty()) {
                tensor_ = other.tensor_;
                bitField0_ = (bitField0_ & ~0x00000001);
              } else {
                ensureTensorIsMutable();
                tensor_.addAll(other.tensor_);
              }
              onChanged();
            }
          } else {
            if (!other.tensor_.isEmpty()) {
              if (tensorBuilder_.isEmpty()) {
                tensorBuilder_.dispose();
                tensorBuilder_ = null;
                tensor_ = other.tensor_;
                bitField0_ = (bitField0_ & ~0x00000001);
                tensorBuilder_ = 
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getTensorFieldBuilder() : null;
              } else {
                tensorBuilder_.addAllMessages(other.tensor_);
              }
            }
          }
          if (other.hasMetadata()) {
            mergeMetadata(other.getMetadata());
          }
          this.mergeUnknownFields(other.unknownFields);
          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 {
          com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;
  
        private java.util.List<com.tencent.angel.config.NamedTensorProtos.NamedTensorProto> tensor_ =
          java.util.Collections.emptyList();
        private void ensureTensorIsMutable() {
          if (!((bitField0_ & 0x00000001) == 0x00000001)) {
            tensor_ = new java.util.ArrayList<com.tencent.angel.config.NamedTensorProtos.NamedTensorProto>(tensor_);
            bitField0_ |= 0x00000001;
           }
        }
  
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.tencent.angel.config.NamedTensorProtos.NamedTensorProto, com.tencent.angel.config.NamedTensorProtos.NamedTensorProto.Builder, com.tencent.angel.config.NamedTensorProtos.NamedTensorProtoOrBuilder> tensorBuilder_;
  
        /**
         * <pre>
         * NOTE: The order of the returned tensors may or may not match
         * the fetch order specified in RunRequest.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
         */
        public java.util.List<com.tencent.angel.config.NamedTensorProtos.NamedTensorProto> getTensorList() {
          if (tensorBuilder_ == null) {
            return java.util.Collections.unmodifiableList(tensor_);
          } else {
            return tensorBuilder_.getMessageList();
          }
        }
        /**
         * <pre>
         * NOTE: The order of the returned tensors may or may not match
         * the fetch order specified in RunRequest.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
         */
        public int getTensorCount() {
          if (tensorBuilder_ == null) {
            return tensor_.size();
          } else {
            return tensorBuilder_.getCount();
          }
        }
        /**
         * <pre>
         * NOTE: The order of the returned tensors may or may not match
         * the fetch order specified in RunRequest.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
         */
        public com.tencent.angel.config.NamedTensorProtos.NamedTensorProto getTensor(int index) {
          if (tensorBuilder_ == null) {
            return tensor_.get(index);
          } else {
            return tensorBuilder_.getMessage(index);
          }
        }
        /**
         * <pre>
         * NOTE: The order of the returned tensors may or may not match
         * the fetch order specified in RunRequest.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
         */
        public Builder setTensor(
            int index, com.tencent.angel.config.NamedTensorProtos.NamedTensorProto value) {
          if (tensorBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureTensorIsMutable();
            tensor_.set(index, value);
            onChanged();
          } else {
            tensorBuilder_.setMessage(index, value);
          }
          return this;
        }
        /**
         * <pre>
         * NOTE: The order of the returned tensors may or may not match
         * the fetch order specified in RunRequest.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
         */
        public Builder setTensor(
            int index, com.tencent.angel.config.NamedTensorProtos.NamedTensorProto.Builder builderForValue) {
          if (tensorBuilder_ == null) {
            ensureTensorIsMutable();
            tensor_.set(index, builderForValue.build());
            onChanged();
          } else {
            tensorBuilder_.setMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <pre>
         * NOTE: The order of the returned tensors may or may not match
         * the fetch order specified in RunRequest.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
         */
        public Builder addTensor(com.tencent.angel.config.NamedTensorProtos.NamedTensorProto value) {
          if (tensorBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureTensorIsMutable();
            tensor_.add(value);
            onChanged();
          } else {
            tensorBuilder_.addMessage(value);
          }
          return this;
        }
        /**
         * <pre>
         * NOTE: The order of the returned tensors may or may not match
         * the fetch order specified in RunRequest.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
         */
        public Builder addTensor(
            int index, com.tencent.angel.config.NamedTensorProtos.NamedTensorProto value) {
          if (tensorBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureTensorIsMutable();
            tensor_.add(index, value);
            onChanged();
          } else {
            tensorBuilder_.addMessage(index, value);
          }
          return this;
        }
        /**
         * <pre>
         * NOTE: The order of the returned tensors may or may not match
         * the fetch order specified in RunRequest.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
         */
        public Builder addTensor(
            com.tencent.angel.config.NamedTensorProtos.NamedTensorProto.Builder builderForValue) {
          if (tensorBuilder_ == null) {
            ensureTensorIsMutable();
            tensor_.add(builderForValue.build());
            onChanged();
          } else {
            tensorBuilder_.addMessage(builderForValue.build());
          }
          return this;
        }
        /**
         * <pre>
         * NOTE: The order of the returned tensors may or may not match
         * the fetch order specified in RunRequest.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
         */
        public Builder addTensor(
            int index, com.tencent.angel.config.NamedTensorProtos.NamedTensorProto.Builder builderForValue) {
          if (tensorBuilder_ == null) {
            ensureTensorIsMutable();
            tensor_.add(index, builderForValue.build());
            onChanged();
          } else {
            tensorBuilder_.addMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <pre>
         * NOTE: The order of the returned tensors may or may not match
         * the fetch order specified in RunRequest.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
         */
        public Builder addAllTensor(
            java.lang.Iterable<? extends com.tencent.angel.config.NamedTensorProtos.NamedTensorProto> values) {
          if (tensorBuilder_ == null) {
            ensureTensorIsMutable();
            com.google.protobuf.AbstractMessageLite.Builder.addAll(
                values, tensor_);
            onChanged();
          } else {
            tensorBuilder_.addAllMessages(values);
          }
          return this;
        }
        /**
         * <pre>
         * NOTE: The order of the returned tensors may or may not match
         * the fetch order specified in RunRequest.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
         */
        public Builder clearTensor() {
          if (tensorBuilder_ == null) {
            tensor_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
            onChanged();
          } else {
            tensorBuilder_.clear();
          }
          return this;
        }
        /**
         * <pre>
         * NOTE: The order of the returned tensors may or may not match
         * the fetch order specified in RunRequest.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
         */
        public Builder removeTensor(int index) {
          if (tensorBuilder_ == null) {
            ensureTensorIsMutable();
            tensor_.remove(index);
            onChanged();
          } else {
            tensorBuilder_.remove(index);
          }
          return this;
        }
        /**
         * <pre>
         * NOTE: The order of the returned tensors may or may not match
         * the fetch order specified in RunRequest.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
         */
        public com.tencent.angel.config.NamedTensorProtos.NamedTensorProto.Builder getTensorBuilder(
            int index) {
          return getTensorFieldBuilder().getBuilder(index);
        }
        /**
         * <pre>
         * NOTE: The order of the returned tensors may or may not match
         * the fetch order specified in RunRequest.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
         */
        public com.tencent.angel.config.NamedTensorProtos.NamedTensorProtoOrBuilder getTensorOrBuilder(
            int index) {
          if (tensorBuilder_ == null) {
            return tensor_.get(index);  } else {
            return tensorBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         * <pre>
         * NOTE: The order of the returned tensors may or may not match
         * the fetch order specified in RunRequest.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
         */
        public java.util.List<? extends com.tencent.angel.config.NamedTensorProtos.NamedTensorProtoOrBuilder> 
             getTensorOrBuilderList() {
          if (tensorBuilder_ != null) {
            return tensorBuilder_.getMessageOrBuilderList();
          } else {
            return java.util.Collections.unmodifiableList(tensor_);
          }
        }
        /**
         * <pre>
         * NOTE: The order of the returned tensors may or may not match
         * the fetch order specified in RunRequest.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
         */
        public com.tencent.angel.config.NamedTensorProtos.NamedTensorProto.Builder addTensorBuilder() {
          return getTensorFieldBuilder().addBuilder(
              com.tencent.angel.config.NamedTensorProtos.NamedTensorProto.getDefaultInstance());
        }
        /**
         * <pre>
         * NOTE: The order of the returned tensors may or may not match
         * the fetch order specified in RunRequest.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
         */
        public com.tencent.angel.config.NamedTensorProtos.NamedTensorProto.Builder addTensorBuilder(
            int index) {
          return getTensorFieldBuilder().addBuilder(
              index, com.tencent.angel.config.NamedTensorProtos.NamedTensorProto.getDefaultInstance());
        }
        /**
         * <pre>
         * NOTE: The order of the returned tensors may or may not match
         * the fetch order specified in RunRequest.
         * </pre>
         *
         * <code>repeated .angel.NamedTensorProto tensor = 1;</code>
         */
        public java.util.List<com.tencent.angel.config.NamedTensorProtos.NamedTensorProto.Builder> 
             getTensorBuilderList() {
          return getTensorFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.tencent.angel.config.NamedTensorProtos.NamedTensorProto, com.tencent.angel.config.NamedTensorProtos.NamedTensorProto.Builder, com.tencent.angel.config.NamedTensorProtos.NamedTensorProtoOrBuilder> 
            getTensorFieldBuilder() {
          if (tensorBuilder_ == null) {
            tensorBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                com.tencent.angel.config.NamedTensorProtos.NamedTensorProto, com.tencent.angel.config.NamedTensorProtos.NamedTensorProto.Builder, com.tencent.angel.config.NamedTensorProtos.NamedTensorProtoOrBuilder>(
                    tensor_,
                    ((bitField0_ & 0x00000001) == 0x00000001),
                    getParentForChildren(),
                    isClean());
            tensor_ = null;
          }
          return tensorBuilder_;
        }
  
        private com.tencent.angel.config.ConfigProtos.RunMetadata metadata_ = null;
        private com.google.protobuf.SingleFieldBuilderV3<
            com.tencent.angel.config.ConfigProtos.RunMetadata, com.tencent.angel.config.ConfigProtos.RunMetadata.Builder, com.tencent.angel.config.ConfigProtos.RunMetadataOrBuilder> metadataBuilder_;
        /**
         * <pre>
         * Returned metadata if requested in the options.
         * </pre>
         *
         * <code>.angel.RunMetadata metadata = 2;</code>
         */
        public boolean hasMetadata() {
          return metadataBuilder_ != null || metadata_ != null;
        }
        /**
         * <pre>
         * Returned metadata if requested in the options.
         * </pre>
         *
         * <code>.angel.RunMetadata metadata = 2;</code>
         */
        public com.tencent.angel.config.ConfigProtos.RunMetadata getMetadata() {
          if (metadataBuilder_ == null) {
            return metadata_ == null ? com.tencent.angel.config.ConfigProtos.RunMetadata.getDefaultInstance() : metadata_;
          } else {
            return metadataBuilder_.getMessage();
          }
        }
        /**
         * <pre>
         * Returned metadata if requested in the options.
         * </pre>
         *
         * <code>.angel.RunMetadata metadata = 2;</code>
         */
        public Builder setMetadata(com.tencent.angel.config.ConfigProtos.RunMetadata value) {
          if (metadataBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            metadata_ = value;
            onChanged();
          } else {
            metadataBuilder_.setMessage(value);
          }
  
          return this;
        }
        /**
         * <pre>
         * Returned metadata if requested in the options.
         * </pre>
         *
         * <code>.angel.RunMetadata metadata = 2;</code>
         */
        public Builder setMetadata(
            com.tencent.angel.config.ConfigProtos.RunMetadata.Builder builderForValue) {
          if (metadataBuilder_ == null) {
            metadata_ = builderForValue.build();
            onChanged();
          } else {
            metadataBuilder_.setMessage(builderForValue.build());
          }
  
          return this;
        }
        /**
         * <pre>
         * Returned metadata if requested in the options.
         * </pre>
         *
         * <code>.angel.RunMetadata metadata = 2;</code>
         */
        public Builder mergeMetadata(com.tencent.angel.config.ConfigProtos.RunMetadata value) {
          if (metadataBuilder_ == null) {
            if (metadata_ != null) {
              metadata_ =
                com.tencent.angel.config.ConfigProtos.RunMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
            } else {
              metadata_ = value;
            }
            onChanged();
          } else {
            metadataBuilder_.mergeFrom(value);
          }
  
          return this;
        }
        /**
         * <pre>
         * Returned metadata if requested in the options.
         * </pre>
         *
         * <code>.angel.RunMetadata metadata = 2;</code>
         */
        public Builder clearMetadata() {
          if (metadataBuilder_ == null) {
            metadata_ = null;
            onChanged();
          } else {
            metadata_ = null;
            metadataBuilder_ = null;
          }
  
          return this;
        }
        /**
         * <pre>
         * Returned metadata if requested in the options.
         * </pre>
         *
         * <code>.angel.RunMetadata metadata = 2;</code>
         */
        public com.tencent.angel.config.ConfigProtos.RunMetadata.Builder getMetadataBuilder() {
          
          onChanged();
          return getMetadataFieldBuilder().getBuilder();
        }
        /**
         * <pre>
         * Returned metadata if requested in the options.
         * </pre>
         *
         * <code>.angel.RunMetadata metadata = 2;</code>
         */
        public com.tencent.angel.config.ConfigProtos.RunMetadataOrBuilder getMetadataOrBuilder() {
          if (metadataBuilder_ != null) {
            return metadataBuilder_.getMessageOrBuilder();
          } else {
            return metadata_ == null ?
                com.tencent.angel.config.ConfigProtos.RunMetadata.getDefaultInstance() : metadata_;
          }
        }
        /**
         * <pre>
         * Returned metadata if requested in the options.
         * </pre>
         *
         * <code>.angel.RunMetadata metadata = 2;</code>
         */
        private com.google.protobuf.SingleFieldBuilderV3<
            com.tencent.angel.config.ConfigProtos.RunMetadata, com.tencent.angel.config.ConfigProtos.RunMetadata.Builder, com.tencent.angel.config.ConfigProtos.RunMetadataOrBuilder> 
            getMetadataFieldBuilder() {
          if (metadataBuilder_ == null) {
            metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                com.tencent.angel.config.ConfigProtos.RunMetadata, com.tencent.angel.config.ConfigProtos.RunMetadata.Builder, com.tencent.angel.config.ConfigProtos.RunMetadataOrBuilder>(
                    getMetadata(),
                    getParentForChildren(),
                    isClean());
            metadata_ = null;
          }
          return metadataBuilder_;
        }
        public final Builder setUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.setUnknownFieldsProto3(unknownFields);
        }
  
        public final Builder mergeUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.mergeUnknownFields(unknownFields);
        }
  
  
        // @@protoc_insertion_point(builder_scope:angel.serving.SessionRunResponse)
      }
  
      // @@protoc_insertion_point(class_scope:angel.serving.SessionRunResponse)
      private static final com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse();
      }
  
      public static com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }
  
      private static final com.google.protobuf.Parser<SessionRunResponse>
          PARSER = new com.google.protobuf.AbstractParser<SessionRunResponse>() {
        public SessionRunResponse parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new SessionRunResponse(input, extensionRegistry);
        }
      };
  
      public static com.google.protobuf.Parser<SessionRunResponse> parser() {
        return PARSER;
      }
  
      @java.lang.Override
      public com.google.protobuf.Parser<SessionRunResponse> getParserForType() {
        return PARSER;
      }
  
      public com.tencent.angel.serving.apis.session.SessionServiceProtos.SessionRunResponse getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_angel_serving_SessionRunRequest_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_angel_serving_SessionRunRequest_fieldAccessorTable;
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_angel_serving_SessionRunResponse_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_angel_serving_SessionRunResponse_fieldAccessorTable;
  
    public static com.google.protobuf.Descriptors.FileDescriptor
        getDescriptor() {
      return descriptor;
    }
    private static  com.google.protobuf.Descriptors.FileDescriptor
        descriptor;
    static {
      java.lang.String[] descriptorData = {
        "\n\"apis/session/session_service.proto\022\ran" +
        "gel.serving\032\027apis/common/model.proto\032\023co" +
        "nfig/config.proto\032\031config/named_tensor.p" +
        "roto\"\253\001\n\021SessionRunRequest\022,\n\nmodel_spec" +
        "\030\001 \001(\0132\030.angel.serving.ModelSpec\022%\n\004feed" +
        "\030\002 \003(\0132\027.angel.NamedTensorProto\022\r\n\005fetch" +
        "\030\003 \003(\t\022\016\n\006target\030\004 \003(\t\022\"\n\007options\030\005 \001(\0132" +
        "\021.angel.RunOptions\"c\n\022SessionRunResponse" +
        "\022\'\n\006tensor\030\001 \003(\0132\027.angel.NamedTensorProt" +
        "o\022$\n\010metadata\030\002 \001(\0132\022.angel.RunMetadata2" +
        "c\n\016SessionService\022Q\n\nSessionRun\022 .angel." +
        "serving.SessionRunRequest\032!.angel.servin" +
        "g.SessionRunResponseB@\n&com.tencent.ange" +
        "l.serving.apis.sessionB\024SessionServicePr" +
        "otosP\000b\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[] {
            com.tencent.angel.serving.apis.common.ModelSpecProtos.getDescriptor(),
            com.tencent.angel.config.ConfigProtos.getDescriptor(),
            com.tencent.angel.config.NamedTensorProtos.getDescriptor(),
          }, assigner);
      internal_static_angel_serving_SessionRunRequest_descriptor =
        getDescriptor().getMessageTypes().get(0);
      internal_static_angel_serving_SessionRunRequest_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_angel_serving_SessionRunRequest_descriptor,
          new java.lang.String[] { "ModelSpec", "Feed", "Fetch", "Target", "Options", });
      internal_static_angel_serving_SessionRunResponse_descriptor =
        getDescriptor().getMessageTypes().get(1);
      internal_static_angel_serving_SessionRunResponse_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_angel_serving_SessionRunResponse_descriptor,
          new java.lang.String[] { "Tensor", "Metadata", });
      com.tencent.angel.serving.apis.common.ModelSpecProtos.getDescriptor();
      com.tencent.angel.config.ConfigProtos.getDescriptor();
      com.tencent.angel.config.NamedTensorProtos.getDescriptor();
    }
  
    // @@protoc_insertion_point(outer_class_scope)
  }
  