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

namespace PhpWA\Protocol\Proto\WebMessageInfo;

use UnexpectedValueException;

/**
 * Protobuf type <code>proto.WebMessageInfo.StubType</code>
 */
class StubType
{
    /**
     * Generated from protobuf enum <code>UNKNOWN = 0;</code>
     */
    const UNKNOWN = 0;
    /**
     * Generated from protobuf enum <code>REVOKE = 1;</code>
     */
    const REVOKE = 1;
    /**
     * Generated from protobuf enum <code>CIPHERTEXT = 2;</code>
     */
    const CIPHERTEXT = 2;
    /**
     * Generated from protobuf enum <code>FUTUREPROOF = 3;</code>
     */
    const FUTUREPROOF = 3;
    /**
     * Generated from protobuf enum <code>NON_VERIFIED_TRANSITION = 4;</code>
     */
    const NON_VERIFIED_TRANSITION = 4;
    /**
     * Generated from protobuf enum <code>UNVERIFIED_TRANSITION = 5;</code>
     */
    const UNVERIFIED_TRANSITION = 5;
    /**
     * Generated from protobuf enum <code>VERIFIED_TRANSITION = 6;</code>
     */
    const VERIFIED_TRANSITION = 6;
    /**
     * Generated from protobuf enum <code>VERIFIED_LOW_UNKNOWN = 7;</code>
     */
    const VERIFIED_LOW_UNKNOWN = 7;
    /**
     * Generated from protobuf enum <code>VERIFIED_HIGH = 8;</code>
     */
    const VERIFIED_HIGH = 8;
    /**
     * Generated from protobuf enum <code>VERIFIED_INITIAL_UNKNOWN = 9;</code>
     */
    const VERIFIED_INITIAL_UNKNOWN = 9;
    /**
     * Generated from protobuf enum <code>VERIFIED_INITIAL_LOW = 10;</code>
     */
    const VERIFIED_INITIAL_LOW = 10;
    /**
     * Generated from protobuf enum <code>VERIFIED_INITIAL_HIGH = 11;</code>
     */
    const VERIFIED_INITIAL_HIGH = 11;
    /**
     * Generated from protobuf enum <code>VERIFIED_TRANSITION_ANY_TO_NONE = 12;</code>
     */
    const VERIFIED_TRANSITION_ANY_TO_NONE = 12;
    /**
     * Generated from protobuf enum <code>VERIFIED_TRANSITION_ANY_TO_HIGH = 13;</code>
     */
    const VERIFIED_TRANSITION_ANY_TO_HIGH = 13;
    /**
     * Generated from protobuf enum <code>VERIFIED_TRANSITION_HIGH_TO_LOW = 14;</code>
     */
    const VERIFIED_TRANSITION_HIGH_TO_LOW = 14;
    /**
     * Generated from protobuf enum <code>VERIFIED_TRANSITION_HIGH_TO_UNKNOWN = 15;</code>
     */
    const VERIFIED_TRANSITION_HIGH_TO_UNKNOWN = 15;
    /**
     * Generated from protobuf enum <code>VERIFIED_TRANSITION_UNKNOWN_TO_LOW = 16;</code>
     */
    const VERIFIED_TRANSITION_UNKNOWN_TO_LOW = 16;
    /**
     * Generated from protobuf enum <code>VERIFIED_TRANSITION_LOW_TO_UNKNOWN = 17;</code>
     */
    const VERIFIED_TRANSITION_LOW_TO_UNKNOWN = 17;
    /**
     * Generated from protobuf enum <code>VERIFIED_TRANSITION_NONE_TO_LOW = 18;</code>
     */
    const VERIFIED_TRANSITION_NONE_TO_LOW = 18;
    /**
     * Generated from protobuf enum <code>VERIFIED_TRANSITION_NONE_TO_UNKNOWN = 19;</code>
     */
    const VERIFIED_TRANSITION_NONE_TO_UNKNOWN = 19;
    /**
     * Generated from protobuf enum <code>GROUP_CREATE = 20;</code>
     */
    const GROUP_CREATE = 20;
    /**
     * Generated from protobuf enum <code>GROUP_CHANGE_SUBJECT = 21;</code>
     */
    const GROUP_CHANGE_SUBJECT = 21;
    /**
     * Generated from protobuf enum <code>GROUP_CHANGE_ICON = 22;</code>
     */
    const GROUP_CHANGE_ICON = 22;
    /**
     * Generated from protobuf enum <code>GROUP_CHANGE_INVITE_LINK = 23;</code>
     */
    const GROUP_CHANGE_INVITE_LINK = 23;
    /**
     * Generated from protobuf enum <code>GROUP_CHANGE_DESCRIPTION = 24;</code>
     */
    const GROUP_CHANGE_DESCRIPTION = 24;
    /**
     * Generated from protobuf enum <code>GROUP_CHANGE_RESTRICT = 25;</code>
     */
    const GROUP_CHANGE_RESTRICT = 25;
    /**
     * Generated from protobuf enum <code>GROUP_CHANGE_ANNOUNCE = 26;</code>
     */
    const GROUP_CHANGE_ANNOUNCE = 26;
    /**
     * Generated from protobuf enum <code>GROUP_PARTICIPANT_ADD = 27;</code>
     */
    const GROUP_PARTICIPANT_ADD = 27;
    /**
     * Generated from protobuf enum <code>GROUP_PARTICIPANT_REMOVE = 28;</code>
     */
    const GROUP_PARTICIPANT_REMOVE = 28;
    /**
     * Generated from protobuf enum <code>GROUP_PARTICIPANT_PROMOTE = 29;</code>
     */
    const GROUP_PARTICIPANT_PROMOTE = 29;
    /**
     * Generated from protobuf enum <code>GROUP_PARTICIPANT_DEMOTE = 30;</code>
     */
    const GROUP_PARTICIPANT_DEMOTE = 30;
    /**
     * Generated from protobuf enum <code>GROUP_PARTICIPANT_INVITE = 31;</code>
     */
    const GROUP_PARTICIPANT_INVITE = 31;
    /**
     * Generated from protobuf enum <code>GROUP_PARTICIPANT_LEAVE = 32;</code>
     */
    const GROUP_PARTICIPANT_LEAVE = 32;
    /**
     * Generated from protobuf enum <code>GROUP_PARTICIPANT_CHANGE_NUMBER = 33;</code>
     */
    const GROUP_PARTICIPANT_CHANGE_NUMBER = 33;
    /**
     * Generated from protobuf enum <code>BROADCAST_CREATE = 34;</code>
     */
    const BROADCAST_CREATE = 34;
    /**
     * Generated from protobuf enum <code>BROADCAST_ADD = 35;</code>
     */
    const BROADCAST_ADD = 35;
    /**
     * Generated from protobuf enum <code>BROADCAST_REMOVE = 36;</code>
     */
    const BROADCAST_REMOVE = 36;
    /**
     * Generated from protobuf enum <code>GENERIC_NOTIFICATION = 37;</code>
     */
    const GENERIC_NOTIFICATION = 37;
    /**
     * Generated from protobuf enum <code>E2E_IDENTITY_CHANGED = 38;</code>
     */
    const E2E_IDENTITY_CHANGED = 38;
    /**
     * Generated from protobuf enum <code>E2E_ENCRYPTED = 39;</code>
     */
    const E2E_ENCRYPTED = 39;
    /**
     * Generated from protobuf enum <code>CALL_MISSED_VOICE = 40;</code>
     */
    const CALL_MISSED_VOICE = 40;
    /**
     * Generated from protobuf enum <code>CALL_MISSED_VIDEO = 41;</code>
     */
    const CALL_MISSED_VIDEO = 41;
    /**
     * Generated from protobuf enum <code>INDIVIDUAL_CHANGE_NUMBER = 42;</code>
     */
    const INDIVIDUAL_CHANGE_NUMBER = 42;
    /**
     * Generated from protobuf enum <code>GROUP_DELETE = 43;</code>
     */
    const GROUP_DELETE = 43;
    /**
     * Generated from protobuf enum <code>GROUP_ANNOUNCE_MODE_MESSAGE_BOUNCE = 44;</code>
     */
    const GROUP_ANNOUNCE_MODE_MESSAGE_BOUNCE = 44;
    /**
     * Generated from protobuf enum <code>CALL_MISSED_GROUP_VOICE = 45;</code>
     */
    const CALL_MISSED_GROUP_VOICE = 45;
    /**
     * Generated from protobuf enum <code>CALL_MISSED_GROUP_VIDEO = 46;</code>
     */
    const CALL_MISSED_GROUP_VIDEO = 46;
    /**
     * Generated from protobuf enum <code>PAYMENT_CIPHERTEXT = 47;</code>
     */
    const PAYMENT_CIPHERTEXT = 47;
    /**
     * Generated from protobuf enum <code>PAYMENT_FUTUREPROOF = 48;</code>
     */
    const PAYMENT_FUTUREPROOF = 48;
    /**
     * Generated from protobuf enum <code>PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED = 49;</code>
     */
    const PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED = 49;
    /**
     * Generated from protobuf enum <code>PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED = 50;</code>
     */
    const PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED = 50;
    /**
     * Generated from protobuf enum <code>PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED = 51;</code>
     */
    const PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED = 51;
    /**
     * Generated from protobuf enum <code>PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP = 52;</code>
     */
    const PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP = 52;
    /**
     * Generated from protobuf enum <code>PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP = 53;</code>
     */
    const PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP = 53;
    /**
     * Generated from protobuf enum <code>PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER = 54;</code>
     */
    const PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER = 54;
    /**
     * Generated from protobuf enum <code>PAYMENT_ACTION_SEND_PAYMENT_REMINDER = 55;</code>
     */
    const PAYMENT_ACTION_SEND_PAYMENT_REMINDER = 55;
    /**
     * Generated from protobuf enum <code>PAYMENT_ACTION_SEND_PAYMENT_INVITATION = 56;</code>
     */
    const PAYMENT_ACTION_SEND_PAYMENT_INVITATION = 56;
    /**
     * Generated from protobuf enum <code>PAYMENT_ACTION_REQUEST_DECLINED = 57;</code>
     */
    const PAYMENT_ACTION_REQUEST_DECLINED = 57;
    /**
     * Generated from protobuf enum <code>PAYMENT_ACTION_REQUEST_EXPIRED = 58;</code>
     */
    const PAYMENT_ACTION_REQUEST_EXPIRED = 58;
    /**
     * Generated from protobuf enum <code>PAYMENT_ACTION_REQUEST_CANCELLED = 59;</code>
     */
    const PAYMENT_ACTION_REQUEST_CANCELLED = 59;
    /**
     * Generated from protobuf enum <code>BIZ_VERIFIED_TRANSITION_TOP_TO_BOTTOM = 60;</code>
     */
    const BIZ_VERIFIED_TRANSITION_TOP_TO_BOTTOM = 60;
    /**
     * Generated from protobuf enum <code>BIZ_VERIFIED_TRANSITION_BOTTOM_TO_TOP = 61;</code>
     */
    const BIZ_VERIFIED_TRANSITION_BOTTOM_TO_TOP = 61;
    /**
     * Generated from protobuf enum <code>BIZ_INTRO_TOP = 62;</code>
     */
    const BIZ_INTRO_TOP = 62;
    /**
     * Generated from protobuf enum <code>BIZ_INTRO_BOTTOM = 63;</code>
     */
    const BIZ_INTRO_BOTTOM = 63;
    /**
     * Generated from protobuf enum <code>BIZ_NAME_CHANGE = 64;</code>
     */
    const BIZ_NAME_CHANGE = 64;
    /**
     * Generated from protobuf enum <code>BIZ_MOVE_TO_CONSUMER_APP = 65;</code>
     */
    const BIZ_MOVE_TO_CONSUMER_APP = 65;
    /**
     * Generated from protobuf enum <code>BIZ_TWO_TIER_MIGRATION_TOP = 66;</code>
     */
    const BIZ_TWO_TIER_MIGRATION_TOP = 66;
    /**
     * Generated from protobuf enum <code>BIZ_TWO_TIER_MIGRATION_BOTTOM = 67;</code>
     */
    const BIZ_TWO_TIER_MIGRATION_BOTTOM = 67;
    /**
     * Generated from protobuf enum <code>OVERSIZED = 68;</code>
     */
    const OVERSIZED = 68;
    /**
     * Generated from protobuf enum <code>GROUP_CHANGE_NO_FREQUENTLY_FORWARDED = 69;</code>
     */
    const GROUP_CHANGE_NO_FREQUENTLY_FORWARDED = 69;
    /**
     * Generated from protobuf enum <code>GROUP_V4_ADD_INVITE_SENT = 70;</code>
     */
    const GROUP_V4_ADD_INVITE_SENT = 70;
    /**
     * Generated from protobuf enum <code>GROUP_PARTICIPANT_ADD_REQUEST_JOIN = 71;</code>
     */
    const GROUP_PARTICIPANT_ADD_REQUEST_JOIN = 71;
    /**
     * Generated from protobuf enum <code>CHANGE_EPHEMERAL_SETTING = 72;</code>
     */
    const CHANGE_EPHEMERAL_SETTING = 72;
    /**
     * Generated from protobuf enum <code>E2E_DEVICE_CHANGED = 73;</code>
     */
    const E2E_DEVICE_CHANGED = 73;
    /**
     * Generated from protobuf enum <code>VIEWED_ONCE = 74;</code>
     */
    const VIEWED_ONCE = 74;
    /**
     * Generated from protobuf enum <code>E2E_ENCRYPTED_NOW = 75;</code>
     */
    const E2E_ENCRYPTED_NOW = 75;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_BSP_FB_TO_BSP_PREMISE = 76;</code>
     */
    const BLUE_MSG_BSP_FB_TO_BSP_PREMISE = 76;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_BSP_FB_TO_SELF_FB = 77;</code>
     */
    const BLUE_MSG_BSP_FB_TO_SELF_FB = 77;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_BSP_FB_TO_SELF_PREMISE = 78;</code>
     */
    const BLUE_MSG_BSP_FB_TO_SELF_PREMISE = 78;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_BSP_FB_UNVERIFIED = 79;</code>
     */
    const BLUE_MSG_BSP_FB_UNVERIFIED = 79;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 80;</code>
     */
    const BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 80;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_BSP_FB_VERIFIED = 81;</code>
     */
    const BLUE_MSG_BSP_FB_VERIFIED = 81;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 82;</code>
     */
    const BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 82;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_BSP_PREMISE_TO_SELF_PREMISE = 83;</code>
     */
    const BLUE_MSG_BSP_PREMISE_TO_SELF_PREMISE = 83;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_BSP_PREMISE_UNVERIFIED = 84;</code>
     */
    const BLUE_MSG_BSP_PREMISE_UNVERIFIED = 84;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_BSP_PREMISE_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 85;</code>
     */
    const BLUE_MSG_BSP_PREMISE_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 85;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_BSP_PREMISE_VERIFIED = 86;</code>
     */
    const BLUE_MSG_BSP_PREMISE_VERIFIED = 86;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_BSP_PREMISE_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 87;</code>
     */
    const BLUE_MSG_BSP_PREMISE_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 87;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_CONSUMER_TO_BSP_FB_UNVERIFIED = 88;</code>
     */
    const BLUE_MSG_CONSUMER_TO_BSP_FB_UNVERIFIED = 88;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_CONSUMER_TO_BSP_PREMISE_UNVERIFIED = 89;</code>
     */
    const BLUE_MSG_CONSUMER_TO_BSP_PREMISE_UNVERIFIED = 89;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_CONSUMER_TO_SELF_FB_UNVERIFIED = 90;</code>
     */
    const BLUE_MSG_CONSUMER_TO_SELF_FB_UNVERIFIED = 90;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_CONSUMER_TO_SELF_PREMISE_UNVERIFIED = 91;</code>
     */
    const BLUE_MSG_CONSUMER_TO_SELF_PREMISE_UNVERIFIED = 91;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_SELF_FB_TO_BSP_PREMISE = 92;</code>
     */
    const BLUE_MSG_SELF_FB_TO_BSP_PREMISE = 92;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_SELF_FB_TO_SELF_PREMISE = 93;</code>
     */
    const BLUE_MSG_SELF_FB_TO_SELF_PREMISE = 93;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_SELF_FB_UNVERIFIED = 94;</code>
     */
    const BLUE_MSG_SELF_FB_UNVERIFIED = 94;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_SELF_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 95;</code>
     */
    const BLUE_MSG_SELF_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 95;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_SELF_FB_VERIFIED = 96;</code>
     */
    const BLUE_MSG_SELF_FB_VERIFIED = 96;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_SELF_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 97;</code>
     */
    const BLUE_MSG_SELF_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 97;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_SELF_PREMISE_TO_BSP_PREMISE = 98;</code>
     */
    const BLUE_MSG_SELF_PREMISE_TO_BSP_PREMISE = 98;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_SELF_PREMISE_UNVERIFIED = 99;</code>
     */
    const BLUE_MSG_SELF_PREMISE_UNVERIFIED = 99;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_SELF_PREMISE_VERIFIED = 100;</code>
     */
    const BLUE_MSG_SELF_PREMISE_VERIFIED = 100;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_TO_BSP_FB = 101;</code>
     */
    const BLUE_MSG_TO_BSP_FB = 101;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_TO_CONSUMER = 102;</code>
     */
    const BLUE_MSG_TO_CONSUMER = 102;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_TO_SELF_FB = 103;</code>
     */
    const BLUE_MSG_TO_SELF_FB = 103;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_UNVERIFIED_TO_BSP_FB_VERIFIED = 104;</code>
     */
    const BLUE_MSG_UNVERIFIED_TO_BSP_FB_VERIFIED = 104;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 105;</code>
     */
    const BLUE_MSG_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 105;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_UNVERIFIED_TO_SELF_FB_VERIFIED = 106;</code>
     */
    const BLUE_MSG_UNVERIFIED_TO_SELF_FB_VERIFIED = 106;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_UNVERIFIED_TO_VERIFIED = 107;</code>
     */
    const BLUE_MSG_UNVERIFIED_TO_VERIFIED = 107;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_VERIFIED_TO_BSP_FB_UNVERIFIED = 108;</code>
     */
    const BLUE_MSG_VERIFIED_TO_BSP_FB_UNVERIFIED = 108;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 109;</code>
     */
    const BLUE_MSG_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 109;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_VERIFIED_TO_SELF_FB_UNVERIFIED = 110;</code>
     */
    const BLUE_MSG_VERIFIED_TO_SELF_FB_UNVERIFIED = 110;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_VERIFIED_TO_UNVERIFIED = 111;</code>
     */
    const BLUE_MSG_VERIFIED_TO_UNVERIFIED = 111;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_BSP_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 112;</code>
     */
    const BLUE_MSG_BSP_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 112;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_FB_VERIFIED = 113;</code>
     */
    const BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_FB_VERIFIED = 113;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_BSP_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 114;</code>
     */
    const BLUE_MSG_BSP_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 114;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_FB_UNVERIFIED = 115;</code>
     */
    const BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_FB_UNVERIFIED = 115;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_SELF_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 116;</code>
     */
    const BLUE_MSG_SELF_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 116;
    /**
     * Generated from protobuf enum <code>BLUE_MSG_SELF_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 117;</code>
     */
    const BLUE_MSG_SELF_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 117;
    /**
     * Generated from protobuf enum <code>E2E_IDENTITY_UNAVAILABLE = 118;</code>
     */
    const E2E_IDENTITY_UNAVAILABLE = 118;
    /**
     * Generated from protobuf enum <code>GROUP_CREATING = 119;</code>
     */
    const GROUP_CREATING = 119;
    /**
     * Generated from protobuf enum <code>GROUP_CREATE_FAILED = 120;</code>
     */
    const GROUP_CREATE_FAILED = 120;
    /**
     * Generated from protobuf enum <code>GROUP_BOUNCED = 121;</code>
     */
    const GROUP_BOUNCED = 121;
    /**
     * Generated from protobuf enum <code>BLOCK_CONTACT = 122;</code>
     */
    const BLOCK_CONTACT = 122;
    /**
     * Generated from protobuf enum <code>EPHEMERAL_SETTING_NOT_APPLIED = 123;</code>
     */
    const EPHEMERAL_SETTING_NOT_APPLIED = 123;
    /**
     * Generated from protobuf enum <code>SYNC_FAILED = 124;</code>
     */
    const SYNC_FAILED = 124;
    /**
     * Generated from protobuf enum <code>SYNCING = 125;</code>
     */
    const SYNCING = 125;
    /**
     * Generated from protobuf enum <code>BIZ_PRIVACY_MODE_INIT_FB = 126;</code>
     */
    const BIZ_PRIVACY_MODE_INIT_FB = 126;
    /**
     * Generated from protobuf enum <code>BIZ_PRIVACY_MODE_INIT_BSP = 127;</code>
     */
    const BIZ_PRIVACY_MODE_INIT_BSP = 127;
    /**
     * Generated from protobuf enum <code>BIZ_PRIVACY_MODE_TO_FB = 128;</code>
     */
    const BIZ_PRIVACY_MODE_TO_FB = 128;
    /**
     * Generated from protobuf enum <code>BIZ_PRIVACY_MODE_TO_BSP = 129;</code>
     */
    const BIZ_PRIVACY_MODE_TO_BSP = 129;
    /**
     * Generated from protobuf enum <code>DISAPPEARING_MODE = 130;</code>
     */
    const DISAPPEARING_MODE = 130;
    /**
     * Generated from protobuf enum <code>E2E_DEVICE_FETCH_FAILED = 131;</code>
     */
    const E2E_DEVICE_FETCH_FAILED = 131;
    /**
     * Generated from protobuf enum <code>ADMIN_REVOKE = 132;</code>
     */
    const ADMIN_REVOKE = 132;
    /**
     * Generated from protobuf enum <code>GROUP_INVITE_LINK_GROWTH_LOCKED = 133;</code>
     */
    const GROUP_INVITE_LINK_GROWTH_LOCKED = 133;
    /**
     * Generated from protobuf enum <code>COMMUNITY_LINK_PARENT_GROUP = 134;</code>
     */
    const COMMUNITY_LINK_PARENT_GROUP = 134;
    /**
     * Generated from protobuf enum <code>COMMUNITY_LINK_SIBLING_GROUP = 135;</code>
     */
    const COMMUNITY_LINK_SIBLING_GROUP = 135;
    /**
     * Generated from protobuf enum <code>COMMUNITY_LINK_SUB_GROUP = 136;</code>
     */
    const COMMUNITY_LINK_SUB_GROUP = 136;
    /**
     * Generated from protobuf enum <code>COMMUNITY_UNLINK_PARENT_GROUP = 137;</code>
     */
    const COMMUNITY_UNLINK_PARENT_GROUP = 137;
    /**
     * Generated from protobuf enum <code>COMMUNITY_UNLINK_SIBLING_GROUP = 138;</code>
     */
    const COMMUNITY_UNLINK_SIBLING_GROUP = 138;
    /**
     * Generated from protobuf enum <code>COMMUNITY_UNLINK_SUB_GROUP = 139;</code>
     */
    const COMMUNITY_UNLINK_SUB_GROUP = 139;
    /**
     * Generated from protobuf enum <code>GROUP_PARTICIPANT_ACCEPT = 140;</code>
     */
    const GROUP_PARTICIPANT_ACCEPT = 140;
    /**
     * Generated from protobuf enum <code>GROUP_PARTICIPANT_LINKED_GROUP_JOIN = 141;</code>
     */
    const GROUP_PARTICIPANT_LINKED_GROUP_JOIN = 141;
    /**
     * Generated from protobuf enum <code>COMMUNITY_CREATE = 142;</code>
     */
    const COMMUNITY_CREATE = 142;
    /**
     * Generated from protobuf enum <code>EPHEMERAL_KEEP_IN_CHAT = 143;</code>
     */
    const EPHEMERAL_KEEP_IN_CHAT = 143;
    /**
     * Generated from protobuf enum <code>GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST = 144;</code>
     */
    const GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST = 144;
    /**
     * Generated from protobuf enum <code>GROUP_MEMBERSHIP_JOIN_APPROVAL_MODE = 145;</code>
     */
    const GROUP_MEMBERSHIP_JOIN_APPROVAL_MODE = 145;
    /**
     * Generated from protobuf enum <code>INTEGRITY_UNLINK_PARENT_GROUP = 146;</code>
     */
    const INTEGRITY_UNLINK_PARENT_GROUP = 146;
    /**
     * Generated from protobuf enum <code>COMMUNITY_PARTICIPANT_PROMOTE = 147;</code>
     */
    const COMMUNITY_PARTICIPANT_PROMOTE = 147;
    /**
     * Generated from protobuf enum <code>COMMUNITY_PARTICIPANT_DEMOTE = 148;</code>
     */
    const COMMUNITY_PARTICIPANT_DEMOTE = 148;
    /**
     * Generated from protobuf enum <code>COMMUNITY_PARENT_GROUP_DELETED = 149;</code>
     */
    const COMMUNITY_PARENT_GROUP_DELETED = 149;
    /**
     * Generated from protobuf enum <code>COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL = 150;</code>
     */
    const COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL = 150;
    /**
     * Generated from protobuf enum <code>GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP = 151;</code>
     */
    const GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP = 151;
    /**
     * Generated from protobuf enum <code>MASKED_THREAD_CREATED = 152;</code>
     */
    const MASKED_THREAD_CREATED = 152;
    /**
     * Generated from protobuf enum <code>MASKED_THREAD_UNMASKED = 153;</code>
     */
    const MASKED_THREAD_UNMASKED = 153;
    /**
     * Generated from protobuf enum <code>BIZ_CHAT_ASSIGNMENT = 154;</code>
     */
    const BIZ_CHAT_ASSIGNMENT = 154;
    /**
     * Generated from protobuf enum <code>CHAT_PSA = 155;</code>
     */
    const CHAT_PSA = 155;
    /**
     * Generated from protobuf enum <code>CHAT_POLL_CREATION_MESSAGE = 156;</code>
     */
    const CHAT_POLL_CREATION_MESSAGE = 156;
    /**
     * Generated from protobuf enum <code>CAG_MASKED_THREAD_CREATED = 157;</code>
     */
    const CAG_MASKED_THREAD_CREATED = 157;
    /**
     * Generated from protobuf enum <code>COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED = 158;</code>
     */
    const COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED = 158;
    /**
     * Generated from protobuf enum <code>CAG_INVITE_AUTO_ADD = 159;</code>
     */
    const CAG_INVITE_AUTO_ADD = 159;
    /**
     * Generated from protobuf enum <code>BIZ_CHAT_ASSIGNMENT_UNASSIGN = 160;</code>
     */
    const BIZ_CHAT_ASSIGNMENT_UNASSIGN = 160;
    /**
     * Generated from protobuf enum <code>CAG_INVITE_AUTO_JOINED = 161;</code>
     */
    const CAG_INVITE_AUTO_JOINED = 161;
    /**
     * Generated from protobuf enum <code>SCHEDULED_CALL_START_MESSAGE = 162;</code>
     */
    const SCHEDULED_CALL_START_MESSAGE = 162;
    /**
     * Generated from protobuf enum <code>COMMUNITY_INVITE_RICH = 163;</code>
     */
    const COMMUNITY_INVITE_RICH = 163;
    /**
     * Generated from protobuf enum <code>COMMUNITY_INVITE_AUTO_ADD_RICH = 164;</code>
     */
    const COMMUNITY_INVITE_AUTO_ADD_RICH = 164;
    /**
     * Generated from protobuf enum <code>SUB_GROUP_INVITE_RICH = 165;</code>
     */
    const SUB_GROUP_INVITE_RICH = 165;
    /**
     * Generated from protobuf enum <code>SUB_GROUP_PARTICIPANT_ADD_RICH = 166;</code>
     */
    const SUB_GROUP_PARTICIPANT_ADD_RICH = 166;
    /**
     * Generated from protobuf enum <code>COMMUNITY_LINK_PARENT_GROUP_RICH = 167;</code>
     */
    const COMMUNITY_LINK_PARENT_GROUP_RICH = 167;
    /**
     * Generated from protobuf enum <code>COMMUNITY_PARTICIPANT_ADD_RICH = 168;</code>
     */
    const COMMUNITY_PARTICIPANT_ADD_RICH = 168;
    /**
     * Generated from protobuf enum <code>SILENCED_UNKNOWN_CALLER_AUDIO = 169;</code>
     */
    const SILENCED_UNKNOWN_CALLER_AUDIO = 169;
    /**
     * Generated from protobuf enum <code>SILENCED_UNKNOWN_CALLER_VIDEO = 170;</code>
     */
    const SILENCED_UNKNOWN_CALLER_VIDEO = 170;
    /**
     * Generated from protobuf enum <code>GROUP_MEMBER_ADD_MODE = 171;</code>
     */
    const GROUP_MEMBER_ADD_MODE = 171;
    /**
     * Generated from protobuf enum <code>GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD = 172;</code>
     */
    const GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD = 172;
    /**
     * Generated from protobuf enum <code>COMMUNITY_CHANGE_DESCRIPTION = 173;</code>
     */
    const COMMUNITY_CHANGE_DESCRIPTION = 173;
    /**
     * Generated from protobuf enum <code>SENDER_INVITE = 174;</code>
     */
    const SENDER_INVITE = 174;
    /**
     * Generated from protobuf enum <code>RECEIVER_INVITE = 175;</code>
     */
    const RECEIVER_INVITE = 175;
    /**
     * Generated from protobuf enum <code>COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS = 176;</code>
     */
    const COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS = 176;
    /**
     * Generated from protobuf enum <code>PINNED_MESSAGE_IN_CHAT = 177;</code>
     */
    const PINNED_MESSAGE_IN_CHAT = 177;
    /**
     * Generated from protobuf enum <code>PAYMENT_INVITE_SETUP_INVITER = 178;</code>
     */
    const PAYMENT_INVITE_SETUP_INVITER = 178;
    /**
     * Generated from protobuf enum <code>PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY = 179;</code>
     */
    const PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY = 179;
    /**
     * Generated from protobuf enum <code>PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE = 180;</code>
     */
    const PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE = 180;
    /**
     * Generated from protobuf enum <code>LINKED_GROUP_CALL_START = 181;</code>
     */
    const LINKED_GROUP_CALL_START = 181;
    /**
     * Generated from protobuf enum <code>REPORT_TO_ADMIN_ENABLED_STATUS = 182;</code>
     */
    const REPORT_TO_ADMIN_ENABLED_STATUS = 182;
    /**
     * Generated from protobuf enum <code>EMPTY_SUBGROUP_CREATE = 183;</code>
     */
    const EMPTY_SUBGROUP_CREATE = 183;
    /**
     * Generated from protobuf enum <code>SCHEDULED_CALL_CANCEL = 184;</code>
     */
    const SCHEDULED_CALL_CANCEL = 184;
    /**
     * Generated from protobuf enum <code>SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH = 185;</code>
     */
    const SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH = 185;
    /**
     * Generated from protobuf enum <code>GROUP_CHANGE_RECENT_HISTORY_SHARING = 186;</code>
     */
    const GROUP_CHANGE_RECENT_HISTORY_SHARING = 186;
    /**
     * Generated from protobuf enum <code>PAID_MESSAGE_SERVER_CAMPAIGN_ID = 187;</code>
     */
    const PAID_MESSAGE_SERVER_CAMPAIGN_ID = 187;
    /**
     * Generated from protobuf enum <code>GENERAL_CHAT_CREATE = 188;</code>
     */
    const GENERAL_CHAT_CREATE = 188;
    /**
     * Generated from protobuf enum <code>GENERAL_CHAT_ADD = 189;</code>
     */
    const GENERAL_CHAT_ADD = 189;
    /**
     * Generated from protobuf enum <code>GENERAL_CHAT_AUTO_ADD_DISABLED = 190;</code>
     */
    const GENERAL_CHAT_AUTO_ADD_DISABLED = 190;
    /**
     * Generated from protobuf enum <code>SUGGESTED_SUBGROUP_ANNOUNCE = 191;</code>
     */
    const SUGGESTED_SUBGROUP_ANNOUNCE = 191;
    /**
     * Generated from protobuf enum <code>BIZ_BOT_1P_MESSAGING_ENABLED = 192;</code>
     */
    const BIZ_BOT_1P_MESSAGING_ENABLED = 192;
    /**
     * Generated from protobuf enum <code>CHANGE_USERNAME = 193;</code>
     */
    const CHANGE_USERNAME = 193;
    /**
     * Generated from protobuf enum <code>BIZ_COEX_PRIVACY_INIT_SELF = 194;</code>
     */
    const BIZ_COEX_PRIVACY_INIT_SELF = 194;
    /**
     * Generated from protobuf enum <code>BIZ_COEX_PRIVACY_TRANSITION_SELF = 195;</code>
     */
    const BIZ_COEX_PRIVACY_TRANSITION_SELF = 195;
    /**
     * Generated from protobuf enum <code>SUPPORT_AI_EDUCATION = 196;</code>
     */
    const SUPPORT_AI_EDUCATION = 196;
    /**
     * Generated from protobuf enum <code>BIZ_BOT_3P_MESSAGING_ENABLED = 197;</code>
     */
    const BIZ_BOT_3P_MESSAGING_ENABLED = 197;
    /**
     * Generated from protobuf enum <code>REMINDER_SETUP_MESSAGE = 198;</code>
     */
    const REMINDER_SETUP_MESSAGE = 198;
    /**
     * Generated from protobuf enum <code>REMINDER_SENT_MESSAGE = 199;</code>
     */
    const REMINDER_SENT_MESSAGE = 199;
    /**
     * Generated from protobuf enum <code>REMINDER_CANCEL_MESSAGE = 200;</code>
     */
    const REMINDER_CANCEL_MESSAGE = 200;
    /**
     * Generated from protobuf enum <code>BIZ_COEX_PRIVACY_INIT = 201;</code>
     */
    const BIZ_COEX_PRIVACY_INIT = 201;
    /**
     * Generated from protobuf enum <code>BIZ_COEX_PRIVACY_TRANSITION = 202;</code>
     */
    const BIZ_COEX_PRIVACY_TRANSITION = 202;
    /**
     * Generated from protobuf enum <code>GROUP_DEACTIVATED = 203;</code>
     */
    const GROUP_DEACTIVATED = 203;
    /**
     * Generated from protobuf enum <code>COMMUNITY_DEACTIVATE_SIBLING_GROUP = 204;</code>
     */
    const COMMUNITY_DEACTIVATE_SIBLING_GROUP = 204;
    /**
     * Generated from protobuf enum <code>EVENT_UPDATED = 205;</code>
     */
    const EVENT_UPDATED = 205;
    /**
     * Generated from protobuf enum <code>EVENT_CANCELED = 206;</code>
     */
    const EVENT_CANCELED = 206;
    /**
     * Generated from protobuf enum <code>COMMUNITY_OWNER_UPDATED = 207;</code>
     */
    const COMMUNITY_OWNER_UPDATED = 207;
    /**
     * Generated from protobuf enum <code>COMMUNITY_SUB_GROUP_VISIBILITY_HIDDEN = 208;</code>
     */
    const COMMUNITY_SUB_GROUP_VISIBILITY_HIDDEN = 208;
    /**
     * Generated from protobuf enum <code>CAPI_GROUP_NE2EE_SYSTEM_MESSAGE = 209;</code>
     */
    const CAPI_GROUP_NE2EE_SYSTEM_MESSAGE = 209;
    /**
     * Generated from protobuf enum <code>STATUS_MENTION = 210;</code>
     */
    const STATUS_MENTION = 210;
    /**
     * Generated from protobuf enum <code>USER_CONTROLS_SYSTEM_MESSAGE = 211;</code>
     */
    const USER_CONTROLS_SYSTEM_MESSAGE = 211;
    /**
     * Generated from protobuf enum <code>SUPPORT_SYSTEM_MESSAGE = 212;</code>
     */
    const SUPPORT_SYSTEM_MESSAGE = 212;
    /**
     * Generated from protobuf enum <code>CHANGE_LID = 213;</code>
     */
    const CHANGE_LID = 213;
    /**
     * Generated from protobuf enum <code>BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_IN_MESSAGE = 214;</code>
     */
    const BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_IN_MESSAGE = 214;
    /**
     * Generated from protobuf enum <code>BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_OUT_MESSAGE = 215;</code>
     */
    const BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_OUT_MESSAGE = 215;
    /**
     * Generated from protobuf enum <code>CHANGE_LIMIT_SHARING = 216;</code>
     */
    const CHANGE_LIMIT_SHARING = 216;
    /**
     * Generated from protobuf enum <code>GROUP_MEMBER_LINK_MODE = 217;</code>
     */
    const GROUP_MEMBER_LINK_MODE = 217;
    /**
     * Generated from protobuf enum <code>BIZ_AUTOMATICALLY_LABELED_CHAT_SYSTEM_MESSAGE = 218;</code>
     */
    const BIZ_AUTOMATICALLY_LABELED_CHAT_SYSTEM_MESSAGE = 218;
    /**
     * Generated from protobuf enum <code>PHONE_NUMBER_HIDING_CHAT_DEPRECATED_MESSAGE = 219;</code>
     */
    const PHONE_NUMBER_HIDING_CHAT_DEPRECATED_MESSAGE = 219;
    /**
     * Generated from protobuf enum <code>QUARANTINED_MESSAGE = 220;</code>
     */
    const QUARANTINED_MESSAGE = 220;
    /**
     * Generated from protobuf enum <code>GROUP_MEMBER_SHARE_GROUP_HISTORY_MODE = 221;</code>
     */
    const GROUP_MEMBER_SHARE_GROUP_HISTORY_MODE = 221;

    private static $valueToName = [
        self::UNKNOWN => 'UNKNOWN',
        self::REVOKE => 'REVOKE',
        self::CIPHERTEXT => 'CIPHERTEXT',
        self::FUTUREPROOF => 'FUTUREPROOF',
        self::NON_VERIFIED_TRANSITION => 'NON_VERIFIED_TRANSITION',
        self::UNVERIFIED_TRANSITION => 'UNVERIFIED_TRANSITION',
        self::VERIFIED_TRANSITION => 'VERIFIED_TRANSITION',
        self::VERIFIED_LOW_UNKNOWN => 'VERIFIED_LOW_UNKNOWN',
        self::VERIFIED_HIGH => 'VERIFIED_HIGH',
        self::VERIFIED_INITIAL_UNKNOWN => 'VERIFIED_INITIAL_UNKNOWN',
        self::VERIFIED_INITIAL_LOW => 'VERIFIED_INITIAL_LOW',
        self::VERIFIED_INITIAL_HIGH => 'VERIFIED_INITIAL_HIGH',
        self::VERIFIED_TRANSITION_ANY_TO_NONE => 'VERIFIED_TRANSITION_ANY_TO_NONE',
        self::VERIFIED_TRANSITION_ANY_TO_HIGH => 'VERIFIED_TRANSITION_ANY_TO_HIGH',
        self::VERIFIED_TRANSITION_HIGH_TO_LOW => 'VERIFIED_TRANSITION_HIGH_TO_LOW',
        self::VERIFIED_TRANSITION_HIGH_TO_UNKNOWN => 'VERIFIED_TRANSITION_HIGH_TO_UNKNOWN',
        self::VERIFIED_TRANSITION_UNKNOWN_TO_LOW => 'VERIFIED_TRANSITION_UNKNOWN_TO_LOW',
        self::VERIFIED_TRANSITION_LOW_TO_UNKNOWN => 'VERIFIED_TRANSITION_LOW_TO_UNKNOWN',
        self::VERIFIED_TRANSITION_NONE_TO_LOW => 'VERIFIED_TRANSITION_NONE_TO_LOW',
        self::VERIFIED_TRANSITION_NONE_TO_UNKNOWN => 'VERIFIED_TRANSITION_NONE_TO_UNKNOWN',
        self::GROUP_CREATE => 'GROUP_CREATE',
        self::GROUP_CHANGE_SUBJECT => 'GROUP_CHANGE_SUBJECT',
        self::GROUP_CHANGE_ICON => 'GROUP_CHANGE_ICON',
        self::GROUP_CHANGE_INVITE_LINK => 'GROUP_CHANGE_INVITE_LINK',
        self::GROUP_CHANGE_DESCRIPTION => 'GROUP_CHANGE_DESCRIPTION',
        self::GROUP_CHANGE_RESTRICT => 'GROUP_CHANGE_RESTRICT',
        self::GROUP_CHANGE_ANNOUNCE => 'GROUP_CHANGE_ANNOUNCE',
        self::GROUP_PARTICIPANT_ADD => 'GROUP_PARTICIPANT_ADD',
        self::GROUP_PARTICIPANT_REMOVE => 'GROUP_PARTICIPANT_REMOVE',
        self::GROUP_PARTICIPANT_PROMOTE => 'GROUP_PARTICIPANT_PROMOTE',
        self::GROUP_PARTICIPANT_DEMOTE => 'GROUP_PARTICIPANT_DEMOTE',
        self::GROUP_PARTICIPANT_INVITE => 'GROUP_PARTICIPANT_INVITE',
        self::GROUP_PARTICIPANT_LEAVE => 'GROUP_PARTICIPANT_LEAVE',
        self::GROUP_PARTICIPANT_CHANGE_NUMBER => 'GROUP_PARTICIPANT_CHANGE_NUMBER',
        self::BROADCAST_CREATE => 'BROADCAST_CREATE',
        self::BROADCAST_ADD => 'BROADCAST_ADD',
        self::BROADCAST_REMOVE => 'BROADCAST_REMOVE',
        self::GENERIC_NOTIFICATION => 'GENERIC_NOTIFICATION',
        self::E2E_IDENTITY_CHANGED => 'E2E_IDENTITY_CHANGED',
        self::E2E_ENCRYPTED => 'E2E_ENCRYPTED',
        self::CALL_MISSED_VOICE => 'CALL_MISSED_VOICE',
        self::CALL_MISSED_VIDEO => 'CALL_MISSED_VIDEO',
        self::INDIVIDUAL_CHANGE_NUMBER => 'INDIVIDUAL_CHANGE_NUMBER',
        self::GROUP_DELETE => 'GROUP_DELETE',
        self::GROUP_ANNOUNCE_MODE_MESSAGE_BOUNCE => 'GROUP_ANNOUNCE_MODE_MESSAGE_BOUNCE',
        self::CALL_MISSED_GROUP_VOICE => 'CALL_MISSED_GROUP_VOICE',
        self::CALL_MISSED_GROUP_VIDEO => 'CALL_MISSED_GROUP_VIDEO',
        self::PAYMENT_CIPHERTEXT => 'PAYMENT_CIPHERTEXT',
        self::PAYMENT_FUTUREPROOF => 'PAYMENT_FUTUREPROOF',
        self::PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED => 'PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED',
        self::PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED => 'PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED',
        self::PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED => 'PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED',
        self::PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP => 'PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP',
        self::PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP => 'PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP',
        self::PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER => 'PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER',
        self::PAYMENT_ACTION_SEND_PAYMENT_REMINDER => 'PAYMENT_ACTION_SEND_PAYMENT_REMINDER',
        self::PAYMENT_ACTION_SEND_PAYMENT_INVITATION => 'PAYMENT_ACTION_SEND_PAYMENT_INVITATION',
        self::PAYMENT_ACTION_REQUEST_DECLINED => 'PAYMENT_ACTION_REQUEST_DECLINED',
        self::PAYMENT_ACTION_REQUEST_EXPIRED => 'PAYMENT_ACTION_REQUEST_EXPIRED',
        self::PAYMENT_ACTION_REQUEST_CANCELLED => 'PAYMENT_ACTION_REQUEST_CANCELLED',
        self::BIZ_VERIFIED_TRANSITION_TOP_TO_BOTTOM => 'BIZ_VERIFIED_TRANSITION_TOP_TO_BOTTOM',
        self::BIZ_VERIFIED_TRANSITION_BOTTOM_TO_TOP => 'BIZ_VERIFIED_TRANSITION_BOTTOM_TO_TOP',
        self::BIZ_INTRO_TOP => 'BIZ_INTRO_TOP',
        self::BIZ_INTRO_BOTTOM => 'BIZ_INTRO_BOTTOM',
        self::BIZ_NAME_CHANGE => 'BIZ_NAME_CHANGE',
        self::BIZ_MOVE_TO_CONSUMER_APP => 'BIZ_MOVE_TO_CONSUMER_APP',
        self::BIZ_TWO_TIER_MIGRATION_TOP => 'BIZ_TWO_TIER_MIGRATION_TOP',
        self::BIZ_TWO_TIER_MIGRATION_BOTTOM => 'BIZ_TWO_TIER_MIGRATION_BOTTOM',
        self::OVERSIZED => 'OVERSIZED',
        self::GROUP_CHANGE_NO_FREQUENTLY_FORWARDED => 'GROUP_CHANGE_NO_FREQUENTLY_FORWARDED',
        self::GROUP_V4_ADD_INVITE_SENT => 'GROUP_V4_ADD_INVITE_SENT',
        self::GROUP_PARTICIPANT_ADD_REQUEST_JOIN => 'GROUP_PARTICIPANT_ADD_REQUEST_JOIN',
        self::CHANGE_EPHEMERAL_SETTING => 'CHANGE_EPHEMERAL_SETTING',
        self::E2E_DEVICE_CHANGED => 'E2E_DEVICE_CHANGED',
        self::VIEWED_ONCE => 'VIEWED_ONCE',
        self::E2E_ENCRYPTED_NOW => 'E2E_ENCRYPTED_NOW',
        self::BLUE_MSG_BSP_FB_TO_BSP_PREMISE => 'BLUE_MSG_BSP_FB_TO_BSP_PREMISE',
        self::BLUE_MSG_BSP_FB_TO_SELF_FB => 'BLUE_MSG_BSP_FB_TO_SELF_FB',
        self::BLUE_MSG_BSP_FB_TO_SELF_PREMISE => 'BLUE_MSG_BSP_FB_TO_SELF_PREMISE',
        self::BLUE_MSG_BSP_FB_UNVERIFIED => 'BLUE_MSG_BSP_FB_UNVERIFIED',
        self::BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED => 'BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED',
        self::BLUE_MSG_BSP_FB_VERIFIED => 'BLUE_MSG_BSP_FB_VERIFIED',
        self::BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED => 'BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED',
        self::BLUE_MSG_BSP_PREMISE_TO_SELF_PREMISE => 'BLUE_MSG_BSP_PREMISE_TO_SELF_PREMISE',
        self::BLUE_MSG_BSP_PREMISE_UNVERIFIED => 'BLUE_MSG_BSP_PREMISE_UNVERIFIED',
        self::BLUE_MSG_BSP_PREMISE_UNVERIFIED_TO_SELF_PREMISE_VERIFIED => 'BLUE_MSG_BSP_PREMISE_UNVERIFIED_TO_SELF_PREMISE_VERIFIED',
        self::BLUE_MSG_BSP_PREMISE_VERIFIED => 'BLUE_MSG_BSP_PREMISE_VERIFIED',
        self::BLUE_MSG_BSP_PREMISE_VERIFIED_TO_SELF_PREMISE_UNVERIFIED => 'BLUE_MSG_BSP_PREMISE_VERIFIED_TO_SELF_PREMISE_UNVERIFIED',
        self::BLUE_MSG_CONSUMER_TO_BSP_FB_UNVERIFIED => 'BLUE_MSG_CONSUMER_TO_BSP_FB_UNVERIFIED',
        self::BLUE_MSG_CONSUMER_TO_BSP_PREMISE_UNVERIFIED => 'BLUE_MSG_CONSUMER_TO_BSP_PREMISE_UNVERIFIED',
        self::BLUE_MSG_CONSUMER_TO_SELF_FB_UNVERIFIED => 'BLUE_MSG_CONSUMER_TO_SELF_FB_UNVERIFIED',
        self::BLUE_MSG_CONSUMER_TO_SELF_PREMISE_UNVERIFIED => 'BLUE_MSG_CONSUMER_TO_SELF_PREMISE_UNVERIFIED',
        self::BLUE_MSG_SELF_FB_TO_BSP_PREMISE => 'BLUE_MSG_SELF_FB_TO_BSP_PREMISE',
        self::BLUE_MSG_SELF_FB_TO_SELF_PREMISE => 'BLUE_MSG_SELF_FB_TO_SELF_PREMISE',
        self::BLUE_MSG_SELF_FB_UNVERIFIED => 'BLUE_MSG_SELF_FB_UNVERIFIED',
        self::BLUE_MSG_SELF_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED => 'BLUE_MSG_SELF_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED',
        self::BLUE_MSG_SELF_FB_VERIFIED => 'BLUE_MSG_SELF_FB_VERIFIED',
        self::BLUE_MSG_SELF_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED => 'BLUE_MSG_SELF_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED',
        self::BLUE_MSG_SELF_PREMISE_TO_BSP_PREMISE => 'BLUE_MSG_SELF_PREMISE_TO_BSP_PREMISE',
        self::BLUE_MSG_SELF_PREMISE_UNVERIFIED => 'BLUE_MSG_SELF_PREMISE_UNVERIFIED',
        self::BLUE_MSG_SELF_PREMISE_VERIFIED => 'BLUE_MSG_SELF_PREMISE_VERIFIED',
        self::BLUE_MSG_TO_BSP_FB => 'BLUE_MSG_TO_BSP_FB',
        self::BLUE_MSG_TO_CONSUMER => 'BLUE_MSG_TO_CONSUMER',
        self::BLUE_MSG_TO_SELF_FB => 'BLUE_MSG_TO_SELF_FB',
        self::BLUE_MSG_UNVERIFIED_TO_BSP_FB_VERIFIED => 'BLUE_MSG_UNVERIFIED_TO_BSP_FB_VERIFIED',
        self::BLUE_MSG_UNVERIFIED_TO_BSP_PREMISE_VERIFIED => 'BLUE_MSG_UNVERIFIED_TO_BSP_PREMISE_VERIFIED',
        self::BLUE_MSG_UNVERIFIED_TO_SELF_FB_VERIFIED => 'BLUE_MSG_UNVERIFIED_TO_SELF_FB_VERIFIED',
        self::BLUE_MSG_UNVERIFIED_TO_VERIFIED => 'BLUE_MSG_UNVERIFIED_TO_VERIFIED',
        self::BLUE_MSG_VERIFIED_TO_BSP_FB_UNVERIFIED => 'BLUE_MSG_VERIFIED_TO_BSP_FB_UNVERIFIED',
        self::BLUE_MSG_VERIFIED_TO_BSP_PREMISE_UNVERIFIED => 'BLUE_MSG_VERIFIED_TO_BSP_PREMISE_UNVERIFIED',
        self::BLUE_MSG_VERIFIED_TO_SELF_FB_UNVERIFIED => 'BLUE_MSG_VERIFIED_TO_SELF_FB_UNVERIFIED',
        self::BLUE_MSG_VERIFIED_TO_UNVERIFIED => 'BLUE_MSG_VERIFIED_TO_UNVERIFIED',
        self::BLUE_MSG_BSP_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED => 'BLUE_MSG_BSP_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED',
        self::BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_FB_VERIFIED => 'BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_FB_VERIFIED',
        self::BLUE_MSG_BSP_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED => 'BLUE_MSG_BSP_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED',
        self::BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_FB_UNVERIFIED => 'BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_FB_UNVERIFIED',
        self::BLUE_MSG_SELF_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED => 'BLUE_MSG_SELF_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED',
        self::BLUE_MSG_SELF_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED => 'BLUE_MSG_SELF_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED',
        self::E2E_IDENTITY_UNAVAILABLE => 'E2E_IDENTITY_UNAVAILABLE',
        self::GROUP_CREATING => 'GROUP_CREATING',
        self::GROUP_CREATE_FAILED => 'GROUP_CREATE_FAILED',
        self::GROUP_BOUNCED => 'GROUP_BOUNCED',
        self::BLOCK_CONTACT => 'BLOCK_CONTACT',
        self::EPHEMERAL_SETTING_NOT_APPLIED => 'EPHEMERAL_SETTING_NOT_APPLIED',
        self::SYNC_FAILED => 'SYNC_FAILED',
        self::SYNCING => 'SYNCING',
        self::BIZ_PRIVACY_MODE_INIT_FB => 'BIZ_PRIVACY_MODE_INIT_FB',
        self::BIZ_PRIVACY_MODE_INIT_BSP => 'BIZ_PRIVACY_MODE_INIT_BSP',
        self::BIZ_PRIVACY_MODE_TO_FB => 'BIZ_PRIVACY_MODE_TO_FB',
        self::BIZ_PRIVACY_MODE_TO_BSP => 'BIZ_PRIVACY_MODE_TO_BSP',
        self::DISAPPEARING_MODE => 'DISAPPEARING_MODE',
        self::E2E_DEVICE_FETCH_FAILED => 'E2E_DEVICE_FETCH_FAILED',
        self::ADMIN_REVOKE => 'ADMIN_REVOKE',
        self::GROUP_INVITE_LINK_GROWTH_LOCKED => 'GROUP_INVITE_LINK_GROWTH_LOCKED',
        self::COMMUNITY_LINK_PARENT_GROUP => 'COMMUNITY_LINK_PARENT_GROUP',
        self::COMMUNITY_LINK_SIBLING_GROUP => 'COMMUNITY_LINK_SIBLING_GROUP',
        self::COMMUNITY_LINK_SUB_GROUP => 'COMMUNITY_LINK_SUB_GROUP',
        self::COMMUNITY_UNLINK_PARENT_GROUP => 'COMMUNITY_UNLINK_PARENT_GROUP',
        self::COMMUNITY_UNLINK_SIBLING_GROUP => 'COMMUNITY_UNLINK_SIBLING_GROUP',
        self::COMMUNITY_UNLINK_SUB_GROUP => 'COMMUNITY_UNLINK_SUB_GROUP',
        self::GROUP_PARTICIPANT_ACCEPT => 'GROUP_PARTICIPANT_ACCEPT',
        self::GROUP_PARTICIPANT_LINKED_GROUP_JOIN => 'GROUP_PARTICIPANT_LINKED_GROUP_JOIN',
        self::COMMUNITY_CREATE => 'COMMUNITY_CREATE',
        self::EPHEMERAL_KEEP_IN_CHAT => 'EPHEMERAL_KEEP_IN_CHAT',
        self::GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST => 'GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST',
        self::GROUP_MEMBERSHIP_JOIN_APPROVAL_MODE => 'GROUP_MEMBERSHIP_JOIN_APPROVAL_MODE',
        self::INTEGRITY_UNLINK_PARENT_GROUP => 'INTEGRITY_UNLINK_PARENT_GROUP',
        self::COMMUNITY_PARTICIPANT_PROMOTE => 'COMMUNITY_PARTICIPANT_PROMOTE',
        self::COMMUNITY_PARTICIPANT_DEMOTE => 'COMMUNITY_PARTICIPANT_DEMOTE',
        self::COMMUNITY_PARENT_GROUP_DELETED => 'COMMUNITY_PARENT_GROUP_DELETED',
        self::COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL => 'COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL',
        self::GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP => 'GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP',
        self::MASKED_THREAD_CREATED => 'MASKED_THREAD_CREATED',
        self::MASKED_THREAD_UNMASKED => 'MASKED_THREAD_UNMASKED',
        self::BIZ_CHAT_ASSIGNMENT => 'BIZ_CHAT_ASSIGNMENT',
        self::CHAT_PSA => 'CHAT_PSA',
        self::CHAT_POLL_CREATION_MESSAGE => 'CHAT_POLL_CREATION_MESSAGE',
        self::CAG_MASKED_THREAD_CREATED => 'CAG_MASKED_THREAD_CREATED',
        self::COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED => 'COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED',
        self::CAG_INVITE_AUTO_ADD => 'CAG_INVITE_AUTO_ADD',
        self::BIZ_CHAT_ASSIGNMENT_UNASSIGN => 'BIZ_CHAT_ASSIGNMENT_UNASSIGN',
        self::CAG_INVITE_AUTO_JOINED => 'CAG_INVITE_AUTO_JOINED',
        self::SCHEDULED_CALL_START_MESSAGE => 'SCHEDULED_CALL_START_MESSAGE',
        self::COMMUNITY_INVITE_RICH => 'COMMUNITY_INVITE_RICH',
        self::COMMUNITY_INVITE_AUTO_ADD_RICH => 'COMMUNITY_INVITE_AUTO_ADD_RICH',
        self::SUB_GROUP_INVITE_RICH => 'SUB_GROUP_INVITE_RICH',
        self::SUB_GROUP_PARTICIPANT_ADD_RICH => 'SUB_GROUP_PARTICIPANT_ADD_RICH',
        self::COMMUNITY_LINK_PARENT_GROUP_RICH => 'COMMUNITY_LINK_PARENT_GROUP_RICH',
        self::COMMUNITY_PARTICIPANT_ADD_RICH => 'COMMUNITY_PARTICIPANT_ADD_RICH',
        self::SILENCED_UNKNOWN_CALLER_AUDIO => 'SILENCED_UNKNOWN_CALLER_AUDIO',
        self::SILENCED_UNKNOWN_CALLER_VIDEO => 'SILENCED_UNKNOWN_CALLER_VIDEO',
        self::GROUP_MEMBER_ADD_MODE => 'GROUP_MEMBER_ADD_MODE',
        self::GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD => 'GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD',
        self::COMMUNITY_CHANGE_DESCRIPTION => 'COMMUNITY_CHANGE_DESCRIPTION',
        self::SENDER_INVITE => 'SENDER_INVITE',
        self::RECEIVER_INVITE => 'RECEIVER_INVITE',
        self::COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS => 'COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS',
        self::PINNED_MESSAGE_IN_CHAT => 'PINNED_MESSAGE_IN_CHAT',
        self::PAYMENT_INVITE_SETUP_INVITER => 'PAYMENT_INVITE_SETUP_INVITER',
        self::PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY => 'PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY',
        self::PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE => 'PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE',
        self::LINKED_GROUP_CALL_START => 'LINKED_GROUP_CALL_START',
        self::REPORT_TO_ADMIN_ENABLED_STATUS => 'REPORT_TO_ADMIN_ENABLED_STATUS',
        self::EMPTY_SUBGROUP_CREATE => 'EMPTY_SUBGROUP_CREATE',
        self::SCHEDULED_CALL_CANCEL => 'SCHEDULED_CALL_CANCEL',
        self::SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH => 'SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH',
        self::GROUP_CHANGE_RECENT_HISTORY_SHARING => 'GROUP_CHANGE_RECENT_HISTORY_SHARING',
        self::PAID_MESSAGE_SERVER_CAMPAIGN_ID => 'PAID_MESSAGE_SERVER_CAMPAIGN_ID',
        self::GENERAL_CHAT_CREATE => 'GENERAL_CHAT_CREATE',
        self::GENERAL_CHAT_ADD => 'GENERAL_CHAT_ADD',
        self::GENERAL_CHAT_AUTO_ADD_DISABLED => 'GENERAL_CHAT_AUTO_ADD_DISABLED',
        self::SUGGESTED_SUBGROUP_ANNOUNCE => 'SUGGESTED_SUBGROUP_ANNOUNCE',
        self::BIZ_BOT_1P_MESSAGING_ENABLED => 'BIZ_BOT_1P_MESSAGING_ENABLED',
        self::CHANGE_USERNAME => 'CHANGE_USERNAME',
        self::BIZ_COEX_PRIVACY_INIT_SELF => 'BIZ_COEX_PRIVACY_INIT_SELF',
        self::BIZ_COEX_PRIVACY_TRANSITION_SELF => 'BIZ_COEX_PRIVACY_TRANSITION_SELF',
        self::SUPPORT_AI_EDUCATION => 'SUPPORT_AI_EDUCATION',
        self::BIZ_BOT_3P_MESSAGING_ENABLED => 'BIZ_BOT_3P_MESSAGING_ENABLED',
        self::REMINDER_SETUP_MESSAGE => 'REMINDER_SETUP_MESSAGE',
        self::REMINDER_SENT_MESSAGE => 'REMINDER_SENT_MESSAGE',
        self::REMINDER_CANCEL_MESSAGE => 'REMINDER_CANCEL_MESSAGE',
        self::BIZ_COEX_PRIVACY_INIT => 'BIZ_COEX_PRIVACY_INIT',
        self::BIZ_COEX_PRIVACY_TRANSITION => 'BIZ_COEX_PRIVACY_TRANSITION',
        self::GROUP_DEACTIVATED => 'GROUP_DEACTIVATED',
        self::COMMUNITY_DEACTIVATE_SIBLING_GROUP => 'COMMUNITY_DEACTIVATE_SIBLING_GROUP',
        self::EVENT_UPDATED => 'EVENT_UPDATED',
        self::EVENT_CANCELED => 'EVENT_CANCELED',
        self::COMMUNITY_OWNER_UPDATED => 'COMMUNITY_OWNER_UPDATED',
        self::COMMUNITY_SUB_GROUP_VISIBILITY_HIDDEN => 'COMMUNITY_SUB_GROUP_VISIBILITY_HIDDEN',
        self::CAPI_GROUP_NE2EE_SYSTEM_MESSAGE => 'CAPI_GROUP_NE2EE_SYSTEM_MESSAGE',
        self::STATUS_MENTION => 'STATUS_MENTION',
        self::USER_CONTROLS_SYSTEM_MESSAGE => 'USER_CONTROLS_SYSTEM_MESSAGE',
        self::SUPPORT_SYSTEM_MESSAGE => 'SUPPORT_SYSTEM_MESSAGE',
        self::CHANGE_LID => 'CHANGE_LID',
        self::BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_IN_MESSAGE => 'BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_IN_MESSAGE',
        self::BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_OUT_MESSAGE => 'BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_OUT_MESSAGE',
        self::CHANGE_LIMIT_SHARING => 'CHANGE_LIMIT_SHARING',
        self::GROUP_MEMBER_LINK_MODE => 'GROUP_MEMBER_LINK_MODE',
        self::BIZ_AUTOMATICALLY_LABELED_CHAT_SYSTEM_MESSAGE => 'BIZ_AUTOMATICALLY_LABELED_CHAT_SYSTEM_MESSAGE',
        self::PHONE_NUMBER_HIDING_CHAT_DEPRECATED_MESSAGE => 'PHONE_NUMBER_HIDING_CHAT_DEPRECATED_MESSAGE',
        self::QUARANTINED_MESSAGE => 'QUARANTINED_MESSAGE',
        self::GROUP_MEMBER_SHARE_GROUP_HISTORY_MODE => 'GROUP_MEMBER_SHARE_GROUP_HISTORY_MODE',
    ];

    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);
    }
}

