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

package io.grasscutter.net.proto.activity;

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

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

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

            aPPIGJMKEGG_ = input.readUInt32();
            break;
          }
          case 16: {

            hGBBGLKPLFI_ = input.readUInt32();
            break;
          }
          case 40: {

            contentCloseTime_ = input.readUInt32();
            break;
          }
          case 48: {

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

            isActivated_ = input.readBool();
            break;
          }
          case 82: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              picNumMap_ = com.google.protobuf.MapField.newMapField(
                  PicNumMapDefaultEntryHolder.defaultEntry);
              mutable_bitField0_ |= 0x00000001;
            }
            com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
            picNumMap__ = input.readMessage(
                PicNumMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
            picNumMap_.getMutableMap().put(
                picNumMap__.getKey(), picNumMap__.getValue());
            break;
          }
          case 88: {

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

            fBEJHLODCFN_ = 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_BlessingActivityDetailInfo_descriptor;
  }

  @SuppressWarnings({"rawtypes"})
  @java.lang.Override
  protected com.google.protobuf.MapField internalGetMapField(
      int number) {
    switch (number) {
      case 10:
        return internalGetPicNumMap();
      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_BlessingActivityDetailInfo_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.grasscutter.net.proto.activity.BlessingActivityDetailInfo.class, io.grasscutter.net.proto.activity.BlessingActivityDetailInfo.Builder.class);
  }

  public static final int PIC_NUM_MAP_FIELD_NUMBER = 10;
  private static final class PicNumMapDefaultEntryHolder {
    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_BlessingActivityDetailInfo_PicNumMapEntry_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> picNumMap_;
  private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
  internalGetPicNumMap() {
    if (picNumMap_ == null) {
      return com.google.protobuf.MapField.emptyMapField(
          PicNumMapDefaultEntryHolder.defaultEntry);
    }
    return picNumMap_;
  }

  public int getPicNumMapCount() {
    return internalGetPicNumMap().getMap().size();
  }
  /**
   * <code>map&lt;uint32, uint32&gt; pic_num_map = 10;</code>
   */

  @java.lang.Override
  public boolean containsPicNumMap(
      int key) {
    
    return internalGetPicNumMap().getMap().containsKey(key);
  }
  /**
   * Use {@link #getPicNumMapMap()} instead.
   */
  @java.lang.Override
  @java.lang.Deprecated
  public java.util.Map<java.lang.Integer, java.lang.Integer> getPicNumMap() {
    return getPicNumMapMap();
  }
  /**
   * <code>map&lt;uint32, uint32&gt; pic_num_map = 10;</code>
   */
  @java.lang.Override

  public java.util.Map<java.lang.Integer, java.lang.Integer> getPicNumMapMap() {
    return internalGetPicNumMap().getMap();
  }
  /**
   * <code>map&lt;uint32, uint32&gt; pic_num_map = 10;</code>
   */
  @java.lang.Override

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

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

  public static final int HGBBGLKPLFI_FIELD_NUMBER = 2;
  private int hGBBGLKPLFI_;
  /**
   * <code>uint32 HGBBGLKPLFI = 2;</code>
   * @return The hGBBGLKPLFI.
   */
  @java.lang.Override
  public int getHGBBGLKPLFI() {
    return hGBBGLKPLFI_;
  }

  public static final int APPIGJMKEGG_FIELD_NUMBER = 1;
  private int aPPIGJMKEGG_;
  /**
   * <code>uint32 APPIGJMKEGG = 1;</code>
   * @return The aPPIGJMKEGG.
   */
  @java.lang.Override
  public int getAPPIGJMKEGG() {
    return aPPIGJMKEGG_;
  }

  public static final int IS_ACTIVATED_FIELD_NUMBER = 9;
  private boolean isActivated_;
  /**
   * <code>bool is_activated = 9;</code>
   * @return The isActivated.
   */
  @java.lang.Override
  public boolean getIsActivated() {
    return isActivated_;
  }

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

  public static final int CONTENT_CLOSE_TIME_FIELD_NUMBER = 5;
  private int contentCloseTime_;
  /**
   * <code>uint32 content_close_time = 5;</code>
   * @return The contentCloseTime.
   */
  @java.lang.Override
  public int getContentCloseTime() {
    return contentCloseTime_;
  }

  public static final int EMNEIHDPFPM_FIELD_NUMBER = 6;
  private int eMNEIHDPFPM_;
  /**
   * <code>uint32 EMNEIHDPFPM = 6;</code>
   * @return The eMNEIHDPFPM.
   */
  @java.lang.Override
  public int getEMNEIHDPFPM() {
    return eMNEIHDPFPM_;
  }

  public static final int FBEJHLODCFN_FIELD_NUMBER = 13;
  private int fBEJHLODCFN_;
  /**
   * <code>uint32 FBEJHLODCFN = 13;</code>
   * @return The fBEJHLODCFN.
   */
  @java.lang.Override
  public int getFBEJHLODCFN() {
    return fBEJHLODCFN_;
  }

  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 (aPPIGJMKEGG_ != 0) {
      output.writeUInt32(1, aPPIGJMKEGG_);
    }
    if (hGBBGLKPLFI_ != 0) {
      output.writeUInt32(2, hGBBGLKPLFI_);
    }
    if (contentCloseTime_ != 0) {
      output.writeUInt32(5, contentCloseTime_);
    }
    if (eMNEIHDPFPM_ != 0) {
      output.writeUInt32(6, eMNEIHDPFPM_);
    }
    if (isActivated_ != false) {
      output.writeBool(9, isActivated_);
    }
    com.google.protobuf.GeneratedMessageV3
      .serializeIntegerMapTo(
        output,
        internalGetPicNumMap(),
        PicNumMapDefaultEntryHolder.defaultEntry,
        10);
    if (isContentClosed_ != false) {
      output.writeBool(11, isContentClosed_);
    }
    if (fBEJHLODCFN_ != 0) {
      output.writeUInt32(13, fBEJHLODCFN_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (aPPIGJMKEGG_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(1, aPPIGJMKEGG_);
    }
    if (hGBBGLKPLFI_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(2, hGBBGLKPLFI_);
    }
    if (contentCloseTime_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(5, contentCloseTime_);
    }
    if (eMNEIHDPFPM_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(6, eMNEIHDPFPM_);
    }
    if (isActivated_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(9, isActivated_);
    }
    for (java.util.Map.Entry<java.lang.Integer, java.lang.Integer> entry
         : internalGetPicNumMap().getMap().entrySet()) {
      com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
      picNumMap__ = PicNumMapDefaultEntryHolder.defaultEntry.newBuilderForType()
          .setKey(entry.getKey())
          .setValue(entry.getValue())
          .build();
      size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(10, picNumMap__);
    }
    if (isContentClosed_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(11, isContentClosed_);
    }
    if (fBEJHLODCFN_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(13, fBEJHLODCFN_);
    }
    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.BlessingActivityDetailInfo)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.activity.BlessingActivityDetailInfo other = (io.grasscutter.net.proto.activity.BlessingActivityDetailInfo) obj;

    if (!internalGetPicNumMap().equals(
        other.internalGetPicNumMap())) return false;
    if (getHGBBGLKPLFI()
        != other.getHGBBGLKPLFI()) return false;
    if (getAPPIGJMKEGG()
        != other.getAPPIGJMKEGG()) return false;
    if (getIsActivated()
        != other.getIsActivated()) return false;
    if (getIsContentClosed()
        != other.getIsContentClosed()) return false;
    if (getContentCloseTime()
        != other.getContentCloseTime()) return false;
    if (getEMNEIHDPFPM()
        != other.getEMNEIHDPFPM()) return false;
    if (getFBEJHLODCFN()
        != other.getFBEJHLODCFN()) 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 (!internalGetPicNumMap().getMap().isEmpty()) {
      hash = (37 * hash) + PIC_NUM_MAP_FIELD_NUMBER;
      hash = (53 * hash) + internalGetPicNumMap().hashCode();
    }
    hash = (37 * hash) + HGBBGLKPLFI_FIELD_NUMBER;
    hash = (53 * hash) + getHGBBGLKPLFI();
    hash = (37 * hash) + APPIGJMKEGG_FIELD_NUMBER;
    hash = (53 * hash) + getAPPIGJMKEGG();
    hash = (37 * hash) + IS_ACTIVATED_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getIsActivated());
    hash = (37 * hash) + IS_CONTENT_CLOSED_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getIsContentClosed());
    hash = (37 * hash) + CONTENT_CLOSE_TIME_FIELD_NUMBER;
    hash = (53 * hash) + getContentCloseTime();
    hash = (37 * hash) + EMNEIHDPFPM_FIELD_NUMBER;
    hash = (53 * hash) + getEMNEIHDPFPM();
    hash = (37 * hash) + FBEJHLODCFN_FIELD_NUMBER;
    hash = (53 * hash) + getFBEJHLODCFN();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

    @SuppressWarnings({"rawtypes"})
    protected com.google.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 10:
          return internalGetPicNumMap();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @SuppressWarnings({"rawtypes"})
    protected com.google.protobuf.MapField internalGetMutableMapField(
        int number) {
      switch (number) {
        case 10:
          return internalGetMutablePicNumMap();
        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_BlessingActivityDetailInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.grasscutter.net.proto.activity.BlessingActivityDetailInfo.class, io.grasscutter.net.proto.activity.BlessingActivityDetailInfo.Builder.class);
    }

    // Construct using io.grasscutter.net.proto.activity.BlessingActivityDetailInfo.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();
      internalGetMutablePicNumMap().clear();
      hGBBGLKPLFI_ = 0;

      aPPIGJMKEGG_ = 0;

      isActivated_ = false;

      isContentClosed_ = false;

      contentCloseTime_ = 0;

      eMNEIHDPFPM_ = 0;

      fBEJHLODCFN_ = 0;

      return this;
    }

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

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

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

    @java.lang.Override
    public io.grasscutter.net.proto.activity.BlessingActivityDetailInfo buildPartial() {
      io.grasscutter.net.proto.activity.BlessingActivityDetailInfo result = new io.grasscutter.net.proto.activity.BlessingActivityDetailInfo(this);
      int from_bitField0_ = bitField0_;
      result.picNumMap_ = internalGetPicNumMap();
      result.picNumMap_.makeImmutable();
      result.hGBBGLKPLFI_ = hGBBGLKPLFI_;
      result.aPPIGJMKEGG_ = aPPIGJMKEGG_;
      result.isActivated_ = isActivated_;
      result.isContentClosed_ = isContentClosed_;
      result.contentCloseTime_ = contentCloseTime_;
      result.eMNEIHDPFPM_ = eMNEIHDPFPM_;
      result.fBEJHLODCFN_ = fBEJHLODCFN_;
      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.BlessingActivityDetailInfo) {
        return mergeFrom((io.grasscutter.net.proto.activity.BlessingActivityDetailInfo)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.activity.BlessingActivityDetailInfo other) {
      if (other == io.grasscutter.net.proto.activity.BlessingActivityDetailInfo.getDefaultInstance()) return this;
      internalGetMutablePicNumMap().mergeFrom(
          other.internalGetPicNumMap());
      if (other.getHGBBGLKPLFI() != 0) {
        setHGBBGLKPLFI(other.getHGBBGLKPLFI());
      }
      if (other.getAPPIGJMKEGG() != 0) {
        setAPPIGJMKEGG(other.getAPPIGJMKEGG());
      }
      if (other.getIsActivated() != false) {
        setIsActivated(other.getIsActivated());
      }
      if (other.getIsContentClosed() != false) {
        setIsContentClosed(other.getIsContentClosed());
      }
      if (other.getContentCloseTime() != 0) {
        setContentCloseTime(other.getContentCloseTime());
      }
      if (other.getEMNEIHDPFPM() != 0) {
        setEMNEIHDPFPM(other.getEMNEIHDPFPM());
      }
      if (other.getFBEJHLODCFN() != 0) {
        setFBEJHLODCFN(other.getFBEJHLODCFN());
      }
      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.BlessingActivityDetailInfo parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.activity.BlessingActivityDetailInfo) 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> picNumMap_;
    private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
    internalGetPicNumMap() {
      if (picNumMap_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            PicNumMapDefaultEntryHolder.defaultEntry);
      }
      return picNumMap_;
    }
    private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
    internalGetMutablePicNumMap() {
      onChanged();;
      if (picNumMap_ == null) {
        picNumMap_ = com.google.protobuf.MapField.newMapField(
            PicNumMapDefaultEntryHolder.defaultEntry);
      }
      if (!picNumMap_.isMutable()) {
        picNumMap_ = picNumMap_.copy();
      }
      return picNumMap_;
    }

    public int getPicNumMapCount() {
      return internalGetPicNumMap().getMap().size();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; pic_num_map = 10;</code>
     */

    @java.lang.Override
    public boolean containsPicNumMap(
        int key) {
      
      return internalGetPicNumMap().getMap().containsKey(key);
    }
    /**
     * Use {@link #getPicNumMapMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, java.lang.Integer> getPicNumMap() {
      return getPicNumMapMap();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; pic_num_map = 10;</code>
     */
    @java.lang.Override

    public java.util.Map<java.lang.Integer, java.lang.Integer> getPicNumMapMap() {
      return internalGetPicNumMap().getMap();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; pic_num_map = 10;</code>
     */
    @java.lang.Override

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

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

    public Builder clearPicNumMap() {
      internalGetMutablePicNumMap().getMutableMap()
          .clear();
      return this;
    }
    /**
     * <code>map&lt;uint32, uint32&gt; pic_num_map = 10;</code>
     */

    public Builder removePicNumMap(
        int key) {
      
      internalGetMutablePicNumMap().getMutableMap()
          .remove(key);
      return this;
    }
    /**
     * Use alternate mutation accessors instead.
     */
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, java.lang.Integer>
    getMutablePicNumMap() {
      return internalGetMutablePicNumMap().getMutableMap();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; pic_num_map = 10;</code>
     */
    public Builder putPicNumMap(
        int key,
        int value) {
      
      
      internalGetMutablePicNumMap().getMutableMap()
          .put(key, value);
      return this;
    }
    /**
     * <code>map&lt;uint32, uint32&gt; pic_num_map = 10;</code>
     */

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

    private int hGBBGLKPLFI_ ;
    /**
     * <code>uint32 HGBBGLKPLFI = 2;</code>
     * @return The hGBBGLKPLFI.
     */
    @java.lang.Override
    public int getHGBBGLKPLFI() {
      return hGBBGLKPLFI_;
    }
    /**
     * <code>uint32 HGBBGLKPLFI = 2;</code>
     * @param value The hGBBGLKPLFI to set.
     * @return This builder for chaining.
     */
    public Builder setHGBBGLKPLFI(int value) {
      
      hGBBGLKPLFI_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 HGBBGLKPLFI = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearHGBBGLKPLFI() {
      
      hGBBGLKPLFI_ = 0;
      onChanged();
      return this;
    }

    private int aPPIGJMKEGG_ ;
    /**
     * <code>uint32 APPIGJMKEGG = 1;</code>
     * @return The aPPIGJMKEGG.
     */
    @java.lang.Override
    public int getAPPIGJMKEGG() {
      return aPPIGJMKEGG_;
    }
    /**
     * <code>uint32 APPIGJMKEGG = 1;</code>
     * @param value The aPPIGJMKEGG to set.
     * @return This builder for chaining.
     */
    public Builder setAPPIGJMKEGG(int value) {
      
      aPPIGJMKEGG_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 APPIGJMKEGG = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearAPPIGJMKEGG() {
      
      aPPIGJMKEGG_ = 0;
      onChanged();
      return this;
    }

    private boolean isActivated_ ;
    /**
     * <code>bool is_activated = 9;</code>
     * @return The isActivated.
     */
    @java.lang.Override
    public boolean getIsActivated() {
      return isActivated_;
    }
    /**
     * <code>bool is_activated = 9;</code>
     * @param value The isActivated to set.
     * @return This builder for chaining.
     */
    public Builder setIsActivated(boolean value) {
      
      isActivated_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool is_activated = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearIsActivated() {
      
      isActivated_ = false;
      onChanged();
      return this;
    }

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

    private int contentCloseTime_ ;
    /**
     * <code>uint32 content_close_time = 5;</code>
     * @return The contentCloseTime.
     */
    @java.lang.Override
    public int getContentCloseTime() {
      return contentCloseTime_;
    }
    /**
     * <code>uint32 content_close_time = 5;</code>
     * @param value The contentCloseTime to set.
     * @return This builder for chaining.
     */
    public Builder setContentCloseTime(int value) {
      
      contentCloseTime_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 content_close_time = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearContentCloseTime() {
      
      contentCloseTime_ = 0;
      onChanged();
      return this;
    }

    private int eMNEIHDPFPM_ ;
    /**
     * <code>uint32 EMNEIHDPFPM = 6;</code>
     * @return The eMNEIHDPFPM.
     */
    @java.lang.Override
    public int getEMNEIHDPFPM() {
      return eMNEIHDPFPM_;
    }
    /**
     * <code>uint32 EMNEIHDPFPM = 6;</code>
     * @param value The eMNEIHDPFPM to set.
     * @return This builder for chaining.
     */
    public Builder setEMNEIHDPFPM(int value) {
      
      eMNEIHDPFPM_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 EMNEIHDPFPM = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearEMNEIHDPFPM() {
      
      eMNEIHDPFPM_ = 0;
      onChanged();
      return this;
    }

    private int fBEJHLODCFN_ ;
    /**
     * <code>uint32 FBEJHLODCFN = 13;</code>
     * @return The fBEJHLODCFN.
     */
    @java.lang.Override
    public int getFBEJHLODCFN() {
      return fBEJHLODCFN_;
    }
    /**
     * <code>uint32 FBEJHLODCFN = 13;</code>
     * @param value The fBEJHLODCFN to set.
     * @return This builder for chaining.
     */
    public Builder setFBEJHLODCFN(int value) {
      
      fBEJHLODCFN_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 FBEJHLODCFN = 13;</code>
     * @return This builder for chaining.
     */
    public Builder clearFBEJHLODCFN() {
      
      fBEJHLODCFN_ = 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:BlessingActivityDetailInfo)
  }

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

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

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

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

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

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

}

