@java.lang.Override
    public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) {
            return size;
        }

        size = 0;
        if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sid_)) {
            size += com.google.protobuf.GeneratedMessage.computeStringSize(1, sid_);
        }
        if (!com.google.protobuf.GeneratedMessage.isStringEmpty(identity_)) {
            size += com.google.protobuf.GeneratedMessage.computeStringSize(2, identity_);
        }
        if (state_ != im.turms.plugin.livekit.core.proto.models.ParticipantInfo.State.JOINING
                .getNumber()) {
            size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_);
        }
        for (TrackInfo trackInfo : tracks_) {
            size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, trackInfo);
        }
        if (!com.google.protobuf.GeneratedMessage.isStringEmpty(metadata_)) {
            size += com.google.protobuf.GeneratedMessage.computeStringSize(5, metadata_);
        }
        if (joinedAt_ != 0L) {
            size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, joinedAt_);
        }
        if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
            size += com.google.protobuf.GeneratedMessage.computeStringSize(9, name_);
        }
        if (version_ != 0) {
            size += com.google.protobuf.CodedOutputStream.computeUInt32Size(10, version_);
        }
        if (((bitField0_ & 0x00000001) != 0)) {
            size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getPermission());
        }
        if (!com.google.protobuf.GeneratedMessage.isStringEmpty(region_)) {
            size += com.google.protobuf.GeneratedMessage.computeStringSize(12, region_);
        }
        if (isPublisher_) {
            size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, isPublisher_);
        }
        if (kind_ != im.turms.plugin.livekit.core.proto.models.ParticipantInfo.Kind.STANDARD
                .getNumber()) {
            size += com.google.protobuf.CodedOutputStream.computeEnumSize(14, kind_);
        }
        size += getUnknownFields().getSerializedSize();
        memoizedSize = size;
        return size;
    }
<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