<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: plugnmeet_analytics.proto

namespace Mynaparrot\PlugnmeetProto;

use UnexpectedValueException;

/**
 * Protobuf type <code>plugnmeet.AnalyticsEvents</code>
 */
class AnalyticsEvents
{
    /**
     * Generated from protobuf enum <code>ANALYTICS_EVENT_UNKNOWN = 0;</code>
     */
    const ANALYTICS_EVENT_UNKNOWN = 0;
    /**
     * room related
     *
     * Generated from protobuf enum <code>ANALYTICS_EVENT_ROOM_POLL_ADDED = 1;</code>
     */
    const ANALYTICS_EVENT_ROOM_POLL_ADDED = 1;
    /**
     * Generated from protobuf enum <code>ANALYTICS_EVENT_ROOM_POLL_ENDED = 2;</code>
     */
    const ANALYTICS_EVENT_ROOM_POLL_ENDED = 2;
    /**
     * user join will be room related
     * after take record it will pass to user
     *
     * Generated from protobuf enum <code>ANALYTICS_EVENT_USER_JOINED = 3;</code>
     */
    const ANALYTICS_EVENT_USER_JOINED = 3;
    /**
     * room recorder
     *
     * Generated from protobuf enum <code>ANALYTICS_EVENT_ROOM_RECORDING_STATUS = 4;</code>
     */
    const ANALYTICS_EVENT_ROOM_RECORDING_STATUS = 4;
    /**
     * Generated from protobuf enum <code>ANALYTICS_EVENT_ROOM_RTMP_STATUS = 5;</code>
     */
    const ANALYTICS_EVENT_ROOM_RTMP_STATUS = 5;
    /**
     * Generated from protobuf enum <code>ANALYTICS_EVENT_ROOM_BREAKOUT_ROOM = 6;</code>
     */
    const ANALYTICS_EVENT_ROOM_BREAKOUT_ROOM = 6;
    /**
     * Generated from protobuf enum <code>ANALYTICS_EVENT_ROOM_ETHERPAD_STATUS = 7;</code>
     */
    const ANALYTICS_EVENT_ROOM_ETHERPAD_STATUS = 7;
    /**
     * Generated from protobuf enum <code>ANALYTICS_EVENT_ROOM_EXTERNAL_DISPLAY_LINK_STATUS = 8;</code>
     */
    const ANALYTICS_EVENT_ROOM_EXTERNAL_DISPLAY_LINK_STATUS = 8;
    /**
     * Generated from protobuf enum <code>ANALYTICS_EVENT_ROOM_EXTERNAL_MEDIA_PLAYER_STATUS = 9;</code>
     */
    const ANALYTICS_EVENT_ROOM_EXTERNAL_MEDIA_PLAYER_STATUS = 9;
    /**
     * Generated from protobuf enum <code>ANALYTICS_EVENT_ROOM_SPEECH_SERVICE_STATUS = 10;</code>
     */
    const ANALYTICS_EVENT_ROOM_SPEECH_SERVICE_STATUS = 10;
    /**
     * Generated from protobuf enum <code>ANALYTICS_EVENT_ROOM_SPEECH_SERVICE_TOTAL_USAGE = 11;</code>
     */
    const ANALYTICS_EVENT_ROOM_SPEECH_SERVICE_TOTAL_USAGE = 11;
    /**
     * Generated from protobuf enum <code>ANALYTICS_EVENT_ROOM_INGRESS_CREATED = 12;</code>
     */
    const ANALYTICS_EVENT_ROOM_INGRESS_CREATED = 12;
    /**
     * Generated from protobuf enum <code>ANALYTICS_EVENT_ROOM_WHITEBOARD_FILES = 13;</code>
     */
    const ANALYTICS_EVENT_ROOM_WHITEBOARD_FILES = 13;
    /**
     * Generated from protobuf enum <code>ANALYTICS_EVENT_ROOM_INSIGHTS_TRANSCRIPTION_STATUS = 31;</code>
     */
    const ANALYTICS_EVENT_ROOM_INSIGHTS_TRANSCRIPTION_STATUS = 31;
    /**
     * Generated from protobuf enum <code>ANALYTICS_EVENT_ROOM_INSIGHTS_TRANSCRIPTION_TOTAL_USAGE = 32;</code>
     */
    const ANALYTICS_EVENT_ROOM_INSIGHTS_TRANSCRIPTION_TOTAL_USAGE = 32;
    /**
     * Generated from protobuf enum <code>ANALYTICS_EVENT_ROOM_INSIGHTS_SYNTHESIZED_SPEECH_TOTAL_USAGE = 33;</code>
     */
    const ANALYTICS_EVENT_ROOM_INSIGHTS_SYNTHESIZED_SPEECH_TOTAL_USAGE = 33;
    /**
     * Generated from protobuf enum <code>ANALYTICS_EVENT_ROOM_INSIGHTS_CHAT_TRANSLATION_STATUS = 34;</code>
     */
    const ANALYTICS_EVENT_ROOM_INSIGHTS_CHAT_TRANSLATION_STATUS = 34;
    /**
     * Generated from protobuf enum <code>ANALYTICS_EVENT_ROOM_INSIGHTS_CHAT_TRANSLATION_TOTAL_USAGE = 35;</code>
     */
    const ANALYTICS_EVENT_ROOM_INSIGHTS_CHAT_TRANSLATION_TOTAL_USAGE = 35;
    /**
     * Generated from protobuf enum <code>ANALYTICS_EVENT_ROOM_INSIGHTS_AI_TEXT_CHAT_STATUS = 36;</code>
     */
    const ANALYTICS_EVENT_ROOM_INSIGHTS_AI_TEXT_CHAT_STATUS = 36;
    /**
     * Generated from protobuf enum <code>ANALYTICS_EVENT_ROOM_INSIGHTS_AI_TEXT_CHAT_INTERACTION_TOTAL_USAGE = 37;</code>
     */
    const ANALYTICS_EVENT_ROOM_INSIGHTS_AI_TEXT_CHAT_INTERACTION_TOTAL_USAGE = 37;
    /**
     * Generated from protobuf enum <code>ANALYTICS_EVENT_ROOM_INSIGHTS_AI_TEXT_CHAT_SUMMARIZATION_TOTAL_USAGE = 38;</code>
     */
    const ANALYTICS_EVENT_ROOM_INSIGHTS_AI_TEXT_CHAT_SUMMARIZATION_TOTAL_USAGE = 38;
    /**
     * Generated from protobuf enum <code>ANALYTICS_EVENT_ROOM_INSIGHTS_AI_MEETING_SUMMARIZATION_STATUS = 39;</code>
     */
    const ANALYTICS_EVENT_ROOM_INSIGHTS_AI_MEETING_SUMMARIZATION_STATUS = 39;
    /**
     * here all related with user
     *
     * Generated from protobuf enum <code>ANALYTICS_EVENT_USER_LEFT = 14;</code>
     */
    const ANALYTICS_EVENT_USER_LEFT = 14;
    /**
     * microphone
     *
     * Generated from protobuf enum <code>ANALYTICS_EVENT_USER_MIC_STATUS = 15;</code>
     */
    const ANALYTICS_EVENT_USER_MIC_STATUS = 15;
    /**
     * Generated from protobuf enum <code>ANALYTICS_EVENT_USER_TALKED = 16;</code>
     */
    const ANALYTICS_EVENT_USER_TALKED = 16;
    /**
     * in milliseconds
     *
     * Generated from protobuf enum <code>ANALYTICS_EVENT_USER_TALKED_DURATION = 17;</code>
     */
    const ANALYTICS_EVENT_USER_TALKED_DURATION = 17;
    /**
     * webcam
     *
     * Generated from protobuf enum <code>ANALYTICS_EVENT_USER_WEBCAM_STATUS = 18;</code>
     */
    const ANALYTICS_EVENT_USER_WEBCAM_STATUS = 18;
    /**
     * screen share
     *
     * Generated from protobuf enum <code>ANALYTICS_EVENT_USER_SCREEN_SHARE_STATUS = 19;</code>
     */
    const ANALYTICS_EVENT_USER_SCREEN_SHARE_STATUS = 19;
    /**
     * polls
     *
     * Generated from protobuf enum <code>ANALYTICS_EVENT_USER_VOTED_POLL = 20;</code>
     */
    const ANALYTICS_EVENT_USER_VOTED_POLL = 20;
    /**
     * chat
     *
     * Generated from protobuf enum <code>ANALYTICS_EVENT_USER_PUBLIC_CHAT = 21;</code>
     */
    const ANALYTICS_EVENT_USER_PUBLIC_CHAT = 21;
    /**
     * Generated from protobuf enum <code>ANALYTICS_EVENT_USER_PRIVATE_CHAT = 22;</code>
     */
    const ANALYTICS_EVENT_USER_PRIVATE_CHAT = 22;
    /**
     * Generated from protobuf enum <code>ANALYTICS_EVENT_USER_CHAT_FILES = 23;</code>
     */
    const ANALYTICS_EVENT_USER_CHAT_FILES = 23;
    /**
     * whiteboard
     *
     * Generated from protobuf enum <code>ANALYTICS_EVENT_USER_WHITEBOARD_ANNOTATED = 24;</code>
     */
    const ANALYTICS_EVENT_USER_WHITEBOARD_ANNOTATED = 24;
    /**
     * Generated from protobuf enum <code>ANALYTICS_EVENT_USER_WHITEBOARD_FILES = 25;</code>
     */
    const ANALYTICS_EVENT_USER_WHITEBOARD_FILES = 25;
    /**
     * speech services
     *
     * Generated from protobuf enum <code>ANALYTICS_EVENT_USER_SPEECH_SERVICES_USAGE = 26;</code>
     */
    const ANALYTICS_EVENT_USER_SPEECH_SERVICES_USAGE = 26;
    /**
     * Generated from protobuf enum <code>ANALYTICS_EVENT_USER_SPEECH_SERVICES_STATUS = 27;</code>
     */
    const ANALYTICS_EVENT_USER_SPEECH_SERVICES_STATUS = 27;
    /**
     * etc
     *
     * Generated from protobuf enum <code>ANALYTICS_EVENT_USER_INTERFACE_VISIBILITY = 28;</code>
     */
    const ANALYTICS_EVENT_USER_INTERFACE_VISIBILITY = 28;
    /**
     * Generated from protobuf enum <code>ANALYTICS_EVENT_USER_RAISE_HAND = 29;</code>
     */
    const ANALYTICS_EVENT_USER_RAISE_HAND = 29;
    /**
     * Generated from protobuf enum <code>ANALYTICS_EVENT_USER_CONNECTION_QUALITY = 30;</code>
     */
    const ANALYTICS_EVENT_USER_CONNECTION_QUALITY = 30;

    private static $valueToName = [
        self::ANALYTICS_EVENT_UNKNOWN => 'ANALYTICS_EVENT_UNKNOWN',
        self::ANALYTICS_EVENT_ROOM_POLL_ADDED => 'ANALYTICS_EVENT_ROOM_POLL_ADDED',
        self::ANALYTICS_EVENT_ROOM_POLL_ENDED => 'ANALYTICS_EVENT_ROOM_POLL_ENDED',
        self::ANALYTICS_EVENT_USER_JOINED => 'ANALYTICS_EVENT_USER_JOINED',
        self::ANALYTICS_EVENT_ROOM_RECORDING_STATUS => 'ANALYTICS_EVENT_ROOM_RECORDING_STATUS',
        self::ANALYTICS_EVENT_ROOM_RTMP_STATUS => 'ANALYTICS_EVENT_ROOM_RTMP_STATUS',
        self::ANALYTICS_EVENT_ROOM_BREAKOUT_ROOM => 'ANALYTICS_EVENT_ROOM_BREAKOUT_ROOM',
        self::ANALYTICS_EVENT_ROOM_ETHERPAD_STATUS => 'ANALYTICS_EVENT_ROOM_ETHERPAD_STATUS',
        self::ANALYTICS_EVENT_ROOM_EXTERNAL_DISPLAY_LINK_STATUS => 'ANALYTICS_EVENT_ROOM_EXTERNAL_DISPLAY_LINK_STATUS',
        self::ANALYTICS_EVENT_ROOM_EXTERNAL_MEDIA_PLAYER_STATUS => 'ANALYTICS_EVENT_ROOM_EXTERNAL_MEDIA_PLAYER_STATUS',
        self::ANALYTICS_EVENT_ROOM_SPEECH_SERVICE_STATUS => 'ANALYTICS_EVENT_ROOM_SPEECH_SERVICE_STATUS',
        self::ANALYTICS_EVENT_ROOM_SPEECH_SERVICE_TOTAL_USAGE => 'ANALYTICS_EVENT_ROOM_SPEECH_SERVICE_TOTAL_USAGE',
        self::ANALYTICS_EVENT_ROOM_INGRESS_CREATED => 'ANALYTICS_EVENT_ROOM_INGRESS_CREATED',
        self::ANALYTICS_EVENT_ROOM_WHITEBOARD_FILES => 'ANALYTICS_EVENT_ROOM_WHITEBOARD_FILES',
        self::ANALYTICS_EVENT_ROOM_INSIGHTS_TRANSCRIPTION_STATUS => 'ANALYTICS_EVENT_ROOM_INSIGHTS_TRANSCRIPTION_STATUS',
        self::ANALYTICS_EVENT_ROOM_INSIGHTS_TRANSCRIPTION_TOTAL_USAGE => 'ANALYTICS_EVENT_ROOM_INSIGHTS_TRANSCRIPTION_TOTAL_USAGE',
        self::ANALYTICS_EVENT_ROOM_INSIGHTS_SYNTHESIZED_SPEECH_TOTAL_USAGE => 'ANALYTICS_EVENT_ROOM_INSIGHTS_SYNTHESIZED_SPEECH_TOTAL_USAGE',
        self::ANALYTICS_EVENT_ROOM_INSIGHTS_CHAT_TRANSLATION_STATUS => 'ANALYTICS_EVENT_ROOM_INSIGHTS_CHAT_TRANSLATION_STATUS',
        self::ANALYTICS_EVENT_ROOM_INSIGHTS_CHAT_TRANSLATION_TOTAL_USAGE => 'ANALYTICS_EVENT_ROOM_INSIGHTS_CHAT_TRANSLATION_TOTAL_USAGE',
        self::ANALYTICS_EVENT_ROOM_INSIGHTS_AI_TEXT_CHAT_STATUS => 'ANALYTICS_EVENT_ROOM_INSIGHTS_AI_TEXT_CHAT_STATUS',
        self::ANALYTICS_EVENT_ROOM_INSIGHTS_AI_TEXT_CHAT_INTERACTION_TOTAL_USAGE => 'ANALYTICS_EVENT_ROOM_INSIGHTS_AI_TEXT_CHAT_INTERACTION_TOTAL_USAGE',
        self::ANALYTICS_EVENT_ROOM_INSIGHTS_AI_TEXT_CHAT_SUMMARIZATION_TOTAL_USAGE => 'ANALYTICS_EVENT_ROOM_INSIGHTS_AI_TEXT_CHAT_SUMMARIZATION_TOTAL_USAGE',
        self::ANALYTICS_EVENT_ROOM_INSIGHTS_AI_MEETING_SUMMARIZATION_STATUS => 'ANALYTICS_EVENT_ROOM_INSIGHTS_AI_MEETING_SUMMARIZATION_STATUS',
        self::ANALYTICS_EVENT_USER_LEFT => 'ANALYTICS_EVENT_USER_LEFT',
        self::ANALYTICS_EVENT_USER_MIC_STATUS => 'ANALYTICS_EVENT_USER_MIC_STATUS',
        self::ANALYTICS_EVENT_USER_TALKED => 'ANALYTICS_EVENT_USER_TALKED',
        self::ANALYTICS_EVENT_USER_TALKED_DURATION => 'ANALYTICS_EVENT_USER_TALKED_DURATION',
        self::ANALYTICS_EVENT_USER_WEBCAM_STATUS => 'ANALYTICS_EVENT_USER_WEBCAM_STATUS',
        self::ANALYTICS_EVENT_USER_SCREEN_SHARE_STATUS => 'ANALYTICS_EVENT_USER_SCREEN_SHARE_STATUS',
        self::ANALYTICS_EVENT_USER_VOTED_POLL => 'ANALYTICS_EVENT_USER_VOTED_POLL',
        self::ANALYTICS_EVENT_USER_PUBLIC_CHAT => 'ANALYTICS_EVENT_USER_PUBLIC_CHAT',
        self::ANALYTICS_EVENT_USER_PRIVATE_CHAT => 'ANALYTICS_EVENT_USER_PRIVATE_CHAT',
        self::ANALYTICS_EVENT_USER_CHAT_FILES => 'ANALYTICS_EVENT_USER_CHAT_FILES',
        self::ANALYTICS_EVENT_USER_WHITEBOARD_ANNOTATED => 'ANALYTICS_EVENT_USER_WHITEBOARD_ANNOTATED',
        self::ANALYTICS_EVENT_USER_WHITEBOARD_FILES => 'ANALYTICS_EVENT_USER_WHITEBOARD_FILES',
        self::ANALYTICS_EVENT_USER_SPEECH_SERVICES_USAGE => 'ANALYTICS_EVENT_USER_SPEECH_SERVICES_USAGE',
        self::ANALYTICS_EVENT_USER_SPEECH_SERVICES_STATUS => 'ANALYTICS_EVENT_USER_SPEECH_SERVICES_STATUS',
        self::ANALYTICS_EVENT_USER_INTERFACE_VISIBILITY => 'ANALYTICS_EVENT_USER_INTERFACE_VISIBILITY',
        self::ANALYTICS_EVENT_USER_RAISE_HAND => 'ANALYTICS_EVENT_USER_RAISE_HAND',
        self::ANALYTICS_EVENT_USER_CONNECTION_QUALITY => 'ANALYTICS_EVENT_USER_CONNECTION_QUALITY',
    ];

    public static function name($value)
    {
        if (!isset(self::$valueToName[$value])) {
            throw new UnexpectedValueException(sprintf(
                    'Enum %s has no name defined for value %s', __CLASS__, $value));
        }
        return self::$valueToName[$value];
    }


    public static function value($name)
    {
        $const = __CLASS__ . '::' . strtoupper($name);
        if (!defined($const)) {
            throw new UnexpectedValueException(sprintf(
                    'Enum %s has no value defined for name %s', __CLASS__, $name));
        }
        return constant($const);
    }
}

