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

package mobvista.dmp.datasource.toutiao;

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

    // repeated .IdItem idList = 1;
    /**
     * <code>repeated .IdItem idList = 1;</code>
     *
     * <pre>
     * 每行数据包含的idList大小不能超过10000
     * </pre>
     */
    java.util.List<IdItem>
        getIdListList();
    /**
     * <code>repeated .IdItem idList = 1;</code>
     *
     * <pre>
     * 每行数据包含的idList大小不能超过10000
     * </pre>
     */
    DmpDataProto.IdItem getIdList(int index);
    /**
     * <code>repeated .IdItem idList = 1;</code>
     *
     * <pre>
     * 每行数据包含的idList大小不能超过10000
     * </pre>
     */
    int getIdListCount();
    /**
     * <code>repeated .IdItem idList = 1;</code>
     *
     * <pre>
     * 每行数据包含的idList大小不能超过10000
     * </pre>
     */
    java.util.List<? extends IdItemOrBuilder>
        getIdListOrBuilderList();
    /**
     * <code>repeated .IdItem idList = 1;</code>
     *
     * <pre>
     * 每行数据包含的idList大小不能超过10000
     * </pre>
     */
    DmpDataProto.IdItemOrBuilder getIdListOrBuilder(
            int index);
  }
  /**
   * Protobuf type {@code 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;
    @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<IdItem>();
                mutable_bitField0_ |= 0x00000001;
              }
              idList_.add(input.readMessage(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 DmpDataProto.internal_static_DmpData_descriptor;
    }

    protected FieldAccessorTable
        internalGetFieldAccessorTable() {
      return DmpDataProto.internal_static_DmpData_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              DmpDataProto.DmpData.class, 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);
      }
    };

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

    // repeated .IdItem idList = 1;
    public static final int IDLIST_FIELD_NUMBER = 1;
    private java.util.List<IdItem> idList_;
    /**
     * <code>repeated .IdItem idList = 1;</code>
     *
     * <pre>
     * 每行数据包含的idList大小不能超过10000
     * </pre>
     */
    public java.util.List<IdItem> getIdListList() {
      return idList_;
    }
    /**
     * <code>repeated .IdItem idList = 1;</code>
     *
     * <pre>
     * 每行数据包含的idList大小不能超过10000
     * </pre>
     */
    public java.util.List<? extends IdItemOrBuilder>
        getIdListOrBuilderList() {
      return idList_;
    }
    /**
     * <code>repeated .IdItem idList = 1;</code>
     *
     * <pre>
     * 每行数据包含的idList大小不能超过10000
     * </pre>
     */
    public int getIdListCount() {
      return idList_.size();
    }
    /**
     * <code>repeated .IdItem idList = 1;</code>
     *
     * <pre>
     * 每行数据包含的idList大小不能超过10000
     * </pre>
     */
    public DmpDataProto.IdItem getIdList(int index) {
      return idList_.get(index);
    }
    /**
     * <code>repeated .IdItem idList = 1;</code>
     *
     * <pre>
     * 每行数据包含的idList大小不能超过10000
     * </pre>
     */
    public 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;
    @Override
    protected Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    public static DmpDataProto.DmpData parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static 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 DmpDataProto.DmpData parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static DmpDataProto.DmpData parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static DmpDataProto.DmpData parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static DmpDataProto.DmpData parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static DmpDataProto.DmpData parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static DmpDataProto.DmpData parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static DmpDataProto.DmpData parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static 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(DmpDataProto.DmpData prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

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

      protected FieldAccessorTable
          internalGetFieldAccessorTable() {
        return DmpDataProto.internal_static_DmpData_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                DmpDataProto.DmpData.class, DmpDataProto.DmpData.Builder.class);
      }

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

      private Builder(
          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 DmpDataProto.internal_static_DmpData_descriptor;
      }

      public DmpDataProto.DmpData getDefaultInstanceForType() {
        return DmpDataProto.DmpData.getDefaultInstance();
      }

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

      public DmpDataProto.DmpData buildPartial() {
        DmpDataProto.DmpData result = new 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 DmpDataProto.DmpData) {
          return mergeFrom((DmpDataProto.DmpData)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(DmpDataProto.DmpData other) {
        if (other == 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 {
        DmpDataProto.DmpData parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (DmpDataProto.DmpData) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

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

      private com.google.protobuf.RepeatedFieldBuilder<
          IdItem, IdItem.Builder, IdItemOrBuilder> idListBuilder_;

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

      // @@protoc_insertion_point(builder_scope:DmpData)
    }

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

    // @@protoc_insertion_point(class_scope: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 .IdItem.DataType dataType = 2;
    /**
     * <code>required .IdItem.DataType dataType = 2;</code>
     *
     * <pre>
     *指定此id的类型，如IMEI、IDFA等
     * </pre>
     */
    boolean hasDataType();
    /**
     * <code>required .IdItem.DataType dataType = 2;</code>
     *
     * <pre>
     *指定此id的类型，如IMEI、IDFA等
     * </pre>
     */
    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>
     */
    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<String>
    getTagsList();
    /**
     * <code>repeated string tags = 4;</code>
     *
     * <pre>
     *标识此id的业务标签字符串
     * </pre>
     */
    int getTagsCount();
    /**
     * <code>repeated string tags = 4;</code>
     *
     * <pre>
     *标识此id的业务标签字符串
     * </pre>
     */
    String getTags(int index);
    /**
     * <code>repeated string tags = 4;</code>
     *
     * <pre>
     *标识此id的业务标签字符串
     * </pre>
     */
    com.google.protobuf.ByteString
        getTagsBytes(int index);
  }
  /**
   * Protobuf type {@code 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;
    @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();
              DmpDataProto.IdItem.DataType value = 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 DmpDataProto.internal_static_IdItem_descriptor;
    }

    protected FieldAccessorTable
        internalGetFieldAccessorTable() {
      return DmpDataProto.internal_static_IdItem_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              DmpDataProto.IdItem.class, 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);
      }
    };

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

    /**
     * Protobuf enum {@code 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>MOBILE = 3;</code>
       */
      MOBILE(3, 3),
      /**
       * <code>IMEI_MD5 = 4;</code>
       */
      IMEI_MD5(4, 4),
      /**
       * <code>IDFA_MD5 = 5;</code>
       */
      IDFA_MD5(5, 5),
      /**
       * <code>MOBILE_HASH_SHA256 = 6;</code>
       */
      MOBILE_HASH_SHA256(6, 6),
      ;

      /**
       * <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>MOBILE = 3;</code>
       */
      public static final int MOBILE_VALUE = 3;
      /**
       * <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;


      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 3: return MOBILE;
          case 4: return IMEI_MD5;
          case 5: return IDFA_MD5;
          case 6: return MOBILE_HASH_SHA256;
          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 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 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: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 .IdItem.DataType dataType = 2;
    public static final int DATATYPE_FIELD_NUMBER = 2;
    private DmpDataProto.IdItem.DataType dataType_;
    /**
     * <code>required .IdItem.DataType dataType = 2;</code>
     *
     * <pre>
     *指定此id的类型，如IMEI、IDFA等
     * </pre>
     */
    public boolean hasDataType() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * <code>required .IdItem.DataType dataType = 2;</code>
     *
     * <pre>
     *指定此id的类型，如IMEI、IDFA等
     * </pre>
     */
    public DmpDataProto.IdItem.DataType getDataType() {
      return dataType_;
    }

    // required string id = 3;
    public static final int ID_FIELD_NUMBER = 3;
    private 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 String getId() {
      Object ref = id_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        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() {
      Object ref = id_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8(
                (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<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 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_ = 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;
    @Override
    protected Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    public static DmpDataProto.IdItem parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static 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 DmpDataProto.IdItem parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static DmpDataProto.IdItem parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static DmpDataProto.IdItem parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static DmpDataProto.IdItem parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static DmpDataProto.IdItem parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static DmpDataProto.IdItem parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static DmpDataProto.IdItem parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static 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(DmpDataProto.IdItem prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

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

      protected FieldAccessorTable
          internalGetFieldAccessorTable() {
        return DmpDataProto.internal_static_IdItem_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                DmpDataProto.IdItem.class, DmpDataProto.IdItem.Builder.class);
      }

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

      private Builder(
          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_ = 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 DmpDataProto.internal_static_IdItem_descriptor;
      }

      public DmpDataProto.IdItem getDefaultInstanceForType() {
        return DmpDataProto.IdItem.getDefaultInstance();
      }

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

      public DmpDataProto.IdItem buildPartial() {
        DmpDataProto.IdItem result = new 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 DmpDataProto.IdItem) {
          return mergeFrom((DmpDataProto.IdItem)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(DmpDataProto.IdItem other) {
        if (other == 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 {
        DmpDataProto.IdItem parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (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 .IdItem.DataType dataType = 2;
      private DmpDataProto.IdItem.DataType dataType_ = DmpDataProto.IdItem.DataType.IMEI;
      /**
       * <code>required .IdItem.DataType dataType = 2;</code>
       *
       * <pre>
       *指定此id的类型，如IMEI、IDFA等
       * </pre>
       */
      public boolean hasDataType() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * <code>required .IdItem.DataType dataType = 2;</code>
       *
       * <pre>
       *指定此id的类型，如IMEI、IDFA等
       * </pre>
       */
      public DmpDataProto.IdItem.DataType getDataType() {
        return dataType_;
      }
      /**
       * <code>required .IdItem.DataType dataType = 2;</code>
       *
       * <pre>
       *指定此id的类型，如IMEI、IDFA等
       * </pre>
       */
      public Builder setDataType(DmpDataProto.IdItem.DataType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        bitField0_ |= 0x00000002;
        dataType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>required .IdItem.DataType dataType = 2;</code>
       *
       * <pre>
       *指定此id的类型，如IMEI、IDFA等
       * </pre>
       */
      public Builder clearDataType() {
        bitField0_ = (bitField0_ & ~0x00000002);
        dataType_ = DmpDataProto.IdItem.DataType.IMEI;
        onChanged();
        return this;
      }

      // required string id = 3;
      private 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 String getId() {
        Object ref = id_;
        if (!(ref instanceof String)) {
          String s = ((com.google.protobuf.ByteString) ref)
              .toStringUtf8();
          id_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <code>required string id = 3;</code>
       *
       * <pre>
       *根据dataType字段的类型，放置对应类型的id的字符串，需要小写
       * </pre>
       */
      public com.google.protobuf.ByteString
          getIdBytes() {
        Object ref = id_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b =
              com.google.protobuf.ByteString.copyFromUtf8(
                  (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(
          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<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 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, 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(
          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(
          Iterable<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:IdItem)
    }

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

    // @@protoc_insertion_point(class_scope:IdItem)
  }

  private static com.google.protobuf.Descriptors.Descriptor
    internal_static_DmpData_descriptor;
  private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_DmpData_fieldAccessorTable;
  private static com.google.protobuf.Descriptors.Descriptor
    internal_static_IdItem_descriptor;
  private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_IdItem_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    String[] descriptorData = {
      "\n\rDmpData.proto\"\"\n\007DmpData\022\027\n\006idList\030\001 \003" +
      "(\0132\007.IdItem\"\302\001\n\006IdItem\022\021\n\ttimestamp\030\001 \001(" +
      "\r\022\"\n\010dataType\030\002 \002(\0162\020.IdItem.DataType\022\n\n" +
      "\002id\030\003 \002(\t\022\014\n\004tags\030\004 \003(\t\"g\n\010DataType\022\010\n\004I" +
      "MEI\020\000\022\010\n\004IDFA\020\001\022\007\n\003UID\020\002\022\n\n\006MOBILE\020\003\022\014\n\010" +
      "IMEI_MD5\020\004\022\014\n\010IDFA_MD5\020\005\022\026\n\022MOBILE_HASH_" +
      "SHA256\020\006B/\n\037mobvista.dmp.datasource.tout" +
      "iaoB\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_DmpData_descriptor =
            getDescriptor().getMessageTypes().get(0);
          internal_static_DmpData_fieldAccessorTable = new
            com.google.protobuf.GeneratedMessage.FieldAccessorTable(
              internal_static_DmpData_descriptor,
              new String[] { "IdList", });
          internal_static_IdItem_descriptor =
            getDescriptor().getMessageTypes().get(1);
          internal_static_IdItem_fieldAccessorTable = new
            com.google.protobuf.GeneratedMessage.FieldAccessorTable(
              internal_static_IdItem_descriptor,
              new 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)
}
