All Downloads are FREE. Search and download functionalities are using the official Maven repository.

emu.grasscutter.net.proto.MaterialDeleteInfoOuterClass Maven / Gradle / Ivy

There is a newer version: 1.0.3-dev
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: MaterialDeleteInfo.proto

package emu.grasscutter.net.proto;

public final class MaterialDeleteInfoOuterClass {
  private MaterialDeleteInfoOuterClass() {}
  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 MaterialDeleteInfoOrBuilder extends
      // @@protoc_insertion_point(interface_extends:MaterialDeleteInfo)
      com.google.protobuf.MessageOrBuilder {

    /**
     * bool hasDeleteConfig = 1;
     * @return The hasDeleteConfig.
     */
    boolean getHasDeleteConfig();

    /**
     * .CountDownDelete countDownDelete = 2;
     * @return Whether the countDownDelete field is set.
     */
    boolean hasCountDownDelete();
    /**
     * .CountDownDelete countDownDelete = 2;
     * @return The countDownDelete.
     */
    emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete getCountDownDelete();
    /**
     * .CountDownDelete countDownDelete = 2;
     */
    emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDeleteOrBuilder getCountDownDeleteOrBuilder();

    /**
     * .DateTimeDelete dateDelete = 3;
     * @return Whether the dateDelete field is set.
     */
    boolean hasDateDelete();
    /**
     * .DateTimeDelete dateDelete = 3;
     * @return The dateDelete.
     */
    emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete getDateDelete();
    /**
     * .DateTimeDelete dateDelete = 3;
     */
    emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDeleteOrBuilder getDateDeleteOrBuilder();

    /**
     * .DelayWeekCountDownDelete delayWeekCountDownDelete = 4;
     * @return Whether the delayWeekCountDownDelete field is set.
     */
    boolean hasDelayWeekCountDownDelete();
    /**
     * .DelayWeekCountDownDelete delayWeekCountDownDelete = 4;
     * @return The delayWeekCountDownDelete.
     */
    emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete getDelayWeekCountDownDelete();
    /**
     * .DelayWeekCountDownDelete delayWeekCountDownDelete = 4;
     */
    emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDeleteOrBuilder getDelayWeekCountDownDeleteOrBuilder();

    public emu.grasscutter.net.proto.MaterialDeleteInfoOuterClass.MaterialDeleteInfo.DeleteInfoCase getDeleteInfoCase();
  }
  /**
   * Protobuf type {@code MaterialDeleteInfo}
   */
  public static final class MaterialDeleteInfo extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:MaterialDeleteInfo)
      MaterialDeleteInfoOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use MaterialDeleteInfo.newBuilder() to construct.
    private MaterialDeleteInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private MaterialDeleteInfo() {
    }

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

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

              hasDeleteConfig_ = input.readBool();
              break;
            }
            case 18: {
              emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete.Builder subBuilder = null;
              if (deleteInfoCase_ == 2) {
                subBuilder = ((emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete) deleteInfo_).toBuilder();
              }
              deleteInfo_ =
                  input.readMessage(emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete) deleteInfo_);
                deleteInfo_ = subBuilder.buildPartial();
              }
              deleteInfoCase_ = 2;
              break;
            }
            case 26: {
              emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete.Builder subBuilder = null;
              if (deleteInfoCase_ == 3) {
                subBuilder = ((emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete) deleteInfo_).toBuilder();
              }
              deleteInfo_ =
                  input.readMessage(emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete) deleteInfo_);
                deleteInfo_ = subBuilder.buildPartial();
              }
              deleteInfoCase_ = 3;
              break;
            }
            case 34: {
              emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete.Builder subBuilder = null;
              if (deleteInfoCase_ == 4) {
                subBuilder = ((emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete) deleteInfo_).toBuilder();
              }
              deleteInfo_ =
                  input.readMessage(emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete) deleteInfo_);
                deleteInfo_ = subBuilder.buildPartial();
              }
              deleteInfoCase_ = 4;
              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.MaterialDeleteInfoOuterClass.internal_static_MaterialDeleteInfo_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return emu.grasscutter.net.proto.MaterialDeleteInfoOuterClass.internal_static_MaterialDeleteInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              emu.grasscutter.net.proto.MaterialDeleteInfoOuterClass.MaterialDeleteInfo.class, emu.grasscutter.net.proto.MaterialDeleteInfoOuterClass.MaterialDeleteInfo.Builder.class);
    }

    private int deleteInfoCase_ = 0;
    private java.lang.Object deleteInfo_;
    public enum DeleteInfoCase
        implements com.google.protobuf.Internal.EnumLite,
            com.google.protobuf.AbstractMessage.InternalOneOfEnum {
      COUNTDOWNDELETE(2),
      DATEDELETE(3),
      DELAYWEEKCOUNTDOWNDELETE(4),
      DELETEINFO_NOT_SET(0);
      private final int value;
      private DeleteInfoCase(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 DeleteInfoCase valueOf(int value) {
        return forNumber(value);
      }

      public static DeleteInfoCase forNumber(int value) {
        switch (value) {
          case 2: return COUNTDOWNDELETE;
          case 3: return DATEDELETE;
          case 4: return DELAYWEEKCOUNTDOWNDELETE;
          case 0: return DELETEINFO_NOT_SET;
          default: return null;
        }
      }
      public int getNumber() {
        return this.value;
      }
    };

    public DeleteInfoCase
    getDeleteInfoCase() {
      return DeleteInfoCase.forNumber(
          deleteInfoCase_);
    }

    public static final int HASDELETECONFIG_FIELD_NUMBER = 1;
    private boolean hasDeleteConfig_;
    /**
     * bool hasDeleteConfig = 1;
     * @return The hasDeleteConfig.
     */
    @java.lang.Override
    public boolean getHasDeleteConfig() {
      return hasDeleteConfig_;
    }

    public static final int COUNTDOWNDELETE_FIELD_NUMBER = 2;
    /**
     * .CountDownDelete countDownDelete = 2;
     * @return Whether the countDownDelete field is set.
     */
    @java.lang.Override
    public boolean hasCountDownDelete() {
      return deleteInfoCase_ == 2;
    }
    /**
     * .CountDownDelete countDownDelete = 2;
     * @return The countDownDelete.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete getCountDownDelete() {
      if (deleteInfoCase_ == 2) {
         return (emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete) deleteInfo_;
      }
      return emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete.getDefaultInstance();
    }
    /**
     * .CountDownDelete countDownDelete = 2;
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDeleteOrBuilder getCountDownDeleteOrBuilder() {
      if (deleteInfoCase_ == 2) {
         return (emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete) deleteInfo_;
      }
      return emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete.getDefaultInstance();
    }

    public static final int DATEDELETE_FIELD_NUMBER = 3;
    /**
     * .DateTimeDelete dateDelete = 3;
     * @return Whether the dateDelete field is set.
     */
    @java.lang.Override
    public boolean hasDateDelete() {
      return deleteInfoCase_ == 3;
    }
    /**
     * .DateTimeDelete dateDelete = 3;
     * @return The dateDelete.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete getDateDelete() {
      if (deleteInfoCase_ == 3) {
         return (emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete) deleteInfo_;
      }
      return emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete.getDefaultInstance();
    }
    /**
     * .DateTimeDelete dateDelete = 3;
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDeleteOrBuilder getDateDeleteOrBuilder() {
      if (deleteInfoCase_ == 3) {
         return (emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete) deleteInfo_;
      }
      return emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete.getDefaultInstance();
    }

    public static final int DELAYWEEKCOUNTDOWNDELETE_FIELD_NUMBER = 4;
    /**
     * .DelayWeekCountDownDelete delayWeekCountDownDelete = 4;
     * @return Whether the delayWeekCountDownDelete field is set.
     */
    @java.lang.Override
    public boolean hasDelayWeekCountDownDelete() {
      return deleteInfoCase_ == 4;
    }
    /**
     * .DelayWeekCountDownDelete delayWeekCountDownDelete = 4;
     * @return The delayWeekCountDownDelete.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete getDelayWeekCountDownDelete() {
      if (deleteInfoCase_ == 4) {
         return (emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete) deleteInfo_;
      }
      return emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete.getDefaultInstance();
    }
    /**
     * .DelayWeekCountDownDelete delayWeekCountDownDelete = 4;
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDeleteOrBuilder getDelayWeekCountDownDeleteOrBuilder() {
      if (deleteInfoCase_ == 4) {
         return (emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete) deleteInfo_;
      }
      return emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete.getDefaultInstance();
    }

    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 (hasDeleteConfig_ != false) {
        output.writeBool(1, hasDeleteConfig_);
      }
      if (deleteInfoCase_ == 2) {
        output.writeMessage(2, (emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete) deleteInfo_);
      }
      if (deleteInfoCase_ == 3) {
        output.writeMessage(3, (emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete) deleteInfo_);
      }
      if (deleteInfoCase_ == 4) {
        output.writeMessage(4, (emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete) deleteInfo_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (hasDeleteConfig_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(1, hasDeleteConfig_);
      }
      if (deleteInfoCase_ == 2) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, (emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete) deleteInfo_);
      }
      if (deleteInfoCase_ == 3) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, (emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete) deleteInfo_);
      }
      if (deleteInfoCase_ == 4) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, (emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete) deleteInfo_);
      }
      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.MaterialDeleteInfoOuterClass.MaterialDeleteInfo)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.MaterialDeleteInfoOuterClass.MaterialDeleteInfo other = (emu.grasscutter.net.proto.MaterialDeleteInfoOuterClass.MaterialDeleteInfo) obj;

      if (getHasDeleteConfig()
          != other.getHasDeleteConfig()) return false;
      if (!getDeleteInfoCase().equals(other.getDeleteInfoCase())) return false;
      switch (deleteInfoCase_) {
        case 2:
          if (!getCountDownDelete()
              .equals(other.getCountDownDelete())) return false;
          break;
        case 3:
          if (!getDateDelete()
              .equals(other.getDateDelete())) return false;
          break;
        case 4:
          if (!getDelayWeekCountDownDelete()
              .equals(other.getDelayWeekCountDownDelete())) 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) + HASDELETECONFIG_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getHasDeleteConfig());
      switch (deleteInfoCase_) {
        case 2:
          hash = (37 * hash) + COUNTDOWNDELETE_FIELD_NUMBER;
          hash = (53 * hash) + getCountDownDelete().hashCode();
          break;
        case 3:
          hash = (37 * hash) + DATEDELETE_FIELD_NUMBER;
          hash = (53 * hash) + getDateDelete().hashCode();
          break;
        case 4:
          hash = (37 * hash) + DELAYWEEKCOUNTDOWNDELETE_FIELD_NUMBER;
          hash = (53 * hash) + getDelayWeekCountDownDelete().hashCode();
          break;
        case 0:
        default:
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.MaterialDeleteInfoOuterClass.internal_static_MaterialDeleteInfo_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.MaterialDeleteInfoOuterClass.MaterialDeleteInfo.class, emu.grasscutter.net.proto.MaterialDeleteInfoOuterClass.MaterialDeleteInfo.Builder.class);
      }

      // Construct using emu.grasscutter.net.proto.MaterialDeleteInfoOuterClass.MaterialDeleteInfo.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();
        hasDeleteConfig_ = false;

        deleteInfoCase_ = 0;
        deleteInfo_ = null;
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return emu.grasscutter.net.proto.MaterialDeleteInfoOuterClass.internal_static_MaterialDeleteInfo_descriptor;
      }

      @java.lang.Override
      public emu.grasscutter.net.proto.MaterialDeleteInfoOuterClass.MaterialDeleteInfo getDefaultInstanceForType() {
        return emu.grasscutter.net.proto.MaterialDeleteInfoOuterClass.MaterialDeleteInfo.getDefaultInstance();
      }

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

      @java.lang.Override
      public emu.grasscutter.net.proto.MaterialDeleteInfoOuterClass.MaterialDeleteInfo buildPartial() {
        emu.grasscutter.net.proto.MaterialDeleteInfoOuterClass.MaterialDeleteInfo result = new emu.grasscutter.net.proto.MaterialDeleteInfoOuterClass.MaterialDeleteInfo(this);
        result.hasDeleteConfig_ = hasDeleteConfig_;
        if (deleteInfoCase_ == 2) {
          if (countDownDeleteBuilder_ == null) {
            result.deleteInfo_ = deleteInfo_;
          } else {
            result.deleteInfo_ = countDownDeleteBuilder_.build();
          }
        }
        if (deleteInfoCase_ == 3) {
          if (dateDeleteBuilder_ == null) {
            result.deleteInfo_ = deleteInfo_;
          } else {
            result.deleteInfo_ = dateDeleteBuilder_.build();
          }
        }
        if (deleteInfoCase_ == 4) {
          if (delayWeekCountDownDeleteBuilder_ == null) {
            result.deleteInfo_ = deleteInfo_;
          } else {
            result.deleteInfo_ = delayWeekCountDownDeleteBuilder_.build();
          }
        }
        result.deleteInfoCase_ = deleteInfoCase_;
        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.MaterialDeleteInfoOuterClass.MaterialDeleteInfo) {
          return mergeFrom((emu.grasscutter.net.proto.MaterialDeleteInfoOuterClass.MaterialDeleteInfo)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.MaterialDeleteInfoOuterClass.MaterialDeleteInfo other) {
        if (other == emu.grasscutter.net.proto.MaterialDeleteInfoOuterClass.MaterialDeleteInfo.getDefaultInstance()) return this;
        if (other.getHasDeleteConfig() != false) {
          setHasDeleteConfig(other.getHasDeleteConfig());
        }
        switch (other.getDeleteInfoCase()) {
          case COUNTDOWNDELETE: {
            mergeCountDownDelete(other.getCountDownDelete());
            break;
          }
          case DATEDELETE: {
            mergeDateDelete(other.getDateDelete());
            break;
          }
          case DELAYWEEKCOUNTDOWNDELETE: {
            mergeDelayWeekCountDownDelete(other.getDelayWeekCountDownDelete());
            break;
          }
          case DELETEINFO_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.MaterialDeleteInfoOuterClass.MaterialDeleteInfo parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.MaterialDeleteInfoOuterClass.MaterialDeleteInfo) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int deleteInfoCase_ = 0;
      private java.lang.Object deleteInfo_;
      public DeleteInfoCase
          getDeleteInfoCase() {
        return DeleteInfoCase.forNumber(
            deleteInfoCase_);
      }

      public Builder clearDeleteInfo() {
        deleteInfoCase_ = 0;
        deleteInfo_ = null;
        onChanged();
        return this;
      }


      private boolean hasDeleteConfig_ ;
      /**
       * bool hasDeleteConfig = 1;
       * @return The hasDeleteConfig.
       */
      @java.lang.Override
      public boolean getHasDeleteConfig() {
        return hasDeleteConfig_;
      }
      /**
       * bool hasDeleteConfig = 1;
       * @param value The hasDeleteConfig to set.
       * @return This builder for chaining.
       */
      public Builder setHasDeleteConfig(boolean value) {
        
        hasDeleteConfig_ = value;
        onChanged();
        return this;
      }
      /**
       * bool hasDeleteConfig = 1;
       * @return This builder for chaining.
       */
      public Builder clearHasDeleteConfig() {
        
        hasDeleteConfig_ = false;
        onChanged();
        return this;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete, emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete.Builder, emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDeleteOrBuilder> countDownDeleteBuilder_;
      /**
       * .CountDownDelete countDownDelete = 2;
       * @return Whether the countDownDelete field is set.
       */
      @java.lang.Override
      public boolean hasCountDownDelete() {
        return deleteInfoCase_ == 2;
      }
      /**
       * .CountDownDelete countDownDelete = 2;
       * @return The countDownDelete.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete getCountDownDelete() {
        if (countDownDeleteBuilder_ == null) {
          if (deleteInfoCase_ == 2) {
            return (emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete) deleteInfo_;
          }
          return emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete.getDefaultInstance();
        } else {
          if (deleteInfoCase_ == 2) {
            return countDownDeleteBuilder_.getMessage();
          }
          return emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete.getDefaultInstance();
        }
      }
      /**
       * .CountDownDelete countDownDelete = 2;
       */
      public Builder setCountDownDelete(emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete value) {
        if (countDownDeleteBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          deleteInfo_ = value;
          onChanged();
        } else {
          countDownDeleteBuilder_.setMessage(value);
        }
        deleteInfoCase_ = 2;
        return this;
      }
      /**
       * .CountDownDelete countDownDelete = 2;
       */
      public Builder setCountDownDelete(
          emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete.Builder builderForValue) {
        if (countDownDeleteBuilder_ == null) {
          deleteInfo_ = builderForValue.build();
          onChanged();
        } else {
          countDownDeleteBuilder_.setMessage(builderForValue.build());
        }
        deleteInfoCase_ = 2;
        return this;
      }
      /**
       * .CountDownDelete countDownDelete = 2;
       */
      public Builder mergeCountDownDelete(emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete value) {
        if (countDownDeleteBuilder_ == null) {
          if (deleteInfoCase_ == 2 &&
              deleteInfo_ != emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete.getDefaultInstance()) {
            deleteInfo_ = emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete.newBuilder((emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete) deleteInfo_)
                .mergeFrom(value).buildPartial();
          } else {
            deleteInfo_ = value;
          }
          onChanged();
        } else {
          if (deleteInfoCase_ == 2) {
            countDownDeleteBuilder_.mergeFrom(value);
          }
          countDownDeleteBuilder_.setMessage(value);
        }
        deleteInfoCase_ = 2;
        return this;
      }
      /**
       * .CountDownDelete countDownDelete = 2;
       */
      public Builder clearCountDownDelete() {
        if (countDownDeleteBuilder_ == null) {
          if (deleteInfoCase_ == 2) {
            deleteInfoCase_ = 0;
            deleteInfo_ = null;
            onChanged();
          }
        } else {
          if (deleteInfoCase_ == 2) {
            deleteInfoCase_ = 0;
            deleteInfo_ = null;
          }
          countDownDeleteBuilder_.clear();
        }
        return this;
      }
      /**
       * .CountDownDelete countDownDelete = 2;
       */
      public emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete.Builder getCountDownDeleteBuilder() {
        return getCountDownDeleteFieldBuilder().getBuilder();
      }
      /**
       * .CountDownDelete countDownDelete = 2;
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDeleteOrBuilder getCountDownDeleteOrBuilder() {
        if ((deleteInfoCase_ == 2) && (countDownDeleteBuilder_ != null)) {
          return countDownDeleteBuilder_.getMessageOrBuilder();
        } else {
          if (deleteInfoCase_ == 2) {
            return (emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete) deleteInfo_;
          }
          return emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete.getDefaultInstance();
        }
      }
      /**
       * .CountDownDelete countDownDelete = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete, emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete.Builder, emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDeleteOrBuilder> 
          getCountDownDeleteFieldBuilder() {
        if (countDownDeleteBuilder_ == null) {
          if (!(deleteInfoCase_ == 2)) {
            deleteInfo_ = emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete.getDefaultInstance();
          }
          countDownDeleteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete, emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete.Builder, emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDeleteOrBuilder>(
                  (emu.grasscutter.net.proto.CountDownDeleteOuterClass.CountDownDelete) deleteInfo_,
                  getParentForChildren(),
                  isClean());
          deleteInfo_ = null;
        }
        deleteInfoCase_ = 2;
        onChanged();;
        return countDownDeleteBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete, emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete.Builder, emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDeleteOrBuilder> dateDeleteBuilder_;
      /**
       * .DateTimeDelete dateDelete = 3;
       * @return Whether the dateDelete field is set.
       */
      @java.lang.Override
      public boolean hasDateDelete() {
        return deleteInfoCase_ == 3;
      }
      /**
       * .DateTimeDelete dateDelete = 3;
       * @return The dateDelete.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete getDateDelete() {
        if (dateDeleteBuilder_ == null) {
          if (deleteInfoCase_ == 3) {
            return (emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete) deleteInfo_;
          }
          return emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete.getDefaultInstance();
        } else {
          if (deleteInfoCase_ == 3) {
            return dateDeleteBuilder_.getMessage();
          }
          return emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete.getDefaultInstance();
        }
      }
      /**
       * .DateTimeDelete dateDelete = 3;
       */
      public Builder setDateDelete(emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete value) {
        if (dateDeleteBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          deleteInfo_ = value;
          onChanged();
        } else {
          dateDeleteBuilder_.setMessage(value);
        }
        deleteInfoCase_ = 3;
        return this;
      }
      /**
       * .DateTimeDelete dateDelete = 3;
       */
      public Builder setDateDelete(
          emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete.Builder builderForValue) {
        if (dateDeleteBuilder_ == null) {
          deleteInfo_ = builderForValue.build();
          onChanged();
        } else {
          dateDeleteBuilder_.setMessage(builderForValue.build());
        }
        deleteInfoCase_ = 3;
        return this;
      }
      /**
       * .DateTimeDelete dateDelete = 3;
       */
      public Builder mergeDateDelete(emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete value) {
        if (dateDeleteBuilder_ == null) {
          if (deleteInfoCase_ == 3 &&
              deleteInfo_ != emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete.getDefaultInstance()) {
            deleteInfo_ = emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete.newBuilder((emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete) deleteInfo_)
                .mergeFrom(value).buildPartial();
          } else {
            deleteInfo_ = value;
          }
          onChanged();
        } else {
          if (deleteInfoCase_ == 3) {
            dateDeleteBuilder_.mergeFrom(value);
          }
          dateDeleteBuilder_.setMessage(value);
        }
        deleteInfoCase_ = 3;
        return this;
      }
      /**
       * .DateTimeDelete dateDelete = 3;
       */
      public Builder clearDateDelete() {
        if (dateDeleteBuilder_ == null) {
          if (deleteInfoCase_ == 3) {
            deleteInfoCase_ = 0;
            deleteInfo_ = null;
            onChanged();
          }
        } else {
          if (deleteInfoCase_ == 3) {
            deleteInfoCase_ = 0;
            deleteInfo_ = null;
          }
          dateDeleteBuilder_.clear();
        }
        return this;
      }
      /**
       * .DateTimeDelete dateDelete = 3;
       */
      public emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete.Builder getDateDeleteBuilder() {
        return getDateDeleteFieldBuilder().getBuilder();
      }
      /**
       * .DateTimeDelete dateDelete = 3;
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDeleteOrBuilder getDateDeleteOrBuilder() {
        if ((deleteInfoCase_ == 3) && (dateDeleteBuilder_ != null)) {
          return dateDeleteBuilder_.getMessageOrBuilder();
        } else {
          if (deleteInfoCase_ == 3) {
            return (emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete) deleteInfo_;
          }
          return emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete.getDefaultInstance();
        }
      }
      /**
       * .DateTimeDelete dateDelete = 3;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete, emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete.Builder, emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDeleteOrBuilder> 
          getDateDeleteFieldBuilder() {
        if (dateDeleteBuilder_ == null) {
          if (!(deleteInfoCase_ == 3)) {
            deleteInfo_ = emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete.getDefaultInstance();
          }
          dateDeleteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete, emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete.Builder, emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDeleteOrBuilder>(
                  (emu.grasscutter.net.proto.DateTimeDeleteOuterClass.DateTimeDelete) deleteInfo_,
                  getParentForChildren(),
                  isClean());
          deleteInfo_ = null;
        }
        deleteInfoCase_ = 3;
        onChanged();;
        return dateDeleteBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete, emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete.Builder, emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDeleteOrBuilder> delayWeekCountDownDeleteBuilder_;
      /**
       * .DelayWeekCountDownDelete delayWeekCountDownDelete = 4;
       * @return Whether the delayWeekCountDownDelete field is set.
       */
      @java.lang.Override
      public boolean hasDelayWeekCountDownDelete() {
        return deleteInfoCase_ == 4;
      }
      /**
       * .DelayWeekCountDownDelete delayWeekCountDownDelete = 4;
       * @return The delayWeekCountDownDelete.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete getDelayWeekCountDownDelete() {
        if (delayWeekCountDownDeleteBuilder_ == null) {
          if (deleteInfoCase_ == 4) {
            return (emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete) deleteInfo_;
          }
          return emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete.getDefaultInstance();
        } else {
          if (deleteInfoCase_ == 4) {
            return delayWeekCountDownDeleteBuilder_.getMessage();
          }
          return emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete.getDefaultInstance();
        }
      }
      /**
       * .DelayWeekCountDownDelete delayWeekCountDownDelete = 4;
       */
      public Builder setDelayWeekCountDownDelete(emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete value) {
        if (delayWeekCountDownDeleteBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          deleteInfo_ = value;
          onChanged();
        } else {
          delayWeekCountDownDeleteBuilder_.setMessage(value);
        }
        deleteInfoCase_ = 4;
        return this;
      }
      /**
       * .DelayWeekCountDownDelete delayWeekCountDownDelete = 4;
       */
      public Builder setDelayWeekCountDownDelete(
          emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete.Builder builderForValue) {
        if (delayWeekCountDownDeleteBuilder_ == null) {
          deleteInfo_ = builderForValue.build();
          onChanged();
        } else {
          delayWeekCountDownDeleteBuilder_.setMessage(builderForValue.build());
        }
        deleteInfoCase_ = 4;
        return this;
      }
      /**
       * .DelayWeekCountDownDelete delayWeekCountDownDelete = 4;
       */
      public Builder mergeDelayWeekCountDownDelete(emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete value) {
        if (delayWeekCountDownDeleteBuilder_ == null) {
          if (deleteInfoCase_ == 4 &&
              deleteInfo_ != emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete.getDefaultInstance()) {
            deleteInfo_ = emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete.newBuilder((emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete) deleteInfo_)
                .mergeFrom(value).buildPartial();
          } else {
            deleteInfo_ = value;
          }
          onChanged();
        } else {
          if (deleteInfoCase_ == 4) {
            delayWeekCountDownDeleteBuilder_.mergeFrom(value);
          }
          delayWeekCountDownDeleteBuilder_.setMessage(value);
        }
        deleteInfoCase_ = 4;
        return this;
      }
      /**
       * .DelayWeekCountDownDelete delayWeekCountDownDelete = 4;
       */
      public Builder clearDelayWeekCountDownDelete() {
        if (delayWeekCountDownDeleteBuilder_ == null) {
          if (deleteInfoCase_ == 4) {
            deleteInfoCase_ = 0;
            deleteInfo_ = null;
            onChanged();
          }
        } else {
          if (deleteInfoCase_ == 4) {
            deleteInfoCase_ = 0;
            deleteInfo_ = null;
          }
          delayWeekCountDownDeleteBuilder_.clear();
        }
        return this;
      }
      /**
       * .DelayWeekCountDownDelete delayWeekCountDownDelete = 4;
       */
      public emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete.Builder getDelayWeekCountDownDeleteBuilder() {
        return getDelayWeekCountDownDeleteFieldBuilder().getBuilder();
      }
      /**
       * .DelayWeekCountDownDelete delayWeekCountDownDelete = 4;
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDeleteOrBuilder getDelayWeekCountDownDeleteOrBuilder() {
        if ((deleteInfoCase_ == 4) && (delayWeekCountDownDeleteBuilder_ != null)) {
          return delayWeekCountDownDeleteBuilder_.getMessageOrBuilder();
        } else {
          if (deleteInfoCase_ == 4) {
            return (emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete) deleteInfo_;
          }
          return emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete.getDefaultInstance();
        }
      }
      /**
       * .DelayWeekCountDownDelete delayWeekCountDownDelete = 4;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete, emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete.Builder, emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDeleteOrBuilder> 
          getDelayWeekCountDownDeleteFieldBuilder() {
        if (delayWeekCountDownDeleteBuilder_ == null) {
          if (!(deleteInfoCase_ == 4)) {
            deleteInfo_ = emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete.getDefaultInstance();
          }
          delayWeekCountDownDeleteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete, emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete.Builder, emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDeleteOrBuilder>(
                  (emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.DelayWeekCountDownDelete) deleteInfo_,
                  getParentForChildren(),
                  isClean());
          deleteInfo_ = null;
        }
        deleteInfoCase_ = 4;
        onChanged();;
        return delayWeekCountDownDeleteBuilder_;
      }
      @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:MaterialDeleteInfo)
    }

    // @@protoc_insertion_point(class_scope:MaterialDeleteInfo)
    private static final emu.grasscutter.net.proto.MaterialDeleteInfoOuterClass.MaterialDeleteInfo DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new emu.grasscutter.net.proto.MaterialDeleteInfoOuterClass.MaterialDeleteInfo();
    }

    public static emu.grasscutter.net.proto.MaterialDeleteInfoOuterClass.MaterialDeleteInfo getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public emu.grasscutter.net.proto.MaterialDeleteInfoOuterClass.MaterialDeleteInfo getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_MaterialDeleteInfo_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_MaterialDeleteInfo_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\030MaterialDeleteInfo.proto\032\025CountDownDel" +
      "ete.proto\032\024DateTimeDelete.proto\032\036DelayWe" +
      "ekCountDownDelete.proto\"\316\001\n\022MaterialDele" +
      "teInfo\022\027\n\017hasDeleteConfig\030\001 \001(\010\022+\n\017count" +
      "DownDelete\030\002 \001(\0132\020.CountDownDeleteH\000\022%\n\n" +
      "dateDelete\030\003 \001(\0132\017.DateTimeDeleteH\000\022=\n\030d" +
      "elayWeekCountDownDelete\030\004 \001(\0132\031.DelayWee" +
      "kCountDownDeleteH\000B\014\n\ndeleteInfoB\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.CountDownDeleteOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.DateTimeDeleteOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.getDescriptor(),
        });
    internal_static_MaterialDeleteInfo_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_MaterialDeleteInfo_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_MaterialDeleteInfo_descriptor,
        new java.lang.String[] { "HasDeleteConfig", "CountDownDelete", "DateDelete", "DelayWeekCountDownDelete", "DeleteInfo", });
    emu.grasscutter.net.proto.CountDownDeleteOuterClass.getDescriptor();
    emu.grasscutter.net.proto.DateTimeDeleteOuterClass.getDescriptor();
    emu.grasscutter.net.proto.DelayWeekCountDownDeleteOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy