public Builder setCanPublish(boolean value) {

            canPublish_ = value;
            bitField0_ |= 0x00000002;
            onChanged();
            return this;
        }
<pre>
allow participant to publish new tracks to room
</pre>

<code>bool can_publish = 2;</code>

@param value The canPublish to set.
@return This builder for chaining.
turms-plugins/turms-plugin-livekit/src/main/java/im/turms/plugin/livekit/core/proto/models/ParticipantPermission.java