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

package emu.grasscutter.net.proto;

public final class MailDataOuterClass {
  private MailDataOuterClass() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface MailDataOrBuilder extends
      // @@protoc_insertion_point(interface_extends:MailData)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>uint32 mail_id = 1;</code>
     * @return The mailId.
     */
    int getMailId();

    /**
     * <code>.MailTextContent mail_text_content = 4;</code>
     * @return Whether the mailTextContent field is set.
     */
    boolean hasMailTextContent();
    /**
     * <code>.MailTextContent mail_text_content = 4;</code>
     * @return The mailTextContent.
     */
    emu.grasscutter.net.proto.MailTextContentOuterClass.MailTextContent getMailTextContent();
    /**
     * <code>.MailTextContent mail_text_content = 4;</code>
     */
    emu.grasscutter.net.proto.MailTextContentOuterClass.MailTextContentOrBuilder getMailTextContentOrBuilder();

    /**
     * <code>repeated .MailItem item_list = 7;</code>
     */
    java.util.List<emu.grasscutter.net.proto.MailItemOuterClass.MailItem> 
        getItemListList();
    /**
     * <code>repeated .MailItem item_list = 7;</code>
     */
    emu.grasscutter.net.proto.MailItemOuterClass.MailItem getItemList(int index);
    /**
     * <code>repeated .MailItem item_list = 7;</code>
     */
    int getItemListCount();
    /**
     * <code>repeated .MailItem item_list = 7;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.MailItemOuterClass.MailItemOrBuilder> 
        getItemListOrBuilderList();
    /**
     * <code>repeated .MailItem item_list = 7;</code>
     */
    emu.grasscutter.net.proto.MailItemOuterClass.MailItemOrBuilder getItemListOrBuilder(
        int index);

    /**
     * <code>uint32 send_time = 8;</code>
     * @return The sendTime.
     */
    int getSendTime();

    /**
     * <code>uint32 expire_time = 9;</code>
     * @return The expireTime.
     */
    int getExpireTime();

    /**
     * <code>uint32 importance = 10;</code>
     * @return The importance.
     */
    int getImportance();

    /**
     * <code>bool is_read = 11;</code>
     * @return The isRead.
     */
    boolean getIsRead();

    /**
     * <code>bool is_attachment_got = 12;</code>
     * @return The isAttachmentGot.
     */
    boolean getIsAttachmentGot();

    /**
     * <code>uint32 config_id = 13;</code>
     * @return The configId.
     */
    int getConfigId();

    /**
     * <code>repeated string argument_list = 14;</code>
     * @return A list containing the argumentList.
     */
    java.util.List<java.lang.String>
        getArgumentListList();
    /**
     * <code>repeated string argument_list = 14;</code>
     * @return The count of argumentList.
     */
    int getArgumentListCount();
    /**
     * <code>repeated string argument_list = 14;</code>
     * @param index The index of the element to return.
     * @return The argumentList at the given index.
     */
    java.lang.String getArgumentList(int index);
    /**
     * <code>repeated string argument_list = 14;</code>
     * @param index The index of the value to return.
     * @return The bytes of the argumentList at the given index.
     */
    com.google.protobuf.ByteString
        getArgumentListBytes(int index);

    /**
     * <code>.Unk2700_CBJEDMGOBPL Unk2700_NDPPGJKJOMH = 15;</code>
     * @return The enum numeric value on the wire for unk2700NDPPGJKJOMH.
     */
    int getUnk2700NDPPGJKJOMHValue();
    /**
     * <code>.Unk2700_CBJEDMGOBPL Unk2700_NDPPGJKJOMH = 15;</code>
     * @return The unk2700NDPPGJKJOMH.
     */
    emu.grasscutter.net.proto.Unk2700CBJEDMGOBPL.Unk2700_CBJEDMGOBPL getUnk2700NDPPGJKJOMH();
  }
  /**
   * Protobuf type {@code MailData}
   */
  public static final class MailData extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:MailData)
      MailDataOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use MailData.newBuilder() to construct.
    private MailData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private MailData() {
      itemList_ = java.util.Collections.emptyList();
      argumentList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      unk2700NDPPGJKJOMH_ = 0;
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new MailData();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private MailData(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8: {

              mailId_ = input.readUInt32();
              break;
            }
            case 34: {
              emu.grasscutter.net.proto.MailTextContentOuterClass.MailTextContent.Builder subBuilder = null;
              if (mailTextContent_ != null) {
                subBuilder = mailTextContent_.toBuilder();
              }
              mailTextContent_ = input.readMessage(emu.grasscutter.net.proto.MailTextContentOuterClass.MailTextContent.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(mailTextContent_);
                mailTextContent_ = subBuilder.buildPartial();
              }

              break;
            }
            case 58: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                itemList_ = new java.util.ArrayList<emu.grasscutter.net.proto.MailItemOuterClass.MailItem>();
                mutable_bitField0_ |= 0x00000001;
              }
              itemList_.add(
                  input.readMessage(emu.grasscutter.net.proto.MailItemOuterClass.MailItem.parser(), extensionRegistry));
              break;
            }
            case 64: {

              sendTime_ = input.readUInt32();
              break;
            }
            case 72: {

              expireTime_ = input.readUInt32();
              break;
            }
            case 80: {

              importance_ = input.readUInt32();
              break;
            }
            case 88: {

              isRead_ = input.readBool();
              break;
            }
            case 96: {

              isAttachmentGot_ = input.readBool();
              break;
            }
            case 104: {

              configId_ = input.readUInt32();
              break;
            }
            case 114: {
              java.lang.String s = input.readStringRequireUtf8();
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                argumentList_ = new com.google.protobuf.LazyStringArrayList();
                mutable_bitField0_ |= 0x00000002;
              }
              argumentList_.add(s);
              break;
            }
            case 120: {
              int rawValue = input.readEnum();

              unk2700NDPPGJKJOMH_ = rawValue;
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          itemList_ = java.util.Collections.unmodifiableList(itemList_);
        }
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          argumentList_ = argumentList_.getUnmodifiableView();
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.MailDataOuterClass.internal_static_MailData_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return emu.grasscutter.net.proto.MailDataOuterClass.internal_static_MailData_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              emu.grasscutter.net.proto.MailDataOuterClass.MailData.class, emu.grasscutter.net.proto.MailDataOuterClass.MailData.Builder.class);
    }

    public static final int MAIL_ID_FIELD_NUMBER = 1;
    private int mailId_;
    /**
     * <code>uint32 mail_id = 1;</code>
     * @return The mailId.
     */
    @java.lang.Override
    public int getMailId() {
      return mailId_;
    }

    public static final int MAIL_TEXT_CONTENT_FIELD_NUMBER = 4;
    private emu.grasscutter.net.proto.MailTextContentOuterClass.MailTextContent mailTextContent_;
    /**
     * <code>.MailTextContent mail_text_content = 4;</code>
     * @return Whether the mailTextContent field is set.
     */
    @java.lang.Override
    public boolean hasMailTextContent() {
      return mailTextContent_ != null;
    }
    /**
     * <code>.MailTextContent mail_text_content = 4;</code>
     * @return The mailTextContent.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.MailTextContentOuterClass.MailTextContent getMailTextContent() {
      return mailTextContent_ == null ? emu.grasscutter.net.proto.MailTextContentOuterClass.MailTextContent.getDefaultInstance() : mailTextContent_;
    }
    /**
     * <code>.MailTextContent mail_text_content = 4;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.MailTextContentOuterClass.MailTextContentOrBuilder getMailTextContentOrBuilder() {
      return getMailTextContent();
    }

    public static final int ITEM_LIST_FIELD_NUMBER = 7;
    private java.util.List<emu.grasscutter.net.proto.MailItemOuterClass.MailItem> itemList_;
    /**
     * <code>repeated .MailItem item_list = 7;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.MailItemOuterClass.MailItem> getItemListList() {
      return itemList_;
    }
    /**
     * <code>repeated .MailItem item_list = 7;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.MailItemOuterClass.MailItemOrBuilder> 
        getItemListOrBuilderList() {
      return itemList_;
    }
    /**
     * <code>repeated .MailItem item_list = 7;</code>
     */
    @java.lang.Override
    public int getItemListCount() {
      return itemList_.size();
    }
    /**
     * <code>repeated .MailItem item_list = 7;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.MailItemOuterClass.MailItem getItemList(int index) {
      return itemList_.get(index);
    }
    /**
     * <code>repeated .MailItem item_list = 7;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.MailItemOuterClass.MailItemOrBuilder getItemListOrBuilder(
        int index) {
      return itemList_.get(index);
    }

    public static final int SEND_TIME_FIELD_NUMBER = 8;
    private int sendTime_;
    /**
     * <code>uint32 send_time = 8;</code>
     * @return The sendTime.
     */
    @java.lang.Override
    public int getSendTime() {
      return sendTime_;
    }

    public static final int EXPIRE_TIME_FIELD_NUMBER = 9;
    private int expireTime_;
    /**
     * <code>uint32 expire_time = 9;</code>
     * @return The expireTime.
     */
    @java.lang.Override
    public int getExpireTime() {
      return expireTime_;
    }

    public static final int IMPORTANCE_FIELD_NUMBER = 10;
    private int importance_;
    /**
     * <code>uint32 importance = 10;</code>
     * @return The importance.
     */
    @java.lang.Override
    public int getImportance() {
      return importance_;
    }

    public static final int IS_READ_FIELD_NUMBER = 11;
    private boolean isRead_;
    /**
     * <code>bool is_read = 11;</code>
     * @return The isRead.
     */
    @java.lang.Override
    public boolean getIsRead() {
      return isRead_;
    }

    public static final int IS_ATTACHMENT_GOT_FIELD_NUMBER = 12;
    private boolean isAttachmentGot_;
    /**
     * <code>bool is_attachment_got = 12;</code>
     * @return The isAttachmentGot.
     */
    @java.lang.Override
    public boolean getIsAttachmentGot() {
      return isAttachmentGot_;
    }

    public static final int CONFIG_ID_FIELD_NUMBER = 13;
    private int configId_;
    /**
     * <code>uint32 config_id = 13;</code>
     * @return The configId.
     */
    @java.lang.Override
    public int getConfigId() {
      return configId_;
    }

    public static final int ARGUMENT_LIST_FIELD_NUMBER = 14;
    private com.google.protobuf.LazyStringList argumentList_;
    /**
     * <code>repeated string argument_list = 14;</code>
     * @return A list containing the argumentList.
     */
    public com.google.protobuf.ProtocolStringList
        getArgumentListList() {
      return argumentList_;
    }
    /**
     * <code>repeated string argument_list = 14;</code>
     * @return The count of argumentList.
     */
    public int getArgumentListCount() {
      return argumentList_.size();
    }
    /**
     * <code>repeated string argument_list = 14;</code>
     * @param index The index of the element to return.
     * @return The argumentList at the given index.
     */
    public java.lang.String getArgumentList(int index) {
      return argumentList_.get(index);
    }
    /**
     * <code>repeated string argument_list = 14;</code>
     * @param index The index of the value to return.
     * @return The bytes of the argumentList at the given index.
     */
    public com.google.protobuf.ByteString
        getArgumentListBytes(int index) {
      return argumentList_.getByteString(index);
    }

    public static final int UNK2700_NDPPGJKJOMH_FIELD_NUMBER = 15;
    private int unk2700NDPPGJKJOMH_;
    /**
     * <code>.Unk2700_CBJEDMGOBPL Unk2700_NDPPGJKJOMH = 15;</code>
     * @return The enum numeric value on the wire for unk2700NDPPGJKJOMH.
     */
    @java.lang.Override public int getUnk2700NDPPGJKJOMHValue() {
      return unk2700NDPPGJKJOMH_;
    }
    /**
     * <code>.Unk2700_CBJEDMGOBPL Unk2700_NDPPGJKJOMH = 15;</code>
     * @return The unk2700NDPPGJKJOMH.
     */
    @java.lang.Override public emu.grasscutter.net.proto.Unk2700CBJEDMGOBPL.Unk2700_CBJEDMGOBPL getUnk2700NDPPGJKJOMH() {
      @SuppressWarnings("deprecation")
      emu.grasscutter.net.proto.Unk2700CBJEDMGOBPL.Unk2700_CBJEDMGOBPL result = emu.grasscutter.net.proto.Unk2700CBJEDMGOBPL.Unk2700_CBJEDMGOBPL.valueOf(unk2700NDPPGJKJOMH_);
      return result == null ? emu.grasscutter.net.proto.Unk2700CBJEDMGOBPL.Unk2700_CBJEDMGOBPL.UNRECOGNIZED : result;
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (mailId_ != 0) {
        output.writeUInt32(1, mailId_);
      }
      if (mailTextContent_ != null) {
        output.writeMessage(4, getMailTextContent());
      }
      for (int i = 0; i < itemList_.size(); i++) {
        output.writeMessage(7, itemList_.get(i));
      }
      if (sendTime_ != 0) {
        output.writeUInt32(8, sendTime_);
      }
      if (expireTime_ != 0) {
        output.writeUInt32(9, expireTime_);
      }
      if (importance_ != 0) {
        output.writeUInt32(10, importance_);
      }
      if (isRead_ != false) {
        output.writeBool(11, isRead_);
      }
      if (isAttachmentGot_ != false) {
        output.writeBool(12, isAttachmentGot_);
      }
      if (configId_ != 0) {
        output.writeUInt32(13, configId_);
      }
      for (int i = 0; i < argumentList_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 14, argumentList_.getRaw(i));
      }
      if (unk2700NDPPGJKJOMH_ != emu.grasscutter.net.proto.Unk2700CBJEDMGOBPL.Unk2700_CBJEDMGOBPL.Unk2700_CBJEDMGOBPL_Unk2700_MBLDLJOKLBL.getNumber()) {
        output.writeEnum(15, unk2700NDPPGJKJOMH_);
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (mailId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1, mailId_);
      }
      if (mailTextContent_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, getMailTextContent());
      }
      for (int i = 0; i < itemList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(7, itemList_.get(i));
      }
      if (sendTime_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(8, sendTime_);
      }
      if (expireTime_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(9, expireTime_);
      }
      if (importance_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(10, importance_);
      }
      if (isRead_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(11, isRead_);
      }
      if (isAttachmentGot_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(12, isAttachmentGot_);
      }
      if (configId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(13, configId_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < argumentList_.size(); i++) {
          dataSize += computeStringSizeNoTag(argumentList_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getArgumentListList().size();
      }
      if (unk2700NDPPGJKJOMH_ != emu.grasscutter.net.proto.Unk2700CBJEDMGOBPL.Unk2700_CBJEDMGOBPL.Unk2700_CBJEDMGOBPL_Unk2700_MBLDLJOKLBL.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(15, unk2700NDPPGJKJOMH_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof emu.grasscutter.net.proto.MailDataOuterClass.MailData)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.MailDataOuterClass.MailData other = (emu.grasscutter.net.proto.MailDataOuterClass.MailData) obj;

      if (getMailId()
          != other.getMailId()) return false;
      if (hasMailTextContent() != other.hasMailTextContent()) return false;
      if (hasMailTextContent()) {
        if (!getMailTextContent()
            .equals(other.getMailTextContent())) return false;
      }
      if (!getItemListList()
          .equals(other.getItemListList())) return false;
      if (getSendTime()
          != other.getSendTime()) return false;
      if (getExpireTime()
          != other.getExpireTime()) return false;
      if (getImportance()
          != other.getImportance()) return false;
      if (getIsRead()
          != other.getIsRead()) return false;
      if (getIsAttachmentGot()
          != other.getIsAttachmentGot()) return false;
      if (getConfigId()
          != other.getConfigId()) return false;
      if (!getArgumentListList()
          .equals(other.getArgumentListList())) return false;
      if (unk2700NDPPGJKJOMH_ != other.unk2700NDPPGJKJOMH_) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + MAIL_ID_FIELD_NUMBER;
      hash = (53 * hash) + getMailId();
      if (hasMailTextContent()) {
        hash = (37 * hash) + MAIL_TEXT_CONTENT_FIELD_NUMBER;
        hash = (53 * hash) + getMailTextContent().hashCode();
      }
      if (getItemListCount() > 0) {
        hash = (37 * hash) + ITEM_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getItemListList().hashCode();
      }
      hash = (37 * hash) + SEND_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getSendTime();
      hash = (37 * hash) + EXPIRE_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getExpireTime();
      hash = (37 * hash) + IMPORTANCE_FIELD_NUMBER;
      hash = (53 * hash) + getImportance();
      hash = (37 * hash) + IS_READ_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsRead());
      hash = (37 * hash) + IS_ATTACHMENT_GOT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsAttachmentGot());
      hash = (37 * hash) + CONFIG_ID_FIELD_NUMBER;
      hash = (53 * hash) + getConfigId();
      if (getArgumentListCount() > 0) {
        hash = (37 * hash) + ARGUMENT_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getArgumentListList().hashCode();
      }
      hash = (37 * hash) + UNK2700_NDPPGJKJOMH_FIELD_NUMBER;
      hash = (53 * hash) + unk2700NDPPGJKJOMH_;
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.MailDataOuterClass.MailData parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.MailDataOuterClass.MailData parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.MailDataOuterClass.MailData parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.MailDataOuterClass.MailData parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.MailDataOuterClass.MailData parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.MailDataOuterClass.MailData parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.MailDataOuterClass.MailData parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.MailDataOuterClass.MailData parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.MailDataOuterClass.MailData parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.MailDataOuterClass.MailData parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.MailDataOuterClass.MailData parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.MailDataOuterClass.MailData parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(emu.grasscutter.net.proto.MailDataOuterClass.MailData prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code MailData}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:MailData)
        emu.grasscutter.net.proto.MailDataOuterClass.MailDataOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.MailDataOuterClass.internal_static_MailData_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.MailDataOuterClass.internal_static_MailData_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.MailDataOuterClass.MailData.class, emu.grasscutter.net.proto.MailDataOuterClass.MailData.Builder.class);
      }

      // Construct using emu.grasscutter.net.proto.MailDataOuterClass.MailData.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getItemListFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        mailId_ = 0;

        if (mailTextContentBuilder_ == null) {
          mailTextContent_ = null;
        } else {
          mailTextContent_ = null;
          mailTextContentBuilder_ = null;
        }
        if (itemListBuilder_ == null) {
          itemList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          itemListBuilder_.clear();
        }
        sendTime_ = 0;

        expireTime_ = 0;

        importance_ = 0;

        isRead_ = false;

        isAttachmentGot_ = false;

        configId_ = 0;

        argumentList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000002);
        unk2700NDPPGJKJOMH_ = 0;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return emu.grasscutter.net.proto.MailDataOuterClass.internal_static_MailData_descriptor;
      }

      @java.lang.Override
      public emu.grasscutter.net.proto.MailDataOuterClass.MailData getDefaultInstanceForType() {
        return emu.grasscutter.net.proto.MailDataOuterClass.MailData.getDefaultInstance();
      }

      @java.lang.Override
      public emu.grasscutter.net.proto.MailDataOuterClass.MailData build() {
        emu.grasscutter.net.proto.MailDataOuterClass.MailData result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public emu.grasscutter.net.proto.MailDataOuterClass.MailData buildPartial() {
        emu.grasscutter.net.proto.MailDataOuterClass.MailData result = new emu.grasscutter.net.proto.MailDataOuterClass.MailData(this);
        int from_bitField0_ = bitField0_;
        result.mailId_ = mailId_;
        if (mailTextContentBuilder_ == null) {
          result.mailTextContent_ = mailTextContent_;
        } else {
          result.mailTextContent_ = mailTextContentBuilder_.build();
        }
        if (itemListBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            itemList_ = java.util.Collections.unmodifiableList(itemList_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.itemList_ = itemList_;
        } else {
          result.itemList_ = itemListBuilder_.build();
        }
        result.sendTime_ = sendTime_;
        result.expireTime_ = expireTime_;
        result.importance_ = importance_;
        result.isRead_ = isRead_;
        result.isAttachmentGot_ = isAttachmentGot_;
        result.configId_ = configId_;
        if (((bitField0_ & 0x00000002) != 0)) {
          argumentList_ = argumentList_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.argumentList_ = argumentList_;
        result.unk2700NDPPGJKJOMH_ = unk2700NDPPGJKJOMH_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof emu.grasscutter.net.proto.MailDataOuterClass.MailData) {
          return mergeFrom((emu.grasscutter.net.proto.MailDataOuterClass.MailData)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.MailDataOuterClass.MailData other) {
        if (other == emu.grasscutter.net.proto.MailDataOuterClass.MailData.getDefaultInstance()) return this;
        if (other.getMailId() != 0) {
          setMailId(other.getMailId());
        }
        if (other.hasMailTextContent()) {
          mergeMailTextContent(other.getMailTextContent());
        }
        if (itemListBuilder_ == null) {
          if (!other.itemList_.isEmpty()) {
            if (itemList_.isEmpty()) {
              itemList_ = other.itemList_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureItemListIsMutable();
              itemList_.addAll(other.itemList_);
            }
            onChanged();
          }
        } else {
          if (!other.itemList_.isEmpty()) {
            if (itemListBuilder_.isEmpty()) {
              itemListBuilder_.dispose();
              itemListBuilder_ = null;
              itemList_ = other.itemList_;
              bitField0_ = (bitField0_ & ~0x00000001);
              itemListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getItemListFieldBuilder() : null;
            } else {
              itemListBuilder_.addAllMessages(other.itemList_);
            }
          }
        }
        if (other.getSendTime() != 0) {
          setSendTime(other.getSendTime());
        }
        if (other.getExpireTime() != 0) {
          setExpireTime(other.getExpireTime());
        }
        if (other.getImportance() != 0) {
          setImportance(other.getImportance());
        }
        if (other.getIsRead() != false) {
          setIsRead(other.getIsRead());
        }
        if (other.getIsAttachmentGot() != false) {
          setIsAttachmentGot(other.getIsAttachmentGot());
        }
        if (other.getConfigId() != 0) {
          setConfigId(other.getConfigId());
        }
        if (!other.argumentList_.isEmpty()) {
          if (argumentList_.isEmpty()) {
            argumentList_ = other.argumentList_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureArgumentListIsMutable();
            argumentList_.addAll(other.argumentList_);
          }
          onChanged();
        }
        if (other.unk2700NDPPGJKJOMH_ != 0) {
          setUnk2700NDPPGJKJOMHValue(other.getUnk2700NDPPGJKJOMHValue());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        emu.grasscutter.net.proto.MailDataOuterClass.MailData parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.MailDataOuterClass.MailData) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int mailId_ ;
      /**
       * <code>uint32 mail_id = 1;</code>
       * @return The mailId.
       */
      @java.lang.Override
      public int getMailId() {
        return mailId_;
      }
      /**
       * <code>uint32 mail_id = 1;</code>
       * @param value The mailId to set.
       * @return This builder for chaining.
       */
      public Builder setMailId(int value) {
        
        mailId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 mail_id = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearMailId() {
        
        mailId_ = 0;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.MailTextContentOuterClass.MailTextContent mailTextContent_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.MailTextContentOuterClass.MailTextContent, emu.grasscutter.net.proto.MailTextContentOuterClass.MailTextContent.Builder, emu.grasscutter.net.proto.MailTextContentOuterClass.MailTextContentOrBuilder> mailTextContentBuilder_;
      /**
       * <code>.MailTextContent mail_text_content = 4;</code>
       * @return Whether the mailTextContent field is set.
       */
      public boolean hasMailTextContent() {
        return mailTextContentBuilder_ != null || mailTextContent_ != null;
      }
      /**
       * <code>.MailTextContent mail_text_content = 4;</code>
       * @return The mailTextContent.
       */
      public emu.grasscutter.net.proto.MailTextContentOuterClass.MailTextContent getMailTextContent() {
        if (mailTextContentBuilder_ == null) {
          return mailTextContent_ == null ? emu.grasscutter.net.proto.MailTextContentOuterClass.MailTextContent.getDefaultInstance() : mailTextContent_;
        } else {
          return mailTextContentBuilder_.getMessage();
        }
      }
      /**
       * <code>.MailTextContent mail_text_content = 4;</code>
       */
      public Builder setMailTextContent(emu.grasscutter.net.proto.MailTextContentOuterClass.MailTextContent value) {
        if (mailTextContentBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          mailTextContent_ = value;
          onChanged();
        } else {
          mailTextContentBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.MailTextContent mail_text_content = 4;</code>
       */
      public Builder setMailTextContent(
          emu.grasscutter.net.proto.MailTextContentOuterClass.MailTextContent.Builder builderForValue) {
        if (mailTextContentBuilder_ == null) {
          mailTextContent_ = builderForValue.build();
          onChanged();
        } else {
          mailTextContentBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.MailTextContent mail_text_content = 4;</code>
       */
      public Builder mergeMailTextContent(emu.grasscutter.net.proto.MailTextContentOuterClass.MailTextContent value) {
        if (mailTextContentBuilder_ == null) {
          if (mailTextContent_ != null) {
            mailTextContent_ =
              emu.grasscutter.net.proto.MailTextContentOuterClass.MailTextContent.newBuilder(mailTextContent_).mergeFrom(value).buildPartial();
          } else {
            mailTextContent_ = value;
          }
          onChanged();
        } else {
          mailTextContentBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.MailTextContent mail_text_content = 4;</code>
       */
      public Builder clearMailTextContent() {
        if (mailTextContentBuilder_ == null) {
          mailTextContent_ = null;
          onChanged();
        } else {
          mailTextContent_ = null;
          mailTextContentBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.MailTextContent mail_text_content = 4;</code>
       */
      public emu.grasscutter.net.proto.MailTextContentOuterClass.MailTextContent.Builder getMailTextContentBuilder() {
        
        onChanged();
        return getMailTextContentFieldBuilder().getBuilder();
      }
      /**
       * <code>.MailTextContent mail_text_content = 4;</code>
       */
      public emu.grasscutter.net.proto.MailTextContentOuterClass.MailTextContentOrBuilder getMailTextContentOrBuilder() {
        if (mailTextContentBuilder_ != null) {
          return mailTextContentBuilder_.getMessageOrBuilder();
        } else {
          return mailTextContent_ == null ?
              emu.grasscutter.net.proto.MailTextContentOuterClass.MailTextContent.getDefaultInstance() : mailTextContent_;
        }
      }
      /**
       * <code>.MailTextContent mail_text_content = 4;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.MailTextContentOuterClass.MailTextContent, emu.grasscutter.net.proto.MailTextContentOuterClass.MailTextContent.Builder, emu.grasscutter.net.proto.MailTextContentOuterClass.MailTextContentOrBuilder> 
          getMailTextContentFieldBuilder() {
        if (mailTextContentBuilder_ == null) {
          mailTextContentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.MailTextContentOuterClass.MailTextContent, emu.grasscutter.net.proto.MailTextContentOuterClass.MailTextContent.Builder, emu.grasscutter.net.proto.MailTextContentOuterClass.MailTextContentOrBuilder>(
                  getMailTextContent(),
                  getParentForChildren(),
                  isClean());
          mailTextContent_ = null;
        }
        return mailTextContentBuilder_;
      }

      private java.util.List<emu.grasscutter.net.proto.MailItemOuterClass.MailItem> itemList_ =
        java.util.Collections.emptyList();
      private void ensureItemListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          itemList_ = new java.util.ArrayList<emu.grasscutter.net.proto.MailItemOuterClass.MailItem>(itemList_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.MailItemOuterClass.MailItem, emu.grasscutter.net.proto.MailItemOuterClass.MailItem.Builder, emu.grasscutter.net.proto.MailItemOuterClass.MailItemOrBuilder> itemListBuilder_;

      /**
       * <code>repeated .MailItem item_list = 7;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.MailItemOuterClass.MailItem> getItemListList() {
        if (itemListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(itemList_);
        } else {
          return itemListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .MailItem item_list = 7;</code>
       */
      public int getItemListCount() {
        if (itemListBuilder_ == null) {
          return itemList_.size();
        } else {
          return itemListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .MailItem item_list = 7;</code>
       */
      public emu.grasscutter.net.proto.MailItemOuterClass.MailItem getItemList(int index) {
        if (itemListBuilder_ == null) {
          return itemList_.get(index);
        } else {
          return itemListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .MailItem item_list = 7;</code>
       */
      public Builder setItemList(
          int index, emu.grasscutter.net.proto.MailItemOuterClass.MailItem value) {
        if (itemListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureItemListIsMutable();
          itemList_.set(index, value);
          onChanged();
        } else {
          itemListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .MailItem item_list = 7;</code>
       */
      public Builder setItemList(
          int index, emu.grasscutter.net.proto.MailItemOuterClass.MailItem.Builder builderForValue) {
        if (itemListBuilder_ == null) {
          ensureItemListIsMutable();
          itemList_.set(index, builderForValue.build());
          onChanged();
        } else {
          itemListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .MailItem item_list = 7;</code>
       */
      public Builder addItemList(emu.grasscutter.net.proto.MailItemOuterClass.MailItem value) {
        if (itemListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureItemListIsMutable();
          itemList_.add(value);
          onChanged();
        } else {
          itemListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .MailItem item_list = 7;</code>
       */
      public Builder addItemList(
          int index, emu.grasscutter.net.proto.MailItemOuterClass.MailItem value) {
        if (itemListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureItemListIsMutable();
          itemList_.add(index, value);
          onChanged();
        } else {
          itemListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .MailItem item_list = 7;</code>
       */
      public Builder addItemList(
          emu.grasscutter.net.proto.MailItemOuterClass.MailItem.Builder builderForValue) {
        if (itemListBuilder_ == null) {
          ensureItemListIsMutable();
          itemList_.add(builderForValue.build());
          onChanged();
        } else {
          itemListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .MailItem item_list = 7;</code>
       */
      public Builder addItemList(
          int index, emu.grasscutter.net.proto.MailItemOuterClass.MailItem.Builder builderForValue) {
        if (itemListBuilder_ == null) {
          ensureItemListIsMutable();
          itemList_.add(index, builderForValue.build());
          onChanged();
        } else {
          itemListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .MailItem item_list = 7;</code>
       */
      public Builder addAllItemList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.MailItemOuterClass.MailItem> values) {
        if (itemListBuilder_ == null) {
          ensureItemListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, itemList_);
          onChanged();
        } else {
          itemListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .MailItem item_list = 7;</code>
       */
      public Builder clearItemList() {
        if (itemListBuilder_ == null) {
          itemList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          itemListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .MailItem item_list = 7;</code>
       */
      public Builder removeItemList(int index) {
        if (itemListBuilder_ == null) {
          ensureItemListIsMutable();
          itemList_.remove(index);
          onChanged();
        } else {
          itemListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .MailItem item_list = 7;</code>
       */
      public emu.grasscutter.net.proto.MailItemOuterClass.MailItem.Builder getItemListBuilder(
          int index) {
        return getItemListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .MailItem item_list = 7;</code>
       */
      public emu.grasscutter.net.proto.MailItemOuterClass.MailItemOrBuilder getItemListOrBuilder(
          int index) {
        if (itemListBuilder_ == null) {
          return itemList_.get(index);  } else {
          return itemListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .MailItem item_list = 7;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.MailItemOuterClass.MailItemOrBuilder> 
           getItemListOrBuilderList() {
        if (itemListBuilder_ != null) {
          return itemListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(itemList_);
        }
      }
      /**
       * <code>repeated .MailItem item_list = 7;</code>
       */
      public emu.grasscutter.net.proto.MailItemOuterClass.MailItem.Builder addItemListBuilder() {
        return getItemListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.MailItemOuterClass.MailItem.getDefaultInstance());
      }
      /**
       * <code>repeated .MailItem item_list = 7;</code>
       */
      public emu.grasscutter.net.proto.MailItemOuterClass.MailItem.Builder addItemListBuilder(
          int index) {
        return getItemListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.MailItemOuterClass.MailItem.getDefaultInstance());
      }
      /**
       * <code>repeated .MailItem item_list = 7;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.MailItemOuterClass.MailItem.Builder> 
           getItemListBuilderList() {
        return getItemListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.MailItemOuterClass.MailItem, emu.grasscutter.net.proto.MailItemOuterClass.MailItem.Builder, emu.grasscutter.net.proto.MailItemOuterClass.MailItemOrBuilder> 
          getItemListFieldBuilder() {
        if (itemListBuilder_ == null) {
          itemListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.MailItemOuterClass.MailItem, emu.grasscutter.net.proto.MailItemOuterClass.MailItem.Builder, emu.grasscutter.net.proto.MailItemOuterClass.MailItemOrBuilder>(
                  itemList_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          itemList_ = null;
        }
        return itemListBuilder_;
      }

      private int sendTime_ ;
      /**
       * <code>uint32 send_time = 8;</code>
       * @return The sendTime.
       */
      @java.lang.Override
      public int getSendTime() {
        return sendTime_;
      }
      /**
       * <code>uint32 send_time = 8;</code>
       * @param value The sendTime to set.
       * @return This builder for chaining.
       */
      public Builder setSendTime(int value) {
        
        sendTime_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 send_time = 8;</code>
       * @return This builder for chaining.
       */
      public Builder clearSendTime() {
        
        sendTime_ = 0;
        onChanged();
        return this;
      }

      private int expireTime_ ;
      /**
       * <code>uint32 expire_time = 9;</code>
       * @return The expireTime.
       */
      @java.lang.Override
      public int getExpireTime() {
        return expireTime_;
      }
      /**
       * <code>uint32 expire_time = 9;</code>
       * @param value The expireTime to set.
       * @return This builder for chaining.
       */
      public Builder setExpireTime(int value) {
        
        expireTime_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 expire_time = 9;</code>
       * @return This builder for chaining.
       */
      public Builder clearExpireTime() {
        
        expireTime_ = 0;
        onChanged();
        return this;
      }

      private int importance_ ;
      /**
       * <code>uint32 importance = 10;</code>
       * @return The importance.
       */
      @java.lang.Override
      public int getImportance() {
        return importance_;
      }
      /**
       * <code>uint32 importance = 10;</code>
       * @param value The importance to set.
       * @return This builder for chaining.
       */
      public Builder setImportance(int value) {
        
        importance_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 importance = 10;</code>
       * @return This builder for chaining.
       */
      public Builder clearImportance() {
        
        importance_ = 0;
        onChanged();
        return this;
      }

      private boolean isRead_ ;
      /**
       * <code>bool is_read = 11;</code>
       * @return The isRead.
       */
      @java.lang.Override
      public boolean getIsRead() {
        return isRead_;
      }
      /**
       * <code>bool is_read = 11;</code>
       * @param value The isRead to set.
       * @return This builder for chaining.
       */
      public Builder setIsRead(boolean value) {
        
        isRead_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool is_read = 11;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsRead() {
        
        isRead_ = false;
        onChanged();
        return this;
      }

      private boolean isAttachmentGot_ ;
      /**
       * <code>bool is_attachment_got = 12;</code>
       * @return The isAttachmentGot.
       */
      @java.lang.Override
      public boolean getIsAttachmentGot() {
        return isAttachmentGot_;
      }
      /**
       * <code>bool is_attachment_got = 12;</code>
       * @param value The isAttachmentGot to set.
       * @return This builder for chaining.
       */
      public Builder setIsAttachmentGot(boolean value) {
        
        isAttachmentGot_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool is_attachment_got = 12;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsAttachmentGot() {
        
        isAttachmentGot_ = false;
        onChanged();
        return this;
      }

      private int configId_ ;
      /**
       * <code>uint32 config_id = 13;</code>
       * @return The configId.
       */
      @java.lang.Override
      public int getConfigId() {
        return configId_;
      }
      /**
       * <code>uint32 config_id = 13;</code>
       * @param value The configId to set.
       * @return This builder for chaining.
       */
      public Builder setConfigId(int value) {
        
        configId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 config_id = 13;</code>
       * @return This builder for chaining.
       */
      public Builder clearConfigId() {
        
        configId_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.LazyStringList argumentList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureArgumentListIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          argumentList_ = new com.google.protobuf.LazyStringArrayList(argumentList_);
          bitField0_ |= 0x00000002;
         }
      }
      /**
       * <code>repeated string argument_list = 14;</code>
       * @return A list containing the argumentList.
       */
      public com.google.protobuf.ProtocolStringList
          getArgumentListList() {
        return argumentList_.getUnmodifiableView();
      }
      /**
       * <code>repeated string argument_list = 14;</code>
       * @return The count of argumentList.
       */
      public int getArgumentListCount() {
        return argumentList_.size();
      }
      /**
       * <code>repeated string argument_list = 14;</code>
       * @param index The index of the element to return.
       * @return The argumentList at the given index.
       */
      public java.lang.String getArgumentList(int index) {
        return argumentList_.get(index);
      }
      /**
       * <code>repeated string argument_list = 14;</code>
       * @param index The index of the value to return.
       * @return The bytes of the argumentList at the given index.
       */
      public com.google.protobuf.ByteString
          getArgumentListBytes(int index) {
        return argumentList_.getByteString(index);
      }
      /**
       * <code>repeated string argument_list = 14;</code>
       * @param index The index to set the value at.
       * @param value The argumentList to set.
       * @return This builder for chaining.
       */
      public Builder setArgumentList(
          int index, java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureArgumentListIsMutable();
        argumentList_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string argument_list = 14;</code>
       * @param value The argumentList to add.
       * @return This builder for chaining.
       */
      public Builder addArgumentList(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureArgumentListIsMutable();
        argumentList_.add(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string argument_list = 14;</code>
       * @param values The argumentList to add.
       * @return This builder for chaining.
       */
      public Builder addAllArgumentList(
          java.lang.Iterable<java.lang.String> values) {
        ensureArgumentListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, argumentList_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string argument_list = 14;</code>
       * @return This builder for chaining.
       */
      public Builder clearArgumentList() {
        argumentList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string argument_list = 14;</code>
       * @param value The bytes of the argumentList to add.
       * @return This builder for chaining.
       */
      public Builder addArgumentListBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        ensureArgumentListIsMutable();
        argumentList_.add(value);
        onChanged();
        return this;
      }

      private int unk2700NDPPGJKJOMH_ = 0;
      /**
       * <code>.Unk2700_CBJEDMGOBPL Unk2700_NDPPGJKJOMH = 15;</code>
       * @return The enum numeric value on the wire for unk2700NDPPGJKJOMH.
       */
      @java.lang.Override public int getUnk2700NDPPGJKJOMHValue() {
        return unk2700NDPPGJKJOMH_;
      }
      /**
       * <code>.Unk2700_CBJEDMGOBPL Unk2700_NDPPGJKJOMH = 15;</code>
       * @param value The enum numeric value on the wire for unk2700NDPPGJKJOMH to set.
       * @return This builder for chaining.
       */
      public Builder setUnk2700NDPPGJKJOMHValue(int value) {
        
        unk2700NDPPGJKJOMH_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>.Unk2700_CBJEDMGOBPL Unk2700_NDPPGJKJOMH = 15;</code>
       * @return The unk2700NDPPGJKJOMH.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.Unk2700CBJEDMGOBPL.Unk2700_CBJEDMGOBPL getUnk2700NDPPGJKJOMH() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.Unk2700CBJEDMGOBPL.Unk2700_CBJEDMGOBPL result = emu.grasscutter.net.proto.Unk2700CBJEDMGOBPL.Unk2700_CBJEDMGOBPL.valueOf(unk2700NDPPGJKJOMH_);
        return result == null ? emu.grasscutter.net.proto.Unk2700CBJEDMGOBPL.Unk2700_CBJEDMGOBPL.UNRECOGNIZED : result;
      }
      /**
       * <code>.Unk2700_CBJEDMGOBPL Unk2700_NDPPGJKJOMH = 15;</code>
       * @param value The unk2700NDPPGJKJOMH to set.
       * @return This builder for chaining.
       */
      public Builder setUnk2700NDPPGJKJOMH(emu.grasscutter.net.proto.Unk2700CBJEDMGOBPL.Unk2700_CBJEDMGOBPL value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        unk2700NDPPGJKJOMH_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.Unk2700_CBJEDMGOBPL Unk2700_NDPPGJKJOMH = 15;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnk2700NDPPGJKJOMH() {
        
        unk2700NDPPGJKJOMH_ = 0;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:MailData)
    }

    // @@protoc_insertion_point(class_scope:MailData)
    private static final emu.grasscutter.net.proto.MailDataOuterClass.MailData DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new emu.grasscutter.net.proto.MailDataOuterClass.MailData();
    }

    public static emu.grasscutter.net.proto.MailDataOuterClass.MailData getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<MailData>
        PARSER = new com.google.protobuf.AbstractParser<MailData>() {
      @java.lang.Override
      public MailData parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new MailData(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<MailData> parser() {
      return PARSER;
    }

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

    @java.lang.Override
    public emu.grasscutter.net.proto.MailDataOuterClass.MailData getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_MailData_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_MailData_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\016MailData.proto\032\016MailItem.proto\032\025MailTe" +
      "xtContent.proto\032\031Unk2700_CBJEDMGOBPL.pro" +
      "to\"\253\002\n\010MailData\022\017\n\007mail_id\030\001 \001(\r\022+\n\021mail" +
      "_text_content\030\004 \001(\0132\020.MailTextContent\022\034\n" +
      "\titem_list\030\007 \003(\0132\t.MailItem\022\021\n\tsend_time" +
      "\030\010 \001(\r\022\023\n\013expire_time\030\t \001(\r\022\022\n\nimportanc" +
      "e\030\n \001(\r\022\017\n\007is_read\030\013 \001(\010\022\031\n\021is_attachmen" +
      "t_got\030\014 \001(\010\022\021\n\tconfig_id\030\r \001(\r\022\025\n\rargume" +
      "nt_list\030\016 \003(\t\0221\n\023Unk2700_NDPPGJKJOMH\030\017 \001" +
      "(\0162\024.Unk2700_CBJEDMGOBPLB\033\n\031emu.grasscut" +
      "ter.net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.MailItemOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.MailTextContentOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.Unk2700CBJEDMGOBPL.getDescriptor(),
        });
    internal_static_MailData_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_MailData_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_MailData_descriptor,
        new java.lang.String[] { "MailId", "MailTextContent", "ItemList", "SendTime", "ExpireTime", "Importance", "IsRead", "IsAttachmentGot", "ConfigId", "ArgumentList", "Unk2700NDPPGJKJOMH", });
    emu.grasscutter.net.proto.MailItemOuterClass.getDescriptor();
    emu.grasscutter.net.proto.MailTextContentOuterClass.getDescriptor();
    emu.grasscutter.net.proto.Unk2700CBJEDMGOBPL.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
