content: // Generated by the protocol buffer compiler.  DO NOT EDIT!
  // source: OpActivityInfo.proto
  
  package emu.grasscutter.net.proto;
  
  public final class OpActivityInfoOuterClass {
    private OpActivityInfoOuterClass() {}
    public static void registerAllExtensions(
        com.google.protobuf.ExtensionRegistryLite registry) {
    }
  
    public static void registerAllExtensions(
        com.google.protobuf.ExtensionRegistry registry) {
      registerAllExtensions(
          (com.google.protobuf.ExtensionRegistryLite) registry);
    }
    public interface OpActivityInfoOrBuilder extends
        // @@protoc_insertion_point(interface_extends:OpActivityInfo)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <code>uint32 scheduleId = 1;</code>
       * @return The scheduleId.
       */
      int getScheduleId();
  
      /**
       * <code>uint32 beginTime = 8;</code>
       * @return The beginTime.
       */
      int getBeginTime();
  
      /**
       * <code>uint32 activityId = 15;</code>
       * @return The activityId.
       */
      int getActivityId();
  
      /**
       * <code>bool isHasChange = 3;</code>
       * @return The isHasChange.
       */
      boolean getIsHasChange();
  
      /**
       * <code>.BonusInfo bonus_info = 11;</code>
       * @return Whether the bonusInfo field is set.
       */
      boolean hasBonusInfo();
      /**
       * <code>.BonusInfo bonus_info = 11;</code>
       * @return The bonusInfo.
       */
      emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo getBonusInfo();
      /**
       * <code>.BonusInfo bonus_info = 11;</code>
       */
      emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfoOrBuilder getBonusInfoOrBuilder();
  
      /**
       * <code>uint32 endTime = 10;</code>
       * @return The endTime.
       */
      int getEndTime();
  
      public emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo.DetailCase getDetailCase();
    }
    /**
     * Protobuf type {@code OpActivityInfo}
     */
    public static final class OpActivityInfo extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:OpActivityInfo)
        OpActivityInfoOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use OpActivityInfo.newBuilder() to construct.
      private OpActivityInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private OpActivityInfo() {
      }
  
      @java.lang.Override
      @SuppressWarnings({"unused"})
      protected java.lang.Object newInstance(
          UnusedPrivateParameter unused) {
        return new OpActivityInfo();
      }
  
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private OpActivityInfo(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        this();
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        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: {
  
                scheduleId_ = input.readUInt32();
                break;
              }
              case 24: {
  
                isHasChange_ = input.readBool();
                break;
              }
              case 64: {
  
                beginTime_ = input.readUInt32();
                break;
              }
              case 80: {
  
                endTime_ = input.readUInt32();
                break;
              }
              case 90: {
                emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo.Builder subBuilder = null;
                if (detailCase_ == 11) {
                  subBuilder = ((emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo) detail_).toBuilder();
                }
                detail_ =
                    input.readMessage(emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom((emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo) detail_);
                  detail_ = subBuilder.buildPartial();
                }
                detailCase_ = 11;
                break;
              }
              case 120: {
  
                activityId_ = 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 emu.grasscutter.net.proto.OpActivityInfoOuterClass.internal_static_OpActivityInfo_descriptor;
      }
  
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.OpActivityInfoOuterClass.internal_static_OpActivityInfo_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo.class, emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo.Builder.class);
      }
  
      private int detailCase_ = 0;
      private java.lang.Object detail_;
      public enum DetailCase
          implements com.google.protobuf.Internal.EnumLite,
              com.google.protobuf.AbstractMessage.InternalOneOfEnum {
        BONUS_INFO(11),
        DETAIL_NOT_SET(0);
        private final int value;
        private DetailCase(int value) {
          this.value = value;
        }
        /**
         * @param value The number of the enum to look for.
         * @return The enum associated with the given number.
         * @deprecated Use {@link #forNumber(int)} instead.
         */
        @java.lang.Deprecated
        public static DetailCase valueOf(int value) {
          return forNumber(value);
        }
  
        public static DetailCase forNumber(int value) {
          switch (value) {
            case 11: return BONUS_INFO;
            case 0: return DETAIL_NOT_SET;
            default: return null;
          }
        }
        public int getNumber() {
          return this.value;
        }
      };
  
      public DetailCase
      getDetailCase() {
        return DetailCase.forNumber(
            detailCase_);
      }
  
      public static final int SCHEDULEID_FIELD_NUMBER = 1;
      private int scheduleId_;
      /**
       * <code>uint32 scheduleId = 1;</code>
       * @return The scheduleId.
       */
      @java.lang.Override
      public int getScheduleId() {
        return scheduleId_;
      }
  
      public static final int BEGINTIME_FIELD_NUMBER = 8;
      private int beginTime_;
      /**
       * <code>uint32 beginTime = 8;</code>
       * @return The beginTime.
       */
      @java.lang.Override
      public int getBeginTime() {
        return beginTime_;
      }
  
      public static final int ACTIVITYID_FIELD_NUMBER = 15;
      private int activityId_;
      /**
       * <code>uint32 activityId = 15;</code>
       * @return The activityId.
       */
      @java.lang.Override
      public int getActivityId() {
        return activityId_;
      }
  
      public static final int ISHASCHANGE_FIELD_NUMBER = 3;
      private boolean isHasChange_;
      /**
       * <code>bool isHasChange = 3;</code>
       * @return The isHasChange.
       */
      @java.lang.Override
      public boolean getIsHasChange() {
        return isHasChange_;
      }
  
      public static final int BONUS_INFO_FIELD_NUMBER = 11;
      /**
       * <code>.BonusInfo bonus_info = 11;</code>
       * @return Whether the bonusInfo field is set.
       */
      @java.lang.Override
      public boolean hasBonusInfo() {
        return detailCase_ == 11;
      }
      /**
       * <code>.BonusInfo bonus_info = 11;</code>
       * @return The bonusInfo.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo getBonusInfo() {
        if (detailCase_ == 11) {
           return (emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo) detail_;
        }
        return emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo.getDefaultInstance();
      }
      /**
       * <code>.BonusInfo bonus_info = 11;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfoOrBuilder getBonusInfoOrBuilder() {
        if (detailCase_ == 11) {
           return (emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo) detail_;
        }
        return emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo.getDefaultInstance();
      }
  
      public static final int ENDTIME_FIELD_NUMBER = 10;
      private int endTime_;
      /**
       * <code>uint32 endTime = 10;</code>
       * @return The endTime.
       */
      @java.lang.Override
      public int getEndTime() {
        return endTime_;
      }
  
      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 (scheduleId_ != 0) {
          output.writeUInt32(1, scheduleId_);
        }
        if (isHasChange_ != false) {
          output.writeBool(3, isHasChange_);
        }
        if (beginTime_ != 0) {
          output.writeUInt32(8, beginTime_);
        }
        if (endTime_ != 0) {
          output.writeUInt32(10, endTime_);
        }
        if (detailCase_ == 11) {
          output.writeMessage(11, (emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo) detail_);
        }
        if (activityId_ != 0) {
          output.writeUInt32(15, activityId_);
        }
        unknownFields.writeTo(output);
      }
  
      @java.lang.Override
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        if (scheduleId_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32Size(1, scheduleId_);
        }
        if (isHasChange_ != false) {
          size += com.google.protobuf.CodedOutputStream
            .computeBoolSize(3, isHasChange_);
        }
        if (beginTime_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32Size(8, beginTime_);
        }
        if (endTime_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32Size(10, endTime_);
        }
        if (detailCase_ == 11) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(11, (emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo) detail_);
        }
        if (activityId_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32Size(15, activityId_);
        }
        size += unknownFields.getSerializedSize();
        memoizedSize = size;
        return size;
      }
  
      @java.lang.Override
      public boolean equals(final java.lang.Object obj) {
        if (obj == this) {
         return true;
        }
        if (!(obj instanceof emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo)) {
          return super.equals(obj);
        }
        emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo other = (emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo) obj;
  
        if (getScheduleId()
            != other.getScheduleId()) return false;
        if (getBeginTime()
            != other.getBeginTime()) return false;
        if (getActivityId()
            != other.getActivityId()) return false;
        if (getIsHasChange()
            != other.getIsHasChange()) return false;
        if (getEndTime()
            != other.getEndTime()) return false;
        if (!getDetailCase().equals(other.getDetailCase())) return false;
        switch (detailCase_) {
          case 11:
            if (!getBonusInfo()
                .equals(other.getBonusInfo())) return false;
            break;
          case 0:
          default:
        }
        if (!unknownFields.equals(other.unknownFields)) return false;
        return true;
      }
  
      @java.lang.Override
      public int hashCode() {
        if (memoizedHashCode != 0) {
          return memoizedHashCode;
        }
        int hash = 41;
        hash = (19 * hash) + getDescriptor().hashCode();
        hash = (37 * hash) + SCHEDULEID_FIELD_NUMBER;
        hash = (53 * hash) + getScheduleId();
        hash = (37 * hash) + BEGINTIME_FIELD_NUMBER;
        hash = (53 * hash) + getBeginTime();
        hash = (37 * hash) + ACTIVITYID_FIELD_NUMBER;
        hash = (53 * hash) + getActivityId();
        hash = (37 * hash) + ISHASCHANGE_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
            getIsHasChange());
        hash = (37 * hash) + ENDTIME_FIELD_NUMBER;
        hash = (53 * hash) + getEndTime();
        switch (detailCase_) {
          case 11:
            hash = (37 * hash) + BONUS_INFO_FIELD_NUMBER;
            hash = (53 * hash) + getBonusInfo().hashCode();
            break;
          case 0:
          default:
        }
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }
  
      public static emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo parseFrom(
          java.nio.ByteBuffer data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo parseFrom(
          com.google.protobuf.ByteString data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo parseFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input, extensionRegistry);
      }
      public static emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo parseDelimitedFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
      }
      public static emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo parseFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input, extensionRegistry);
      }
  
      @java.lang.Override
      public Builder newBuilderForType() { return newBuilder(); }
      public static Builder newBuilder() {
        return DEFAULT_INSTANCE.toBuilder();
      }
      public static Builder newBuilder(emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo 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 OpActivityInfo}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:OpActivityInfo)
          emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfoOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return emu.grasscutter.net.proto.OpActivityInfoOuterClass.internal_static_OpActivityInfo_descriptor;
        }
  
        @java.lang.Override
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return emu.grasscutter.net.proto.OpActivityInfoOuterClass.internal_static_OpActivityInfo_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo.class, emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo.Builder.class);
        }
  
        // Construct using emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo.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();
          scheduleId_ = 0;
  
          beginTime_ = 0;
  
          activityId_ = 0;
  
          isHasChange_ = false;
  
          endTime_ = 0;
  
          detailCase_ = 0;
          detail_ = null;
          return this;
        }
  
        @java.lang.Override
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return emu.grasscutter.net.proto.OpActivityInfoOuterClass.internal_static_OpActivityInfo_descriptor;
        }
  
        @java.lang.Override
        public emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo getDefaultInstanceForType() {
          return emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo.getDefaultInstance();
        }
  
        @java.lang.Override
        public emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo build() {
          emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        @java.lang.Override
        public emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo buildPartial() {
          emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo result = new emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo(this);
          result.scheduleId_ = scheduleId_;
          result.beginTime_ = beginTime_;
          result.activityId_ = activityId_;
          result.isHasChange_ = isHasChange_;
          if (detailCase_ == 11) {
            if (bonusInfoBuilder_ == null) {
              result.detail_ = detail_;
            } else {
              result.detail_ = bonusInfoBuilder_.build();
            }
          }
          result.endTime_ = endTime_;
          result.detailCase_ = detailCase_;
          onBuilt();
          return result;
        }
  
        @java.lang.Override
        public Builder clone() {
          return super.clone();
        }
        @java.lang.Override
        public Builder setField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            java.lang.Object value) {
          return super.setField(field, value);
        }
        @java.lang.Override
        public Builder clearField(
            com.google.protobuf.Descriptors.FieldDescriptor field) {
          return super.clearField(field);
        }
        @java.lang.Override
        public Builder clearOneof(
            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
          return super.clearOneof(oneof);
        }
        @java.lang.Override
        public Builder setRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            int index, java.lang.Object value) {
          return super.setRepeatedField(field, index, value);
        }
        @java.lang.Override
        public Builder addRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            java.lang.Object value) {
          return super.addRepeatedField(field, value);
        }
        @java.lang.Override
        public Builder mergeFrom(com.google.protobuf.Message other) {
          if (other instanceof emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo) {
            return mergeFrom((emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo other) {
          if (other == emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo.getDefaultInstance()) return this;
          if (other.getScheduleId() != 0) {
            setScheduleId(other.getScheduleId());
          }
          if (other.getBeginTime() != 0) {
            setBeginTime(other.getBeginTime());
          }
          if (other.getActivityId() != 0) {
            setActivityId(other.getActivityId());
          }
          if (other.getIsHasChange() != false) {
            setIsHasChange(other.getIsHasChange());
          }
          if (other.getEndTime() != 0) {
            setEndTime(other.getEndTime());
          }
          switch (other.getDetailCase()) {
            case BONUS_INFO: {
              mergeBonusInfo(other.getBonusInfo());
              break;
            }
            case DETAIL_NOT_SET: {
              break;
            }
          }
          this.mergeUnknownFields(other.unknownFields);
          onChanged();
          return this;
        }
  
        @java.lang.Override
        public final boolean isInitialized() {
          return true;
        }
  
        @java.lang.Override
        public Builder mergeFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int detailCase_ = 0;
        private java.lang.Object detail_;
        public DetailCase
            getDetailCase() {
          return DetailCase.forNumber(
              detailCase_);
        }
  
        public Builder clearDetail() {
          detailCase_ = 0;
          detail_ = null;
          onChanged();
          return this;
        }
  
  
        private int scheduleId_ ;
        /**
         * <code>uint32 scheduleId = 1;</code>
         * @return The scheduleId.
         */
        @java.lang.Override
        public int getScheduleId() {
          return scheduleId_;
        }
        /**
         * <code>uint32 scheduleId = 1;</code>
         * @param value The scheduleId to set.
         * @return This builder for chaining.
         */
        public Builder setScheduleId(int value) {
          
          scheduleId_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint32 scheduleId = 1;</code>
         * @return This builder for chaining.
         */
        public Builder clearScheduleId() {
          
          scheduleId_ = 0;
          onChanged();
          return this;
        }
  
        private int beginTime_ ;
        /**
         * <code>uint32 beginTime = 8;</code>
         * @return The beginTime.
         */
        @java.lang.Override
        public int getBeginTime() {
          return beginTime_;
        }
        /**
         * <code>uint32 beginTime = 8;</code>
         * @param value The beginTime to set.
         * @return This builder for chaining.
         */
        public Builder setBeginTime(int value) {
          
          beginTime_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint32 beginTime = 8;</code>
         * @return This builder for chaining.
         */
        public Builder clearBeginTime() {
          
          beginTime_ = 0;
          onChanged();
          return this;
        }
  
        private int activityId_ ;
        /**
         * <code>uint32 activityId = 15;</code>
         * @return The activityId.
         */
        @java.lang.Override
        public int getActivityId() {
          return activityId_;
        }
        /**
         * <code>uint32 activityId = 15;</code>
         * @param value The activityId to set.
         * @return This builder for chaining.
         */
        public Builder setActivityId(int value) {
          
          activityId_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint32 activityId = 15;</code>
         * @return This builder for chaining.
         */
        public Builder clearActivityId() {
          
          activityId_ = 0;
          onChanged();
          return this;
        }
  
        private boolean isHasChange_ ;
        /**
         * <code>bool isHasChange = 3;</code>
         * @return The isHasChange.
         */
        @java.lang.Override
        public boolean getIsHasChange() {
          return isHasChange_;
        }
        /**
         * <code>bool isHasChange = 3;</code>
         * @param value The isHasChange to set.
         * @return This builder for chaining.
         */
        public Builder setIsHasChange(boolean value) {
          
          isHasChange_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>bool isHasChange = 3;</code>
         * @return This builder for chaining.
         */
        public Builder clearIsHasChange() {
          
          isHasChange_ = false;
          onChanged();
          return this;
        }
  
        private com.google.protobuf.SingleFieldBuilderV3<
            emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo, emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo.Builder, emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfoOrBuilder> bonusInfoBuilder_;
        /**
         * <code>.BonusInfo bonus_info = 11;</code>
         * @return Whether the bonusInfo field is set.
         */
        @java.lang.Override
        public boolean hasBonusInfo() {
          return detailCase_ == 11;
        }
        /**
         * <code>.BonusInfo bonus_info = 11;</code>
         * @return The bonusInfo.
         */
        @java.lang.Override
        public emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo getBonusInfo() {
          if (bonusInfoBuilder_ == null) {
            if (detailCase_ == 11) {
              return (emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo) detail_;
            }
            return emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo.getDefaultInstance();
          } else {
            if (detailCase_ == 11) {
              return bonusInfoBuilder_.getMessage();
            }
            return emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo.getDefaultInstance();
          }
        }
        /**
         * <code>.BonusInfo bonus_info = 11;</code>
         */
        public Builder setBonusInfo(emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo value) {
          if (bonusInfoBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            detail_ = value;
            onChanged();
          } else {
            bonusInfoBuilder_.setMessage(value);
          }
          detailCase_ = 11;
          return this;
        }
        /**
         * <code>.BonusInfo bonus_info = 11;</code>
         */
        public Builder setBonusInfo(
            emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo.Builder builderForValue) {
          if (bonusInfoBuilder_ == null) {
            detail_ = builderForValue.build();
            onChanged();
          } else {
            bonusInfoBuilder_.setMessage(builderForValue.build());
          }
          detailCase_ = 11;
          return this;
        }
        /**
         * <code>.BonusInfo bonus_info = 11;</code>
         */
        public Builder mergeBonusInfo(emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo value) {
          if (bonusInfoBuilder_ == null) {
            if (detailCase_ == 11 &&
                detail_ != emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo.getDefaultInstance()) {
              detail_ = emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo.newBuilder((emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo) detail_)
                  .mergeFrom(value).buildPartial();
            } else {
              detail_ = value;
            }
            onChanged();
          } else {
            if (detailCase_ == 11) {
              bonusInfoBuilder_.mergeFrom(value);
            }
            bonusInfoBuilder_.setMessage(value);
          }
          detailCase_ = 11;
          return this;
        }
        /**
         * <code>.BonusInfo bonus_info = 11;</code>
         */
        public Builder clearBonusInfo() {
          if (bonusInfoBuilder_ == null) {
            if (detailCase_ == 11) {
              detailCase_ = 0;
              detail_ = null;
              onChanged();
            }
          } else {
            if (detailCase_ == 11) {
              detailCase_ = 0;
              detail_ = null;
            }
            bonusInfoBuilder_.clear();
          }
          return this;
        }
        /**
         * <code>.BonusInfo bonus_info = 11;</code>
         */
        public emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo.Builder getBonusInfoBuilder() {
          return getBonusInfoFieldBuilder().getBuilder();
        }
        /**
         * <code>.BonusInfo bonus_info = 11;</code>
         */
        @java.lang.Override
        public emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfoOrBuilder getBonusInfoOrBuilder() {
          if ((detailCase_ == 11) && (bonusInfoBuilder_ != null)) {
            return bonusInfoBuilder_.getMessageOrBuilder();
          } else {
            if (detailCase_ == 11) {
              return (emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo) detail_;
            }
            return emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo.getDefaultInstance();
          }
        }
        /**
         * <code>.BonusInfo bonus_info = 11;</code>
         */
        private com.google.protobuf.SingleFieldBuilderV3<
            emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo, emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo.Builder, emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfoOrBuilder> 
            getBonusInfoFieldBuilder() {
          if (bonusInfoBuilder_ == null) {
            if (!(detailCase_ == 11)) {
              detail_ = emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo.getDefaultInstance();
            }
            bonusInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo, emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo.Builder, emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfoOrBuilder>(
                    (emu.grasscutter.net.proto.BonusInfoOuterClass.BonusInfo) detail_,
                    getParentForChildren(),
                    isClean());
            detail_ = null;
          }
          detailCase_ = 11;
          onChanged();;
          return bonusInfoBuilder_;
        }
  
        private int endTime_ ;
        /**
         * <code>uint32 endTime = 10;</code>
         * @return The endTime.
         */
        @java.lang.Override
        public int getEndTime() {
          return endTime_;
        }
        /**
         * <code>uint32 endTime = 10;</code>
         * @param value The endTime to set.
         * @return This builder for chaining.
         */
        public Builder setEndTime(int value) {
          
          endTime_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint32 endTime = 10;</code>
         * @return This builder for chaining.
         */
        public Builder clearEndTime() {
          
          endTime_ = 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:OpActivityInfo)
      }
  
      // @@protoc_insertion_point(class_scope:OpActivityInfo)
      private static final emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo();
      }
  
      public static emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }
  
      private static final com.google.protobuf.Parser<OpActivityInfo>
          PARSER = new com.google.protobuf.AbstractParser<OpActivityInfo>() {
        @java.lang.Override
        public OpActivityInfo parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new OpActivityInfo(input, extensionRegistry);
        }
      };
  
      public static com.google.protobuf.Parser<OpActivityInfo> parser() {
        return PARSER;
      }
  
      @java.lang.Override
      public com.google.protobuf.Parser<OpActivityInfo> getParserForType() {
        return PARSER;
      }
  
      @java.lang.Override
      public emu.grasscutter.net.proto.OpActivityInfoOuterClass.OpActivityInfo getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_OpActivityInfo_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_OpActivityInfo_fieldAccessorTable;
  
    public static com.google.protobuf.Descriptors.FileDescriptor
        getDescriptor() {
      return descriptor;
    }
    private static  com.google.protobuf.Descriptors.FileDescriptor
        descriptor;
    static {
      java.lang.String[] descriptorData = {
        "\n\024OpActivityInfo.proto\032\017BonusInfo.proto\"" +
        "\235\001\n\016OpActivityInfo\022\022\n\nscheduleId\030\001 \001(\r\022\021" +
        "\n\tbeginTime\030\010 \001(\r\022\022\n\nactivityId\030\017 \001(\r\022\023\n" +
        "\013isHasChange\030\003 \001(\010\022 \n\nbonus_info\030\013 \001(\0132\n" +
        ".BonusInfoH\000\022\017\n\007endTime\030\n \001(\rB\010\n\006detailB" +
        "\033\n\031emu.grasscutter.net.protob\006proto3"
      };
      descriptor = com.google.protobuf.Descriptors.FileDescriptor
        .internalBuildGeneratedFileFrom(descriptorData,
          new com.google.protobuf.Descriptors.FileDescriptor[] {
            emu.grasscutter.net.proto.BonusInfoOuterClass.getDescriptor(),
          });
      internal_static_OpActivityInfo_descriptor =
        getDescriptor().getMessageTypes().get(0);
      internal_static_OpActivityInfo_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_OpActivityInfo_descriptor,
          new java.lang.String[] { "ScheduleId", "BeginTime", "ActivityId", "IsHasChange", "BonusInfo", "EndTime", "Detail", });
      emu.grasscutter.net.proto.BonusInfoOuterClass.getDescriptor();
    }
  
    // @@protoc_insertion_point(outer_class_scope)
  }
  