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

package emu.grasscutter.net.proto;

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

    /**
     * <code>string nick_name = 6;</code>
     * @return The nickName.
     */
    java.lang.String getNickName();
    /**
     * <code>string nick_name = 6;</code>
     * @return The bytes for nickName.
     */
    com.google.protobuf.ByteString
        getNickNameBytes();

    /**
     * <code>string online_id = 8;</code>
     * @return The onlineId.
     */
    java.lang.String getOnlineId();
    /**
     * <code>string online_id = 8;</code>
     * @return The bytes for onlineId.
     */
    com.google.protobuf.ByteString
        getOnlineIdBytes();

    /**
     * <code>uint32 uid = 2;</code>
     * @return The uid.
     */
    int getUid();

    /**
     * <code>.ProfilePicture profile_picture = 11;</code>
     * @return Whether the profilePicture field is set.
     */
    boolean hasProfilePicture();
    /**
     * <code>.ProfilePicture profile_picture = 11;</code>
     * @return The profilePicture.
     */
    emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture getProfilePicture();
    /**
     * <code>.ProfilePicture profile_picture = 11;</code>
     */
    emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePictureOrBuilder getProfilePictureOrBuilder();

    /**
     * <code>repeated uint32 card_id_list = 10;</code>
     * @return A list containing the cardIdList.
     */
    java.util.List<java.lang.Integer> getCardIdListList();
    /**
     * <code>repeated uint32 card_id_list = 10;</code>
     * @return The count of cardIdList.
     */
    int getCardIdListCount();
    /**
     * <code>repeated uint32 card_id_list = 10;</code>
     * @param index The index of the element to return.
     * @return The cardIdList at the given index.
     */
    int getCardIdList(int index);

    /**
     * <code>map&lt;uint32, uint32&gt; card_face_map = 1;</code>
     */
    int getCardFaceMapCount();
    /**
     * <code>map&lt;uint32, uint32&gt; card_face_map = 1;</code>
     */
    boolean containsCardFaceMap(
        int key);
    /**
     * Use {@link #getCardFaceMapMap()} instead.
     */
    @java.lang.Deprecated
    java.util.Map<java.lang.Integer, java.lang.Integer>
    getCardFaceMap();
    /**
     * <code>map&lt;uint32, uint32&gt; card_face_map = 1;</code>
     */
    java.util.Map<java.lang.Integer, java.lang.Integer>
    getCardFaceMapMap();
    /**
     * <code>map&lt;uint32, uint32&gt; card_face_map = 1;</code>
     */

    int getCardFaceMapOrDefault(
        int key,
        int defaultValue);
    /**
     * <code>map&lt;uint32, uint32&gt; card_face_map = 1;</code>
     */

    int getCardFaceMapOrThrow(
        int key);

    /**
     * <code>string psn_id = 14;</code>
     * @return The psnId.
     */
    java.lang.String getPsnId();
    /**
     * <code>string psn_id = 14;</code>
     * @return The bytes for psnId.
     */
    com.google.protobuf.ByteString
        getPsnIdBytes();

    /**
     * <code>uint32 controller_id = 9;</code>
     * @return The controllerId.
     */
    int getControllerId();
  }
  /**
   * <pre>
   * Obf: BNFKPMOOAEG
   * </pre>
   *
   * Protobuf type {@code GCGPlayerBriefData}
   */
  public static final class GCGPlayerBriefData extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:GCGPlayerBriefData)
      GCGPlayerBriefDataOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GCGPlayerBriefData.newBuilder() to construct.
    private GCGPlayerBriefData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private GCGPlayerBriefData() {
      nickName_ = "";
      onlineId_ = "";
      cardIdList_ = emptyIntList();
      psnId_ = "";
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GCGPlayerBriefData(
        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 10: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                cardFaceMap_ = com.google.protobuf.MapField.newMapField(
                    CardFaceMapDefaultEntryHolder.defaultEntry);
                mutable_bitField0_ |= 0x00000002;
              }
              com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
              cardFaceMap__ = input.readMessage(
                  CardFaceMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              cardFaceMap_.getMutableMap().put(
                  cardFaceMap__.getKey(), cardFaceMap__.getValue());
              break;
            }
            case 16: {

              uid_ = input.readUInt32();
              break;
            }
            case 50: {
              java.lang.String s = input.readStringRequireUtf8();

              nickName_ = s;
              break;
            }
            case 66: {
              java.lang.String s = input.readStringRequireUtf8();

              onlineId_ = s;
              break;
            }
            case 72: {

              controllerId_ = input.readUInt32();
              break;
            }
            case 80: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                cardIdList_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              cardIdList_.addInt(input.readUInt32());
              break;
            }
            case 82: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
                cardIdList_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              while (input.getBytesUntilLimit() > 0) {
                cardIdList_.addInt(input.readUInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 90: {
              emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.Builder subBuilder = null;
              if (profilePicture_ != null) {
                subBuilder = profilePicture_.toBuilder();
              }
              profilePicture_ = input.readMessage(emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(profilePicture_);
                profilePicture_ = subBuilder.buildPartial();
              }

              break;
            }
            case 114: {
              java.lang.String s = input.readStringRequireUtf8();

              psnId_ = s;
              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)) {
          cardIdList_.makeImmutable(); // C
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.GCGPlayerBriefDataOuterClass.internal_static_GCGPlayerBriefData_descriptor;
    }

    @SuppressWarnings({"rawtypes"})
    @java.lang.Override
    protected com.google.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 1:
          return internalGetCardFaceMap();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return emu.grasscutter.net.proto.GCGPlayerBriefDataOuterClass.internal_static_GCGPlayerBriefData_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              emu.grasscutter.net.proto.GCGPlayerBriefDataOuterClass.GCGPlayerBriefData.class, emu.grasscutter.net.proto.GCGPlayerBriefDataOuterClass.GCGPlayerBriefData.Builder.class);
    }

    public static final int NICK_NAME_FIELD_NUMBER = 6;
    private volatile java.lang.Object nickName_;
    /**
     * <code>string nick_name = 6;</code>
     * @return The nickName.
     */
    @java.lang.Override
    public java.lang.String getNickName() {
      java.lang.Object ref = nickName_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        nickName_ = s;
        return s;
      }
    }
    /**
     * <code>string nick_name = 6;</code>
     * @return The bytes for nickName.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getNickNameBytes() {
      java.lang.Object ref = nickName_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        nickName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int ONLINE_ID_FIELD_NUMBER = 8;
    private volatile java.lang.Object onlineId_;
    /**
     * <code>string online_id = 8;</code>
     * @return The onlineId.
     */
    @java.lang.Override
    public java.lang.String getOnlineId() {
      java.lang.Object ref = onlineId_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        onlineId_ = s;
        return s;
      }
    }
    /**
     * <code>string online_id = 8;</code>
     * @return The bytes for onlineId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getOnlineIdBytes() {
      java.lang.Object ref = onlineId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        onlineId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int UID_FIELD_NUMBER = 2;
    private int uid_;
    /**
     * <code>uint32 uid = 2;</code>
     * @return The uid.
     */
    @java.lang.Override
    public int getUid() {
      return uid_;
    }

    public static final int PROFILE_PICTURE_FIELD_NUMBER = 11;
    private emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture profilePicture_;
    /**
     * <code>.ProfilePicture profile_picture = 11;</code>
     * @return Whether the profilePicture field is set.
     */
    @java.lang.Override
    public boolean hasProfilePicture() {
      return profilePicture_ != null;
    }
    /**
     * <code>.ProfilePicture profile_picture = 11;</code>
     * @return The profilePicture.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture getProfilePicture() {
      return profilePicture_ == null ? emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.getDefaultInstance() : profilePicture_;
    }
    /**
     * <code>.ProfilePicture profile_picture = 11;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePictureOrBuilder getProfilePictureOrBuilder() {
      return getProfilePicture();
    }

    public static final int CARD_ID_LIST_FIELD_NUMBER = 10;
    private com.google.protobuf.Internal.IntList cardIdList_;
    /**
     * <code>repeated uint32 card_id_list = 10;</code>
     * @return A list containing the cardIdList.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
        getCardIdListList() {
      return cardIdList_;
    }
    /**
     * <code>repeated uint32 card_id_list = 10;</code>
     * @return The count of cardIdList.
     */
    public int getCardIdListCount() {
      return cardIdList_.size();
    }
    /**
     * <code>repeated uint32 card_id_list = 10;</code>
     * @param index The index of the element to return.
     * @return The cardIdList at the given index.
     */
    public int getCardIdList(int index) {
      return cardIdList_.getInt(index);
    }
    private int cardIdListMemoizedSerializedSize = -1;

    public static final int CARD_FACE_MAP_FIELD_NUMBER = 1;
    private static final class CardFaceMapDefaultEntryHolder {
      static final com.google.protobuf.MapEntry<
          java.lang.Integer, java.lang.Integer> defaultEntry =
              com.google.protobuf.MapEntry
              .<java.lang.Integer, java.lang.Integer>newDefaultInstance(
                  emu.grasscutter.net.proto.GCGPlayerBriefDataOuterClass.internal_static_GCGPlayerBriefData_CardFaceMapEntry_descriptor, 
                  com.google.protobuf.WireFormat.FieldType.UINT32,
                  0,
                  com.google.protobuf.WireFormat.FieldType.UINT32,
                  0);
    }
    private com.google.protobuf.MapField<
        java.lang.Integer, java.lang.Integer> cardFaceMap_;
    private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
    internalGetCardFaceMap() {
      if (cardFaceMap_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            CardFaceMapDefaultEntryHolder.defaultEntry);
      }
      return cardFaceMap_;
    }

    public int getCardFaceMapCount() {
      return internalGetCardFaceMap().getMap().size();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; card_face_map = 1;</code>
     */

    @java.lang.Override
    public boolean containsCardFaceMap(
        int key) {
      
      return internalGetCardFaceMap().getMap().containsKey(key);
    }
    /**
     * Use {@link #getCardFaceMapMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, java.lang.Integer> getCardFaceMap() {
      return getCardFaceMapMap();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; card_face_map = 1;</code>
     */
    @java.lang.Override

    public java.util.Map<java.lang.Integer, java.lang.Integer> getCardFaceMapMap() {
      return internalGetCardFaceMap().getMap();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; card_face_map = 1;</code>
     */
    @java.lang.Override

    public int getCardFaceMapOrDefault(
        int key,
        int defaultValue) {
      
      java.util.Map<java.lang.Integer, java.lang.Integer> map =
          internalGetCardFaceMap().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <code>map&lt;uint32, uint32&gt; card_face_map = 1;</code>
     */
    @java.lang.Override

    public int getCardFaceMapOrThrow(
        int key) {
      
      java.util.Map<java.lang.Integer, java.lang.Integer> map =
          internalGetCardFaceMap().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }

    public static final int PSN_ID_FIELD_NUMBER = 14;
    private volatile java.lang.Object psnId_;
    /**
     * <code>string psn_id = 14;</code>
     * @return The psnId.
     */
    @java.lang.Override
    public java.lang.String getPsnId() {
      java.lang.Object ref = psnId_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        psnId_ = s;
        return s;
      }
    }
    /**
     * <code>string psn_id = 14;</code>
     * @return The bytes for psnId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getPsnIdBytes() {
      java.lang.Object ref = psnId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        psnId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int CONTROLLER_ID_FIELD_NUMBER = 9;
    private int controllerId_;
    /**
     * <code>uint32 controller_id = 9;</code>
     * @return The controllerId.
     */
    @java.lang.Override
    public int getControllerId() {
      return controllerId_;
    }

    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();
      com.google.protobuf.GeneratedMessageV3
        .serializeIntegerMapTo(
          output,
          internalGetCardFaceMap(),
          CardFaceMapDefaultEntryHolder.defaultEntry,
          1);
      if (uid_ != 0) {
        output.writeUInt32(2, uid_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickName_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 6, nickName_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(onlineId_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 8, onlineId_);
      }
      if (controllerId_ != 0) {
        output.writeUInt32(9, controllerId_);
      }
      if (getCardIdListList().size() > 0) {
        output.writeUInt32NoTag(82);
        output.writeUInt32NoTag(cardIdListMemoizedSerializedSize);
      }
      for (int i = 0; i < cardIdList_.size(); i++) {
        output.writeUInt32NoTag(cardIdList_.getInt(i));
      }
      if (profilePicture_ != null) {
        output.writeMessage(11, getProfilePicture());
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(psnId_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 14, psnId_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      for (java.util.Map.Entry<java.lang.Integer, java.lang.Integer> entry
           : internalGetCardFaceMap().getMap().entrySet()) {
        com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
        cardFaceMap__ = CardFaceMapDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(1, cardFaceMap__);
      }
      if (uid_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(2, uid_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickName_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, nickName_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(onlineId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, onlineId_);
      }
      if (controllerId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(9, controllerId_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < cardIdList_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(cardIdList_.getInt(i));
        }
        size += dataSize;
        if (!getCardIdListList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        cardIdListMemoizedSerializedSize = dataSize;
      }
      if (profilePicture_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(11, getProfilePicture());
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(psnId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, psnId_);
      }
      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.GCGPlayerBriefDataOuterClass.GCGPlayerBriefData)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.GCGPlayerBriefDataOuterClass.GCGPlayerBriefData other = (emu.grasscutter.net.proto.GCGPlayerBriefDataOuterClass.GCGPlayerBriefData) obj;

      if (!getNickName()
          .equals(other.getNickName())) return false;
      if (!getOnlineId()
          .equals(other.getOnlineId())) return false;
      if (getUid()
          != other.getUid()) return false;
      if (hasProfilePicture() != other.hasProfilePicture()) return false;
      if (hasProfilePicture()) {
        if (!getProfilePicture()
            .equals(other.getProfilePicture())) return false;
      }
      if (!getCardIdListList()
          .equals(other.getCardIdListList())) return false;
      if (!internalGetCardFaceMap().equals(
          other.internalGetCardFaceMap())) return false;
      if (!getPsnId()
          .equals(other.getPsnId())) return false;
      if (getControllerId()
          != other.getControllerId()) 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) + NICK_NAME_FIELD_NUMBER;
      hash = (53 * hash) + getNickName().hashCode();
      hash = (37 * hash) + ONLINE_ID_FIELD_NUMBER;
      hash = (53 * hash) + getOnlineId().hashCode();
      hash = (37 * hash) + UID_FIELD_NUMBER;
      hash = (53 * hash) + getUid();
      if (hasProfilePicture()) {
        hash = (37 * hash) + PROFILE_PICTURE_FIELD_NUMBER;
        hash = (53 * hash) + getProfilePicture().hashCode();
      }
      if (getCardIdListCount() > 0) {
        hash = (37 * hash) + CARD_ID_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getCardIdListList().hashCode();
      }
      if (!internalGetCardFaceMap().getMap().isEmpty()) {
        hash = (37 * hash) + CARD_FACE_MAP_FIELD_NUMBER;
        hash = (53 * hash) + internalGetCardFaceMap().hashCode();
      }
      hash = (37 * hash) + PSN_ID_FIELD_NUMBER;
      hash = (53 * hash) + getPsnId().hashCode();
      hash = (37 * hash) + CONTROLLER_ID_FIELD_NUMBER;
      hash = (53 * hash) + getControllerId();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMapField(
          int number) {
        switch (number) {
          case 1:
            return internalGetCardFaceMap();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMutableMapField(
          int number) {
        switch (number) {
          case 1:
            return internalGetMutableCardFaceMap();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.GCGPlayerBriefDataOuterClass.internal_static_GCGPlayerBriefData_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.GCGPlayerBriefDataOuterClass.GCGPlayerBriefData.class, emu.grasscutter.net.proto.GCGPlayerBriefDataOuterClass.GCGPlayerBriefData.Builder.class);
      }

      // Construct using emu.grasscutter.net.proto.GCGPlayerBriefDataOuterClass.GCGPlayerBriefData.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();
        nickName_ = "";

        onlineId_ = "";

        uid_ = 0;

        if (profilePictureBuilder_ == null) {
          profilePicture_ = null;
        } else {
          profilePicture_ = null;
          profilePictureBuilder_ = null;
        }
        cardIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        internalGetMutableCardFaceMap().clear();
        psnId_ = "";

        controllerId_ = 0;

        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.GCGPlayerBriefDataOuterClass.GCGPlayerBriefData buildPartial() {
        emu.grasscutter.net.proto.GCGPlayerBriefDataOuterClass.GCGPlayerBriefData result = new emu.grasscutter.net.proto.GCGPlayerBriefDataOuterClass.GCGPlayerBriefData(this);
        int from_bitField0_ = bitField0_;
        result.nickName_ = nickName_;
        result.onlineId_ = onlineId_;
        result.uid_ = uid_;
        if (profilePictureBuilder_ == null) {
          result.profilePicture_ = profilePicture_;
        } else {
          result.profilePicture_ = profilePictureBuilder_.build();
        }
        if (((bitField0_ & 0x00000001) != 0)) {
          cardIdList_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.cardIdList_ = cardIdList_;
        result.cardFaceMap_ = internalGetCardFaceMap();
        result.cardFaceMap_.makeImmutable();
        result.psnId_ = psnId_;
        result.controllerId_ = controllerId_;
        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.GCGPlayerBriefDataOuterClass.GCGPlayerBriefData) {
          return mergeFrom((emu.grasscutter.net.proto.GCGPlayerBriefDataOuterClass.GCGPlayerBriefData)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.GCGPlayerBriefDataOuterClass.GCGPlayerBriefData other) {
        if (other == emu.grasscutter.net.proto.GCGPlayerBriefDataOuterClass.GCGPlayerBriefData.getDefaultInstance()) return this;
        if (!other.getNickName().isEmpty()) {
          nickName_ = other.nickName_;
          onChanged();
        }
        if (!other.getOnlineId().isEmpty()) {
          onlineId_ = other.onlineId_;
          onChanged();
        }
        if (other.getUid() != 0) {
          setUid(other.getUid());
        }
        if (other.hasProfilePicture()) {
          mergeProfilePicture(other.getProfilePicture());
        }
        if (!other.cardIdList_.isEmpty()) {
          if (cardIdList_.isEmpty()) {
            cardIdList_ = other.cardIdList_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureCardIdListIsMutable();
            cardIdList_.addAll(other.cardIdList_);
          }
          onChanged();
        }
        internalGetMutableCardFaceMap().mergeFrom(
            other.internalGetCardFaceMap());
        if (!other.getPsnId().isEmpty()) {
          psnId_ = other.psnId_;
          onChanged();
        }
        if (other.getControllerId() != 0) {
          setControllerId(other.getControllerId());
        }
        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.GCGPlayerBriefDataOuterClass.GCGPlayerBriefData parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.GCGPlayerBriefDataOuterClass.GCGPlayerBriefData) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.lang.Object nickName_ = "";
      /**
       * <code>string nick_name = 6;</code>
       * @return The nickName.
       */
      public java.lang.String getNickName() {
        java.lang.Object ref = nickName_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          nickName_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string nick_name = 6;</code>
       * @return The bytes for nickName.
       */
      public com.google.protobuf.ByteString
          getNickNameBytes() {
        java.lang.Object ref = nickName_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          nickName_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string nick_name = 6;</code>
       * @param value The nickName to set.
       * @return This builder for chaining.
       */
      public Builder setNickName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        nickName_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string nick_name = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearNickName() {
        
        nickName_ = getDefaultInstance().getNickName();
        onChanged();
        return this;
      }
      /**
       * <code>string nick_name = 6;</code>
       * @param value The bytes for nickName to set.
       * @return This builder for chaining.
       */
      public Builder setNickNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        nickName_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object onlineId_ = "";
      /**
       * <code>string online_id = 8;</code>
       * @return The onlineId.
       */
      public java.lang.String getOnlineId() {
        java.lang.Object ref = onlineId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          onlineId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string online_id = 8;</code>
       * @return The bytes for onlineId.
       */
      public com.google.protobuf.ByteString
          getOnlineIdBytes() {
        java.lang.Object ref = onlineId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          onlineId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string online_id = 8;</code>
       * @param value The onlineId to set.
       * @return This builder for chaining.
       */
      public Builder setOnlineId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        onlineId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string online_id = 8;</code>
       * @return This builder for chaining.
       */
      public Builder clearOnlineId() {
        
        onlineId_ = getDefaultInstance().getOnlineId();
        onChanged();
        return this;
      }
      /**
       * <code>string online_id = 8;</code>
       * @param value The bytes for onlineId to set.
       * @return This builder for chaining.
       */
      public Builder setOnlineIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        onlineId_ = value;
        onChanged();
        return this;
      }

      private int uid_ ;
      /**
       * <code>uint32 uid = 2;</code>
       * @return The uid.
       */
      @java.lang.Override
      public int getUid() {
        return uid_;
      }
      /**
       * <code>uint32 uid = 2;</code>
       * @param value The uid to set.
       * @return This builder for chaining.
       */
      public Builder setUid(int value) {
        
        uid_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 uid = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearUid() {
        
        uid_ = 0;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture profilePicture_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture, emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.Builder, emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePictureOrBuilder> profilePictureBuilder_;
      /**
       * <code>.ProfilePicture profile_picture = 11;</code>
       * @return Whether the profilePicture field is set.
       */
      public boolean hasProfilePicture() {
        return profilePictureBuilder_ != null || profilePicture_ != null;
      }
      /**
       * <code>.ProfilePicture profile_picture = 11;</code>
       * @return The profilePicture.
       */
      public emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture getProfilePicture() {
        if (profilePictureBuilder_ == null) {
          return profilePicture_ == null ? emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.getDefaultInstance() : profilePicture_;
        } else {
          return profilePictureBuilder_.getMessage();
        }
      }
      /**
       * <code>.ProfilePicture profile_picture = 11;</code>
       */
      public Builder setProfilePicture(emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture value) {
        if (profilePictureBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          profilePicture_ = value;
          onChanged();
        } else {
          profilePictureBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.ProfilePicture profile_picture = 11;</code>
       */
      public Builder setProfilePicture(
          emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.Builder builderForValue) {
        if (profilePictureBuilder_ == null) {
          profilePicture_ = builderForValue.build();
          onChanged();
        } else {
          profilePictureBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.ProfilePicture profile_picture = 11;</code>
       */
      public Builder mergeProfilePicture(emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture value) {
        if (profilePictureBuilder_ == null) {
          if (profilePicture_ != null) {
            profilePicture_ =
              emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.newBuilder(profilePicture_).mergeFrom(value).buildPartial();
          } else {
            profilePicture_ = value;
          }
          onChanged();
        } else {
          profilePictureBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.ProfilePicture profile_picture = 11;</code>
       */
      public Builder clearProfilePicture() {
        if (profilePictureBuilder_ == null) {
          profilePicture_ = null;
          onChanged();
        } else {
          profilePicture_ = null;
          profilePictureBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.ProfilePicture profile_picture = 11;</code>
       */
      public emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.Builder getProfilePictureBuilder() {
        
        onChanged();
        return getProfilePictureFieldBuilder().getBuilder();
      }
      /**
       * <code>.ProfilePicture profile_picture = 11;</code>
       */
      public emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePictureOrBuilder getProfilePictureOrBuilder() {
        if (profilePictureBuilder_ != null) {
          return profilePictureBuilder_.getMessageOrBuilder();
        } else {
          return profilePicture_ == null ?
              emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.getDefaultInstance() : profilePicture_;
        }
      }
      /**
       * <code>.ProfilePicture profile_picture = 11;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture, emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.Builder, emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePictureOrBuilder> 
          getProfilePictureFieldBuilder() {
        if (profilePictureBuilder_ == null) {
          profilePictureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture, emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.Builder, emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePictureOrBuilder>(
                  getProfilePicture(),
                  getParentForChildren(),
                  isClean());
          profilePicture_ = null;
        }
        return profilePictureBuilder_;
      }

      private com.google.protobuf.Internal.IntList cardIdList_ = emptyIntList();
      private void ensureCardIdListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          cardIdList_ = mutableCopy(cardIdList_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * <code>repeated uint32 card_id_list = 10;</code>
       * @return A list containing the cardIdList.
       */
      public java.util.List<java.lang.Integer>
          getCardIdListList() {
        return ((bitField0_ & 0x00000001) != 0) ?
                 java.util.Collections.unmodifiableList(cardIdList_) : cardIdList_;
      }
      /**
       * <code>repeated uint32 card_id_list = 10;</code>
       * @return The count of cardIdList.
       */
      public int getCardIdListCount() {
        return cardIdList_.size();
      }
      /**
       * <code>repeated uint32 card_id_list = 10;</code>
       * @param index The index of the element to return.
       * @return The cardIdList at the given index.
       */
      public int getCardIdList(int index) {
        return cardIdList_.getInt(index);
      }
      /**
       * <code>repeated uint32 card_id_list = 10;</code>
       * @param index The index to set the value at.
       * @param value The cardIdList to set.
       * @return This builder for chaining.
       */
      public Builder setCardIdList(
          int index, int value) {
        ensureCardIdListIsMutable();
        cardIdList_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 card_id_list = 10;</code>
       * @param value The cardIdList to add.
       * @return This builder for chaining.
       */
      public Builder addCardIdList(int value) {
        ensureCardIdListIsMutable();
        cardIdList_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 card_id_list = 10;</code>
       * @param values The cardIdList to add.
       * @return This builder for chaining.
       */
      public Builder addAllCardIdList(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureCardIdListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, cardIdList_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 card_id_list = 10;</code>
       * @return This builder for chaining.
       */
      public Builder clearCardIdList() {
        cardIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }

      private com.google.protobuf.MapField<
          java.lang.Integer, java.lang.Integer> cardFaceMap_;
      private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
      internalGetCardFaceMap() {
        if (cardFaceMap_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              CardFaceMapDefaultEntryHolder.defaultEntry);
        }
        return cardFaceMap_;
      }
      private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
      internalGetMutableCardFaceMap() {
        onChanged();;
        if (cardFaceMap_ == null) {
          cardFaceMap_ = com.google.protobuf.MapField.newMapField(
              CardFaceMapDefaultEntryHolder.defaultEntry);
        }
        if (!cardFaceMap_.isMutable()) {
          cardFaceMap_ = cardFaceMap_.copy();
        }
        return cardFaceMap_;
      }

      public int getCardFaceMapCount() {
        return internalGetCardFaceMap().getMap().size();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; card_face_map = 1;</code>
       */

      @java.lang.Override
      public boolean containsCardFaceMap(
          int key) {
        
        return internalGetCardFaceMap().getMap().containsKey(key);
      }
      /**
       * Use {@link #getCardFaceMapMap()} instead.
       */
      @java.lang.Override
      @java.lang.Deprecated
      public java.util.Map<java.lang.Integer, java.lang.Integer> getCardFaceMap() {
        return getCardFaceMapMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; card_face_map = 1;</code>
       */
      @java.lang.Override

      public java.util.Map<java.lang.Integer, java.lang.Integer> getCardFaceMapMap() {
        return internalGetCardFaceMap().getMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; card_face_map = 1;</code>
       */
      @java.lang.Override

      public int getCardFaceMapOrDefault(
          int key,
          int defaultValue) {
        
        java.util.Map<java.lang.Integer, java.lang.Integer> map =
            internalGetCardFaceMap().getMap();
        return map.containsKey(key) ? map.get(key) : defaultValue;
      }
      /**
       * <code>map&lt;uint32, uint32&gt; card_face_map = 1;</code>
       */
      @java.lang.Override

      public int getCardFaceMapOrThrow(
          int key) {
        
        java.util.Map<java.lang.Integer, java.lang.Integer> map =
            internalGetCardFaceMap().getMap();
        if (!map.containsKey(key)) {
          throw new java.lang.IllegalArgumentException();
        }
        return map.get(key);
      }

      public Builder clearCardFaceMap() {
        internalGetMutableCardFaceMap().getMutableMap()
            .clear();
        return this;
      }
      /**
       * <code>map&lt;uint32, uint32&gt; card_face_map = 1;</code>
       */

      public Builder removeCardFaceMap(
          int key) {
        
        internalGetMutableCardFaceMap().getMutableMap()
            .remove(key);
        return this;
      }
      /**
       * Use alternate mutation accessors instead.
       */
      @java.lang.Deprecated
      public java.util.Map<java.lang.Integer, java.lang.Integer>
      getMutableCardFaceMap() {
        return internalGetMutableCardFaceMap().getMutableMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; card_face_map = 1;</code>
       */
      public Builder putCardFaceMap(
          int key,
          int value) {
        
        
        internalGetMutableCardFaceMap().getMutableMap()
            .put(key, value);
        return this;
      }
      /**
       * <code>map&lt;uint32, uint32&gt; card_face_map = 1;</code>
       */

      public Builder putAllCardFaceMap(
          java.util.Map<java.lang.Integer, java.lang.Integer> values) {
        internalGetMutableCardFaceMap().getMutableMap()
            .putAll(values);
        return this;
      }

      private java.lang.Object psnId_ = "";
      /**
       * <code>string psn_id = 14;</code>
       * @return The psnId.
       */
      public java.lang.String getPsnId() {
        java.lang.Object ref = psnId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          psnId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string psn_id = 14;</code>
       * @return The bytes for psnId.
       */
      public com.google.protobuf.ByteString
          getPsnIdBytes() {
        java.lang.Object ref = psnId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          psnId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string psn_id = 14;</code>
       * @param value The psnId to set.
       * @return This builder for chaining.
       */
      public Builder setPsnId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        psnId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string psn_id = 14;</code>
       * @return This builder for chaining.
       */
      public Builder clearPsnId() {
        
        psnId_ = getDefaultInstance().getPsnId();
        onChanged();
        return this;
      }
      /**
       * <code>string psn_id = 14;</code>
       * @param value The bytes for psnId to set.
       * @return This builder for chaining.
       */
      public Builder setPsnIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        psnId_ = value;
        onChanged();
        return this;
      }

      private int controllerId_ ;
      /**
       * <code>uint32 controller_id = 9;</code>
       * @return The controllerId.
       */
      @java.lang.Override
      public int getControllerId() {
        return controllerId_;
      }
      /**
       * <code>uint32 controller_id = 9;</code>
       * @param value The controllerId to set.
       * @return This builder for chaining.
       */
      public Builder setControllerId(int value) {
        
        controllerId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 controller_id = 9;</code>
       * @return This builder for chaining.
       */
      public Builder clearControllerId() {
        
        controllerId_ = 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:GCGPlayerBriefData)
    }

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

    public static emu.grasscutter.net.proto.GCGPlayerBriefDataOuterClass.GCGPlayerBriefData getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_GCGPlayerBriefData_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_GCGPlayerBriefData_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_GCGPlayerBriefData_CardFaceMapEntry_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_GCGPlayerBriefData_CardFaceMapEntry_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\030GCGPlayerBriefData.proto\032\024ProfilePictu" +
      "re.proto\"\237\002\n\022GCGPlayerBriefData\022\021\n\tnick_" +
      "name\030\006 \001(\t\022\021\n\tonline_id\030\010 \001(\t\022\013\n\003uid\030\002 \001" +
      "(\r\022(\n\017profile_picture\030\013 \001(\0132\017.ProfilePic" +
      "ture\022\024\n\014card_id_list\030\n \003(\r\022;\n\rcard_face_" +
      "map\030\001 \003(\0132$.GCGPlayerBriefData.CardFaceM" +
      "apEntry\022\016\n\006psn_id\030\016 \001(\t\022\025\n\rcontroller_id" +
      "\030\t \001(\r\0322\n\020CardFaceMapEntry\022\013\n\003key\030\001 \001(\r\022" +
      "\r\n\005value\030\002 \001(\r:\0028\001B\033\n\031emu.grasscutter.ne" +
      "t.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.ProfilePictureOuterClass.getDescriptor(),
        });
    internal_static_GCGPlayerBriefData_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_GCGPlayerBriefData_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_GCGPlayerBriefData_descriptor,
        new java.lang.String[] { "NickName", "OnlineId", "Uid", "ProfilePicture", "CardIdList", "CardFaceMap", "PsnId", "ControllerId", });
    internal_static_GCGPlayerBriefData_CardFaceMapEntry_descriptor =
      internal_static_GCGPlayerBriefData_descriptor.getNestedTypes().get(0);
    internal_static_GCGPlayerBriefData_CardFaceMapEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_GCGPlayerBriefData_CardFaceMapEntry_descriptor,
        new java.lang.String[] { "Key", "Value", });
    emu.grasscutter.net.proto.ProfilePictureOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
