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

package io.grasscutter.net.proto.activity;

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

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private PlantFlowerActivityDetailInfo(
      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 26: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              oGLBNKAEEMI_ = com.google.protobuf.MapField.newMapField(
                  OGLBNKAEEMIDefaultEntryHolder.defaultEntry);
              mutable_bitField0_ |= 0x00000001;
            }
            com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
            oGLBNKAEEMI__ = input.readMessage(
                OGLBNKAEEMIDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
            oGLBNKAEEMI_.getMutableMap().put(
                oGLBNKAEEMI__.getKey(), oGLBNKAEEMI__.getValue());
            break;
          }
          case 40: {

            todaySeedRewardId_ = input.readUInt32();
            break;
          }
          case 56: {

            isTodayHasAwarded_ = input.readBool();
            break;
          }
          case 82: {
            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
              aJKPLBPKCAB_ = com.google.protobuf.MapField.newMapField(
                  AJKPLBPKCABDefaultEntryHolder.defaultEntry);
              mutable_bitField0_ |= 0x00000002;
            }
            com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
            aJKPLBPKCAB__ = input.readMessage(
                AJKPLBPKCABDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
            aJKPLBPKCAB_.getMutableMap().put(
                aJKPLBPKCAB__.getKey(), aJKPLBPKCAB__.getValue());
            break;
          }
          case 96: {

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

            dayIndex_ = 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_PlantFlowerActivityDetailInfo_descriptor;
  }

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

  public static final int OGLBNKAEEMI_FIELD_NUMBER = 3;
  private static final class OGLBNKAEEMIDefaultEntryHolder {
    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_PlantFlowerActivityDetailInfo_OGLBNKAEEMIEntry_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> oGLBNKAEEMI_;
  private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
  internalGetOGLBNKAEEMI() {
    if (oGLBNKAEEMI_ == null) {
      return com.google.protobuf.MapField.emptyMapField(
          OGLBNKAEEMIDefaultEntryHolder.defaultEntry);
    }
    return oGLBNKAEEMI_;
  }

  public int getOGLBNKAEEMICount() {
    return internalGetOGLBNKAEEMI().getMap().size();
  }
  /**
   * <code>map&lt;uint32, uint32&gt; OGLBNKAEEMI = 3;</code>
   */

  @java.lang.Override
  public boolean containsOGLBNKAEEMI(
      int key) {
    
    return internalGetOGLBNKAEEMI().getMap().containsKey(key);
  }
  /**
   * Use {@link #getOGLBNKAEEMIMap()} instead.
   */
  @java.lang.Override
  @java.lang.Deprecated
  public java.util.Map<java.lang.Integer, java.lang.Integer> getOGLBNKAEEMI() {
    return getOGLBNKAEEMIMap();
  }
  /**
   * <code>map&lt;uint32, uint32&gt; OGLBNKAEEMI = 3;</code>
   */
  @java.lang.Override

  public java.util.Map<java.lang.Integer, java.lang.Integer> getOGLBNKAEEMIMap() {
    return internalGetOGLBNKAEEMI().getMap();
  }
  /**
   * <code>map&lt;uint32, uint32&gt; OGLBNKAEEMI = 3;</code>
   */
  @java.lang.Override

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

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

  public static final int AJKPLBPKCAB_FIELD_NUMBER = 10;
  private static final class AJKPLBPKCABDefaultEntryHolder {
    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_PlantFlowerActivityDetailInfo_AJKPLBPKCABEntry_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> aJKPLBPKCAB_;
  private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
  internalGetAJKPLBPKCAB() {
    if (aJKPLBPKCAB_ == null) {
      return com.google.protobuf.MapField.emptyMapField(
          AJKPLBPKCABDefaultEntryHolder.defaultEntry);
    }
    return aJKPLBPKCAB_;
  }

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

  @java.lang.Override
  public boolean containsAJKPLBPKCAB(
      int key) {
    
    return internalGetAJKPLBPKCAB().getMap().containsKey(key);
  }
  /**
   * Use {@link #getAJKPLBPKCABMap()} instead.
   */
  @java.lang.Override
  @java.lang.Deprecated
  public java.util.Map<java.lang.Integer, java.lang.Integer> getAJKPLBPKCAB() {
    return getAJKPLBPKCABMap();
  }
  /**
   * <code>map&lt;uint32, uint32&gt; AJKPLBPKCAB = 10;</code>
   */
  @java.lang.Override

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

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

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

  public static final int TODAY_SEED_REWARD_ID_FIELD_NUMBER = 5;
  private int todaySeedRewardId_;
  /**
   * <code>uint32 today_seed_reward_id = 5;</code>
   * @return The todaySeedRewardId.
   */
  @java.lang.Override
  public int getTodaySeedRewardId() {
    return todaySeedRewardId_;
  }

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

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

  public static final int IS_TODAY_HAS_AWARDED_FIELD_NUMBER = 7;
  private boolean isTodayHasAwarded_;
  /**
   * <code>bool is_today_has_awarded = 7;</code>
   * @return The isTodayHasAwarded.
   */
  @java.lang.Override
  public boolean getIsTodayHasAwarded() {
    return isTodayHasAwarded_;
  }

  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,
        internalGetOGLBNKAEEMI(),
        OGLBNKAEEMIDefaultEntryHolder.defaultEntry,
        3);
    if (todaySeedRewardId_ != 0) {
      output.writeUInt32(5, todaySeedRewardId_);
    }
    if (isTodayHasAwarded_ != false) {
      output.writeBool(7, isTodayHasAwarded_);
    }
    com.google.protobuf.GeneratedMessageV3
      .serializeIntegerMapTo(
        output,
        internalGetAJKPLBPKCAB(),
        AJKPLBPKCABDefaultEntryHolder.defaultEntry,
        10);
    if (isContentClosed_ != false) {
      output.writeBool(12, isContentClosed_);
    }
    if (dayIndex_ != 0) {
      output.writeUInt32(13, dayIndex_);
    }
    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, java.lang.Integer> entry
         : internalGetOGLBNKAEEMI().getMap().entrySet()) {
      com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
      oGLBNKAEEMI__ = OGLBNKAEEMIDefaultEntryHolder.defaultEntry.newBuilderForType()
          .setKey(entry.getKey())
          .setValue(entry.getValue())
          .build();
      size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, oGLBNKAEEMI__);
    }
    if (todaySeedRewardId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(5, todaySeedRewardId_);
    }
    if (isTodayHasAwarded_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(7, isTodayHasAwarded_);
    }
    for (java.util.Map.Entry<java.lang.Integer, java.lang.Integer> entry
         : internalGetAJKPLBPKCAB().getMap().entrySet()) {
      com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
      aJKPLBPKCAB__ = AJKPLBPKCABDefaultEntryHolder.defaultEntry.newBuilderForType()
          .setKey(entry.getKey())
          .setValue(entry.getValue())
          .build();
      size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(10, aJKPLBPKCAB__);
    }
    if (isContentClosed_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(12, isContentClosed_);
    }
    if (dayIndex_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(13, dayIndex_);
    }
    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.PlantFlowerActivityDetailInfo)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.activity.PlantFlowerActivityDetailInfo other = (io.grasscutter.net.proto.activity.PlantFlowerActivityDetailInfo) obj;

    if (!internalGetOGLBNKAEEMI().equals(
        other.internalGetOGLBNKAEEMI())) return false;
    if (!internalGetAJKPLBPKCAB().equals(
        other.internalGetAJKPLBPKCAB())) return false;
    if (getTodaySeedRewardId()
        != other.getTodaySeedRewardId()) return false;
    if (getDayIndex()
        != other.getDayIndex()) return false;
    if (getIsContentClosed()
        != other.getIsContentClosed()) return false;
    if (getIsTodayHasAwarded()
        != other.getIsTodayHasAwarded()) 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 (!internalGetOGLBNKAEEMI().getMap().isEmpty()) {
      hash = (37 * hash) + OGLBNKAEEMI_FIELD_NUMBER;
      hash = (53 * hash) + internalGetOGLBNKAEEMI().hashCode();
    }
    if (!internalGetAJKPLBPKCAB().getMap().isEmpty()) {
      hash = (37 * hash) + AJKPLBPKCAB_FIELD_NUMBER;
      hash = (53 * hash) + internalGetAJKPLBPKCAB().hashCode();
    }
    hash = (37 * hash) + TODAY_SEED_REWARD_ID_FIELD_NUMBER;
    hash = (53 * hash) + getTodaySeedRewardId();
    hash = (37 * hash) + DAY_INDEX_FIELD_NUMBER;
    hash = (53 * hash) + getDayIndex();
    hash = (37 * hash) + IS_CONTENT_CLOSED_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getIsContentClosed());
    hash = (37 * hash) + IS_TODAY_HAS_AWARDED_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getIsTodayHasAwarded());
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

    // Construct using io.grasscutter.net.proto.activity.PlantFlowerActivityDetailInfo.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();
      internalGetMutableOGLBNKAEEMI().clear();
      internalGetMutableAJKPLBPKCAB().clear();
      todaySeedRewardId_ = 0;

      dayIndex_ = 0;

      isContentClosed_ = false;

      isTodayHasAwarded_ = false;

      return this;
    }

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

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

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

    @java.lang.Override
    public io.grasscutter.net.proto.activity.PlantFlowerActivityDetailInfo buildPartial() {
      io.grasscutter.net.proto.activity.PlantFlowerActivityDetailInfo result = new io.grasscutter.net.proto.activity.PlantFlowerActivityDetailInfo(this);
      int from_bitField0_ = bitField0_;
      result.oGLBNKAEEMI_ = internalGetOGLBNKAEEMI();
      result.oGLBNKAEEMI_.makeImmutable();
      result.aJKPLBPKCAB_ = internalGetAJKPLBPKCAB();
      result.aJKPLBPKCAB_.makeImmutable();
      result.todaySeedRewardId_ = todaySeedRewardId_;
      result.dayIndex_ = dayIndex_;
      result.isContentClosed_ = isContentClosed_;
      result.isTodayHasAwarded_ = isTodayHasAwarded_;
      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.PlantFlowerActivityDetailInfo) {
        return mergeFrom((io.grasscutter.net.proto.activity.PlantFlowerActivityDetailInfo)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.activity.PlantFlowerActivityDetailInfo other) {
      if (other == io.grasscutter.net.proto.activity.PlantFlowerActivityDetailInfo.getDefaultInstance()) return this;
      internalGetMutableOGLBNKAEEMI().mergeFrom(
          other.internalGetOGLBNKAEEMI());
      internalGetMutableAJKPLBPKCAB().mergeFrom(
          other.internalGetAJKPLBPKCAB());
      if (other.getTodaySeedRewardId() != 0) {
        setTodaySeedRewardId(other.getTodaySeedRewardId());
      }
      if (other.getDayIndex() != 0) {
        setDayIndex(other.getDayIndex());
      }
      if (other.getIsContentClosed() != false) {
        setIsContentClosed(other.getIsContentClosed());
      }
      if (other.getIsTodayHasAwarded() != false) {
        setIsTodayHasAwarded(other.getIsTodayHasAwarded());
      }
      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.PlantFlowerActivityDetailInfo parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.activity.PlantFlowerActivityDetailInfo) 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> oGLBNKAEEMI_;
    private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
    internalGetOGLBNKAEEMI() {
      if (oGLBNKAEEMI_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            OGLBNKAEEMIDefaultEntryHolder.defaultEntry);
      }
      return oGLBNKAEEMI_;
    }
    private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
    internalGetMutableOGLBNKAEEMI() {
      onChanged();;
      if (oGLBNKAEEMI_ == null) {
        oGLBNKAEEMI_ = com.google.protobuf.MapField.newMapField(
            OGLBNKAEEMIDefaultEntryHolder.defaultEntry);
      }
      if (!oGLBNKAEEMI_.isMutable()) {
        oGLBNKAEEMI_ = oGLBNKAEEMI_.copy();
      }
      return oGLBNKAEEMI_;
    }

    public int getOGLBNKAEEMICount() {
      return internalGetOGLBNKAEEMI().getMap().size();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; OGLBNKAEEMI = 3;</code>
     */

    @java.lang.Override
    public boolean containsOGLBNKAEEMI(
        int key) {
      
      return internalGetOGLBNKAEEMI().getMap().containsKey(key);
    }
    /**
     * Use {@link #getOGLBNKAEEMIMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, java.lang.Integer> getOGLBNKAEEMI() {
      return getOGLBNKAEEMIMap();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; OGLBNKAEEMI = 3;</code>
     */
    @java.lang.Override

    public java.util.Map<java.lang.Integer, java.lang.Integer> getOGLBNKAEEMIMap() {
      return internalGetOGLBNKAEEMI().getMap();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; OGLBNKAEEMI = 3;</code>
     */
    @java.lang.Override

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

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

    public Builder clearOGLBNKAEEMI() {
      internalGetMutableOGLBNKAEEMI().getMutableMap()
          .clear();
      return this;
    }
    /**
     * <code>map&lt;uint32, uint32&gt; OGLBNKAEEMI = 3;</code>
     */

    public Builder removeOGLBNKAEEMI(
        int key) {
      
      internalGetMutableOGLBNKAEEMI().getMutableMap()
          .remove(key);
      return this;
    }
    /**
     * Use alternate mutation accessors instead.
     */
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, java.lang.Integer>
    getMutableOGLBNKAEEMI() {
      return internalGetMutableOGLBNKAEEMI().getMutableMap();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; OGLBNKAEEMI = 3;</code>
     */
    public Builder putOGLBNKAEEMI(
        int key,
        int value) {
      
      
      internalGetMutableOGLBNKAEEMI().getMutableMap()
          .put(key, value);
      return this;
    }
    /**
     * <code>map&lt;uint32, uint32&gt; OGLBNKAEEMI = 3;</code>
     */

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

    private com.google.protobuf.MapField<
        java.lang.Integer, java.lang.Integer> aJKPLBPKCAB_;
    private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
    internalGetAJKPLBPKCAB() {
      if (aJKPLBPKCAB_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            AJKPLBPKCABDefaultEntryHolder.defaultEntry);
      }
      return aJKPLBPKCAB_;
    }
    private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
    internalGetMutableAJKPLBPKCAB() {
      onChanged();;
      if (aJKPLBPKCAB_ == null) {
        aJKPLBPKCAB_ = com.google.protobuf.MapField.newMapField(
            AJKPLBPKCABDefaultEntryHolder.defaultEntry);
      }
      if (!aJKPLBPKCAB_.isMutable()) {
        aJKPLBPKCAB_ = aJKPLBPKCAB_.copy();
      }
      return aJKPLBPKCAB_;
    }

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

    @java.lang.Override
    public boolean containsAJKPLBPKCAB(
        int key) {
      
      return internalGetAJKPLBPKCAB().getMap().containsKey(key);
    }
    /**
     * Use {@link #getAJKPLBPKCABMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, java.lang.Integer> getAJKPLBPKCAB() {
      return getAJKPLBPKCABMap();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; AJKPLBPKCAB = 10;</code>
     */
    @java.lang.Override

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

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

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

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

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

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

    private int todaySeedRewardId_ ;
    /**
     * <code>uint32 today_seed_reward_id = 5;</code>
     * @return The todaySeedRewardId.
     */
    @java.lang.Override
    public int getTodaySeedRewardId() {
      return todaySeedRewardId_;
    }
    /**
     * <code>uint32 today_seed_reward_id = 5;</code>
     * @param value The todaySeedRewardId to set.
     * @return This builder for chaining.
     */
    public Builder setTodaySeedRewardId(int value) {
      
      todaySeedRewardId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 today_seed_reward_id = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearTodaySeedRewardId() {
      
      todaySeedRewardId_ = 0;
      onChanged();
      return this;
    }

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

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

    private boolean isTodayHasAwarded_ ;
    /**
     * <code>bool is_today_has_awarded = 7;</code>
     * @return The isTodayHasAwarded.
     */
    @java.lang.Override
    public boolean getIsTodayHasAwarded() {
      return isTodayHasAwarded_;
    }
    /**
     * <code>bool is_today_has_awarded = 7;</code>
     * @param value The isTodayHasAwarded to set.
     * @return This builder for chaining.
     */
    public Builder setIsTodayHasAwarded(boolean value) {
      
      isTodayHasAwarded_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool is_today_has_awarded = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearIsTodayHasAwarded() {
      
      isTodayHasAwarded_ = 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:PlantFlowerActivityDetailInfo)
  }

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

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

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

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

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

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

}

