content: // Generated by the protocol buffer compiler.  DO NOT EDIT!
  // source: GachaItem.proto
  
  package emu.grasscutter.net.proto;
  
  public final class GachaItemOuterClass {
    private GachaItemOuterClass() {}
    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 GachaItemOrBuilder extends
        // @@protoc_insertion_point(interface_extends:GachaItem)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <code>repeated .GachaTransferItem transferItems = 10;</code>
       */
      java.util.List<emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem> 
          getTransferItemsList();
      /**
       * <code>repeated .GachaTransferItem transferItems = 10;</code>
       */
      emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem getTransferItems(int index);
      /**
       * <code>repeated .GachaTransferItem transferItems = 10;</code>
       */
      int getTransferItemsCount();
      /**
       * <code>repeated .GachaTransferItem transferItems = 10;</code>
       */
      java.util.List<? extends emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItemOrBuilder> 
          getTransferItemsOrBuilderList();
      /**
       * <code>repeated .GachaTransferItem transferItems = 10;</code>
       */
      emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItemOrBuilder getTransferItemsOrBuilder(
          int index);
  
      /**
       * <code>bool isGachaItemNew = 9;</code>
       * @return The isGachaItemNew.
       */
      boolean getIsGachaItemNew();
  
      /**
       * <code>repeated .ItemParam tokenItemList = 12;</code>
       */
      java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> 
          getTokenItemListList();
      /**
       * <code>repeated .ItemParam tokenItemList = 12;</code>
       */
      emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getTokenItemList(int index);
      /**
       * <code>repeated .ItemParam tokenItemList = 12;</code>
       */
      int getTokenItemListCount();
      /**
       * <code>repeated .ItemParam tokenItemList = 12;</code>
       */
      java.util.List<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> 
          getTokenItemListOrBuilderList();
      /**
       * <code>repeated .ItemParam tokenItemList = 12;</code>
       */
      emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getTokenItemListOrBuilder(
          int index);
  
      /**
       * <code>.ItemParam gachaItem = 4;</code>
       * @return Whether the gachaItem field is set.
       */
      boolean hasGachaItem();
      /**
       * <code>.ItemParam gachaItem = 4;</code>
       * @return The gachaItem.
       */
      emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getGachaItem();
      /**
       * <code>.ItemParam gachaItem = 4;</code>
       */
      emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getGachaItemOrBuilder();
  
      /**
       * <code>bool isFlashCard = 11;</code>
       * @return The isFlashCard.
       */
      boolean getIsFlashCard();
    }
    /**
     * Protobuf type {@code GachaItem}
     */
    public static final class GachaItem extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:GachaItem)
        GachaItemOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use GachaItem.newBuilder() to construct.
      private GachaItem(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private GachaItem() {
        transferItems_ = java.util.Collections.emptyList();
        tokenItemList_ = java.util.Collections.emptyList();
      }
  
      @java.lang.Override
      @SuppressWarnings({"unused"})
      protected java.lang.Object newInstance(
          UnusedPrivateParameter unused) {
        return new GachaItem();
      }
  
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private GachaItem(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        this();
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        int mutable_bitField0_ = 0;
        com.google.protobuf.UnknownFieldSet.Builder unknownFields =
            com.google.protobuf.UnknownFieldSet.newBuilder();
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 34: {
                emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder subBuilder = null;
                if (gachaItem_ != null) {
                  subBuilder = gachaItem_.toBuilder();
                }
                gachaItem_ = input.readMessage(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom(gachaItem_);
                  gachaItem_ = subBuilder.buildPartial();
                }
  
                break;
              }
              case 72: {
  
                isGachaItemNew_ = input.readBool();
                break;
              }
              case 82: {
                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                  transferItems_ = new java.util.ArrayList<emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem>();
                  mutable_bitField0_ |= 0x00000001;
                }
                transferItems_.add(
                    input.readMessage(emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem.parser(), extensionRegistry));
                break;
              }
              case 88: {
  
                isFlashCard_ = input.readBool();
                break;
              }
              case 98: {
                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                  tokenItemList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam>();
                  mutable_bitField0_ |= 0x00000002;
                }
                tokenItemList_.add(
                    input.readMessage(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.parser(), extensionRegistry));
                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 {
          if (((mutable_bitField0_ & 0x00000001) != 0)) {
            transferItems_ = java.util.Collections.unmodifiableList(transferItems_);
          }
          if (((mutable_bitField0_ & 0x00000002) != 0)) {
            tokenItemList_ = java.util.Collections.unmodifiableList(tokenItemList_);
          }
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.GachaItemOuterClass.internal_static_GachaItem_descriptor;
      }
  
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.GachaItemOuterClass.internal_static_GachaItem_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem.class, emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem.Builder.class);
      }
  
      public static final int TRANSFERITEMS_FIELD_NUMBER = 10;
      private java.util.List<emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem> transferItems_;
      /**
       * <code>repeated .GachaTransferItem transferItems = 10;</code>
       */
      @java.lang.Override
      public java.util.List<emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem> getTransferItemsList() {
        return transferItems_;
      }
      /**
       * <code>repeated .GachaTransferItem transferItems = 10;</code>
       */
      @java.lang.Override
      public java.util.List<? extends emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItemOrBuilder> 
          getTransferItemsOrBuilderList() {
        return transferItems_;
      }
      /**
       * <code>repeated .GachaTransferItem transferItems = 10;</code>
       */
      @java.lang.Override
      public int getTransferItemsCount() {
        return transferItems_.size();
      }
      /**
       * <code>repeated .GachaTransferItem transferItems = 10;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem getTransferItems(int index) {
        return transferItems_.get(index);
      }
      /**
       * <code>repeated .GachaTransferItem transferItems = 10;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItemOrBuilder getTransferItemsOrBuilder(
          int index) {
        return transferItems_.get(index);
      }
  
      public static final int ISGACHAITEMNEW_FIELD_NUMBER = 9;
      private boolean isGachaItemNew_;
      /**
       * <code>bool isGachaItemNew = 9;</code>
       * @return The isGachaItemNew.
       */
      @java.lang.Override
      public boolean getIsGachaItemNew() {
        return isGachaItemNew_;
      }
  
      public static final int TOKENITEMLIST_FIELD_NUMBER = 12;
      private java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> tokenItemList_;
      /**
       * <code>repeated .ItemParam tokenItemList = 12;</code>
       */
      @java.lang.Override
      public java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> getTokenItemListList() {
        return tokenItemList_;
      }
      /**
       * <code>repeated .ItemParam tokenItemList = 12;</code>
       */
      @java.lang.Override
      public java.util.List<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> 
          getTokenItemListOrBuilderList() {
        return tokenItemList_;
      }
      /**
       * <code>repeated .ItemParam tokenItemList = 12;</code>
       */
      @java.lang.Override
      public int getTokenItemListCount() {
        return tokenItemList_.size();
      }
      /**
       * <code>repeated .ItemParam tokenItemList = 12;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getTokenItemList(int index) {
        return tokenItemList_.get(index);
      }
      /**
       * <code>repeated .ItemParam tokenItemList = 12;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getTokenItemListOrBuilder(
          int index) {
        return tokenItemList_.get(index);
      }
  
      public static final int GACHAITEM_FIELD_NUMBER = 4;
      private emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam gachaItem_;
      /**
       * <code>.ItemParam gachaItem = 4;</code>
       * @return Whether the gachaItem field is set.
       */
      @java.lang.Override
      public boolean hasGachaItem() {
        return gachaItem_ != null;
      }
      /**
       * <code>.ItemParam gachaItem = 4;</code>
       * @return The gachaItem.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getGachaItem() {
        return gachaItem_ == null ? emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance() : gachaItem_;
      }
      /**
       * <code>.ItemParam gachaItem = 4;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getGachaItemOrBuilder() {
        return getGachaItem();
      }
  
      public static final int ISFLASHCARD_FIELD_NUMBER = 11;
      private boolean isFlashCard_;
      /**
       * <code>bool isFlashCard = 11;</code>
       * @return The isFlashCard.
       */
      @java.lang.Override
      public boolean getIsFlashCard() {
        return isFlashCard_;
      }
  
      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 (gachaItem_ != null) {
          output.writeMessage(4, getGachaItem());
        }
        if (isGachaItemNew_ != false) {
          output.writeBool(9, isGachaItemNew_);
        }
        for (int i = 0; i < transferItems_.size(); i++) {
          output.writeMessage(10, transferItems_.get(i));
        }
        if (isFlashCard_ != false) {
          output.writeBool(11, isFlashCard_);
        }
        for (int i = 0; i < tokenItemList_.size(); i++) {
          output.writeMessage(12, tokenItemList_.get(i));
        }
        unknownFields.writeTo(output);
      }
  
      @java.lang.Override
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        if (gachaItem_ != null) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(4, getGachaItem());
        }
        if (isGachaItemNew_ != false) {
          size += com.google.protobuf.CodedOutputStream
            .computeBoolSize(9, isGachaItemNew_);
        }
        for (int i = 0; i < transferItems_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(10, transferItems_.get(i));
        }
        if (isFlashCard_ != false) {
          size += com.google.protobuf.CodedOutputStream
            .computeBoolSize(11, isFlashCard_);
        }
        for (int i = 0; i < tokenItemList_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(12, tokenItemList_.get(i));
        }
        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.GachaItemOuterClass.GachaItem)) {
          return super.equals(obj);
        }
        emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem other = (emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem) obj;
  
        if (!getTransferItemsList()
            .equals(other.getTransferItemsList())) return false;
        if (getIsGachaItemNew()
            != other.getIsGachaItemNew()) return false;
        if (!getTokenItemListList()
            .equals(other.getTokenItemListList())) return false;
        if (hasGachaItem() != other.hasGachaItem()) return false;
        if (hasGachaItem()) {
          if (!getGachaItem()
              .equals(other.getGachaItem())) return false;
        }
        if (getIsFlashCard()
            != other.getIsFlashCard()) return false;
        if (!unknownFields.equals(other.unknownFields)) return false;
        return true;
      }
  
      @java.lang.Override
      public int hashCode() {
        if (memoizedHashCode != 0) {
          return memoizedHashCode;
        }
        int hash = 41;
        hash = (19 * hash) + getDescriptor().hashCode();
        if (getTransferItemsCount() > 0) {
          hash = (37 * hash) + TRANSFERITEMS_FIELD_NUMBER;
          hash = (53 * hash) + getTransferItemsList().hashCode();
        }
        hash = (37 * hash) + ISGACHAITEMNEW_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
            getIsGachaItemNew());
        if (getTokenItemListCount() > 0) {
          hash = (37 * hash) + TOKENITEMLIST_FIELD_NUMBER;
          hash = (53 * hash) + getTokenItemListList().hashCode();
        }
        if (hasGachaItem()) {
          hash = (37 * hash) + GACHAITEM_FIELD_NUMBER;
          hash = (53 * hash) + getGachaItem().hashCode();
        }
        hash = (37 * hash) + ISFLASHCARD_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
            getIsFlashCard());
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }
  
      public static emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem 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.GachaItemOuterClass.GachaItem parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem 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.GachaItemOuterClass.GachaItem parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem 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.GachaItemOuterClass.GachaItem parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem 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.GachaItemOuterClass.GachaItem parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem 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.GachaItemOuterClass.GachaItem 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 GachaItem}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:GachaItem)
          emu.grasscutter.net.proto.GachaItemOuterClass.GachaItemOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return emu.grasscutter.net.proto.GachaItemOuterClass.internal_static_GachaItem_descriptor;
        }
  
        @java.lang.Override
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return emu.grasscutter.net.proto.GachaItemOuterClass.internal_static_GachaItem_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem.class, emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem.Builder.class);
        }
  
        // Construct using emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }
  
        private Builder(
            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          super(parent);
          maybeForceBuilderInitialization();
        }
        private void maybeForceBuilderInitialization() {
          if (com.google.protobuf.GeneratedMessageV3
                  .alwaysUseFieldBuilders) {
            getTransferItemsFieldBuilder();
            getTokenItemListFieldBuilder();
          }
        }
        @java.lang.Override
        public Builder clear() {
          super.clear();
          if (transferItemsBuilder_ == null) {
            transferItems_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            transferItemsBuilder_.clear();
          }
          isGachaItemNew_ = false;
  
          if (tokenItemListBuilder_ == null) {
            tokenItemList_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            tokenItemListBuilder_.clear();
          }
          if (gachaItemBuilder_ == null) {
            gachaItem_ = null;
          } else {
            gachaItem_ = null;
            gachaItemBuilder_ = null;
          }
          isFlashCard_ = false;
  
          return this;
        }
  
        @java.lang.Override
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return emu.grasscutter.net.proto.GachaItemOuterClass.internal_static_GachaItem_descriptor;
        }
  
        @java.lang.Override
        public emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem getDefaultInstanceForType() {
          return emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem.getDefaultInstance();
        }
  
        @java.lang.Override
        public emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem build() {
          emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        @java.lang.Override
        public emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem buildPartial() {
          emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem result = new emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem(this);
          int from_bitField0_ = bitField0_;
          if (transferItemsBuilder_ == null) {
            if (((bitField0_ & 0x00000001) != 0)) {
              transferItems_ = java.util.Collections.unmodifiableList(transferItems_);
              bitField0_ = (bitField0_ & ~0x00000001);
            }
            result.transferItems_ = transferItems_;
          } else {
            result.transferItems_ = transferItemsBuilder_.build();
          }
          result.isGachaItemNew_ = isGachaItemNew_;
          if (tokenItemListBuilder_ == null) {
            if (((bitField0_ & 0x00000002) != 0)) {
              tokenItemList_ = java.util.Collections.unmodifiableList(tokenItemList_);
              bitField0_ = (bitField0_ & ~0x00000002);
            }
            result.tokenItemList_ = tokenItemList_;
          } else {
            result.tokenItemList_ = tokenItemListBuilder_.build();
          }
          if (gachaItemBuilder_ == null) {
            result.gachaItem_ = gachaItem_;
          } else {
            result.gachaItem_ = gachaItemBuilder_.build();
          }
          result.isFlashCard_ = isFlashCard_;
          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.GachaItemOuterClass.GachaItem) {
            return mergeFrom((emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem other) {
          if (other == emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem.getDefaultInstance()) return this;
          if (transferItemsBuilder_ == null) {
            if (!other.transferItems_.isEmpty()) {
              if (transferItems_.isEmpty()) {
                transferItems_ = other.transferItems_;
                bitField0_ = (bitField0_ & ~0x00000001);
              } else {
                ensureTransferItemsIsMutable();
                transferItems_.addAll(other.transferItems_);
              }
              onChanged();
            }
          } else {
            if (!other.transferItems_.isEmpty()) {
              if (transferItemsBuilder_.isEmpty()) {
                transferItemsBuilder_.dispose();
                transferItemsBuilder_ = null;
                transferItems_ = other.transferItems_;
                bitField0_ = (bitField0_ & ~0x00000001);
                transferItemsBuilder_ = 
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getTransferItemsFieldBuilder() : null;
              } else {
                transferItemsBuilder_.addAllMessages(other.transferItems_);
              }
            }
          }
          if (other.getIsGachaItemNew() != false) {
            setIsGachaItemNew(other.getIsGachaItemNew());
          }
          if (tokenItemListBuilder_ == null) {
            if (!other.tokenItemList_.isEmpty()) {
              if (tokenItemList_.isEmpty()) {
                tokenItemList_ = other.tokenItemList_;
                bitField0_ = (bitField0_ & ~0x00000002);
              } else {
                ensureTokenItemListIsMutable();
                tokenItemList_.addAll(other.tokenItemList_);
              }
              onChanged();
            }
          } else {
            if (!other.tokenItemList_.isEmpty()) {
              if (tokenItemListBuilder_.isEmpty()) {
                tokenItemListBuilder_.dispose();
                tokenItemListBuilder_ = null;
                tokenItemList_ = other.tokenItemList_;
                bitField0_ = (bitField0_ & ~0x00000002);
                tokenItemListBuilder_ = 
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getTokenItemListFieldBuilder() : null;
              } else {
                tokenItemListBuilder_.addAllMessages(other.tokenItemList_);
              }
            }
          }
          if (other.hasGachaItem()) {
            mergeGachaItem(other.getGachaItem());
          }
          if (other.getIsFlashCard() != false) {
            setIsFlashCard(other.getIsFlashCard());
          }
          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.GachaItemOuterClass.GachaItem parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;
  
        private java.util.List<emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem> transferItems_ =
          java.util.Collections.emptyList();
        private void ensureTransferItemsIsMutable() {
          if (!((bitField0_ & 0x00000001) != 0)) {
            transferItems_ = new java.util.ArrayList<emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem>(transferItems_);
            bitField0_ |= 0x00000001;
           }
        }
  
        private com.google.protobuf.RepeatedFieldBuilderV3<
            emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem, emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem.Builder, emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItemOrBuilder> transferItemsBuilder_;
  
        /**
         * <code>repeated .GachaTransferItem transferItems = 10;</code>
         */
        public java.util.List<emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem> getTransferItemsList() {
          if (transferItemsBuilder_ == null) {
            return java.util.Collections.unmodifiableList(transferItems_);
          } else {
            return transferItemsBuilder_.getMessageList();
          }
        }
        /**
         * <code>repeated .GachaTransferItem transferItems = 10;</code>
         */
        public int getTransferItemsCount() {
          if (transferItemsBuilder_ == null) {
            return transferItems_.size();
          } else {
            return transferItemsBuilder_.getCount();
          }
        }
        /**
         * <code>repeated .GachaTransferItem transferItems = 10;</code>
         */
        public emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem getTransferItems(int index) {
          if (transferItemsBuilder_ == null) {
            return transferItems_.get(index);
          } else {
            return transferItemsBuilder_.getMessage(index);
          }
        }
        /**
         * <code>repeated .GachaTransferItem transferItems = 10;</code>
         */
        public Builder setTransferItems(
            int index, emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem value) {
          if (transferItemsBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureTransferItemsIsMutable();
            transferItems_.set(index, value);
            onChanged();
          } else {
            transferItemsBuilder_.setMessage(index, value);
          }
          return this;
        }
        /**
         * <code>repeated .GachaTransferItem transferItems = 10;</code>
         */
        public Builder setTransferItems(
            int index, emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem.Builder builderForValue) {
          if (transferItemsBuilder_ == null) {
            ensureTransferItemsIsMutable();
            transferItems_.set(index, builderForValue.build());
            onChanged();
          } else {
            transferItemsBuilder_.setMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .GachaTransferItem transferItems = 10;</code>
         */
        public Builder addTransferItems(emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem value) {
          if (transferItemsBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureTransferItemsIsMutable();
            transferItems_.add(value);
            onChanged();
          } else {
            transferItemsBuilder_.addMessage(value);
          }
          return this;
        }
        /**
         * <code>repeated .GachaTransferItem transferItems = 10;</code>
         */
        public Builder addTransferItems(
            int index, emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem value) {
          if (transferItemsBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureTransferItemsIsMutable();
            transferItems_.add(index, value);
            onChanged();
          } else {
            transferItemsBuilder_.addMessage(index, value);
          }
          return this;
        }
        /**
         * <code>repeated .GachaTransferItem transferItems = 10;</code>
         */
        public Builder addTransferItems(
            emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem.Builder builderForValue) {
          if (transferItemsBuilder_ == null) {
            ensureTransferItemsIsMutable();
            transferItems_.add(builderForValue.build());
            onChanged();
          } else {
            transferItemsBuilder_.addMessage(builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .GachaTransferItem transferItems = 10;</code>
         */
        public Builder addTransferItems(
            int index, emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem.Builder builderForValue) {
          if (transferItemsBuilder_ == null) {
            ensureTransferItemsIsMutable();
            transferItems_.add(index, builderForValue.build());
            onChanged();
          } else {
            transferItemsBuilder_.addMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .GachaTransferItem transferItems = 10;</code>
         */
        public Builder addAllTransferItems(
            java.lang.Iterable<? extends emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem> values) {
          if (transferItemsBuilder_ == null) {
            ensureTransferItemsIsMutable();
            com.google.protobuf.AbstractMessageLite.Builder.addAll(
                values, transferItems_);
            onChanged();
          } else {
            transferItemsBuilder_.addAllMessages(values);
          }
          return this;
        }
        /**
         * <code>repeated .GachaTransferItem transferItems = 10;</code>
         */
        public Builder clearTransferItems() {
          if (transferItemsBuilder_ == null) {
            transferItems_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
            onChanged();
          } else {
            transferItemsBuilder_.clear();
          }
          return this;
        }
        /**
         * <code>repeated .GachaTransferItem transferItems = 10;</code>
         */
        public Builder removeTransferItems(int index) {
          if (transferItemsBuilder_ == null) {
            ensureTransferItemsIsMutable();
            transferItems_.remove(index);
            onChanged();
          } else {
            transferItemsBuilder_.remove(index);
          }
          return this;
        }
        /**
         * <code>repeated .GachaTransferItem transferItems = 10;</code>
         */
        public emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem.Builder getTransferItemsBuilder(
            int index) {
          return getTransferItemsFieldBuilder().getBuilder(index);
        }
        /**
         * <code>repeated .GachaTransferItem transferItems = 10;</code>
         */
        public emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItemOrBuilder getTransferItemsOrBuilder(
            int index) {
          if (transferItemsBuilder_ == null) {
            return transferItems_.get(index);  } else {
            return transferItemsBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         * <code>repeated .GachaTransferItem transferItems = 10;</code>
         */
        public java.util.List<? extends emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItemOrBuilder> 
             getTransferItemsOrBuilderList() {
          if (transferItemsBuilder_ != null) {
            return transferItemsBuilder_.getMessageOrBuilderList();
          } else {
            return java.util.Collections.unmodifiableList(transferItems_);
          }
        }
        /**
         * <code>repeated .GachaTransferItem transferItems = 10;</code>
         */
        public emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem.Builder addTransferItemsBuilder() {
          return getTransferItemsFieldBuilder().addBuilder(
              emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem.getDefaultInstance());
        }
        /**
         * <code>repeated .GachaTransferItem transferItems = 10;</code>
         */
        public emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem.Builder addTransferItemsBuilder(
            int index) {
          return getTransferItemsFieldBuilder().addBuilder(
              index, emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem.getDefaultInstance());
        }
        /**
         * <code>repeated .GachaTransferItem transferItems = 10;</code>
         */
        public java.util.List<emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem.Builder> 
             getTransferItemsBuilderList() {
          return getTransferItemsFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem, emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem.Builder, emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItemOrBuilder> 
            getTransferItemsFieldBuilder() {
          if (transferItemsBuilder_ == null) {
            transferItemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem, emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem.Builder, emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItemOrBuilder>(
                    transferItems_,
                    ((bitField0_ & 0x00000001) != 0),
                    getParentForChildren(),
                    isClean());
            transferItems_ = null;
          }
          return transferItemsBuilder_;
        }
  
        private boolean isGachaItemNew_ ;
        /**
         * <code>bool isGachaItemNew = 9;</code>
         * @return The isGachaItemNew.
         */
        @java.lang.Override
        public boolean getIsGachaItemNew() {
          return isGachaItemNew_;
        }
        /**
         * <code>bool isGachaItemNew = 9;</code>
         * @param value The isGachaItemNew to set.
         * @return This builder for chaining.
         */
        public Builder setIsGachaItemNew(boolean value) {
          
          isGachaItemNew_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>bool isGachaItemNew = 9;</code>
         * @return This builder for chaining.
         */
        public Builder clearIsGachaItemNew() {
          
          isGachaItemNew_ = false;
          onChanged();
          return this;
        }
  
        private java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> tokenItemList_ =
          java.util.Collections.emptyList();
        private void ensureTokenItemListIsMutable() {
          if (!((bitField0_ & 0x00000002) != 0)) {
            tokenItemList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam>(tokenItemList_);
            bitField0_ |= 0x00000002;
           }
        }
  
        private com.google.protobuf.RepeatedFieldBuilderV3<
            emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> tokenItemListBuilder_;
  
        /**
         * <code>repeated .ItemParam tokenItemList = 12;</code>
         */
        public java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> getTokenItemListList() {
          if (tokenItemListBuilder_ == null) {
            return java.util.Collections.unmodifiableList(tokenItemList_);
          } else {
            return tokenItemListBuilder_.getMessageList();
          }
        }
        /**
         * <code>repeated .ItemParam tokenItemList = 12;</code>
         */
        public int getTokenItemListCount() {
          if (tokenItemListBuilder_ == null) {
            return tokenItemList_.size();
          } else {
            return tokenItemListBuilder_.getCount();
          }
        }
        /**
         * <code>repeated .ItemParam tokenItemList = 12;</code>
         */
        public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getTokenItemList(int index) {
          if (tokenItemListBuilder_ == null) {
            return tokenItemList_.get(index);
          } else {
            return tokenItemListBuilder_.getMessage(index);
          }
        }
        /**
         * <code>repeated .ItemParam tokenItemList = 12;</code>
         */
        public Builder setTokenItemList(
            int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
          if (tokenItemListBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureTokenItemListIsMutable();
            tokenItemList_.set(index, value);
            onChanged();
          } else {
            tokenItemListBuilder_.setMessage(index, value);
          }
          return this;
        }
        /**
         * <code>repeated .ItemParam tokenItemList = 12;</code>
         */
        public Builder setTokenItemList(
            int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder builderForValue) {
          if (tokenItemListBuilder_ == null) {
            ensureTokenItemListIsMutable();
            tokenItemList_.set(index, builderForValue.build());
            onChanged();
          } else {
            tokenItemListBuilder_.setMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .ItemParam tokenItemList = 12;</code>
         */
        public Builder addTokenItemList(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
          if (tokenItemListBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureTokenItemListIsMutable();
            tokenItemList_.add(value);
            onChanged();
          } else {
            tokenItemListBuilder_.addMessage(value);
          }
          return this;
        }
        /**
         * <code>repeated .ItemParam tokenItemList = 12;</code>
         */
        public Builder addTokenItemList(
            int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
          if (tokenItemListBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureTokenItemListIsMutable();
            tokenItemList_.add(index, value);
            onChanged();
          } else {
            tokenItemListBuilder_.addMessage(index, value);
          }
          return this;
        }
        /**
         * <code>repeated .ItemParam tokenItemList = 12;</code>
         */
        public Builder addTokenItemList(
            emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder builderForValue) {
          if (tokenItemListBuilder_ == null) {
            ensureTokenItemListIsMutable();
            tokenItemList_.add(builderForValue.build());
            onChanged();
          } else {
            tokenItemListBuilder_.addMessage(builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .ItemParam tokenItemList = 12;</code>
         */
        public Builder addTokenItemList(
            int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder builderForValue) {
          if (tokenItemListBuilder_ == null) {
            ensureTokenItemListIsMutable();
            tokenItemList_.add(index, builderForValue.build());
            onChanged();
          } else {
            tokenItemListBuilder_.addMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .ItemParam tokenItemList = 12;</code>
         */
        public Builder addAllTokenItemList(
            java.lang.Iterable<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> values) {
          if (tokenItemListBuilder_ == null) {
            ensureTokenItemListIsMutable();
            com.google.protobuf.AbstractMessageLite.Builder.addAll(
                values, tokenItemList_);
            onChanged();
          } else {
            tokenItemListBuilder_.addAllMessages(values);
          }
          return this;
        }
        /**
         * <code>repeated .ItemParam tokenItemList = 12;</code>
         */
        public Builder clearTokenItemList() {
          if (tokenItemListBuilder_ == null) {
            tokenItemList_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000002);
            onChanged();
          } else {
            tokenItemListBuilder_.clear();
          }
          return this;
        }
        /**
         * <code>repeated .ItemParam tokenItemList = 12;</code>
         */
        public Builder removeTokenItemList(int index) {
          if (tokenItemListBuilder_ == null) {
            ensureTokenItemListIsMutable();
            tokenItemList_.remove(index);
            onChanged();
          } else {
            tokenItemListBuilder_.remove(index);
          }
          return this;
        }
        /**
         * <code>repeated .ItemParam tokenItemList = 12;</code>
         */
        public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder getTokenItemListBuilder(
            int index) {
          return getTokenItemListFieldBuilder().getBuilder(index);
        }
        /**
         * <code>repeated .ItemParam tokenItemList = 12;</code>
         */
        public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getTokenItemListOrBuilder(
            int index) {
          if (tokenItemListBuilder_ == null) {
            return tokenItemList_.get(index);  } else {
            return tokenItemListBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         * <code>repeated .ItemParam tokenItemList = 12;</code>
         */
        public java.util.List<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> 
             getTokenItemListOrBuilderList() {
          if (tokenItemListBuilder_ != null) {
            return tokenItemListBuilder_.getMessageOrBuilderList();
          } else {
            return java.util.Collections.unmodifiableList(tokenItemList_);
          }
        }
        /**
         * <code>repeated .ItemParam tokenItemList = 12;</code>
         */
        public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder addTokenItemListBuilder() {
          return getTokenItemListFieldBuilder().addBuilder(
              emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance());
        }
        /**
         * <code>repeated .ItemParam tokenItemList = 12;</code>
         */
        public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder addTokenItemListBuilder(
            int index) {
          return getTokenItemListFieldBuilder().addBuilder(
              index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance());
        }
        /**
         * <code>repeated .ItemParam tokenItemList = 12;</code>
         */
        public java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder> 
             getTokenItemListBuilderList() {
          return getTokenItemListFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> 
            getTokenItemListFieldBuilder() {
          if (tokenItemListBuilder_ == null) {
            tokenItemListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder>(
                    tokenItemList_,
                    ((bitField0_ & 0x00000002) != 0),
                    getParentForChildren(),
                    isClean());
            tokenItemList_ = null;
          }
          return tokenItemListBuilder_;
        }
  
        private emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam gachaItem_;
        private com.google.protobuf.SingleFieldBuilderV3<
            emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> gachaItemBuilder_;
        /**
         * <code>.ItemParam gachaItem = 4;</code>
         * @return Whether the gachaItem field is set.
         */
        public boolean hasGachaItem() {
          return gachaItemBuilder_ != null || gachaItem_ != null;
        }
        /**
         * <code>.ItemParam gachaItem = 4;</code>
         * @return The gachaItem.
         */
        public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getGachaItem() {
          if (gachaItemBuilder_ == null) {
            return gachaItem_ == null ? emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance() : gachaItem_;
          } else {
            return gachaItemBuilder_.getMessage();
          }
        }
        /**
         * <code>.ItemParam gachaItem = 4;</code>
         */
        public Builder setGachaItem(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
          if (gachaItemBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            gachaItem_ = value;
            onChanged();
          } else {
            gachaItemBuilder_.setMessage(value);
          }
  
          return this;
        }
        /**
         * <code>.ItemParam gachaItem = 4;</code>
         */
        public Builder setGachaItem(
            emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder builderForValue) {
          if (gachaItemBuilder_ == null) {
            gachaItem_ = builderForValue.build();
            onChanged();
          } else {
            gachaItemBuilder_.setMessage(builderForValue.build());
          }
  
          return this;
        }
        /**
         * <code>.ItemParam gachaItem = 4;</code>
         */
        public Builder mergeGachaItem(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
          if (gachaItemBuilder_ == null) {
            if (gachaItem_ != null) {
              gachaItem_ =
                emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.newBuilder(gachaItem_).mergeFrom(value).buildPartial();
            } else {
              gachaItem_ = value;
            }
            onChanged();
          } else {
            gachaItemBuilder_.mergeFrom(value);
          }
  
          return this;
        }
        /**
         * <code>.ItemParam gachaItem = 4;</code>
         */
        public Builder clearGachaItem() {
          if (gachaItemBuilder_ == null) {
            gachaItem_ = null;
            onChanged();
          } else {
            gachaItem_ = null;
            gachaItemBuilder_ = null;
          }
  
          return this;
        }
        /**
         * <code>.ItemParam gachaItem = 4;</code>
         */
        public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder getGachaItemBuilder() {
          
          onChanged();
          return getGachaItemFieldBuilder().getBuilder();
        }
        /**
         * <code>.ItemParam gachaItem = 4;</code>
         */
        public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getGachaItemOrBuilder() {
          if (gachaItemBuilder_ != null) {
            return gachaItemBuilder_.getMessageOrBuilder();
          } else {
            return gachaItem_ == null ?
                emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance() : gachaItem_;
          }
        }
        /**
         * <code>.ItemParam gachaItem = 4;</code>
         */
        private com.google.protobuf.SingleFieldBuilderV3<
            emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> 
            getGachaItemFieldBuilder() {
          if (gachaItemBuilder_ == null) {
            gachaItemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder>(
                    getGachaItem(),
                    getParentForChildren(),
                    isClean());
            gachaItem_ = null;
          }
          return gachaItemBuilder_;
        }
  
        private boolean isFlashCard_ ;
        /**
         * <code>bool isFlashCard = 11;</code>
         * @return The isFlashCard.
         */
        @java.lang.Override
        public boolean getIsFlashCard() {
          return isFlashCard_;
        }
        /**
         * <code>bool isFlashCard = 11;</code>
         * @param value The isFlashCard to set.
         * @return This builder for chaining.
         */
        public Builder setIsFlashCard(boolean value) {
          
          isFlashCard_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>bool isFlashCard = 11;</code>
         * @return This builder for chaining.
         */
        public Builder clearIsFlashCard() {
          
          isFlashCard_ = false;
          onChanged();
          return this;
        }
        @java.lang.Override
        public final Builder setUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.setUnknownFields(unknownFields);
        }
  
        @java.lang.Override
        public final Builder mergeUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.mergeUnknownFields(unknownFields);
        }
  
  
        // @@protoc_insertion_point(builder_scope:GachaItem)
      }
  
      // @@protoc_insertion_point(class_scope:GachaItem)
      private static final emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem();
      }
  
      public static emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }
  
      private static final com.google.protobuf.Parser<GachaItem>
          PARSER = new com.google.protobuf.AbstractParser<GachaItem>() {
        @java.lang.Override
        public GachaItem parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new GachaItem(input, extensionRegistry);
        }
      };
  
      public static com.google.protobuf.Parser<GachaItem> parser() {
        return PARSER;
      }
  
      @java.lang.Override
      public com.google.protobuf.Parser<GachaItem> getParserForType() {
        return PARSER;
      }
  
      @java.lang.Override
      public emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_GachaItem_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_GachaItem_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\017GachaItem.proto\032\017ItemParam.proto\032\027Gach" +
        "aTransferItem.proto\"\245\001\n\tGachaItem\022)\n\rtra" +
        "nsferItems\030\n \003(\0132\022.GachaTransferItem\022\026\n\016" +
        "isGachaItemNew\030\t \001(\010\022!\n\rtokenItemList\030\014 " +
        "\003(\0132\n.ItemParam\022\035\n\tgachaItem\030\004 \001(\0132\n.Ite" +
        "mParam\022\023\n\013isFlashCard\030\013 \001(\010B\033\n\031emu.grass" +
        "cutter.net.protob\006proto3"
      };
      descriptor = com.google.protobuf.Descriptors.FileDescriptor
        .internalBuildGeneratedFileFrom(descriptorData,
          new com.google.protobuf.Descriptors.FileDescriptor[] {
            emu.grasscutter.net.proto.ItemParamOuterClass.getDescriptor(),
            emu.grasscutter.net.proto.GachaTransferItemOuterClass.getDescriptor(),
          });
      internal_static_GachaItem_descriptor =
        getDescriptor().getMessageTypes().get(0);
      internal_static_GachaItem_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_GachaItem_descriptor,
          new java.lang.String[] { "TransferItems", "IsGachaItemNew", "TokenItemList", "GachaItem", "IsFlashCard", });
      emu.grasscutter.net.proto.ItemParamOuterClass.getDescriptor();
      emu.grasscutter.net.proto.GachaTransferItemOuterClass.getDescriptor();
    }
  
    // @@protoc_insertion_point(outer_class_scope)
  }
  