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/common/input.proto
  
  package com.tencent.angel.serving.apis.common;
  
  public final class InputProtos {
    private InputProtos() {}
    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 ExampleListOrBuilder extends
        // @@protoc_insertion_point(interface_extends:angel.serving.ExampleList)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <code>repeated .angel.serving.Example examples = 1;</code>
       */
      java.util.List<com.tencent.angel.serving.apis.common.ExampleProtos.Example> 
          getExamplesList();
      /**
       * <code>repeated .angel.serving.Example examples = 1;</code>
       */
      com.tencent.angel.serving.apis.common.ExampleProtos.Example getExamples(int index);
      /**
       * <code>repeated .angel.serving.Example examples = 1;</code>
       */
      int getExamplesCount();
      /**
       * <code>repeated .angel.serving.Example examples = 1;</code>
       */
      java.util.List<? extends com.tencent.angel.serving.apis.common.ExampleProtos.ExampleOrBuilder> 
          getExamplesOrBuilderList();
      /**
       * <code>repeated .angel.serving.Example examples = 1;</code>
       */
      com.tencent.angel.serving.apis.common.ExampleProtos.ExampleOrBuilder getExamplesOrBuilder(
          int index);
    }
    /**
     * <pre>
     * Specifies one or more fully independent input Examples.
     * See examples at:
     *     https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/example/example.proto
     * </pre>
     *
     * Protobuf type {@code angel.serving.ExampleList}
     */
    public  static final class ExampleList extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:angel.serving.ExampleList)
        ExampleListOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use ExampleList.newBuilder() to construct.
      private ExampleList(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private ExampleList() {
        examples_ = java.util.Collections.emptyList();
      }
  
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private ExampleList(
          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)) {
                  examples_ = new java.util.ArrayList<com.tencent.angel.serving.apis.common.ExampleProtos.Example>();
                  mutable_bitField0_ |= 0x00000001;
                }
                examples_.add(
                    input.readMessage(com.tencent.angel.serving.apis.common.ExampleProtos.Example.parser(), extensionRegistry));
                break;
              }
            }
          }
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(this);
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(
              e).setUnfinishedMessage(this);
        } finally {
          if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
            examples_ = java.util.Collections.unmodifiableList(examples_);
          }
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.serving.apis.common.InputProtos.internal_static_angel_serving_ExampleList_descriptor;
      }
  
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.serving.apis.common.InputProtos.internal_static_angel_serving_ExampleList_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.serving.apis.common.InputProtos.ExampleList.class, com.tencent.angel.serving.apis.common.InputProtos.ExampleList.Builder.class);
      }
  
      public static final int EXAMPLES_FIELD_NUMBER = 1;
      private java.util.List<com.tencent.angel.serving.apis.common.ExampleProtos.Example> examples_;
      /**
       * <code>repeated .angel.serving.Example examples = 1;</code>
       */
      public java.util.List<com.tencent.angel.serving.apis.common.ExampleProtos.Example> getExamplesList() {
        return examples_;
      }
      /**
       * <code>repeated .angel.serving.Example examples = 1;</code>
       */
      public java.util.List<? extends com.tencent.angel.serving.apis.common.ExampleProtos.ExampleOrBuilder> 
          getExamplesOrBuilderList() {
        return examples_;
      }
      /**
       * <code>repeated .angel.serving.Example examples = 1;</code>
       */
      public int getExamplesCount() {
        return examples_.size();
      }
      /**
       * <code>repeated .angel.serving.Example examples = 1;</code>
       */
      public com.tencent.angel.serving.apis.common.ExampleProtos.Example getExamples(int index) {
        return examples_.get(index);
      }
      /**
       * <code>repeated .angel.serving.Example examples = 1;</code>
       */
      public com.tencent.angel.serving.apis.common.ExampleProtos.ExampleOrBuilder getExamplesOrBuilder(
          int index) {
        return examples_.get(index);
      }
  
      private byte memoizedIsInitialized = -1;
      public final boolean isInitialized() {
        byte isInitialized = memoizedIsInitialized;
        if (isInitialized == 1) return true;
        if (isInitialized == 0) return false;
  
        memoizedIsInitialized = 1;
        return true;
      }
  
      public void writeTo(com.google.protobuf.CodedOutputStream output)
                          throws java.io.IOException {
        for (int i = 0; i < examples_.size(); i++) {
          output.writeMessage(1, examples_.get(i));
        }
        unknownFields.writeTo(output);
      }
  
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        for (int i = 0; i < examples_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(1, examples_.get(i));
        }
        size += unknownFields.getSerializedSize();
        memoizedSize = size;
        return size;
      }
  
      @java.lang.Override
      public boolean equals(final java.lang.Object obj) {
        if (obj == this) {
         return true;
        }
        if (!(obj instanceof com.tencent.angel.serving.apis.common.InputProtos.ExampleList)) {
          return super.equals(obj);
        }
        com.tencent.angel.serving.apis.common.InputProtos.ExampleList other = (com.tencent.angel.serving.apis.common.InputProtos.ExampleList) obj;
  
        boolean result = true;
        result = result && getExamplesList()
            .equals(other.getExamplesList());
        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 (getExamplesCount() > 0) {
          hash = (37 * hash) + EXAMPLES_FIELD_NUMBER;
          hash = (53 * hash) + getExamplesList().hashCode();
        }
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }
  
      public static com.tencent.angel.serving.apis.common.InputProtos.ExampleList parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.common.InputProtos.ExampleList 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.common.InputProtos.ExampleList parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.common.InputProtos.ExampleList 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.common.InputProtos.ExampleList parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.common.InputProtos.ExampleList 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.common.InputProtos.ExampleList parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.serving.apis.common.InputProtos.ExampleList 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.common.InputProtos.ExampleList parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static com.tencent.angel.serving.apis.common.InputProtos.ExampleList 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.common.InputProtos.ExampleList 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.common.InputProtos.ExampleList 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.common.InputProtos.ExampleList 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;
      }
      /**
       * <pre>
       * Specifies one or more fully independent input Examples.
       * See examples at:
       *     https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/example/example.proto
       * </pre>
       *
       * Protobuf type {@code angel.serving.ExampleList}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:angel.serving.ExampleList)
          com.tencent.angel.serving.apis.common.InputProtos.ExampleListOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.tencent.angel.serving.apis.common.InputProtos.internal_static_angel_serving_ExampleList_descriptor;
        }
  
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.tencent.angel.serving.apis.common.InputProtos.internal_static_angel_serving_ExampleList_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.tencent.angel.serving.apis.common.InputProtos.ExampleList.class, com.tencent.angel.serving.apis.common.InputProtos.ExampleList.Builder.class);
        }
  
        // Construct using com.tencent.angel.serving.apis.common.InputProtos.ExampleList.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }
  
        private Builder(
            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          super(parent);
          maybeForceBuilderInitialization();
        }
        private void maybeForceBuilderInitialization() {
          if (com.google.protobuf.GeneratedMessageV3
                  .alwaysUseFieldBuilders) {
            getExamplesFieldBuilder();
          }
        }
        public Builder clear() {
          super.clear();
          if (examplesBuilder_ == null) {
            examples_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            examplesBuilder_.clear();
          }
          return this;
        }
  
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return com.tencent.angel.serving.apis.common.InputProtos.internal_static_angel_serving_ExampleList_descriptor;
        }
  
        public com.tencent.angel.serving.apis.common.InputProtos.ExampleList getDefaultInstanceForType() {
          return com.tencent.angel.serving.apis.common.InputProtos.ExampleList.getDefaultInstance();
        }
  
        public com.tencent.angel.serving.apis.common.InputProtos.ExampleList build() {
          com.tencent.angel.serving.apis.common.InputProtos.ExampleList result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        public com.tencent.angel.serving.apis.common.InputProtos.ExampleList buildPartial() {
          com.tencent.angel.serving.apis.common.InputProtos.ExampleList result = new com.tencent.angel.serving.apis.common.InputProtos.ExampleList(this);
          int from_bitField0_ = bitField0_;
          if (examplesBuilder_ == null) {
            if (((bitField0_ & 0x00000001) == 0x00000001)) {
              examples_ = java.util.Collections.unmodifiableList(examples_);
              bitField0_ = (bitField0_ & ~0x00000001);
            }
            result.examples_ = examples_;
          } else {
            result.examples_ = examplesBuilder_.build();
          }
          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.common.InputProtos.ExampleList) {
            return mergeFrom((com.tencent.angel.serving.apis.common.InputProtos.ExampleList)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(com.tencent.angel.serving.apis.common.InputProtos.ExampleList other) {
          if (other == com.tencent.angel.serving.apis.common.InputProtos.ExampleList.getDefaultInstance()) return this;
          if (examplesBuilder_ == null) {
            if (!other.examples_.isEmpty()) {
              if (examples_.isEmpty()) {
                examples_ = other.examples_;
                bitField0_ = (bitField0_ & ~0x00000001);
              } else {
                ensureExamplesIsMutable();
                examples_.addAll(other.examples_);
              }
              onChanged();
            }
          } else {
            if (!other.examples_.isEmpty()) {
              if (examplesBuilder_.isEmpty()) {
                examplesBuilder_.dispose();
                examplesBuilder_ = null;
                examples_ = other.examples_;
                bitField0_ = (bitField0_ & ~0x00000001);
                examplesBuilder_ = 
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getExamplesFieldBuilder() : null;
              } else {
                examplesBuilder_.addAllMessages(other.examples_);
              }
            }
          }
          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.common.InputProtos.ExampleList parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.tencent.angel.serving.apis.common.InputProtos.ExampleList) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;
  
        private java.util.List<com.tencent.angel.serving.apis.common.ExampleProtos.Example> examples_ =
          java.util.Collections.emptyList();
        private void ensureExamplesIsMutable() {
          if (!((bitField0_ & 0x00000001) == 0x00000001)) {
            examples_ = new java.util.ArrayList<com.tencent.angel.serving.apis.common.ExampleProtos.Example>(examples_);
            bitField0_ |= 0x00000001;
           }
        }
  
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.tencent.angel.serving.apis.common.ExampleProtos.Example, com.tencent.angel.serving.apis.common.ExampleProtos.Example.Builder, com.tencent.angel.serving.apis.common.ExampleProtos.ExampleOrBuilder> examplesBuilder_;
  
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public java.util.List<com.tencent.angel.serving.apis.common.ExampleProtos.Example> getExamplesList() {
          if (examplesBuilder_ == null) {
            return java.util.Collections.unmodifiableList(examples_);
          } else {
            return examplesBuilder_.getMessageList();
          }
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public int getExamplesCount() {
          if (examplesBuilder_ == null) {
            return examples_.size();
          } else {
            return examplesBuilder_.getCount();
          }
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public com.tencent.angel.serving.apis.common.ExampleProtos.Example getExamples(int index) {
          if (examplesBuilder_ == null) {
            return examples_.get(index);
          } else {
            return examplesBuilder_.getMessage(index);
          }
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public Builder setExamples(
            int index, com.tencent.angel.serving.apis.common.ExampleProtos.Example value) {
          if (examplesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureExamplesIsMutable();
            examples_.set(index, value);
            onChanged();
          } else {
            examplesBuilder_.setMessage(index, value);
          }
          return this;
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public Builder setExamples(
            int index, com.tencent.angel.serving.apis.common.ExampleProtos.Example.Builder builderForValue) {
          if (examplesBuilder_ == null) {
            ensureExamplesIsMutable();
            examples_.set(index, builderForValue.build());
            onChanged();
          } else {
            examplesBuilder_.setMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public Builder addExamples(com.tencent.angel.serving.apis.common.ExampleProtos.Example value) {
          if (examplesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureExamplesIsMutable();
            examples_.add(value);
            onChanged();
          } else {
            examplesBuilder_.addMessage(value);
          }
          return this;
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public Builder addExamples(
            int index, com.tencent.angel.serving.apis.common.ExampleProtos.Example value) {
          if (examplesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureExamplesIsMutable();
            examples_.add(index, value);
            onChanged();
          } else {
            examplesBuilder_.addMessage(index, value);
          }
          return this;
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public Builder addExamples(
            com.tencent.angel.serving.apis.common.ExampleProtos.Example.Builder builderForValue) {
          if (examplesBuilder_ == null) {
            ensureExamplesIsMutable();
            examples_.add(builderForValue.build());
            onChanged();
          } else {
            examplesBuilder_.addMessage(builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public Builder addExamples(
            int index, com.tencent.angel.serving.apis.common.ExampleProtos.Example.Builder builderForValue) {
          if (examplesBuilder_ == null) {
            ensureExamplesIsMutable();
            examples_.add(index, builderForValue.build());
            onChanged();
          } else {
            examplesBuilder_.addMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public Builder addAllExamples(
            java.lang.Iterable<? extends com.tencent.angel.serving.apis.common.ExampleProtos.Example> values) {
          if (examplesBuilder_ == null) {
            ensureExamplesIsMutable();
            com.google.protobuf.AbstractMessageLite.Builder.addAll(
                values, examples_);
            onChanged();
          } else {
            examplesBuilder_.addAllMessages(values);
          }
          return this;
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public Builder clearExamples() {
          if (examplesBuilder_ == null) {
            examples_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
            onChanged();
          } else {
            examplesBuilder_.clear();
          }
          return this;
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public Builder removeExamples(int index) {
          if (examplesBuilder_ == null) {
            ensureExamplesIsMutable();
            examples_.remove(index);
            onChanged();
          } else {
            examplesBuilder_.remove(index);
          }
          return this;
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public com.tencent.angel.serving.apis.common.ExampleProtos.Example.Builder getExamplesBuilder(
            int index) {
          return getExamplesFieldBuilder().getBuilder(index);
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public com.tencent.angel.serving.apis.common.ExampleProtos.ExampleOrBuilder getExamplesOrBuilder(
            int index) {
          if (examplesBuilder_ == null) {
            return examples_.get(index);  } else {
            return examplesBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public java.util.List<? extends com.tencent.angel.serving.apis.common.ExampleProtos.ExampleOrBuilder> 
             getExamplesOrBuilderList() {
          if (examplesBuilder_ != null) {
            return examplesBuilder_.getMessageOrBuilderList();
          } else {
            return java.util.Collections.unmodifiableList(examples_);
          }
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public com.tencent.angel.serving.apis.common.ExampleProtos.Example.Builder addExamplesBuilder() {
          return getExamplesFieldBuilder().addBuilder(
              com.tencent.angel.serving.apis.common.ExampleProtos.Example.getDefaultInstance());
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public com.tencent.angel.serving.apis.common.ExampleProtos.Example.Builder addExamplesBuilder(
            int index) {
          return getExamplesFieldBuilder().addBuilder(
              index, com.tencent.angel.serving.apis.common.ExampleProtos.Example.getDefaultInstance());
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public java.util.List<com.tencent.angel.serving.apis.common.ExampleProtos.Example.Builder> 
             getExamplesBuilderList() {
          return getExamplesFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.tencent.angel.serving.apis.common.ExampleProtos.Example, com.tencent.angel.serving.apis.common.ExampleProtos.Example.Builder, com.tencent.angel.serving.apis.common.ExampleProtos.ExampleOrBuilder> 
            getExamplesFieldBuilder() {
          if (examplesBuilder_ == null) {
            examplesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                com.tencent.angel.serving.apis.common.ExampleProtos.Example, com.tencent.angel.serving.apis.common.ExampleProtos.Example.Builder, com.tencent.angel.serving.apis.common.ExampleProtos.ExampleOrBuilder>(
                    examples_,
                    ((bitField0_ & 0x00000001) == 0x00000001),
                    getParentForChildren(),
                    isClean());
            examples_ = null;
          }
          return examplesBuilder_;
        }
        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.ExampleList)
      }
  
      // @@protoc_insertion_point(class_scope:angel.serving.ExampleList)
      private static final com.tencent.angel.serving.apis.common.InputProtos.ExampleList DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.tencent.angel.serving.apis.common.InputProtos.ExampleList();
      }
  
      public static com.tencent.angel.serving.apis.common.InputProtos.ExampleList getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }
  
      private static final com.google.protobuf.Parser<ExampleList>
          PARSER = new com.google.protobuf.AbstractParser<ExampleList>() {
        public ExampleList parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new ExampleList(input, extensionRegistry);
        }
      };
  
      public static com.google.protobuf.Parser<ExampleList> parser() {
        return PARSER;
      }
  
      @java.lang.Override
      public com.google.protobuf.Parser<ExampleList> getParserForType() {
        return PARSER;
      }
  
      public com.tencent.angel.serving.apis.common.InputProtos.ExampleList getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    public interface ExampleListWithContextOrBuilder extends
        // @@protoc_insertion_point(interface_extends:angel.serving.ExampleListWithContext)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <code>repeated .angel.serving.Example examples = 1;</code>
       */
      java.util.List<com.tencent.angel.serving.apis.common.ExampleProtos.Example> 
          getExamplesList();
      /**
       * <code>repeated .angel.serving.Example examples = 1;</code>
       */
      com.tencent.angel.serving.apis.common.ExampleProtos.Example getExamples(int index);
      /**
       * <code>repeated .angel.serving.Example examples = 1;</code>
       */
      int getExamplesCount();
      /**
       * <code>repeated .angel.serving.Example examples = 1;</code>
       */
      java.util.List<? extends com.tencent.angel.serving.apis.common.ExampleProtos.ExampleOrBuilder> 
          getExamplesOrBuilderList();
      /**
       * <code>repeated .angel.serving.Example examples = 1;</code>
       */
      com.tencent.angel.serving.apis.common.ExampleProtos.ExampleOrBuilder getExamplesOrBuilder(
          int index);
  
      /**
       * <code>.angel.serving.Example context = 2;</code>
       */
      boolean hasContext();
      /**
       * <code>.angel.serving.Example context = 2;</code>
       */
      com.tencent.angel.serving.apis.common.ExampleProtos.Example getContext();
      /**
       * <code>.angel.serving.Example context = 2;</code>
       */
      com.tencent.angel.serving.apis.common.ExampleProtos.ExampleOrBuilder getContextOrBuilder();
    }
    /**
     * <pre>
     * Specifies one or more independent input Examples, with a common context
     * Example.
     * The common use case for context is to cleanly and optimally specify some
     * features that are common across multiple examples.
     * See example below with a search query as the context and multiple restaurants
     * to perform some inference on.
     * context: {
     *   feature: {
     *     key  : "query"
     *     value: {
     *       bytes_list: {
     *         value: [ "pizza" ]
     *       }
     *     }
     *   }
     * }
     * examples: {
     *   feature: {
     *     key  : "cuisine"
     *     value: {
     *       bytes_list: {
     *         value: [ "Pizzeria" ]
     *       }
     *     }
     *   }
     * }
     * examples: {
     *   feature: {
     *     key  : "cuisine"
     *     value: {
     *       bytes_list: {
     *         value: [ "Taqueria" ]
     *       }
     *     }
     *   }
     * }
     * Implementations of ExampleListWithContext merge the context Example into each
     * of the Examples. Note that feature keys must not be duplicated between the
     * Examples and context Example, or the behavior is undefined.
     * See also:
     *     tensorflow/core/example/example.proto
     *     https://developers.google.com/protocol-buffers/docs/proto3#maps
     * </pre>
     *
     * Protobuf type {@code angel.serving.ExampleListWithContext}
     */
    public  static final class ExampleListWithContext extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:angel.serving.ExampleListWithContext)
        ExampleListWithContextOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use ExampleListWithContext.newBuilder() to construct.
      private ExampleListWithContext(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private ExampleListWithContext() {
        examples_ = java.util.Collections.emptyList();
      }
  
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private ExampleListWithContext(
          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)) {
                  examples_ = new java.util.ArrayList<com.tencent.angel.serving.apis.common.ExampleProtos.Example>();
                  mutable_bitField0_ |= 0x00000001;
                }
                examples_.add(
                    input.readMessage(com.tencent.angel.serving.apis.common.ExampleProtos.Example.parser(), extensionRegistry));
                break;
              }
              case 18: {
                com.tencent.angel.serving.apis.common.ExampleProtos.Example.Builder subBuilder = null;
                if (context_ != null) {
                  subBuilder = context_.toBuilder();
                }
                context_ = input.readMessage(com.tencent.angel.serving.apis.common.ExampleProtos.Example.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom(context_);
                  context_ = 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)) {
            examples_ = java.util.Collections.unmodifiableList(examples_);
          }
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.serving.apis.common.InputProtos.internal_static_angel_serving_ExampleListWithContext_descriptor;
      }
  
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.serving.apis.common.InputProtos.internal_static_angel_serving_ExampleListWithContext_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext.class, com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext.Builder.class);
      }
  
      private int bitField0_;
      public static final int EXAMPLES_FIELD_NUMBER = 1;
      private java.util.List<com.tencent.angel.serving.apis.common.ExampleProtos.Example> examples_;
      /**
       * <code>repeated .angel.serving.Example examples = 1;</code>
       */
      public java.util.List<com.tencent.angel.serving.apis.common.ExampleProtos.Example> getExamplesList() {
        return examples_;
      }
      /**
       * <code>repeated .angel.serving.Example examples = 1;</code>
       */
      public java.util.List<? extends com.tencent.angel.serving.apis.common.ExampleProtos.ExampleOrBuilder> 
          getExamplesOrBuilderList() {
        return examples_;
      }
      /**
       * <code>repeated .angel.serving.Example examples = 1;</code>
       */
      public int getExamplesCount() {
        return examples_.size();
      }
      /**
       * <code>repeated .angel.serving.Example examples = 1;</code>
       */
      public com.tencent.angel.serving.apis.common.ExampleProtos.Example getExamples(int index) {
        return examples_.get(index);
      }
      /**
       * <code>repeated .angel.serving.Example examples = 1;</code>
       */
      public com.tencent.angel.serving.apis.common.ExampleProtos.ExampleOrBuilder getExamplesOrBuilder(
          int index) {
        return examples_.get(index);
      }
  
      public static final int CONTEXT_FIELD_NUMBER = 2;
      private com.tencent.angel.serving.apis.common.ExampleProtos.Example context_;
      /**
       * <code>.angel.serving.Example context = 2;</code>
       */
      public boolean hasContext() {
        return context_ != null;
      }
      /**
       * <code>.angel.serving.Example context = 2;</code>
       */
      public com.tencent.angel.serving.apis.common.ExampleProtos.Example getContext() {
        return context_ == null ? com.tencent.angel.serving.apis.common.ExampleProtos.Example.getDefaultInstance() : context_;
      }
      /**
       * <code>.angel.serving.Example context = 2;</code>
       */
      public com.tencent.angel.serving.apis.common.ExampleProtos.ExampleOrBuilder getContextOrBuilder() {
        return getContext();
      }
  
      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 < examples_.size(); i++) {
          output.writeMessage(1, examples_.get(i));
        }
        if (context_ != null) {
          output.writeMessage(2, getContext());
        }
        unknownFields.writeTo(output);
      }
  
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        for (int i = 0; i < examples_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(1, examples_.get(i));
        }
        if (context_ != null) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(2, getContext());
        }
        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.common.InputProtos.ExampleListWithContext)) {
          return super.equals(obj);
        }
        com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext other = (com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext) obj;
  
        boolean result = true;
        result = result && getExamplesList()
            .equals(other.getExamplesList());
        result = result && (hasContext() == other.hasContext());
        if (hasContext()) {
          result = result && getContext()
              .equals(other.getContext());
        }
        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 (getExamplesCount() > 0) {
          hash = (37 * hash) + EXAMPLES_FIELD_NUMBER;
          hash = (53 * hash) + getExamplesList().hashCode();
        }
        if (hasContext()) {
          hash = (37 * hash) + CONTEXT_FIELD_NUMBER;
          hash = (53 * hash) + getContext().hashCode();
        }
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }
  
      public static com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext 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.common.InputProtos.ExampleListWithContext parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext 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.common.InputProtos.ExampleListWithContext parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext 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.common.InputProtos.ExampleListWithContext parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext 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.common.InputProtos.ExampleListWithContext parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext 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.common.InputProtos.ExampleListWithContext 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.common.InputProtos.ExampleListWithContext 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.common.InputProtos.ExampleListWithContext 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;
      }
      /**
       * <pre>
       * Specifies one or more independent input Examples, with a common context
       * Example.
       * The common use case for context is to cleanly and optimally specify some
       * features that are common across multiple examples.
       * See example below with a search query as the context and multiple restaurants
       * to perform some inference on.
       * context: {
       *   feature: {
       *     key  : "query"
       *     value: {
       *       bytes_list: {
       *         value: [ "pizza" ]
       *       }
       *     }
       *   }
       * }
       * examples: {
       *   feature: {
       *     key  : "cuisine"
       *     value: {
       *       bytes_list: {
       *         value: [ "Pizzeria" ]
       *       }
       *     }
       *   }
       * }
       * examples: {
       *   feature: {
       *     key  : "cuisine"
       *     value: {
       *       bytes_list: {
       *         value: [ "Taqueria" ]
       *       }
       *     }
       *   }
       * }
       * Implementations of ExampleListWithContext merge the context Example into each
       * of the Examples. Note that feature keys must not be duplicated between the
       * Examples and context Example, or the behavior is undefined.
       * See also:
       *     tensorflow/core/example/example.proto
       *     https://developers.google.com/protocol-buffers/docs/proto3#maps
       * </pre>
       *
       * Protobuf type {@code angel.serving.ExampleListWithContext}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:angel.serving.ExampleListWithContext)
          com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContextOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.tencent.angel.serving.apis.common.InputProtos.internal_static_angel_serving_ExampleListWithContext_descriptor;
        }
  
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.tencent.angel.serving.apis.common.InputProtos.internal_static_angel_serving_ExampleListWithContext_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext.class, com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext.Builder.class);
        }
  
        // Construct using com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }
  
        private Builder(
            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          super(parent);
          maybeForceBuilderInitialization();
        }
        private void maybeForceBuilderInitialization() {
          if (com.google.protobuf.GeneratedMessageV3
                  .alwaysUseFieldBuilders) {
            getExamplesFieldBuilder();
          }
        }
        public Builder clear() {
          super.clear();
          if (examplesBuilder_ == null) {
            examples_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            examplesBuilder_.clear();
          }
          if (contextBuilder_ == null) {
            context_ = null;
          } else {
            context_ = null;
            contextBuilder_ = null;
          }
          return this;
        }
  
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return com.tencent.angel.serving.apis.common.InputProtos.internal_static_angel_serving_ExampleListWithContext_descriptor;
        }
  
        public com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext getDefaultInstanceForType() {
          return com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext.getDefaultInstance();
        }
  
        public com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext build() {
          com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        public com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext buildPartial() {
          com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext result = new com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          if (examplesBuilder_ == null) {
            if (((bitField0_ & 0x00000001) == 0x00000001)) {
              examples_ = java.util.Collections.unmodifiableList(examples_);
              bitField0_ = (bitField0_ & ~0x00000001);
            }
            result.examples_ = examples_;
          } else {
            result.examples_ = examplesBuilder_.build();
          }
          if (contextBuilder_ == null) {
            result.context_ = context_;
          } else {
            result.context_ = contextBuilder_.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.common.InputProtos.ExampleListWithContext) {
            return mergeFrom((com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext other) {
          if (other == com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext.getDefaultInstance()) return this;
          if (examplesBuilder_ == null) {
            if (!other.examples_.isEmpty()) {
              if (examples_.isEmpty()) {
                examples_ = other.examples_;
                bitField0_ = (bitField0_ & ~0x00000001);
              } else {
                ensureExamplesIsMutable();
                examples_.addAll(other.examples_);
              }
              onChanged();
            }
          } else {
            if (!other.examples_.isEmpty()) {
              if (examplesBuilder_.isEmpty()) {
                examplesBuilder_.dispose();
                examplesBuilder_ = null;
                examples_ = other.examples_;
                bitField0_ = (bitField0_ & ~0x00000001);
                examplesBuilder_ = 
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getExamplesFieldBuilder() : null;
              } else {
                examplesBuilder_.addAllMessages(other.examples_);
              }
            }
          }
          if (other.hasContext()) {
            mergeContext(other.getContext());
          }
          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.common.InputProtos.ExampleListWithContext parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;
  
        private java.util.List<com.tencent.angel.serving.apis.common.ExampleProtos.Example> examples_ =
          java.util.Collections.emptyList();
        private void ensureExamplesIsMutable() {
          if (!((bitField0_ & 0x00000001) == 0x00000001)) {
            examples_ = new java.util.ArrayList<com.tencent.angel.serving.apis.common.ExampleProtos.Example>(examples_);
            bitField0_ |= 0x00000001;
           }
        }
  
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.tencent.angel.serving.apis.common.ExampleProtos.Example, com.tencent.angel.serving.apis.common.ExampleProtos.Example.Builder, com.tencent.angel.serving.apis.common.ExampleProtos.ExampleOrBuilder> examplesBuilder_;
  
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public java.util.List<com.tencent.angel.serving.apis.common.ExampleProtos.Example> getExamplesList() {
          if (examplesBuilder_ == null) {
            return java.util.Collections.unmodifiableList(examples_);
          } else {
            return examplesBuilder_.getMessageList();
          }
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public int getExamplesCount() {
          if (examplesBuilder_ == null) {
            return examples_.size();
          } else {
            return examplesBuilder_.getCount();
          }
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public com.tencent.angel.serving.apis.common.ExampleProtos.Example getExamples(int index) {
          if (examplesBuilder_ == null) {
            return examples_.get(index);
          } else {
            return examplesBuilder_.getMessage(index);
          }
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public Builder setExamples(
            int index, com.tencent.angel.serving.apis.common.ExampleProtos.Example value) {
          if (examplesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureExamplesIsMutable();
            examples_.set(index, value);
            onChanged();
          } else {
            examplesBuilder_.setMessage(index, value);
          }
          return this;
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public Builder setExamples(
            int index, com.tencent.angel.serving.apis.common.ExampleProtos.Example.Builder builderForValue) {
          if (examplesBuilder_ == null) {
            ensureExamplesIsMutable();
            examples_.set(index, builderForValue.build());
            onChanged();
          } else {
            examplesBuilder_.setMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public Builder addExamples(com.tencent.angel.serving.apis.common.ExampleProtos.Example value) {
          if (examplesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureExamplesIsMutable();
            examples_.add(value);
            onChanged();
          } else {
            examplesBuilder_.addMessage(value);
          }
          return this;
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public Builder addExamples(
            int index, com.tencent.angel.serving.apis.common.ExampleProtos.Example value) {
          if (examplesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureExamplesIsMutable();
            examples_.add(index, value);
            onChanged();
          } else {
            examplesBuilder_.addMessage(index, value);
          }
          return this;
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public Builder addExamples(
            com.tencent.angel.serving.apis.common.ExampleProtos.Example.Builder builderForValue) {
          if (examplesBuilder_ == null) {
            ensureExamplesIsMutable();
            examples_.add(builderForValue.build());
            onChanged();
          } else {
            examplesBuilder_.addMessage(builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public Builder addExamples(
            int index, com.tencent.angel.serving.apis.common.ExampleProtos.Example.Builder builderForValue) {
          if (examplesBuilder_ == null) {
            ensureExamplesIsMutable();
            examples_.add(index, builderForValue.build());
            onChanged();
          } else {
            examplesBuilder_.addMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public Builder addAllExamples(
            java.lang.Iterable<? extends com.tencent.angel.serving.apis.common.ExampleProtos.Example> values) {
          if (examplesBuilder_ == null) {
            ensureExamplesIsMutable();
            com.google.protobuf.AbstractMessageLite.Builder.addAll(
                values, examples_);
            onChanged();
          } else {
            examplesBuilder_.addAllMessages(values);
          }
          return this;
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public Builder clearExamples() {
          if (examplesBuilder_ == null) {
            examples_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
            onChanged();
          } else {
            examplesBuilder_.clear();
          }
          return this;
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public Builder removeExamples(int index) {
          if (examplesBuilder_ == null) {
            ensureExamplesIsMutable();
            examples_.remove(index);
            onChanged();
          } else {
            examplesBuilder_.remove(index);
          }
          return this;
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public com.tencent.angel.serving.apis.common.ExampleProtos.Example.Builder getExamplesBuilder(
            int index) {
          return getExamplesFieldBuilder().getBuilder(index);
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public com.tencent.angel.serving.apis.common.ExampleProtos.ExampleOrBuilder getExamplesOrBuilder(
            int index) {
          if (examplesBuilder_ == null) {
            return examples_.get(index);  } else {
            return examplesBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public java.util.List<? extends com.tencent.angel.serving.apis.common.ExampleProtos.ExampleOrBuilder> 
             getExamplesOrBuilderList() {
          if (examplesBuilder_ != null) {
            return examplesBuilder_.getMessageOrBuilderList();
          } else {
            return java.util.Collections.unmodifiableList(examples_);
          }
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public com.tencent.angel.serving.apis.common.ExampleProtos.Example.Builder addExamplesBuilder() {
          return getExamplesFieldBuilder().addBuilder(
              com.tencent.angel.serving.apis.common.ExampleProtos.Example.getDefaultInstance());
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public com.tencent.angel.serving.apis.common.ExampleProtos.Example.Builder addExamplesBuilder(
            int index) {
          return getExamplesFieldBuilder().addBuilder(
              index, com.tencent.angel.serving.apis.common.ExampleProtos.Example.getDefaultInstance());
        }
        /**
         * <code>repeated .angel.serving.Example examples = 1;</code>
         */
        public java.util.List<com.tencent.angel.serving.apis.common.ExampleProtos.Example.Builder> 
             getExamplesBuilderList() {
          return getExamplesFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.tencent.angel.serving.apis.common.ExampleProtos.Example, com.tencent.angel.serving.apis.common.ExampleProtos.Example.Builder, com.tencent.angel.serving.apis.common.ExampleProtos.ExampleOrBuilder> 
            getExamplesFieldBuilder() {
          if (examplesBuilder_ == null) {
            examplesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                com.tencent.angel.serving.apis.common.ExampleProtos.Example, com.tencent.angel.serving.apis.common.ExampleProtos.Example.Builder, com.tencent.angel.serving.apis.common.ExampleProtos.ExampleOrBuilder>(
                    examples_,
                    ((bitField0_ & 0x00000001) == 0x00000001),
                    getParentForChildren(),
                    isClean());
            examples_ = null;
          }
          return examplesBuilder_;
        }
  
        private com.tencent.angel.serving.apis.common.ExampleProtos.Example context_ = null;
        private com.google.protobuf.SingleFieldBuilderV3<
            com.tencent.angel.serving.apis.common.ExampleProtos.Example, com.tencent.angel.serving.apis.common.ExampleProtos.Example.Builder, com.tencent.angel.serving.apis.common.ExampleProtos.ExampleOrBuilder> contextBuilder_;
        /**
         * <code>.angel.serving.Example context = 2;</code>
         */
        public boolean hasContext() {
          return contextBuilder_ != null || context_ != null;
        }
        /**
         * <code>.angel.serving.Example context = 2;</code>
         */
        public com.tencent.angel.serving.apis.common.ExampleProtos.Example getContext() {
          if (contextBuilder_ == null) {
            return context_ == null ? com.tencent.angel.serving.apis.common.ExampleProtos.Example.getDefaultInstance() : context_;
          } else {
            return contextBuilder_.getMessage();
          }
        }
        /**
         * <code>.angel.serving.Example context = 2;</code>
         */
        public Builder setContext(com.tencent.angel.serving.apis.common.ExampleProtos.Example value) {
          if (contextBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            context_ = value;
            onChanged();
          } else {
            contextBuilder_.setMessage(value);
          }
  
          return this;
        }
        /**
         * <code>.angel.serving.Example context = 2;</code>
         */
        public Builder setContext(
            com.tencent.angel.serving.apis.common.ExampleProtos.Example.Builder builderForValue) {
          if (contextBuilder_ == null) {
            context_ = builderForValue.build();
            onChanged();
          } else {
            contextBuilder_.setMessage(builderForValue.build());
          }
  
          return this;
        }
        /**
         * <code>.angel.serving.Example context = 2;</code>
         */
        public Builder mergeContext(com.tencent.angel.serving.apis.common.ExampleProtos.Example value) {
          if (contextBuilder_ == null) {
            if (context_ != null) {
              context_ =
                com.tencent.angel.serving.apis.common.ExampleProtos.Example.newBuilder(context_).mergeFrom(value).buildPartial();
            } else {
              context_ = value;
            }
            onChanged();
          } else {
            contextBuilder_.mergeFrom(value);
          }
  
          return this;
        }
        /**
         * <code>.angel.serving.Example context = 2;</code>
         */
        public Builder clearContext() {
          if (contextBuilder_ == null) {
            context_ = null;
            onChanged();
          } else {
            context_ = null;
            contextBuilder_ = null;
          }
  
          return this;
        }
        /**
         * <code>.angel.serving.Example context = 2;</code>
         */
        public com.tencent.angel.serving.apis.common.ExampleProtos.Example.Builder getContextBuilder() {
          
          onChanged();
          return getContextFieldBuilder().getBuilder();
        }
        /**
         * <code>.angel.serving.Example context = 2;</code>
         */
        public com.tencent.angel.serving.apis.common.ExampleProtos.ExampleOrBuilder getContextOrBuilder() {
          if (contextBuilder_ != null) {
            return contextBuilder_.getMessageOrBuilder();
          } else {
            return context_ == null ?
                com.tencent.angel.serving.apis.common.ExampleProtos.Example.getDefaultInstance() : context_;
          }
        }
        /**
         * <code>.angel.serving.Example context = 2;</code>
         */
        private com.google.protobuf.SingleFieldBuilderV3<
            com.tencent.angel.serving.apis.common.ExampleProtos.Example, com.tencent.angel.serving.apis.common.ExampleProtos.Example.Builder, com.tencent.angel.serving.apis.common.ExampleProtos.ExampleOrBuilder> 
            getContextFieldBuilder() {
          if (contextBuilder_ == null) {
            contextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                com.tencent.angel.serving.apis.common.ExampleProtos.Example, com.tencent.angel.serving.apis.common.ExampleProtos.Example.Builder, com.tencent.angel.serving.apis.common.ExampleProtos.ExampleOrBuilder>(
                    getContext(),
                    getParentForChildren(),
                    isClean());
            context_ = null;
          }
          return contextBuilder_;
        }
        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.ExampleListWithContext)
      }
  
      // @@protoc_insertion_point(class_scope:angel.serving.ExampleListWithContext)
      private static final com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext();
      }
  
      public static com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }
  
      private static final com.google.protobuf.Parser<ExampleListWithContext>
          PARSER = new com.google.protobuf.AbstractParser<ExampleListWithContext>() {
        public ExampleListWithContext parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new ExampleListWithContext(input, extensionRegistry);
        }
      };
  
      public static com.google.protobuf.Parser<ExampleListWithContext> parser() {
        return PARSER;
      }
  
      @java.lang.Override
      public com.google.protobuf.Parser<ExampleListWithContext> getParserForType() {
        return PARSER;
      }
  
      public com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    public interface InputOrBuilder extends
        // @@protoc_insertion_point(interface_extends:angel.serving.Input)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <code>.angel.serving.ExampleList example_list = 1 [lazy = true];</code>
       */
      boolean hasExampleList();
      /**
       * <code>.angel.serving.ExampleList example_list = 1 [lazy = true];</code>
       */
      com.tencent.angel.serving.apis.common.InputProtos.ExampleList getExampleList();
      /**
       * <code>.angel.serving.ExampleList example_list = 1 [lazy = true];</code>
       */
      com.tencent.angel.serving.apis.common.InputProtos.ExampleListOrBuilder getExampleListOrBuilder();
  
      /**
       * <code>.angel.serving.ExampleListWithContext example_list_with_context = 2 [lazy = true];</code>
       */
      boolean hasExampleListWithContext();
      /**
       * <code>.angel.serving.ExampleListWithContext example_list_with_context = 2 [lazy = true];</code>
       */
      com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext getExampleListWithContext();
      /**
       * <code>.angel.serving.ExampleListWithContext example_list_with_context = 2 [lazy = true];</code>
       */
      com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContextOrBuilder getExampleListWithContextOrBuilder();
  
      public com.tencent.angel.serving.apis.common.InputProtos.Input.KindCase getKindCase();
    }
    /**
     * Protobuf type {@code angel.serving.Input}
     */
    public  static final class Input extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:angel.serving.Input)
        InputOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use Input.newBuilder() to construct.
      private Input(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private Input() {
      }
  
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private Input(
          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.InputProtos.ExampleList.Builder subBuilder = null;
                if (kindCase_ == 1) {
                  subBuilder = ((com.tencent.angel.serving.apis.common.InputProtos.ExampleList) kind_).toBuilder();
                }
                kind_ =
                    input.readMessage(com.tencent.angel.serving.apis.common.InputProtos.ExampleList.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom((com.tencent.angel.serving.apis.common.InputProtos.ExampleList) kind_);
                  kind_ = subBuilder.buildPartial();
                }
                kindCase_ = 1;
                break;
              }
              case 18: {
                com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext.Builder subBuilder = null;
                if (kindCase_ == 2) {
                  subBuilder = ((com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext) kind_).toBuilder();
                }
                kind_ =
                    input.readMessage(com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom((com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext) kind_);
                  kind_ = subBuilder.buildPartial();
                }
                kindCase_ = 2;
                break;
              }
            }
          }
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(this);
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(
              e).setUnfinishedMessage(this);
        } finally {
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.serving.apis.common.InputProtos.internal_static_angel_serving_Input_descriptor;
      }
  
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.serving.apis.common.InputProtos.internal_static_angel_serving_Input_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.serving.apis.common.InputProtos.Input.class, com.tencent.angel.serving.apis.common.InputProtos.Input.Builder.class);
      }
  
      private int kindCase_ = 0;
      private java.lang.Object kind_;
      public enum KindCase
          implements com.google.protobuf.Internal.EnumLite {
        EXAMPLE_LIST(1),
        EXAMPLE_LIST_WITH_CONTEXT(2),
        KIND_NOT_SET(0);
        private final int value;
        private KindCase(int value) {
          this.value = value;
        }
        /**
         * @deprecated Use {@link #forNumber(int)} instead.
         */
        @java.lang.Deprecated
        public static KindCase valueOf(int value) {
          return forNumber(value);
        }
  
        public static KindCase forNumber(int value) {
          switch (value) {
            case 1: return EXAMPLE_LIST;
            case 2: return EXAMPLE_LIST_WITH_CONTEXT;
            case 0: return KIND_NOT_SET;
            default: return null;
          }
        }
        public int getNumber() {
          return this.value;
        }
      };
  
      public KindCase
      getKindCase() {
        return KindCase.forNumber(
            kindCase_);
      }
  
      public static final int EXAMPLE_LIST_FIELD_NUMBER = 1;
      /**
       * <code>.angel.serving.ExampleList example_list = 1 [lazy = true];</code>
       */
      public boolean hasExampleList() {
        return kindCase_ == 1;
      }
      /**
       * <code>.angel.serving.ExampleList example_list = 1 [lazy = true];</code>
       */
      public com.tencent.angel.serving.apis.common.InputProtos.ExampleList getExampleList() {
        if (kindCase_ == 1) {
           return (com.tencent.angel.serving.apis.common.InputProtos.ExampleList) kind_;
        }
        return com.tencent.angel.serving.apis.common.InputProtos.ExampleList.getDefaultInstance();
      }
      /**
       * <code>.angel.serving.ExampleList example_list = 1 [lazy = true];</code>
       */
      public com.tencent.angel.serving.apis.common.InputProtos.ExampleListOrBuilder getExampleListOrBuilder() {
        if (kindCase_ == 1) {
           return (com.tencent.angel.serving.apis.common.InputProtos.ExampleList) kind_;
        }
        return com.tencent.angel.serving.apis.common.InputProtos.ExampleList.getDefaultInstance();
      }
  
      public static final int EXAMPLE_LIST_WITH_CONTEXT_FIELD_NUMBER = 2;
      /**
       * <code>.angel.serving.ExampleListWithContext example_list_with_context = 2 [lazy = true];</code>
       */
      public boolean hasExampleListWithContext() {
        return kindCase_ == 2;
      }
      /**
       * <code>.angel.serving.ExampleListWithContext example_list_with_context = 2 [lazy = true];</code>
       */
      public com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext getExampleListWithContext() {
        if (kindCase_ == 2) {
           return (com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext) kind_;
        }
        return com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext.getDefaultInstance();
      }
      /**
       * <code>.angel.serving.ExampleListWithContext example_list_with_context = 2 [lazy = true];</code>
       */
      public com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContextOrBuilder getExampleListWithContextOrBuilder() {
        if (kindCase_ == 2) {
           return (com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext) kind_;
        }
        return com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext.getDefaultInstance();
      }
  
      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 (kindCase_ == 1) {
          output.writeMessage(1, (com.tencent.angel.serving.apis.common.InputProtos.ExampleList) kind_);
        }
        if (kindCase_ == 2) {
          output.writeMessage(2, (com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext) kind_);
        }
        unknownFields.writeTo(output);
      }
  
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        if (kindCase_ == 1) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(1, (com.tencent.angel.serving.apis.common.InputProtos.ExampleList) kind_);
        }
        if (kindCase_ == 2) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(2, (com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext) kind_);
        }
        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.common.InputProtos.Input)) {
          return super.equals(obj);
        }
        com.tencent.angel.serving.apis.common.InputProtos.Input other = (com.tencent.angel.serving.apis.common.InputProtos.Input) obj;
  
        boolean result = true;
        result = result && getKindCase().equals(
            other.getKindCase());
        if (!result) return false;
        switch (kindCase_) {
          case 1:
            result = result && getExampleList()
                .equals(other.getExampleList());
            break;
          case 2:
            result = result && getExampleListWithContext()
                .equals(other.getExampleListWithContext());
            break;
          case 0:
          default:
        }
        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();
        switch (kindCase_) {
          case 1:
            hash = (37 * hash) + EXAMPLE_LIST_FIELD_NUMBER;
            hash = (53 * hash) + getExampleList().hashCode();
            break;
          case 2:
            hash = (37 * hash) + EXAMPLE_LIST_WITH_CONTEXT_FIELD_NUMBER;
            hash = (53 * hash) + getExampleListWithContext().hashCode();
            break;
          case 0:
          default:
        }
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }
  
      public static com.tencent.angel.serving.apis.common.InputProtos.Input parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.common.InputProtos.Input 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.common.InputProtos.Input parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.common.InputProtos.Input 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.common.InputProtos.Input parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.common.InputProtos.Input 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.common.InputProtos.Input parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.serving.apis.common.InputProtos.Input 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.common.InputProtos.Input parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static com.tencent.angel.serving.apis.common.InputProtos.Input 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.common.InputProtos.Input 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.common.InputProtos.Input 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.common.InputProtos.Input 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.Input}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:angel.serving.Input)
          com.tencent.angel.serving.apis.common.InputProtos.InputOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.tencent.angel.serving.apis.common.InputProtos.internal_static_angel_serving_Input_descriptor;
        }
  
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.tencent.angel.serving.apis.common.InputProtos.internal_static_angel_serving_Input_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.tencent.angel.serving.apis.common.InputProtos.Input.class, com.tencent.angel.serving.apis.common.InputProtos.Input.Builder.class);
        }
  
        // Construct using com.tencent.angel.serving.apis.common.InputProtos.Input.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }
  
        private Builder(
            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          super(parent);
          maybeForceBuilderInitialization();
        }
        private void maybeForceBuilderInitialization() {
          if (com.google.protobuf.GeneratedMessageV3
                  .alwaysUseFieldBuilders) {
          }
        }
        public Builder clear() {
          super.clear();
          kindCase_ = 0;
          kind_ = null;
          return this;
        }
  
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return com.tencent.angel.serving.apis.common.InputProtos.internal_static_angel_serving_Input_descriptor;
        }
  
        public com.tencent.angel.serving.apis.common.InputProtos.Input getDefaultInstanceForType() {
          return com.tencent.angel.serving.apis.common.InputProtos.Input.getDefaultInstance();
        }
  
        public com.tencent.angel.serving.apis.common.InputProtos.Input build() {
          com.tencent.angel.serving.apis.common.InputProtos.Input result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        public com.tencent.angel.serving.apis.common.InputProtos.Input buildPartial() {
          com.tencent.angel.serving.apis.common.InputProtos.Input result = new com.tencent.angel.serving.apis.common.InputProtos.Input(this);
          if (kindCase_ == 1) {
            if (exampleListBuilder_ == null) {
              result.kind_ = kind_;
            } else {
              result.kind_ = exampleListBuilder_.build();
            }
          }
          if (kindCase_ == 2) {
            if (exampleListWithContextBuilder_ == null) {
              result.kind_ = kind_;
            } else {
              result.kind_ = exampleListWithContextBuilder_.build();
            }
          }
          result.kindCase_ = kindCase_;
          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.common.InputProtos.Input) {
            return mergeFrom((com.tencent.angel.serving.apis.common.InputProtos.Input)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(com.tencent.angel.serving.apis.common.InputProtos.Input other) {
          if (other == com.tencent.angel.serving.apis.common.InputProtos.Input.getDefaultInstance()) return this;
          switch (other.getKindCase()) {
            case EXAMPLE_LIST: {
              mergeExampleList(other.getExampleList());
              break;
            }
            case EXAMPLE_LIST_WITH_CONTEXT: {
              mergeExampleListWithContext(other.getExampleListWithContext());
              break;
            }
            case KIND_NOT_SET: {
              break;
            }
          }
          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.common.InputProtos.Input parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.tencent.angel.serving.apis.common.InputProtos.Input) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int kindCase_ = 0;
        private java.lang.Object kind_;
        public KindCase
            getKindCase() {
          return KindCase.forNumber(
              kindCase_);
        }
  
        public Builder clearKind() {
          kindCase_ = 0;
          kind_ = null;
          onChanged();
          return this;
        }
  
  
        private com.google.protobuf.SingleFieldBuilderV3<
            com.tencent.angel.serving.apis.common.InputProtos.ExampleList, com.tencent.angel.serving.apis.common.InputProtos.ExampleList.Builder, com.tencent.angel.serving.apis.common.InputProtos.ExampleListOrBuilder> exampleListBuilder_;
        /**
         * <code>.angel.serving.ExampleList example_list = 1 [lazy = true];</code>
         */
        public boolean hasExampleList() {
          return kindCase_ == 1;
        }
        /**
         * <code>.angel.serving.ExampleList example_list = 1 [lazy = true];</code>
         */
        public com.tencent.angel.serving.apis.common.InputProtos.ExampleList getExampleList() {
          if (exampleListBuilder_ == null) {
            if (kindCase_ == 1) {
              return (com.tencent.angel.serving.apis.common.InputProtos.ExampleList) kind_;
            }
            return com.tencent.angel.serving.apis.common.InputProtos.ExampleList.getDefaultInstance();
          } else {
            if (kindCase_ == 1) {
              return exampleListBuilder_.getMessage();
            }
            return com.tencent.angel.serving.apis.common.InputProtos.ExampleList.getDefaultInstance();
          }
        }
        /**
         * <code>.angel.serving.ExampleList example_list = 1 [lazy = true];</code>
         */
        public Builder setExampleList(com.tencent.angel.serving.apis.common.InputProtos.ExampleList value) {
          if (exampleListBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            kind_ = value;
            onChanged();
          } else {
            exampleListBuilder_.setMessage(value);
          }
          kindCase_ = 1;
          return this;
        }
        /**
         * <code>.angel.serving.ExampleList example_list = 1 [lazy = true];</code>
         */
        public Builder setExampleList(
            com.tencent.angel.serving.apis.common.InputProtos.ExampleList.Builder builderForValue) {
          if (exampleListBuilder_ == null) {
            kind_ = builderForValue.build();
            onChanged();
          } else {
            exampleListBuilder_.setMessage(builderForValue.build());
          }
          kindCase_ = 1;
          return this;
        }
        /**
         * <code>.angel.serving.ExampleList example_list = 1 [lazy = true];</code>
         */
        public Builder mergeExampleList(com.tencent.angel.serving.apis.common.InputProtos.ExampleList value) {
          if (exampleListBuilder_ == null) {
            if (kindCase_ == 1 &&
                kind_ != com.tencent.angel.serving.apis.common.InputProtos.ExampleList.getDefaultInstance()) {
              kind_ = com.tencent.angel.serving.apis.common.InputProtos.ExampleList.newBuilder((com.tencent.angel.serving.apis.common.InputProtos.ExampleList) kind_)
                  .mergeFrom(value).buildPartial();
            } else {
              kind_ = value;
            }
            onChanged();
          } else {
            if (kindCase_ == 1) {
              exampleListBuilder_.mergeFrom(value);
            }
            exampleListBuilder_.setMessage(value);
          }
          kindCase_ = 1;
          return this;
        }
        /**
         * <code>.angel.serving.ExampleList example_list = 1 [lazy = true];</code>
         */
        public Builder clearExampleList() {
          if (exampleListBuilder_ == null) {
            if (kindCase_ == 1) {
              kindCase_ = 0;
              kind_ = null;
              onChanged();
            }
          } else {
            if (kindCase_ == 1) {
              kindCase_ = 0;
              kind_ = null;
            }
            exampleListBuilder_.clear();
          }
          return this;
        }
        /**
         * <code>.angel.serving.ExampleList example_list = 1 [lazy = true];</code>
         */
        public com.tencent.angel.serving.apis.common.InputProtos.ExampleList.Builder getExampleListBuilder() {
          return getExampleListFieldBuilder().getBuilder();
        }
        /**
         * <code>.angel.serving.ExampleList example_list = 1 [lazy = true];</code>
         */
        public com.tencent.angel.serving.apis.common.InputProtos.ExampleListOrBuilder getExampleListOrBuilder() {
          if ((kindCase_ == 1) && (exampleListBuilder_ != null)) {
            return exampleListBuilder_.getMessageOrBuilder();
          } else {
            if (kindCase_ == 1) {
              return (com.tencent.angel.serving.apis.common.InputProtos.ExampleList) kind_;
            }
            return com.tencent.angel.serving.apis.common.InputProtos.ExampleList.getDefaultInstance();
          }
        }
        /**
         * <code>.angel.serving.ExampleList example_list = 1 [lazy = true];</code>
         */
        private com.google.protobuf.SingleFieldBuilderV3<
            com.tencent.angel.serving.apis.common.InputProtos.ExampleList, com.tencent.angel.serving.apis.common.InputProtos.ExampleList.Builder, com.tencent.angel.serving.apis.common.InputProtos.ExampleListOrBuilder> 
            getExampleListFieldBuilder() {
          if (exampleListBuilder_ == null) {
            if (!(kindCase_ == 1)) {
              kind_ = com.tencent.angel.serving.apis.common.InputProtos.ExampleList.getDefaultInstance();
            }
            exampleListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                com.tencent.angel.serving.apis.common.InputProtos.ExampleList, com.tencent.angel.serving.apis.common.InputProtos.ExampleList.Builder, com.tencent.angel.serving.apis.common.InputProtos.ExampleListOrBuilder>(
                    (com.tencent.angel.serving.apis.common.InputProtos.ExampleList) kind_,
                    getParentForChildren(),
                    isClean());
            kind_ = null;
          }
          kindCase_ = 1;
          onChanged();;
          return exampleListBuilder_;
        }
  
        private com.google.protobuf.SingleFieldBuilderV3<
            com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext, com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext.Builder, com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContextOrBuilder> exampleListWithContextBuilder_;
        /**
         * <code>.angel.serving.ExampleListWithContext example_list_with_context = 2 [lazy = true];</code>
         */
        public boolean hasExampleListWithContext() {
          return kindCase_ == 2;
        }
        /**
         * <code>.angel.serving.ExampleListWithContext example_list_with_context = 2 [lazy = true];</code>
         */
        public com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext getExampleListWithContext() {
          if (exampleListWithContextBuilder_ == null) {
            if (kindCase_ == 2) {
              return (com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext) kind_;
            }
            return com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext.getDefaultInstance();
          } else {
            if (kindCase_ == 2) {
              return exampleListWithContextBuilder_.getMessage();
            }
            return com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext.getDefaultInstance();
          }
        }
        /**
         * <code>.angel.serving.ExampleListWithContext example_list_with_context = 2 [lazy = true];</code>
         */
        public Builder setExampleListWithContext(com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext value) {
          if (exampleListWithContextBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            kind_ = value;
            onChanged();
          } else {
            exampleListWithContextBuilder_.setMessage(value);
          }
          kindCase_ = 2;
          return this;
        }
        /**
         * <code>.angel.serving.ExampleListWithContext example_list_with_context = 2 [lazy = true];</code>
         */
        public Builder setExampleListWithContext(
            com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext.Builder builderForValue) {
          if (exampleListWithContextBuilder_ == null) {
            kind_ = builderForValue.build();
            onChanged();
          } else {
            exampleListWithContextBuilder_.setMessage(builderForValue.build());
          }
          kindCase_ = 2;
          return this;
        }
        /**
         * <code>.angel.serving.ExampleListWithContext example_list_with_context = 2 [lazy = true];</code>
         */
        public Builder mergeExampleListWithContext(com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext value) {
          if (exampleListWithContextBuilder_ == null) {
            if (kindCase_ == 2 &&
                kind_ != com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext.getDefaultInstance()) {
              kind_ = com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext.newBuilder((com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext) kind_)
                  .mergeFrom(value).buildPartial();
            } else {
              kind_ = value;
            }
            onChanged();
          } else {
            if (kindCase_ == 2) {
              exampleListWithContextBuilder_.mergeFrom(value);
            }
            exampleListWithContextBuilder_.setMessage(value);
          }
          kindCase_ = 2;
          return this;
        }
        /**
         * <code>.angel.serving.ExampleListWithContext example_list_with_context = 2 [lazy = true];</code>
         */
        public Builder clearExampleListWithContext() {
          if (exampleListWithContextBuilder_ == null) {
            if (kindCase_ == 2) {
              kindCase_ = 0;
              kind_ = null;
              onChanged();
            }
          } else {
            if (kindCase_ == 2) {
              kindCase_ = 0;
              kind_ = null;
            }
            exampleListWithContextBuilder_.clear();
          }
          return this;
        }
        /**
         * <code>.angel.serving.ExampleListWithContext example_list_with_context = 2 [lazy = true];</code>
         */
        public com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext.Builder getExampleListWithContextBuilder() {
          return getExampleListWithContextFieldBuilder().getBuilder();
        }
        /**
         * <code>.angel.serving.ExampleListWithContext example_list_with_context = 2 [lazy = true];</code>
         */
        public com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContextOrBuilder getExampleListWithContextOrBuilder() {
          if ((kindCase_ == 2) && (exampleListWithContextBuilder_ != null)) {
            return exampleListWithContextBuilder_.getMessageOrBuilder();
          } else {
            if (kindCase_ == 2) {
              return (com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext) kind_;
            }
            return com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext.getDefaultInstance();
          }
        }
        /**
         * <code>.angel.serving.ExampleListWithContext example_list_with_context = 2 [lazy = true];</code>
         */
        private com.google.protobuf.SingleFieldBuilderV3<
            com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext, com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext.Builder, com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContextOrBuilder> 
            getExampleListWithContextFieldBuilder() {
          if (exampleListWithContextBuilder_ == null) {
            if (!(kindCase_ == 2)) {
              kind_ = com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext.getDefaultInstance();
            }
            exampleListWithContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext, com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext.Builder, com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContextOrBuilder>(
                    (com.tencent.angel.serving.apis.common.InputProtos.ExampleListWithContext) kind_,
                    getParentForChildren(),
                    isClean());
            kind_ = null;
          }
          kindCase_ = 2;
          onChanged();;
          return exampleListWithContextBuilder_;
        }
        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.Input)
      }
  
      // @@protoc_insertion_point(class_scope:angel.serving.Input)
      private static final com.tencent.angel.serving.apis.common.InputProtos.Input DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.tencent.angel.serving.apis.common.InputProtos.Input();
      }
  
      public static com.tencent.angel.serving.apis.common.InputProtos.Input getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }
  
      private static final com.google.protobuf.Parser<Input>
          PARSER = new com.google.protobuf.AbstractParser<Input>() {
        public Input parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new Input(input, extensionRegistry);
        }
      };
  
      public static com.google.protobuf.Parser<Input> parser() {
        return PARSER;
      }
  
      @java.lang.Override
      public com.google.protobuf.Parser<Input> getParserForType() {
        return PARSER;
      }
  
      public com.tencent.angel.serving.apis.common.InputProtos.Input getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_angel_serving_ExampleList_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_angel_serving_ExampleList_fieldAccessorTable;
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_angel_serving_ExampleListWithContext_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_angel_serving_ExampleListWithContext_fieldAccessorTable;
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_angel_serving_Input_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_angel_serving_Input_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\027apis/common/input.proto\022\rangel.serving" +
        "\032\031apis/common/example.proto\"7\n\013ExampleLi" +
        "st\022(\n\010examples\030\001 \003(\0132\026.angel.serving.Exa" +
        "mple\"k\n\026ExampleListWithContext\022(\n\010exampl" +
        "es\030\001 \003(\0132\026.angel.serving.Example\022\'\n\007cont" +
        "ext\030\002 \001(\0132\026.angel.serving.Example\"\227\001\n\005In" +
        "put\0226\n\014example_list\030\001 \001(\0132\032.angel.servin" +
        "g.ExampleListB\002(\001H\000\022N\n\031example_list_with" +
        "_context\030\002 \001(\0132%.angel.serving.ExampleLi" +
        "stWithContextB\002(\001H\000B\006\n\004kindB6\n%com.tence" +
        "nt.angel.serving.apis.commonB\013InputProto" +
        "sP\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.ExampleProtos.getDescriptor(),
          }, assigner);
      internal_static_angel_serving_ExampleList_descriptor =
        getDescriptor().getMessageTypes().get(0);
      internal_static_angel_serving_ExampleList_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_angel_serving_ExampleList_descriptor,
          new java.lang.String[] { "Examples", });
      internal_static_angel_serving_ExampleListWithContext_descriptor =
        getDescriptor().getMessageTypes().get(1);
      internal_static_angel_serving_ExampleListWithContext_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_angel_serving_ExampleListWithContext_descriptor,
          new java.lang.String[] { "Examples", "Context", });
      internal_static_angel_serving_Input_descriptor =
        getDescriptor().getMessageTypes().get(2);
      internal_static_angel_serving_Input_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_angel_serving_Input_descriptor,
          new java.lang.String[] { "ExampleList", "ExampleListWithContext", "Kind", });
      com.tencent.angel.serving.apis.common.ExampleProtos.getDescriptor();
    }
  
    // @@protoc_insertion_point(outer_class_scope)
  }
  