@java.lang.Override
    public int hashCode() {
        if (memoizedHashCode != 0) {
            return memoizedHashCode;
        }
        int hash = 41;
        hash = (19 * hash) + getDescriptor().hashCode();
        hash = (37 * hash) + TOTAL_FIELD_NUMBER;
        hash = (53 * hash) + getTotal();
        hash = (37 * hash) + IS_GROUP_MESSAGE_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsGroupMessage());
        hash = (37 * hash) + FROM_ID_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFromId());
        if (getMessagesCount() > 0) {
            hash = (37 * hash) + MESSAGES_FIELD_NUMBER;
            hash = (53 * hash) + getMessagesList().hashCode();
        }
        hash = (29 * hash) + getUnknownFields().hashCode();
        memoizedHashCode = hash;
        return hash;
    }
<code>repeated .im.turms.proto.Message messages = 4;</code>
turms-server-common/src/main/java/im/turms/server/common/access/client/dto/model/message/MessagesWithTotal.java