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

package emu.grasscutter.net.proto;

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

    /**
     * <code>repeated uint32 unlocked_module_id_list = 4;</code>
     * @return A list containing the unlockedModuleIdList.
     */
    java.util.List<java.lang.Integer> getUnlockedModuleIdListList();
    /**
     * <code>repeated uint32 unlocked_module_id_list = 4;</code>
     * @return The count of unlockedModuleIdList.
     */
    int getUnlockedModuleIdListCount();
    /**
     * <code>repeated uint32 unlocked_module_id_list = 4;</code>
     * @param index The index of the element to return.
     * @return The unlockedModuleIdList at the given index.
     */
    int getUnlockedModuleIdList(int index);

    /**
     * <code>repeated uint32 seen_module_id_list = 2;</code>
     * @return A list containing the seenModuleIdList.
     */
    java.util.List<java.lang.Integer> getSeenModuleIdListList();
    /**
     * <code>repeated uint32 seen_module_id_list = 2;</code>
     * @return The count of seenModuleIdList.
     */
    int getSeenModuleIdListCount();
    /**
     * <code>repeated uint32 seen_module_id_list = 2;</code>
     * @param index The index of the element to return.
     * @return The seenModuleIdList at the given index.
     */
    int getSeenModuleIdList(int index);

    /**
     * <code>repeated uint32 levelup_reward_got_level_list = 7;</code>
     * @return A list containing the levelupRewardGotLevelList.
     */
    java.util.List<java.lang.Integer> getLevelupRewardGotLevelListList();
    /**
     * <code>repeated uint32 levelup_reward_got_level_list = 7;</code>
     * @return The count of levelupRewardGotLevelList.
     */
    int getLevelupRewardGotLevelListCount();
    /**
     * <code>repeated uint32 levelup_reward_got_level_list = 7;</code>
     * @param index The index of the element to return.
     * @return The levelupRewardGotLevelList at the given index.
     */
    int getLevelupRewardGotLevelList(int index);

    /**
     * <code>.FriendEnterHomeOption friend_enter_home_option = 8;</code>
     * @return The enum numeric value on the wire for friendEnterHomeOption.
     */
    int getFriendEnterHomeOptionValue();
    /**
     * <code>.FriendEnterHomeOption friend_enter_home_option = 8;</code>
     * @return The friendEnterHomeOption.
     */
    emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption getFriendEnterHomeOption();
  }
  /**
   * Protobuf type {@code PlayerHomeCompInfo}
   */
  public static final class PlayerHomeCompInfo extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:PlayerHomeCompInfo)
      PlayerHomeCompInfoOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use PlayerHomeCompInfo.newBuilder() to construct.
    private PlayerHomeCompInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private PlayerHomeCompInfo() {
      unlockedModuleIdList_ = emptyIntList();
      seenModuleIdList_ = emptyIntList();
      levelupRewardGotLevelList_ = emptyIntList();
      friendEnterHomeOption_ = 0;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private PlayerHomeCompInfo(
        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 16: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                seenModuleIdList_ = newIntList();
                mutable_bitField0_ |= 0x00000002;
              }
              seenModuleIdList_.addInt(input.readUInt32());
              break;
            }
            case 18: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
                seenModuleIdList_ = newIntList();
                mutable_bitField0_ |= 0x00000002;
              }
              while (input.getBytesUntilLimit() > 0) {
                seenModuleIdList_.addInt(input.readUInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 32: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                unlockedModuleIdList_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              unlockedModuleIdList_.addInt(input.readUInt32());
              break;
            }
            case 34: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
                unlockedModuleIdList_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              while (input.getBytesUntilLimit() > 0) {
                unlockedModuleIdList_.addInt(input.readUInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 56: {
              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                levelupRewardGotLevelList_ = newIntList();
                mutable_bitField0_ |= 0x00000004;
              }
              levelupRewardGotLevelList_.addInt(input.readUInt32());
              break;
            }
            case 58: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) {
                levelupRewardGotLevelList_ = newIntList();
                mutable_bitField0_ |= 0x00000004;
              }
              while (input.getBytesUntilLimit() > 0) {
                levelupRewardGotLevelList_.addInt(input.readUInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 64: {
              int rawValue = input.readEnum();

              friendEnterHomeOption_ = rawValue;
              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_ & 0x00000002) != 0)) {
          seenModuleIdList_.makeImmutable(); // C
        }
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          unlockedModuleIdList_.makeImmutable(); // C
        }
        if (((mutable_bitField0_ & 0x00000004) != 0)) {
          levelupRewardGotLevelList_.makeImmutable(); // C
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.internal_static_PlayerHomeCompInfo_descriptor;
    }

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

    public static final int UNLOCKED_MODULE_ID_LIST_FIELD_NUMBER = 4;
    private com.google.protobuf.Internal.IntList unlockedModuleIdList_;
    /**
     * <code>repeated uint32 unlocked_module_id_list = 4;</code>
     * @return A list containing the unlockedModuleIdList.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
        getUnlockedModuleIdListList() {
      return unlockedModuleIdList_;
    }
    /**
     * <code>repeated uint32 unlocked_module_id_list = 4;</code>
     * @return The count of unlockedModuleIdList.
     */
    public int getUnlockedModuleIdListCount() {
      return unlockedModuleIdList_.size();
    }
    /**
     * <code>repeated uint32 unlocked_module_id_list = 4;</code>
     * @param index The index of the element to return.
     * @return The unlockedModuleIdList at the given index.
     */
    public int getUnlockedModuleIdList(int index) {
      return unlockedModuleIdList_.getInt(index);
    }
    private int unlockedModuleIdListMemoizedSerializedSize = -1;

    public static final int SEEN_MODULE_ID_LIST_FIELD_NUMBER = 2;
    private com.google.protobuf.Internal.IntList seenModuleIdList_;
    /**
     * <code>repeated uint32 seen_module_id_list = 2;</code>
     * @return A list containing the seenModuleIdList.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
        getSeenModuleIdListList() {
      return seenModuleIdList_;
    }
    /**
     * <code>repeated uint32 seen_module_id_list = 2;</code>
     * @return The count of seenModuleIdList.
     */
    public int getSeenModuleIdListCount() {
      return seenModuleIdList_.size();
    }
    /**
     * <code>repeated uint32 seen_module_id_list = 2;</code>
     * @param index The index of the element to return.
     * @return The seenModuleIdList at the given index.
     */
    public int getSeenModuleIdList(int index) {
      return seenModuleIdList_.getInt(index);
    }
    private int seenModuleIdListMemoizedSerializedSize = -1;

    public static final int LEVELUP_REWARD_GOT_LEVEL_LIST_FIELD_NUMBER = 7;
    private com.google.protobuf.Internal.IntList levelupRewardGotLevelList_;
    /**
     * <code>repeated uint32 levelup_reward_got_level_list = 7;</code>
     * @return A list containing the levelupRewardGotLevelList.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
        getLevelupRewardGotLevelListList() {
      return levelupRewardGotLevelList_;
    }
    /**
     * <code>repeated uint32 levelup_reward_got_level_list = 7;</code>
     * @return The count of levelupRewardGotLevelList.
     */
    public int getLevelupRewardGotLevelListCount() {
      return levelupRewardGotLevelList_.size();
    }
    /**
     * <code>repeated uint32 levelup_reward_got_level_list = 7;</code>
     * @param index The index of the element to return.
     * @return The levelupRewardGotLevelList at the given index.
     */
    public int getLevelupRewardGotLevelList(int index) {
      return levelupRewardGotLevelList_.getInt(index);
    }
    private int levelupRewardGotLevelListMemoizedSerializedSize = -1;

    public static final int FRIEND_ENTER_HOME_OPTION_FIELD_NUMBER = 8;
    private int friendEnterHomeOption_;
    /**
     * <code>.FriendEnterHomeOption friend_enter_home_option = 8;</code>
     * @return The enum numeric value on the wire for friendEnterHomeOption.
     */
    @java.lang.Override public int getFriendEnterHomeOptionValue() {
      return friendEnterHomeOption_;
    }
    /**
     * <code>.FriendEnterHomeOption friend_enter_home_option = 8;</code>
     * @return The friendEnterHomeOption.
     */
    @java.lang.Override public emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption getFriendEnterHomeOption() {
      @SuppressWarnings("deprecation")
      emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption result = emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption.valueOf(friendEnterHomeOption_);
      return result == null ? emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption.UNRECOGNIZED : result;
    }

    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 {
      getSerializedSize();
      if (getSeenModuleIdListList().size() > 0) {
        output.writeUInt32NoTag(18);
        output.writeUInt32NoTag(seenModuleIdListMemoizedSerializedSize);
      }
      for (int i = 0; i < seenModuleIdList_.size(); i++) {
        output.writeUInt32NoTag(seenModuleIdList_.getInt(i));
      }
      if (getUnlockedModuleIdListList().size() > 0) {
        output.writeUInt32NoTag(34);
        output.writeUInt32NoTag(unlockedModuleIdListMemoizedSerializedSize);
      }
      for (int i = 0; i < unlockedModuleIdList_.size(); i++) {
        output.writeUInt32NoTag(unlockedModuleIdList_.getInt(i));
      }
      if (getLevelupRewardGotLevelListList().size() > 0) {
        output.writeUInt32NoTag(58);
        output.writeUInt32NoTag(levelupRewardGotLevelListMemoizedSerializedSize);
      }
      for (int i = 0; i < levelupRewardGotLevelList_.size(); i++) {
        output.writeUInt32NoTag(levelupRewardGotLevelList_.getInt(i));
      }
      if (friendEnterHomeOption_ != emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption.FRIEND_ENTER_HOME_OPTION_NEED_CONFIRM.getNumber()) {
        output.writeEnum(8, friendEnterHomeOption_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < seenModuleIdList_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(seenModuleIdList_.getInt(i));
        }
        size += dataSize;
        if (!getSeenModuleIdListList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        seenModuleIdListMemoizedSerializedSize = dataSize;
      }
      {
        int dataSize = 0;
        for (int i = 0; i < unlockedModuleIdList_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(unlockedModuleIdList_.getInt(i));
        }
        size += dataSize;
        if (!getUnlockedModuleIdListList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        unlockedModuleIdListMemoizedSerializedSize = dataSize;
      }
      {
        int dataSize = 0;
        for (int i = 0; i < levelupRewardGotLevelList_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(levelupRewardGotLevelList_.getInt(i));
        }
        size += dataSize;
        if (!getLevelupRewardGotLevelListList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        levelupRewardGotLevelListMemoizedSerializedSize = dataSize;
      }
      if (friendEnterHomeOption_ != emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption.FRIEND_ENTER_HOME_OPTION_NEED_CONFIRM.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(8, friendEnterHomeOption_);
      }
      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.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo other = (emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo) obj;

      if (!getUnlockedModuleIdListList()
          .equals(other.getUnlockedModuleIdListList())) return false;
      if (!getSeenModuleIdListList()
          .equals(other.getSeenModuleIdListList())) return false;
      if (!getLevelupRewardGotLevelListList()
          .equals(other.getLevelupRewardGotLevelListList())) return false;
      if (friendEnterHomeOption_ != other.friendEnterHomeOption_) 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 (getUnlockedModuleIdListCount() > 0) {
        hash = (37 * hash) + UNLOCKED_MODULE_ID_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getUnlockedModuleIdListList().hashCode();
      }
      if (getSeenModuleIdListCount() > 0) {
        hash = (37 * hash) + SEEN_MODULE_ID_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getSeenModuleIdListList().hashCode();
      }
      if (getLevelupRewardGotLevelListCount() > 0) {
        hash = (37 * hash) + LEVELUP_REWARD_GOT_LEVEL_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getLevelupRewardGotLevelListList().hashCode();
      }
      hash = (37 * hash) + FRIEND_ENTER_HOME_OPTION_FIELD_NUMBER;
      hash = (53 * hash) + friendEnterHomeOption_;
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo 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.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo 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.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo 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.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo 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.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo 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.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code PlayerHomeCompInfo}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:PlayerHomeCompInfo)
        emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfoOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.internal_static_PlayerHomeCompInfo_descriptor;
      }

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

      // Construct using emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo.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();
        unlockedModuleIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        seenModuleIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000002);
        levelupRewardGotLevelList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000004);
        friendEnterHomeOption_ = 0;

        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo buildPartial() {
        emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo result = new emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo(this);
        int from_bitField0_ = bitField0_;
        if (((bitField0_ & 0x00000001) != 0)) {
          unlockedModuleIdList_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.unlockedModuleIdList_ = unlockedModuleIdList_;
        if (((bitField0_ & 0x00000002) != 0)) {
          seenModuleIdList_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.seenModuleIdList_ = seenModuleIdList_;
        if (((bitField0_ & 0x00000004) != 0)) {
          levelupRewardGotLevelList_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000004);
        }
        result.levelupRewardGotLevelList_ = levelupRewardGotLevelList_;
        result.friendEnterHomeOption_ = friendEnterHomeOption_;
        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.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo) {
          return mergeFrom((emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo other) {
        if (other == emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo.getDefaultInstance()) return this;
        if (!other.unlockedModuleIdList_.isEmpty()) {
          if (unlockedModuleIdList_.isEmpty()) {
            unlockedModuleIdList_ = other.unlockedModuleIdList_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureUnlockedModuleIdListIsMutable();
            unlockedModuleIdList_.addAll(other.unlockedModuleIdList_);
          }
          onChanged();
        }
        if (!other.seenModuleIdList_.isEmpty()) {
          if (seenModuleIdList_.isEmpty()) {
            seenModuleIdList_ = other.seenModuleIdList_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureSeenModuleIdListIsMutable();
            seenModuleIdList_.addAll(other.seenModuleIdList_);
          }
          onChanged();
        }
        if (!other.levelupRewardGotLevelList_.isEmpty()) {
          if (levelupRewardGotLevelList_.isEmpty()) {
            levelupRewardGotLevelList_ = other.levelupRewardGotLevelList_;
            bitField0_ = (bitField0_ & ~0x00000004);
          } else {
            ensureLevelupRewardGotLevelListIsMutable();
            levelupRewardGotLevelList_.addAll(other.levelupRewardGotLevelList_);
          }
          onChanged();
        }
        if (other.friendEnterHomeOption_ != 0) {
          setFriendEnterHomeOptionValue(other.getFriendEnterHomeOptionValue());
        }
        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.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private com.google.protobuf.Internal.IntList unlockedModuleIdList_ = emptyIntList();
      private void ensureUnlockedModuleIdListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          unlockedModuleIdList_ = mutableCopy(unlockedModuleIdList_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * <code>repeated uint32 unlocked_module_id_list = 4;</code>
       * @return A list containing the unlockedModuleIdList.
       */
      public java.util.List<java.lang.Integer>
          getUnlockedModuleIdListList() {
        return ((bitField0_ & 0x00000001) != 0) ?
                 java.util.Collections.unmodifiableList(unlockedModuleIdList_) : unlockedModuleIdList_;
      }
      /**
       * <code>repeated uint32 unlocked_module_id_list = 4;</code>
       * @return The count of unlockedModuleIdList.
       */
      public int getUnlockedModuleIdListCount() {
        return unlockedModuleIdList_.size();
      }
      /**
       * <code>repeated uint32 unlocked_module_id_list = 4;</code>
       * @param index The index of the element to return.
       * @return The unlockedModuleIdList at the given index.
       */
      public int getUnlockedModuleIdList(int index) {
        return unlockedModuleIdList_.getInt(index);
      }
      /**
       * <code>repeated uint32 unlocked_module_id_list = 4;</code>
       * @param index The index to set the value at.
       * @param value The unlockedModuleIdList to set.
       * @return This builder for chaining.
       */
      public Builder setUnlockedModuleIdList(
          int index, int value) {
        ensureUnlockedModuleIdListIsMutable();
        unlockedModuleIdList_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 unlocked_module_id_list = 4;</code>
       * @param value The unlockedModuleIdList to add.
       * @return This builder for chaining.
       */
      public Builder addUnlockedModuleIdList(int value) {
        ensureUnlockedModuleIdListIsMutable();
        unlockedModuleIdList_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 unlocked_module_id_list = 4;</code>
       * @param values The unlockedModuleIdList to add.
       * @return This builder for chaining.
       */
      public Builder addAllUnlockedModuleIdList(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureUnlockedModuleIdListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, unlockedModuleIdList_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 unlocked_module_id_list = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnlockedModuleIdList() {
        unlockedModuleIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }

      private com.google.protobuf.Internal.IntList seenModuleIdList_ = emptyIntList();
      private void ensureSeenModuleIdListIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          seenModuleIdList_ = mutableCopy(seenModuleIdList_);
          bitField0_ |= 0x00000002;
         }
      }
      /**
       * <code>repeated uint32 seen_module_id_list = 2;</code>
       * @return A list containing the seenModuleIdList.
       */
      public java.util.List<java.lang.Integer>
          getSeenModuleIdListList() {
        return ((bitField0_ & 0x00000002) != 0) ?
                 java.util.Collections.unmodifiableList(seenModuleIdList_) : seenModuleIdList_;
      }
      /**
       * <code>repeated uint32 seen_module_id_list = 2;</code>
       * @return The count of seenModuleIdList.
       */
      public int getSeenModuleIdListCount() {
        return seenModuleIdList_.size();
      }
      /**
       * <code>repeated uint32 seen_module_id_list = 2;</code>
       * @param index The index of the element to return.
       * @return The seenModuleIdList at the given index.
       */
      public int getSeenModuleIdList(int index) {
        return seenModuleIdList_.getInt(index);
      }
      /**
       * <code>repeated uint32 seen_module_id_list = 2;</code>
       * @param index The index to set the value at.
       * @param value The seenModuleIdList to set.
       * @return This builder for chaining.
       */
      public Builder setSeenModuleIdList(
          int index, int value) {
        ensureSeenModuleIdListIsMutable();
        seenModuleIdList_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 seen_module_id_list = 2;</code>
       * @param value The seenModuleIdList to add.
       * @return This builder for chaining.
       */
      public Builder addSeenModuleIdList(int value) {
        ensureSeenModuleIdListIsMutable();
        seenModuleIdList_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 seen_module_id_list = 2;</code>
       * @param values The seenModuleIdList to add.
       * @return This builder for chaining.
       */
      public Builder addAllSeenModuleIdList(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureSeenModuleIdListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, seenModuleIdList_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 seen_module_id_list = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearSeenModuleIdList() {
        seenModuleIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }

      private com.google.protobuf.Internal.IntList levelupRewardGotLevelList_ = emptyIntList();
      private void ensureLevelupRewardGotLevelListIsMutable() {
        if (!((bitField0_ & 0x00000004) != 0)) {
          levelupRewardGotLevelList_ = mutableCopy(levelupRewardGotLevelList_);
          bitField0_ |= 0x00000004;
         }
      }
      /**
       * <code>repeated uint32 levelup_reward_got_level_list = 7;</code>
       * @return A list containing the levelupRewardGotLevelList.
       */
      public java.util.List<java.lang.Integer>
          getLevelupRewardGotLevelListList() {
        return ((bitField0_ & 0x00000004) != 0) ?
                 java.util.Collections.unmodifiableList(levelupRewardGotLevelList_) : levelupRewardGotLevelList_;
      }
      /**
       * <code>repeated uint32 levelup_reward_got_level_list = 7;</code>
       * @return The count of levelupRewardGotLevelList.
       */
      public int getLevelupRewardGotLevelListCount() {
        return levelupRewardGotLevelList_.size();
      }
      /**
       * <code>repeated uint32 levelup_reward_got_level_list = 7;</code>
       * @param index The index of the element to return.
       * @return The levelupRewardGotLevelList at the given index.
       */
      public int getLevelupRewardGotLevelList(int index) {
        return levelupRewardGotLevelList_.getInt(index);
      }
      /**
       * <code>repeated uint32 levelup_reward_got_level_list = 7;</code>
       * @param index The index to set the value at.
       * @param value The levelupRewardGotLevelList to set.
       * @return This builder for chaining.
       */
      public Builder setLevelupRewardGotLevelList(
          int index, int value) {
        ensureLevelupRewardGotLevelListIsMutable();
        levelupRewardGotLevelList_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 levelup_reward_got_level_list = 7;</code>
       * @param value The levelupRewardGotLevelList to add.
       * @return This builder for chaining.
       */
      public Builder addLevelupRewardGotLevelList(int value) {
        ensureLevelupRewardGotLevelListIsMutable();
        levelupRewardGotLevelList_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 levelup_reward_got_level_list = 7;</code>
       * @param values The levelupRewardGotLevelList to add.
       * @return This builder for chaining.
       */
      public Builder addAllLevelupRewardGotLevelList(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureLevelupRewardGotLevelListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, levelupRewardGotLevelList_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 levelup_reward_got_level_list = 7;</code>
       * @return This builder for chaining.
       */
      public Builder clearLevelupRewardGotLevelList() {
        levelupRewardGotLevelList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
        return this;
      }

      private int friendEnterHomeOption_ = 0;
      /**
       * <code>.FriendEnterHomeOption friend_enter_home_option = 8;</code>
       * @return The enum numeric value on the wire for friendEnterHomeOption.
       */
      @java.lang.Override public int getFriendEnterHomeOptionValue() {
        return friendEnterHomeOption_;
      }
      /**
       * <code>.FriendEnterHomeOption friend_enter_home_option = 8;</code>
       * @param value The enum numeric value on the wire for friendEnterHomeOption to set.
       * @return This builder for chaining.
       */
      public Builder setFriendEnterHomeOptionValue(int value) {
        
        friendEnterHomeOption_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>.FriendEnterHomeOption friend_enter_home_option = 8;</code>
       * @return The friendEnterHomeOption.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption getFriendEnterHomeOption() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption result = emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption.valueOf(friendEnterHomeOption_);
        return result == null ? emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption.UNRECOGNIZED : result;
      }
      /**
       * <code>.FriendEnterHomeOption friend_enter_home_option = 8;</code>
       * @param value The friendEnterHomeOption to set.
       * @return This builder for chaining.
       */
      public Builder setFriendEnterHomeOption(emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        friendEnterHomeOption_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.FriendEnterHomeOption friend_enter_home_option = 8;</code>
       * @return This builder for chaining.
       */
      public Builder clearFriendEnterHomeOption() {
        
        friendEnterHomeOption_ = 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:PlayerHomeCompInfo)
    }

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

    public static emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_PlayerHomeCompInfo_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_PlayerHomeCompInfo_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\030PlayerHomeCompInfo.proto\032\033FriendEnterH" +
      "omeOption.proto\"\263\001\n\022PlayerHomeCompInfo\022\037" +
      "\n\027unlocked_module_id_list\030\004 \003(\r\022\033\n\023seen_" +
      "module_id_list\030\002 \003(\r\022%\n\035levelup_reward_g" +
      "ot_level_list\030\007 \003(\r\0228\n\030friend_enter_home" +
      "_option\030\010 \001(\0162\026.FriendEnterHomeOptionB\033\n" +
      "\031emu.grasscutter.net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.getDescriptor(),
        });
    internal_static_PlayerHomeCompInfo_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_PlayerHomeCompInfo_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_PlayerHomeCompInfo_descriptor,
        new java.lang.String[] { "UnlockedModuleIdList", "SeenModuleIdList", "LevelupRewardGotLevelList", "FriendEnterHomeOption", });
    emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
