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

package mobvista.dmp.datasource.toutiao.dmp;

public final class DmpDataProto {
  private DmpDataProto() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
  }
  public interface DmpDataOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;
    /**
     * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
     *
     * <pre>
     * 每行数据包含的idList大小不能超过10000
     * </pre>
     */
    java.util.List<mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem> 
        getIdListList();
    /**
     * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
     *
     * <pre>
     * 每行数据包含的idList大小不能超过10000
     * </pre>
     */
    mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem getIdList(int index);
    /**
     * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
     *
     * <pre>
     * 每行数据包含的idList大小不能超过10000
     * </pre>
     */
    int getIdListCount();
    /**
     * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
     *
     * <pre>
     * 每行数据包含的idList大小不能超过10000
     * </pre>
     */
    java.util.List<? extends mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItemOrBuilder> 
        getIdListOrBuilderList();
    /**
     * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
     *
     * <pre>
     * 每行数据包含的idList大小不能超过10000
     * </pre>
     */
    mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItemOrBuilder getIdListOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code mobvista.dmp.datasource.toutiao.dmp.DmpData}
   *
   * <pre>
   *上传文件每行一个base64编码的字符串，每个字符串包含一个完整的DmpData消息二进制字节串
   * </pre>
   */
  public static final class DmpData extends
      com.google.protobuf.GeneratedMessage
      implements DmpDataOrBuilder {
    // Use DmpData.newBuilder() to construct.
    private DmpData(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private DmpData(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final DmpData defaultInstance;
    public static DmpData getDefaultInstance() {
      return defaultInstance;
    }

    public DmpData getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private DmpData(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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 (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                idList_ = new java.util.ArrayList<mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem>();
                mutable_bitField0_ |= 0x00000001;
              }
              idList_.add(input.readMessage(mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.PARSER, extensionRegistry));
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
          idList_ = java.util.Collections.unmodifiableList(idList_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.internal_static_mobvista_dmp_datasource_toutiao_dmp_DmpData_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.internal_static_mobvista_dmp_datasource_toutiao_dmp_DmpData_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpData.class, mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpData.Builder.class);
    }

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

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

    // repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;
    public static final int IDLIST_FIELD_NUMBER = 1;
    private java.util.List<mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem> idList_;
    /**
     * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
     *
     * <pre>
     * 每行数据包含的idList大小不能超过10000
     * </pre>
     */
    public java.util.List<mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem> getIdListList() {
      return idList_;
    }
    /**
     * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
     *
     * <pre>
     * 每行数据包含的idList大小不能超过10000
     * </pre>
     */
    public java.util.List<? extends mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItemOrBuilder> 
        getIdListOrBuilderList() {
      return idList_;
    }
    /**
     * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
     *
     * <pre>
     * 每行数据包含的idList大小不能超过10000
     * </pre>
     */
    public int getIdListCount() {
      return idList_.size();
    }
    /**
     * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
     *
     * <pre>
     * 每行数据包含的idList大小不能超过10000
     * </pre>
     */
    public mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem getIdList(int index) {
      return idList_.get(index);
    }
    /**
     * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
     *
     * <pre>
     * 每行数据包含的idList大小不能超过10000
     * </pre>
     */
    public mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItemOrBuilder getIdListOrBuilder(
        int index) {
      return idList_.get(index);
    }

    private void initFields() {
      idList_ = java.util.Collections.emptyList();
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      for (int i = 0; i < getIdListCount(); i++) {
        if (!getIdList(i).isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      for (int i = 0; i < idList_.size(); i++) {
        output.writeMessage(1, idList_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < idList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, idList_.get(i));
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    public static mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpData parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpData parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpData parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpData parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpData parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpData parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpData parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpData parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpData parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpData parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpData prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code mobvista.dmp.datasource.toutiao.dmp.DmpData}
     *
     * <pre>
     *上传文件每行一个base64编码的字符串，每个字符串包含一个完整的DmpData消息二进制字节串
     * </pre>
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder<Builder>
       implements mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpDataOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.internal_static_mobvista_dmp_datasource_toutiao_dmp_DmpData_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.internal_static_mobvista_dmp_datasource_toutiao_dmp_DmpData_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpData.class, mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpData.Builder.class);
      }

      // Construct using mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpData.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          getIdListFieldBuilder();
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        if (idListBuilder_ == null) {
          idList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          idListBuilder_.clear();
        }
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.internal_static_mobvista_dmp_datasource_toutiao_dmp_DmpData_descriptor;
      }

      public mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpData getDefaultInstanceForType() {
        return mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpData.getDefaultInstance();
      }

      public mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpData build() {
        mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpData result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpData buildPartial() {
        mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpData result = new mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpData(this);
        int from_bitField0_ = bitField0_;
        if (idListBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            idList_ = java.util.Collections.unmodifiableList(idList_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.idList_ = idList_;
        } else {
          result.idList_ = idListBuilder_.build();
        }
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpData) {
          return mergeFrom((mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpData)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpData other) {
        if (other == mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.DmpData.getDefaultInstance()) return this;
        if (idListBuilder_ == null) {
          if (!other.idList_.isEmpty()) {
            if (idList_.isEmpty()) {
              idList_ = other.idList_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureIdListIsMutable();
              idList_.addAll(other.idList_);
            }
            onChanged();
          }
        } else {
          if (!other.idList_.isEmpty()) {
            if (idListBuilder_.isEmpty()) {
              idListBuilder_.dispose();
              idListBuilder_ = null;
              idList_ = other.idList_;
              bitField0_ = (bitField0_ & ~0x00000001);
              idListBuilder_ = 
                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
                   getIdListFieldBuilder() : null;
            } else {
              idListBuilder_.addAllMessages(other.idList_);
            }
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        for (int i = 0; i < getIdListCount(); i++) {
          if (!getIdList(i).isInitialized()) {
            
            return false;
          }
        }
        return true;
      }

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

      // repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;
      private java.util.List<mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem> idList_ =
        java.util.Collections.emptyList();
      private void ensureIdListIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          idList_ = new java.util.ArrayList<mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem>(idList_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilder<
          mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem, mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.Builder, mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItemOrBuilder> idListBuilder_;

      /**
       * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
       *
       * <pre>
       * 每行数据包含的idList大小不能超过10000
       * </pre>
       */
      public java.util.List<mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem> getIdListList() {
        if (idListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(idList_);
        } else {
          return idListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
       *
       * <pre>
       * 每行数据包含的idList大小不能超过10000
       * </pre>
       */
      public int getIdListCount() {
        if (idListBuilder_ == null) {
          return idList_.size();
        } else {
          return idListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
       *
       * <pre>
       * 每行数据包含的idList大小不能超过10000
       * </pre>
       */
      public mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem getIdList(int index) {
        if (idListBuilder_ == null) {
          return idList_.get(index);
        } else {
          return idListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
       *
       * <pre>
       * 每行数据包含的idList大小不能超过10000
       * </pre>
       */
      public Builder setIdList(
          int index, mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem value) {
        if (idListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureIdListIsMutable();
          idList_.set(index, value);
          onChanged();
        } else {
          idListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
       *
       * <pre>
       * 每行数据包含的idList大小不能超过10000
       * </pre>
       */
      public Builder setIdList(
          int index, mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.Builder builderForValue) {
        if (idListBuilder_ == null) {
          ensureIdListIsMutable();
          idList_.set(index, builderForValue.build());
          onChanged();
        } else {
          idListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
       *
       * <pre>
       * 每行数据包含的idList大小不能超过10000
       * </pre>
       */
      public Builder addIdList(mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem value) {
        if (idListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureIdListIsMutable();
          idList_.add(value);
          onChanged();
        } else {
          idListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
       *
       * <pre>
       * 每行数据包含的idList大小不能超过10000
       * </pre>
       */
      public Builder addIdList(
          int index, mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem value) {
        if (idListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureIdListIsMutable();
          idList_.add(index, value);
          onChanged();
        } else {
          idListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
       *
       * <pre>
       * 每行数据包含的idList大小不能超过10000
       * </pre>
       */
      public Builder addIdList(
          mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.Builder builderForValue) {
        if (idListBuilder_ == null) {
          ensureIdListIsMutable();
          idList_.add(builderForValue.build());
          onChanged();
        } else {
          idListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
       *
       * <pre>
       * 每行数据包含的idList大小不能超过10000
       * </pre>
       */
      public Builder addIdList(
          int index, mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.Builder builderForValue) {
        if (idListBuilder_ == null) {
          ensureIdListIsMutable();
          idList_.add(index, builderForValue.build());
          onChanged();
        } else {
          idListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
       *
       * <pre>
       * 每行数据包含的idList大小不能超过10000
       * </pre>
       */
      public Builder addAllIdList(
          java.lang.Iterable<? extends mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem> values) {
        if (idListBuilder_ == null) {
          ensureIdListIsMutable();
          super.addAll(values, idList_);
          onChanged();
        } else {
          idListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
       *
       * <pre>
       * 每行数据包含的idList大小不能超过10000
       * </pre>
       */
      public Builder clearIdList() {
        if (idListBuilder_ == null) {
          idList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          idListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
       *
       * <pre>
       * 每行数据包含的idList大小不能超过10000
       * </pre>
       */
      public Builder removeIdList(int index) {
        if (idListBuilder_ == null) {
          ensureIdListIsMutable();
          idList_.remove(index);
          onChanged();
        } else {
          idListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
       *
       * <pre>
       * 每行数据包含的idList大小不能超过10000
       * </pre>
       */
      public mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.Builder getIdListBuilder(
          int index) {
        return getIdListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
       *
       * <pre>
       * 每行数据包含的idList大小不能超过10000
       * </pre>
       */
      public mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItemOrBuilder getIdListOrBuilder(
          int index) {
        if (idListBuilder_ == null) {
          return idList_.get(index);  } else {
          return idListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
       *
       * <pre>
       * 每行数据包含的idList大小不能超过10000
       * </pre>
       */
      public java.util.List<? extends mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItemOrBuilder> 
           getIdListOrBuilderList() {
        if (idListBuilder_ != null) {
          return idListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(idList_);
        }
      }
      /**
       * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
       *
       * <pre>
       * 每行数据包含的idList大小不能超过10000
       * </pre>
       */
      public mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.Builder addIdListBuilder() {
        return getIdListFieldBuilder().addBuilder(
            mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.getDefaultInstance());
      }
      /**
       * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
       *
       * <pre>
       * 每行数据包含的idList大小不能超过10000
       * </pre>
       */
      public mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.Builder addIdListBuilder(
          int index) {
        return getIdListFieldBuilder().addBuilder(
            index, mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.getDefaultInstance());
      }
      /**
       * <code>repeated .mobvista.dmp.datasource.toutiao.dmp.IdItem idList = 1;</code>
       *
       * <pre>
       * 每行数据包含的idList大小不能超过10000
       * </pre>
       */
      public java.util.List<mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.Builder> 
           getIdListBuilderList() {
        return getIdListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilder<
          mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem, mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.Builder, mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItemOrBuilder> 
          getIdListFieldBuilder() {
        if (idListBuilder_ == null) {
          idListBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
              mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem, mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.Builder, mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItemOrBuilder>(
                  idList_,
                  ((bitField0_ & 0x00000001) == 0x00000001),
                  getParentForChildren(),
                  isClean());
          idList_ = null;
        }
        return idListBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:mobvista.dmp.datasource.toutiao.dmp.DmpData)
    }

    static {
      defaultInstance = new DmpData(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:mobvista.dmp.datasource.toutiao.dmp.DmpData)
  }

  public interface IdItemOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // optional uint32 timestamp = 1;
    /**
     * <code>optional uint32 timestamp = 1;</code>
     *
     * <pre>
     *若不设置，默认以上传文件的创建时间为此条记录的创建时间
     * </pre>
     */
    boolean hasTimestamp();
    /**
     * <code>optional uint32 timestamp = 1;</code>
     *
     * <pre>
     *若不设置，默认以上传文件的创建时间为此条记录的创建时间
     * </pre>
     */
    int getTimestamp();

    // required .mobvista.dmp.datasource.toutiao.dmp.IdItem.DataType dataType = 2;
    /**
     * <code>required .mobvista.dmp.datasource.toutiao.dmp.IdItem.DataType dataType = 2;</code>
     *
     * <pre>
     *指定此id的类型，如IMEI、IDFA等
     * </pre>
     */
    boolean hasDataType();
    /**
     * <code>required .mobvista.dmp.datasource.toutiao.dmp.IdItem.DataType dataType = 2;</code>
     *
     * <pre>
     *指定此id的类型，如IMEI、IDFA等
     * </pre>
     */
    mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.DataType getDataType();

    // required string id = 3;
    /**
     * <code>required string id = 3;</code>
     *
     * <pre>
     *根据dataType字段的类型，放置对应类型的id的字符串，需要小写
     * </pre>
     */
    boolean hasId();
    /**
     * <code>required string id = 3;</code>
     *
     * <pre>
     *根据dataType字段的类型，放置对应类型的id的字符串，需要小写
     * </pre>
     */
    java.lang.String getId();
    /**
     * <code>required string id = 3;</code>
     *
     * <pre>
     *根据dataType字段的类型，放置对应类型的id的字符串，需要小写
     * </pre>
     */
    com.google.protobuf.ByteString
        getIdBytes();

    // repeated string tags = 4;
    /**
     * <code>repeated string tags = 4;</code>
     *
     * <pre>
     *标识此id的业务标签字符串
     * </pre>
     */
    java.util.List<java.lang.String>
    getTagsList();
    /**
     * <code>repeated string tags = 4;</code>
     *
     * <pre>
     *标识此id的业务标签字符串
     * </pre>
     */
    int getTagsCount();
    /**
     * <code>repeated string tags = 4;</code>
     *
     * <pre>
     *标识此id的业务标签字符串
     * </pre>
     */
    java.lang.String getTags(int index);
    /**
     * <code>repeated string tags = 4;</code>
     *
     * <pre>
     *标识此id的业务标签字符串
     * </pre>
     */
    com.google.protobuf.ByteString
        getTagsBytes(int index);
  }
  /**
   * Protobuf type {@code mobvista.dmp.datasource.toutiao.dmp.IdItem}
   */
  public static final class IdItem extends
      com.google.protobuf.GeneratedMessage
      implements IdItemOrBuilder {
    // Use IdItem.newBuilder() to construct.
    private IdItem(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private IdItem(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final IdItem defaultInstance;
    public static IdItem getDefaultInstance() {
      return defaultInstance;
    }

    public IdItem getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private IdItem(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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 (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 8: {
              bitField0_ |= 0x00000001;
              timestamp_ = input.readUInt32();
              break;
            }
            case 16: {
              int rawValue = input.readEnum();
              mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.DataType value = mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.DataType.valueOf(rawValue);
              if (value == null) {
                unknownFields.mergeVarintField(2, rawValue);
              } else {
                bitField0_ |= 0x00000002;
                dataType_ = value;
              }
              break;
            }
            case 26: {
              bitField0_ |= 0x00000004;
              id_ = input.readBytes();
              break;
            }
            case 34: {
              if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
                tags_ = new com.google.protobuf.LazyStringArrayList();
                mutable_bitField0_ |= 0x00000008;
              }
              tags_.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.getMessage()).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
          tags_ = new com.google.protobuf.UnmodifiableLazyStringList(tags_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.internal_static_mobvista_dmp_datasource_toutiao_dmp_IdItem_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.internal_static_mobvista_dmp_datasource_toutiao_dmp_IdItem_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.class, mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.Builder.class);
    }

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

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

    /**
     * Protobuf enum {@code mobvista.dmp.datasource.toutiao.dmp.IdItem.DataType}
     */
    public enum DataType
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <code>IMEI = 0;</code>
       */
      IMEI(0, 0),
      /**
       * <code>IDFA = 1;</code>
       */
      IDFA(1, 1),
      /**
       * <code>UID = 2;</code>
       */
      UID(2, 2),
      /**
       * <code>IMEI_MD5 = 4;</code>
       */
      IMEI_MD5(3, 4),
      /**
       * <code>IDFA_MD5 = 5;</code>
       */
      IDFA_MD5(4, 5),
      /**
       * <code>MOBILE_HASH_SHA256 = 6;</code>
       */
      MOBILE_HASH_SHA256(5, 6),
      /**
       * <code>OAID = 7;</code>
       */
      OAID(6, 7),
      /**
       * <code>OAID_MD5 = 8;</code>
       */
      OAID_MD5(7, 8),
      ;

      /**
       * <code>IMEI = 0;</code>
       */
      public static final int IMEI_VALUE = 0;
      /**
       * <code>IDFA = 1;</code>
       */
      public static final int IDFA_VALUE = 1;
      /**
       * <code>UID = 2;</code>
       */
      public static final int UID_VALUE = 2;
      /**
       * <code>IMEI_MD5 = 4;</code>
       */
      public static final int IMEI_MD5_VALUE = 4;
      /**
       * <code>IDFA_MD5 = 5;</code>
       */
      public static final int IDFA_MD5_VALUE = 5;
      /**
       * <code>MOBILE_HASH_SHA256 = 6;</code>
       */
      public static final int MOBILE_HASH_SHA256_VALUE = 6;
      /**
       * <code>OAID = 7;</code>
       */
      public static final int OAID_VALUE = 7;
      /**
       * <code>OAID_MD5 = 8;</code>
       */
      public static final int OAID_MD5_VALUE = 8;


      public final int getNumber() { return value; }

      public static DataType valueOf(int value) {
        switch (value) {
          case 0: return IMEI;
          case 1: return IDFA;
          case 2: return UID;
          case 4: return IMEI_MD5;
          case 5: return IDFA_MD5;
          case 6: return MOBILE_HASH_SHA256;
          case 7: return OAID;
          case 8: return OAID_MD5;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap<DataType>
          internalGetValueMap() {
        return internalValueMap;
      }
      private static com.google.protobuf.Internal.EnumLiteMap<DataType>
          internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap<DataType>() {
              public DataType findValueByNumber(int number) {
                return DataType.valueOf(number);
              }
            };

      public final com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        return getDescriptor().getValues().get(index);
      }
      public final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptorForType() {
        return getDescriptor();
      }
      public static final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptor() {
        return mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.getDescriptor().getEnumTypes().get(0);
      }

      private static final DataType[] VALUES = values();

      public static DataType valueOf(
          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
        if (desc.getType() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "EnumValueDescriptor is not for this type.");
        }
        return VALUES[desc.getIndex()];
      }

      private final int index;
      private final int value;

      private DataType(int index, int value) {
        this.index = index;
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:mobvista.dmp.datasource.toutiao.dmp.IdItem.DataType)
    }

    private int bitField0_;
    // optional uint32 timestamp = 1;
    public static final int TIMESTAMP_FIELD_NUMBER = 1;
    private int timestamp_;
    /**
     * <code>optional uint32 timestamp = 1;</code>
     *
     * <pre>
     *若不设置，默认以上传文件的创建时间为此条记录的创建时间
     * </pre>
     */
    public boolean hasTimestamp() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * <code>optional uint32 timestamp = 1;</code>
     *
     * <pre>
     *若不设置，默认以上传文件的创建时间为此条记录的创建时间
     * </pre>
     */
    public int getTimestamp() {
      return timestamp_;
    }

    // required .mobvista.dmp.datasource.toutiao.dmp.IdItem.DataType dataType = 2;
    public static final int DATATYPE_FIELD_NUMBER = 2;
    private mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.DataType dataType_;
    /**
     * <code>required .mobvista.dmp.datasource.toutiao.dmp.IdItem.DataType dataType = 2;</code>
     *
     * <pre>
     *指定此id的类型，如IMEI、IDFA等
     * </pre>
     */
    public boolean hasDataType() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * <code>required .mobvista.dmp.datasource.toutiao.dmp.IdItem.DataType dataType = 2;</code>
     *
     * <pre>
     *指定此id的类型，如IMEI、IDFA等
     * </pre>
     */
    public mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.DataType getDataType() {
      return dataType_;
    }

    // required string id = 3;
    public static final int ID_FIELD_NUMBER = 3;
    private java.lang.Object id_;
    /**
     * <code>required string id = 3;</code>
     *
     * <pre>
     *根据dataType字段的类型，放置对应类型的id的字符串，需要小写
     * </pre>
     */
    public boolean hasId() {
      return ((bitField0_ & 0x00000004) == 0x00000004);
    }
    /**
     * <code>required string id = 3;</code>
     *
     * <pre>
     *根据dataType字段的类型，放置对应类型的id的字符串，需要小写
     * </pre>
     */
    public java.lang.String getId() {
      java.lang.Object ref = id_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          id_ = s;
        }
        return s;
      }
    }
    /**
     * <code>required string id = 3;</code>
     *
     * <pre>
     *根据dataType字段的类型，放置对应类型的id的字符串，需要小写
     * </pre>
     */
    public com.google.protobuf.ByteString
        getIdBytes() {
      java.lang.Object ref = id_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        id_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    // repeated string tags = 4;
    public static final int TAGS_FIELD_NUMBER = 4;
    private com.google.protobuf.LazyStringList tags_;
    /**
     * <code>repeated string tags = 4;</code>
     *
     * <pre>
     *标识此id的业务标签字符串
     * </pre>
     */
    public java.util.List<java.lang.String>
        getTagsList() {
      return tags_;
    }
    /**
     * <code>repeated string tags = 4;</code>
     *
     * <pre>
     *标识此id的业务标签字符串
     * </pre>
     */
    public int getTagsCount() {
      return tags_.size();
    }
    /**
     * <code>repeated string tags = 4;</code>
     *
     * <pre>
     *标识此id的业务标签字符串
     * </pre>
     */
    public java.lang.String getTags(int index) {
      return tags_.get(index);
    }
    /**
     * <code>repeated string tags = 4;</code>
     *
     * <pre>
     *标识此id的业务标签字符串
     * </pre>
     */
    public com.google.protobuf.ByteString
        getTagsBytes(int index) {
      return tags_.getByteString(index);
    }

    private void initFields() {
      timestamp_ = 0;
      dataType_ = mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.DataType.IMEI;
      id_ = "";
      tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      if (!hasDataType()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasId()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeUInt32(1, timestamp_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeEnum(2, dataType_.getNumber());
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeBytes(3, getIdBytes());
      }
      for (int i = 0; i < tags_.size(); i++) {
        output.writeBytes(4, tags_.getByteString(i));
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1, timestamp_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(2, dataType_.getNumber());
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(3, getIdBytes());
      }
      {
        int dataSize = 0;
        for (int i = 0; i < tags_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeBytesSizeNoTag(tags_.getByteString(i));
        }
        size += dataSize;
        size += 1 * getTagsList().size();
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    public static mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code mobvista.dmp.datasource.toutiao.dmp.IdItem}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder<Builder>
       implements mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItemOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.internal_static_mobvista_dmp_datasource_toutiao_dmp_IdItem_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.internal_static_mobvista_dmp_datasource_toutiao_dmp_IdItem_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.class, mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.Builder.class);
      }

      // Construct using mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        timestamp_ = 0;
        bitField0_ = (bitField0_ & ~0x00000001);
        dataType_ = mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.DataType.IMEI;
        bitField0_ = (bitField0_ & ~0x00000002);
        id_ = "";
        bitField0_ = (bitField0_ & ~0x00000004);
        tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000008);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.internal_static_mobvista_dmp_datasource_toutiao_dmp_IdItem_descriptor;
      }

      public mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem getDefaultInstanceForType() {
        return mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.getDefaultInstance();
      }

      public mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem build() {
        mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem buildPartial() {
        mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem result = new mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.timestamp_ = timestamp_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        result.dataType_ = dataType_;
        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
          to_bitField0_ |= 0x00000004;
        }
        result.id_ = id_;
        if (((bitField0_ & 0x00000008) == 0x00000008)) {
          tags_ = new com.google.protobuf.UnmodifiableLazyStringList(
              tags_);
          bitField0_ = (bitField0_ & ~0x00000008);
        }
        result.tags_ = tags_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem) {
          return mergeFrom((mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem other) {
        if (other == mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.getDefaultInstance()) return this;
        if (other.hasTimestamp()) {
          setTimestamp(other.getTimestamp());
        }
        if (other.hasDataType()) {
          setDataType(other.getDataType());
        }
        if (other.hasId()) {
          bitField0_ |= 0x00000004;
          id_ = other.id_;
          onChanged();
        }
        if (!other.tags_.isEmpty()) {
          if (tags_.isEmpty()) {
            tags_ = other.tags_;
            bitField0_ = (bitField0_ & ~0x00000008);
          } else {
            ensureTagsIsMutable();
            tags_.addAll(other.tags_);
          }
          onChanged();
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        if (!hasDataType()) {
          
          return false;
        }
        if (!hasId()) {
          
          return false;
        }
        return true;
      }

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

      // optional uint32 timestamp = 1;
      private int timestamp_ ;
      /**
       * <code>optional uint32 timestamp = 1;</code>
       *
       * <pre>
       *若不设置，默认以上传文件的创建时间为此条记录的创建时间
       * </pre>
       */
      public boolean hasTimestamp() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * <code>optional uint32 timestamp = 1;</code>
       *
       * <pre>
       *若不设置，默认以上传文件的创建时间为此条记录的创建时间
       * </pre>
       */
      public int getTimestamp() {
        return timestamp_;
      }
      /**
       * <code>optional uint32 timestamp = 1;</code>
       *
       * <pre>
       *若不设置，默认以上传文件的创建时间为此条记录的创建时间
       * </pre>
       */
      public Builder setTimestamp(int value) {
        bitField0_ |= 0x00000001;
        timestamp_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional uint32 timestamp = 1;</code>
       *
       * <pre>
       *若不设置，默认以上传文件的创建时间为此条记录的创建时间
       * </pre>
       */
      public Builder clearTimestamp() {
        bitField0_ = (bitField0_ & ~0x00000001);
        timestamp_ = 0;
        onChanged();
        return this;
      }

      // required .mobvista.dmp.datasource.toutiao.dmp.IdItem.DataType dataType = 2;
      private mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.DataType dataType_ = mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.DataType.IMEI;
      /**
       * <code>required .mobvista.dmp.datasource.toutiao.dmp.IdItem.DataType dataType = 2;</code>
       *
       * <pre>
       *指定此id的类型，如IMEI、IDFA等
       * </pre>
       */
      public boolean hasDataType() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * <code>required .mobvista.dmp.datasource.toutiao.dmp.IdItem.DataType dataType = 2;</code>
       *
       * <pre>
       *指定此id的类型，如IMEI、IDFA等
       * </pre>
       */
      public mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.DataType getDataType() {
        return dataType_;
      }
      /**
       * <code>required .mobvista.dmp.datasource.toutiao.dmp.IdItem.DataType dataType = 2;</code>
       *
       * <pre>
       *指定此id的类型，如IMEI、IDFA等
       * </pre>
       */
      public Builder setDataType(mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.DataType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        bitField0_ |= 0x00000002;
        dataType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>required .mobvista.dmp.datasource.toutiao.dmp.IdItem.DataType dataType = 2;</code>
       *
       * <pre>
       *指定此id的类型，如IMEI、IDFA等
       * </pre>
       */
      public Builder clearDataType() {
        bitField0_ = (bitField0_ & ~0x00000002);
        dataType_ = mobvista.dmp.datasource.toutiao.dmp.DmpDataProto.IdItem.DataType.IMEI;
        onChanged();
        return this;
      }

      // required string id = 3;
      private java.lang.Object id_ = "";
      /**
       * <code>required string id = 3;</code>
       *
       * <pre>
       *根据dataType字段的类型，放置对应类型的id的字符串，需要小写
       * </pre>
       */
      public boolean hasId() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      /**
       * <code>required string id = 3;</code>
       *
       * <pre>
       *根据dataType字段的类型，放置对应类型的id的字符串，需要小写
       * </pre>
       */
      public java.lang.String getId() {
        java.lang.Object ref = id_;
        if (!(ref instanceof java.lang.String)) {
          java.lang.String s = ((com.google.protobuf.ByteString) ref)
              .toStringUtf8();
          id_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>required string id = 3;</code>
       *
       * <pre>
       *根据dataType字段的类型，放置对应类型的id的字符串，需要小写
       * </pre>
       */
      public com.google.protobuf.ByteString
          getIdBytes() {
        java.lang.Object ref = id_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          id_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>required string id = 3;</code>
       *
       * <pre>
       *根据dataType字段的类型，放置对应类型的id的字符串，需要小写
       * </pre>
       */
      public Builder setId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000004;
        id_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>required string id = 3;</code>
       *
       * <pre>
       *根据dataType字段的类型，放置对应类型的id的字符串，需要小写
       * </pre>
       */
      public Builder clearId() {
        bitField0_ = (bitField0_ & ~0x00000004);
        id_ = getDefaultInstance().getId();
        onChanged();
        return this;
      }
      /**
       * <code>required string id = 3;</code>
       *
       * <pre>
       *根据dataType字段的类型，放置对应类型的id的字符串，需要小写
       * </pre>
       */
      public Builder setIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000004;
        id_ = value;
        onChanged();
        return this;
      }

      // repeated string tags = 4;
      private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureTagsIsMutable() {
        if (!((bitField0_ & 0x00000008) == 0x00000008)) {
          tags_ = new com.google.protobuf.LazyStringArrayList(tags_);
          bitField0_ |= 0x00000008;
         }
      }
      /**
       * <code>repeated string tags = 4;</code>
       *
       * <pre>
       *标识此id的业务标签字符串
       * </pre>
       */
      public java.util.List<java.lang.String>
          getTagsList() {
        return java.util.Collections.unmodifiableList(tags_);
      }
      /**
       * <code>repeated string tags = 4;</code>
       *
       * <pre>
       *标识此id的业务标签字符串
       * </pre>
       */
      public int getTagsCount() {
        return tags_.size();
      }
      /**
       * <code>repeated string tags = 4;</code>
       *
       * <pre>
       *标识此id的业务标签字符串
       * </pre>
       */
      public java.lang.String getTags(int index) {
        return tags_.get(index);
      }
      /**
       * <code>repeated string tags = 4;</code>
       *
       * <pre>
       *标识此id的业务标签字符串
       * </pre>
       */
      public com.google.protobuf.ByteString
          getTagsBytes(int index) {
        return tags_.getByteString(index);
      }
      /**
       * <code>repeated string tags = 4;</code>
       *
       * <pre>
       *标识此id的业务标签字符串
       * </pre>
       */
      public Builder setTags(
          int index, java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureTagsIsMutable();
        tags_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string tags = 4;</code>
       *
       * <pre>
       *标识此id的业务标签字符串
       * </pre>
       */
      public Builder addTags(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureTagsIsMutable();
        tags_.add(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string tags = 4;</code>
       *
       * <pre>
       *标识此id的业务标签字符串
       * </pre>
       */
      public Builder addAllTags(
          java.lang.Iterable<java.lang.String> values) {
        ensureTagsIsMutable();
        super.addAll(values, tags_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string tags = 4;</code>
       *
       * <pre>
       *标识此id的业务标签字符串
       * </pre>
       */
      public Builder clearTags() {
        tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000008);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string tags = 4;</code>
       *
       * <pre>
       *标识此id的业务标签字符串
       * </pre>
       */
      public Builder addTagsBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureTagsIsMutable();
        tags_.add(value);
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:mobvista.dmp.datasource.toutiao.dmp.IdItem)
    }

    static {
      defaultInstance = new IdItem(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:mobvista.dmp.datasource.toutiao.dmp.IdItem)
  }

  private static com.google.protobuf.Descriptors.Descriptor
    internal_static_mobvista_dmp_datasource_toutiao_dmp_DmpData_descriptor;
  private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_mobvista_dmp_datasource_toutiao_dmp_DmpData_fieldAccessorTable;
  private static com.google.protobuf.Descriptors.Descriptor
    internal_static_mobvista_dmp_datasource_toutiao_dmp_IdItem_descriptor;
  private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_mobvista_dmp_datasource_toutiao_dmp_IdItem_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\021toutiao_dmp.proto\022#mobvista.dmp.dataso" +
      "urce.toutiao.dmp\"F\n\007DmpData\022;\n\006idList\030\001 " +
      "\003(\0132+.mobvista.dmp.datasource.toutiao.dm" +
      "p.IdItem\"\362\001\n\006IdItem\022\021\n\ttimestamp\030\001 \001(\r\022F" +
      "\n\010dataType\030\002 \002(\01624.mobvista.dmp.datasour" +
      "ce.toutiao.dmp.IdItem.DataType\022\n\n\002id\030\003 \002" +
      "(\t\022\014\n\004tags\030\004 \003(\t\"s\n\010DataType\022\010\n\004IMEI\020\000\022\010" +
      "\n\004IDFA\020\001\022\007\n\003UID\020\002\022\014\n\010IMEI_MD5\020\004\022\014\n\010IDFA_" +
      "MD5\020\005\022\026\n\022MOBILE_HASH_SHA256\020\006\022\010\n\004OAID\020\007\022" +
      "\014\n\010OAID_MD5\020\010B\016B\014DmpDataProto"
    };
    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;
          internal_static_mobvista_dmp_datasource_toutiao_dmp_DmpData_descriptor =
            getDescriptor().getMessageTypes().get(0);
          internal_static_mobvista_dmp_datasource_toutiao_dmp_DmpData_fieldAccessorTable = new
            com.google.protobuf.GeneratedMessage.FieldAccessorTable(
              internal_static_mobvista_dmp_datasource_toutiao_dmp_DmpData_descriptor,
              new java.lang.String[] { "IdList", });
          internal_static_mobvista_dmp_datasource_toutiao_dmp_IdItem_descriptor =
            getDescriptor().getMessageTypes().get(1);
          internal_static_mobvista_dmp_datasource_toutiao_dmp_IdItem_fieldAccessorTable = new
            com.google.protobuf.GeneratedMessage.FieldAccessorTable(
              internal_static_mobvista_dmp_datasource_toutiao_dmp_IdItem_descriptor,
              new java.lang.String[] { "Timestamp", "DataType", "Id", "Tags", });
          return null;
        }
      };
    com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        }, assigner);
  }

  // @@protoc_insertion_point(outer_class_scope)
}
