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

        if (getCanSubscribe() != other.getCanSubscribe()) {
            return false;
        }
        if (getCanPublish() != other.getCanPublish()) {
            return false;
        }
        if (getCanPublishData() != other.getCanPublishData()) {
            return false;
        }
        if (!canPublishSources_.equals(other.canPublishSources_)) {
            return false;
        }
        if (getHidden() != other.getHidden()) {
            return false;
        }
        if (getRecorder() != other.getRecorder()) {
            return false;
        }
        if (getCanUpdateMetadata() != other.getCanUpdateMetadata()) {
            return false;
        }
        if (getAgent() != other.getAgent()) {
            return false;
        }
        return getUnknownFields().equals(other.getUnknownFields());
    }
<pre>
indicates that participant is an agent
</pre>

<code>bool agent = 11;</code>

@return The agent.
turms-plugins/turms-plugin-livekit/src/main/java/im/turms/plugin/livekit/core/proto/models/ParticipantPermission.java