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

package io.grasscutter.net.proto.activity;

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

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private VintageActivityDetailInfo(
      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 18: {
            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
              campStageMap_ = com.google.protobuf.MapField.newMapField(
                  CampStageMapDefaultEntryHolder.defaultEntry);
              mutable_bitField0_ |= 0x00000002;
            }
            com.google.protobuf.MapEntry<java.lang.Integer, io.grasscutter.net.proto.activity.VintageCampChallengeStageData>
            campStageMap__ = input.readMessage(
                CampStageMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
            campStageMap_.getMutableMap().put(
                campStageMap__.getKey(), campStageMap__.getValue());
            break;
          }
          case 42: {
            io.grasscutter.net.proto.activity.VintageMarketInfo.Builder subBuilder = null;
            if (marketInfo_ != null) {
              subBuilder = marketInfo_.toBuilder();
            }
            marketInfo_ = input.readMessage(io.grasscutter.net.proto.activity.VintageMarketInfo.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(marketInfo_);
              marketInfo_ = subBuilder.buildPartial();
            }

            break;
          }
          case 50: {
            io.grasscutter.net.proto.activity.VintageBoothUsedItemData.Builder subBuilder = null;
            if (boothData_ != null) {
              subBuilder = boothData_.toBuilder();
            }
            boothData_ = input.readMessage(io.grasscutter.net.proto.activity.VintageBoothUsedItemData.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(boothData_);
              boothData_ = subBuilder.buildPartial();
            }

            break;
          }
          case 58: {
            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
              huntingStageMap_ = com.google.protobuf.MapField.newMapField(
                  HuntingStageMapDefaultEntryHolder.defaultEntry);
              mutable_bitField0_ |= 0x00000004;
            }
            com.google.protobuf.MapEntry<java.lang.Integer, io.grasscutter.net.proto.activity.VintageHuntingStageData>
            huntingStageMap__ = input.readMessage(
                HuntingStageMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
            huntingStageMap_.getMutableMap().put(
                huntingStageMap__.getKey(), huntingStageMap__.getValue());
            break;
          }
          case 114: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              presentStageMap_ = com.google.protobuf.MapField.newMapField(
                  PresentStageMapDefaultEntryHolder.defaultEntry);
              mutable_bitField0_ |= 0x00000001;
            }
            com.google.protobuf.MapEntry<java.lang.Integer, io.grasscutter.net.proto.activity.VintagePresentStageData>
            presentStageMap__ = input.readMessage(
                PresentStageMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
            presentStageMap_.getMutableMap().put(
                presentStageMap__.getKey(), presentStageMap__.getValue());
            break;
          }
          case 120: {

            isContentClosed_ = input.readBool();
            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_VintageActivityDetailInfo_descriptor;
  }

  @SuppressWarnings({"rawtypes"})
  @java.lang.Override
  protected com.google.protobuf.MapField internalGetMapField(
      int number) {
    switch (number) {
      case 14:
        return internalGetPresentStageMap();
      case 2:
        return internalGetCampStageMap();
      case 7:
        return internalGetHuntingStageMap();
      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_VintageActivityDetailInfo_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.grasscutter.net.proto.activity.VintageActivityDetailInfo.class, io.grasscutter.net.proto.activity.VintageActivityDetailInfo.Builder.class);
  }

  public static final int PRESENT_STAGE_MAP_FIELD_NUMBER = 14;
  private static final class PresentStageMapDefaultEntryHolder {
    static final com.google.protobuf.MapEntry<
        java.lang.Integer, io.grasscutter.net.proto.activity.VintagePresentStageData> defaultEntry =
            com.google.protobuf.MapEntry
            .<java.lang.Integer, io.grasscutter.net.proto.activity.VintagePresentStageData>newDefaultInstance(
                io.grasscutter.net.proto.activity.Activity.internal_static_VintageActivityDetailInfo_PresentStageMapEntry_descriptor, 
                com.google.protobuf.WireFormat.FieldType.UINT32,
                0,
                com.google.protobuf.WireFormat.FieldType.MESSAGE,
                io.grasscutter.net.proto.activity.VintagePresentStageData.getDefaultInstance());
  }
  private com.google.protobuf.MapField<
      java.lang.Integer, io.grasscutter.net.proto.activity.VintagePresentStageData> presentStageMap_;
  private com.google.protobuf.MapField<java.lang.Integer, io.grasscutter.net.proto.activity.VintagePresentStageData>
  internalGetPresentStageMap() {
    if (presentStageMap_ == null) {
      return com.google.protobuf.MapField.emptyMapField(
          PresentStageMapDefaultEntryHolder.defaultEntry);
    }
    return presentStageMap_;
  }

  public int getPresentStageMapCount() {
    return internalGetPresentStageMap().getMap().size();
  }
  /**
   * <code>map&lt;uint32, .VintagePresentStageData&gt; present_stage_map = 14;</code>
   */

  @java.lang.Override
  public boolean containsPresentStageMap(
      int key) {
    
    return internalGetPresentStageMap().getMap().containsKey(key);
  }
  /**
   * Use {@link #getPresentStageMapMap()} instead.
   */
  @java.lang.Override
  @java.lang.Deprecated
  public java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintagePresentStageData> getPresentStageMap() {
    return getPresentStageMapMap();
  }
  /**
   * <code>map&lt;uint32, .VintagePresentStageData&gt; present_stage_map = 14;</code>
   */
  @java.lang.Override

  public java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintagePresentStageData> getPresentStageMapMap() {
    return internalGetPresentStageMap().getMap();
  }
  /**
   * <code>map&lt;uint32, .VintagePresentStageData&gt; present_stage_map = 14;</code>
   */
  @java.lang.Override

  public io.grasscutter.net.proto.activity.VintagePresentStageData getPresentStageMapOrDefault(
      int key,
      io.grasscutter.net.proto.activity.VintagePresentStageData defaultValue) {
    
    java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintagePresentStageData> map =
        internalGetPresentStageMap().getMap();
    return map.containsKey(key) ? map.get(key) : defaultValue;
  }
  /**
   * <code>map&lt;uint32, .VintagePresentStageData&gt; present_stage_map = 14;</code>
   */
  @java.lang.Override

  public io.grasscutter.net.proto.activity.VintagePresentStageData getPresentStageMapOrThrow(
      int key) {
    
    java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintagePresentStageData> map =
        internalGetPresentStageMap().getMap();
    if (!map.containsKey(key)) {
      throw new java.lang.IllegalArgumentException();
    }
    return map.get(key);
  }

  public static final int CAMP_STAGE_MAP_FIELD_NUMBER = 2;
  private static final class CampStageMapDefaultEntryHolder {
    static final com.google.protobuf.MapEntry<
        java.lang.Integer, io.grasscutter.net.proto.activity.VintageCampChallengeStageData> defaultEntry =
            com.google.protobuf.MapEntry
            .<java.lang.Integer, io.grasscutter.net.proto.activity.VintageCampChallengeStageData>newDefaultInstance(
                io.grasscutter.net.proto.activity.Activity.internal_static_VintageActivityDetailInfo_CampStageMapEntry_descriptor, 
                com.google.protobuf.WireFormat.FieldType.UINT32,
                0,
                com.google.protobuf.WireFormat.FieldType.MESSAGE,
                io.grasscutter.net.proto.activity.VintageCampChallengeStageData.getDefaultInstance());
  }
  private com.google.protobuf.MapField<
      java.lang.Integer, io.grasscutter.net.proto.activity.VintageCampChallengeStageData> campStageMap_;
  private com.google.protobuf.MapField<java.lang.Integer, io.grasscutter.net.proto.activity.VintageCampChallengeStageData>
  internalGetCampStageMap() {
    if (campStageMap_ == null) {
      return com.google.protobuf.MapField.emptyMapField(
          CampStageMapDefaultEntryHolder.defaultEntry);
    }
    return campStageMap_;
  }

  public int getCampStageMapCount() {
    return internalGetCampStageMap().getMap().size();
  }
  /**
   * <code>map&lt;uint32, .VintageCampChallengeStageData&gt; camp_stage_map = 2;</code>
   */

  @java.lang.Override
  public boolean containsCampStageMap(
      int key) {
    
    return internalGetCampStageMap().getMap().containsKey(key);
  }
  /**
   * Use {@link #getCampStageMapMap()} instead.
   */
  @java.lang.Override
  @java.lang.Deprecated
  public java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintageCampChallengeStageData> getCampStageMap() {
    return getCampStageMapMap();
  }
  /**
   * <code>map&lt;uint32, .VintageCampChallengeStageData&gt; camp_stage_map = 2;</code>
   */
  @java.lang.Override

  public java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintageCampChallengeStageData> getCampStageMapMap() {
    return internalGetCampStageMap().getMap();
  }
  /**
   * <code>map&lt;uint32, .VintageCampChallengeStageData&gt; camp_stage_map = 2;</code>
   */
  @java.lang.Override

  public io.grasscutter.net.proto.activity.VintageCampChallengeStageData getCampStageMapOrDefault(
      int key,
      io.grasscutter.net.proto.activity.VintageCampChallengeStageData defaultValue) {
    
    java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintageCampChallengeStageData> map =
        internalGetCampStageMap().getMap();
    return map.containsKey(key) ? map.get(key) : defaultValue;
  }
  /**
   * <code>map&lt;uint32, .VintageCampChallengeStageData&gt; camp_stage_map = 2;</code>
   */
  @java.lang.Override

  public io.grasscutter.net.proto.activity.VintageCampChallengeStageData getCampStageMapOrThrow(
      int key) {
    
    java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintageCampChallengeStageData> map =
        internalGetCampStageMap().getMap();
    if (!map.containsKey(key)) {
      throw new java.lang.IllegalArgumentException();
    }
    return map.get(key);
  }

  public static final int HUNTING_STAGE_MAP_FIELD_NUMBER = 7;
  private static final class HuntingStageMapDefaultEntryHolder {
    static final com.google.protobuf.MapEntry<
        java.lang.Integer, io.grasscutter.net.proto.activity.VintageHuntingStageData> defaultEntry =
            com.google.protobuf.MapEntry
            .<java.lang.Integer, io.grasscutter.net.proto.activity.VintageHuntingStageData>newDefaultInstance(
                io.grasscutter.net.proto.activity.Activity.internal_static_VintageActivityDetailInfo_HuntingStageMapEntry_descriptor, 
                com.google.protobuf.WireFormat.FieldType.UINT32,
                0,
                com.google.protobuf.WireFormat.FieldType.MESSAGE,
                io.grasscutter.net.proto.activity.VintageHuntingStageData.getDefaultInstance());
  }
  private com.google.protobuf.MapField<
      java.lang.Integer, io.grasscutter.net.proto.activity.VintageHuntingStageData> huntingStageMap_;
  private com.google.protobuf.MapField<java.lang.Integer, io.grasscutter.net.proto.activity.VintageHuntingStageData>
  internalGetHuntingStageMap() {
    if (huntingStageMap_ == null) {
      return com.google.protobuf.MapField.emptyMapField(
          HuntingStageMapDefaultEntryHolder.defaultEntry);
    }
    return huntingStageMap_;
  }

  public int getHuntingStageMapCount() {
    return internalGetHuntingStageMap().getMap().size();
  }
  /**
   * <code>map&lt;uint32, .VintageHuntingStageData&gt; hunting_stage_map = 7;</code>
   */

  @java.lang.Override
  public boolean containsHuntingStageMap(
      int key) {
    
    return internalGetHuntingStageMap().getMap().containsKey(key);
  }
  /**
   * Use {@link #getHuntingStageMapMap()} instead.
   */
  @java.lang.Override
  @java.lang.Deprecated
  public java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintageHuntingStageData> getHuntingStageMap() {
    return getHuntingStageMapMap();
  }
  /**
   * <code>map&lt;uint32, .VintageHuntingStageData&gt; hunting_stage_map = 7;</code>
   */
  @java.lang.Override

  public java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintageHuntingStageData> getHuntingStageMapMap() {
    return internalGetHuntingStageMap().getMap();
  }
  /**
   * <code>map&lt;uint32, .VintageHuntingStageData&gt; hunting_stage_map = 7;</code>
   */
  @java.lang.Override

  public io.grasscutter.net.proto.activity.VintageHuntingStageData getHuntingStageMapOrDefault(
      int key,
      io.grasscutter.net.proto.activity.VintageHuntingStageData defaultValue) {
    
    java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintageHuntingStageData> map =
        internalGetHuntingStageMap().getMap();
    return map.containsKey(key) ? map.get(key) : defaultValue;
  }
  /**
   * <code>map&lt;uint32, .VintageHuntingStageData&gt; hunting_stage_map = 7;</code>
   */
  @java.lang.Override

  public io.grasscutter.net.proto.activity.VintageHuntingStageData getHuntingStageMapOrThrow(
      int key) {
    
    java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintageHuntingStageData> map =
        internalGetHuntingStageMap().getMap();
    if (!map.containsKey(key)) {
      throw new java.lang.IllegalArgumentException();
    }
    return map.get(key);
  }

  public static final int BOOTH_DATA_FIELD_NUMBER = 6;
  private io.grasscutter.net.proto.activity.VintageBoothUsedItemData boothData_;
  /**
   * <code>.VintageBoothUsedItemData booth_data = 6;</code>
   * @return Whether the boothData field is set.
   */
  @java.lang.Override
  public boolean hasBoothData() {
    return boothData_ != null;
  }
  /**
   * <code>.VintageBoothUsedItemData booth_data = 6;</code>
   * @return The boothData.
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.VintageBoothUsedItemData getBoothData() {
    return boothData_ == null ? io.grasscutter.net.proto.activity.VintageBoothUsedItemData.getDefaultInstance() : boothData_;
  }
  /**
   * <code>.VintageBoothUsedItemData booth_data = 6;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.VintageBoothUsedItemDataOrBuilder getBoothDataOrBuilder() {
    return getBoothData();
  }

  public static final int MARKET_INFO_FIELD_NUMBER = 5;
  private io.grasscutter.net.proto.activity.VintageMarketInfo marketInfo_;
  /**
   * <code>.VintageMarketInfo market_info = 5;</code>
   * @return Whether the marketInfo field is set.
   */
  @java.lang.Override
  public boolean hasMarketInfo() {
    return marketInfo_ != null;
  }
  /**
   * <code>.VintageMarketInfo market_info = 5;</code>
   * @return The marketInfo.
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.VintageMarketInfo getMarketInfo() {
    return marketInfo_ == null ? io.grasscutter.net.proto.activity.VintageMarketInfo.getDefaultInstance() : marketInfo_;
  }
  /**
   * <code>.VintageMarketInfo market_info = 5;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.VintageMarketInfoOrBuilder getMarketInfoOrBuilder() {
    return getMarketInfo();
  }

  public static final int IS_CONTENT_CLOSED_FIELD_NUMBER = 15;
  private boolean isContentClosed_;
  /**
   * <code>bool is_content_closed = 15;</code>
   * @return The isContentClosed.
   */
  @java.lang.Override
  public boolean getIsContentClosed() {
    return isContentClosed_;
  }

  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 {
    com.google.protobuf.GeneratedMessageV3
      .serializeIntegerMapTo(
        output,
        internalGetCampStageMap(),
        CampStageMapDefaultEntryHolder.defaultEntry,
        2);
    if (marketInfo_ != null) {
      output.writeMessage(5, getMarketInfo());
    }
    if (boothData_ != null) {
      output.writeMessage(6, getBoothData());
    }
    com.google.protobuf.GeneratedMessageV3
      .serializeIntegerMapTo(
        output,
        internalGetHuntingStageMap(),
        HuntingStageMapDefaultEntryHolder.defaultEntry,
        7);
    com.google.protobuf.GeneratedMessageV3
      .serializeIntegerMapTo(
        output,
        internalGetPresentStageMap(),
        PresentStageMapDefaultEntryHolder.defaultEntry,
        14);
    if (isContentClosed_ != false) {
      output.writeBool(15, isContentClosed_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    for (java.util.Map.Entry<java.lang.Integer, io.grasscutter.net.proto.activity.VintageCampChallengeStageData> entry
         : internalGetCampStageMap().getMap().entrySet()) {
      com.google.protobuf.MapEntry<java.lang.Integer, io.grasscutter.net.proto.activity.VintageCampChallengeStageData>
      campStageMap__ = CampStageMapDefaultEntryHolder.defaultEntry.newBuilderForType()
          .setKey(entry.getKey())
          .setValue(entry.getValue())
          .build();
      size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, campStageMap__);
    }
    if (marketInfo_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(5, getMarketInfo());
    }
    if (boothData_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(6, getBoothData());
    }
    for (java.util.Map.Entry<java.lang.Integer, io.grasscutter.net.proto.activity.VintageHuntingStageData> entry
         : internalGetHuntingStageMap().getMap().entrySet()) {
      com.google.protobuf.MapEntry<java.lang.Integer, io.grasscutter.net.proto.activity.VintageHuntingStageData>
      huntingStageMap__ = HuntingStageMapDefaultEntryHolder.defaultEntry.newBuilderForType()
          .setKey(entry.getKey())
          .setValue(entry.getValue())
          .build();
      size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(7, huntingStageMap__);
    }
    for (java.util.Map.Entry<java.lang.Integer, io.grasscutter.net.proto.activity.VintagePresentStageData> entry
         : internalGetPresentStageMap().getMap().entrySet()) {
      com.google.protobuf.MapEntry<java.lang.Integer, io.grasscutter.net.proto.activity.VintagePresentStageData>
      presentStageMap__ = PresentStageMapDefaultEntryHolder.defaultEntry.newBuilderForType()
          .setKey(entry.getKey())
          .setValue(entry.getValue())
          .build();
      size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(14, presentStageMap__);
    }
    if (isContentClosed_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(15, isContentClosed_);
    }
    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.VintageActivityDetailInfo)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.activity.VintageActivityDetailInfo other = (io.grasscutter.net.proto.activity.VintageActivityDetailInfo) obj;

    if (!internalGetPresentStageMap().equals(
        other.internalGetPresentStageMap())) return false;
    if (!internalGetCampStageMap().equals(
        other.internalGetCampStageMap())) return false;
    if (!internalGetHuntingStageMap().equals(
        other.internalGetHuntingStageMap())) return false;
    if (hasBoothData() != other.hasBoothData()) return false;
    if (hasBoothData()) {
      if (!getBoothData()
          .equals(other.getBoothData())) return false;
    }
    if (hasMarketInfo() != other.hasMarketInfo()) return false;
    if (hasMarketInfo()) {
      if (!getMarketInfo()
          .equals(other.getMarketInfo())) return false;
    }
    if (getIsContentClosed()
        != other.getIsContentClosed()) 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 (!internalGetPresentStageMap().getMap().isEmpty()) {
      hash = (37 * hash) + PRESENT_STAGE_MAP_FIELD_NUMBER;
      hash = (53 * hash) + internalGetPresentStageMap().hashCode();
    }
    if (!internalGetCampStageMap().getMap().isEmpty()) {
      hash = (37 * hash) + CAMP_STAGE_MAP_FIELD_NUMBER;
      hash = (53 * hash) + internalGetCampStageMap().hashCode();
    }
    if (!internalGetHuntingStageMap().getMap().isEmpty()) {
      hash = (37 * hash) + HUNTING_STAGE_MAP_FIELD_NUMBER;
      hash = (53 * hash) + internalGetHuntingStageMap().hashCode();
    }
    if (hasBoothData()) {
      hash = (37 * hash) + BOOTH_DATA_FIELD_NUMBER;
      hash = (53 * hash) + getBoothData().hashCode();
    }
    if (hasMarketInfo()) {
      hash = (37 * hash) + MARKET_INFO_FIELD_NUMBER;
      hash = (53 * hash) + getMarketInfo().hashCode();
    }
    hash = (37 * hash) + IS_CONTENT_CLOSED_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getIsContentClosed());
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

    @SuppressWarnings({"rawtypes"})
    protected com.google.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 14:
          return internalGetPresentStageMap();
        case 2:
          return internalGetCampStageMap();
        case 7:
          return internalGetHuntingStageMap();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @SuppressWarnings({"rawtypes"})
    protected com.google.protobuf.MapField internalGetMutableMapField(
        int number) {
      switch (number) {
        case 14:
          return internalGetMutablePresentStageMap();
        case 2:
          return internalGetMutableCampStageMap();
        case 7:
          return internalGetMutableHuntingStageMap();
        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_VintageActivityDetailInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.grasscutter.net.proto.activity.VintageActivityDetailInfo.class, io.grasscutter.net.proto.activity.VintageActivityDetailInfo.Builder.class);
    }

    // Construct using io.grasscutter.net.proto.activity.VintageActivityDetailInfo.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();
      internalGetMutablePresentStageMap().clear();
      internalGetMutableCampStageMap().clear();
      internalGetMutableHuntingStageMap().clear();
      if (boothDataBuilder_ == null) {
        boothData_ = null;
      } else {
        boothData_ = null;
        boothDataBuilder_ = null;
      }
      if (marketInfoBuilder_ == null) {
        marketInfo_ = null;
      } else {
        marketInfo_ = null;
        marketInfoBuilder_ = null;
      }
      isContentClosed_ = false;

      return this;
    }

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

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

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

    @java.lang.Override
    public io.grasscutter.net.proto.activity.VintageActivityDetailInfo buildPartial() {
      io.grasscutter.net.proto.activity.VintageActivityDetailInfo result = new io.grasscutter.net.proto.activity.VintageActivityDetailInfo(this);
      int from_bitField0_ = bitField0_;
      result.presentStageMap_ = internalGetPresentStageMap();
      result.presentStageMap_.makeImmutable();
      result.campStageMap_ = internalGetCampStageMap();
      result.campStageMap_.makeImmutable();
      result.huntingStageMap_ = internalGetHuntingStageMap();
      result.huntingStageMap_.makeImmutable();
      if (boothDataBuilder_ == null) {
        result.boothData_ = boothData_;
      } else {
        result.boothData_ = boothDataBuilder_.build();
      }
      if (marketInfoBuilder_ == null) {
        result.marketInfo_ = marketInfo_;
      } else {
        result.marketInfo_ = marketInfoBuilder_.build();
      }
      result.isContentClosed_ = isContentClosed_;
      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.VintageActivityDetailInfo) {
        return mergeFrom((io.grasscutter.net.proto.activity.VintageActivityDetailInfo)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.activity.VintageActivityDetailInfo other) {
      if (other == io.grasscutter.net.proto.activity.VintageActivityDetailInfo.getDefaultInstance()) return this;
      internalGetMutablePresentStageMap().mergeFrom(
          other.internalGetPresentStageMap());
      internalGetMutableCampStageMap().mergeFrom(
          other.internalGetCampStageMap());
      internalGetMutableHuntingStageMap().mergeFrom(
          other.internalGetHuntingStageMap());
      if (other.hasBoothData()) {
        mergeBoothData(other.getBoothData());
      }
      if (other.hasMarketInfo()) {
        mergeMarketInfo(other.getMarketInfo());
      }
      if (other.getIsContentClosed() != false) {
        setIsContentClosed(other.getIsContentClosed());
      }
      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.VintageActivityDetailInfo parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.activity.VintageActivityDetailInfo) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private com.google.protobuf.MapField<
        java.lang.Integer, io.grasscutter.net.proto.activity.VintagePresentStageData> presentStageMap_;
    private com.google.protobuf.MapField<java.lang.Integer, io.grasscutter.net.proto.activity.VintagePresentStageData>
    internalGetPresentStageMap() {
      if (presentStageMap_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            PresentStageMapDefaultEntryHolder.defaultEntry);
      }
      return presentStageMap_;
    }
    private com.google.protobuf.MapField<java.lang.Integer, io.grasscutter.net.proto.activity.VintagePresentStageData>
    internalGetMutablePresentStageMap() {
      onChanged();;
      if (presentStageMap_ == null) {
        presentStageMap_ = com.google.protobuf.MapField.newMapField(
            PresentStageMapDefaultEntryHolder.defaultEntry);
      }
      if (!presentStageMap_.isMutable()) {
        presentStageMap_ = presentStageMap_.copy();
      }
      return presentStageMap_;
    }

    public int getPresentStageMapCount() {
      return internalGetPresentStageMap().getMap().size();
    }
    /**
     * <code>map&lt;uint32, .VintagePresentStageData&gt; present_stage_map = 14;</code>
     */

    @java.lang.Override
    public boolean containsPresentStageMap(
        int key) {
      
      return internalGetPresentStageMap().getMap().containsKey(key);
    }
    /**
     * Use {@link #getPresentStageMapMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintagePresentStageData> getPresentStageMap() {
      return getPresentStageMapMap();
    }
    /**
     * <code>map&lt;uint32, .VintagePresentStageData&gt; present_stage_map = 14;</code>
     */
    @java.lang.Override

    public java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintagePresentStageData> getPresentStageMapMap() {
      return internalGetPresentStageMap().getMap();
    }
    /**
     * <code>map&lt;uint32, .VintagePresentStageData&gt; present_stage_map = 14;</code>
     */
    @java.lang.Override

    public io.grasscutter.net.proto.activity.VintagePresentStageData getPresentStageMapOrDefault(
        int key,
        io.grasscutter.net.proto.activity.VintagePresentStageData defaultValue) {
      
      java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintagePresentStageData> map =
          internalGetPresentStageMap().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <code>map&lt;uint32, .VintagePresentStageData&gt; present_stage_map = 14;</code>
     */
    @java.lang.Override

    public io.grasscutter.net.proto.activity.VintagePresentStageData getPresentStageMapOrThrow(
        int key) {
      
      java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintagePresentStageData> map =
          internalGetPresentStageMap().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }

    public Builder clearPresentStageMap() {
      internalGetMutablePresentStageMap().getMutableMap()
          .clear();
      return this;
    }
    /**
     * <code>map&lt;uint32, .VintagePresentStageData&gt; present_stage_map = 14;</code>
     */

    public Builder removePresentStageMap(
        int key) {
      
      internalGetMutablePresentStageMap().getMutableMap()
          .remove(key);
      return this;
    }
    /**
     * Use alternate mutation accessors instead.
     */
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintagePresentStageData>
    getMutablePresentStageMap() {
      return internalGetMutablePresentStageMap().getMutableMap();
    }
    /**
     * <code>map&lt;uint32, .VintagePresentStageData&gt; present_stage_map = 14;</code>
     */
    public Builder putPresentStageMap(
        int key,
        io.grasscutter.net.proto.activity.VintagePresentStageData value) {
      
      if (value == null) { throw new java.lang.NullPointerException(); }
      internalGetMutablePresentStageMap().getMutableMap()
          .put(key, value);
      return this;
    }
    /**
     * <code>map&lt;uint32, .VintagePresentStageData&gt; present_stage_map = 14;</code>
     */

    public Builder putAllPresentStageMap(
        java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintagePresentStageData> values) {
      internalGetMutablePresentStageMap().getMutableMap()
          .putAll(values);
      return this;
    }

    private com.google.protobuf.MapField<
        java.lang.Integer, io.grasscutter.net.proto.activity.VintageCampChallengeStageData> campStageMap_;
    private com.google.protobuf.MapField<java.lang.Integer, io.grasscutter.net.proto.activity.VintageCampChallengeStageData>
    internalGetCampStageMap() {
      if (campStageMap_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            CampStageMapDefaultEntryHolder.defaultEntry);
      }
      return campStageMap_;
    }
    private com.google.protobuf.MapField<java.lang.Integer, io.grasscutter.net.proto.activity.VintageCampChallengeStageData>
    internalGetMutableCampStageMap() {
      onChanged();;
      if (campStageMap_ == null) {
        campStageMap_ = com.google.protobuf.MapField.newMapField(
            CampStageMapDefaultEntryHolder.defaultEntry);
      }
      if (!campStageMap_.isMutable()) {
        campStageMap_ = campStageMap_.copy();
      }
      return campStageMap_;
    }

    public int getCampStageMapCount() {
      return internalGetCampStageMap().getMap().size();
    }
    /**
     * <code>map&lt;uint32, .VintageCampChallengeStageData&gt; camp_stage_map = 2;</code>
     */

    @java.lang.Override
    public boolean containsCampStageMap(
        int key) {
      
      return internalGetCampStageMap().getMap().containsKey(key);
    }
    /**
     * Use {@link #getCampStageMapMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintageCampChallengeStageData> getCampStageMap() {
      return getCampStageMapMap();
    }
    /**
     * <code>map&lt;uint32, .VintageCampChallengeStageData&gt; camp_stage_map = 2;</code>
     */
    @java.lang.Override

    public java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintageCampChallengeStageData> getCampStageMapMap() {
      return internalGetCampStageMap().getMap();
    }
    /**
     * <code>map&lt;uint32, .VintageCampChallengeStageData&gt; camp_stage_map = 2;</code>
     */
    @java.lang.Override

    public io.grasscutter.net.proto.activity.VintageCampChallengeStageData getCampStageMapOrDefault(
        int key,
        io.grasscutter.net.proto.activity.VintageCampChallengeStageData defaultValue) {
      
      java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintageCampChallengeStageData> map =
          internalGetCampStageMap().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <code>map&lt;uint32, .VintageCampChallengeStageData&gt; camp_stage_map = 2;</code>
     */
    @java.lang.Override

    public io.grasscutter.net.proto.activity.VintageCampChallengeStageData getCampStageMapOrThrow(
        int key) {
      
      java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintageCampChallengeStageData> map =
          internalGetCampStageMap().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }

    public Builder clearCampStageMap() {
      internalGetMutableCampStageMap().getMutableMap()
          .clear();
      return this;
    }
    /**
     * <code>map&lt;uint32, .VintageCampChallengeStageData&gt; camp_stage_map = 2;</code>
     */

    public Builder removeCampStageMap(
        int key) {
      
      internalGetMutableCampStageMap().getMutableMap()
          .remove(key);
      return this;
    }
    /**
     * Use alternate mutation accessors instead.
     */
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintageCampChallengeStageData>
    getMutableCampStageMap() {
      return internalGetMutableCampStageMap().getMutableMap();
    }
    /**
     * <code>map&lt;uint32, .VintageCampChallengeStageData&gt; camp_stage_map = 2;</code>
     */
    public Builder putCampStageMap(
        int key,
        io.grasscutter.net.proto.activity.VintageCampChallengeStageData value) {
      
      if (value == null) { throw new java.lang.NullPointerException(); }
      internalGetMutableCampStageMap().getMutableMap()
          .put(key, value);
      return this;
    }
    /**
     * <code>map&lt;uint32, .VintageCampChallengeStageData&gt; camp_stage_map = 2;</code>
     */

    public Builder putAllCampStageMap(
        java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintageCampChallengeStageData> values) {
      internalGetMutableCampStageMap().getMutableMap()
          .putAll(values);
      return this;
    }

    private com.google.protobuf.MapField<
        java.lang.Integer, io.grasscutter.net.proto.activity.VintageHuntingStageData> huntingStageMap_;
    private com.google.protobuf.MapField<java.lang.Integer, io.grasscutter.net.proto.activity.VintageHuntingStageData>
    internalGetHuntingStageMap() {
      if (huntingStageMap_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            HuntingStageMapDefaultEntryHolder.defaultEntry);
      }
      return huntingStageMap_;
    }
    private com.google.protobuf.MapField<java.lang.Integer, io.grasscutter.net.proto.activity.VintageHuntingStageData>
    internalGetMutableHuntingStageMap() {
      onChanged();;
      if (huntingStageMap_ == null) {
        huntingStageMap_ = com.google.protobuf.MapField.newMapField(
            HuntingStageMapDefaultEntryHolder.defaultEntry);
      }
      if (!huntingStageMap_.isMutable()) {
        huntingStageMap_ = huntingStageMap_.copy();
      }
      return huntingStageMap_;
    }

    public int getHuntingStageMapCount() {
      return internalGetHuntingStageMap().getMap().size();
    }
    /**
     * <code>map&lt;uint32, .VintageHuntingStageData&gt; hunting_stage_map = 7;</code>
     */

    @java.lang.Override
    public boolean containsHuntingStageMap(
        int key) {
      
      return internalGetHuntingStageMap().getMap().containsKey(key);
    }
    /**
     * Use {@link #getHuntingStageMapMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintageHuntingStageData> getHuntingStageMap() {
      return getHuntingStageMapMap();
    }
    /**
     * <code>map&lt;uint32, .VintageHuntingStageData&gt; hunting_stage_map = 7;</code>
     */
    @java.lang.Override

    public java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintageHuntingStageData> getHuntingStageMapMap() {
      return internalGetHuntingStageMap().getMap();
    }
    /**
     * <code>map&lt;uint32, .VintageHuntingStageData&gt; hunting_stage_map = 7;</code>
     */
    @java.lang.Override

    public io.grasscutter.net.proto.activity.VintageHuntingStageData getHuntingStageMapOrDefault(
        int key,
        io.grasscutter.net.proto.activity.VintageHuntingStageData defaultValue) {
      
      java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintageHuntingStageData> map =
          internalGetHuntingStageMap().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <code>map&lt;uint32, .VintageHuntingStageData&gt; hunting_stage_map = 7;</code>
     */
    @java.lang.Override

    public io.grasscutter.net.proto.activity.VintageHuntingStageData getHuntingStageMapOrThrow(
        int key) {
      
      java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintageHuntingStageData> map =
          internalGetHuntingStageMap().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }

    public Builder clearHuntingStageMap() {
      internalGetMutableHuntingStageMap().getMutableMap()
          .clear();
      return this;
    }
    /**
     * <code>map&lt;uint32, .VintageHuntingStageData&gt; hunting_stage_map = 7;</code>
     */

    public Builder removeHuntingStageMap(
        int key) {
      
      internalGetMutableHuntingStageMap().getMutableMap()
          .remove(key);
      return this;
    }
    /**
     * Use alternate mutation accessors instead.
     */
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintageHuntingStageData>
    getMutableHuntingStageMap() {
      return internalGetMutableHuntingStageMap().getMutableMap();
    }
    /**
     * <code>map&lt;uint32, .VintageHuntingStageData&gt; hunting_stage_map = 7;</code>
     */
    public Builder putHuntingStageMap(
        int key,
        io.grasscutter.net.proto.activity.VintageHuntingStageData value) {
      
      if (value == null) { throw new java.lang.NullPointerException(); }
      internalGetMutableHuntingStageMap().getMutableMap()
          .put(key, value);
      return this;
    }
    /**
     * <code>map&lt;uint32, .VintageHuntingStageData&gt; hunting_stage_map = 7;</code>
     */

    public Builder putAllHuntingStageMap(
        java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.VintageHuntingStageData> values) {
      internalGetMutableHuntingStageMap().getMutableMap()
          .putAll(values);
      return this;
    }

    private io.grasscutter.net.proto.activity.VintageBoothUsedItemData boothData_;
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.activity.VintageBoothUsedItemData, io.grasscutter.net.proto.activity.VintageBoothUsedItemData.Builder, io.grasscutter.net.proto.activity.VintageBoothUsedItemDataOrBuilder> boothDataBuilder_;
    /**
     * <code>.VintageBoothUsedItemData booth_data = 6;</code>
     * @return Whether the boothData field is set.
     */
    public boolean hasBoothData() {
      return boothDataBuilder_ != null || boothData_ != null;
    }
    /**
     * <code>.VintageBoothUsedItemData booth_data = 6;</code>
     * @return The boothData.
     */
    public io.grasscutter.net.proto.activity.VintageBoothUsedItemData getBoothData() {
      if (boothDataBuilder_ == null) {
        return boothData_ == null ? io.grasscutter.net.proto.activity.VintageBoothUsedItemData.getDefaultInstance() : boothData_;
      } else {
        return boothDataBuilder_.getMessage();
      }
    }
    /**
     * <code>.VintageBoothUsedItemData booth_data = 6;</code>
     */
    public Builder setBoothData(io.grasscutter.net.proto.activity.VintageBoothUsedItemData value) {
      if (boothDataBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        boothData_ = value;
        onChanged();
      } else {
        boothDataBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * <code>.VintageBoothUsedItemData booth_data = 6;</code>
     */
    public Builder setBoothData(
        io.grasscutter.net.proto.activity.VintageBoothUsedItemData.Builder builderForValue) {
      if (boothDataBuilder_ == null) {
        boothData_ = builderForValue.build();
        onChanged();
      } else {
        boothDataBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * <code>.VintageBoothUsedItemData booth_data = 6;</code>
     */
    public Builder mergeBoothData(io.grasscutter.net.proto.activity.VintageBoothUsedItemData value) {
      if (boothDataBuilder_ == null) {
        if (boothData_ != null) {
          boothData_ =
            io.grasscutter.net.proto.activity.VintageBoothUsedItemData.newBuilder(boothData_).mergeFrom(value).buildPartial();
        } else {
          boothData_ = value;
        }
        onChanged();
      } else {
        boothDataBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * <code>.VintageBoothUsedItemData booth_data = 6;</code>
     */
    public Builder clearBoothData() {
      if (boothDataBuilder_ == null) {
        boothData_ = null;
        onChanged();
      } else {
        boothData_ = null;
        boothDataBuilder_ = null;
      }

      return this;
    }
    /**
     * <code>.VintageBoothUsedItemData booth_data = 6;</code>
     */
    public io.grasscutter.net.proto.activity.VintageBoothUsedItemData.Builder getBoothDataBuilder() {
      
      onChanged();
      return getBoothDataFieldBuilder().getBuilder();
    }
    /**
     * <code>.VintageBoothUsedItemData booth_data = 6;</code>
     */
    public io.grasscutter.net.proto.activity.VintageBoothUsedItemDataOrBuilder getBoothDataOrBuilder() {
      if (boothDataBuilder_ != null) {
        return boothDataBuilder_.getMessageOrBuilder();
      } else {
        return boothData_ == null ?
            io.grasscutter.net.proto.activity.VintageBoothUsedItemData.getDefaultInstance() : boothData_;
      }
    }
    /**
     * <code>.VintageBoothUsedItemData booth_data = 6;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.activity.VintageBoothUsedItemData, io.grasscutter.net.proto.activity.VintageBoothUsedItemData.Builder, io.grasscutter.net.proto.activity.VintageBoothUsedItemDataOrBuilder> 
        getBoothDataFieldBuilder() {
      if (boothDataBuilder_ == null) {
        boothDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            io.grasscutter.net.proto.activity.VintageBoothUsedItemData, io.grasscutter.net.proto.activity.VintageBoothUsedItemData.Builder, io.grasscutter.net.proto.activity.VintageBoothUsedItemDataOrBuilder>(
                getBoothData(),
                getParentForChildren(),
                isClean());
        boothData_ = null;
      }
      return boothDataBuilder_;
    }

    private io.grasscutter.net.proto.activity.VintageMarketInfo marketInfo_;
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.activity.VintageMarketInfo, io.grasscutter.net.proto.activity.VintageMarketInfo.Builder, io.grasscutter.net.proto.activity.VintageMarketInfoOrBuilder> marketInfoBuilder_;
    /**
     * <code>.VintageMarketInfo market_info = 5;</code>
     * @return Whether the marketInfo field is set.
     */
    public boolean hasMarketInfo() {
      return marketInfoBuilder_ != null || marketInfo_ != null;
    }
    /**
     * <code>.VintageMarketInfo market_info = 5;</code>
     * @return The marketInfo.
     */
    public io.grasscutter.net.proto.activity.VintageMarketInfo getMarketInfo() {
      if (marketInfoBuilder_ == null) {
        return marketInfo_ == null ? io.grasscutter.net.proto.activity.VintageMarketInfo.getDefaultInstance() : marketInfo_;
      } else {
        return marketInfoBuilder_.getMessage();
      }
    }
    /**
     * <code>.VintageMarketInfo market_info = 5;</code>
     */
    public Builder setMarketInfo(io.grasscutter.net.proto.activity.VintageMarketInfo value) {
      if (marketInfoBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        marketInfo_ = value;
        onChanged();
      } else {
        marketInfoBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * <code>.VintageMarketInfo market_info = 5;</code>
     */
    public Builder setMarketInfo(
        io.grasscutter.net.proto.activity.VintageMarketInfo.Builder builderForValue) {
      if (marketInfoBuilder_ == null) {
        marketInfo_ = builderForValue.build();
        onChanged();
      } else {
        marketInfoBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * <code>.VintageMarketInfo market_info = 5;</code>
     */
    public Builder mergeMarketInfo(io.grasscutter.net.proto.activity.VintageMarketInfo value) {
      if (marketInfoBuilder_ == null) {
        if (marketInfo_ != null) {
          marketInfo_ =
            io.grasscutter.net.proto.activity.VintageMarketInfo.newBuilder(marketInfo_).mergeFrom(value).buildPartial();
        } else {
          marketInfo_ = value;
        }
        onChanged();
      } else {
        marketInfoBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * <code>.VintageMarketInfo market_info = 5;</code>
     */
    public Builder clearMarketInfo() {
      if (marketInfoBuilder_ == null) {
        marketInfo_ = null;
        onChanged();
      } else {
        marketInfo_ = null;
        marketInfoBuilder_ = null;
      }

      return this;
    }
    /**
     * <code>.VintageMarketInfo market_info = 5;</code>
     */
    public io.grasscutter.net.proto.activity.VintageMarketInfo.Builder getMarketInfoBuilder() {
      
      onChanged();
      return getMarketInfoFieldBuilder().getBuilder();
    }
    /**
     * <code>.VintageMarketInfo market_info = 5;</code>
     */
    public io.grasscutter.net.proto.activity.VintageMarketInfoOrBuilder getMarketInfoOrBuilder() {
      if (marketInfoBuilder_ != null) {
        return marketInfoBuilder_.getMessageOrBuilder();
      } else {
        return marketInfo_ == null ?
            io.grasscutter.net.proto.activity.VintageMarketInfo.getDefaultInstance() : marketInfo_;
      }
    }
    /**
     * <code>.VintageMarketInfo market_info = 5;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.activity.VintageMarketInfo, io.grasscutter.net.proto.activity.VintageMarketInfo.Builder, io.grasscutter.net.proto.activity.VintageMarketInfoOrBuilder> 
        getMarketInfoFieldBuilder() {
      if (marketInfoBuilder_ == null) {
        marketInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            io.grasscutter.net.proto.activity.VintageMarketInfo, io.grasscutter.net.proto.activity.VintageMarketInfo.Builder, io.grasscutter.net.proto.activity.VintageMarketInfoOrBuilder>(
                getMarketInfo(),
                getParentForChildren(),
                isClean());
        marketInfo_ = null;
      }
      return marketInfoBuilder_;
    }

    private boolean isContentClosed_ ;
    /**
     * <code>bool is_content_closed = 15;</code>
     * @return The isContentClosed.
     */
    @java.lang.Override
    public boolean getIsContentClosed() {
      return isContentClosed_;
    }
    /**
     * <code>bool is_content_closed = 15;</code>
     * @param value The isContentClosed to set.
     * @return This builder for chaining.
     */
    public Builder setIsContentClosed(boolean value) {
      
      isContentClosed_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool is_content_closed = 15;</code>
     * @return This builder for chaining.
     */
    public Builder clearIsContentClosed() {
      
      isContentClosed_ = false;
      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:VintageActivityDetailInfo)
  }

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

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

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

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

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

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

}

