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

package emu.grasscutter.net.proto;

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

    /**
     * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
     */
    java.util.List<emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData> 
        getFriendGiftWishListList();
    /**
     * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
     */
    emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData getFriendGiftWishList(int index);
    /**
     * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
     */
    int getFriendGiftWishListCount();
    /**
     * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishDataOrBuilder> 
        getFriendGiftWishListOrBuilderList();
    /**
     * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
     */
    emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishDataOrBuilder getFriendGiftWishListOrBuilder(
        int index);

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

    /**
     * <code>uint32 schedule_id = 13;</code>
     * @return The scheduleId.
     */
    int getScheduleId();
  }
  /**
   * <pre>
   * CmdId: 5014
   * Obf: DOPDNCHPPMD
   * </pre>
   *
   * Protobuf type {@code ActivityGetFriendGiftWishListRsp}
   */
  public static final class ActivityGetFriendGiftWishListRsp extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:ActivityGetFriendGiftWishListRsp)
      ActivityGetFriendGiftWishListRspOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ActivityGetFriendGiftWishListRsp.newBuilder() to construct.
    private ActivityGetFriendGiftWishListRsp(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private ActivityGetFriendGiftWishListRsp() {
      friendGiftWishList_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ActivityGetFriendGiftWishListRsp(
        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 66: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                friendGiftWishList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData>();
                mutable_bitField0_ |= 0x00000001;
              }
              friendGiftWishList_.add(
                  input.readMessage(emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData.parser(), extensionRegistry));
              break;
            }
            case 72: {

              retcode_ = input.readInt32();
              break;
            }
            case 104: {

              scheduleId_ = 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 {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          friendGiftWishList_ = java.util.Collections.unmodifiableList(friendGiftWishList_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.ActivityGetFriendGiftWishListRspOuterClass.internal_static_ActivityGetFriendGiftWishListRsp_descriptor;
    }

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

    public static final int FRIEND_GIFT_WISH_LIST_FIELD_NUMBER = 8;
    private java.util.List<emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData> friendGiftWishList_;
    /**
     * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData> getFriendGiftWishListList() {
      return friendGiftWishList_;
    }
    /**
     * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishDataOrBuilder> 
        getFriendGiftWishListOrBuilderList() {
      return friendGiftWishList_;
    }
    /**
     * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
     */
    @java.lang.Override
    public int getFriendGiftWishListCount() {
      return friendGiftWishList_.size();
    }
    /**
     * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData getFriendGiftWishList(int index) {
      return friendGiftWishList_.get(index);
    }
    /**
     * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishDataOrBuilder getFriendGiftWishListOrBuilder(
        int index) {
      return friendGiftWishList_.get(index);
    }

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

    public static final int SCHEDULE_ID_FIELD_NUMBER = 13;
    private int scheduleId_;
    /**
     * <code>uint32 schedule_id = 13;</code>
     * @return The scheduleId.
     */
    @java.lang.Override
    public int getScheduleId() {
      return scheduleId_;
    }

    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 < friendGiftWishList_.size(); i++) {
        output.writeMessage(8, friendGiftWishList_.get(i));
      }
      if (retcode_ != 0) {
        output.writeInt32(9, retcode_);
      }
      if (scheduleId_ != 0) {
        output.writeUInt32(13, scheduleId_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < friendGiftWishList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(8, friendGiftWishList_.get(i));
      }
      if (retcode_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(9, retcode_);
      }
      if (scheduleId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(13, scheduleId_);
      }
      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.ActivityGetFriendGiftWishListRspOuterClass.ActivityGetFriendGiftWishListRsp)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.ActivityGetFriendGiftWishListRspOuterClass.ActivityGetFriendGiftWishListRsp other = (emu.grasscutter.net.proto.ActivityGetFriendGiftWishListRspOuterClass.ActivityGetFriendGiftWishListRsp) obj;

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

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

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

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

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getFriendGiftWishListFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (friendGiftWishListBuilder_ == null) {
          friendGiftWishList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          friendGiftWishListBuilder_.clear();
        }
        retcode_ = 0;

        scheduleId_ = 0;

        return this;
      }

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

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

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

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

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

      private java.util.List<emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData> friendGiftWishList_ =
        java.util.Collections.emptyList();
      private void ensureFriendGiftWishListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          friendGiftWishList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData>(friendGiftWishList_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData, emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData.Builder, emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishDataOrBuilder> friendGiftWishListBuilder_;

      /**
       * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData> getFriendGiftWishListList() {
        if (friendGiftWishListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(friendGiftWishList_);
        } else {
          return friendGiftWishListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
       */
      public int getFriendGiftWishListCount() {
        if (friendGiftWishListBuilder_ == null) {
          return friendGiftWishList_.size();
        } else {
          return friendGiftWishListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
       */
      public emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData getFriendGiftWishList(int index) {
        if (friendGiftWishListBuilder_ == null) {
          return friendGiftWishList_.get(index);
        } else {
          return friendGiftWishListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
       */
      public Builder setFriendGiftWishList(
          int index, emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData value) {
        if (friendGiftWishListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureFriendGiftWishListIsMutable();
          friendGiftWishList_.set(index, value);
          onChanged();
        } else {
          friendGiftWishListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
       */
      public Builder setFriendGiftWishList(
          int index, emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData.Builder builderForValue) {
        if (friendGiftWishListBuilder_ == null) {
          ensureFriendGiftWishListIsMutable();
          friendGiftWishList_.set(index, builderForValue.build());
          onChanged();
        } else {
          friendGiftWishListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
       */
      public Builder addFriendGiftWishList(emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData value) {
        if (friendGiftWishListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureFriendGiftWishListIsMutable();
          friendGiftWishList_.add(value);
          onChanged();
        } else {
          friendGiftWishListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
       */
      public Builder addFriendGiftWishList(
          int index, emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData value) {
        if (friendGiftWishListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureFriendGiftWishListIsMutable();
          friendGiftWishList_.add(index, value);
          onChanged();
        } else {
          friendGiftWishListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
       */
      public Builder addFriendGiftWishList(
          emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData.Builder builderForValue) {
        if (friendGiftWishListBuilder_ == null) {
          ensureFriendGiftWishListIsMutable();
          friendGiftWishList_.add(builderForValue.build());
          onChanged();
        } else {
          friendGiftWishListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
       */
      public Builder addFriendGiftWishList(
          int index, emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData.Builder builderForValue) {
        if (friendGiftWishListBuilder_ == null) {
          ensureFriendGiftWishListIsMutable();
          friendGiftWishList_.add(index, builderForValue.build());
          onChanged();
        } else {
          friendGiftWishListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
       */
      public Builder addAllFriendGiftWishList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData> values) {
        if (friendGiftWishListBuilder_ == null) {
          ensureFriendGiftWishListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, friendGiftWishList_);
          onChanged();
        } else {
          friendGiftWishListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
       */
      public Builder clearFriendGiftWishList() {
        if (friendGiftWishListBuilder_ == null) {
          friendGiftWishList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          friendGiftWishListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
       */
      public Builder removeFriendGiftWishList(int index) {
        if (friendGiftWishListBuilder_ == null) {
          ensureFriendGiftWishListIsMutable();
          friendGiftWishList_.remove(index);
          onChanged();
        } else {
          friendGiftWishListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
       */
      public emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData.Builder getFriendGiftWishListBuilder(
          int index) {
        return getFriendGiftWishListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
       */
      public emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishDataOrBuilder getFriendGiftWishListOrBuilder(
          int index) {
        if (friendGiftWishListBuilder_ == null) {
          return friendGiftWishList_.get(index);  } else {
          return friendGiftWishListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishDataOrBuilder> 
           getFriendGiftWishListOrBuilderList() {
        if (friendGiftWishListBuilder_ != null) {
          return friendGiftWishListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(friendGiftWishList_);
        }
      }
      /**
       * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
       */
      public emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData.Builder addFriendGiftWishListBuilder() {
        return getFriendGiftWishListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData.getDefaultInstance());
      }
      /**
       * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
       */
      public emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData.Builder addFriendGiftWishListBuilder(
          int index) {
        return getFriendGiftWishListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData.getDefaultInstance());
      }
      /**
       * <code>repeated .ActivityFriendGiftWishData friend_gift_wish_list = 8;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData.Builder> 
           getFriendGiftWishListBuilderList() {
        return getFriendGiftWishListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData, emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData.Builder, emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishDataOrBuilder> 
          getFriendGiftWishListFieldBuilder() {
        if (friendGiftWishListBuilder_ == null) {
          friendGiftWishListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData, emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishData.Builder, emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.ActivityFriendGiftWishDataOrBuilder>(
                  friendGiftWishList_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          friendGiftWishList_ = null;
        }
        return friendGiftWishListBuilder_;
      }

      private int retcode_ ;
      /**
       * <code>int32 retcode = 9;</code>
       * @return The retcode.
       */
      @java.lang.Override
      public int getRetcode() {
        return retcode_;
      }
      /**
       * <code>int32 retcode = 9;</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 = 9;</code>
       * @return This builder for chaining.
       */
      public Builder clearRetcode() {
        
        retcode_ = 0;
        onChanged();
        return this;
      }

      private int scheduleId_ ;
      /**
       * <code>uint32 schedule_id = 13;</code>
       * @return The scheduleId.
       */
      @java.lang.Override
      public int getScheduleId() {
        return scheduleId_;
      }
      /**
       * <code>uint32 schedule_id = 13;</code>
       * @param value The scheduleId to set.
       * @return This builder for chaining.
       */
      public Builder setScheduleId(int value) {
        
        scheduleId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 schedule_id = 13;</code>
       * @return This builder for chaining.
       */
      public Builder clearScheduleId() {
        
        scheduleId_ = 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:ActivityGetFriendGiftWishListRsp)
    }

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

    public static emu.grasscutter.net.proto.ActivityGetFriendGiftWishListRspOuterClass.ActivityGetFriendGiftWishListRsp getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ActivityGetFriendGiftWishListRsp_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ActivityGetFriendGiftWishListRsp_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&ActivityGetFriendGiftWishListRsp.proto" +
      "\032 ActivityFriendGiftWishData.proto\"\204\001\n A" +
      "ctivityGetFriendGiftWishListRsp\022:\n\025frien" +
      "d_gift_wish_list\030\010 \003(\0132\033.ActivityFriendG" +
      "iftWishData\022\017\n\007retcode\030\t \001(\005\022\023\n\013schedule" +
      "_id\030\r \001(\rB\033\n\031emu.grasscutter.net.protob\006" +
      "proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.getDescriptor(),
        });
    internal_static_ActivityGetFriendGiftWishListRsp_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_ActivityGetFriendGiftWishListRsp_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ActivityGetFriendGiftWishListRsp_descriptor,
        new java.lang.String[] { "FriendGiftWishList", "Retcode", "ScheduleId", });
    emu.grasscutter.net.proto.ActivityFriendGiftWishDataOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
