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

package emu.grasscutter.net.proto;

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

    /**
     * <code>int32 retcode = 4;</code>
     * @return The retcode.
     */
    int getRetcode();

    /**
     * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
     */
    java.util.List<emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo> 
        getWoodInfoListList();
    /**
     * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
     */
    emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo getWoodInfoList(int index);
    /**
     * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
     */
    int getWoodInfoListCount();
    /**
     * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfoOrBuilder> 
        getWoodInfoListOrBuilderList();
    /**
     * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
     */
    emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfoOrBuilder getWoodInfoListOrBuilder(
        int index);
  }
  /**
   * <pre>
   * CmdId: 4480
   * Name: HGKMIEPCCCJ
   * </pre>
   *
   * Protobuf type {@code GetHomeExchangeWoodInfoRsp}
   */
  public static final class GetHomeExchangeWoodInfoRsp extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:GetHomeExchangeWoodInfoRsp)
      GetHomeExchangeWoodInfoRspOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetHomeExchangeWoodInfoRsp.newBuilder() to construct.
    private GetHomeExchangeWoodInfoRsp(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private GetHomeExchangeWoodInfoRsp() {
      woodInfoList_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetHomeExchangeWoodInfoRsp(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 26: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                woodInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo>();
                mutable_bitField0_ |= 0x00000001;
              }
              woodInfoList_.add(
                  input.readMessage(emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.parser(), extensionRegistry));
              break;
            }
            case 32: {

              retcode_ = input.readInt32();
              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)) {
          woodInfoList_ = java.util.Collections.unmodifiableList(woodInfoList_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.internal_static_GetHomeExchangeWoodInfoRsp_descriptor;
    }

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

    public interface HomeExchangeWoodInfoOrBuilder extends
        // @@protoc_insertion_point(interface_extends:GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo)
        com.google.protobuf.MessageOrBuilder {

      /**
       * <code>uint32 exchangedCount = 14;</code>
       * @return The exchangedCount.
       */
      int getExchangedCount();

      /**
       * <code>uint32 wood_id = 8;</code>
       * @return The woodId.
       */
      int getWoodId();

      /**
       * <code>uint32 exchangeLimit = 9;</code>
       * @return The exchangeLimit.
       */
      int getExchangeLimit();

      /**
       * <code>fixed32 next_refresh_time = 1;</code>
       * @return The nextRefreshTime.
       */
      int getNextRefreshTime();
    }
    /**
     * <pre>
     * Name: FOLINBPAHGO
     * </pre>
     *
     * Protobuf type {@code GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo}
     */
    public static final class HomeExchangeWoodInfo extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo)
        HomeExchangeWoodInfoOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use HomeExchangeWoodInfo.newBuilder() to construct.
      private HomeExchangeWoodInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private HomeExchangeWoodInfo() {
      }

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

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

                nextRefreshTime_ = input.readFixed32();
                break;
              }
              case 64: {

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

                exchangeLimit_ = input.readUInt32();
                break;
              }
              case 112: {

                exchangedCount_ = input.readUInt32();
                break;
              }
              default: {
                if (!parseUnknownField(
                    input, unknownFields, extensionRegistry, tag)) {
                  done = true;
                }
                break;
              }
            }
          }
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(this);
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(
              e).setUnfinishedMessage(this);
        } finally {
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.internal_static_GetHomeExchangeWoodInfoRsp_HomeExchangeWoodInfo_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.internal_static_GetHomeExchangeWoodInfoRsp_HomeExchangeWoodInfo_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.class, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.Builder.class);
      }

      public static final int EXCHANGEDCOUNT_FIELD_NUMBER = 14;
      private int exchangedCount_;
      /**
       * <code>uint32 exchangedCount = 14;</code>
       * @return The exchangedCount.
       */
      @java.lang.Override
      public int getExchangedCount() {
        return exchangedCount_;
      }

      public static final int WOOD_ID_FIELD_NUMBER = 8;
      private int woodId_;
      /**
       * <code>uint32 wood_id = 8;</code>
       * @return The woodId.
       */
      @java.lang.Override
      public int getWoodId() {
        return woodId_;
      }

      public static final int EXCHANGELIMIT_FIELD_NUMBER = 9;
      private int exchangeLimit_;
      /**
       * <code>uint32 exchangeLimit = 9;</code>
       * @return The exchangeLimit.
       */
      @java.lang.Override
      public int getExchangeLimit() {
        return exchangeLimit_;
      }

      public static final int NEXT_REFRESH_TIME_FIELD_NUMBER = 1;
      private int nextRefreshTime_;
      /**
       * <code>fixed32 next_refresh_time = 1;</code>
       * @return The nextRefreshTime.
       */
      @java.lang.Override
      public int getNextRefreshTime() {
        return nextRefreshTime_;
      }

      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 (nextRefreshTime_ != 0) {
          output.writeFixed32(1, nextRefreshTime_);
        }
        if (woodId_ != 0) {
          output.writeUInt32(8, woodId_);
        }
        if (exchangeLimit_ != 0) {
          output.writeUInt32(9, exchangeLimit_);
        }
        if (exchangedCount_ != 0) {
          output.writeUInt32(14, exchangedCount_);
        }
        unknownFields.writeTo(output);
      }

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

        size = 0;
        if (nextRefreshTime_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeFixed32Size(1, nextRefreshTime_);
        }
        if (woodId_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32Size(8, woodId_);
        }
        if (exchangeLimit_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32Size(9, exchangeLimit_);
        }
        if (exchangedCount_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32Size(14, exchangedCount_);
        }
        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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo)) {
          return super.equals(obj);
        }
        emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo other = (emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo) obj;

        if (getExchangedCount()
            != other.getExchangedCount()) return false;
        if (getWoodId()
            != other.getWoodId()) return false;
        if (getExchangeLimit()
            != other.getExchangeLimit()) return false;
        if (getNextRefreshTime()
            != other.getNextRefreshTime()) 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();
        hash = (37 * hash) + EXCHANGEDCOUNT_FIELD_NUMBER;
        hash = (53 * hash) + getExchangedCount();
        hash = (37 * hash) + WOOD_ID_FIELD_NUMBER;
        hash = (53 * hash) + getWoodId();
        hash = (37 * hash) + EXCHANGELIMIT_FIELD_NUMBER;
        hash = (53 * hash) + getExchangeLimit();
        hash = (37 * hash) + NEXT_REFRESH_TIME_FIELD_NUMBER;
        hash = (53 * hash) + getNextRefreshTime();
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }

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

        @java.lang.Override
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.internal_static_GetHomeExchangeWoodInfoRsp_HomeExchangeWoodInfo_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.class, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.Builder.class);
        }

        // Construct using emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.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();
          exchangedCount_ = 0;

          woodId_ = 0;

          exchangeLimit_ = 0;

          nextRefreshTime_ = 0;

          return this;
        }

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

        @java.lang.Override
        public emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo getDefaultInstanceForType() {
          return emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.getDefaultInstance();
        }

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

        @java.lang.Override
        public emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo buildPartial() {
          emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo result = new emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo(this);
          result.exchangedCount_ = exchangedCount_;
          result.woodId_ = woodId_;
          result.exchangeLimit_ = exchangeLimit_;
          result.nextRefreshTime_ = nextRefreshTime_;
          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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo) {
            return mergeFrom((emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo other) {
          if (other == emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.getDefaultInstance()) return this;
          if (other.getExchangedCount() != 0) {
            setExchangedCount(other.getExchangedCount());
          }
          if (other.getWoodId() != 0) {
            setWoodId(other.getWoodId());
          }
          if (other.getExchangeLimit() != 0) {
            setExchangeLimit(other.getExchangeLimit());
          }
          if (other.getNextRefreshTime() != 0) {
            setNextRefreshTime(other.getNextRefreshTime());
          }
          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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }

        private int exchangedCount_ ;
        /**
         * <code>uint32 exchangedCount = 14;</code>
         * @return The exchangedCount.
         */
        @java.lang.Override
        public int getExchangedCount() {
          return exchangedCount_;
        }
        /**
         * <code>uint32 exchangedCount = 14;</code>
         * @param value The exchangedCount to set.
         * @return This builder for chaining.
         */
        public Builder setExchangedCount(int value) {
          
          exchangedCount_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint32 exchangedCount = 14;</code>
         * @return This builder for chaining.
         */
        public Builder clearExchangedCount() {
          
          exchangedCount_ = 0;
          onChanged();
          return this;
        }

        private int woodId_ ;
        /**
         * <code>uint32 wood_id = 8;</code>
         * @return The woodId.
         */
        @java.lang.Override
        public int getWoodId() {
          return woodId_;
        }
        /**
         * <code>uint32 wood_id = 8;</code>
         * @param value The woodId to set.
         * @return This builder for chaining.
         */
        public Builder setWoodId(int value) {
          
          woodId_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint32 wood_id = 8;</code>
         * @return This builder for chaining.
         */
        public Builder clearWoodId() {
          
          woodId_ = 0;
          onChanged();
          return this;
        }

        private int exchangeLimit_ ;
        /**
         * <code>uint32 exchangeLimit = 9;</code>
         * @return The exchangeLimit.
         */
        @java.lang.Override
        public int getExchangeLimit() {
          return exchangeLimit_;
        }
        /**
         * <code>uint32 exchangeLimit = 9;</code>
         * @param value The exchangeLimit to set.
         * @return This builder for chaining.
         */
        public Builder setExchangeLimit(int value) {
          
          exchangeLimit_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint32 exchangeLimit = 9;</code>
         * @return This builder for chaining.
         */
        public Builder clearExchangeLimit() {
          
          exchangeLimit_ = 0;
          onChanged();
          return this;
        }

        private int nextRefreshTime_ ;
        /**
         * <code>fixed32 next_refresh_time = 1;</code>
         * @return The nextRefreshTime.
         */
        @java.lang.Override
        public int getNextRefreshTime() {
          return nextRefreshTime_;
        }
        /**
         * <code>fixed32 next_refresh_time = 1;</code>
         * @param value The nextRefreshTime to set.
         * @return This builder for chaining.
         */
        public Builder setNextRefreshTime(int value) {
          
          nextRefreshTime_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>fixed32 next_refresh_time = 1;</code>
         * @return This builder for chaining.
         */
        public Builder clearNextRefreshTime() {
          
          nextRefreshTime_ = 0;
          onChanged();
          return this;
        }
        @java.lang.Override
        public final Builder setUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.setUnknownFields(unknownFields);
        }

        @java.lang.Override
        public final Builder mergeUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.mergeUnknownFields(unknownFields);
        }


        // @@protoc_insertion_point(builder_scope:GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo)
      }

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

      public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }

    }

    public static final int RETCODE_FIELD_NUMBER = 4;
    private int retcode_;
    /**
     * <code>int32 retcode = 4;</code>
     * @return The retcode.
     */
    @java.lang.Override
    public int getRetcode() {
      return retcode_;
    }

    public static final int WOOD_INFO_LIST_FIELD_NUMBER = 3;
    private java.util.List<emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo> woodInfoList_;
    /**
     * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo> getWoodInfoListList() {
      return woodInfoList_;
    }
    /**
     * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfoOrBuilder> 
        getWoodInfoListOrBuilderList() {
      return woodInfoList_;
    }
    /**
     * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
     */
    @java.lang.Override
    public int getWoodInfoListCount() {
      return woodInfoList_.size();
    }
    /**
     * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo getWoodInfoList(int index) {
      return woodInfoList_.get(index);
    }
    /**
     * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfoOrBuilder getWoodInfoListOrBuilder(
        int index) {
      return woodInfoList_.get(index);
    }

    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 {
      for (int i = 0; i < woodInfoList_.size(); i++) {
        output.writeMessage(3, woodInfoList_.get(i));
      }
      if (retcode_ != 0) {
        output.writeInt32(4, retcode_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < woodInfoList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, woodInfoList_.get(i));
      }
      if (retcode_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(4, retcode_);
      }
      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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp other = (emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp) obj;

      if (getRetcode()
          != other.getRetcode()) return false;
      if (!getWoodInfoListList()
          .equals(other.getWoodInfoListList())) 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();
      hash = (37 * hash) + RETCODE_FIELD_NUMBER;
      hash = (53 * hash) + getRetcode();
      if (getWoodInfoListCount() > 0) {
        hash = (37 * hash) + WOOD_INFO_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getWoodInfoListList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp 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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp 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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp 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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp 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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp 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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp 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;
    }
    /**
     * <pre>
     * CmdId: 4480
     * Name: HGKMIEPCCCJ
     * </pre>
     *
     * Protobuf type {@code GetHomeExchangeWoodInfoRsp}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:GetHomeExchangeWoodInfoRsp)
        emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRspOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.internal_static_GetHomeExchangeWoodInfoRsp_descriptor;
      }

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

      // Construct using emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getWoodInfoListFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        retcode_ = 0;

        if (woodInfoListBuilder_ == null) {
          woodInfoList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          woodInfoListBuilder_.clear();
        }
        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp buildPartial() {
        emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp result = new emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp(this);
        int from_bitField0_ = bitField0_;
        result.retcode_ = retcode_;
        if (woodInfoListBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            woodInfoList_ = java.util.Collections.unmodifiableList(woodInfoList_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.woodInfoList_ = woodInfoList_;
        } else {
          result.woodInfoList_ = woodInfoListBuilder_.build();
        }
        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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp) {
          return mergeFrom((emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp other) {
        if (other == emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.getDefaultInstance()) return this;
        if (other.getRetcode() != 0) {
          setRetcode(other.getRetcode());
        }
        if (woodInfoListBuilder_ == null) {
          if (!other.woodInfoList_.isEmpty()) {
            if (woodInfoList_.isEmpty()) {
              woodInfoList_ = other.woodInfoList_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureWoodInfoListIsMutable();
              woodInfoList_.addAll(other.woodInfoList_);
            }
            onChanged();
          }
        } else {
          if (!other.woodInfoList_.isEmpty()) {
            if (woodInfoListBuilder_.isEmpty()) {
              woodInfoListBuilder_.dispose();
              woodInfoListBuilder_ = null;
              woodInfoList_ = other.woodInfoList_;
              bitField0_ = (bitField0_ & ~0x00000001);
              woodInfoListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getWoodInfoListFieldBuilder() : null;
            } else {
              woodInfoListBuilder_.addAllMessages(other.woodInfoList_);
            }
          }
        }
        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.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int retcode_ ;
      /**
       * <code>int32 retcode = 4;</code>
       * @return The retcode.
       */
      @java.lang.Override
      public int getRetcode() {
        return retcode_;
      }
      /**
       * <code>int32 retcode = 4;</code>
       * @param value The retcode to set.
       * @return This builder for chaining.
       */
      public Builder setRetcode(int value) {
        
        retcode_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 retcode = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearRetcode() {
        
        retcode_ = 0;
        onChanged();
        return this;
      }

      private java.util.List<emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo> woodInfoList_ =
        java.util.Collections.emptyList();
      private void ensureWoodInfoListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          woodInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo>(woodInfoList_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.Builder, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfoOrBuilder> woodInfoListBuilder_;

      /**
       * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo> getWoodInfoListList() {
        if (woodInfoListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(woodInfoList_);
        } else {
          return woodInfoListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
       */
      public int getWoodInfoListCount() {
        if (woodInfoListBuilder_ == null) {
          return woodInfoList_.size();
        } else {
          return woodInfoListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
       */
      public emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo getWoodInfoList(int index) {
        if (woodInfoListBuilder_ == null) {
          return woodInfoList_.get(index);
        } else {
          return woodInfoListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
       */
      public Builder setWoodInfoList(
          int index, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo value) {
        if (woodInfoListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureWoodInfoListIsMutable();
          woodInfoList_.set(index, value);
          onChanged();
        } else {
          woodInfoListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
       */
      public Builder setWoodInfoList(
          int index, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.Builder builderForValue) {
        if (woodInfoListBuilder_ == null) {
          ensureWoodInfoListIsMutable();
          woodInfoList_.set(index, builderForValue.build());
          onChanged();
        } else {
          woodInfoListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
       */
      public Builder addWoodInfoList(emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo value) {
        if (woodInfoListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureWoodInfoListIsMutable();
          woodInfoList_.add(value);
          onChanged();
        } else {
          woodInfoListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
       */
      public Builder addWoodInfoList(
          int index, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo value) {
        if (woodInfoListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureWoodInfoListIsMutable();
          woodInfoList_.add(index, value);
          onChanged();
        } else {
          woodInfoListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
       */
      public Builder addWoodInfoList(
          emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.Builder builderForValue) {
        if (woodInfoListBuilder_ == null) {
          ensureWoodInfoListIsMutable();
          woodInfoList_.add(builderForValue.build());
          onChanged();
        } else {
          woodInfoListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
       */
      public Builder addWoodInfoList(
          int index, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.Builder builderForValue) {
        if (woodInfoListBuilder_ == null) {
          ensureWoodInfoListIsMutable();
          woodInfoList_.add(index, builderForValue.build());
          onChanged();
        } else {
          woodInfoListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
       */
      public Builder addAllWoodInfoList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo> values) {
        if (woodInfoListBuilder_ == null) {
          ensureWoodInfoListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, woodInfoList_);
          onChanged();
        } else {
          woodInfoListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
       */
      public Builder clearWoodInfoList() {
        if (woodInfoListBuilder_ == null) {
          woodInfoList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          woodInfoListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
       */
      public Builder removeWoodInfoList(int index) {
        if (woodInfoListBuilder_ == null) {
          ensureWoodInfoListIsMutable();
          woodInfoList_.remove(index);
          onChanged();
        } else {
          woodInfoListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
       */
      public emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.Builder getWoodInfoListBuilder(
          int index) {
        return getWoodInfoListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
       */
      public emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfoOrBuilder getWoodInfoListOrBuilder(
          int index) {
        if (woodInfoListBuilder_ == null) {
          return woodInfoList_.get(index);  } else {
          return woodInfoListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfoOrBuilder> 
           getWoodInfoListOrBuilderList() {
        if (woodInfoListBuilder_ != null) {
          return woodInfoListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(woodInfoList_);
        }
      }
      /**
       * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
       */
      public emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.Builder addWoodInfoListBuilder() {
        return getWoodInfoListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
       */
      public emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.Builder addWoodInfoListBuilder(
          int index) {
        return getWoodInfoListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo wood_info_list = 3;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.Builder> 
           getWoodInfoListBuilderList() {
        return getWoodInfoListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.Builder, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfoOrBuilder> 
          getWoodInfoListFieldBuilder() {
        if (woodInfoListBuilder_ == null) {
          woodInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfo.Builder, emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp.HomeExchangeWoodInfoOrBuilder>(
                  woodInfoList_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          woodInfoList_ = null;
        }
        return woodInfoListBuilder_;
      }
      @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:GetHomeExchangeWoodInfoRsp)
    }

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

    public static emu.grasscutter.net.proto.GetHomeExchangeWoodInfoRspOuterClass.GetHomeExchangeWoodInfoRsp getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_GetHomeExchangeWoodInfoRsp_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_GetHomeExchangeWoodInfoRsp_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_GetHomeExchangeWoodInfoRsp_HomeExchangeWoodInfo_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_GetHomeExchangeWoodInfoRsp_HomeExchangeWoodInfo_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 GetHomeExchangeWoodInfoRsp.proto\"\352\001\n\032G" +
      "etHomeExchangeWoodInfoRsp\022\017\n\007retcode\030\004 \001" +
      "(\005\022H\n\016wood_info_list\030\003 \003(\01320.GetHomeExch" +
      "angeWoodInfoRsp.HomeExchangeWoodInfo\032q\n\024" +
      "HomeExchangeWoodInfo\022\026\n\016exchangedCount\030\016" +
      " \001(\r\022\017\n\007wood_id\030\010 \001(\r\022\025\n\rexchangeLimit\030\t" +
      " \001(\r\022\031\n\021next_refresh_time\030\001 \001(\007B\033\n\031emu.g" +
      "rasscutter.net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        });
    internal_static_GetHomeExchangeWoodInfoRsp_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_GetHomeExchangeWoodInfoRsp_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_GetHomeExchangeWoodInfoRsp_descriptor,
        new java.lang.String[] { "Retcode", "WoodInfoList", });
    internal_static_GetHomeExchangeWoodInfoRsp_HomeExchangeWoodInfo_descriptor =
      internal_static_GetHomeExchangeWoodInfoRsp_descriptor.getNestedTypes().get(0);
    internal_static_GetHomeExchangeWoodInfoRsp_HomeExchangeWoodInfo_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_GetHomeExchangeWoodInfoRsp_HomeExchangeWoodInfo_descriptor,
        new java.lang.String[] { "ExchangedCount", "WoodId", "ExchangeLimit", "NextRefreshTime", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
