@java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
        if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sid_)) {
            com.google.protobuf.GeneratedMessage.writeString(output, 1, sid_);
        }
        if (!com.google.protobuf.GeneratedMessage.isStringEmpty(identity_)) {
            com.google.protobuf.GeneratedMessage.writeString(output, 2, identity_);
        }
        if (state_ != im.turms.plugin.livekit.core.proto.models.ParticipantInfo.State.JOINING
                .getNumber()) {
            output.writeEnum(3, state_);
        }
        for (TrackInfo trackInfo : tracks_) {
            output.writeMessage(4, trackInfo);
        }
        if (!com.google.protobuf.GeneratedMessage.isStringEmpty(metadata_)) {
            com.google.protobuf.GeneratedMessage.writeString(output, 5, metadata_);
        }
        if (joinedAt_ != 0L) {
            output.writeInt64(6, joinedAt_);
        }
        if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
            com.google.protobuf.GeneratedMessage.writeString(output, 9, name_);
        }
        if (version_ != 0) {
            output.writeUInt32(10, version_);
        }
        if (((bitField0_ & 0x00000001) != 0)) {
            output.writeMessage(11, getPermission());
        }
        if (!com.google.protobuf.GeneratedMessage.isStringEmpty(region_)) {
            com.google.protobuf.GeneratedMessage.writeString(output, 12, region_);
        }
        if (isPublisher_) {
            output.writeBool(13, isPublisher_);
        }
        if (kind_ != im.turms.plugin.livekit.core.proto.models.ParticipantInfo.Kind.STANDARD
                .getNumber()) {
            output.writeEnum(14, kind_);
        }
        getUnknownFields().writeTo(output);
    }
<code>.livekit.ParticipantInfo.Kind kind = 14;</code>

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