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

namespace PhpWA\Protocol\Proto;

use UnexpectedValueException;

/**
 * Protobuf type <code>proto.MutationProps</code>
 */
class MutationProps
{
    /**
     * Generated from protobuf enum <code>MUTATION_PROPS_UNSPECIFIED = 0;</code>
     */
    const MUTATION_PROPS_UNSPECIFIED = 0;
    /**
     * Generated from protobuf enum <code>STAR_ACTION = 2;</code>
     */
    const STAR_ACTION = 2;
    /**
     * Generated from protobuf enum <code>CONTACT_ACTION = 3;</code>
     */
    const CONTACT_ACTION = 3;
    /**
     * Generated from protobuf enum <code>MUTE_ACTION = 4;</code>
     */
    const MUTE_ACTION = 4;
    /**
     * Generated from protobuf enum <code>PIN_ACTION = 5;</code>
     */
    const PIN_ACTION = 5;
    /**
     * Generated from protobuf enum <code>SECURITY_NOTIFICATION_SETTING = 6;</code>
     */
    const SECURITY_NOTIFICATION_SETTING = 6;
    /**
     * Generated from protobuf enum <code>PUSH_NAME_SETTING = 7;</code>
     */
    const PUSH_NAME_SETTING = 7;
    /**
     * Generated from protobuf enum <code>QUICK_REPLY_ACTION = 8;</code>
     */
    const QUICK_REPLY_ACTION = 8;
    /**
     * Generated from protobuf enum <code>RECENT_EMOJI_WEIGHTS_ACTION = 11;</code>
     */
    const RECENT_EMOJI_WEIGHTS_ACTION = 11;
    /**
     * Generated from protobuf enum <code>LABEL_MESSAGE_ACTION = 13;</code>
     */
    const LABEL_MESSAGE_ACTION = 13;
    /**
     * Generated from protobuf enum <code>LABEL_EDIT_ACTION = 14;</code>
     */
    const LABEL_EDIT_ACTION = 14;
    /**
     * Generated from protobuf enum <code>LABEL_ASSOCIATION_ACTION = 15;</code>
     */
    const LABEL_ASSOCIATION_ACTION = 15;
    /**
     * Generated from protobuf enum <code>LOCALE_SETTING = 16;</code>
     */
    const LOCALE_SETTING = 16;
    /**
     * Generated from protobuf enum <code>ARCHIVE_CHAT_ACTION = 17;</code>
     */
    const ARCHIVE_CHAT_ACTION = 17;
    /**
     * Generated from protobuf enum <code>DELETE_MESSAGE_FOR_ME_ACTION = 18;</code>
     */
    const DELETE_MESSAGE_FOR_ME_ACTION = 18;
    /**
     * Generated from protobuf enum <code>KEY_EXPIRATION = 19;</code>
     */
    const KEY_EXPIRATION = 19;
    /**
     * Generated from protobuf enum <code>MARK_CHAT_AS_READ_ACTION = 20;</code>
     */
    const MARK_CHAT_AS_READ_ACTION = 20;
    /**
     * Generated from protobuf enum <code>CLEAR_CHAT_ACTION = 21;</code>
     */
    const CLEAR_CHAT_ACTION = 21;
    /**
     * Generated from protobuf enum <code>DELETE_CHAT_ACTION = 22;</code>
     */
    const DELETE_CHAT_ACTION = 22;
    /**
     * Generated from protobuf enum <code>UNARCHIVE_CHATS_SETTING = 23;</code>
     */
    const UNARCHIVE_CHATS_SETTING = 23;
    /**
     * Generated from protobuf enum <code>PRIMARY_FEATURE = 24;</code>
     */
    const PRIMARY_FEATURE = 24;
    /**
     * Generated from protobuf enum <code>ANDROID_UNSUPPORTED_ACTIONS = 26;</code>
     */
    const ANDROID_UNSUPPORTED_ACTIONS = 26;
    /**
     * Generated from protobuf enum <code>AGENT_ACTION = 27;</code>
     */
    const AGENT_ACTION = 27;
    /**
     * Generated from protobuf enum <code>SUBSCRIPTION_ACTION = 28;</code>
     */
    const SUBSCRIPTION_ACTION = 28;
    /**
     * Generated from protobuf enum <code>USER_STATUS_MUTE_ACTION = 29;</code>
     */
    const USER_STATUS_MUTE_ACTION = 29;
    /**
     * Generated from protobuf enum <code>TIME_FORMAT_ACTION = 30;</code>
     */
    const TIME_FORMAT_ACTION = 30;
    /**
     * Generated from protobuf enum <code>NUX_ACTION = 31;</code>
     */
    const NUX_ACTION = 31;
    /**
     * Generated from protobuf enum <code>PRIMARY_VERSION_ACTION = 32;</code>
     */
    const PRIMARY_VERSION_ACTION = 32;
    /**
     * Generated from protobuf enum <code>STICKER_ACTION = 33;</code>
     */
    const STICKER_ACTION = 33;
    /**
     * Generated from protobuf enum <code>REMOVE_RECENT_STICKER_ACTION = 34;</code>
     */
    const REMOVE_RECENT_STICKER_ACTION = 34;
    /**
     * Generated from protobuf enum <code>CHAT_ASSIGNMENT = 35;</code>
     */
    const CHAT_ASSIGNMENT = 35;
    /**
     * Generated from protobuf enum <code>CHAT_ASSIGNMENT_OPENED_STATUS = 36;</code>
     */
    const CHAT_ASSIGNMENT_OPENED_STATUS = 36;
    /**
     * Generated from protobuf enum <code>PN_FOR_LID_CHAT_ACTION = 37;</code>
     */
    const PN_FOR_LID_CHAT_ACTION = 37;
    /**
     * Generated from protobuf enum <code>MARKETING_MESSAGE_ACTION = 38;</code>
     */
    const MARKETING_MESSAGE_ACTION = 38;
    /**
     * Generated from protobuf enum <code>MARKETING_MESSAGE_BROADCAST_ACTION = 39;</code>
     */
    const MARKETING_MESSAGE_BROADCAST_ACTION = 39;
    /**
     * Generated from protobuf enum <code>EXTERNAL_WEB_BETA_ACTION = 40;</code>
     */
    const EXTERNAL_WEB_BETA_ACTION = 40;
    /**
     * Generated from protobuf enum <code>PRIVACY_SETTING_RELAY_ALL_CALLS = 41;</code>
     */
    const PRIVACY_SETTING_RELAY_ALL_CALLS = 41;
    /**
     * Generated from protobuf enum <code>CALL_LOG_ACTION = 42;</code>
     */
    const CALL_LOG_ACTION = 42;
    /**
     * Generated from protobuf enum <code>UGC_BOT = 43;</code>
     */
    const UGC_BOT = 43;
    /**
     * Generated from protobuf enum <code>STATUS_PRIVACY = 44;</code>
     */
    const STATUS_PRIVACY = 44;
    /**
     * Generated from protobuf enum <code>BOT_WELCOME_REQUEST_ACTION = 45;</code>
     */
    const BOT_WELCOME_REQUEST_ACTION = 45;
    /**
     * Generated from protobuf enum <code>DELETE_INDIVIDUAL_CALL_LOG = 46;</code>
     */
    const DELETE_INDIVIDUAL_CALL_LOG = 46;
    /**
     * Generated from protobuf enum <code>LABEL_REORDERING_ACTION = 47;</code>
     */
    const LABEL_REORDERING_ACTION = 47;
    /**
     * Generated from protobuf enum <code>PAYMENT_INFO_ACTION = 48;</code>
     */
    const PAYMENT_INFO_ACTION = 48;
    /**
     * Generated from protobuf enum <code>CUSTOM_PAYMENT_METHODS_ACTION = 49;</code>
     */
    const CUSTOM_PAYMENT_METHODS_ACTION = 49;
    /**
     * Generated from protobuf enum <code>LOCK_CHAT_ACTION = 50;</code>
     */
    const LOCK_CHAT_ACTION = 50;
    /**
     * Generated from protobuf enum <code>CHAT_LOCK_SETTINGS = 51;</code>
     */
    const CHAT_LOCK_SETTINGS = 51;
    /**
     * Generated from protobuf enum <code>WAMO_USER_IDENTIFIER_ACTION = 52;</code>
     */
    const WAMO_USER_IDENTIFIER_ACTION = 52;
    /**
     * Generated from protobuf enum <code>PRIVACY_SETTING_DISABLE_LINK_PREVIEWS_ACTION = 53;</code>
     */
    const PRIVACY_SETTING_DISABLE_LINK_PREVIEWS_ACTION = 53;
    /**
     * Generated from protobuf enum <code>DEVICE_CAPABILITIES = 54;</code>
     */
    const DEVICE_CAPABILITIES = 54;
    /**
     * Generated from protobuf enum <code>NOTE_EDIT_ACTION = 55;</code>
     */
    const NOTE_EDIT_ACTION = 55;
    /**
     * Generated from protobuf enum <code>FAVORITES_ACTION = 56;</code>
     */
    const FAVORITES_ACTION = 56;
    /**
     * Generated from protobuf enum <code>MERCHANT_PAYMENT_PARTNER_ACTION = 57;</code>
     */
    const MERCHANT_PAYMENT_PARTNER_ACTION = 57;
    /**
     * Generated from protobuf enum <code>WAFFLE_ACCOUNT_LINK_STATE_ACTION = 58;</code>
     */
    const WAFFLE_ACCOUNT_LINK_STATE_ACTION = 58;
    /**
     * Generated from protobuf enum <code>USERNAME_CHAT_START_MODE = 59;</code>
     */
    const USERNAME_CHAT_START_MODE = 59;
    /**
     * Generated from protobuf enum <code>NOTIFICATION_ACTIVITY_SETTING_ACTION = 60;</code>
     */
    const NOTIFICATION_ACTIVITY_SETTING_ACTION = 60;
    /**
     * Generated from protobuf enum <code>LID_CONTACT_ACTION = 61;</code>
     */
    const LID_CONTACT_ACTION = 61;
    /**
     * Generated from protobuf enum <code>CTWA_PER_CUSTOMER_DATA_SHARING_ACTION = 62;</code>
     */
    const CTWA_PER_CUSTOMER_DATA_SHARING_ACTION = 62;
    /**
     * Generated from protobuf enum <code>PAYMENT_TOS_ACTION = 63;</code>
     */
    const PAYMENT_TOS_ACTION = 63;
    /**
     * Generated from protobuf enum <code>PRIVACY_SETTING_CHANNELS_PERSONALISED_RECOMMENDATION_ACTION = 64;</code>
     */
    const PRIVACY_SETTING_CHANNELS_PERSONALISED_RECOMMENDATION_ACTION = 64;
    /**
     * Generated from protobuf enum <code>BUSINESS_BROADCAST_ASSOCIATION_ACTION = 65;</code>
     */
    const BUSINESS_BROADCAST_ASSOCIATION_ACTION = 65;
    /**
     * Generated from protobuf enum <code>DETECTED_OUTCOMES_STATUS_ACTION = 66;</code>
     */
    const DETECTED_OUTCOMES_STATUS_ACTION = 66;
    /**
     * Generated from protobuf enum <code>MAIBA_AI_FEATURES_CONTROL_ACTION = 68;</code>
     */
    const MAIBA_AI_FEATURES_CONTROL_ACTION = 68;
    /**
     * Generated from protobuf enum <code>BUSINESS_BROADCAST_LIST_ACTION = 69;</code>
     */
    const BUSINESS_BROADCAST_LIST_ACTION = 69;
    /**
     * Generated from protobuf enum <code>MUSIC_USER_ID_ACTION = 70;</code>
     */
    const MUSIC_USER_ID_ACTION = 70;
    /**
     * Generated from protobuf enum <code>STATUS_POST_OPT_IN_NOTIFICATION_PREFERENCES_ACTION = 71;</code>
     */
    const STATUS_POST_OPT_IN_NOTIFICATION_PREFERENCES_ACTION = 71;
    /**
     * Generated from protobuf enum <code>AVATAR_UPDATED_ACTION = 72;</code>
     */
    const AVATAR_UPDATED_ACTION = 72;
    /**
     * Generated from protobuf enum <code>GALAXY_FLOW_ACTION = 73;</code>
     */
    const GALAXY_FLOW_ACTION = 73;
    /**
     * Generated from protobuf enum <code>PRIVATE_PROCESSING_SETTING_ACTION = 74;</code>
     */
    const PRIVATE_PROCESSING_SETTING_ACTION = 74;
    /**
     * Generated from protobuf enum <code>NEWSLETTER_SAVED_INTERESTS_ACTION = 75;</code>
     */
    const NEWSLETTER_SAVED_INTERESTS_ACTION = 75;
    /**
     * Generated from protobuf enum <code>AI_THREAD_RENAME_ACTION = 76;</code>
     */
    const AI_THREAD_RENAME_ACTION = 76;
    /**
     * Generated from protobuf enum <code>INTERACTIVE_MESSAGE_ACTION = 77;</code>
     */
    const INTERACTIVE_MESSAGE_ACTION = 77;
    /**
     * Generated from protobuf enum <code>SHARE_OWN_PN = 10001;</code>
     */
    const SHARE_OWN_PN = 10001;
    /**
     * Generated from protobuf enum <code>BUSINESS_BROADCAST_ACTION = 10002;</code>
     */
    const BUSINESS_BROADCAST_ACTION = 10002;

    private static $valueToName = [
        self::MUTATION_PROPS_UNSPECIFIED => 'MUTATION_PROPS_UNSPECIFIED',
        self::STAR_ACTION => 'STAR_ACTION',
        self::CONTACT_ACTION => 'CONTACT_ACTION',
        self::MUTE_ACTION => 'MUTE_ACTION',
        self::PIN_ACTION => 'PIN_ACTION',
        self::SECURITY_NOTIFICATION_SETTING => 'SECURITY_NOTIFICATION_SETTING',
        self::PUSH_NAME_SETTING => 'PUSH_NAME_SETTING',
        self::QUICK_REPLY_ACTION => 'QUICK_REPLY_ACTION',
        self::RECENT_EMOJI_WEIGHTS_ACTION => 'RECENT_EMOJI_WEIGHTS_ACTION',
        self::LABEL_MESSAGE_ACTION => 'LABEL_MESSAGE_ACTION',
        self::LABEL_EDIT_ACTION => 'LABEL_EDIT_ACTION',
        self::LABEL_ASSOCIATION_ACTION => 'LABEL_ASSOCIATION_ACTION',
        self::LOCALE_SETTING => 'LOCALE_SETTING',
        self::ARCHIVE_CHAT_ACTION => 'ARCHIVE_CHAT_ACTION',
        self::DELETE_MESSAGE_FOR_ME_ACTION => 'DELETE_MESSAGE_FOR_ME_ACTION',
        self::KEY_EXPIRATION => 'KEY_EXPIRATION',
        self::MARK_CHAT_AS_READ_ACTION => 'MARK_CHAT_AS_READ_ACTION',
        self::CLEAR_CHAT_ACTION => 'CLEAR_CHAT_ACTION',
        self::DELETE_CHAT_ACTION => 'DELETE_CHAT_ACTION',
        self::UNARCHIVE_CHATS_SETTING => 'UNARCHIVE_CHATS_SETTING',
        self::PRIMARY_FEATURE => 'PRIMARY_FEATURE',
        self::ANDROID_UNSUPPORTED_ACTIONS => 'ANDROID_UNSUPPORTED_ACTIONS',
        self::AGENT_ACTION => 'AGENT_ACTION',
        self::SUBSCRIPTION_ACTION => 'SUBSCRIPTION_ACTION',
        self::USER_STATUS_MUTE_ACTION => 'USER_STATUS_MUTE_ACTION',
        self::TIME_FORMAT_ACTION => 'TIME_FORMAT_ACTION',
        self::NUX_ACTION => 'NUX_ACTION',
        self::PRIMARY_VERSION_ACTION => 'PRIMARY_VERSION_ACTION',
        self::STICKER_ACTION => 'STICKER_ACTION',
        self::REMOVE_RECENT_STICKER_ACTION => 'REMOVE_RECENT_STICKER_ACTION',
        self::CHAT_ASSIGNMENT => 'CHAT_ASSIGNMENT',
        self::CHAT_ASSIGNMENT_OPENED_STATUS => 'CHAT_ASSIGNMENT_OPENED_STATUS',
        self::PN_FOR_LID_CHAT_ACTION => 'PN_FOR_LID_CHAT_ACTION',
        self::MARKETING_MESSAGE_ACTION => 'MARKETING_MESSAGE_ACTION',
        self::MARKETING_MESSAGE_BROADCAST_ACTION => 'MARKETING_MESSAGE_BROADCAST_ACTION',
        self::EXTERNAL_WEB_BETA_ACTION => 'EXTERNAL_WEB_BETA_ACTION',
        self::PRIVACY_SETTING_RELAY_ALL_CALLS => 'PRIVACY_SETTING_RELAY_ALL_CALLS',
        self::CALL_LOG_ACTION => 'CALL_LOG_ACTION',
        self::UGC_BOT => 'UGC_BOT',
        self::STATUS_PRIVACY => 'STATUS_PRIVACY',
        self::BOT_WELCOME_REQUEST_ACTION => 'BOT_WELCOME_REQUEST_ACTION',
        self::DELETE_INDIVIDUAL_CALL_LOG => 'DELETE_INDIVIDUAL_CALL_LOG',
        self::LABEL_REORDERING_ACTION => 'LABEL_REORDERING_ACTION',
        self::PAYMENT_INFO_ACTION => 'PAYMENT_INFO_ACTION',
        self::CUSTOM_PAYMENT_METHODS_ACTION => 'CUSTOM_PAYMENT_METHODS_ACTION',
        self::LOCK_CHAT_ACTION => 'LOCK_CHAT_ACTION',
        self::CHAT_LOCK_SETTINGS => 'CHAT_LOCK_SETTINGS',
        self::WAMO_USER_IDENTIFIER_ACTION => 'WAMO_USER_IDENTIFIER_ACTION',
        self::PRIVACY_SETTING_DISABLE_LINK_PREVIEWS_ACTION => 'PRIVACY_SETTING_DISABLE_LINK_PREVIEWS_ACTION',
        self::DEVICE_CAPABILITIES => 'DEVICE_CAPABILITIES',
        self::NOTE_EDIT_ACTION => 'NOTE_EDIT_ACTION',
        self::FAVORITES_ACTION => 'FAVORITES_ACTION',
        self::MERCHANT_PAYMENT_PARTNER_ACTION => 'MERCHANT_PAYMENT_PARTNER_ACTION',
        self::WAFFLE_ACCOUNT_LINK_STATE_ACTION => 'WAFFLE_ACCOUNT_LINK_STATE_ACTION',
        self::USERNAME_CHAT_START_MODE => 'USERNAME_CHAT_START_MODE',
        self::NOTIFICATION_ACTIVITY_SETTING_ACTION => 'NOTIFICATION_ACTIVITY_SETTING_ACTION',
        self::LID_CONTACT_ACTION => 'LID_CONTACT_ACTION',
        self::CTWA_PER_CUSTOMER_DATA_SHARING_ACTION => 'CTWA_PER_CUSTOMER_DATA_SHARING_ACTION',
        self::PAYMENT_TOS_ACTION => 'PAYMENT_TOS_ACTION',
        self::PRIVACY_SETTING_CHANNELS_PERSONALISED_RECOMMENDATION_ACTION => 'PRIVACY_SETTING_CHANNELS_PERSONALISED_RECOMMENDATION_ACTION',
        self::BUSINESS_BROADCAST_ASSOCIATION_ACTION => 'BUSINESS_BROADCAST_ASSOCIATION_ACTION',
        self::DETECTED_OUTCOMES_STATUS_ACTION => 'DETECTED_OUTCOMES_STATUS_ACTION',
        self::MAIBA_AI_FEATURES_CONTROL_ACTION => 'MAIBA_AI_FEATURES_CONTROL_ACTION',
        self::BUSINESS_BROADCAST_LIST_ACTION => 'BUSINESS_BROADCAST_LIST_ACTION',
        self::MUSIC_USER_ID_ACTION => 'MUSIC_USER_ID_ACTION',
        self::STATUS_POST_OPT_IN_NOTIFICATION_PREFERENCES_ACTION => 'STATUS_POST_OPT_IN_NOTIFICATION_PREFERENCES_ACTION',
        self::AVATAR_UPDATED_ACTION => 'AVATAR_UPDATED_ACTION',
        self::GALAXY_FLOW_ACTION => 'GALAXY_FLOW_ACTION',
        self::PRIVATE_PROCESSING_SETTING_ACTION => 'PRIVATE_PROCESSING_SETTING_ACTION',
        self::NEWSLETTER_SAVED_INTERESTS_ACTION => 'NEWSLETTER_SAVED_INTERESTS_ACTION',
        self::AI_THREAD_RENAME_ACTION => 'AI_THREAD_RENAME_ACTION',
        self::INTERACTIVE_MESSAGE_ACTION => 'INTERACTIVE_MESSAGE_ACTION',
        self::SHARE_OWN_PN => 'SHARE_OWN_PN',
        self::BUSINESS_BROADCAST_ACTION => 'BUSINESS_BROADCAST_ACTION',
    ];

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

