@java.lang.Override
    public boolean equals(final java.lang.Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof UpdateRelationshipRequest other)) {
            return super.equals(obj);
        }

        if (getUserId() != other.getUserId()) {
            return false;
        }
        if (hasBlocked() != other.hasBlocked()) {
            return false;
        }
        if (hasBlocked()) {
            if (getBlocked() != other.getBlocked()) {
                return false;
            }
        }
        if (hasNewGroupIndex() != other.hasNewGroupIndex()) {
            return false;
        }
        if (hasNewGroupIndex()) {
            if (getNewGroupIndex() != other.getNewGroupIndex()) {
                return false;
            }
        }
        if (hasDeleteGroupIndex() != other.hasDeleteGroupIndex()) {
            return false;
        }
        if (hasDeleteGroupIndex()) {
            if (getDeleteGroupIndex() != other.getDeleteGroupIndex()) {
                return false;
            }
        }
        if (hasName() != other.hasName()) {
            return false;
        }
        if (hasName()) {
            if (!getName().equals(other.getName())) {
                return false;
            }
        }
        if (hasNote() != other.hasNote()) {
            return false;
        }
        if (hasNote()) {
            if (!getNote().equals(other.getNote())) {
                return false;
            }
        }
        return getCustomAttributesList().equals(other.getCustomAttributesList())
                && getUnknownFields().equals(other.getUnknownFields());
    }
<code>repeated .im.turms.proto.Value custom_attributes = 15;</code>
turms-server-common/src/main/java/im/turms/server/common/access/client/dto/request/user/relationship/UpdateRelationshipRequest.java