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/internal/serialized_input.proto
  
  package com.tencent.angel.serving.apis.internal;
  
  public final class SerializedInputProtos {
    private SerializedInputProtos() {}
    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 SerializedExampleListOrBuilder extends
        // @@protoc_insertion_point(interface_extends:angel.serving.internal.SerializedExampleList)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <code>repeated bytes examples = 1;</code>
       */
      java.util.List<com.google.protobuf.ByteString> getExamplesList();
      /**
       * <code>repeated bytes examples = 1;</code>
       */
      int getExamplesCount();
      /**
       * <code>repeated bytes examples = 1;</code>
       */
      com.google.protobuf.ByteString getExamples(int index);
    }
    /**
     * Protobuf type {@code angel.serving.internal.SerializedExampleList}
     */
    public  static final class SerializedExampleList extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:angel.serving.internal.SerializedExampleList)
        SerializedExampleListOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use SerializedExampleList.newBuilder() to construct.
      private SerializedExampleList(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private SerializedExampleList() {
        examples_ = java.util.Collections.emptyList();
      }
  
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private SerializedExampleList(
          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.google.protobuf.ByteString>();
                  mutable_bitField0_ |= 0x00000001;
                }
                examples_.add(input.readBytes());
                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.internal.SerializedInputProtos.internal_static_angel_serving_internal_SerializedExampleList_descriptor;
      }
  
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.serving.apis.internal.SerializedInputProtos.internal_static_angel_serving_internal_SerializedExampleList_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList.class, com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList.Builder.class);
      }
  
      public static final int EXAMPLES_FIELD_NUMBER = 1;
      private java.util.List<com.google.protobuf.ByteString> examples_;
      /**
       * <code>repeated bytes examples = 1;</code>
       */
      public java.util.List<com.google.protobuf.ByteString>
          getExamplesList() {
        return examples_;
      }
      /**
       * <code>repeated bytes examples = 1;</code>
       */
      public int getExamplesCount() {
        return examples_.size();
      }
      /**
       * <code>repeated bytes examples = 1;</code>
       */
      public com.google.protobuf.ByteString getExamples(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.writeBytes(1, examples_.get(i));
        }
        unknownFields.writeTo(output);
      }
  
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        {
          int dataSize = 0;
          for (int i = 0; i < examples_.size(); i++) {
            dataSize += com.google.protobuf.CodedOutputStream
              .computeBytesSizeNoTag(examples_.get(i));
          }
          size += dataSize;
          size += 1 * getExamplesList().size();
        }
        size += unknownFields.getSerializedSize();
        memoizedSize = size;
        return size;
      }
  
      @java.lang.Override
      public boolean equals(final java.lang.Object obj) {
        if (obj == this) {
         return true;
        }
        if (!(obj instanceof com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList)) {
          return super.equals(obj);
        }
        com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList other = (com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList) 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.internal.SerializedInputProtos.SerializedExampleList parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList 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.internal.SerializedInputProtos.SerializedExampleList parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList 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.internal.SerializedInputProtos.SerializedExampleList parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList 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.internal.SerializedInputProtos.SerializedExampleList parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList 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.internal.SerializedInputProtos.SerializedExampleList parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList 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.internal.SerializedInputProtos.SerializedExampleList 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.internal.SerializedInputProtos.SerializedExampleList 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.internal.SerializedInputProtos.SerializedExampleList 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.internal.SerializedExampleList}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:angel.serving.internal.SerializedExampleList)
          com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.tencent.angel.serving.apis.internal.SerializedInputProtos.internal_static_angel_serving_internal_SerializedExampleList_descriptor;
        }
  
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.tencent.angel.serving.apis.internal.SerializedInputProtos.internal_static_angel_serving_internal_SerializedExampleList_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList.class, com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList.Builder.class);
        }
  
        // Construct using com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList.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();
          examples_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          return this;
        }
  
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return com.tencent.angel.serving.apis.internal.SerializedInputProtos.internal_static_angel_serving_internal_SerializedExampleList_descriptor;
        }
  
        public com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList getDefaultInstanceForType() {
          return com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList.getDefaultInstance();
        }
  
        public com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList build() {
          com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        public com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList buildPartial() {
          com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList result = new com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList(this);
          int from_bitField0_ = bitField0_;
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            examples_ = java.util.Collections.unmodifiableList(examples_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.examples_ = examples_;
          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.internal.SerializedInputProtos.SerializedExampleList) {
            return mergeFrom((com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList other) {
          if (other == com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList.getDefaultInstance()) return this;
          if (!other.examples_.isEmpty()) {
            if (examples_.isEmpty()) {
              examples_ = other.examples_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureExamplesIsMutable();
              examples_.addAll(other.examples_);
            }
            onChanged();
          }
          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.internal.SerializedInputProtos.SerializedExampleList parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;
  
        private java.util.List<com.google.protobuf.ByteString> examples_ = java.util.Collections.emptyList();
        private void ensureExamplesIsMutable() {
          if (!((bitField0_ & 0x00000001) == 0x00000001)) {
            examples_ = new java.util.ArrayList<com.google.protobuf.ByteString>(examples_);
            bitField0_ |= 0x00000001;
           }
        }
        /**
         * <code>repeated bytes examples = 1;</code>
         */
        public java.util.List<com.google.protobuf.ByteString>
            getExamplesList() {
          return java.util.Collections.unmodifiableList(examples_);
        }
        /**
         * <code>repeated bytes examples = 1;</code>
         */
        public int getExamplesCount() {
          return examples_.size();
        }
        /**
         * <code>repeated bytes examples = 1;</code>
         */
        public com.google.protobuf.ByteString getExamples(int index) {
          return examples_.get(index);
        }
        /**
         * <code>repeated bytes examples = 1;</code>
         */
        public Builder setExamples(
            int index, com.google.protobuf.ByteString value) {
          if (value == null) {
      throw new NullPointerException();
    }
    ensureExamplesIsMutable();
          examples_.set(index, value);
          onChanged();
          return this;
        }
        /**
         * <code>repeated bytes examples = 1;</code>
         */
        public Builder addExamples(com.google.protobuf.ByteString value) {
          if (value == null) {
      throw new NullPointerException();
    }
    ensureExamplesIsMutable();
          examples_.add(value);
          onChanged();
          return this;
        }
        /**
         * <code>repeated bytes examples = 1;</code>
         */
        public Builder addAllExamples(
            java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
          ensureExamplesIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, examples_);
          onChanged();
          return this;
        }
        /**
         * <code>repeated bytes examples = 1;</code>
         */
        public Builder clearExamples() {
          examples_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
          return this;
        }
        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.internal.SerializedExampleList)
      }
  
      // @@protoc_insertion_point(class_scope:angel.serving.internal.SerializedExampleList)
      private static final com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList();
      }
  
      public static com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }
  
      private static final com.google.protobuf.Parser<SerializedExampleList>
          PARSER = new com.google.protobuf.AbstractParser<SerializedExampleList>() {
        public SerializedExampleList parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new SerializedExampleList(input, extensionRegistry);
        }
      };
  
      public static com.google.protobuf.Parser<SerializedExampleList> parser() {
        return PARSER;
      }
  
      @java.lang.Override
      public com.google.protobuf.Parser<SerializedExampleList> getParserForType() {
        return PARSER;
      }
  
      public com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    public interface SerializedExampleListWithContextOrBuilder extends
        // @@protoc_insertion_point(interface_extends:angel.serving.internal.SerializedExampleListWithContext)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <code>repeated bytes examples = 1;</code>
       */
      java.util.List<com.google.protobuf.ByteString> getExamplesList();
      /**
       * <code>repeated bytes examples = 1;</code>
       */
      int getExamplesCount();
      /**
       * <code>repeated bytes examples = 1;</code>
       */
      com.google.protobuf.ByteString getExamples(int index);
  
      /**
       * <code>bytes context = 2;</code>
       */
      com.google.protobuf.ByteString getContext();
    }
    /**
     * Protobuf type {@code angel.serving.internal.SerializedExampleListWithContext}
     */
    public  static final class SerializedExampleListWithContext extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:angel.serving.internal.SerializedExampleListWithContext)
        SerializedExampleListWithContextOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use SerializedExampleListWithContext.newBuilder() to construct.
      private SerializedExampleListWithContext(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private SerializedExampleListWithContext() {
        examples_ = java.util.Collections.emptyList();
        context_ = com.google.protobuf.ByteString.EMPTY;
      }
  
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private SerializedExampleListWithContext(
          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.google.protobuf.ByteString>();
                  mutable_bitField0_ |= 0x00000001;
                }
                examples_.add(input.readBytes());
                break;
              }
              case 18: {
  
                context_ = input.readBytes();
                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.internal.SerializedInputProtos.internal_static_angel_serving_internal_SerializedExampleListWithContext_descriptor;
      }
  
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.serving.apis.internal.SerializedInputProtos.internal_static_angel_serving_internal_SerializedExampleListWithContext_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext.class, com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext.Builder.class);
      }
  
      private int bitField0_;
      public static final int EXAMPLES_FIELD_NUMBER = 1;
      private java.util.List<com.google.protobuf.ByteString> examples_;
      /**
       * <code>repeated bytes examples = 1;</code>
       */
      public java.util.List<com.google.protobuf.ByteString>
          getExamplesList() {
        return examples_;
      }
      /**
       * <code>repeated bytes examples = 1;</code>
       */
      public int getExamplesCount() {
        return examples_.size();
      }
      /**
       * <code>repeated bytes examples = 1;</code>
       */
      public com.google.protobuf.ByteString getExamples(int index) {
        return examples_.get(index);
      }
  
      public static final int CONTEXT_FIELD_NUMBER = 2;
      private com.google.protobuf.ByteString context_;
      /**
       * <code>bytes context = 2;</code>
       */
      public com.google.protobuf.ByteString getContext() {
        return context_;
      }
  
      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.writeBytes(1, examples_.get(i));
        }
        if (!context_.isEmpty()) {
          output.writeBytes(2, context_);
        }
        unknownFields.writeTo(output);
      }
  
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        {
          int dataSize = 0;
          for (int i = 0; i < examples_.size(); i++) {
            dataSize += com.google.protobuf.CodedOutputStream
              .computeBytesSizeNoTag(examples_.get(i));
          }
          size += dataSize;
          size += 1 * getExamplesList().size();
        }
        if (!context_.isEmpty()) {
          size += com.google.protobuf.CodedOutputStream
            .computeBytesSize(2, context_);
        }
        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.internal.SerializedInputProtos.SerializedExampleListWithContext)) {
          return super.equals(obj);
        }
        com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext other = (com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext) obj;
  
        boolean result = true;
        result = result && getExamplesList()
            .equals(other.getExamplesList());
        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();
        }
        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.internal.SerializedInputProtos.SerializedExampleListWithContext parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext 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.internal.SerializedInputProtos.SerializedExampleListWithContext parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext 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.internal.SerializedInputProtos.SerializedExampleListWithContext parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext 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.internal.SerializedInputProtos.SerializedExampleListWithContext parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext 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.internal.SerializedInputProtos.SerializedExampleListWithContext parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext 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.internal.SerializedInputProtos.SerializedExampleListWithContext 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.internal.SerializedInputProtos.SerializedExampleListWithContext 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.internal.SerializedInputProtos.SerializedExampleListWithContext 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.internal.SerializedExampleListWithContext}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:angel.serving.internal.SerializedExampleListWithContext)
          com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContextOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.tencent.angel.serving.apis.internal.SerializedInputProtos.internal_static_angel_serving_internal_SerializedExampleListWithContext_descriptor;
        }
  
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.tencent.angel.serving.apis.internal.SerializedInputProtos.internal_static_angel_serving_internal_SerializedExampleListWithContext_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext.class, com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext.Builder.class);
        }
  
        // Construct using com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext.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();
          examples_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          context_ = com.google.protobuf.ByteString.EMPTY;
  
          return this;
        }
  
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return com.tencent.angel.serving.apis.internal.SerializedInputProtos.internal_static_angel_serving_internal_SerializedExampleListWithContext_descriptor;
        }
  
        public com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext getDefaultInstanceForType() {
          return com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext.getDefaultInstance();
        }
  
        public com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext build() {
          com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        public com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext buildPartial() {
          com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext result = new com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            examples_ = java.util.Collections.unmodifiableList(examples_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.examples_ = examples_;
          result.context_ = context_;
          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.internal.SerializedInputProtos.SerializedExampleListWithContext) {
            return mergeFrom((com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext other) {
          if (other == com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext.getDefaultInstance()) return this;
          if (!other.examples_.isEmpty()) {
            if (examples_.isEmpty()) {
              examples_ = other.examples_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureExamplesIsMutable();
              examples_.addAll(other.examples_);
            }
            onChanged();
          }
          if (other.getContext() != com.google.protobuf.ByteString.EMPTY) {
            setContext(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.internal.SerializedInputProtos.SerializedExampleListWithContext parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;
  
        private java.util.List<com.google.protobuf.ByteString> examples_ = java.util.Collections.emptyList();
        private void ensureExamplesIsMutable() {
          if (!((bitField0_ & 0x00000001) == 0x00000001)) {
            examples_ = new java.util.ArrayList<com.google.protobuf.ByteString>(examples_);
            bitField0_ |= 0x00000001;
           }
        }
        /**
         * <code>repeated bytes examples = 1;</code>
         */
        public java.util.List<com.google.protobuf.ByteString>
            getExamplesList() {
          return java.util.Collections.unmodifiableList(examples_);
        }
        /**
         * <code>repeated bytes examples = 1;</code>
         */
        public int getExamplesCount() {
          return examples_.size();
        }
        /**
         * <code>repeated bytes examples = 1;</code>
         */
        public com.google.protobuf.ByteString getExamples(int index) {
          return examples_.get(index);
        }
        /**
         * <code>repeated bytes examples = 1;</code>
         */
        public Builder setExamples(
            int index, com.google.protobuf.ByteString value) {
          if (value == null) {
      throw new NullPointerException();
    }
    ensureExamplesIsMutable();
          examples_.set(index, value);
          onChanged();
          return this;
        }
        /**
         * <code>repeated bytes examples = 1;</code>
         */
        public Builder addExamples(com.google.protobuf.ByteString value) {
          if (value == null) {
      throw new NullPointerException();
    }
    ensureExamplesIsMutable();
          examples_.add(value);
          onChanged();
          return this;
        }
        /**
         * <code>repeated bytes examples = 1;</code>
         */
        public Builder addAllExamples(
            java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
          ensureExamplesIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, examples_);
          onChanged();
          return this;
        }
        /**
         * <code>repeated bytes examples = 1;</code>
         */
        public Builder clearExamples() {
          examples_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
          return this;
        }
  
        private com.google.protobuf.ByteString context_ = com.google.protobuf.ByteString.EMPTY;
        /**
         * <code>bytes context = 2;</code>
         */
        public com.google.protobuf.ByteString getContext() {
          return context_;
        }
        /**
         * <code>bytes context = 2;</code>
         */
        public Builder setContext(com.google.protobuf.ByteString value) {
          if (value == null) {
      throw new NullPointerException();
    }
    
          context_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>bytes context = 2;</code>
         */
        public Builder clearContext() {
          
          context_ = getDefaultInstance().getContext();
          onChanged();
          return this;
        }
        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.internal.SerializedExampleListWithContext)
      }
  
      // @@protoc_insertion_point(class_scope:angel.serving.internal.SerializedExampleListWithContext)
      private static final com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext();
      }
  
      public static com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }
  
      private static final com.google.protobuf.Parser<SerializedExampleListWithContext>
          PARSER = new com.google.protobuf.AbstractParser<SerializedExampleListWithContext>() {
        public SerializedExampleListWithContext parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new SerializedExampleListWithContext(input, extensionRegistry);
        }
      };
  
      public static com.google.protobuf.Parser<SerializedExampleListWithContext> parser() {
        return PARSER;
      }
  
      @java.lang.Override
      public com.google.protobuf.Parser<SerializedExampleListWithContext> getParserForType() {
        return PARSER;
      }
  
      public com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    public interface SerializedInputOrBuilder extends
        // @@protoc_insertion_point(interface_extends:angel.serving.internal.SerializedInput)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <code>.angel.serving.internal.SerializedExampleList example_list = 1;</code>
       */
      boolean hasExampleList();
      /**
       * <code>.angel.serving.internal.SerializedExampleList example_list = 1;</code>
       */
      com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList getExampleList();
      /**
       * <code>.angel.serving.internal.SerializedExampleList example_list = 1;</code>
       */
      com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListOrBuilder getExampleListOrBuilder();
  
      /**
       * <code>.angel.serving.internal.SerializedExampleListWithContext example_list_with_context = 2;</code>
       */
      boolean hasExampleListWithContext();
      /**
       * <code>.angel.serving.internal.SerializedExampleListWithContext example_list_with_context = 2;</code>
       */
      com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext getExampleListWithContext();
      /**
       * <code>.angel.serving.internal.SerializedExampleListWithContext example_list_with_context = 2;</code>
       */
      com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContextOrBuilder getExampleListWithContextOrBuilder();
  
      public com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput.KindCase getKindCase();
    }
    /**
     * Protobuf type {@code angel.serving.internal.SerializedInput}
     */
    public  static final class SerializedInput extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:angel.serving.internal.SerializedInput)
        SerializedInputOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use SerializedInput.newBuilder() to construct.
      private SerializedInput(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private SerializedInput() {
      }
  
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private SerializedInput(
          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.internal.SerializedInputProtos.SerializedExampleList.Builder subBuilder = null;
                if (kindCase_ == 1) {
                  subBuilder = ((com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList) kind_).toBuilder();
                }
                kind_ =
                    input.readMessage(com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom((com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList) kind_);
                  kind_ = subBuilder.buildPartial();
                }
                kindCase_ = 1;
                break;
              }
              case 18: {
                com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext.Builder subBuilder = null;
                if (kindCase_ == 2) {
                  subBuilder = ((com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext) kind_).toBuilder();
                }
                kind_ =
                    input.readMessage(com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom((com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext) 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.internal.SerializedInputProtos.internal_static_angel_serving_internal_SerializedInput_descriptor;
      }
  
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.serving.apis.internal.SerializedInputProtos.internal_static_angel_serving_internal_SerializedInput_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput.class, com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput.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.internal.SerializedExampleList example_list = 1;</code>
       */
      public boolean hasExampleList() {
        return kindCase_ == 1;
      }
      /**
       * <code>.angel.serving.internal.SerializedExampleList example_list = 1;</code>
       */
      public com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList getExampleList() {
        if (kindCase_ == 1) {
           return (com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList) kind_;
        }
        return com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList.getDefaultInstance();
      }
      /**
       * <code>.angel.serving.internal.SerializedExampleList example_list = 1;</code>
       */
      public com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListOrBuilder getExampleListOrBuilder() {
        if (kindCase_ == 1) {
           return (com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList) kind_;
        }
        return com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList.getDefaultInstance();
      }
  
      public static final int EXAMPLE_LIST_WITH_CONTEXT_FIELD_NUMBER = 2;
      /**
       * <code>.angel.serving.internal.SerializedExampleListWithContext example_list_with_context = 2;</code>
       */
      public boolean hasExampleListWithContext() {
        return kindCase_ == 2;
      }
      /**
       * <code>.angel.serving.internal.SerializedExampleListWithContext example_list_with_context = 2;</code>
       */
      public com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext getExampleListWithContext() {
        if (kindCase_ == 2) {
           return (com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext) kind_;
        }
        return com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext.getDefaultInstance();
      }
      /**
       * <code>.angel.serving.internal.SerializedExampleListWithContext example_list_with_context = 2;</code>
       */
      public com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContextOrBuilder getExampleListWithContextOrBuilder() {
        if (kindCase_ == 2) {
           return (com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext) kind_;
        }
        return com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext.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.internal.SerializedInputProtos.SerializedExampleList) kind_);
        }
        if (kindCase_ == 2) {
          output.writeMessage(2, (com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext) 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.internal.SerializedInputProtos.SerializedExampleList) kind_);
        }
        if (kindCase_ == 2) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(2, (com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext) 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.internal.SerializedInputProtos.SerializedInput)) {
          return super.equals(obj);
        }
        com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput other = (com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput) 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.internal.SerializedInputProtos.SerializedInput parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput 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.internal.SerializedInputProtos.SerializedInput parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput 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.internal.SerializedInputProtos.SerializedInput parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput 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.internal.SerializedInputProtos.SerializedInput parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput 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.internal.SerializedInputProtos.SerializedInput parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput 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.internal.SerializedInputProtos.SerializedInput 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.internal.SerializedInputProtos.SerializedInput 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.internal.SerializedInputProtos.SerializedInput 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.internal.SerializedInput}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:angel.serving.internal.SerializedInput)
          com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInputOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.tencent.angel.serving.apis.internal.SerializedInputProtos.internal_static_angel_serving_internal_SerializedInput_descriptor;
        }
  
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.tencent.angel.serving.apis.internal.SerializedInputProtos.internal_static_angel_serving_internal_SerializedInput_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput.class, com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput.Builder.class);
        }
  
        // Construct using com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput.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.internal.SerializedInputProtos.internal_static_angel_serving_internal_SerializedInput_descriptor;
        }
  
        public com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput getDefaultInstanceForType() {
          return com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput.getDefaultInstance();
        }
  
        public com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput build() {
          com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        public com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput buildPartial() {
          com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput result = new com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput(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.internal.SerializedInputProtos.SerializedInput) {
            return mergeFrom((com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput other) {
          if (other == com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput.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.internal.SerializedInputProtos.SerializedInput parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput) 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.internal.SerializedInputProtos.SerializedExampleList, com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList.Builder, com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListOrBuilder> exampleListBuilder_;
        /**
         * <code>.angel.serving.internal.SerializedExampleList example_list = 1;</code>
         */
        public boolean hasExampleList() {
          return kindCase_ == 1;
        }
        /**
         * <code>.angel.serving.internal.SerializedExampleList example_list = 1;</code>
         */
        public com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList getExampleList() {
          if (exampleListBuilder_ == null) {
            if (kindCase_ == 1) {
              return (com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList) kind_;
            }
            return com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList.getDefaultInstance();
          } else {
            if (kindCase_ == 1) {
              return exampleListBuilder_.getMessage();
            }
            return com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList.getDefaultInstance();
          }
        }
        /**
         * <code>.angel.serving.internal.SerializedExampleList example_list = 1;</code>
         */
        public Builder setExampleList(com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList value) {
          if (exampleListBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            kind_ = value;
            onChanged();
          } else {
            exampleListBuilder_.setMessage(value);
          }
          kindCase_ = 1;
          return this;
        }
        /**
         * <code>.angel.serving.internal.SerializedExampleList example_list = 1;</code>
         */
        public Builder setExampleList(
            com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList.Builder builderForValue) {
          if (exampleListBuilder_ == null) {
            kind_ = builderForValue.build();
            onChanged();
          } else {
            exampleListBuilder_.setMessage(builderForValue.build());
          }
          kindCase_ = 1;
          return this;
        }
        /**
         * <code>.angel.serving.internal.SerializedExampleList example_list = 1;</code>
         */
        public Builder mergeExampleList(com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList value) {
          if (exampleListBuilder_ == null) {
            if (kindCase_ == 1 &&
                kind_ != com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList.getDefaultInstance()) {
              kind_ = com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList.newBuilder((com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList) 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.internal.SerializedExampleList example_list = 1;</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.internal.SerializedExampleList example_list = 1;</code>
         */
        public com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList.Builder getExampleListBuilder() {
          return getExampleListFieldBuilder().getBuilder();
        }
        /**
         * <code>.angel.serving.internal.SerializedExampleList example_list = 1;</code>
         */
        public com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListOrBuilder getExampleListOrBuilder() {
          if ((kindCase_ == 1) && (exampleListBuilder_ != null)) {
            return exampleListBuilder_.getMessageOrBuilder();
          } else {
            if (kindCase_ == 1) {
              return (com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList) kind_;
            }
            return com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList.getDefaultInstance();
          }
        }
        /**
         * <code>.angel.serving.internal.SerializedExampleList example_list = 1;</code>
         */
        private com.google.protobuf.SingleFieldBuilderV3<
            com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList, com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList.Builder, com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListOrBuilder> 
            getExampleListFieldBuilder() {
          if (exampleListBuilder_ == null) {
            if (!(kindCase_ == 1)) {
              kind_ = com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList.getDefaultInstance();
            }
            exampleListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList, com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList.Builder, com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListOrBuilder>(
                    (com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleList) kind_,
                    getParentForChildren(),
                    isClean());
            kind_ = null;
          }
          kindCase_ = 1;
          onChanged();;
          return exampleListBuilder_;
        }
  
        private com.google.protobuf.SingleFieldBuilderV3<
            com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext, com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext.Builder, com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContextOrBuilder> exampleListWithContextBuilder_;
        /**
         * <code>.angel.serving.internal.SerializedExampleListWithContext example_list_with_context = 2;</code>
         */
        public boolean hasExampleListWithContext() {
          return kindCase_ == 2;
        }
        /**
         * <code>.angel.serving.internal.SerializedExampleListWithContext example_list_with_context = 2;</code>
         */
        public com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext getExampleListWithContext() {
          if (exampleListWithContextBuilder_ == null) {
            if (kindCase_ == 2) {
              return (com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext) kind_;
            }
            return com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext.getDefaultInstance();
          } else {
            if (kindCase_ == 2) {
              return exampleListWithContextBuilder_.getMessage();
            }
            return com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext.getDefaultInstance();
          }
        }
        /**
         * <code>.angel.serving.internal.SerializedExampleListWithContext example_list_with_context = 2;</code>
         */
        public Builder setExampleListWithContext(com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext value) {
          if (exampleListWithContextBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            kind_ = value;
            onChanged();
          } else {
            exampleListWithContextBuilder_.setMessage(value);
          }
          kindCase_ = 2;
          return this;
        }
        /**
         * <code>.angel.serving.internal.SerializedExampleListWithContext example_list_with_context = 2;</code>
         */
        public Builder setExampleListWithContext(
            com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext.Builder builderForValue) {
          if (exampleListWithContextBuilder_ == null) {
            kind_ = builderForValue.build();
            onChanged();
          } else {
            exampleListWithContextBuilder_.setMessage(builderForValue.build());
          }
          kindCase_ = 2;
          return this;
        }
        /**
         * <code>.angel.serving.internal.SerializedExampleListWithContext example_list_with_context = 2;</code>
         */
        public Builder mergeExampleListWithContext(com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext value) {
          if (exampleListWithContextBuilder_ == null) {
            if (kindCase_ == 2 &&
                kind_ != com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext.getDefaultInstance()) {
              kind_ = com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext.newBuilder((com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext) 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.internal.SerializedExampleListWithContext example_list_with_context = 2;</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.internal.SerializedExampleListWithContext example_list_with_context = 2;</code>
         */
        public com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext.Builder getExampleListWithContextBuilder() {
          return getExampleListWithContextFieldBuilder().getBuilder();
        }
        /**
         * <code>.angel.serving.internal.SerializedExampleListWithContext example_list_with_context = 2;</code>
         */
        public com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContextOrBuilder getExampleListWithContextOrBuilder() {
          if ((kindCase_ == 2) && (exampleListWithContextBuilder_ != null)) {
            return exampleListWithContextBuilder_.getMessageOrBuilder();
          } else {
            if (kindCase_ == 2) {
              return (com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext) kind_;
            }
            return com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext.getDefaultInstance();
          }
        }
        /**
         * <code>.angel.serving.internal.SerializedExampleListWithContext example_list_with_context = 2;</code>
         */
        private com.google.protobuf.SingleFieldBuilderV3<
            com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext, com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext.Builder, com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContextOrBuilder> 
            getExampleListWithContextFieldBuilder() {
          if (exampleListWithContextBuilder_ == null) {
            if (!(kindCase_ == 2)) {
              kind_ = com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext.getDefaultInstance();
            }
            exampleListWithContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext, com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext.Builder, com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContextOrBuilder>(
                    (com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedExampleListWithContext) 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.internal.SerializedInput)
      }
  
      // @@protoc_insertion_point(class_scope:angel.serving.internal.SerializedInput)
      private static final com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput();
      }
  
      public static com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }
  
      private static final com.google.protobuf.Parser<SerializedInput>
          PARSER = new com.google.protobuf.AbstractParser<SerializedInput>() {
        public SerializedInput parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new SerializedInput(input, extensionRegistry);
        }
      };
  
      public static com.google.protobuf.Parser<SerializedInput> parser() {
        return PARSER;
      }
  
      @java.lang.Override
      public com.google.protobuf.Parser<SerializedInput> getParserForType() {
        return PARSER;
      }
  
      public com.tencent.angel.serving.apis.internal.SerializedInputProtos.SerializedInput getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_angel_serving_internal_SerializedExampleList_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_angel_serving_internal_SerializedExampleList_fieldAccessorTable;
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_angel_serving_internal_SerializedExampleListWithContext_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_angel_serving_internal_SerializedExampleListWithContext_fieldAccessorTable;
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_angel_serving_internal_SerializedInput_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_angel_serving_internal_SerializedInput_fieldAccessorTable;
  
    public static com.google.protobuf.Descriptors.FileDescriptor
        getDescriptor() {
      return descriptor;
    }
    private static  com.google.protobuf.Descriptors.FileDescriptor
        descriptor;
    static {
      java.lang.String[] descriptorData = {
        "\n$apis/internal/serialized_input.proto\022\026" +
        "angel.serving.internal\")\n\025SerializedExam" +
        "pleList\022\020\n\010examples\030\001 \003(\014\"E\n SerializedE" +
        "xampleListWithContext\022\020\n\010examples\030\001 \003(\014\022" +
        "\017\n\007context\030\002 \001(\014\"\277\001\n\017SerializedInput\022E\n\014" +
        "example_list\030\001 \001(\0132-.angel.serving.inter" +
        "nal.SerializedExampleListH\000\022]\n\031example_l" +
        "ist_with_context\030\002 \001(\01328.angel.serving.i" +
        "nternal.SerializedExampleListWithContext" +
        "H\000B\006\n\004kindBB\n\'com.tencent.angel.serving." +
        "apis.internalB\025SerializedInputProtosP\000b\006" +
        "proto3"
      };
      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[] {
          }, assigner);
      internal_static_angel_serving_internal_SerializedExampleList_descriptor =
        getDescriptor().getMessageTypes().get(0);
      internal_static_angel_serving_internal_SerializedExampleList_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_angel_serving_internal_SerializedExampleList_descriptor,
          new java.lang.String[] { "Examples", });
      internal_static_angel_serving_internal_SerializedExampleListWithContext_descriptor =
        getDescriptor().getMessageTypes().get(1);
      internal_static_angel_serving_internal_SerializedExampleListWithContext_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_angel_serving_internal_SerializedExampleListWithContext_descriptor,
          new java.lang.String[] { "Examples", "Context", });
      internal_static_angel_serving_internal_SerializedInput_descriptor =
        getDescriptor().getMessageTypes().get(2);
      internal_static_angel_serving_internal_SerializedInput_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_angel_serving_internal_SerializedInput_descriptor,
          new java.lang.String[] { "ExampleList", "ExampleListWithContext", "Kind", });
    }
  
    // @@protoc_insertion_point(outer_class_scope)
  }
  