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

package io.grasscutter.net.proto.activity;

/**
 * Protobuf type {@code SalesmanActivityDetailInfo}
 */
public final class SalesmanActivityDetailInfo extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:SalesmanActivityDetailInfo)
    SalesmanActivityDetailInfoOrBuilder {
private static final long serialVersionUID = 0L;
  // Use SalesmanActivityDetailInfo.newBuilder() to construct.
  private SalesmanActivityDetailInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private SalesmanActivityDetailInfo() {
    status_ = 0;
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private SalesmanActivityDetailInfo(
      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: {

            kHKOBCEFBBJ_ = input.readBool();
            break;
          }
          case 16: {

            pADGINLBCMN_ = input.readUInt32();
            break;
          }
          case 32: {
            int rawValue = input.readEnum();

            status_ = rawValue;
            break;
          }
          case 40: {

            lAOKDLOOJPJ_ = input.readUInt32();
            break;
          }
          case 64: {

            eFKPNBAOPAD_ = input.readBool();
            break;
          }
          case 80: {

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

            bNBOHMBKNKE_ = input.readUInt32();
            break;
          }
          case 96: {

            dLCBIJLGPAN_ = input.readUInt32();
            break;
          }
          case 106: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              selectedRewardIdMap_ = com.google.protobuf.MapField.newMapField(
                  SelectedRewardIdMapDefaultEntryHolder.defaultEntry);
              mutable_bitField0_ |= 0x00000001;
            }
            com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
            selectedRewardIdMap__ = input.readMessage(
                SelectedRewardIdMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
            selectedRewardIdMap_.getMutableMap().put(
                selectedRewardIdMap__.getKey(), selectedRewardIdMap__.getValue());
            break;
          }
          case 112: {

            oMFMLFAFIGA_ = input.readUInt32();
            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 {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.grasscutter.net.proto.activity.Activity.internal_static_SalesmanActivityDetailInfo_descriptor;
  }

  @SuppressWarnings({"rawtypes"})
  @java.lang.Override
  protected com.google.protobuf.MapField internalGetMapField(
      int number) {
    switch (number) {
      case 13:
        return internalGetSelectedRewardIdMap();
      default:
        throw new RuntimeException(
            "Invalid map field number: " + number);
    }
  }
  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.grasscutter.net.proto.activity.Activity.internal_static_SalesmanActivityDetailInfo_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo.class, io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo.Builder.class);
  }

  public static final int SELECTED_REWARD_ID_MAP_FIELD_NUMBER = 13;
  private static final class SelectedRewardIdMapDefaultEntryHolder {
    static final com.google.protobuf.MapEntry<
        java.lang.Integer, java.lang.Integer> defaultEntry =
            com.google.protobuf.MapEntry
            .<java.lang.Integer, java.lang.Integer>newDefaultInstance(
                io.grasscutter.net.proto.activity.Activity.internal_static_SalesmanActivityDetailInfo_SelectedRewardIdMapEntry_descriptor, 
                com.google.protobuf.WireFormat.FieldType.UINT32,
                0,
                com.google.protobuf.WireFormat.FieldType.UINT32,
                0);
  }
  private com.google.protobuf.MapField<
      java.lang.Integer, java.lang.Integer> selectedRewardIdMap_;
  private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
  internalGetSelectedRewardIdMap() {
    if (selectedRewardIdMap_ == null) {
      return com.google.protobuf.MapField.emptyMapField(
          SelectedRewardIdMapDefaultEntryHolder.defaultEntry);
    }
    return selectedRewardIdMap_;
  }

  public int getSelectedRewardIdMapCount() {
    return internalGetSelectedRewardIdMap().getMap().size();
  }
  /**
   * <code>map&lt;uint32, uint32&gt; selected_reward_id_map = 13;</code>
   */

  @java.lang.Override
  public boolean containsSelectedRewardIdMap(
      int key) {
    
    return internalGetSelectedRewardIdMap().getMap().containsKey(key);
  }
  /**
   * Use {@link #getSelectedRewardIdMapMap()} instead.
   */
  @java.lang.Override
  @java.lang.Deprecated
  public java.util.Map<java.lang.Integer, java.lang.Integer> getSelectedRewardIdMap() {
    return getSelectedRewardIdMapMap();
  }
  /**
   * <code>map&lt;uint32, uint32&gt; selected_reward_id_map = 13;</code>
   */
  @java.lang.Override

  public java.util.Map<java.lang.Integer, java.lang.Integer> getSelectedRewardIdMapMap() {
    return internalGetSelectedRewardIdMap().getMap();
  }
  /**
   * <code>map&lt;uint32, uint32&gt; selected_reward_id_map = 13;</code>
   */
  @java.lang.Override

  public int getSelectedRewardIdMapOrDefault(
      int key,
      int defaultValue) {
    
    java.util.Map<java.lang.Integer, java.lang.Integer> map =
        internalGetSelectedRewardIdMap().getMap();
    return map.containsKey(key) ? map.get(key) : defaultValue;
  }
  /**
   * <code>map&lt;uint32, uint32&gt; selected_reward_id_map = 13;</code>
   */
  @java.lang.Override

  public int getSelectedRewardIdMapOrThrow(
      int key) {
    
    java.util.Map<java.lang.Integer, java.lang.Integer> map =
        internalGetSelectedRewardIdMap().getMap();
    if (!map.containsKey(key)) {
      throw new java.lang.IllegalArgumentException();
    }
    return map.get(key);
  }

  public static final int PADGINLBCMN_FIELD_NUMBER = 2;
  private int pADGINLBCMN_;
  /**
   * <code>uint32 PADGINLBCMN = 2;</code>
   * @return The pADGINLBCMN.
   */
  @java.lang.Override
  public int getPADGINLBCMN() {
    return pADGINLBCMN_;
  }

  public static final int DLCBIJLGPAN_FIELD_NUMBER = 12;
  private int dLCBIJLGPAN_;
  /**
   * <code>uint32 DLCBIJLGPAN = 12;</code>
   * @return The dLCBIJLGPAN.
   */
  @java.lang.Override
  public int getDLCBIJLGPAN() {
    return dLCBIJLGPAN_;
  }

  public static final int OMFMLFAFIGA_FIELD_NUMBER = 14;
  private int oMFMLFAFIGA_;
  /**
   * <code>uint32 OMFMLFAFIGA = 14;</code>
   * @return The oMFMLFAFIGA.
   */
  @java.lang.Override
  public int getOMFMLFAFIGA() {
    return oMFMLFAFIGA_;
  }

  public static final int EFKPNBAOPAD_FIELD_NUMBER = 8;
  private boolean eFKPNBAOPAD_;
  /**
   * <code>bool EFKPNBAOPAD = 8;</code>
   * @return The eFKPNBAOPAD.
   */
  @java.lang.Override
  public boolean getEFKPNBAOPAD() {
    return eFKPNBAOPAD_;
  }

  public static final int KHKOBCEFBBJ_FIELD_NUMBER = 1;
  private boolean kHKOBCEFBBJ_;
  /**
   * <code>bool KHKOBCEFBBJ = 1;</code>
   * @return The kHKOBCEFBBJ.
   */
  @java.lang.Override
  public boolean getKHKOBCEFBBJ() {
    return kHKOBCEFBBJ_;
  }

  public static final int BNBOHMBKNKE_FIELD_NUMBER = 11;
  private int bNBOHMBKNKE_;
  /**
   * <code>uint32 BNBOHMBKNKE = 11;</code>
   * @return The bNBOHMBKNKE.
   */
  @java.lang.Override
  public int getBNBOHMBKNKE() {
    return bNBOHMBKNKE_;
  }

  public static final int STATUS_FIELD_NUMBER = 4;
  private int status_;
  /**
   * <code>.SalesmanStatusType status = 4;</code>
   * @return The enum numeric value on the wire for status.
   */
  @java.lang.Override public int getStatusValue() {
    return status_;
  }
  /**
   * <code>.SalesmanStatusType status = 4;</code>
   * @return The status.
   */
  @java.lang.Override public io.grasscutter.net.proto.define.SalesmanStatusType getStatus() {
    @SuppressWarnings("deprecation")
    io.grasscutter.net.proto.define.SalesmanStatusType result = io.grasscutter.net.proto.define.SalesmanStatusType.valueOf(status_);
    return result == null ? io.grasscutter.net.proto.define.SalesmanStatusType.UNRECOGNIZED : result;
  }

  public static final int DAY_INDEX_FIELD_NUMBER = 10;
  private int dayIndex_;
  /**
   * <code>uint32 day_index = 10;</code>
   * @return The dayIndex.
   */
  @java.lang.Override
  public int getDayIndex() {
    return dayIndex_;
  }

  public static final int LAOKDLOOJPJ_FIELD_NUMBER = 5;
  private int lAOKDLOOJPJ_;
  /**
   * <code>uint32 LAOKDLOOJPJ = 5;</code>
   * @return The lAOKDLOOJPJ.
   */
  @java.lang.Override
  public int getLAOKDLOOJPJ() {
    return lAOKDLOOJPJ_;
  }

  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 (kHKOBCEFBBJ_ != false) {
      output.writeBool(1, kHKOBCEFBBJ_);
    }
    if (pADGINLBCMN_ != 0) {
      output.writeUInt32(2, pADGINLBCMN_);
    }
    if (status_ != io.grasscutter.net.proto.define.SalesmanStatusType.SalesmanStatusType_SALESMAN_STATUS_NONE.getNumber()) {
      output.writeEnum(4, status_);
    }
    if (lAOKDLOOJPJ_ != 0) {
      output.writeUInt32(5, lAOKDLOOJPJ_);
    }
    if (eFKPNBAOPAD_ != false) {
      output.writeBool(8, eFKPNBAOPAD_);
    }
    if (dayIndex_ != 0) {
      output.writeUInt32(10, dayIndex_);
    }
    if (bNBOHMBKNKE_ != 0) {
      output.writeUInt32(11, bNBOHMBKNKE_);
    }
    if (dLCBIJLGPAN_ != 0) {
      output.writeUInt32(12, dLCBIJLGPAN_);
    }
    com.google.protobuf.GeneratedMessageV3
      .serializeIntegerMapTo(
        output,
        internalGetSelectedRewardIdMap(),
        SelectedRewardIdMapDefaultEntryHolder.defaultEntry,
        13);
    if (oMFMLFAFIGA_ != 0) {
      output.writeUInt32(14, oMFMLFAFIGA_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (kHKOBCEFBBJ_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(1, kHKOBCEFBBJ_);
    }
    if (pADGINLBCMN_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(2, pADGINLBCMN_);
    }
    if (status_ != io.grasscutter.net.proto.define.SalesmanStatusType.SalesmanStatusType_SALESMAN_STATUS_NONE.getNumber()) {
      size += com.google.protobuf.CodedOutputStream
        .computeEnumSize(4, status_);
    }
    if (lAOKDLOOJPJ_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(5, lAOKDLOOJPJ_);
    }
    if (eFKPNBAOPAD_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(8, eFKPNBAOPAD_);
    }
    if (dayIndex_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(10, dayIndex_);
    }
    if (bNBOHMBKNKE_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(11, bNBOHMBKNKE_);
    }
    if (dLCBIJLGPAN_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(12, dLCBIJLGPAN_);
    }
    for (java.util.Map.Entry<java.lang.Integer, java.lang.Integer> entry
         : internalGetSelectedRewardIdMap().getMap().entrySet()) {
      com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
      selectedRewardIdMap__ = SelectedRewardIdMapDefaultEntryHolder.defaultEntry.newBuilderForType()
          .setKey(entry.getKey())
          .setValue(entry.getValue())
          .build();
      size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(13, selectedRewardIdMap__);
    }
    if (oMFMLFAFIGA_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(14, oMFMLFAFIGA_);
    }
    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 io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo other = (io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo) obj;

    if (!internalGetSelectedRewardIdMap().equals(
        other.internalGetSelectedRewardIdMap())) return false;
    if (getPADGINLBCMN()
        != other.getPADGINLBCMN()) return false;
    if (getDLCBIJLGPAN()
        != other.getDLCBIJLGPAN()) return false;
    if (getOMFMLFAFIGA()
        != other.getOMFMLFAFIGA()) return false;
    if (getEFKPNBAOPAD()
        != other.getEFKPNBAOPAD()) return false;
    if (getKHKOBCEFBBJ()
        != other.getKHKOBCEFBBJ()) return false;
    if (getBNBOHMBKNKE()
        != other.getBNBOHMBKNKE()) return false;
    if (status_ != other.status_) return false;
    if (getDayIndex()
        != other.getDayIndex()) return false;
    if (getLAOKDLOOJPJ()
        != other.getLAOKDLOOJPJ()) 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();
    if (!internalGetSelectedRewardIdMap().getMap().isEmpty()) {
      hash = (37 * hash) + SELECTED_REWARD_ID_MAP_FIELD_NUMBER;
      hash = (53 * hash) + internalGetSelectedRewardIdMap().hashCode();
    }
    hash = (37 * hash) + PADGINLBCMN_FIELD_NUMBER;
    hash = (53 * hash) + getPADGINLBCMN();
    hash = (37 * hash) + DLCBIJLGPAN_FIELD_NUMBER;
    hash = (53 * hash) + getDLCBIJLGPAN();
    hash = (37 * hash) + OMFMLFAFIGA_FIELD_NUMBER;
    hash = (53 * hash) + getOMFMLFAFIGA();
    hash = (37 * hash) + EFKPNBAOPAD_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getEFKPNBAOPAD());
    hash = (37 * hash) + KHKOBCEFBBJ_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getKHKOBCEFBBJ());
    hash = (37 * hash) + BNBOHMBKNKE_FIELD_NUMBER;
    hash = (53 * hash) + getBNBOHMBKNKE();
    hash = (37 * hash) + STATUS_FIELD_NUMBER;
    hash = (53 * hash) + status_;
    hash = (37 * hash) + DAY_INDEX_FIELD_NUMBER;
    hash = (53 * hash) + getDayIndex();
    hash = (37 * hash) + LAOKDLOOJPJ_FIELD_NUMBER;
    hash = (53 * hash) + getLAOKDLOOJPJ();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo 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 io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo 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 io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo 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(io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo 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 SalesmanActivityDetailInfo}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:SalesmanActivityDetailInfo)
      io.grasscutter.net.proto.activity.SalesmanActivityDetailInfoOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.grasscutter.net.proto.activity.Activity.internal_static_SalesmanActivityDetailInfo_descriptor;
    }

    @SuppressWarnings({"rawtypes"})
    protected com.google.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 13:
          return internalGetSelectedRewardIdMap();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @SuppressWarnings({"rawtypes"})
    protected com.google.protobuf.MapField internalGetMutableMapField(
        int number) {
      switch (number) {
        case 13:
          return internalGetMutableSelectedRewardIdMap();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.grasscutter.net.proto.activity.Activity.internal_static_SalesmanActivityDetailInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo.class, io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo.Builder.class);
    }

    // Construct using io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

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

      dLCBIJLGPAN_ = 0;

      oMFMLFAFIGA_ = 0;

      eFKPNBAOPAD_ = false;

      kHKOBCEFBBJ_ = false;

      bNBOHMBKNKE_ = 0;

      status_ = 0;

      dayIndex_ = 0;

      lAOKDLOOJPJ_ = 0;

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return io.grasscutter.net.proto.activity.Activity.internal_static_SalesmanActivityDetailInfo_descriptor;
    }

    @java.lang.Override
    public io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo getDefaultInstanceForType() {
      return io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo.getDefaultInstance();
    }

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

    @java.lang.Override
    public io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo buildPartial() {
      io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo result = new io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo(this);
      int from_bitField0_ = bitField0_;
      result.selectedRewardIdMap_ = internalGetSelectedRewardIdMap();
      result.selectedRewardIdMap_.makeImmutable();
      result.pADGINLBCMN_ = pADGINLBCMN_;
      result.dLCBIJLGPAN_ = dLCBIJLGPAN_;
      result.oMFMLFAFIGA_ = oMFMLFAFIGA_;
      result.eFKPNBAOPAD_ = eFKPNBAOPAD_;
      result.kHKOBCEFBBJ_ = kHKOBCEFBBJ_;
      result.bNBOHMBKNKE_ = bNBOHMBKNKE_;
      result.status_ = status_;
      result.dayIndex_ = dayIndex_;
      result.lAOKDLOOJPJ_ = lAOKDLOOJPJ_;
      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 io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo) {
        return mergeFrom((io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo other) {
      if (other == io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo.getDefaultInstance()) return this;
      internalGetMutableSelectedRewardIdMap().mergeFrom(
          other.internalGetSelectedRewardIdMap());
      if (other.getPADGINLBCMN() != 0) {
        setPADGINLBCMN(other.getPADGINLBCMN());
      }
      if (other.getDLCBIJLGPAN() != 0) {
        setDLCBIJLGPAN(other.getDLCBIJLGPAN());
      }
      if (other.getOMFMLFAFIGA() != 0) {
        setOMFMLFAFIGA(other.getOMFMLFAFIGA());
      }
      if (other.getEFKPNBAOPAD() != false) {
        setEFKPNBAOPAD(other.getEFKPNBAOPAD());
      }
      if (other.getKHKOBCEFBBJ() != false) {
        setKHKOBCEFBBJ(other.getKHKOBCEFBBJ());
      }
      if (other.getBNBOHMBKNKE() != 0) {
        setBNBOHMBKNKE(other.getBNBOHMBKNKE());
      }
      if (other.status_ != 0) {
        setStatusValue(other.getStatusValue());
      }
      if (other.getDayIndex() != 0) {
        setDayIndex(other.getDayIndex());
      }
      if (other.getLAOKDLOOJPJ() != 0) {
        setLAOKDLOOJPJ(other.getLAOKDLOOJPJ());
      }
      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 {
      io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private com.google.protobuf.MapField<
        java.lang.Integer, java.lang.Integer> selectedRewardIdMap_;
    private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
    internalGetSelectedRewardIdMap() {
      if (selectedRewardIdMap_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            SelectedRewardIdMapDefaultEntryHolder.defaultEntry);
      }
      return selectedRewardIdMap_;
    }
    private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
    internalGetMutableSelectedRewardIdMap() {
      onChanged();;
      if (selectedRewardIdMap_ == null) {
        selectedRewardIdMap_ = com.google.protobuf.MapField.newMapField(
            SelectedRewardIdMapDefaultEntryHolder.defaultEntry);
      }
      if (!selectedRewardIdMap_.isMutable()) {
        selectedRewardIdMap_ = selectedRewardIdMap_.copy();
      }
      return selectedRewardIdMap_;
    }

    public int getSelectedRewardIdMapCount() {
      return internalGetSelectedRewardIdMap().getMap().size();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; selected_reward_id_map = 13;</code>
     */

    @java.lang.Override
    public boolean containsSelectedRewardIdMap(
        int key) {
      
      return internalGetSelectedRewardIdMap().getMap().containsKey(key);
    }
    /**
     * Use {@link #getSelectedRewardIdMapMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, java.lang.Integer> getSelectedRewardIdMap() {
      return getSelectedRewardIdMapMap();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; selected_reward_id_map = 13;</code>
     */
    @java.lang.Override

    public java.util.Map<java.lang.Integer, java.lang.Integer> getSelectedRewardIdMapMap() {
      return internalGetSelectedRewardIdMap().getMap();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; selected_reward_id_map = 13;</code>
     */
    @java.lang.Override

    public int getSelectedRewardIdMapOrDefault(
        int key,
        int defaultValue) {
      
      java.util.Map<java.lang.Integer, java.lang.Integer> map =
          internalGetSelectedRewardIdMap().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <code>map&lt;uint32, uint32&gt; selected_reward_id_map = 13;</code>
     */
    @java.lang.Override

    public int getSelectedRewardIdMapOrThrow(
        int key) {
      
      java.util.Map<java.lang.Integer, java.lang.Integer> map =
          internalGetSelectedRewardIdMap().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }

    public Builder clearSelectedRewardIdMap() {
      internalGetMutableSelectedRewardIdMap().getMutableMap()
          .clear();
      return this;
    }
    /**
     * <code>map&lt;uint32, uint32&gt; selected_reward_id_map = 13;</code>
     */

    public Builder removeSelectedRewardIdMap(
        int key) {
      
      internalGetMutableSelectedRewardIdMap().getMutableMap()
          .remove(key);
      return this;
    }
    /**
     * Use alternate mutation accessors instead.
     */
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, java.lang.Integer>
    getMutableSelectedRewardIdMap() {
      return internalGetMutableSelectedRewardIdMap().getMutableMap();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; selected_reward_id_map = 13;</code>
     */
    public Builder putSelectedRewardIdMap(
        int key,
        int value) {
      
      
      internalGetMutableSelectedRewardIdMap().getMutableMap()
          .put(key, value);
      return this;
    }
    /**
     * <code>map&lt;uint32, uint32&gt; selected_reward_id_map = 13;</code>
     */

    public Builder putAllSelectedRewardIdMap(
        java.util.Map<java.lang.Integer, java.lang.Integer> values) {
      internalGetMutableSelectedRewardIdMap().getMutableMap()
          .putAll(values);
      return this;
    }

    private int pADGINLBCMN_ ;
    /**
     * <code>uint32 PADGINLBCMN = 2;</code>
     * @return The pADGINLBCMN.
     */
    @java.lang.Override
    public int getPADGINLBCMN() {
      return pADGINLBCMN_;
    }
    /**
     * <code>uint32 PADGINLBCMN = 2;</code>
     * @param value The pADGINLBCMN to set.
     * @return This builder for chaining.
     */
    public Builder setPADGINLBCMN(int value) {
      
      pADGINLBCMN_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 PADGINLBCMN = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearPADGINLBCMN() {
      
      pADGINLBCMN_ = 0;
      onChanged();
      return this;
    }

    private int dLCBIJLGPAN_ ;
    /**
     * <code>uint32 DLCBIJLGPAN = 12;</code>
     * @return The dLCBIJLGPAN.
     */
    @java.lang.Override
    public int getDLCBIJLGPAN() {
      return dLCBIJLGPAN_;
    }
    /**
     * <code>uint32 DLCBIJLGPAN = 12;</code>
     * @param value The dLCBIJLGPAN to set.
     * @return This builder for chaining.
     */
    public Builder setDLCBIJLGPAN(int value) {
      
      dLCBIJLGPAN_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 DLCBIJLGPAN = 12;</code>
     * @return This builder for chaining.
     */
    public Builder clearDLCBIJLGPAN() {
      
      dLCBIJLGPAN_ = 0;
      onChanged();
      return this;
    }

    private int oMFMLFAFIGA_ ;
    /**
     * <code>uint32 OMFMLFAFIGA = 14;</code>
     * @return The oMFMLFAFIGA.
     */
    @java.lang.Override
    public int getOMFMLFAFIGA() {
      return oMFMLFAFIGA_;
    }
    /**
     * <code>uint32 OMFMLFAFIGA = 14;</code>
     * @param value The oMFMLFAFIGA to set.
     * @return This builder for chaining.
     */
    public Builder setOMFMLFAFIGA(int value) {
      
      oMFMLFAFIGA_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 OMFMLFAFIGA = 14;</code>
     * @return This builder for chaining.
     */
    public Builder clearOMFMLFAFIGA() {
      
      oMFMLFAFIGA_ = 0;
      onChanged();
      return this;
    }

    private boolean eFKPNBAOPAD_ ;
    /**
     * <code>bool EFKPNBAOPAD = 8;</code>
     * @return The eFKPNBAOPAD.
     */
    @java.lang.Override
    public boolean getEFKPNBAOPAD() {
      return eFKPNBAOPAD_;
    }
    /**
     * <code>bool EFKPNBAOPAD = 8;</code>
     * @param value The eFKPNBAOPAD to set.
     * @return This builder for chaining.
     */
    public Builder setEFKPNBAOPAD(boolean value) {
      
      eFKPNBAOPAD_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool EFKPNBAOPAD = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearEFKPNBAOPAD() {
      
      eFKPNBAOPAD_ = false;
      onChanged();
      return this;
    }

    private boolean kHKOBCEFBBJ_ ;
    /**
     * <code>bool KHKOBCEFBBJ = 1;</code>
     * @return The kHKOBCEFBBJ.
     */
    @java.lang.Override
    public boolean getKHKOBCEFBBJ() {
      return kHKOBCEFBBJ_;
    }
    /**
     * <code>bool KHKOBCEFBBJ = 1;</code>
     * @param value The kHKOBCEFBBJ to set.
     * @return This builder for chaining.
     */
    public Builder setKHKOBCEFBBJ(boolean value) {
      
      kHKOBCEFBBJ_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool KHKOBCEFBBJ = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearKHKOBCEFBBJ() {
      
      kHKOBCEFBBJ_ = false;
      onChanged();
      return this;
    }

    private int bNBOHMBKNKE_ ;
    /**
     * <code>uint32 BNBOHMBKNKE = 11;</code>
     * @return The bNBOHMBKNKE.
     */
    @java.lang.Override
    public int getBNBOHMBKNKE() {
      return bNBOHMBKNKE_;
    }
    /**
     * <code>uint32 BNBOHMBKNKE = 11;</code>
     * @param value The bNBOHMBKNKE to set.
     * @return This builder for chaining.
     */
    public Builder setBNBOHMBKNKE(int value) {
      
      bNBOHMBKNKE_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 BNBOHMBKNKE = 11;</code>
     * @return This builder for chaining.
     */
    public Builder clearBNBOHMBKNKE() {
      
      bNBOHMBKNKE_ = 0;
      onChanged();
      return this;
    }

    private int status_ = 0;
    /**
     * <code>.SalesmanStatusType status = 4;</code>
     * @return The enum numeric value on the wire for status.
     */
    @java.lang.Override public int getStatusValue() {
      return status_;
    }
    /**
     * <code>.SalesmanStatusType status = 4;</code>
     * @param value The enum numeric value on the wire for status to set.
     * @return This builder for chaining.
     */
    public Builder setStatusValue(int value) {
      
      status_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>.SalesmanStatusType status = 4;</code>
     * @return The status.
     */
    @java.lang.Override
    public io.grasscutter.net.proto.define.SalesmanStatusType getStatus() {
      @SuppressWarnings("deprecation")
      io.grasscutter.net.proto.define.SalesmanStatusType result = io.grasscutter.net.proto.define.SalesmanStatusType.valueOf(status_);
      return result == null ? io.grasscutter.net.proto.define.SalesmanStatusType.UNRECOGNIZED : result;
    }
    /**
     * <code>.SalesmanStatusType status = 4;</code>
     * @param value The status to set.
     * @return This builder for chaining.
     */
    public Builder setStatus(io.grasscutter.net.proto.define.SalesmanStatusType value) {
      if (value == null) {
        throw new NullPointerException();
      }
      
      status_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     * <code>.SalesmanStatusType status = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearStatus() {
      
      status_ = 0;
      onChanged();
      return this;
    }

    private int dayIndex_ ;
    /**
     * <code>uint32 day_index = 10;</code>
     * @return The dayIndex.
     */
    @java.lang.Override
    public int getDayIndex() {
      return dayIndex_;
    }
    /**
     * <code>uint32 day_index = 10;</code>
     * @param value The dayIndex to set.
     * @return This builder for chaining.
     */
    public Builder setDayIndex(int value) {
      
      dayIndex_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 day_index = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearDayIndex() {
      
      dayIndex_ = 0;
      onChanged();
      return this;
    }

    private int lAOKDLOOJPJ_ ;
    /**
     * <code>uint32 LAOKDLOOJPJ = 5;</code>
     * @return The lAOKDLOOJPJ.
     */
    @java.lang.Override
    public int getLAOKDLOOJPJ() {
      return lAOKDLOOJPJ_;
    }
    /**
     * <code>uint32 LAOKDLOOJPJ = 5;</code>
     * @param value The lAOKDLOOJPJ to set.
     * @return This builder for chaining.
     */
    public Builder setLAOKDLOOJPJ(int value) {
      
      lAOKDLOOJPJ_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 LAOKDLOOJPJ = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearLAOKDLOOJPJ() {
      
      lAOKDLOOJPJ_ = 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:SalesmanActivityDetailInfo)
  }

  // @@protoc_insertion_point(class_scope:SalesmanActivityDetailInfo)
  private static final io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo();
  }

  public static io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  @java.lang.Override
  public io.grasscutter.net.proto.activity.SalesmanActivityDetailInfo getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

