diff options
Diffstat (limited to 'protocols/WhatsApp/src/pmsg.pb-c.cpp')
| -rw-r--r-- | protocols/WhatsApp/src/pmsg.pb-c.cpp | 27331 |
1 files changed, 27331 insertions, 0 deletions
diff --git a/protocols/WhatsApp/src/pmsg.pb-c.cpp b/protocols/WhatsApp/src/pmsg.pb-c.cpp new file mode 100644 index 0000000000..d9818f8907 --- /dev/null +++ b/protocols/WhatsApp/src/pmsg.pb-c.cpp @@ -0,0 +1,27331 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: pmsg.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "pmsg.pb-c.h" +void wa__advdevice_identity__init + (Wa__ADVDeviceIdentity *message) +{ + static const Wa__ADVDeviceIdentity init_value = WA__ADVDEVICE_IDENTITY__INIT; + *message = init_value; +} +size_t wa__advdevice_identity__get_packed_size + (const Wa__ADVDeviceIdentity *message) +{ + assert(message->descriptor == &wa__advdevice_identity__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__advdevice_identity__pack + (const Wa__ADVDeviceIdentity *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__advdevice_identity__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__advdevice_identity__pack_to_buffer + (const Wa__ADVDeviceIdentity *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__advdevice_identity__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__ADVDeviceIdentity * + wa__advdevice_identity__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__ADVDeviceIdentity *) + protobuf_c_message_unpack (&wa__advdevice_identity__descriptor, + allocator, len, data); +} +void wa__advdevice_identity__free_unpacked + (Wa__ADVDeviceIdentity *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__advdevice_identity__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__advkey_index_list__init + (Wa__ADVKeyIndexList *message) +{ + static const Wa__ADVKeyIndexList init_value = WA__ADVKEY_INDEX_LIST__INIT; + *message = init_value; +} +size_t wa__advkey_index_list__get_packed_size + (const Wa__ADVKeyIndexList *message) +{ + assert(message->descriptor == &wa__advkey_index_list__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__advkey_index_list__pack + (const Wa__ADVKeyIndexList *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__advkey_index_list__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__advkey_index_list__pack_to_buffer + (const Wa__ADVKeyIndexList *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__advkey_index_list__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__ADVKeyIndexList * + wa__advkey_index_list__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__ADVKeyIndexList *) + protobuf_c_message_unpack (&wa__advkey_index_list__descriptor, + allocator, len, data); +} +void wa__advkey_index_list__free_unpacked + (Wa__ADVKeyIndexList *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__advkey_index_list__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__advsigned_device_identity__init + (Wa__ADVSignedDeviceIdentity *message) +{ + static const Wa__ADVSignedDeviceIdentity init_value = WA__ADVSIGNED_DEVICE_IDENTITY__INIT; + *message = init_value; +} +size_t wa__advsigned_device_identity__get_packed_size + (const Wa__ADVSignedDeviceIdentity *message) +{ + assert(message->descriptor == &wa__advsigned_device_identity__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__advsigned_device_identity__pack + (const Wa__ADVSignedDeviceIdentity *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__advsigned_device_identity__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__advsigned_device_identity__pack_to_buffer + (const Wa__ADVSignedDeviceIdentity *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__advsigned_device_identity__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__ADVSignedDeviceIdentity * + wa__advsigned_device_identity__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__ADVSignedDeviceIdentity *) + protobuf_c_message_unpack (&wa__advsigned_device_identity__descriptor, + allocator, len, data); +} +void wa__advsigned_device_identity__free_unpacked + (Wa__ADVSignedDeviceIdentity *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__advsigned_device_identity__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__advsigned_device_identity_hmac__init + (Wa__ADVSignedDeviceIdentityHMAC *message) +{ + static const Wa__ADVSignedDeviceIdentityHMAC init_value = WA__ADVSIGNED_DEVICE_IDENTITY_HMAC__INIT; + *message = init_value; +} +size_t wa__advsigned_device_identity_hmac__get_packed_size + (const Wa__ADVSignedDeviceIdentityHMAC *message) +{ + assert(message->descriptor == &wa__advsigned_device_identity_hmac__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__advsigned_device_identity_hmac__pack + (const Wa__ADVSignedDeviceIdentityHMAC *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__advsigned_device_identity_hmac__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__advsigned_device_identity_hmac__pack_to_buffer + (const Wa__ADVSignedDeviceIdentityHMAC *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__advsigned_device_identity_hmac__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__ADVSignedDeviceIdentityHMAC * + wa__advsigned_device_identity_hmac__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__ADVSignedDeviceIdentityHMAC *) + protobuf_c_message_unpack (&wa__advsigned_device_identity_hmac__descriptor, + allocator, len, data); +} +void wa__advsigned_device_identity_hmac__free_unpacked + (Wa__ADVSignedDeviceIdentityHMAC *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__advsigned_device_identity_hmac__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__advsigned_key_index_list__init + (Wa__ADVSignedKeyIndexList *message) +{ + static const Wa__ADVSignedKeyIndexList init_value = WA__ADVSIGNED_KEY_INDEX_LIST__INIT; + *message = init_value; +} +size_t wa__advsigned_key_index_list__get_packed_size + (const Wa__ADVSignedKeyIndexList *message) +{ + assert(message->descriptor == &wa__advsigned_key_index_list__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__advsigned_key_index_list__pack + (const Wa__ADVSignedKeyIndexList *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__advsigned_key_index_list__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__advsigned_key_index_list__pack_to_buffer + (const Wa__ADVSignedKeyIndexList *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__advsigned_key_index_list__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__ADVSignedKeyIndexList * + wa__advsigned_key_index_list__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__ADVSignedKeyIndexList *) + protobuf_c_message_unpack (&wa__advsigned_key_index_list__descriptor, + allocator, len, data); +} +void wa__advsigned_key_index_list__free_unpacked + (Wa__ADVSignedKeyIndexList *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__advsigned_key_index_list__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__action_link__init + (Wa__ActionLink *message) +{ + static const Wa__ActionLink init_value = WA__ACTION_LINK__INIT; + *message = init_value; +} +size_t wa__action_link__get_packed_size + (const Wa__ActionLink *message) +{ + assert(message->descriptor == &wa__action_link__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__action_link__pack + (const Wa__ActionLink *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__action_link__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__action_link__pack_to_buffer + (const Wa__ActionLink *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__action_link__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__ActionLink * + wa__action_link__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__ActionLink *) + protobuf_c_message_unpack (&wa__action_link__descriptor, + allocator, len, data); +} +void wa__action_link__free_unpacked + (Wa__ActionLink *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__action_link__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__auto_download_settings__init + (Wa__AutoDownloadSettings *message) +{ + static const Wa__AutoDownloadSettings init_value = WA__AUTO_DOWNLOAD_SETTINGS__INIT; + *message = init_value; +} +size_t wa__auto_download_settings__get_packed_size + (const Wa__AutoDownloadSettings *message) +{ + assert(message->descriptor == &wa__auto_download_settings__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__auto_download_settings__pack + (const Wa__AutoDownloadSettings *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__auto_download_settings__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__auto_download_settings__pack_to_buffer + (const Wa__AutoDownloadSettings *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__auto_download_settings__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__AutoDownloadSettings * + wa__auto_download_settings__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__AutoDownloadSettings *) + protobuf_c_message_unpack (&wa__auto_download_settings__descriptor, + allocator, len, data); +} +void wa__auto_download_settings__free_unpacked + (Wa__AutoDownloadSettings *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__auto_download_settings__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__biz_account_link_info__init + (Wa__BizAccountLinkInfo *message) +{ + static const Wa__BizAccountLinkInfo init_value = WA__BIZ_ACCOUNT_LINK_INFO__INIT; + *message = init_value; +} +size_t wa__biz_account_link_info__get_packed_size + (const Wa__BizAccountLinkInfo *message) +{ + assert(message->descriptor == &wa__biz_account_link_info__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__biz_account_link_info__pack + (const Wa__BizAccountLinkInfo *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__biz_account_link_info__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__biz_account_link_info__pack_to_buffer + (const Wa__BizAccountLinkInfo *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__biz_account_link_info__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__BizAccountLinkInfo * + wa__biz_account_link_info__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__BizAccountLinkInfo *) + protobuf_c_message_unpack (&wa__biz_account_link_info__descriptor, + allocator, len, data); +} +void wa__biz_account_link_info__free_unpacked + (Wa__BizAccountLinkInfo *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__biz_account_link_info__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__biz_account_payload__init + (Wa__BizAccountPayload *message) +{ + static const Wa__BizAccountPayload init_value = WA__BIZ_ACCOUNT_PAYLOAD__INIT; + *message = init_value; +} +size_t wa__biz_account_payload__get_packed_size + (const Wa__BizAccountPayload *message) +{ + assert(message->descriptor == &wa__biz_account_payload__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__biz_account_payload__pack + (const Wa__BizAccountPayload *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__biz_account_payload__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__biz_account_payload__pack_to_buffer + (const Wa__BizAccountPayload *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__biz_account_payload__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__BizAccountPayload * + wa__biz_account_payload__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__BizAccountPayload *) + protobuf_c_message_unpack (&wa__biz_account_payload__descriptor, + allocator, len, data); +} +void wa__biz_account_payload__free_unpacked + (Wa__BizAccountPayload *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__biz_account_payload__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__biz_identity_info__init + (Wa__BizIdentityInfo *message) +{ + static const Wa__BizIdentityInfo init_value = WA__BIZ_IDENTITY_INFO__INIT; + *message = init_value; +} +size_t wa__biz_identity_info__get_packed_size + (const Wa__BizIdentityInfo *message) +{ + assert(message->descriptor == &wa__biz_identity_info__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__biz_identity_info__pack + (const Wa__BizIdentityInfo *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__biz_identity_info__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__biz_identity_info__pack_to_buffer + (const Wa__BizIdentityInfo *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__biz_identity_info__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__BizIdentityInfo * + wa__biz_identity_info__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__BizIdentityInfo *) + protobuf_c_message_unpack (&wa__biz_identity_info__descriptor, + allocator, len, data); +} +void wa__biz_identity_info__free_unpacked + (Wa__BizIdentityInfo *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__biz_identity_info__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__cert_chain__noise_certificate__details__init + (Wa__CertChain__NoiseCertificate__Details *message) +{ + static const Wa__CertChain__NoiseCertificate__Details init_value = WA__CERT_CHAIN__NOISE_CERTIFICATE__DETAILS__INIT; + *message = init_value; +} +void wa__cert_chain__noise_certificate__init + (Wa__CertChain__NoiseCertificate *message) +{ + static const Wa__CertChain__NoiseCertificate init_value = WA__CERT_CHAIN__NOISE_CERTIFICATE__INIT; + *message = init_value; +} +void wa__cert_chain__init + (Wa__CertChain *message) +{ + static const Wa__CertChain init_value = WA__CERT_CHAIN__INIT; + *message = init_value; +} +size_t wa__cert_chain__get_packed_size + (const Wa__CertChain *message) +{ + assert(message->descriptor == &wa__cert_chain__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__cert_chain__pack + (const Wa__CertChain *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__cert_chain__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__cert_chain__pack_to_buffer + (const Wa__CertChain *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__cert_chain__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__CertChain * + wa__cert_chain__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__CertChain *) + protobuf_c_message_unpack (&wa__cert_chain__descriptor, + allocator, len, data); +} +void wa__cert_chain__free_unpacked + (Wa__CertChain *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__cert_chain__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__chain__init + (Wa__Chain *message) +{ + static const Wa__Chain init_value = WA__CHAIN__INIT; + *message = init_value; +} +size_t wa__chain__get_packed_size + (const Wa__Chain *message) +{ + assert(message->descriptor == &wa__chain__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__chain__pack + (const Wa__Chain *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__chain__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__chain__pack_to_buffer + (const Wa__Chain *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__chain__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__Chain * + wa__chain__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__Chain *) + protobuf_c_message_unpack (&wa__chain__descriptor, + allocator, len, data); +} +void wa__chain__free_unpacked + (Wa__Chain *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__chain__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__chain_key__init + (Wa__ChainKey *message) +{ + static const Wa__ChainKey init_value = WA__CHAIN_KEY__INIT; + *message = init_value; +} +size_t wa__chain_key__get_packed_size + (const Wa__ChainKey *message) +{ + assert(message->descriptor == &wa__chain_key__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__chain_key__pack + (const Wa__ChainKey *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__chain_key__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__chain_key__pack_to_buffer + (const Wa__ChainKey *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__chain_key__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__ChainKey * + wa__chain_key__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__ChainKey *) + protobuf_c_message_unpack (&wa__chain_key__descriptor, + allocator, len, data); +} +void wa__chain_key__free_unpacked + (Wa__ChainKey *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__chain_key__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__client_payload__dnssource__init + (Wa__ClientPayload__DNSSource *message) +{ + static const Wa__ClientPayload__DNSSource init_value = WA__CLIENT_PAYLOAD__DNSSOURCE__INIT; + *message = init_value; +} +void wa__client_payload__device_pairing_registration_data__init + (Wa__ClientPayload__DevicePairingRegistrationData *message) +{ + static const Wa__ClientPayload__DevicePairingRegistrationData init_value = WA__CLIENT_PAYLOAD__DEVICE_PAIRING_REGISTRATION_DATA__INIT; + *message = init_value; +} +void wa__client_payload__user_agent__app_version__init + (Wa__ClientPayload__UserAgent__AppVersion *message) +{ + static const Wa__ClientPayload__UserAgent__AppVersion init_value = WA__CLIENT_PAYLOAD__USER_AGENT__APP_VERSION__INIT; + *message = init_value; +} +void wa__client_payload__user_agent__init + (Wa__ClientPayload__UserAgent *message) +{ + static const Wa__ClientPayload__UserAgent init_value = WA__CLIENT_PAYLOAD__USER_AGENT__INIT; + *message = init_value; +} +void wa__client_payload__web_info__webd_payload__init + (Wa__ClientPayload__WebInfo__WebdPayload *message) +{ + static const Wa__ClientPayload__WebInfo__WebdPayload init_value = WA__CLIENT_PAYLOAD__WEB_INFO__WEBD_PAYLOAD__INIT; + *message = init_value; +} +void wa__client_payload__web_info__init + (Wa__ClientPayload__WebInfo *message) +{ + static const Wa__ClientPayload__WebInfo init_value = WA__CLIENT_PAYLOAD__WEB_INFO__INIT; + *message = init_value; +} +void wa__client_payload__init + (Wa__ClientPayload *message) +{ + static const Wa__ClientPayload init_value = WA__CLIENT_PAYLOAD__INIT; + *message = init_value; +} +size_t wa__client_payload__get_packed_size + (const Wa__ClientPayload *message) +{ + assert(message->descriptor == &wa__client_payload__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__client_payload__pack + (const Wa__ClientPayload *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__client_payload__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__client_payload__pack_to_buffer + (const Wa__ClientPayload *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__client_payload__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__ClientPayload * + wa__client_payload__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__ClientPayload *) + protobuf_c_message_unpack (&wa__client_payload__descriptor, + allocator, len, data); +} +void wa__client_payload__free_unpacked + (Wa__ClientPayload *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__client_payload__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__context_info__ad_reply_info__init + (Wa__ContextInfo__AdReplyInfo *message) +{ + static const Wa__ContextInfo__AdReplyInfo init_value = WA__CONTEXT_INFO__AD_REPLY_INFO__INIT; + *message = init_value; +} +void wa__context_info__external_ad_reply_info__init + (Wa__ContextInfo__ExternalAdReplyInfo *message) +{ + static const Wa__ContextInfo__ExternalAdReplyInfo init_value = WA__CONTEXT_INFO__EXTERNAL_AD_REPLY_INFO__INIT; + *message = init_value; +} +void wa__context_info__init + (Wa__ContextInfo *message) +{ + static const Wa__ContextInfo init_value = WA__CONTEXT_INFO__INIT; + *message = init_value; +} +size_t wa__context_info__get_packed_size + (const Wa__ContextInfo *message) +{ + assert(message->descriptor == &wa__context_info__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__context_info__pack + (const Wa__ContextInfo *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__context_info__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__context_info__pack_to_buffer + (const Wa__ContextInfo *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__context_info__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__ContextInfo * + wa__context_info__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__ContextInfo *) + protobuf_c_message_unpack (&wa__context_info__descriptor, + allocator, len, data); +} +void wa__context_info__free_unpacked + (Wa__ContextInfo *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__context_info__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__conversation__init + (Wa__Conversation *message) +{ + static const Wa__Conversation init_value = WA__CONVERSATION__INIT; + *message = init_value; +} +size_t wa__conversation__get_packed_size + (const Wa__Conversation *message) +{ + assert(message->descriptor == &wa__conversation__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__conversation__pack + (const Wa__Conversation *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__conversation__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__conversation__pack_to_buffer + (const Wa__Conversation *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__conversation__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__Conversation * + wa__conversation__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__Conversation *) + protobuf_c_message_unpack (&wa__conversation__descriptor, + allocator, len, data); +} +void wa__conversation__free_unpacked + (Wa__Conversation *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__conversation__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__device_list_metadata__init + (Wa__DeviceListMetadata *message) +{ + static const Wa__DeviceListMetadata init_value = WA__DEVICE_LIST_METADATA__INIT; + *message = init_value; +} +size_t wa__device_list_metadata__get_packed_size + (const Wa__DeviceListMetadata *message) +{ + assert(message->descriptor == &wa__device_list_metadata__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__device_list_metadata__pack + (const Wa__DeviceListMetadata *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__device_list_metadata__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__device_list_metadata__pack_to_buffer + (const Wa__DeviceListMetadata *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__device_list_metadata__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__DeviceListMetadata * + wa__device_list_metadata__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__DeviceListMetadata *) + protobuf_c_message_unpack (&wa__device_list_metadata__descriptor, + allocator, len, data); +} +void wa__device_list_metadata__free_unpacked + (Wa__DeviceListMetadata *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__device_list_metadata__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__device_props__app_version__init + (Wa__DeviceProps__AppVersion *message) +{ + static const Wa__DeviceProps__AppVersion init_value = WA__DEVICE_PROPS__APP_VERSION__INIT; + *message = init_value; +} +void wa__device_props__init + (Wa__DeviceProps *message) +{ + static const Wa__DeviceProps init_value = WA__DEVICE_PROPS__INIT; + *message = init_value; +} +size_t wa__device_props__get_packed_size + (const Wa__DeviceProps *message) +{ + assert(message->descriptor == &wa__device_props__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__device_props__pack + (const Wa__DeviceProps *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__device_props__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__device_props__pack_to_buffer + (const Wa__DeviceProps *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__device_props__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__DeviceProps * + wa__device_props__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__DeviceProps *) + protobuf_c_message_unpack (&wa__device_props__descriptor, + allocator, len, data); +} +void wa__device_props__free_unpacked + (Wa__DeviceProps *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__device_props__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__disappearing_mode__init + (Wa__DisappearingMode *message) +{ + static const Wa__DisappearingMode init_value = WA__DISAPPEARING_MODE__INIT; + *message = init_value; +} +size_t wa__disappearing_mode__get_packed_size + (const Wa__DisappearingMode *message) +{ + assert(message->descriptor == &wa__disappearing_mode__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__disappearing_mode__pack + (const Wa__DisappearingMode *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__disappearing_mode__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__disappearing_mode__pack_to_buffer + (const Wa__DisappearingMode *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__disappearing_mode__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__DisappearingMode * + wa__disappearing_mode__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__DisappearingMode *) + protobuf_c_message_unpack (&wa__disappearing_mode__descriptor, + allocator, len, data); +} +void wa__disappearing_mode__free_unpacked + (Wa__DisappearingMode *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__disappearing_mode__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__ephemeral_setting__init + (Wa__EphemeralSetting *message) +{ + static const Wa__EphemeralSetting init_value = WA__EPHEMERAL_SETTING__INIT; + *message = init_value; +} +size_t wa__ephemeral_setting__get_packed_size + (const Wa__EphemeralSetting *message) +{ + assert(message->descriptor == &wa__ephemeral_setting__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__ephemeral_setting__pack + (const Wa__EphemeralSetting *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__ephemeral_setting__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__ephemeral_setting__pack_to_buffer + (const Wa__EphemeralSetting *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__ephemeral_setting__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__EphemeralSetting * + wa__ephemeral_setting__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__EphemeralSetting *) + protobuf_c_message_unpack (&wa__ephemeral_setting__descriptor, + allocator, len, data); +} +void wa__ephemeral_setting__free_unpacked + (Wa__EphemeralSetting *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__ephemeral_setting__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__exit_code__init + (Wa__ExitCode *message) +{ + static const Wa__ExitCode init_value = WA__EXIT_CODE__INIT; + *message = init_value; +} +size_t wa__exit_code__get_packed_size + (const Wa__ExitCode *message) +{ + assert(message->descriptor == &wa__exit_code__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__exit_code__pack + (const Wa__ExitCode *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__exit_code__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__exit_code__pack_to_buffer + (const Wa__ExitCode *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__exit_code__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__ExitCode * + wa__exit_code__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__ExitCode *) + protobuf_c_message_unpack (&wa__exit_code__descriptor, + allocator, len, data); +} +void wa__exit_code__free_unpacked + (Wa__ExitCode *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__exit_code__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__external_blob_reference__init + (Wa__ExternalBlobReference *message) +{ + static const Wa__ExternalBlobReference init_value = WA__EXTERNAL_BLOB_REFERENCE__INIT; + *message = init_value; +} +size_t wa__external_blob_reference__get_packed_size + (const Wa__ExternalBlobReference *message) +{ + assert(message->descriptor == &wa__external_blob_reference__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__external_blob_reference__pack + (const Wa__ExternalBlobReference *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__external_blob_reference__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__external_blob_reference__pack_to_buffer + (const Wa__ExternalBlobReference *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__external_blob_reference__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__ExternalBlobReference * + wa__external_blob_reference__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__ExternalBlobReference *) + protobuf_c_message_unpack (&wa__external_blob_reference__descriptor, + allocator, len, data); +} +void wa__external_blob_reference__free_unpacked + (Wa__ExternalBlobReference *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__external_blob_reference__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__global_settings__init + (Wa__GlobalSettings *message) +{ + static const Wa__GlobalSettings init_value = WA__GLOBAL_SETTINGS__INIT; + *message = init_value; +} +size_t wa__global_settings__get_packed_size + (const Wa__GlobalSettings *message) +{ + assert(message->descriptor == &wa__global_settings__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__global_settings__pack + (const Wa__GlobalSettings *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__global_settings__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__global_settings__pack_to_buffer + (const Wa__GlobalSettings *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__global_settings__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__GlobalSettings * + wa__global_settings__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__GlobalSettings *) + protobuf_c_message_unpack (&wa__global_settings__descriptor, + allocator, len, data); +} +void wa__global_settings__free_unpacked + (Wa__GlobalSettings *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__global_settings__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__group_participant__init + (Wa__GroupParticipant *message) +{ + static const Wa__GroupParticipant init_value = WA__GROUP_PARTICIPANT__INIT; + *message = init_value; +} +size_t wa__group_participant__get_packed_size + (const Wa__GroupParticipant *message) +{ + assert(message->descriptor == &wa__group_participant__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__group_participant__pack + (const Wa__GroupParticipant *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__group_participant__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__group_participant__pack_to_buffer + (const Wa__GroupParticipant *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__group_participant__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__GroupParticipant * + wa__group_participant__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__GroupParticipant *) + protobuf_c_message_unpack (&wa__group_participant__descriptor, + allocator, len, data); +} +void wa__group_participant__free_unpacked + (Wa__GroupParticipant *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__group_participant__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__handshake_message__client_finish__init + (Wa__HandshakeMessage__ClientFinish *message) +{ + static const Wa__HandshakeMessage__ClientFinish init_value = WA__HANDSHAKE_MESSAGE__CLIENT_FINISH__INIT; + *message = init_value; +} +void wa__handshake_message__client_hello__init + (Wa__HandshakeMessage__ClientHello *message) +{ + static const Wa__HandshakeMessage__ClientHello init_value = WA__HANDSHAKE_MESSAGE__CLIENT_HELLO__INIT; + *message = init_value; +} +void wa__handshake_message__server_hello__init + (Wa__HandshakeMessage__ServerHello *message) +{ + static const Wa__HandshakeMessage__ServerHello init_value = WA__HANDSHAKE_MESSAGE__SERVER_HELLO__INIT; + *message = init_value; +} +void wa__handshake_message__init + (Wa__HandshakeMessage *message) +{ + static const Wa__HandshakeMessage init_value = WA__HANDSHAKE_MESSAGE__INIT; + *message = init_value; +} +size_t wa__handshake_message__get_packed_size + (const Wa__HandshakeMessage *message) +{ + assert(message->descriptor == &wa__handshake_message__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__handshake_message__pack + (const Wa__HandshakeMessage *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__handshake_message__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__handshake_message__pack_to_buffer + (const Wa__HandshakeMessage *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__handshake_message__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__HandshakeMessage * + wa__handshake_message__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__HandshakeMessage *) + protobuf_c_message_unpack (&wa__handshake_message__descriptor, + allocator, len, data); +} +void wa__handshake_message__free_unpacked + (Wa__HandshakeMessage *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__handshake_message__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__history_sync__init + (Wa__HistorySync *message) +{ + static const Wa__HistorySync init_value = WA__HISTORY_SYNC__INIT; + *message = init_value; +} +size_t wa__history_sync__get_packed_size + (const Wa__HistorySync *message) +{ + assert(message->descriptor == &wa__history_sync__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__history_sync__pack + (const Wa__HistorySync *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__history_sync__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__history_sync__pack_to_buffer + (const Wa__HistorySync *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__history_sync__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__HistorySync * + wa__history_sync__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__HistorySync *) + protobuf_c_message_unpack (&wa__history_sync__descriptor, + allocator, len, data); +} +void wa__history_sync__free_unpacked + (Wa__HistorySync *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__history_sync__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__history_sync_msg__init + (Wa__HistorySyncMsg *message) +{ + static const Wa__HistorySyncMsg init_value = WA__HISTORY_SYNC_MSG__INIT; + *message = init_value; +} +size_t wa__history_sync_msg__get_packed_size + (const Wa__HistorySyncMsg *message) +{ + assert(message->descriptor == &wa__history_sync_msg__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__history_sync_msg__pack + (const Wa__HistorySyncMsg *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__history_sync_msg__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__history_sync_msg__pack_to_buffer + (const Wa__HistorySyncMsg *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__history_sync_msg__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__HistorySyncMsg * + wa__history_sync_msg__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__HistorySyncMsg *) + protobuf_c_message_unpack (&wa__history_sync_msg__descriptor, + allocator, len, data); +} +void wa__history_sync_msg__free_unpacked + (Wa__HistorySyncMsg *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__history_sync_msg__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__hydrated_template_button__hydrated_call_button__init + (Wa__HydratedTemplateButton__HydratedCallButton *message) +{ + static const Wa__HydratedTemplateButton__HydratedCallButton init_value = WA__HYDRATED_TEMPLATE_BUTTON__HYDRATED_CALL_BUTTON__INIT; + *message = init_value; +} +void wa__hydrated_template_button__hydrated_quick_reply_button__init + (Wa__HydratedTemplateButton__HydratedQuickReplyButton *message) +{ + static const Wa__HydratedTemplateButton__HydratedQuickReplyButton init_value = WA__HYDRATED_TEMPLATE_BUTTON__HYDRATED_QUICK_REPLY_BUTTON__INIT; + *message = init_value; +} +void wa__hydrated_template_button__hydrated_urlbutton__init + (Wa__HydratedTemplateButton__HydratedURLButton *message) +{ + static const Wa__HydratedTemplateButton__HydratedURLButton init_value = WA__HYDRATED_TEMPLATE_BUTTON__HYDRATED_URLBUTTON__INIT; + *message = init_value; +} +void wa__hydrated_template_button__init + (Wa__HydratedTemplateButton *message) +{ + static const Wa__HydratedTemplateButton init_value = WA__HYDRATED_TEMPLATE_BUTTON__INIT; + *message = init_value; +} +size_t wa__hydrated_template_button__get_packed_size + (const Wa__HydratedTemplateButton *message) +{ + assert(message->descriptor == &wa__hydrated_template_button__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__hydrated_template_button__pack + (const Wa__HydratedTemplateButton *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__hydrated_template_button__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__hydrated_template_button__pack_to_buffer + (const Wa__HydratedTemplateButton *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__hydrated_template_button__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__HydratedTemplateButton * + wa__hydrated_template_button__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__HydratedTemplateButton *) + protobuf_c_message_unpack (&wa__hydrated_template_button__descriptor, + allocator, len, data); +} +void wa__hydrated_template_button__free_unpacked + (Wa__HydratedTemplateButton *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__hydrated_template_button__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__identity_key_pair_structure__init + (Wa__IdentityKeyPairStructure *message) +{ + static const Wa__IdentityKeyPairStructure init_value = WA__IDENTITY_KEY_PAIR_STRUCTURE__INIT; + *message = init_value; +} +size_t wa__identity_key_pair_structure__get_packed_size + (const Wa__IdentityKeyPairStructure *message) +{ + assert(message->descriptor == &wa__identity_key_pair_structure__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__identity_key_pair_structure__pack + (const Wa__IdentityKeyPairStructure *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__identity_key_pair_structure__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__identity_key_pair_structure__pack_to_buffer + (const Wa__IdentityKeyPairStructure *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__identity_key_pair_structure__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__IdentityKeyPairStructure * + wa__identity_key_pair_structure__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__IdentityKeyPairStructure *) + protobuf_c_message_unpack (&wa__identity_key_pair_structure__descriptor, + allocator, len, data); +} +void wa__identity_key_pair_structure__free_unpacked + (Wa__IdentityKeyPairStructure *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__identity_key_pair_structure__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__interactive_annotation__init + (Wa__InteractiveAnnotation *message) +{ + static const Wa__InteractiveAnnotation init_value = WA__INTERACTIVE_ANNOTATION__INIT; + *message = init_value; +} +size_t wa__interactive_annotation__get_packed_size + (const Wa__InteractiveAnnotation *message) +{ + assert(message->descriptor == &wa__interactive_annotation__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__interactive_annotation__pack + (const Wa__InteractiveAnnotation *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__interactive_annotation__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__interactive_annotation__pack_to_buffer + (const Wa__InteractiveAnnotation *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__interactive_annotation__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__InteractiveAnnotation * + wa__interactive_annotation__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__InteractiveAnnotation *) + protobuf_c_message_unpack (&wa__interactive_annotation__descriptor, + allocator, len, data); +} +void wa__interactive_annotation__free_unpacked + (Wa__InteractiveAnnotation *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__interactive_annotation__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__keep_in_chat__init + (Wa__KeepInChat *message) +{ + static const Wa__KeepInChat init_value = WA__KEEP_IN_CHAT__INIT; + *message = init_value; +} +size_t wa__keep_in_chat__get_packed_size + (const Wa__KeepInChat *message) +{ + assert(message->descriptor == &wa__keep_in_chat__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__keep_in_chat__pack + (const Wa__KeepInChat *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__keep_in_chat__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__keep_in_chat__pack_to_buffer + (const Wa__KeepInChat *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__keep_in_chat__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__KeepInChat * + wa__keep_in_chat__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__KeepInChat *) + protobuf_c_message_unpack (&wa__keep_in_chat__descriptor, + allocator, len, data); +} +void wa__keep_in_chat__free_unpacked + (Wa__KeepInChat *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__keep_in_chat__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__key_id__init + (Wa__KeyId *message) +{ + static const Wa__KeyId init_value = WA__KEY_ID__INIT; + *message = init_value; +} +size_t wa__key_id__get_packed_size + (const Wa__KeyId *message) +{ + assert(message->descriptor == &wa__key_id__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__key_id__pack + (const Wa__KeyId *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__key_id__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__key_id__pack_to_buffer + (const Wa__KeyId *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__key_id__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__KeyId * + wa__key_id__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__KeyId *) + protobuf_c_message_unpack (&wa__key_id__descriptor, + allocator, len, data); +} +void wa__key_id__free_unpacked + (Wa__KeyId *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__key_id__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__localized_name__init + (Wa__LocalizedName *message) +{ + static const Wa__LocalizedName init_value = WA__LOCALIZED_NAME__INIT; + *message = init_value; +} +size_t wa__localized_name__get_packed_size + (const Wa__LocalizedName *message) +{ + assert(message->descriptor == &wa__localized_name__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__localized_name__pack + (const Wa__LocalizedName *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__localized_name__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__localized_name__pack_to_buffer + (const Wa__LocalizedName *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__localized_name__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__LocalizedName * + wa__localized_name__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__LocalizedName *) + protobuf_c_message_unpack (&wa__localized_name__descriptor, + allocator, len, data); +} +void wa__localized_name__free_unpacked + (Wa__LocalizedName *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__localized_name__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__location__init + (Wa__Location *message) +{ + static const Wa__Location init_value = WA__LOCATION__INIT; + *message = init_value; +} +size_t wa__location__get_packed_size + (const Wa__Location *message) +{ + assert(message->descriptor == &wa__location__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__location__pack + (const Wa__Location *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__location__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__location__pack_to_buffer + (const Wa__Location *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__location__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__Location * + wa__location__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__Location *) + protobuf_c_message_unpack (&wa__location__descriptor, + allocator, len, data); +} +void wa__location__free_unpacked + (Wa__Location *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__location__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__media_data__init + (Wa__MediaData *message) +{ + static const Wa__MediaData init_value = WA__MEDIA_DATA__INIT; + *message = init_value; +} +size_t wa__media_data__get_packed_size + (const Wa__MediaData *message) +{ + assert(message->descriptor == &wa__media_data__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__media_data__pack + (const Wa__MediaData *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__media_data__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__media_data__pack_to_buffer + (const Wa__MediaData *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__media_data__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__MediaData * + wa__media_data__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__MediaData *) + protobuf_c_message_unpack (&wa__media_data__descriptor, + allocator, len, data); +} +void wa__media_data__free_unpacked + (Wa__MediaData *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__media_data__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__media_retry_notification__init + (Wa__MediaRetryNotification *message) +{ + static const Wa__MediaRetryNotification init_value = WA__MEDIA_RETRY_NOTIFICATION__INIT; + *message = init_value; +} +size_t wa__media_retry_notification__get_packed_size + (const Wa__MediaRetryNotification *message) +{ + assert(message->descriptor == &wa__media_retry_notification__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__media_retry_notification__pack + (const Wa__MediaRetryNotification *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__media_retry_notification__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__media_retry_notification__pack_to_buffer + (const Wa__MediaRetryNotification *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__media_retry_notification__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__MediaRetryNotification * + wa__media_retry_notification__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__MediaRetryNotification *) + protobuf_c_message_unpack (&wa__media_retry_notification__descriptor, + allocator, len, data); +} +void wa__media_retry_notification__free_unpacked + (Wa__MediaRetryNotification *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__media_retry_notification__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__message__app_state_fatal_exception_notification__init + (Wa__Message__AppStateFatalExceptionNotification *message) +{ + static const Wa__Message__AppStateFatalExceptionNotification init_value = WA__MESSAGE__APP_STATE_FATAL_EXCEPTION_NOTIFICATION__INIT; + *message = init_value; +} +void wa__message__app_state_sync_key_data__init + (Wa__Message__AppStateSyncKeyData *message) +{ + static const Wa__Message__AppStateSyncKeyData init_value = WA__MESSAGE__APP_STATE_SYNC_KEY_DATA__INIT; + *message = init_value; +} +void wa__message__app_state_sync_key_fingerprint__init + (Wa__Message__AppStateSyncKeyFingerprint *message) +{ + static const Wa__Message__AppStateSyncKeyFingerprint init_value = WA__MESSAGE__APP_STATE_SYNC_KEY_FINGERPRINT__INIT; + *message = init_value; +} +void wa__message__app_state_sync_key_id__init + (Wa__Message__AppStateSyncKeyId *message) +{ + static const Wa__Message__AppStateSyncKeyId init_value = WA__MESSAGE__APP_STATE_SYNC_KEY_ID__INIT; + *message = init_value; +} +void wa__message__app_state_sync_key_request__init + (Wa__Message__AppStateSyncKeyRequest *message) +{ + static const Wa__Message__AppStateSyncKeyRequest init_value = WA__MESSAGE__APP_STATE_SYNC_KEY_REQUEST__INIT; + *message = init_value; +} +void wa__message__app_state_sync_key_share__init + (Wa__Message__AppStateSyncKeyShare *message) +{ + static const Wa__Message__AppStateSyncKeyShare init_value = WA__MESSAGE__APP_STATE_SYNC_KEY_SHARE__INIT; + *message = init_value; +} +void wa__message__app_state_sync_key__init + (Wa__Message__AppStateSyncKey *message) +{ + static const Wa__Message__AppStateSyncKey init_value = WA__MESSAGE__APP_STATE_SYNC_KEY__INIT; + *message = init_value; +} +void wa__message__audio_message__init + (Wa__Message__AudioMessage *message) +{ + static const Wa__Message__AudioMessage init_value = WA__MESSAGE__AUDIO_MESSAGE__INIT; + *message = init_value; +} +void wa__message__buttons_message__button__button_text__init + (Wa__Message__ButtonsMessage__Button__ButtonText *message) +{ + static const Wa__Message__ButtonsMessage__Button__ButtonText init_value = WA__MESSAGE__BUTTONS_MESSAGE__BUTTON__BUTTON_TEXT__INIT; + *message = init_value; +} +void wa__message__buttons_message__button__native_flow_info__init + (Wa__Message__ButtonsMessage__Button__NativeFlowInfo *message) +{ + static const Wa__Message__ButtonsMessage__Button__NativeFlowInfo init_value = WA__MESSAGE__BUTTONS_MESSAGE__BUTTON__NATIVE_FLOW_INFO__INIT; + *message = init_value; +} +void wa__message__buttons_message__button__init + (Wa__Message__ButtonsMessage__Button *message) +{ + static const Wa__Message__ButtonsMessage__Button init_value = WA__MESSAGE__BUTTONS_MESSAGE__BUTTON__INIT; + *message = init_value; +} +void wa__message__buttons_message__init + (Wa__Message__ButtonsMessage *message) +{ + static const Wa__Message__ButtonsMessage init_value = WA__MESSAGE__BUTTONS_MESSAGE__INIT; + *message = init_value; +} +void wa__message__buttons_response_message__init + (Wa__Message__ButtonsResponseMessage *message) +{ + static const Wa__Message__ButtonsResponseMessage init_value = WA__MESSAGE__BUTTONS_RESPONSE_MESSAGE__INIT; + *message = init_value; +} +void wa__message__call__init + (Wa__Message__Call *message) +{ + static const Wa__Message__Call init_value = WA__MESSAGE__CALL__INIT; + *message = init_value; +} +void wa__message__cancel_payment_request_message__init + (Wa__Message__CancelPaymentRequestMessage *message) +{ + static const Wa__Message__CancelPaymentRequestMessage init_value = WA__MESSAGE__CANCEL_PAYMENT_REQUEST_MESSAGE__INIT; + *message = init_value; +} +void wa__message__chat__init + (Wa__Message__Chat *message) +{ + static const Wa__Message__Chat init_value = WA__MESSAGE__CHAT__INIT; + *message = init_value; +} +void wa__message__contact_message__init + (Wa__Message__ContactMessage *message) +{ + static const Wa__Message__ContactMessage init_value = WA__MESSAGE__CONTACT_MESSAGE__INIT; + *message = init_value; +} +void wa__message__contacts_array_message__init + (Wa__Message__ContactsArrayMessage *message) +{ + static const Wa__Message__ContactsArrayMessage init_value = WA__MESSAGE__CONTACTS_ARRAY_MESSAGE__INIT; + *message = init_value; +} +void wa__message__decline_payment_request_message__init + (Wa__Message__DeclinePaymentRequestMessage *message) +{ + static const Wa__Message__DeclinePaymentRequestMessage init_value = WA__MESSAGE__DECLINE_PAYMENT_REQUEST_MESSAGE__INIT; + *message = init_value; +} +void wa__message__device_sent_message__init + (Wa__Message__DeviceSentMessage *message) +{ + static const Wa__Message__DeviceSentMessage init_value = WA__MESSAGE__DEVICE_SENT_MESSAGE__INIT; + *message = init_value; +} +void wa__message__document_message__init + (Wa__Message__DocumentMessage *message) +{ + static const Wa__Message__DocumentMessage init_value = WA__MESSAGE__DOCUMENT_MESSAGE__INIT; + *message = init_value; +} +void wa__message__extended_text_message__init + (Wa__Message__ExtendedTextMessage *message) +{ + static const Wa__Message__ExtendedTextMessage init_value = WA__MESSAGE__EXTENDED_TEXT_MESSAGE__INIT; + *message = init_value; +} +void wa__message__future_proof_message__init + (Wa__Message__FutureProofMessage *message) +{ + static const Wa__Message__FutureProofMessage init_value = WA__MESSAGE__FUTURE_PROOF_MESSAGE__INIT; + *message = init_value; +} +void wa__message__group_invite_message__init + (Wa__Message__GroupInviteMessage *message) +{ + static const Wa__Message__GroupInviteMessage init_value = WA__MESSAGE__GROUP_INVITE_MESSAGE__INIT; + *message = init_value; +} +void wa__message__highly_structured_message__hsmlocalizable_parameter__hsmcurrency__init + (Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMCurrency *message) +{ + static const Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMCurrency init_value = WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMCURRENCY__INIT; + *message = init_value; +} +void wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__init + (Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent *message) +{ + static const Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent init_value = WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__INIT; + *message = init_value; +} +void wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_unix_epoch__init + (Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeUnixEpoch *message) +{ + static const Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeUnixEpoch init_value = WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_UNIX_EPOCH__INIT; + *message = init_value; +} +void wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__init + (Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime *message) +{ + static const Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime init_value = WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__INIT; + *message = init_value; +} +void wa__message__highly_structured_message__hsmlocalizable_parameter__init + (Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter *message) +{ + static const Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter init_value = WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__INIT; + *message = init_value; +} +void wa__message__highly_structured_message__init + (Wa__Message__HighlyStructuredMessage *message) +{ + static const Wa__Message__HighlyStructuredMessage init_value = WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__INIT; + *message = init_value; +} +void wa__message__history_sync_notification__init + (Wa__Message__HistorySyncNotification *message) +{ + static const Wa__Message__HistorySyncNotification init_value = WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__INIT; + *message = init_value; +} +void wa__message__image_message__init + (Wa__Message__ImageMessage *message) +{ + static const Wa__Message__ImageMessage init_value = WA__MESSAGE__IMAGE_MESSAGE__INIT; + *message = init_value; +} +void wa__message__initial_security_notification_setting_sync__init + (Wa__Message__InitialSecurityNotificationSettingSync *message) +{ + static const Wa__Message__InitialSecurityNotificationSettingSync init_value = WA__MESSAGE__INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC__INIT; + *message = init_value; +} +void wa__message__interactive_message__body__init + (Wa__Message__InteractiveMessage__Body *message) +{ + static const Wa__Message__InteractiveMessage__Body init_value = WA__MESSAGE__INTERACTIVE_MESSAGE__BODY__INIT; + *message = init_value; +} +void wa__message__interactive_message__collection_message__init + (Wa__Message__InteractiveMessage__CollectionMessage *message) +{ + static const Wa__Message__InteractiveMessage__CollectionMessage init_value = WA__MESSAGE__INTERACTIVE_MESSAGE__COLLECTION_MESSAGE__INIT; + *message = init_value; +} +void wa__message__interactive_message__footer__init + (Wa__Message__InteractiveMessage__Footer *message) +{ + static const Wa__Message__InteractiveMessage__Footer init_value = WA__MESSAGE__INTERACTIVE_MESSAGE__FOOTER__INIT; + *message = init_value; +} +void wa__message__interactive_message__header__init + (Wa__Message__InteractiveMessage__Header *message) +{ + static const Wa__Message__InteractiveMessage__Header init_value = WA__MESSAGE__INTERACTIVE_MESSAGE__HEADER__INIT; + *message = init_value; +} +void wa__message__interactive_message__native_flow_message__native_flow_button__init + (Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton *message) +{ + static const Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton init_value = WA__MESSAGE__INTERACTIVE_MESSAGE__NATIVE_FLOW_MESSAGE__NATIVE_FLOW_BUTTON__INIT; + *message = init_value; +} +void wa__message__interactive_message__native_flow_message__init + (Wa__Message__InteractiveMessage__NativeFlowMessage *message) +{ + static const Wa__Message__InteractiveMessage__NativeFlowMessage init_value = WA__MESSAGE__INTERACTIVE_MESSAGE__NATIVE_FLOW_MESSAGE__INIT; + *message = init_value; +} +void wa__message__interactive_message__shop_message__init + (Wa__Message__InteractiveMessage__ShopMessage *message) +{ + static const Wa__Message__InteractiveMessage__ShopMessage init_value = WA__MESSAGE__INTERACTIVE_MESSAGE__SHOP_MESSAGE__INIT; + *message = init_value; +} +void wa__message__interactive_message__init + (Wa__Message__InteractiveMessage *message) +{ + static const Wa__Message__InteractiveMessage init_value = WA__MESSAGE__INTERACTIVE_MESSAGE__INIT; + *message = init_value; +} +void wa__message__interactive_response_message__body__init + (Wa__Message__InteractiveResponseMessage__Body *message) +{ + static const Wa__Message__InteractiveResponseMessage__Body init_value = WA__MESSAGE__INTERACTIVE_RESPONSE_MESSAGE__BODY__INIT; + *message = init_value; +} +void wa__message__interactive_response_message__native_flow_response_message__init + (Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage *message) +{ + static const Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage init_value = WA__MESSAGE__INTERACTIVE_RESPONSE_MESSAGE__NATIVE_FLOW_RESPONSE_MESSAGE__INIT; + *message = init_value; +} +void wa__message__interactive_response_message__init + (Wa__Message__InteractiveResponseMessage *message) +{ + static const Wa__Message__InteractiveResponseMessage init_value = WA__MESSAGE__INTERACTIVE_RESPONSE_MESSAGE__INIT; + *message = init_value; +} +void wa__message__invoice_message__init + (Wa__Message__InvoiceMessage *message) +{ + static const Wa__Message__InvoiceMessage init_value = WA__MESSAGE__INVOICE_MESSAGE__INIT; + *message = init_value; +} +void wa__message__keep_in_chat_message__init + (Wa__Message__KeepInChatMessage *message) +{ + static const Wa__Message__KeepInChatMessage init_value = WA__MESSAGE__KEEP_IN_CHAT_MESSAGE__INIT; + *message = init_value; +} +void wa__message__list_message__product_list_header_image__init + (Wa__Message__ListMessage__ProductListHeaderImage *message) +{ + static const Wa__Message__ListMessage__ProductListHeaderImage init_value = WA__MESSAGE__LIST_MESSAGE__PRODUCT_LIST_HEADER_IMAGE__INIT; + *message = init_value; +} +void wa__message__list_message__product_list_info__init + (Wa__Message__ListMessage__ProductListInfo *message) +{ + static const Wa__Message__ListMessage__ProductListInfo init_value = WA__MESSAGE__LIST_MESSAGE__PRODUCT_LIST_INFO__INIT; + *message = init_value; +} +void wa__message__list_message__product_section__init + (Wa__Message__ListMessage__ProductSection *message) +{ + static const Wa__Message__ListMessage__ProductSection init_value = WA__MESSAGE__LIST_MESSAGE__PRODUCT_SECTION__INIT; + *message = init_value; +} +void wa__message__list_message__product__init + (Wa__Message__ListMessage__Product *message) +{ + static const Wa__Message__ListMessage__Product init_value = WA__MESSAGE__LIST_MESSAGE__PRODUCT__INIT; + *message = init_value; +} +void wa__message__list_message__row__init + (Wa__Message__ListMessage__Row *message) +{ + static const Wa__Message__ListMessage__Row init_value = WA__MESSAGE__LIST_MESSAGE__ROW__INIT; + *message = init_value; +} +void wa__message__list_message__section__init + (Wa__Message__ListMessage__Section *message) +{ + static const Wa__Message__ListMessage__Section init_value = WA__MESSAGE__LIST_MESSAGE__SECTION__INIT; + *message = init_value; +} +void wa__message__list_message__init + (Wa__Message__ListMessage *message) +{ + static const Wa__Message__ListMessage init_value = WA__MESSAGE__LIST_MESSAGE__INIT; + *message = init_value; +} +void wa__message__list_response_message__single_select_reply__init + (Wa__Message__ListResponseMessage__SingleSelectReply *message) +{ + static const Wa__Message__ListResponseMessage__SingleSelectReply init_value = WA__MESSAGE__LIST_RESPONSE_MESSAGE__SINGLE_SELECT_REPLY__INIT; + *message = init_value; +} +void wa__message__list_response_message__init + (Wa__Message__ListResponseMessage *message) +{ + static const Wa__Message__ListResponseMessage init_value = WA__MESSAGE__LIST_RESPONSE_MESSAGE__INIT; + *message = init_value; +} +void wa__message__live_location_message__init + (Wa__Message__LiveLocationMessage *message) +{ + static const Wa__Message__LiveLocationMessage init_value = WA__MESSAGE__LIVE_LOCATION_MESSAGE__INIT; + *message = init_value; +} +void wa__message__location_message__init + (Wa__Message__LocationMessage *message) +{ + static const Wa__Message__LocationMessage init_value = WA__MESSAGE__LOCATION_MESSAGE__INIT; + *message = init_value; +} +void wa__message__order_message__init + (Wa__Message__OrderMessage *message) +{ + static const Wa__Message__OrderMessage init_value = WA__MESSAGE__ORDER_MESSAGE__INIT; + *message = init_value; +} +void wa__message__payment_invite_message__init + (Wa__Message__PaymentInviteMessage *message) +{ + static const Wa__Message__PaymentInviteMessage init_value = WA__MESSAGE__PAYMENT_INVITE_MESSAGE__INIT; + *message = init_value; +} +void wa__message__poll_creation_message__option__init + (Wa__Message__PollCreationMessage__Option *message) +{ + static const Wa__Message__PollCreationMessage__Option init_value = WA__MESSAGE__POLL_CREATION_MESSAGE__OPTION__INIT; + *message = init_value; +} +void wa__message__poll_creation_message__init + (Wa__Message__PollCreationMessage *message) +{ + static const Wa__Message__PollCreationMessage init_value = WA__MESSAGE__POLL_CREATION_MESSAGE__INIT; + *message = init_value; +} +void wa__message__poll_enc_value__init + (Wa__Message__PollEncValue *message) +{ + static const Wa__Message__PollEncValue init_value = WA__MESSAGE__POLL_ENC_VALUE__INIT; + *message = init_value; +} +void wa__message__poll_update_message_metadata__init + (Wa__Message__PollUpdateMessageMetadata *message) +{ + static const Wa__Message__PollUpdateMessageMetadata init_value = WA__MESSAGE__POLL_UPDATE_MESSAGE_METADATA__INIT; + *message = init_value; +} +void wa__message__poll_update_message__init + (Wa__Message__PollUpdateMessage *message) +{ + static const Wa__Message__PollUpdateMessage init_value = WA__MESSAGE__POLL_UPDATE_MESSAGE__INIT; + *message = init_value; +} +void wa__message__poll_vote_message__init + (Wa__Message__PollVoteMessage *message) +{ + static const Wa__Message__PollVoteMessage init_value = WA__MESSAGE__POLL_VOTE_MESSAGE__INIT; + *message = init_value; +} +void wa__message__product_message__catalog_snapshot__init + (Wa__Message__ProductMessage__CatalogSnapshot *message) +{ + static const Wa__Message__ProductMessage__CatalogSnapshot init_value = WA__MESSAGE__PRODUCT_MESSAGE__CATALOG_SNAPSHOT__INIT; + *message = init_value; +} +void wa__message__product_message__product_snapshot__init + (Wa__Message__ProductMessage__ProductSnapshot *message) +{ + static const Wa__Message__ProductMessage__ProductSnapshot init_value = WA__MESSAGE__PRODUCT_MESSAGE__PRODUCT_SNAPSHOT__INIT; + *message = init_value; +} +void wa__message__product_message__init + (Wa__Message__ProductMessage *message) +{ + static const Wa__Message__ProductMessage init_value = WA__MESSAGE__PRODUCT_MESSAGE__INIT; + *message = init_value; +} +void wa__message__protocol_message__init + (Wa__Message__ProtocolMessage *message) +{ + static const Wa__Message__ProtocolMessage init_value = WA__MESSAGE__PROTOCOL_MESSAGE__INIT; + *message = init_value; +} +void wa__message__reaction_message__init + (Wa__Message__ReactionMessage *message) +{ + static const Wa__Message__ReactionMessage init_value = WA__MESSAGE__REACTION_MESSAGE__INIT; + *message = init_value; +} +void wa__message__request_media_upload_message__init + (Wa__Message__RequestMediaUploadMessage *message) +{ + static const Wa__Message__RequestMediaUploadMessage init_value = WA__MESSAGE__REQUEST_MEDIA_UPLOAD_MESSAGE__INIT; + *message = init_value; +} +void wa__message__request_media_upload_response_message__request_media_upload_result__init + (Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult *message) +{ + static const Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult init_value = WA__MESSAGE__REQUEST_MEDIA_UPLOAD_RESPONSE_MESSAGE__REQUEST_MEDIA_UPLOAD_RESULT__INIT; + *message = init_value; +} +void wa__message__request_media_upload_response_message__init + (Wa__Message__RequestMediaUploadResponseMessage *message) +{ + static const Wa__Message__RequestMediaUploadResponseMessage init_value = WA__MESSAGE__REQUEST_MEDIA_UPLOAD_RESPONSE_MESSAGE__INIT; + *message = init_value; +} +void wa__message__request_payment_message__init + (Wa__Message__RequestPaymentMessage *message) +{ + static const Wa__Message__RequestPaymentMessage init_value = WA__MESSAGE__REQUEST_PAYMENT_MESSAGE__INIT; + *message = init_value; +} +void wa__message__request_phone_number_message__init + (Wa__Message__RequestPhoneNumberMessage *message) +{ + static const Wa__Message__RequestPhoneNumberMessage init_value = WA__MESSAGE__REQUEST_PHONE_NUMBER_MESSAGE__INIT; + *message = init_value; +} +void wa__message__send_payment_message__init + (Wa__Message__SendPaymentMessage *message) +{ + static const Wa__Message__SendPaymentMessage init_value = WA__MESSAGE__SEND_PAYMENT_MESSAGE__INIT; + *message = init_value; +} +void wa__message__sender_key_distribution_message__init + (Wa__Message__SenderKeyDistributionMessage *message) +{ + static const Wa__Message__SenderKeyDistributionMessage init_value = WA__MESSAGE__SENDER_KEY_DISTRIBUTION_MESSAGE__INIT; + *message = init_value; +} +void wa__message__sticker_message__init + (Wa__Message__StickerMessage *message) +{ + static const Wa__Message__StickerMessage init_value = WA__MESSAGE__STICKER_MESSAGE__INIT; + *message = init_value; +} +void wa__message__sticker_sync_rmrmessage__init + (Wa__Message__StickerSyncRMRMessage *message) +{ + static const Wa__Message__StickerSyncRMRMessage init_value = WA__MESSAGE__STICKER_SYNC_RMRMESSAGE__INIT; + *message = init_value; +} +void wa__message__template_button_reply_message__init + (Wa__Message__TemplateButtonReplyMessage *message) +{ + static const Wa__Message__TemplateButtonReplyMessage init_value = WA__MESSAGE__TEMPLATE_BUTTON_REPLY_MESSAGE__INIT; + *message = init_value; +} +void wa__message__template_message__four_row_template__init + (Wa__Message__TemplateMessage__FourRowTemplate *message) +{ + static const Wa__Message__TemplateMessage__FourRowTemplate init_value = WA__MESSAGE__TEMPLATE_MESSAGE__FOUR_ROW_TEMPLATE__INIT; + *message = init_value; +} +void wa__message__template_message__hydrated_four_row_template__init + (Wa__Message__TemplateMessage__HydratedFourRowTemplate *message) +{ + static const Wa__Message__TemplateMessage__HydratedFourRowTemplate init_value = WA__MESSAGE__TEMPLATE_MESSAGE__HYDRATED_FOUR_ROW_TEMPLATE__INIT; + *message = init_value; +} +void wa__message__template_message__init + (Wa__Message__TemplateMessage *message) +{ + static const Wa__Message__TemplateMessage init_value = WA__MESSAGE__TEMPLATE_MESSAGE__INIT; + *message = init_value; +} +void wa__message__video_message__init + (Wa__Message__VideoMessage *message) +{ + static const Wa__Message__VideoMessage init_value = WA__MESSAGE__VIDEO_MESSAGE__INIT; + *message = init_value; +} +void wa__message__init + (Wa__Message *message) +{ + static const Wa__Message init_value = WA__MESSAGE__INIT; + *message = init_value; +} +size_t wa__message__get_packed_size + (const Wa__Message *message) +{ + assert(message->descriptor == &wa__message__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__message__pack + (const Wa__Message *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__message__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__message__pack_to_buffer + (const Wa__Message *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__message__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__Message * + wa__message__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__Message *) + protobuf_c_message_unpack (&wa__message__descriptor, + allocator, len, data); +} +void wa__message__free_unpacked + (Wa__Message *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__message__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__message_context_info__init + (Wa__MessageContextInfo *message) +{ + static const Wa__MessageContextInfo init_value = WA__MESSAGE_CONTEXT_INFO__INIT; + *message = init_value; +} +size_t wa__message_context_info__get_packed_size + (const Wa__MessageContextInfo *message) +{ + assert(message->descriptor == &wa__message_context_info__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__message_context_info__pack + (const Wa__MessageContextInfo *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__message_context_info__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__message_context_info__pack_to_buffer + (const Wa__MessageContextInfo *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__message_context_info__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__MessageContextInfo * + wa__message_context_info__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__MessageContextInfo *) + protobuf_c_message_unpack (&wa__message_context_info__descriptor, + allocator, len, data); +} +void wa__message_context_info__free_unpacked + (Wa__MessageContextInfo *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__message_context_info__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__message_key__init + (Wa__MessageKey *message) +{ + static const Wa__MessageKey init_value = WA__MESSAGE_KEY__INIT; + *message = init_value; +} +size_t wa__message_key__get_packed_size + (const Wa__MessageKey *message) +{ + assert(message->descriptor == &wa__message_key__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__message_key__pack + (const Wa__MessageKey *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__message_key__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__message_key__pack_to_buffer + (const Wa__MessageKey *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__message_key__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__MessageKey * + wa__message_key__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__MessageKey *) + protobuf_c_message_unpack (&wa__message_key__descriptor, + allocator, len, data); +} +void wa__message_key__free_unpacked + (Wa__MessageKey *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__message_key__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__money__init + (Wa__Money *message) +{ + static const Wa__Money init_value = WA__MONEY__INIT; + *message = init_value; +} +size_t wa__money__get_packed_size + (const Wa__Money *message) +{ + assert(message->descriptor == &wa__money__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__money__pack + (const Wa__Money *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__money__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__money__pack_to_buffer + (const Wa__Money *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__money__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__Money * + wa__money__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__Money *) + protobuf_c_message_unpack (&wa__money__descriptor, + allocator, len, data); +} +void wa__money__free_unpacked + (Wa__Money *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__money__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__msg_opaque_data__poll_option__init + (Wa__MsgOpaqueData__PollOption *message) +{ + static const Wa__MsgOpaqueData__PollOption init_value = WA__MSG_OPAQUE_DATA__POLL_OPTION__INIT; + *message = init_value; +} +void wa__msg_opaque_data__init + (Wa__MsgOpaqueData *message) +{ + static const Wa__MsgOpaqueData init_value = WA__MSG_OPAQUE_DATA__INIT; + *message = init_value; +} +size_t wa__msg_opaque_data__get_packed_size + (const Wa__MsgOpaqueData *message) +{ + assert(message->descriptor == &wa__msg_opaque_data__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__msg_opaque_data__pack + (const Wa__MsgOpaqueData *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__msg_opaque_data__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__msg_opaque_data__pack_to_buffer + (const Wa__MsgOpaqueData *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__msg_opaque_data__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__MsgOpaqueData * + wa__msg_opaque_data__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__MsgOpaqueData *) + protobuf_c_message_unpack (&wa__msg_opaque_data__descriptor, + allocator, len, data); +} +void wa__msg_opaque_data__free_unpacked + (Wa__MsgOpaqueData *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__msg_opaque_data__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__msg_row_opaque_data__init + (Wa__MsgRowOpaqueData *message) +{ + static const Wa__MsgRowOpaqueData init_value = WA__MSG_ROW_OPAQUE_DATA__INIT; + *message = init_value; +} +size_t wa__msg_row_opaque_data__get_packed_size + (const Wa__MsgRowOpaqueData *message) +{ + assert(message->descriptor == &wa__msg_row_opaque_data__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__msg_row_opaque_data__pack + (const Wa__MsgRowOpaqueData *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__msg_row_opaque_data__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__msg_row_opaque_data__pack_to_buffer + (const Wa__MsgRowOpaqueData *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__msg_row_opaque_data__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__MsgRowOpaqueData * + wa__msg_row_opaque_data__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__MsgRowOpaqueData *) + protobuf_c_message_unpack (&wa__msg_row_opaque_data__descriptor, + allocator, len, data); +} +void wa__msg_row_opaque_data__free_unpacked + (Wa__MsgRowOpaqueData *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__msg_row_opaque_data__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__noise_certificate__details__init + (Wa__NoiseCertificate__Details *message) +{ + static const Wa__NoiseCertificate__Details init_value = WA__NOISE_CERTIFICATE__DETAILS__INIT; + *message = init_value; +} +void wa__noise_certificate__init + (Wa__NoiseCertificate *message) +{ + static const Wa__NoiseCertificate init_value = WA__NOISE_CERTIFICATE__INIT; + *message = init_value; +} +size_t wa__noise_certificate__get_packed_size + (const Wa__NoiseCertificate *message) +{ + assert(message->descriptor == &wa__noise_certificate__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__noise_certificate__pack + (const Wa__NoiseCertificate *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__noise_certificate__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__noise_certificate__pack_to_buffer + (const Wa__NoiseCertificate *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__noise_certificate__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__NoiseCertificate * + wa__noise_certificate__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__NoiseCertificate *) + protobuf_c_message_unpack (&wa__noise_certificate__descriptor, + allocator, len, data); +} +void wa__noise_certificate__free_unpacked + (Wa__NoiseCertificate *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__noise_certificate__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__notification_message_info__init + (Wa__NotificationMessageInfo *message) +{ + static const Wa__NotificationMessageInfo init_value = WA__NOTIFICATION_MESSAGE_INFO__INIT; + *message = init_value; +} +size_t wa__notification_message_info__get_packed_size + (const Wa__NotificationMessageInfo *message) +{ + assert(message->descriptor == &wa__notification_message_info__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__notification_message_info__pack + (const Wa__NotificationMessageInfo *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__notification_message_info__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__notification_message_info__pack_to_buffer + (const Wa__NotificationMessageInfo *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__notification_message_info__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__NotificationMessageInfo * + wa__notification_message_info__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__NotificationMessageInfo *) + protobuf_c_message_unpack (&wa__notification_message_info__descriptor, + allocator, len, data); +} +void wa__notification_message_info__free_unpacked + (Wa__NotificationMessageInfo *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__notification_message_info__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__past_participant__init + (Wa__PastParticipant *message) +{ + static const Wa__PastParticipant init_value = WA__PAST_PARTICIPANT__INIT; + *message = init_value; +} +size_t wa__past_participant__get_packed_size + (const Wa__PastParticipant *message) +{ + assert(message->descriptor == &wa__past_participant__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__past_participant__pack + (const Wa__PastParticipant *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__past_participant__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__past_participant__pack_to_buffer + (const Wa__PastParticipant *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__past_participant__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__PastParticipant * + wa__past_participant__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__PastParticipant *) + protobuf_c_message_unpack (&wa__past_participant__descriptor, + allocator, len, data); +} +void wa__past_participant__free_unpacked + (Wa__PastParticipant *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__past_participant__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__past_participants__init + (Wa__PastParticipants *message) +{ + static const Wa__PastParticipants init_value = WA__PAST_PARTICIPANTS__INIT; + *message = init_value; +} +size_t wa__past_participants__get_packed_size + (const Wa__PastParticipants *message) +{ + assert(message->descriptor == &wa__past_participants__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__past_participants__pack + (const Wa__PastParticipants *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__past_participants__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__past_participants__pack_to_buffer + (const Wa__PastParticipants *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__past_participants__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__PastParticipants * + wa__past_participants__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__PastParticipants *) + protobuf_c_message_unpack (&wa__past_participants__descriptor, + allocator, len, data); +} +void wa__past_participants__free_unpacked + (Wa__PastParticipants *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__past_participants__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__payment_background__media_data__init + (Wa__PaymentBackground__MediaData *message) +{ + static const Wa__PaymentBackground__MediaData init_value = WA__PAYMENT_BACKGROUND__MEDIA_DATA__INIT; + *message = init_value; +} +void wa__payment_background__init + (Wa__PaymentBackground *message) +{ + static const Wa__PaymentBackground init_value = WA__PAYMENT_BACKGROUND__INIT; + *message = init_value; +} +size_t wa__payment_background__get_packed_size + (const Wa__PaymentBackground *message) +{ + assert(message->descriptor == &wa__payment_background__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__payment_background__pack + (const Wa__PaymentBackground *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__payment_background__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__payment_background__pack_to_buffer + (const Wa__PaymentBackground *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__payment_background__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__PaymentBackground * + wa__payment_background__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__PaymentBackground *) + protobuf_c_message_unpack (&wa__payment_background__descriptor, + allocator, len, data); +} +void wa__payment_background__free_unpacked + (Wa__PaymentBackground *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__payment_background__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__payment_info__init + (Wa__PaymentInfo *message) +{ + static const Wa__PaymentInfo init_value = WA__PAYMENT_INFO__INIT; + *message = init_value; +} +size_t wa__payment_info__get_packed_size + (const Wa__PaymentInfo *message) +{ + assert(message->descriptor == &wa__payment_info__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__payment_info__pack + (const Wa__PaymentInfo *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__payment_info__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__payment_info__pack_to_buffer + (const Wa__PaymentInfo *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__payment_info__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__PaymentInfo * + wa__payment_info__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__PaymentInfo *) + protobuf_c_message_unpack (&wa__payment_info__descriptor, + allocator, len, data); +} +void wa__payment_info__free_unpacked + (Wa__PaymentInfo *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__payment_info__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__pending_key_exchange__init + (Wa__PendingKeyExchange *message) +{ + static const Wa__PendingKeyExchange init_value = WA__PENDING_KEY_EXCHANGE__INIT; + *message = init_value; +} +size_t wa__pending_key_exchange__get_packed_size + (const Wa__PendingKeyExchange *message) +{ + assert(message->descriptor == &wa__pending_key_exchange__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__pending_key_exchange__pack + (const Wa__PendingKeyExchange *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__pending_key_exchange__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__pending_key_exchange__pack_to_buffer + (const Wa__PendingKeyExchange *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__pending_key_exchange__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__PendingKeyExchange * + wa__pending_key_exchange__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__PendingKeyExchange *) + protobuf_c_message_unpack (&wa__pending_key_exchange__descriptor, + allocator, len, data); +} +void wa__pending_key_exchange__free_unpacked + (Wa__PendingKeyExchange *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__pending_key_exchange__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__pending_pre_key__init + (Wa__PendingPreKey *message) +{ + static const Wa__PendingPreKey init_value = WA__PENDING_PRE_KEY__INIT; + *message = init_value; +} +size_t wa__pending_pre_key__get_packed_size + (const Wa__PendingPreKey *message) +{ + assert(message->descriptor == &wa__pending_pre_key__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__pending_pre_key__pack + (const Wa__PendingPreKey *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__pending_pre_key__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__pending_pre_key__pack_to_buffer + (const Wa__PendingPreKey *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__pending_pre_key__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__PendingPreKey * + wa__pending_pre_key__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__PendingPreKey *) + protobuf_c_message_unpack (&wa__pending_pre_key__descriptor, + allocator, len, data); +} +void wa__pending_pre_key__free_unpacked + (Wa__PendingPreKey *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__pending_pre_key__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__photo_change__init + (Wa__PhotoChange *message) +{ + static const Wa__PhotoChange init_value = WA__PHOTO_CHANGE__INIT; + *message = init_value; +} +size_t wa__photo_change__get_packed_size + (const Wa__PhotoChange *message) +{ + assert(message->descriptor == &wa__photo_change__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__photo_change__pack + (const Wa__PhotoChange *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__photo_change__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__photo_change__pack_to_buffer + (const Wa__PhotoChange *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__photo_change__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__PhotoChange * + wa__photo_change__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__PhotoChange *) + protobuf_c_message_unpack (&wa__photo_change__descriptor, + allocator, len, data); +} +void wa__photo_change__free_unpacked + (Wa__PhotoChange *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__photo_change__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__point__init + (Wa__Point *message) +{ + static const Wa__Point init_value = WA__POINT__INIT; + *message = init_value; +} +size_t wa__point__get_packed_size + (const Wa__Point *message) +{ + assert(message->descriptor == &wa__point__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__point__pack + (const Wa__Point *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__point__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__point__pack_to_buffer + (const Wa__Point *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__point__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__Point * + wa__point__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__Point *) + protobuf_c_message_unpack (&wa__point__descriptor, + allocator, len, data); +} +void wa__point__free_unpacked + (Wa__Point *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__point__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__poll_additional_metadata__init + (Wa__PollAdditionalMetadata *message) +{ + static const Wa__PollAdditionalMetadata init_value = WA__POLL_ADDITIONAL_METADATA__INIT; + *message = init_value; +} +size_t wa__poll_additional_metadata__get_packed_size + (const Wa__PollAdditionalMetadata *message) +{ + assert(message->descriptor == &wa__poll_additional_metadata__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__poll_additional_metadata__pack + (const Wa__PollAdditionalMetadata *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__poll_additional_metadata__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__poll_additional_metadata__pack_to_buffer + (const Wa__PollAdditionalMetadata *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__poll_additional_metadata__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__PollAdditionalMetadata * + wa__poll_additional_metadata__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__PollAdditionalMetadata *) + protobuf_c_message_unpack (&wa__poll_additional_metadata__descriptor, + allocator, len, data); +} +void wa__poll_additional_metadata__free_unpacked + (Wa__PollAdditionalMetadata *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__poll_additional_metadata__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__poll_enc_value__init + (Wa__PollEncValue *message) +{ + static const Wa__PollEncValue init_value = WA__POLL_ENC_VALUE__INIT; + *message = init_value; +} +size_t wa__poll_enc_value__get_packed_size + (const Wa__PollEncValue *message) +{ + assert(message->descriptor == &wa__poll_enc_value__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__poll_enc_value__pack + (const Wa__PollEncValue *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__poll_enc_value__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__poll_enc_value__pack_to_buffer + (const Wa__PollEncValue *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__poll_enc_value__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__PollEncValue * + wa__poll_enc_value__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__PollEncValue *) + protobuf_c_message_unpack (&wa__poll_enc_value__descriptor, + allocator, len, data); +} +void wa__poll_enc_value__free_unpacked + (Wa__PollEncValue *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__poll_enc_value__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__poll_update__init + (Wa__PollUpdate *message) +{ + static const Wa__PollUpdate init_value = WA__POLL_UPDATE__INIT; + *message = init_value; +} +size_t wa__poll_update__get_packed_size + (const Wa__PollUpdate *message) +{ + assert(message->descriptor == &wa__poll_update__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__poll_update__pack + (const Wa__PollUpdate *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__poll_update__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__poll_update__pack_to_buffer + (const Wa__PollUpdate *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__poll_update__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__PollUpdate * + wa__poll_update__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__PollUpdate *) + protobuf_c_message_unpack (&wa__poll_update__descriptor, + allocator, len, data); +} +void wa__poll_update__free_unpacked + (Wa__PollUpdate *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__poll_update__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__pre_key_record_structure__init + (Wa__PreKeyRecordStructure *message) +{ + static const Wa__PreKeyRecordStructure init_value = WA__PRE_KEY_RECORD_STRUCTURE__INIT; + *message = init_value; +} +size_t wa__pre_key_record_structure__get_packed_size + (const Wa__PreKeyRecordStructure *message) +{ + assert(message->descriptor == &wa__pre_key_record_structure__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__pre_key_record_structure__pack + (const Wa__PreKeyRecordStructure *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__pre_key_record_structure__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__pre_key_record_structure__pack_to_buffer + (const Wa__PreKeyRecordStructure *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__pre_key_record_structure__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__PreKeyRecordStructure * + wa__pre_key_record_structure__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__PreKeyRecordStructure *) + protobuf_c_message_unpack (&wa__pre_key_record_structure__descriptor, + allocator, len, data); +} +void wa__pre_key_record_structure__free_unpacked + (Wa__PreKeyRecordStructure *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__pre_key_record_structure__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__pushname__init + (Wa__Pushname *message) +{ + static const Wa__Pushname init_value = WA__PUSHNAME__INIT; + *message = init_value; +} +size_t wa__pushname__get_packed_size + (const Wa__Pushname *message) +{ + assert(message->descriptor == &wa__pushname__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__pushname__pack + (const Wa__Pushname *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__pushname__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__pushname__pack_to_buffer + (const Wa__Pushname *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__pushname__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__Pushname * + wa__pushname__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__Pushname *) + protobuf_c_message_unpack (&wa__pushname__descriptor, + allocator, len, data); +} +void wa__pushname__free_unpacked + (Wa__Pushname *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__pushname__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__reaction__init + (Wa__Reaction *message) +{ + static const Wa__Reaction init_value = WA__REACTION__INIT; + *message = init_value; +} +size_t wa__reaction__get_packed_size + (const Wa__Reaction *message) +{ + assert(message->descriptor == &wa__reaction__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__reaction__pack + (const Wa__Reaction *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__reaction__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__reaction__pack_to_buffer + (const Wa__Reaction *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__reaction__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__Reaction * + wa__reaction__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__Reaction *) + protobuf_c_message_unpack (&wa__reaction__descriptor, + allocator, len, data); +} +void wa__reaction__free_unpacked + (Wa__Reaction *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__reaction__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__recent_emoji_weight__init + (Wa__RecentEmojiWeight *message) +{ + static const Wa__RecentEmojiWeight init_value = WA__RECENT_EMOJI_WEIGHT__INIT; + *message = init_value; +} +size_t wa__recent_emoji_weight__get_packed_size + (const Wa__RecentEmojiWeight *message) +{ + assert(message->descriptor == &wa__recent_emoji_weight__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__recent_emoji_weight__pack + (const Wa__RecentEmojiWeight *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__recent_emoji_weight__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__recent_emoji_weight__pack_to_buffer + (const Wa__RecentEmojiWeight *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__recent_emoji_weight__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__RecentEmojiWeight * + wa__recent_emoji_weight__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__RecentEmojiWeight *) + protobuf_c_message_unpack (&wa__recent_emoji_weight__descriptor, + allocator, len, data); +} +void wa__recent_emoji_weight__free_unpacked + (Wa__RecentEmojiWeight *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__recent_emoji_weight__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__record_structure__init + (Wa__RecordStructure *message) +{ + static const Wa__RecordStructure init_value = WA__RECORD_STRUCTURE__INIT; + *message = init_value; +} +size_t wa__record_structure__get_packed_size + (const Wa__RecordStructure *message) +{ + assert(message->descriptor == &wa__record_structure__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__record_structure__pack + (const Wa__RecordStructure *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__record_structure__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__record_structure__pack_to_buffer + (const Wa__RecordStructure *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__record_structure__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__RecordStructure * + wa__record_structure__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__RecordStructure *) + protobuf_c_message_unpack (&wa__record_structure__descriptor, + allocator, len, data); +} +void wa__record_structure__free_unpacked + (Wa__RecordStructure *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__record_structure__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__sender_chain_key__init + (Wa__SenderChainKey *message) +{ + static const Wa__SenderChainKey init_value = WA__SENDER_CHAIN_KEY__INIT; + *message = init_value; +} +size_t wa__sender_chain_key__get_packed_size + (const Wa__SenderChainKey *message) +{ + assert(message->descriptor == &wa__sender_chain_key__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__sender_chain_key__pack + (const Wa__SenderChainKey *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__sender_chain_key__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__sender_chain_key__pack_to_buffer + (const Wa__SenderChainKey *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__sender_chain_key__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__SenderChainKey * + wa__sender_chain_key__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__SenderChainKey *) + protobuf_c_message_unpack (&wa__sender_chain_key__descriptor, + allocator, len, data); +} +void wa__sender_chain_key__free_unpacked + (Wa__SenderChainKey *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__sender_chain_key__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__sender_key_record_structure__init + (Wa__SenderKeyRecordStructure *message) +{ + static const Wa__SenderKeyRecordStructure init_value = WA__SENDER_KEY_RECORD_STRUCTURE__INIT; + *message = init_value; +} +size_t wa__sender_key_record_structure__get_packed_size + (const Wa__SenderKeyRecordStructure *message) +{ + assert(message->descriptor == &wa__sender_key_record_structure__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__sender_key_record_structure__pack + (const Wa__SenderKeyRecordStructure *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__sender_key_record_structure__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__sender_key_record_structure__pack_to_buffer + (const Wa__SenderKeyRecordStructure *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__sender_key_record_structure__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__SenderKeyRecordStructure * + wa__sender_key_record_structure__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__SenderKeyRecordStructure *) + protobuf_c_message_unpack (&wa__sender_key_record_structure__descriptor, + allocator, len, data); +} +void wa__sender_key_record_structure__free_unpacked + (Wa__SenderKeyRecordStructure *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__sender_key_record_structure__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__sender_key_state_structure__init + (Wa__SenderKeyStateStructure *message) +{ + static const Wa__SenderKeyStateStructure init_value = WA__SENDER_KEY_STATE_STRUCTURE__INIT; + *message = init_value; +} +size_t wa__sender_key_state_structure__get_packed_size + (const Wa__SenderKeyStateStructure *message) +{ + assert(message->descriptor == &wa__sender_key_state_structure__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__sender_key_state_structure__pack + (const Wa__SenderKeyStateStructure *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__sender_key_state_structure__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__sender_key_state_structure__pack_to_buffer + (const Wa__SenderKeyStateStructure *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__sender_key_state_structure__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__SenderKeyStateStructure * + wa__sender_key_state_structure__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__SenderKeyStateStructure *) + protobuf_c_message_unpack (&wa__sender_key_state_structure__descriptor, + allocator, len, data); +} +void wa__sender_key_state_structure__free_unpacked + (Wa__SenderKeyStateStructure *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__sender_key_state_structure__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__sender_message_key__init + (Wa__SenderMessageKey *message) +{ + static const Wa__SenderMessageKey init_value = WA__SENDER_MESSAGE_KEY__INIT; + *message = init_value; +} +size_t wa__sender_message_key__get_packed_size + (const Wa__SenderMessageKey *message) +{ + assert(message->descriptor == &wa__sender_message_key__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__sender_message_key__pack + (const Wa__SenderMessageKey *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__sender_message_key__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__sender_message_key__pack_to_buffer + (const Wa__SenderMessageKey *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__sender_message_key__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__SenderMessageKey * + wa__sender_message_key__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__SenderMessageKey *) + protobuf_c_message_unpack (&wa__sender_message_key__descriptor, + allocator, len, data); +} +void wa__sender_message_key__free_unpacked + (Wa__SenderMessageKey *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__sender_message_key__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__sender_signing_key__init + (Wa__SenderSigningKey *message) +{ + static const Wa__SenderSigningKey init_value = WA__SENDER_SIGNING_KEY__INIT; + *message = init_value; +} +size_t wa__sender_signing_key__get_packed_size + (const Wa__SenderSigningKey *message) +{ + assert(message->descriptor == &wa__sender_signing_key__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__sender_signing_key__pack + (const Wa__SenderSigningKey *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__sender_signing_key__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__sender_signing_key__pack_to_buffer + (const Wa__SenderSigningKey *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__sender_signing_key__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__SenderSigningKey * + wa__sender_signing_key__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__SenderSigningKey *) + protobuf_c_message_unpack (&wa__sender_signing_key__descriptor, + allocator, len, data); +} +void wa__sender_signing_key__free_unpacked + (Wa__SenderSigningKey *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__sender_signing_key__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__server_error_receipt__init + (Wa__ServerErrorReceipt *message) +{ + static const Wa__ServerErrorReceipt init_value = WA__SERVER_ERROR_RECEIPT__INIT; + *message = init_value; +} +size_t wa__server_error_receipt__get_packed_size + (const Wa__ServerErrorReceipt *message) +{ + assert(message->descriptor == &wa__server_error_receipt__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__server_error_receipt__pack + (const Wa__ServerErrorReceipt *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__server_error_receipt__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__server_error_receipt__pack_to_buffer + (const Wa__ServerErrorReceipt *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__server_error_receipt__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__ServerErrorReceipt * + wa__server_error_receipt__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__ServerErrorReceipt *) + protobuf_c_message_unpack (&wa__server_error_receipt__descriptor, + allocator, len, data); +} +void wa__server_error_receipt__free_unpacked + (Wa__ServerErrorReceipt *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__server_error_receipt__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__session_structure__init + (Wa__SessionStructure *message) +{ + static const Wa__SessionStructure init_value = WA__SESSION_STRUCTURE__INIT; + *message = init_value; +} +size_t wa__session_structure__get_packed_size + (const Wa__SessionStructure *message) +{ + assert(message->descriptor == &wa__session_structure__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__session_structure__pack + (const Wa__SessionStructure *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__session_structure__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__session_structure__pack_to_buffer + (const Wa__SessionStructure *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__session_structure__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__SessionStructure * + wa__session_structure__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__SessionStructure *) + protobuf_c_message_unpack (&wa__session_structure__descriptor, + allocator, len, data); +} +void wa__session_structure__free_unpacked + (Wa__SessionStructure *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__session_structure__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__signed_pre_key_record_structure__init + (Wa__SignedPreKeyRecordStructure *message) +{ + static const Wa__SignedPreKeyRecordStructure init_value = WA__SIGNED_PRE_KEY_RECORD_STRUCTURE__INIT; + *message = init_value; +} +size_t wa__signed_pre_key_record_structure__get_packed_size + (const Wa__SignedPreKeyRecordStructure *message) +{ + assert(message->descriptor == &wa__signed_pre_key_record_structure__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__signed_pre_key_record_structure__pack + (const Wa__SignedPreKeyRecordStructure *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__signed_pre_key_record_structure__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__signed_pre_key_record_structure__pack_to_buffer + (const Wa__SignedPreKeyRecordStructure *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__signed_pre_key_record_structure__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__SignedPreKeyRecordStructure * + wa__signed_pre_key_record_structure__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__SignedPreKeyRecordStructure *) + protobuf_c_message_unpack (&wa__signed_pre_key_record_structure__descriptor, + allocator, len, data); +} +void wa__signed_pre_key_record_structure__free_unpacked + (Wa__SignedPreKeyRecordStructure *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__signed_pre_key_record_structure__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__status_psa__init + (Wa__StatusPSA *message) +{ + static const Wa__StatusPSA init_value = WA__STATUS_PSA__INIT; + *message = init_value; +} +size_t wa__status_psa__get_packed_size + (const Wa__StatusPSA *message) +{ + assert(message->descriptor == &wa__status_psa__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__status_psa__pack + (const Wa__StatusPSA *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__status_psa__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__status_psa__pack_to_buffer + (const Wa__StatusPSA *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__status_psa__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__StatusPSA * + wa__status_psa__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__StatusPSA *) + protobuf_c_message_unpack (&wa__status_psa__descriptor, + allocator, len, data); +} +void wa__status_psa__free_unpacked + (Wa__StatusPSA *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__status_psa__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__sticker_metadata__init + (Wa__StickerMetadata *message) +{ + static const Wa__StickerMetadata init_value = WA__STICKER_METADATA__INIT; + *message = init_value; +} +size_t wa__sticker_metadata__get_packed_size + (const Wa__StickerMetadata *message) +{ + assert(message->descriptor == &wa__sticker_metadata__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__sticker_metadata__pack + (const Wa__StickerMetadata *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__sticker_metadata__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__sticker_metadata__pack_to_buffer + (const Wa__StickerMetadata *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__sticker_metadata__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__StickerMetadata * + wa__sticker_metadata__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__StickerMetadata *) + protobuf_c_message_unpack (&wa__sticker_metadata__descriptor, + allocator, len, data); +} +void wa__sticker_metadata__free_unpacked + (Wa__StickerMetadata *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__sticker_metadata__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__sync_action_data__init + (Wa__SyncActionData *message) +{ + static const Wa__SyncActionData init_value = WA__SYNC_ACTION_DATA__INIT; + *message = init_value; +} +size_t wa__sync_action_data__get_packed_size + (const Wa__SyncActionData *message) +{ + assert(message->descriptor == &wa__sync_action_data__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__sync_action_data__pack + (const Wa__SyncActionData *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__sync_action_data__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__sync_action_data__pack_to_buffer + (const Wa__SyncActionData *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__sync_action_data__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__SyncActionData * + wa__sync_action_data__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__SyncActionData *) + protobuf_c_message_unpack (&wa__sync_action_data__descriptor, + allocator, len, data); +} +void wa__sync_action_data__free_unpacked + (Wa__SyncActionData *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__sync_action_data__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__sync_action_value__agent_action__init + (Wa__SyncActionValue__AgentAction *message) +{ + static const Wa__SyncActionValue__AgentAction init_value = WA__SYNC_ACTION_VALUE__AGENT_ACTION__INIT; + *message = init_value; +} +void wa__sync_action_value__android_unsupported_actions__init + (Wa__SyncActionValue__AndroidUnsupportedActions *message) +{ + static const Wa__SyncActionValue__AndroidUnsupportedActions init_value = WA__SYNC_ACTION_VALUE__ANDROID_UNSUPPORTED_ACTIONS__INIT; + *message = init_value; +} +void wa__sync_action_value__archive_chat_action__init + (Wa__SyncActionValue__ArchiveChatAction *message) +{ + static const Wa__SyncActionValue__ArchiveChatAction init_value = WA__SYNC_ACTION_VALUE__ARCHIVE_CHAT_ACTION__INIT; + *message = init_value; +} +void wa__sync_action_value__clear_chat_action__init + (Wa__SyncActionValue__ClearChatAction *message) +{ + static const Wa__SyncActionValue__ClearChatAction init_value = WA__SYNC_ACTION_VALUE__CLEAR_CHAT_ACTION__INIT; + *message = init_value; +} +void wa__sync_action_value__contact_action__init + (Wa__SyncActionValue__ContactAction *message) +{ + static const Wa__SyncActionValue__ContactAction init_value = WA__SYNC_ACTION_VALUE__CONTACT_ACTION__INIT; + *message = init_value; +} +void wa__sync_action_value__delete_chat_action__init + (Wa__SyncActionValue__DeleteChatAction *message) +{ + static const Wa__SyncActionValue__DeleteChatAction init_value = WA__SYNC_ACTION_VALUE__DELETE_CHAT_ACTION__INIT; + *message = init_value; +} +void wa__sync_action_value__delete_message_for_me_action__init + (Wa__SyncActionValue__DeleteMessageForMeAction *message) +{ + static const Wa__SyncActionValue__DeleteMessageForMeAction init_value = WA__SYNC_ACTION_VALUE__DELETE_MESSAGE_FOR_ME_ACTION__INIT; + *message = init_value; +} +void wa__sync_action_value__key_expiration__init + (Wa__SyncActionValue__KeyExpiration *message) +{ + static const Wa__SyncActionValue__KeyExpiration init_value = WA__SYNC_ACTION_VALUE__KEY_EXPIRATION__INIT; + *message = init_value; +} +void wa__sync_action_value__label_association_action__init + (Wa__SyncActionValue__LabelAssociationAction *message) +{ + static const Wa__SyncActionValue__LabelAssociationAction init_value = WA__SYNC_ACTION_VALUE__LABEL_ASSOCIATION_ACTION__INIT; + *message = init_value; +} +void wa__sync_action_value__label_edit_action__init + (Wa__SyncActionValue__LabelEditAction *message) +{ + static const Wa__SyncActionValue__LabelEditAction init_value = WA__SYNC_ACTION_VALUE__LABEL_EDIT_ACTION__INIT; + *message = init_value; +} +void wa__sync_action_value__locale_setting__init + (Wa__SyncActionValue__LocaleSetting *message) +{ + static const Wa__SyncActionValue__LocaleSetting init_value = WA__SYNC_ACTION_VALUE__LOCALE_SETTING__INIT; + *message = init_value; +} +void wa__sync_action_value__mark_chat_as_read_action__init + (Wa__SyncActionValue__MarkChatAsReadAction *message) +{ + static const Wa__SyncActionValue__MarkChatAsReadAction init_value = WA__SYNC_ACTION_VALUE__MARK_CHAT_AS_READ_ACTION__INIT; + *message = init_value; +} +void wa__sync_action_value__mute_action__init + (Wa__SyncActionValue__MuteAction *message) +{ + static const Wa__SyncActionValue__MuteAction init_value = WA__SYNC_ACTION_VALUE__MUTE_ACTION__INIT; + *message = init_value; +} +void wa__sync_action_value__nux_action__init + (Wa__SyncActionValue__NuxAction *message) +{ + static const Wa__SyncActionValue__NuxAction init_value = WA__SYNC_ACTION_VALUE__NUX_ACTION__INIT; + *message = init_value; +} +void wa__sync_action_value__pin_action__init + (Wa__SyncActionValue__PinAction *message) +{ + static const Wa__SyncActionValue__PinAction init_value = WA__SYNC_ACTION_VALUE__PIN_ACTION__INIT; + *message = init_value; +} +void wa__sync_action_value__primary_feature__init + (Wa__SyncActionValue__PrimaryFeature *message) +{ + static const Wa__SyncActionValue__PrimaryFeature init_value = WA__SYNC_ACTION_VALUE__PRIMARY_FEATURE__INIT; + *message = init_value; +} +void wa__sync_action_value__primary_version_action__init + (Wa__SyncActionValue__PrimaryVersionAction *message) +{ + static const Wa__SyncActionValue__PrimaryVersionAction init_value = WA__SYNC_ACTION_VALUE__PRIMARY_VERSION_ACTION__INIT; + *message = init_value; +} +void wa__sync_action_value__push_name_setting__init + (Wa__SyncActionValue__PushNameSetting *message) +{ + static const Wa__SyncActionValue__PushNameSetting init_value = WA__SYNC_ACTION_VALUE__PUSH_NAME_SETTING__INIT; + *message = init_value; +} +void wa__sync_action_value__quick_reply_action__init + (Wa__SyncActionValue__QuickReplyAction *message) +{ + static const Wa__SyncActionValue__QuickReplyAction init_value = WA__SYNC_ACTION_VALUE__QUICK_REPLY_ACTION__INIT; + *message = init_value; +} +void wa__sync_action_value__recent_emoji_weights_action__init + (Wa__SyncActionValue__RecentEmojiWeightsAction *message) +{ + static const Wa__SyncActionValue__RecentEmojiWeightsAction init_value = WA__SYNC_ACTION_VALUE__RECENT_EMOJI_WEIGHTS_ACTION__INIT; + *message = init_value; +} +void wa__sync_action_value__security_notification_setting__init + (Wa__SyncActionValue__SecurityNotificationSetting *message) +{ + static const Wa__SyncActionValue__SecurityNotificationSetting init_value = WA__SYNC_ACTION_VALUE__SECURITY_NOTIFICATION_SETTING__INIT; + *message = init_value; +} +void wa__sync_action_value__star_action__init + (Wa__SyncActionValue__StarAction *message) +{ + static const Wa__SyncActionValue__StarAction init_value = WA__SYNC_ACTION_VALUE__STAR_ACTION__INIT; + *message = init_value; +} +void wa__sync_action_value__sticker_action__init + (Wa__SyncActionValue__StickerAction *message) +{ + static const Wa__SyncActionValue__StickerAction init_value = WA__SYNC_ACTION_VALUE__STICKER_ACTION__INIT; + *message = init_value; +} +void wa__sync_action_value__subscription_action__init + (Wa__SyncActionValue__SubscriptionAction *message) +{ + static const Wa__SyncActionValue__SubscriptionAction init_value = WA__SYNC_ACTION_VALUE__SUBSCRIPTION_ACTION__INIT; + *message = init_value; +} +void wa__sync_action_value__sync_action_message_range__init + (Wa__SyncActionValue__SyncActionMessageRange *message) +{ + static const Wa__SyncActionValue__SyncActionMessageRange init_value = WA__SYNC_ACTION_VALUE__SYNC_ACTION_MESSAGE_RANGE__INIT; + *message = init_value; +} +void wa__sync_action_value__sync_action_message__init + (Wa__SyncActionValue__SyncActionMessage *message) +{ + static const Wa__SyncActionValue__SyncActionMessage init_value = WA__SYNC_ACTION_VALUE__SYNC_ACTION_MESSAGE__INIT; + *message = init_value; +} +void wa__sync_action_value__time_format_action__init + (Wa__SyncActionValue__TimeFormatAction *message) +{ + static const Wa__SyncActionValue__TimeFormatAction init_value = WA__SYNC_ACTION_VALUE__TIME_FORMAT_ACTION__INIT; + *message = init_value; +} +void wa__sync_action_value__unarchive_chats_setting__init + (Wa__SyncActionValue__UnarchiveChatsSetting *message) +{ + static const Wa__SyncActionValue__UnarchiveChatsSetting init_value = WA__SYNC_ACTION_VALUE__UNARCHIVE_CHATS_SETTING__INIT; + *message = init_value; +} +void wa__sync_action_value__user_status_mute_action__init + (Wa__SyncActionValue__UserStatusMuteAction *message) +{ + static const Wa__SyncActionValue__UserStatusMuteAction init_value = WA__SYNC_ACTION_VALUE__USER_STATUS_MUTE_ACTION__INIT; + *message = init_value; +} +void wa__sync_action_value__init + (Wa__SyncActionValue *message) +{ + static const Wa__SyncActionValue init_value = WA__SYNC_ACTION_VALUE__INIT; + *message = init_value; +} +size_t wa__sync_action_value__get_packed_size + (const Wa__SyncActionValue *message) +{ + assert(message->descriptor == &wa__sync_action_value__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__sync_action_value__pack + (const Wa__SyncActionValue *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__sync_action_value__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__sync_action_value__pack_to_buffer + (const Wa__SyncActionValue *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__sync_action_value__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__SyncActionValue * + wa__sync_action_value__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__SyncActionValue *) + protobuf_c_message_unpack (&wa__sync_action_value__descriptor, + allocator, len, data); +} +void wa__sync_action_value__free_unpacked + (Wa__SyncActionValue *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__sync_action_value__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__syncd_index__init + (Wa__SyncdIndex *message) +{ + static const Wa__SyncdIndex init_value = WA__SYNCD_INDEX__INIT; + *message = init_value; +} +size_t wa__syncd_index__get_packed_size + (const Wa__SyncdIndex *message) +{ + assert(message->descriptor == &wa__syncd_index__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__syncd_index__pack + (const Wa__SyncdIndex *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__syncd_index__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__syncd_index__pack_to_buffer + (const Wa__SyncdIndex *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__syncd_index__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__SyncdIndex * + wa__syncd_index__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__SyncdIndex *) + protobuf_c_message_unpack (&wa__syncd_index__descriptor, + allocator, len, data); +} +void wa__syncd_index__free_unpacked + (Wa__SyncdIndex *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__syncd_index__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__syncd_mutation__init + (Wa__SyncdMutation *message) +{ + static const Wa__SyncdMutation init_value = WA__SYNCD_MUTATION__INIT; + *message = init_value; +} +size_t wa__syncd_mutation__get_packed_size + (const Wa__SyncdMutation *message) +{ + assert(message->descriptor == &wa__syncd_mutation__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__syncd_mutation__pack + (const Wa__SyncdMutation *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__syncd_mutation__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__syncd_mutation__pack_to_buffer + (const Wa__SyncdMutation *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__syncd_mutation__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__SyncdMutation * + wa__syncd_mutation__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__SyncdMutation *) + protobuf_c_message_unpack (&wa__syncd_mutation__descriptor, + allocator, len, data); +} +void wa__syncd_mutation__free_unpacked + (Wa__SyncdMutation *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__syncd_mutation__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__syncd_mutations__init + (Wa__SyncdMutations *message) +{ + static const Wa__SyncdMutations init_value = WA__SYNCD_MUTATIONS__INIT; + *message = init_value; +} +size_t wa__syncd_mutations__get_packed_size + (const Wa__SyncdMutations *message) +{ + assert(message->descriptor == &wa__syncd_mutations__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__syncd_mutations__pack + (const Wa__SyncdMutations *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__syncd_mutations__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__syncd_mutations__pack_to_buffer + (const Wa__SyncdMutations *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__syncd_mutations__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__SyncdMutations * + wa__syncd_mutations__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__SyncdMutations *) + protobuf_c_message_unpack (&wa__syncd_mutations__descriptor, + allocator, len, data); +} +void wa__syncd_mutations__free_unpacked + (Wa__SyncdMutations *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__syncd_mutations__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__syncd_patch__init + (Wa__SyncdPatch *message) +{ + static const Wa__SyncdPatch init_value = WA__SYNCD_PATCH__INIT; + *message = init_value; +} +size_t wa__syncd_patch__get_packed_size + (const Wa__SyncdPatch *message) +{ + assert(message->descriptor == &wa__syncd_patch__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__syncd_patch__pack + (const Wa__SyncdPatch *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__syncd_patch__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__syncd_patch__pack_to_buffer + (const Wa__SyncdPatch *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__syncd_patch__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__SyncdPatch * + wa__syncd_patch__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__SyncdPatch *) + protobuf_c_message_unpack (&wa__syncd_patch__descriptor, + allocator, len, data); +} +void wa__syncd_patch__free_unpacked + (Wa__SyncdPatch *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__syncd_patch__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__syncd_record__init + (Wa__SyncdRecord *message) +{ + static const Wa__SyncdRecord init_value = WA__SYNCD_RECORD__INIT; + *message = init_value; +} +size_t wa__syncd_record__get_packed_size + (const Wa__SyncdRecord *message) +{ + assert(message->descriptor == &wa__syncd_record__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__syncd_record__pack + (const Wa__SyncdRecord *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__syncd_record__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__syncd_record__pack_to_buffer + (const Wa__SyncdRecord *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__syncd_record__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__SyncdRecord * + wa__syncd_record__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__SyncdRecord *) + protobuf_c_message_unpack (&wa__syncd_record__descriptor, + allocator, len, data); +} +void wa__syncd_record__free_unpacked + (Wa__SyncdRecord *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__syncd_record__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__syncd_snapshot__init + (Wa__SyncdSnapshot *message) +{ + static const Wa__SyncdSnapshot init_value = WA__SYNCD_SNAPSHOT__INIT; + *message = init_value; +} +size_t wa__syncd_snapshot__get_packed_size + (const Wa__SyncdSnapshot *message) +{ + assert(message->descriptor == &wa__syncd_snapshot__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__syncd_snapshot__pack + (const Wa__SyncdSnapshot *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__syncd_snapshot__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__syncd_snapshot__pack_to_buffer + (const Wa__SyncdSnapshot *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__syncd_snapshot__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__SyncdSnapshot * + wa__syncd_snapshot__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__SyncdSnapshot *) + protobuf_c_message_unpack (&wa__syncd_snapshot__descriptor, + allocator, len, data); +} +void wa__syncd_snapshot__free_unpacked + (Wa__SyncdSnapshot *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__syncd_snapshot__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__syncd_value__init + (Wa__SyncdValue *message) +{ + static const Wa__SyncdValue init_value = WA__SYNCD_VALUE__INIT; + *message = init_value; +} +size_t wa__syncd_value__get_packed_size + (const Wa__SyncdValue *message) +{ + assert(message->descriptor == &wa__syncd_value__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__syncd_value__pack + (const Wa__SyncdValue *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__syncd_value__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__syncd_value__pack_to_buffer + (const Wa__SyncdValue *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__syncd_value__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__SyncdValue * + wa__syncd_value__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__SyncdValue *) + protobuf_c_message_unpack (&wa__syncd_value__descriptor, + allocator, len, data); +} +void wa__syncd_value__free_unpacked + (Wa__SyncdValue *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__syncd_value__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__syncd_version__init + (Wa__SyncdVersion *message) +{ + static const Wa__SyncdVersion init_value = WA__SYNCD_VERSION__INIT; + *message = init_value; +} +size_t wa__syncd_version__get_packed_size + (const Wa__SyncdVersion *message) +{ + assert(message->descriptor == &wa__syncd_version__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__syncd_version__pack + (const Wa__SyncdVersion *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__syncd_version__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__syncd_version__pack_to_buffer + (const Wa__SyncdVersion *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__syncd_version__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__SyncdVersion * + wa__syncd_version__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__SyncdVersion *) + protobuf_c_message_unpack (&wa__syncd_version__descriptor, + allocator, len, data); +} +void wa__syncd_version__free_unpacked + (Wa__SyncdVersion *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__syncd_version__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__template_button__call_button__init + (Wa__TemplateButton__CallButton *message) +{ + static const Wa__TemplateButton__CallButton init_value = WA__TEMPLATE_BUTTON__CALL_BUTTON__INIT; + *message = init_value; +} +void wa__template_button__quick_reply_button__init + (Wa__TemplateButton__QuickReplyButton *message) +{ + static const Wa__TemplateButton__QuickReplyButton init_value = WA__TEMPLATE_BUTTON__QUICK_REPLY_BUTTON__INIT; + *message = init_value; +} +void wa__template_button__urlbutton__init + (Wa__TemplateButton__URLButton *message) +{ + static const Wa__TemplateButton__URLButton init_value = WA__TEMPLATE_BUTTON__URLBUTTON__INIT; + *message = init_value; +} +void wa__template_button__init + (Wa__TemplateButton *message) +{ + static const Wa__TemplateButton init_value = WA__TEMPLATE_BUTTON__INIT; + *message = init_value; +} +size_t wa__template_button__get_packed_size + (const Wa__TemplateButton *message) +{ + assert(message->descriptor == &wa__template_button__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__template_button__pack + (const Wa__TemplateButton *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__template_button__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__template_button__pack_to_buffer + (const Wa__TemplateButton *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__template_button__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__TemplateButton * + wa__template_button__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__TemplateButton *) + protobuf_c_message_unpack (&wa__template_button__descriptor, + allocator, len, data); +} +void wa__template_button__free_unpacked + (Wa__TemplateButton *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__template_button__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__user_receipt__init + (Wa__UserReceipt *message) +{ + static const Wa__UserReceipt init_value = WA__USER_RECEIPT__INIT; + *message = init_value; +} +size_t wa__user_receipt__get_packed_size + (const Wa__UserReceipt *message) +{ + assert(message->descriptor == &wa__user_receipt__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__user_receipt__pack + (const Wa__UserReceipt *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__user_receipt__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__user_receipt__pack_to_buffer + (const Wa__UserReceipt *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__user_receipt__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__UserReceipt * + wa__user_receipt__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__UserReceipt *) + protobuf_c_message_unpack (&wa__user_receipt__descriptor, + allocator, len, data); +} +void wa__user_receipt__free_unpacked + (Wa__UserReceipt *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__user_receipt__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__verified_name_certificate__details__init + (Wa__VerifiedNameCertificate__Details *message) +{ + static const Wa__VerifiedNameCertificate__Details init_value = WA__VERIFIED_NAME_CERTIFICATE__DETAILS__INIT; + *message = init_value; +} +void wa__verified_name_certificate__init + (Wa__VerifiedNameCertificate *message) +{ + static const Wa__VerifiedNameCertificate init_value = WA__VERIFIED_NAME_CERTIFICATE__INIT; + *message = init_value; +} +size_t wa__verified_name_certificate__get_packed_size + (const Wa__VerifiedNameCertificate *message) +{ + assert(message->descriptor == &wa__verified_name_certificate__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__verified_name_certificate__pack + (const Wa__VerifiedNameCertificate *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__verified_name_certificate__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__verified_name_certificate__pack_to_buffer + (const Wa__VerifiedNameCertificate *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__verified_name_certificate__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__VerifiedNameCertificate * + wa__verified_name_certificate__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__VerifiedNameCertificate *) + protobuf_c_message_unpack (&wa__verified_name_certificate__descriptor, + allocator, len, data); +} +void wa__verified_name_certificate__free_unpacked + (Wa__VerifiedNameCertificate *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__verified_name_certificate__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__wallpaper_settings__init + (Wa__WallpaperSettings *message) +{ + static const Wa__WallpaperSettings init_value = WA__WALLPAPER_SETTINGS__INIT; + *message = init_value; +} +size_t wa__wallpaper_settings__get_packed_size + (const Wa__WallpaperSettings *message) +{ + assert(message->descriptor == &wa__wallpaper_settings__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__wallpaper_settings__pack + (const Wa__WallpaperSettings *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__wallpaper_settings__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__wallpaper_settings__pack_to_buffer + (const Wa__WallpaperSettings *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__wallpaper_settings__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__WallpaperSettings * + wa__wallpaper_settings__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__WallpaperSettings *) + protobuf_c_message_unpack (&wa__wallpaper_settings__descriptor, + allocator, len, data); +} +void wa__wallpaper_settings__free_unpacked + (Wa__WallpaperSettings *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__wallpaper_settings__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__web_features__init + (Wa__WebFeatures *message) +{ + static const Wa__WebFeatures init_value = WA__WEB_FEATURES__INIT; + *message = init_value; +} +size_t wa__web_features__get_packed_size + (const Wa__WebFeatures *message) +{ + assert(message->descriptor == &wa__web_features__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__web_features__pack + (const Wa__WebFeatures *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__web_features__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__web_features__pack_to_buffer + (const Wa__WebFeatures *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__web_features__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__WebFeatures * + wa__web_features__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__WebFeatures *) + protobuf_c_message_unpack (&wa__web_features__descriptor, + allocator, len, data); +} +void wa__web_features__free_unpacked + (Wa__WebFeatures *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__web_features__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__web_message_info__init + (Wa__WebMessageInfo *message) +{ + static const Wa__WebMessageInfo init_value = WA__WEB_MESSAGE_INFO__INIT; + *message = init_value; +} +size_t wa__web_message_info__get_packed_size + (const Wa__WebMessageInfo *message) +{ + assert(message->descriptor == &wa__web_message_info__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__web_message_info__pack + (const Wa__WebMessageInfo *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__web_message_info__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__web_message_info__pack_to_buffer + (const Wa__WebMessageInfo *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__web_message_info__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__WebMessageInfo * + wa__web_message_info__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__WebMessageInfo *) + protobuf_c_message_unpack (&wa__web_message_info__descriptor, + allocator, len, data); +} +void wa__web_message_info__free_unpacked + (Wa__WebMessageInfo *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__web_message_info__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void wa__web_notifications_info__init + (Wa__WebNotificationsInfo *message) +{ + static const Wa__WebNotificationsInfo init_value = WA__WEB_NOTIFICATIONS_INFO__INIT; + *message = init_value; +} +size_t wa__web_notifications_info__get_packed_size + (const Wa__WebNotificationsInfo *message) +{ + assert(message->descriptor == &wa__web_notifications_info__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__web_notifications_info__pack + (const Wa__WebNotificationsInfo *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__web_notifications_info__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__web_notifications_info__pack_to_buffer + (const Wa__WebNotificationsInfo *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__web_notifications_info__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__WebNotificationsInfo * + wa__web_notifications_info__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__WebNotificationsInfo *) + protobuf_c_message_unpack (&wa__web_notifications_info__descriptor, + allocator, len, data); +} +void wa__web_notifications_info__free_unpacked + (Wa__WebNotificationsInfo *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__web_notifications_info__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +static const ProtobufCFieldDescriptor wa__advdevice_identity__field_descriptors[3] = +{ + { + "rawId", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__ADVDeviceIdentity, has_rawid), + offsetof(Wa__ADVDeviceIdentity, rawid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "timestamp", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__ADVDeviceIdentity, has_timestamp), + offsetof(Wa__ADVDeviceIdentity, timestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "keyIndex", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__ADVDeviceIdentity, has_keyindex), + offsetof(Wa__ADVDeviceIdentity, keyindex), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__advdevice_identity__field_indices_by_name[] = { + 2, /* field[2] = keyIndex */ + 0, /* field[0] = rawId */ + 1, /* field[1] = timestamp */ +}; +static const ProtobufCIntRange wa__advdevice_identity__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__advdevice_identity__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.ADVDeviceIdentity", + "ADVDeviceIdentity", + "Wa__ADVDeviceIdentity", + "wa", + sizeof(Wa__ADVDeviceIdentity), + 3, + wa__advdevice_identity__field_descriptors, + wa__advdevice_identity__field_indices_by_name, + 1, wa__advdevice_identity__number_ranges, + (ProtobufCMessageInit) wa__advdevice_identity__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__advkey_index_list__field_descriptors[4] = +{ + { + "rawId", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__ADVKeyIndexList, has_rawid), + offsetof(Wa__ADVKeyIndexList, rawid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "timestamp", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__ADVKeyIndexList, has_timestamp), + offsetof(Wa__ADVKeyIndexList, timestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "currentIndex", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__ADVKeyIndexList, has_currentindex), + offsetof(Wa__ADVKeyIndexList, currentindex), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "validIndexes", + 4, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__ADVKeyIndexList, n_validindexes), + offsetof(Wa__ADVKeyIndexList, validindexes), + NULL, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_PACKED, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__advkey_index_list__field_indices_by_name[] = { + 2, /* field[2] = currentIndex */ + 0, /* field[0] = rawId */ + 1, /* field[1] = timestamp */ + 3, /* field[3] = validIndexes */ +}; +static const ProtobufCIntRange wa__advkey_index_list__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__advkey_index_list__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.ADVKeyIndexList", + "ADVKeyIndexList", + "Wa__ADVKeyIndexList", + "wa", + sizeof(Wa__ADVKeyIndexList), + 4, + wa__advkey_index_list__field_descriptors, + wa__advkey_index_list__field_indices_by_name, + 1, wa__advkey_index_list__number_ranges, + (ProtobufCMessageInit) wa__advkey_index_list__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__advsigned_device_identity__field_descriptors[4] = +{ + { + "details", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ADVSignedDeviceIdentity, has_details), + offsetof(Wa__ADVSignedDeviceIdentity, details), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "accountSignatureKey", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ADVSignedDeviceIdentity, has_accountsignaturekey), + offsetof(Wa__ADVSignedDeviceIdentity, accountsignaturekey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "accountSignature", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ADVSignedDeviceIdentity, has_accountsignature), + offsetof(Wa__ADVSignedDeviceIdentity, accountsignature), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "deviceSignature", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ADVSignedDeviceIdentity, has_devicesignature), + offsetof(Wa__ADVSignedDeviceIdentity, devicesignature), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__advsigned_device_identity__field_indices_by_name[] = { + 2, /* field[2] = accountSignature */ + 1, /* field[1] = accountSignatureKey */ + 0, /* field[0] = details */ + 3, /* field[3] = deviceSignature */ +}; +static const ProtobufCIntRange wa__advsigned_device_identity__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__advsigned_device_identity__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.ADVSignedDeviceIdentity", + "ADVSignedDeviceIdentity", + "Wa__ADVSignedDeviceIdentity", + "wa", + sizeof(Wa__ADVSignedDeviceIdentity), + 4, + wa__advsigned_device_identity__field_descriptors, + wa__advsigned_device_identity__field_indices_by_name, + 1, wa__advsigned_device_identity__number_ranges, + (ProtobufCMessageInit) wa__advsigned_device_identity__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__advsigned_device_identity_hmac__field_descriptors[2] = +{ + { + "details", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ADVSignedDeviceIdentityHMAC, has_details), + offsetof(Wa__ADVSignedDeviceIdentityHMAC, details), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "hmac", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ADVSignedDeviceIdentityHMAC, has_hmac), + offsetof(Wa__ADVSignedDeviceIdentityHMAC, hmac), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__advsigned_device_identity_hmac__field_indices_by_name[] = { + 0, /* field[0] = details */ + 1, /* field[1] = hmac */ +}; +static const ProtobufCIntRange wa__advsigned_device_identity_hmac__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__advsigned_device_identity_hmac__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.ADVSignedDeviceIdentityHMAC", + "ADVSignedDeviceIdentityHMAC", + "Wa__ADVSignedDeviceIdentityHMAC", + "wa", + sizeof(Wa__ADVSignedDeviceIdentityHMAC), + 2, + wa__advsigned_device_identity_hmac__field_descriptors, + wa__advsigned_device_identity_hmac__field_indices_by_name, + 1, wa__advsigned_device_identity_hmac__number_ranges, + (ProtobufCMessageInit) wa__advsigned_device_identity_hmac__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__advsigned_key_index_list__field_descriptors[2] = +{ + { + "details", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ADVSignedKeyIndexList, has_details), + offsetof(Wa__ADVSignedKeyIndexList, details), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "accountSignature", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ADVSignedKeyIndexList, has_accountsignature), + offsetof(Wa__ADVSignedKeyIndexList, accountsignature), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__advsigned_key_index_list__field_indices_by_name[] = { + 1, /* field[1] = accountSignature */ + 0, /* field[0] = details */ +}; +static const ProtobufCIntRange wa__advsigned_key_index_list__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__advsigned_key_index_list__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.ADVSignedKeyIndexList", + "ADVSignedKeyIndexList", + "Wa__ADVSignedKeyIndexList", + "wa", + sizeof(Wa__ADVSignedKeyIndexList), + 2, + wa__advsigned_key_index_list__field_descriptors, + wa__advsigned_key_index_list__field_indices_by_name, + 1, wa__advsigned_key_index_list__number_ranges, + (ProtobufCMessageInit) wa__advsigned_key_index_list__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__action_link__field_descriptors[2] = +{ + { + "url", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ActionLink, url), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "buttonTitle", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ActionLink, buttontitle), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__action_link__field_indices_by_name[] = { + 1, /* field[1] = buttonTitle */ + 0, /* field[0] = url */ +}; +static const ProtobufCIntRange wa__action_link__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__action_link__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.ActionLink", + "ActionLink", + "Wa__ActionLink", + "wa", + sizeof(Wa__ActionLink), + 2, + wa__action_link__field_descriptors, + wa__action_link__field_indices_by_name, + 1, wa__action_link__number_ranges, + (ProtobufCMessageInit) wa__action_link__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__auto_download_settings__field_descriptors[4] = +{ + { + "downloadImages", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__AutoDownloadSettings, has_downloadimages), + offsetof(Wa__AutoDownloadSettings, downloadimages), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "downloadAudio", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__AutoDownloadSettings, has_downloadaudio), + offsetof(Wa__AutoDownloadSettings, downloadaudio), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "downloadVideo", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__AutoDownloadSettings, has_downloadvideo), + offsetof(Wa__AutoDownloadSettings, downloadvideo), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "downloadDocuments", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__AutoDownloadSettings, has_downloaddocuments), + offsetof(Wa__AutoDownloadSettings, downloaddocuments), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__auto_download_settings__field_indices_by_name[] = { + 1, /* field[1] = downloadAudio */ + 3, /* field[3] = downloadDocuments */ + 0, /* field[0] = downloadImages */ + 2, /* field[2] = downloadVideo */ +}; +static const ProtobufCIntRange wa__auto_download_settings__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__auto_download_settings__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.AutoDownloadSettings", + "AutoDownloadSettings", + "Wa__AutoDownloadSettings", + "wa", + sizeof(Wa__AutoDownloadSettings), + 4, + wa__auto_download_settings__field_descriptors, + wa__auto_download_settings__field_indices_by_name, + 1, wa__auto_download_settings__number_ranges, + (ProtobufCMessageInit) wa__auto_download_settings__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__biz_account_link_info__account_type__enum_values_by_number[1] = +{ + { "ENTERPRISE", "WA__BIZ_ACCOUNT_LINK_INFO__ACCOUNT_TYPE__ENTERPRISE", 0 }, +}; +static const ProtobufCIntRange wa__biz_account_link_info__account_type__value_ranges[] = { +{0, 0},{0, 1} +}; +static const ProtobufCEnumValueIndex wa__biz_account_link_info__account_type__enum_values_by_name[1] = +{ + { "ENTERPRISE", 0 }, +}; +const ProtobufCEnumDescriptor wa__biz_account_link_info__account_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.BizAccountLinkInfo.AccountType", + "AccountType", + "Wa__BizAccountLinkInfo__AccountType", + "wa", + 1, + wa__biz_account_link_info__account_type__enum_values_by_number, + 1, + wa__biz_account_link_info__account_type__enum_values_by_name, + 1, + wa__biz_account_link_info__account_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCEnumValue wa__biz_account_link_info__host_storage_type__enum_values_by_number[2] = +{ + { "ON_PREMISE", "WA__BIZ_ACCOUNT_LINK_INFO__HOST_STORAGE_TYPE__ON_PREMISE", 0 }, + { "FACEBOOK", "WA__BIZ_ACCOUNT_LINK_INFO__HOST_STORAGE_TYPE__FACEBOOK", 1 }, +}; +static const ProtobufCIntRange wa__biz_account_link_info__host_storage_type__value_ranges[] = { +{0, 0},{0, 2} +}; +static const ProtobufCEnumValueIndex wa__biz_account_link_info__host_storage_type__enum_values_by_name[2] = +{ + { "FACEBOOK", 1 }, + { "ON_PREMISE", 0 }, +}; +const ProtobufCEnumDescriptor wa__biz_account_link_info__host_storage_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.BizAccountLinkInfo.HostStorageType", + "HostStorageType", + "Wa__BizAccountLinkInfo__HostStorageType", + "wa", + 2, + wa__biz_account_link_info__host_storage_type__enum_values_by_number, + 2, + wa__biz_account_link_info__host_storage_type__enum_values_by_name, + 1, + wa__biz_account_link_info__host_storage_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__biz_account_link_info__field_descriptors[5] = +{ + { + "whatsappBizAcctFbid", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__BizAccountLinkInfo, has_whatsappbizacctfbid), + offsetof(Wa__BizAccountLinkInfo, whatsappbizacctfbid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "whatsappAcctNumber", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__BizAccountLinkInfo, whatsappacctnumber), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "issueTime", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__BizAccountLinkInfo, has_issuetime), + offsetof(Wa__BizAccountLinkInfo, issuetime), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "hostStorage", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__BizAccountLinkInfo, has_hoststorage), + offsetof(Wa__BizAccountLinkInfo, hoststorage), + &wa__biz_account_link_info__host_storage_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "accountType", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__BizAccountLinkInfo, has_accounttype), + offsetof(Wa__BizAccountLinkInfo, accounttype), + &wa__biz_account_link_info__account_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__biz_account_link_info__field_indices_by_name[] = { + 4, /* field[4] = accountType */ + 3, /* field[3] = hostStorage */ + 2, /* field[2] = issueTime */ + 1, /* field[1] = whatsappAcctNumber */ + 0, /* field[0] = whatsappBizAcctFbid */ +}; +static const ProtobufCIntRange wa__biz_account_link_info__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 5 } +}; +const ProtobufCMessageDescriptor wa__biz_account_link_info__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.BizAccountLinkInfo", + "BizAccountLinkInfo", + "Wa__BizAccountLinkInfo", + "wa", + sizeof(Wa__BizAccountLinkInfo), + 5, + wa__biz_account_link_info__field_descriptors, + wa__biz_account_link_info__field_indices_by_name, + 1, wa__biz_account_link_info__number_ranges, + (ProtobufCMessageInit) wa__biz_account_link_info__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__biz_account_payload__field_descriptors[2] = +{ + { + "vnameCert", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__BizAccountPayload, vnamecert), + &wa__verified_name_certificate__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "bizAcctLinkInfo", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__BizAccountPayload, has_bizacctlinkinfo), + offsetof(Wa__BizAccountPayload, bizacctlinkinfo), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__biz_account_payload__field_indices_by_name[] = { + 1, /* field[1] = bizAcctLinkInfo */ + 0, /* field[0] = vnameCert */ +}; +static const ProtobufCIntRange wa__biz_account_payload__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__biz_account_payload__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.BizAccountPayload", + "BizAccountPayload", + "Wa__BizAccountPayload", + "wa", + sizeof(Wa__BizAccountPayload), + 2, + wa__biz_account_payload__field_descriptors, + wa__biz_account_payload__field_indices_by_name, + 1, wa__biz_account_payload__number_ranges, + (ProtobufCMessageInit) wa__biz_account_payload__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__biz_identity_info__actual_actors_type__enum_values_by_number[2] = +{ + { "SELF", "WA__BIZ_IDENTITY_INFO__ACTUAL_ACTORS_TYPE__SELF", 0 }, + { "BSP", "WA__BIZ_IDENTITY_INFO__ACTUAL_ACTORS_TYPE__BSP", 1 }, +}; +static const ProtobufCIntRange wa__biz_identity_info__actual_actors_type__value_ranges[] = { +{0, 0},{0, 2} +}; +static const ProtobufCEnumValueIndex wa__biz_identity_info__actual_actors_type__enum_values_by_name[2] = +{ + { "BSP", 1 }, + { "SELF", 0 }, +}; +const ProtobufCEnumDescriptor wa__biz_identity_info__actual_actors_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.BizIdentityInfo.ActualActorsType", + "ActualActorsType", + "Wa__BizIdentityInfo__ActualActorsType", + "wa", + 2, + wa__biz_identity_info__actual_actors_type__enum_values_by_number, + 2, + wa__biz_identity_info__actual_actors_type__enum_values_by_name, + 1, + wa__biz_identity_info__actual_actors_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCEnumValue wa__biz_identity_info__host_storage_type__enum_values_by_number[2] = +{ + { "ON_PREMISE", "WA__BIZ_IDENTITY_INFO__HOST_STORAGE_TYPE__ON_PREMISE", 0 }, + { "FACEBOOK", "WA__BIZ_IDENTITY_INFO__HOST_STORAGE_TYPE__FACEBOOK", 1 }, +}; +static const ProtobufCIntRange wa__biz_identity_info__host_storage_type__value_ranges[] = { +{0, 0},{0, 2} +}; +static const ProtobufCEnumValueIndex wa__biz_identity_info__host_storage_type__enum_values_by_name[2] = +{ + { "FACEBOOK", 1 }, + { "ON_PREMISE", 0 }, +}; +const ProtobufCEnumDescriptor wa__biz_identity_info__host_storage_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.BizIdentityInfo.HostStorageType", + "HostStorageType", + "Wa__BizIdentityInfo__HostStorageType", + "wa", + 2, + wa__biz_identity_info__host_storage_type__enum_values_by_number, + 2, + wa__biz_identity_info__host_storage_type__enum_values_by_name, + 1, + wa__biz_identity_info__host_storage_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCEnumValue wa__biz_identity_info__verified_level_value__enum_values_by_number[3] = +{ + { "UNKNOWN", "WA__BIZ_IDENTITY_INFO__VERIFIED_LEVEL_VALUE__UNKNOWN", 0 }, + { "LOW", "WA__BIZ_IDENTITY_INFO__VERIFIED_LEVEL_VALUE__LOW", 1 }, + { "HIGH", "WA__BIZ_IDENTITY_INFO__VERIFIED_LEVEL_VALUE__HIGH", 2 }, +}; +static const ProtobufCIntRange wa__biz_identity_info__verified_level_value__value_ranges[] = { +{0, 0},{0, 3} +}; +static const ProtobufCEnumValueIndex wa__biz_identity_info__verified_level_value__enum_values_by_name[3] = +{ + { "HIGH", 2 }, + { "LOW", 1 }, + { "UNKNOWN", 0 }, +}; +const ProtobufCEnumDescriptor wa__biz_identity_info__verified_level_value__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.BizIdentityInfo.VerifiedLevelValue", + "VerifiedLevelValue", + "Wa__BizIdentityInfo__VerifiedLevelValue", + "wa", + 3, + wa__biz_identity_info__verified_level_value__enum_values_by_number, + 3, + wa__biz_identity_info__verified_level_value__enum_values_by_name, + 1, + wa__biz_identity_info__verified_level_value__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__biz_identity_info__field_descriptors[8] = +{ + { + "vlevel", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__BizIdentityInfo, has_vlevel), + offsetof(Wa__BizIdentityInfo, vlevel), + &wa__biz_identity_info__verified_level_value__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "vnameCert", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__BizIdentityInfo, vnamecert), + &wa__verified_name_certificate__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "signed", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__BizIdentityInfo, has_signed_), + offsetof(Wa__BizIdentityInfo, signed_), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "revoked", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__BizIdentityInfo, has_revoked), + offsetof(Wa__BizIdentityInfo, revoked), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "hostStorage", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__BizIdentityInfo, has_hoststorage), + offsetof(Wa__BizIdentityInfo, hoststorage), + &wa__biz_identity_info__host_storage_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "actualActors", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__BizIdentityInfo, has_actualactors), + offsetof(Wa__BizIdentityInfo, actualactors), + &wa__biz_identity_info__actual_actors_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "privacyModeTs", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__BizIdentityInfo, has_privacymodets), + offsetof(Wa__BizIdentityInfo, privacymodets), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "featureControls", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__BizIdentityInfo, has_featurecontrols), + offsetof(Wa__BizIdentityInfo, featurecontrols), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__biz_identity_info__field_indices_by_name[] = { + 5, /* field[5] = actualActors */ + 7, /* field[7] = featureControls */ + 4, /* field[4] = hostStorage */ + 6, /* field[6] = privacyModeTs */ + 3, /* field[3] = revoked */ + 2, /* field[2] = signed */ + 0, /* field[0] = vlevel */ + 1, /* field[1] = vnameCert */ +}; +static const ProtobufCIntRange wa__biz_identity_info__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 8 } +}; +const ProtobufCMessageDescriptor wa__biz_identity_info__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.BizIdentityInfo", + "BizIdentityInfo", + "Wa__BizIdentityInfo", + "wa", + sizeof(Wa__BizIdentityInfo), + 8, + wa__biz_identity_info__field_descriptors, + wa__biz_identity_info__field_indices_by_name, + 1, wa__biz_identity_info__number_ranges, + (ProtobufCMessageInit) wa__biz_identity_info__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__cert_chain__noise_certificate__details__field_descriptors[5] = +{ + { + "serial", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__CertChain__NoiseCertificate__Details, has_serial), + offsetof(Wa__CertChain__NoiseCertificate__Details, serial), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "issuerSerial", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__CertChain__NoiseCertificate__Details, has_issuerserial), + offsetof(Wa__CertChain__NoiseCertificate__Details, issuerserial), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "key", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__CertChain__NoiseCertificate__Details, has_key), + offsetof(Wa__CertChain__NoiseCertificate__Details, key), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "notBefore", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__CertChain__NoiseCertificate__Details, has_notbefore), + offsetof(Wa__CertChain__NoiseCertificate__Details, notbefore), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "notAfter", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__CertChain__NoiseCertificate__Details, has_notafter), + offsetof(Wa__CertChain__NoiseCertificate__Details, notafter), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__cert_chain__noise_certificate__details__field_indices_by_name[] = { + 1, /* field[1] = issuerSerial */ + 2, /* field[2] = key */ + 4, /* field[4] = notAfter */ + 3, /* field[3] = notBefore */ + 0, /* field[0] = serial */ +}; +static const ProtobufCIntRange wa__cert_chain__noise_certificate__details__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 5 } +}; +const ProtobufCMessageDescriptor wa__cert_chain__noise_certificate__details__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.CertChain.NoiseCertificate.Details", + "Details", + "Wa__CertChain__NoiseCertificate__Details", + "wa", + sizeof(Wa__CertChain__NoiseCertificate__Details), + 5, + wa__cert_chain__noise_certificate__details__field_descriptors, + wa__cert_chain__noise_certificate__details__field_indices_by_name, + 1, wa__cert_chain__noise_certificate__details__number_ranges, + (ProtobufCMessageInit) wa__cert_chain__noise_certificate__details__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__cert_chain__noise_certificate__field_descriptors[2] = +{ + { + "details", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__CertChain__NoiseCertificate, has_details), + offsetof(Wa__CertChain__NoiseCertificate, details), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "signature", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__CertChain__NoiseCertificate, has_signature), + offsetof(Wa__CertChain__NoiseCertificate, signature), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__cert_chain__noise_certificate__field_indices_by_name[] = { + 0, /* field[0] = details */ + 1, /* field[1] = signature */ +}; +static const ProtobufCIntRange wa__cert_chain__noise_certificate__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__cert_chain__noise_certificate__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.CertChain.NoiseCertificate", + "NoiseCertificate", + "Wa__CertChain__NoiseCertificate", + "wa", + sizeof(Wa__CertChain__NoiseCertificate), + 2, + wa__cert_chain__noise_certificate__field_descriptors, + wa__cert_chain__noise_certificate__field_indices_by_name, + 1, wa__cert_chain__noise_certificate__number_ranges, + (ProtobufCMessageInit) wa__cert_chain__noise_certificate__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__cert_chain__field_descriptors[2] = +{ + { + "leaf", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__CertChain, leaf), + &wa__cert_chain__noise_certificate__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "intermediate", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__CertChain, intermediate), + &wa__cert_chain__noise_certificate__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__cert_chain__field_indices_by_name[] = { + 1, /* field[1] = intermediate */ + 0, /* field[0] = leaf */ +}; +static const ProtobufCIntRange wa__cert_chain__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__cert_chain__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.CertChain", + "CertChain", + "Wa__CertChain", + "wa", + sizeof(Wa__CertChain), + 2, + wa__cert_chain__field_descriptors, + wa__cert_chain__field_indices_by_name, + 1, wa__cert_chain__number_ranges, + (ProtobufCMessageInit) wa__cert_chain__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__chain__field_descriptors[4] = +{ + { + "senderRatchetKey", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Chain, has_senderratchetkey), + offsetof(Wa__Chain, senderratchetkey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "senderRatchetKeyPrivate", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Chain, has_senderratchetkeyprivate), + offsetof(Wa__Chain, senderratchetkeyprivate), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "chainKey", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Chain, chainkey), + &wa__chain_key__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "messageKeys", + 4, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Chain, n_messagekeys), + offsetof(Wa__Chain, messagekeys), + &wa__message_key__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__chain__field_indices_by_name[] = { + 2, /* field[2] = chainKey */ + 3, /* field[3] = messageKeys */ + 0, /* field[0] = senderRatchetKey */ + 1, /* field[1] = senderRatchetKeyPrivate */ +}; +static const ProtobufCIntRange wa__chain__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__chain__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Chain", + "Chain", + "Wa__Chain", + "wa", + sizeof(Wa__Chain), + 4, + wa__chain__field_descriptors, + wa__chain__field_indices_by_name, + 1, wa__chain__number_ranges, + (ProtobufCMessageInit) wa__chain__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__chain_key__field_descriptors[2] = +{ + { + "index", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__ChainKey, has_index), + offsetof(Wa__ChainKey, index), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "key", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ChainKey, has_key), + offsetof(Wa__ChainKey, key), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__chain_key__field_indices_by_name[] = { + 0, /* field[0] = index */ + 1, /* field[1] = key */ +}; +static const ProtobufCIntRange wa__chain_key__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__chain_key__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.ChainKey", + "ChainKey", + "Wa__ChainKey", + "wa", + sizeof(Wa__ChainKey), + 2, + wa__chain_key__field_descriptors, + wa__chain_key__field_indices_by_name, + 1, wa__chain_key__number_ranges, + (ProtobufCMessageInit) wa__chain_key__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__client_payload__dnssource__dnsresolution_method__enum_values_by_number[5] = +{ + { "SYSTEM", "WA__CLIENT_PAYLOAD__DNSSOURCE__DNSRESOLUTION_METHOD__SYSTEM", 0 }, + { "GOOGLE", "WA__CLIENT_PAYLOAD__DNSSOURCE__DNSRESOLUTION_METHOD__GOOGLE", 1 }, + { "HARDCODED", "WA__CLIENT_PAYLOAD__DNSSOURCE__DNSRESOLUTION_METHOD__HARDCODED", 2 }, + { "OVERRIDE", "WA__CLIENT_PAYLOAD__DNSSOURCE__DNSRESOLUTION_METHOD__OVERRIDE", 3 }, + { "FALLBACK", "WA__CLIENT_PAYLOAD__DNSSOURCE__DNSRESOLUTION_METHOD__FALLBACK", 4 }, +}; +static const ProtobufCIntRange wa__client_payload__dnssource__dnsresolution_method__value_ranges[] = { +{0, 0},{0, 5} +}; +static const ProtobufCEnumValueIndex wa__client_payload__dnssource__dnsresolution_method__enum_values_by_name[5] = +{ + { "FALLBACK", 4 }, + { "GOOGLE", 1 }, + { "HARDCODED", 2 }, + { "OVERRIDE", 3 }, + { "SYSTEM", 0 }, +}; +const ProtobufCEnumDescriptor wa__client_payload__dnssource__dnsresolution_method__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.ClientPayload.DNSSource.DNSResolutionMethod", + "DNSResolutionMethod", + "Wa__ClientPayload__DNSSource__DNSResolutionMethod", + "wa", + 5, + wa__client_payload__dnssource__dnsresolution_method__enum_values_by_number, + 5, + wa__client_payload__dnssource__dnsresolution_method__enum_values_by_name, + 1, + wa__client_payload__dnssource__dnsresolution_method__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__client_payload__dnssource__field_descriptors[2] = +{ + { + "dnsMethod", + 15, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__ClientPayload__DNSSource, has_dnsmethod), + offsetof(Wa__ClientPayload__DNSSource, dnsmethod), + &wa__client_payload__dnssource__dnsresolution_method__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "appCached", + 16, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__ClientPayload__DNSSource, has_appcached), + offsetof(Wa__ClientPayload__DNSSource, appcached), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__client_payload__dnssource__field_indices_by_name[] = { + 1, /* field[1] = appCached */ + 0, /* field[0] = dnsMethod */ +}; +static const ProtobufCIntRange wa__client_payload__dnssource__number_ranges[1 + 1] = +{ + { 15, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__client_payload__dnssource__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.ClientPayload.DNSSource", + "DNSSource", + "Wa__ClientPayload__DNSSource", + "wa", + sizeof(Wa__ClientPayload__DNSSource), + 2, + wa__client_payload__dnssource__field_descriptors, + wa__client_payload__dnssource__field_indices_by_name, + 1, wa__client_payload__dnssource__number_ranges, + (ProtobufCMessageInit) wa__client_payload__dnssource__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__client_payload__device_pairing_registration_data__field_descriptors[8] = +{ + { + "eRegid", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ClientPayload__DevicePairingRegistrationData, has_eregid), + offsetof(Wa__ClientPayload__DevicePairingRegistrationData, eregid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "eKeytype", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ClientPayload__DevicePairingRegistrationData, has_ekeytype), + offsetof(Wa__ClientPayload__DevicePairingRegistrationData, ekeytype), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "eIdent", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ClientPayload__DevicePairingRegistrationData, has_eident), + offsetof(Wa__ClientPayload__DevicePairingRegistrationData, eident), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "eSkeyId", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ClientPayload__DevicePairingRegistrationData, has_eskeyid), + offsetof(Wa__ClientPayload__DevicePairingRegistrationData, eskeyid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "eSkeyVal", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ClientPayload__DevicePairingRegistrationData, has_eskeyval), + offsetof(Wa__ClientPayload__DevicePairingRegistrationData, eskeyval), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "eSkeySig", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ClientPayload__DevicePairingRegistrationData, has_eskeysig), + offsetof(Wa__ClientPayload__DevicePairingRegistrationData, eskeysig), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "buildHash", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ClientPayload__DevicePairingRegistrationData, has_buildhash), + offsetof(Wa__ClientPayload__DevicePairingRegistrationData, buildhash), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "deviceProps", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ClientPayload__DevicePairingRegistrationData, has_deviceprops), + offsetof(Wa__ClientPayload__DevicePairingRegistrationData, deviceprops), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__client_payload__device_pairing_registration_data__field_indices_by_name[] = { + 6, /* field[6] = buildHash */ + 7, /* field[7] = deviceProps */ + 2, /* field[2] = eIdent */ + 1, /* field[1] = eKeytype */ + 0, /* field[0] = eRegid */ + 3, /* field[3] = eSkeyId */ + 5, /* field[5] = eSkeySig */ + 4, /* field[4] = eSkeyVal */ +}; +static const ProtobufCIntRange wa__client_payload__device_pairing_registration_data__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 8 } +}; +const ProtobufCMessageDescriptor wa__client_payload__device_pairing_registration_data__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.ClientPayload.DevicePairingRegistrationData", + "DevicePairingRegistrationData", + "Wa__ClientPayload__DevicePairingRegistrationData", + "wa", + sizeof(Wa__ClientPayload__DevicePairingRegistrationData), + 8, + wa__client_payload__device_pairing_registration_data__field_descriptors, + wa__client_payload__device_pairing_registration_data__field_indices_by_name, + 1, wa__client_payload__device_pairing_registration_data__number_ranges, + (ProtobufCMessageInit) wa__client_payload__device_pairing_registration_data__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__client_payload__user_agent__app_version__field_descriptors[5] = +{ + { + "primary", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__ClientPayload__UserAgent__AppVersion, has_primary), + offsetof(Wa__ClientPayload__UserAgent__AppVersion, primary), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "secondary", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__ClientPayload__UserAgent__AppVersion, has_secondary), + offsetof(Wa__ClientPayload__UserAgent__AppVersion, secondary), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "tertiary", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__ClientPayload__UserAgent__AppVersion, has_tertiary), + offsetof(Wa__ClientPayload__UserAgent__AppVersion, tertiary), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "quaternary", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__ClientPayload__UserAgent__AppVersion, has_quaternary), + offsetof(Wa__ClientPayload__UserAgent__AppVersion, quaternary), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "quinary", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__ClientPayload__UserAgent__AppVersion, has_quinary), + offsetof(Wa__ClientPayload__UserAgent__AppVersion, quinary), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__client_payload__user_agent__app_version__field_indices_by_name[] = { + 0, /* field[0] = primary */ + 3, /* field[3] = quaternary */ + 4, /* field[4] = quinary */ + 1, /* field[1] = secondary */ + 2, /* field[2] = tertiary */ +}; +static const ProtobufCIntRange wa__client_payload__user_agent__app_version__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 5 } +}; +const ProtobufCMessageDescriptor wa__client_payload__user_agent__app_version__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.ClientPayload.UserAgent.AppVersion", + "AppVersion", + "Wa__ClientPayload__UserAgent__AppVersion", + "wa", + sizeof(Wa__ClientPayload__UserAgent__AppVersion), + 5, + wa__client_payload__user_agent__app_version__field_descriptors, + wa__client_payload__user_agent__app_version__field_indices_by_name, + 1, wa__client_payload__user_agent__app_version__number_ranges, + (ProtobufCMessageInit) wa__client_payload__user_agent__app_version__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__client_payload__user_agent__platform__enum_values_by_number[29] = +{ + { "ANDROID", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__ANDROID", 0 }, + { "IOS", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__IOS", 1 }, + { "WINDOWS_PHONE", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__WINDOWS_PHONE", 2 }, + { "BLACKBERRY", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__BLACKBERRY", 3 }, + { "BLACKBERRYX", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__BLACKBERRYX", 4 }, + { "S40", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__S40", 5 }, + { "S60", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__S60", 6 }, + { "PYTHON_CLIENT", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__PYTHON_CLIENT", 7 }, + { "TIZEN", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__TIZEN", 8 }, + { "ENTERPRISE", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__ENTERPRISE", 9 }, + { "SMB_ANDROID", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__SMB_ANDROID", 10 }, + { "KAIOS", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__KAIOS", 11 }, + { "SMB_IOS", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__SMB_IOS", 12 }, + { "WINDOWS", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__WINDOWS", 13 }, + { "WEB", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__WEB", 14 }, + { "PORTAL", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__PORTAL", 15 }, + { "GREEN_ANDROID", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__GREEN_ANDROID", 16 }, + { "GREEN_IPHONE", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__GREEN_IPHONE", 17 }, + { "BLUE_ANDROID", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__BLUE_ANDROID", 18 }, + { "BLUE_IPHONE", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__BLUE_IPHONE", 19 }, + { "FBLITE_ANDROID", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__FBLITE_ANDROID", 20 }, + { "MLITE_ANDROID", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__MLITE_ANDROID", 21 }, + { "IGLITE_ANDROID", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__IGLITE_ANDROID", 22 }, + { "PAGE", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__PAGE", 23 }, + { "MACOS", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__MACOS", 24 }, + { "OCULUS_MSG", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__OCULUS_MSG", 25 }, + { "OCULUS_CALL", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__OCULUS_CALL", 26 }, + { "MILAN", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__MILAN", 27 }, + { "CAPI", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__CAPI", 28 }, +}; +static const ProtobufCIntRange wa__client_payload__user_agent__platform__value_ranges[] = { +{0, 0},{0, 29} +}; +static const ProtobufCEnumValueIndex wa__client_payload__user_agent__platform__enum_values_by_name[29] = +{ + { "ANDROID", 0 }, + { "BLACKBERRY", 3 }, + { "BLACKBERRYX", 4 }, + { "BLUE_ANDROID", 18 }, + { "BLUE_IPHONE", 19 }, + { "CAPI", 28 }, + { "ENTERPRISE", 9 }, + { "FBLITE_ANDROID", 20 }, + { "GREEN_ANDROID", 16 }, + { "GREEN_IPHONE", 17 }, + { "IGLITE_ANDROID", 22 }, + { "IOS", 1 }, + { "KAIOS", 11 }, + { "MACOS", 24 }, + { "MILAN", 27 }, + { "MLITE_ANDROID", 21 }, + { "OCULUS_CALL", 26 }, + { "OCULUS_MSG", 25 }, + { "PAGE", 23 }, + { "PORTAL", 15 }, + { "PYTHON_CLIENT", 7 }, + { "S40", 5 }, + { "S60", 6 }, + { "SMB_ANDROID", 10 }, + { "SMB_IOS", 12 }, + { "TIZEN", 8 }, + { "WEB", 14 }, + { "WINDOWS", 13 }, + { "WINDOWS_PHONE", 2 }, +}; +const ProtobufCEnumDescriptor wa__client_payload__user_agent__platform__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.ClientPayload.UserAgent.Platform", + "Platform", + "Wa__ClientPayload__UserAgent__Platform", + "wa", + 29, + wa__client_payload__user_agent__platform__enum_values_by_number, + 29, + wa__client_payload__user_agent__platform__enum_values_by_name, + 1, + wa__client_payload__user_agent__platform__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCEnumValue wa__client_payload__user_agent__release_channel__enum_values_by_number[4] = +{ + { "RELEASE", "WA__CLIENT_PAYLOAD__USER_AGENT__RELEASE_CHANNEL__RELEASE", 0 }, + { "BETA", "WA__CLIENT_PAYLOAD__USER_AGENT__RELEASE_CHANNEL__BETA", 1 }, + { "ALPHA", "WA__CLIENT_PAYLOAD__USER_AGENT__RELEASE_CHANNEL__ALPHA", 2 }, + { "DEBUG", "WA__CLIENT_PAYLOAD__USER_AGENT__RELEASE_CHANNEL__DEBUG", 3 }, +}; +static const ProtobufCIntRange wa__client_payload__user_agent__release_channel__value_ranges[] = { +{0, 0},{0, 4} +}; +static const ProtobufCEnumValueIndex wa__client_payload__user_agent__release_channel__enum_values_by_name[4] = +{ + { "ALPHA", 2 }, + { "BETA", 1 }, + { "DEBUG", 3 }, + { "RELEASE", 0 }, +}; +const ProtobufCEnumDescriptor wa__client_payload__user_agent__release_channel__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.ClientPayload.UserAgent.ReleaseChannel", + "ReleaseChannel", + "Wa__ClientPayload__UserAgent__ReleaseChannel", + "wa", + 4, + wa__client_payload__user_agent__release_channel__enum_values_by_number, + 4, + wa__client_payload__user_agent__release_channel__enum_values_by_name, + 1, + wa__client_payload__user_agent__release_channel__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__client_payload__user_agent__field_descriptors[13] = +{ + { + "platform", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__ClientPayload__UserAgent, has_platform), + offsetof(Wa__ClientPayload__UserAgent, platform), + &wa__client_payload__user_agent__platform__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "appVersion", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__ClientPayload__UserAgent, appversion), + &wa__client_payload__user_agent__app_version__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mcc", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ClientPayload__UserAgent, mcc), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mnc", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ClientPayload__UserAgent, mnc), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "osVersion", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ClientPayload__UserAgent, osversion), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "manufacturer", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ClientPayload__UserAgent, manufacturer), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "device", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ClientPayload__UserAgent, device), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "osBuildNumber", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ClientPayload__UserAgent, osbuildnumber), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "phoneId", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ClientPayload__UserAgent, phoneid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "releaseChannel", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__ClientPayload__UserAgent, has_releasechannel), + offsetof(Wa__ClientPayload__UserAgent, releasechannel), + &wa__client_payload__user_agent__release_channel__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "localeLanguageIso6391", + 11, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ClientPayload__UserAgent, localelanguageiso6391), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "localeCountryIso31661Alpha2", + 12, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ClientPayload__UserAgent, localecountryiso31661alpha2), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "deviceBoard", + 13, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ClientPayload__UserAgent, deviceboard), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__client_payload__user_agent__field_indices_by_name[] = { + 1, /* field[1] = appVersion */ + 6, /* field[6] = device */ + 12, /* field[12] = deviceBoard */ + 11, /* field[11] = localeCountryIso31661Alpha2 */ + 10, /* field[10] = localeLanguageIso6391 */ + 5, /* field[5] = manufacturer */ + 2, /* field[2] = mcc */ + 3, /* field[3] = mnc */ + 7, /* field[7] = osBuildNumber */ + 4, /* field[4] = osVersion */ + 8, /* field[8] = phoneId */ + 0, /* field[0] = platform */ + 9, /* field[9] = releaseChannel */ +}; +static const ProtobufCIntRange wa__client_payload__user_agent__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 13 } +}; +const ProtobufCMessageDescriptor wa__client_payload__user_agent__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.ClientPayload.UserAgent", + "UserAgent", + "Wa__ClientPayload__UserAgent", + "wa", + sizeof(Wa__ClientPayload__UserAgent), + 13, + wa__client_payload__user_agent__field_descriptors, + wa__client_payload__user_agent__field_indices_by_name, + 1, wa__client_payload__user_agent__number_ranges, + (ProtobufCMessageInit) wa__client_payload__user_agent__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__client_payload__web_info__webd_payload__field_descriptors[11] = +{ + { + "usesParticipantInKey", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__ClientPayload__WebInfo__WebdPayload, has_usesparticipantinkey), + offsetof(Wa__ClientPayload__WebInfo__WebdPayload, usesparticipantinkey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "supportsStarredMessages", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__ClientPayload__WebInfo__WebdPayload, has_supportsstarredmessages), + offsetof(Wa__ClientPayload__WebInfo__WebdPayload, supportsstarredmessages), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "supportsDocumentMessages", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__ClientPayload__WebInfo__WebdPayload, has_supportsdocumentmessages), + offsetof(Wa__ClientPayload__WebInfo__WebdPayload, supportsdocumentmessages), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "supportsUrlMessages", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__ClientPayload__WebInfo__WebdPayload, has_supportsurlmessages), + offsetof(Wa__ClientPayload__WebInfo__WebdPayload, supportsurlmessages), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "supportsMediaRetry", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__ClientPayload__WebInfo__WebdPayload, has_supportsmediaretry), + offsetof(Wa__ClientPayload__WebInfo__WebdPayload, supportsmediaretry), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "supportsE2EImage", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__ClientPayload__WebInfo__WebdPayload, has_supportse2eimage), + offsetof(Wa__ClientPayload__WebInfo__WebdPayload, supportse2eimage), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "supportsE2EVideo", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__ClientPayload__WebInfo__WebdPayload, has_supportse2evideo), + offsetof(Wa__ClientPayload__WebInfo__WebdPayload, supportse2evideo), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "supportsE2EAudio", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__ClientPayload__WebInfo__WebdPayload, has_supportse2eaudio), + offsetof(Wa__ClientPayload__WebInfo__WebdPayload, supportse2eaudio), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "supportsE2EDocument", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__ClientPayload__WebInfo__WebdPayload, has_supportse2edocument), + offsetof(Wa__ClientPayload__WebInfo__WebdPayload, supportse2edocument), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "documentTypes", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ClientPayload__WebInfo__WebdPayload, documenttypes), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "features", + 11, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ClientPayload__WebInfo__WebdPayload, has_features), + offsetof(Wa__ClientPayload__WebInfo__WebdPayload, features), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__client_payload__web_info__webd_payload__field_indices_by_name[] = { + 9, /* field[9] = documentTypes */ + 10, /* field[10] = features */ + 2, /* field[2] = supportsDocumentMessages */ + 7, /* field[7] = supportsE2EAudio */ + 8, /* field[8] = supportsE2EDocument */ + 5, /* field[5] = supportsE2EImage */ + 6, /* field[6] = supportsE2EVideo */ + 4, /* field[4] = supportsMediaRetry */ + 1, /* field[1] = supportsStarredMessages */ + 3, /* field[3] = supportsUrlMessages */ + 0, /* field[0] = usesParticipantInKey */ +}; +static const ProtobufCIntRange wa__client_payload__web_info__webd_payload__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 11 } +}; +const ProtobufCMessageDescriptor wa__client_payload__web_info__webd_payload__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.ClientPayload.WebInfo.WebdPayload", + "WebdPayload", + "Wa__ClientPayload__WebInfo__WebdPayload", + "wa", + sizeof(Wa__ClientPayload__WebInfo__WebdPayload), + 11, + wa__client_payload__web_info__webd_payload__field_descriptors, + wa__client_payload__web_info__webd_payload__field_indices_by_name, + 1, wa__client_payload__web_info__webd_payload__number_ranges, + (ProtobufCMessageInit) wa__client_payload__web_info__webd_payload__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__client_payload__web_info__web_sub_platform__enum_values_by_number[5] = +{ + { "WEB_BROWSER", "WA__CLIENT_PAYLOAD__WEB_INFO__WEB_SUB_PLATFORM__WEB_BROWSER", 0 }, + { "APP_STORE", "WA__CLIENT_PAYLOAD__WEB_INFO__WEB_SUB_PLATFORM__APP_STORE", 1 }, + { "WIN_STORE", "WA__CLIENT_PAYLOAD__WEB_INFO__WEB_SUB_PLATFORM__WIN_STORE", 2 }, + { "DARWIN", "WA__CLIENT_PAYLOAD__WEB_INFO__WEB_SUB_PLATFORM__DARWIN", 3 }, + { "WINDA", "WA__CLIENT_PAYLOAD__WEB_INFO__WEB_SUB_PLATFORM__WINDA", 4 }, +}; +static const ProtobufCIntRange wa__client_payload__web_info__web_sub_platform__value_ranges[] = { +{0, 0},{0, 5} +}; +static const ProtobufCEnumValueIndex wa__client_payload__web_info__web_sub_platform__enum_values_by_name[5] = +{ + { "APP_STORE", 1 }, + { "DARWIN", 3 }, + { "WEB_BROWSER", 0 }, + { "WINDA", 4 }, + { "WIN_STORE", 2 }, +}; +const ProtobufCEnumDescriptor wa__client_payload__web_info__web_sub_platform__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.ClientPayload.WebInfo.WebSubPlatform", + "WebSubPlatform", + "Wa__ClientPayload__WebInfo__WebSubPlatform", + "wa", + 5, + wa__client_payload__web_info__web_sub_platform__enum_values_by_number, + 5, + wa__client_payload__web_info__web_sub_platform__enum_values_by_name, + 1, + wa__client_payload__web_info__web_sub_platform__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__client_payload__web_info__field_descriptors[4] = +{ + { + "refToken", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ClientPayload__WebInfo, reftoken), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "version", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ClientPayload__WebInfo, version), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "webdPayload", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__ClientPayload__WebInfo, webdpayload), + &wa__client_payload__web_info__webd_payload__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "webSubPlatform", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__ClientPayload__WebInfo, has_websubplatform), + offsetof(Wa__ClientPayload__WebInfo, websubplatform), + &wa__client_payload__web_info__web_sub_platform__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__client_payload__web_info__field_indices_by_name[] = { + 0, /* field[0] = refToken */ + 1, /* field[1] = version */ + 3, /* field[3] = webSubPlatform */ + 2, /* field[2] = webdPayload */ +}; +static const ProtobufCIntRange wa__client_payload__web_info__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__client_payload__web_info__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.ClientPayload.WebInfo", + "WebInfo", + "Wa__ClientPayload__WebInfo", + "wa", + sizeof(Wa__ClientPayload__WebInfo), + 4, + wa__client_payload__web_info__field_descriptors, + wa__client_payload__web_info__field_indices_by_name, + 1, wa__client_payload__web_info__number_ranges, + (ProtobufCMessageInit) wa__client_payload__web_info__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__client_payload__connect_reason__enum_values_by_number[6] = +{ + { "PUSH", "WA__CLIENT_PAYLOAD__CONNECT_REASON__PUSH", 0 }, + { "USER_ACTIVATED", "WA__CLIENT_PAYLOAD__CONNECT_REASON__USER_ACTIVATED", 1 }, + { "SCHEDULED", "WA__CLIENT_PAYLOAD__CONNECT_REASON__SCHEDULED", 2 }, + { "ERROR_RECONNECT", "WA__CLIENT_PAYLOAD__CONNECT_REASON__ERROR_RECONNECT", 3 }, + { "NETWORK_SWITCH", "WA__CLIENT_PAYLOAD__CONNECT_REASON__NETWORK_SWITCH", 4 }, + { "PING_RECONNECT", "WA__CLIENT_PAYLOAD__CONNECT_REASON__PING_RECONNECT", 5 }, +}; +static const ProtobufCIntRange wa__client_payload__connect_reason__value_ranges[] = { +{0, 0},{0, 6} +}; +static const ProtobufCEnumValueIndex wa__client_payload__connect_reason__enum_values_by_name[6] = +{ + { "ERROR_RECONNECT", 3 }, + { "NETWORK_SWITCH", 4 }, + { "PING_RECONNECT", 5 }, + { "PUSH", 0 }, + { "SCHEDULED", 2 }, + { "USER_ACTIVATED", 1 }, +}; +const ProtobufCEnumDescriptor wa__client_payload__connect_reason__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.ClientPayload.ConnectReason", + "ConnectReason", + "Wa__ClientPayload__ConnectReason", + "wa", + 6, + wa__client_payload__connect_reason__enum_values_by_number, + 6, + wa__client_payload__connect_reason__enum_values_by_name, + 1, + wa__client_payload__connect_reason__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCEnumValue wa__client_payload__connect_type__enum_values_by_number[15] = +{ + { "CELLULAR_UNKNOWN", "WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_UNKNOWN", 0 }, + { "WIFI_UNKNOWN", "WA__CLIENT_PAYLOAD__CONNECT_TYPE__WIFI_UNKNOWN", 1 }, + { "CELLULAR_EDGE", "WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_EDGE", 100 }, + { "CELLULAR_IDEN", "WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_IDEN", 101 }, + { "CELLULAR_UMTS", "WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_UMTS", 102 }, + { "CELLULAR_EVDO", "WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_EVDO", 103 }, + { "CELLULAR_GPRS", "WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_GPRS", 104 }, + { "CELLULAR_HSDPA", "WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_HSDPA", 105 }, + { "CELLULAR_HSUPA", "WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_HSUPA", 106 }, + { "CELLULAR_HSPA", "WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_HSPA", 107 }, + { "CELLULAR_CDMA", "WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_CDMA", 108 }, + { "CELLULAR_1XRTT", "WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_1XRTT", 109 }, + { "CELLULAR_EHRPD", "WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_EHRPD", 110 }, + { "CELLULAR_LTE", "WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_LTE", 111 }, + { "CELLULAR_HSPAP", "WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_HSPAP", 112 }, +}; +static const ProtobufCIntRange wa__client_payload__connect_type__value_ranges[] = { +{0, 0},{100, 2},{0, 15} +}; +static const ProtobufCEnumValueIndex wa__client_payload__connect_type__enum_values_by_name[15] = +{ + { "CELLULAR_1XRTT", 11 }, + { "CELLULAR_CDMA", 10 }, + { "CELLULAR_EDGE", 2 }, + { "CELLULAR_EHRPD", 12 }, + { "CELLULAR_EVDO", 5 }, + { "CELLULAR_GPRS", 6 }, + { "CELLULAR_HSDPA", 7 }, + { "CELLULAR_HSPA", 9 }, + { "CELLULAR_HSPAP", 14 }, + { "CELLULAR_HSUPA", 8 }, + { "CELLULAR_IDEN", 3 }, + { "CELLULAR_LTE", 13 }, + { "CELLULAR_UMTS", 4 }, + { "CELLULAR_UNKNOWN", 0 }, + { "WIFI_UNKNOWN", 1 }, +}; +const ProtobufCEnumDescriptor wa__client_payload__connect_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.ClientPayload.ConnectType", + "ConnectType", + "Wa__ClientPayload__ConnectType", + "wa", + 15, + wa__client_payload__connect_type__enum_values_by_number, + 15, + wa__client_payload__connect_type__enum_values_by_name, + 2, + wa__client_payload__connect_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCEnumValue wa__client_payload__iosapp_extension__enum_values_by_number[3] = +{ + { "SHARE_EXTENSION", "WA__CLIENT_PAYLOAD__IOSAPP_EXTENSION__SHARE_EXTENSION", 0 }, + { "SERVICE_EXTENSION", "WA__CLIENT_PAYLOAD__IOSAPP_EXTENSION__SERVICE_EXTENSION", 1 }, + { "INTENTS_EXTENSION", "WA__CLIENT_PAYLOAD__IOSAPP_EXTENSION__INTENTS_EXTENSION", 2 }, +}; +static const ProtobufCIntRange wa__client_payload__iosapp_extension__value_ranges[] = { +{0, 0},{0, 3} +}; +static const ProtobufCEnumValueIndex wa__client_payload__iosapp_extension__enum_values_by_name[3] = +{ + { "INTENTS_EXTENSION", 2 }, + { "SERVICE_EXTENSION", 1 }, + { "SHARE_EXTENSION", 0 }, +}; +const ProtobufCEnumDescriptor wa__client_payload__iosapp_extension__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.ClientPayload.IOSAppExtension", + "IOSAppExtension", + "Wa__ClientPayload__IOSAppExtension", + "wa", + 3, + wa__client_payload__iosapp_extension__enum_values_by_number, + 3, + wa__client_payload__iosapp_extension__enum_values_by_name, + 1, + wa__client_payload__iosapp_extension__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCEnumValue wa__client_payload__product__enum_values_by_number[2] = +{ + { "WHATSAPP", "WA__CLIENT_PAYLOAD__PRODUCT__WHATSAPP", 0 }, + { "MESSENGER", "WA__CLIENT_PAYLOAD__PRODUCT__MESSENGER", 1 }, +}; +static const ProtobufCIntRange wa__client_payload__product__value_ranges[] = { +{0, 0},{0, 2} +}; +static const ProtobufCEnumValueIndex wa__client_payload__product__enum_values_by_name[2] = +{ + { "MESSENGER", 1 }, + { "WHATSAPP", 0 }, +}; +const ProtobufCEnumDescriptor wa__client_payload__product__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.ClientPayload.Product", + "Product", + "Wa__ClientPayload__Product", + "wa", + 2, + wa__client_payload__product__enum_values_by_number, + 2, + wa__client_payload__product__enum_values_by_name, + 1, + wa__client_payload__product__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__client_payload__field_descriptors[24] = +{ + { + "username", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__ClientPayload, has_username), + offsetof(Wa__ClientPayload, username), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "passive", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__ClientPayload, has_passive), + offsetof(Wa__ClientPayload, passive), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "userAgent", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__ClientPayload, useragent), + &wa__client_payload__user_agent__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "webInfo", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__ClientPayload, webinfo), + &wa__client_payload__web_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pushName", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ClientPayload, pushname), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "sessionId", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_SFIXED32, + offsetof(Wa__ClientPayload, has_sessionid), + offsetof(Wa__ClientPayload, sessionid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "shortConnect", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__ClientPayload, has_shortconnect), + offsetof(Wa__ClientPayload, shortconnect), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "connectType", + 12, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__ClientPayload, has_connecttype), + offsetof(Wa__ClientPayload, connecttype), + &wa__client_payload__connect_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "connectReason", + 13, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__ClientPayload, has_connectreason), + offsetof(Wa__ClientPayload, connectreason), + &wa__client_payload__connect_reason__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "shards", + 14, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__ClientPayload, n_shards), + offsetof(Wa__ClientPayload, shards), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "dnsSource", + 15, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__ClientPayload, dnssource), + &wa__client_payload__dnssource__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "connectAttemptCount", + 16, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__ClientPayload, has_connectattemptcount), + offsetof(Wa__ClientPayload, connectattemptcount), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "device", + 18, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__ClientPayload, has_device), + offsetof(Wa__ClientPayload, device), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "devicePairingData", + 19, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__ClientPayload, devicepairingdata), + &wa__client_payload__device_pairing_registration_data__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "product", + 20, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__ClientPayload, has_product), + offsetof(Wa__ClientPayload, product), + &wa__client_payload__product__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fbCat", + 21, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ClientPayload, has_fbcat), + offsetof(Wa__ClientPayload, fbcat), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fbUserAgent", + 22, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ClientPayload, has_fbuseragent), + offsetof(Wa__ClientPayload, fbuseragent), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "oc", + 23, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__ClientPayload, has_oc), + offsetof(Wa__ClientPayload, oc), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "lc", + 24, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__ClientPayload, has_lc), + offsetof(Wa__ClientPayload, lc), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "iosAppExtension", + 30, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__ClientPayload, has_iosappextension), + offsetof(Wa__ClientPayload, iosappextension), + &wa__client_payload__iosapp_extension__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fbAppId", + 31, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__ClientPayload, has_fbappid), + offsetof(Wa__ClientPayload, fbappid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fbDeviceId", + 32, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ClientPayload, has_fbdeviceid), + offsetof(Wa__ClientPayload, fbdeviceid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pull", + 33, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__ClientPayload, has_pull), + offsetof(Wa__ClientPayload, pull), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "paddingBytes", + 34, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ClientPayload, has_paddingbytes), + offsetof(Wa__ClientPayload, paddingbytes), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__client_payload__field_indices_by_name[] = { + 11, /* field[11] = connectAttemptCount */ + 8, /* field[8] = connectReason */ + 7, /* field[7] = connectType */ + 12, /* field[12] = device */ + 13, /* field[13] = devicePairingData */ + 10, /* field[10] = dnsSource */ + 20, /* field[20] = fbAppId */ + 15, /* field[15] = fbCat */ + 21, /* field[21] = fbDeviceId */ + 16, /* field[16] = fbUserAgent */ + 19, /* field[19] = iosAppExtension */ + 18, /* field[18] = lc */ + 17, /* field[17] = oc */ + 23, /* field[23] = paddingBytes */ + 1, /* field[1] = passive */ + 14, /* field[14] = product */ + 22, /* field[22] = pull */ + 4, /* field[4] = pushName */ + 5, /* field[5] = sessionId */ + 9, /* field[9] = shards */ + 6, /* field[6] = shortConnect */ + 2, /* field[2] = userAgent */ + 0, /* field[0] = username */ + 3, /* field[3] = webInfo */ +}; +static const ProtobufCIntRange wa__client_payload__number_ranges[7 + 1] = +{ + { 1, 0 }, + { 3, 1 }, + { 5, 2 }, + { 9, 5 }, + { 12, 7 }, + { 18, 12 }, + { 30, 19 }, + { 0, 24 } +}; +const ProtobufCMessageDescriptor wa__client_payload__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.ClientPayload", + "ClientPayload", + "Wa__ClientPayload", + "wa", + sizeof(Wa__ClientPayload), + 24, + wa__client_payload__field_descriptors, + wa__client_payload__field_indices_by_name, + 7, wa__client_payload__number_ranges, + (ProtobufCMessageInit) wa__client_payload__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__context_info__ad_reply_info__media_type__enum_values_by_number[3] = +{ + { "NONE", "WA__CONTEXT_INFO__AD_REPLY_INFO__MEDIA_TYPE__NONE", 0 }, + { "IMAGE", "WA__CONTEXT_INFO__AD_REPLY_INFO__MEDIA_TYPE__IMAGE", 1 }, + { "VIDEO", "WA__CONTEXT_INFO__AD_REPLY_INFO__MEDIA_TYPE__VIDEO", 2 }, +}; +static const ProtobufCIntRange wa__context_info__ad_reply_info__media_type__value_ranges[] = { +{0, 0},{0, 3} +}; +static const ProtobufCEnumValueIndex wa__context_info__ad_reply_info__media_type__enum_values_by_name[3] = +{ + { "IMAGE", 1 }, + { "NONE", 0 }, + { "VIDEO", 2 }, +}; +const ProtobufCEnumDescriptor wa__context_info__ad_reply_info__media_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.ContextInfo.AdReplyInfo.MediaType", + "MediaType", + "Wa__ContextInfo__AdReplyInfo__MediaType", + "wa", + 3, + wa__context_info__ad_reply_info__media_type__enum_values_by_number, + 3, + wa__context_info__ad_reply_info__media_type__enum_values_by_name, + 1, + wa__context_info__ad_reply_info__media_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__context_info__ad_reply_info__field_descriptors[4] = +{ + { + "advertiserName", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo__AdReplyInfo, advertisername), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaType", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__ContextInfo__AdReplyInfo, has_mediatype), + offsetof(Wa__ContextInfo__AdReplyInfo, mediatype), + &wa__context_info__ad_reply_info__media_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "jpegThumbnail", + 16, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ContextInfo__AdReplyInfo, has_jpegthumbnail), + offsetof(Wa__ContextInfo__AdReplyInfo, jpegthumbnail), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "caption", + 17, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo__AdReplyInfo, caption), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__context_info__ad_reply_info__field_indices_by_name[] = { + 0, /* field[0] = advertiserName */ + 3, /* field[3] = caption */ + 2, /* field[2] = jpegThumbnail */ + 1, /* field[1] = mediaType */ +}; +static const ProtobufCIntRange wa__context_info__ad_reply_info__number_ranges[2 + 1] = +{ + { 1, 0 }, + { 16, 2 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__context_info__ad_reply_info__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.ContextInfo.AdReplyInfo", + "AdReplyInfo", + "Wa__ContextInfo__AdReplyInfo", + "wa", + sizeof(Wa__ContextInfo__AdReplyInfo), + 4, + wa__context_info__ad_reply_info__field_descriptors, + wa__context_info__ad_reply_info__field_indices_by_name, + 2, wa__context_info__ad_reply_info__number_ranges, + (ProtobufCMessageInit) wa__context_info__ad_reply_info__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__context_info__external_ad_reply_info__media_type__enum_values_by_number[3] = +{ + { "NONE", "WA__CONTEXT_INFO__EXTERNAL_AD_REPLY_INFO__MEDIA_TYPE__NONE", 0 }, + { "IMAGE", "WA__CONTEXT_INFO__EXTERNAL_AD_REPLY_INFO__MEDIA_TYPE__IMAGE", 1 }, + { "VIDEO", "WA__CONTEXT_INFO__EXTERNAL_AD_REPLY_INFO__MEDIA_TYPE__VIDEO", 2 }, +}; +static const ProtobufCIntRange wa__context_info__external_ad_reply_info__media_type__value_ranges[] = { +{0, 0},{0, 3} +}; +static const ProtobufCEnumValueIndex wa__context_info__external_ad_reply_info__media_type__enum_values_by_name[3] = +{ + { "IMAGE", 1 }, + { "NONE", 0 }, + { "VIDEO", 2 }, +}; +const ProtobufCEnumDescriptor wa__context_info__external_ad_reply_info__media_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.ContextInfo.ExternalAdReplyInfo.MediaType", + "MediaType", + "Wa__ContextInfo__ExternalAdReplyInfo__MediaType", + "wa", + 3, + wa__context_info__external_ad_reply_info__media_type__enum_values_by_number, + 3, + wa__context_info__external_ad_reply_info__media_type__enum_values_by_name, + 1, + wa__context_info__external_ad_reply_info__media_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__context_info__external_ad_reply_info__field_descriptors[12] = +{ + { + "title", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo__ExternalAdReplyInfo, title), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "body", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo__ExternalAdReplyInfo, body), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaType", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__ContextInfo__ExternalAdReplyInfo, has_mediatype), + offsetof(Wa__ContextInfo__ExternalAdReplyInfo, mediatype), + &wa__context_info__external_ad_reply_info__media_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "thumbnailUrl", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo__ExternalAdReplyInfo, thumbnailurl), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaUrl", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo__ExternalAdReplyInfo, mediaurl), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "thumbnail", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ContextInfo__ExternalAdReplyInfo, has_thumbnail), + offsetof(Wa__ContextInfo__ExternalAdReplyInfo, thumbnail), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "sourceType", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo__ExternalAdReplyInfo, sourcetype), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "sourceId", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo__ExternalAdReplyInfo, sourceid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "sourceUrl", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo__ExternalAdReplyInfo, sourceurl), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "containsAutoReply", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__ContextInfo__ExternalAdReplyInfo, has_containsautoreply), + offsetof(Wa__ContextInfo__ExternalAdReplyInfo, containsautoreply), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "renderLargerThumbnail", + 11, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__ContextInfo__ExternalAdReplyInfo, has_renderlargerthumbnail), + offsetof(Wa__ContextInfo__ExternalAdReplyInfo, renderlargerthumbnail), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "showAdAttribution", + 12, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__ContextInfo__ExternalAdReplyInfo, has_showadattribution), + offsetof(Wa__ContextInfo__ExternalAdReplyInfo, showadattribution), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__context_info__external_ad_reply_info__field_indices_by_name[] = { + 1, /* field[1] = body */ + 9, /* field[9] = containsAutoReply */ + 2, /* field[2] = mediaType */ + 4, /* field[4] = mediaUrl */ + 10, /* field[10] = renderLargerThumbnail */ + 11, /* field[11] = showAdAttribution */ + 7, /* field[7] = sourceId */ + 6, /* field[6] = sourceType */ + 8, /* field[8] = sourceUrl */ + 5, /* field[5] = thumbnail */ + 3, /* field[3] = thumbnailUrl */ + 0, /* field[0] = title */ +}; +static const ProtobufCIntRange wa__context_info__external_ad_reply_info__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 12 } +}; +const ProtobufCMessageDescriptor wa__context_info__external_ad_reply_info__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.ContextInfo.ExternalAdReplyInfo", + "ExternalAdReplyInfo", + "Wa__ContextInfo__ExternalAdReplyInfo", + "wa", + sizeof(Wa__ContextInfo__ExternalAdReplyInfo), + 12, + wa__context_info__external_ad_reply_info__field_descriptors, + wa__context_info__external_ad_reply_info__field_indices_by_name, + 1, wa__context_info__external_ad_reply_info__number_ranges, + (ProtobufCMessageInit) wa__context_info__external_ad_reply_info__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__context_info__field_descriptors[23] = +{ + { + "stanzaId", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo, stanzaid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "participant", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo, participant), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "quotedMessage", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo, quotedmessage), + &wa__message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "remoteJid", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo, remotejid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mentionedJid", + 15, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_STRING, + offsetof(Wa__ContextInfo, n_mentionedjid), + offsetof(Wa__ContextInfo, mentionedjid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "conversionSource", + 18, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo, conversionsource), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "conversionData", + 19, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ContextInfo, has_conversiondata), + offsetof(Wa__ContextInfo, conversiondata), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "conversionDelaySeconds", + 20, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__ContextInfo, has_conversiondelayseconds), + offsetof(Wa__ContextInfo, conversiondelayseconds), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "forwardingScore", + 21, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__ContextInfo, has_forwardingscore), + offsetof(Wa__ContextInfo, forwardingscore), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "isForwarded", + 22, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__ContextInfo, has_isforwarded), + offsetof(Wa__ContextInfo, isforwarded), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "quotedAd", + 23, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo, quotedad), + &wa__context_info__ad_reply_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "placeholderKey", + 24, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo, placeholderkey), + &wa__message_key__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "expiration", + 25, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__ContextInfo, has_expiration), + offsetof(Wa__ContextInfo, expiration), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ephemeralSettingTimestamp", + 26, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__ContextInfo, has_ephemeralsettingtimestamp), + offsetof(Wa__ContextInfo, ephemeralsettingtimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ephemeralSharedSecret", + 27, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ContextInfo, has_ephemeralsharedsecret), + offsetof(Wa__ContextInfo, ephemeralsharedsecret), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "externalAdReply", + 28, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo, externaladreply), + &wa__context_info__external_ad_reply_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "entryPointConversionSource", + 29, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo, entrypointconversionsource), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "entryPointConversionApp", + 30, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo, entrypointconversionapp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "entryPointConversionDelaySeconds", + 31, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__ContextInfo, has_entrypointconversiondelayseconds), + offsetof(Wa__ContextInfo, entrypointconversiondelayseconds), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "disappearingMode", + 32, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo, disappearingmode), + &wa__disappearing_mode__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "actionLink", + 33, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo, actionlink), + &wa__action_link__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "groupSubject", + 34, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo, groupsubject), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "parentGroupJid", + 35, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo, parentgroupjid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__context_info__field_indices_by_name[] = { + 20, /* field[20] = actionLink */ + 6, /* field[6] = conversionData */ + 7, /* field[7] = conversionDelaySeconds */ + 5, /* field[5] = conversionSource */ + 19, /* field[19] = disappearingMode */ + 17, /* field[17] = entryPointConversionApp */ + 18, /* field[18] = entryPointConversionDelaySeconds */ + 16, /* field[16] = entryPointConversionSource */ + 13, /* field[13] = ephemeralSettingTimestamp */ + 14, /* field[14] = ephemeralSharedSecret */ + 12, /* field[12] = expiration */ + 15, /* field[15] = externalAdReply */ + 8, /* field[8] = forwardingScore */ + 21, /* field[21] = groupSubject */ + 9, /* field[9] = isForwarded */ + 4, /* field[4] = mentionedJid */ + 22, /* field[22] = parentGroupJid */ + 1, /* field[1] = participant */ + 11, /* field[11] = placeholderKey */ + 10, /* field[10] = quotedAd */ + 2, /* field[2] = quotedMessage */ + 3, /* field[3] = remoteJid */ + 0, /* field[0] = stanzaId */ +}; +static const ProtobufCIntRange wa__context_info__number_ranges[3 + 1] = +{ + { 1, 0 }, + { 15, 4 }, + { 18, 5 }, + { 0, 23 } +}; +const ProtobufCMessageDescriptor wa__context_info__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.ContextInfo", + "ContextInfo", + "Wa__ContextInfo", + "wa", + sizeof(Wa__ContextInfo), + 23, + wa__context_info__field_descriptors, + wa__context_info__field_indices_by_name, + 3, wa__context_info__number_ranges, + (ProtobufCMessageInit) wa__context_info__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__conversation__end_of_history_transfer_type__enum_values_by_number[2] = +{ + { "COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY", "WA__CONVERSATION__END_OF_HISTORY_TRANSFER_TYPE__COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY", 0 }, + { "COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY", "WA__CONVERSATION__END_OF_HISTORY_TRANSFER_TYPE__COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY", 1 }, +}; +static const ProtobufCIntRange wa__conversation__end_of_history_transfer_type__value_ranges[] = { +{0, 0},{0, 2} +}; +static const ProtobufCEnumValueIndex wa__conversation__end_of_history_transfer_type__enum_values_by_name[2] = +{ + { "COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY", 1 }, + { "COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY", 0 }, +}; +const ProtobufCEnumDescriptor wa__conversation__end_of_history_transfer_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.Conversation.EndOfHistoryTransferType", + "EndOfHistoryTransferType", + "Wa__Conversation__EndOfHistoryTransferType", + "wa", + 2, + wa__conversation__end_of_history_transfer_type__enum_values_by_number, + 2, + wa__conversation__end_of_history_transfer_type__enum_values_by_name, + 1, + wa__conversation__end_of_history_transfer_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__conversation__field_descriptors[40] = +{ + { + "id", + 1, + PROTOBUF_C_LABEL_REQUIRED, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Conversation, id), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "messages", + 2, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Conversation, n_messages), + offsetof(Wa__Conversation, messages), + &wa__history_sync_msg__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "newJid", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Conversation, newjid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "oldJid", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Conversation, oldjid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "lastMsgTimestamp", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__Conversation, has_lastmsgtimestamp), + offsetof(Wa__Conversation, lastmsgtimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "unreadCount", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Conversation, has_unreadcount), + offsetof(Wa__Conversation, unreadcount), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "readOnly", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Conversation, has_readonly), + offsetof(Wa__Conversation, readonly), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "endOfHistoryTransfer", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Conversation, has_endofhistorytransfer), + offsetof(Wa__Conversation, endofhistorytransfer), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ephemeralExpiration", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Conversation, has_ephemeralexpiration), + offsetof(Wa__Conversation, ephemeralexpiration), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ephemeralSettingTimestamp", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Conversation, has_ephemeralsettingtimestamp), + offsetof(Wa__Conversation, ephemeralsettingtimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "endOfHistoryTransferType", + 11, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Conversation, has_endofhistorytransfertype), + offsetof(Wa__Conversation, endofhistorytransfertype), + &wa__conversation__end_of_history_transfer_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "conversationTimestamp", + 12, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__Conversation, has_conversationtimestamp), + offsetof(Wa__Conversation, conversationtimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "name", + 13, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Conversation, name), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pHash", + 14, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Conversation, phash), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "notSpam", + 15, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Conversation, has_notspam), + offsetof(Wa__Conversation, notspam), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "archived", + 16, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Conversation, has_archived), + offsetof(Wa__Conversation, archived), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "disappearingMode", + 17, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Conversation, disappearingmode), + &wa__disappearing_mode__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "unreadMentionCount", + 18, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Conversation, has_unreadmentioncount), + offsetof(Wa__Conversation, unreadmentioncount), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "markedAsUnread", + 19, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Conversation, has_markedasunread), + offsetof(Wa__Conversation, markedasunread), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "participant", + 20, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Conversation, n_participant), + offsetof(Wa__Conversation, participant), + &wa__group_participant__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "tcToken", + 21, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Conversation, has_tctoken), + offsetof(Wa__Conversation, tctoken), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "tcTokenTimestamp", + 22, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__Conversation, has_tctokentimestamp), + offsetof(Wa__Conversation, tctokentimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contactPrimaryIdentityKey", + 23, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Conversation, has_contactprimaryidentitykey), + offsetof(Wa__Conversation, contactprimaryidentitykey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pinned", + 24, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Conversation, has_pinned), + offsetof(Wa__Conversation, pinned), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "muteEndTime", + 25, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__Conversation, has_muteendtime), + offsetof(Wa__Conversation, muteendtime), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "wallpaper", + 26, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Conversation, wallpaper), + &wa__wallpaper_settings__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaVisibility", + 27, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Conversation, has_mediavisibility), + offsetof(Wa__Conversation, mediavisibility), + &wa__media_visibility__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "tcTokenSenderTimestamp", + 28, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__Conversation, has_tctokensendertimestamp), + offsetof(Wa__Conversation, tctokensendertimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "suspended", + 29, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Conversation, has_suspended), + offsetof(Wa__Conversation, suspended), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "terminated", + 30, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Conversation, has_terminated), + offsetof(Wa__Conversation, terminated), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "createdAt", + 31, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__Conversation, has_createdat), + offsetof(Wa__Conversation, createdat), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "createdBy", + 32, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Conversation, createdby), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "description", + 33, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Conversation, description), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "support", + 34, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Conversation, has_support), + offsetof(Wa__Conversation, support), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "isParentGroup", + 35, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Conversation, has_isparentgroup), + offsetof(Wa__Conversation, isparentgroup), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "isDefaultSubgroup", + 36, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Conversation, has_isdefaultsubgroup), + offsetof(Wa__Conversation, isdefaultsubgroup), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "parentGroupId", + 37, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Conversation, parentgroupid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "displayName", + 38, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Conversation, displayname), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pnJid", + 39, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Conversation, pnjid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "selfPnExposed", + 40, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Conversation, has_selfpnexposed), + offsetof(Wa__Conversation, selfpnexposed), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__conversation__field_indices_by_name[] = { + 15, /* field[15] = archived */ + 22, /* field[22] = contactPrimaryIdentityKey */ + 11, /* field[11] = conversationTimestamp */ + 30, /* field[30] = createdAt */ + 31, /* field[31] = createdBy */ + 32, /* field[32] = description */ + 16, /* field[16] = disappearingMode */ + 37, /* field[37] = displayName */ + 7, /* field[7] = endOfHistoryTransfer */ + 10, /* field[10] = endOfHistoryTransferType */ + 8, /* field[8] = ephemeralExpiration */ + 9, /* field[9] = ephemeralSettingTimestamp */ + 0, /* field[0] = id */ + 35, /* field[35] = isDefaultSubgroup */ + 34, /* field[34] = isParentGroup */ + 4, /* field[4] = lastMsgTimestamp */ + 18, /* field[18] = markedAsUnread */ + 26, /* field[26] = mediaVisibility */ + 1, /* field[1] = messages */ + 24, /* field[24] = muteEndTime */ + 12, /* field[12] = name */ + 2, /* field[2] = newJid */ + 14, /* field[14] = notSpam */ + 3, /* field[3] = oldJid */ + 13, /* field[13] = pHash */ + 36, /* field[36] = parentGroupId */ + 19, /* field[19] = participant */ + 23, /* field[23] = pinned */ + 38, /* field[38] = pnJid */ + 6, /* field[6] = readOnly */ + 39, /* field[39] = selfPnExposed */ + 33, /* field[33] = support */ + 28, /* field[28] = suspended */ + 20, /* field[20] = tcToken */ + 27, /* field[27] = tcTokenSenderTimestamp */ + 21, /* field[21] = tcTokenTimestamp */ + 29, /* field[29] = terminated */ + 5, /* field[5] = unreadCount */ + 17, /* field[17] = unreadMentionCount */ + 25, /* field[25] = wallpaper */ +}; +static const ProtobufCIntRange wa__conversation__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 40 } +}; +const ProtobufCMessageDescriptor wa__conversation__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Conversation", + "Conversation", + "Wa__Conversation", + "wa", + sizeof(Wa__Conversation), + 40, + wa__conversation__field_descriptors, + wa__conversation__field_indices_by_name, + 1, wa__conversation__number_ranges, + (ProtobufCMessageInit) wa__conversation__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__device_list_metadata__field_descriptors[6] = +{ + { + "senderKeyHash", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__DeviceListMetadata, has_senderkeyhash), + offsetof(Wa__DeviceListMetadata, senderkeyhash), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "senderTimestamp", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__DeviceListMetadata, has_sendertimestamp), + offsetof(Wa__DeviceListMetadata, sendertimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "senderKeyIndexes", + 3, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__DeviceListMetadata, n_senderkeyindexes), + offsetof(Wa__DeviceListMetadata, senderkeyindexes), + NULL, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_PACKED, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "recipientKeyHash", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__DeviceListMetadata, has_recipientkeyhash), + offsetof(Wa__DeviceListMetadata, recipientkeyhash), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "recipientTimestamp", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__DeviceListMetadata, has_recipienttimestamp), + offsetof(Wa__DeviceListMetadata, recipienttimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "recipientKeyIndexes", + 10, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__DeviceListMetadata, n_recipientkeyindexes), + offsetof(Wa__DeviceListMetadata, recipientkeyindexes), + NULL, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_PACKED, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__device_list_metadata__field_indices_by_name[] = { + 3, /* field[3] = recipientKeyHash */ + 5, /* field[5] = recipientKeyIndexes */ + 4, /* field[4] = recipientTimestamp */ + 0, /* field[0] = senderKeyHash */ + 2, /* field[2] = senderKeyIndexes */ + 1, /* field[1] = senderTimestamp */ +}; +static const ProtobufCIntRange wa__device_list_metadata__number_ranges[2 + 1] = +{ + { 1, 0 }, + { 8, 3 }, + { 0, 6 } +}; +const ProtobufCMessageDescriptor wa__device_list_metadata__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.DeviceListMetadata", + "DeviceListMetadata", + "Wa__DeviceListMetadata", + "wa", + sizeof(Wa__DeviceListMetadata), + 6, + wa__device_list_metadata__field_descriptors, + wa__device_list_metadata__field_indices_by_name, + 2, wa__device_list_metadata__number_ranges, + (ProtobufCMessageInit) wa__device_list_metadata__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__device_props__app_version__field_descriptors[5] = +{ + { + "primary", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__DeviceProps__AppVersion, has_primary), + offsetof(Wa__DeviceProps__AppVersion, primary), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "secondary", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__DeviceProps__AppVersion, has_secondary), + offsetof(Wa__DeviceProps__AppVersion, secondary), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "tertiary", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__DeviceProps__AppVersion, has_tertiary), + offsetof(Wa__DeviceProps__AppVersion, tertiary), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "quaternary", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__DeviceProps__AppVersion, has_quaternary), + offsetof(Wa__DeviceProps__AppVersion, quaternary), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "quinary", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__DeviceProps__AppVersion, has_quinary), + offsetof(Wa__DeviceProps__AppVersion, quinary), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__device_props__app_version__field_indices_by_name[] = { + 0, /* field[0] = primary */ + 3, /* field[3] = quaternary */ + 4, /* field[4] = quinary */ + 1, /* field[1] = secondary */ + 2, /* field[2] = tertiary */ +}; +static const ProtobufCIntRange wa__device_props__app_version__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 5 } +}; +const ProtobufCMessageDescriptor wa__device_props__app_version__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.DeviceProps.AppVersion", + "AppVersion", + "Wa__DeviceProps__AppVersion", + "wa", + sizeof(Wa__DeviceProps__AppVersion), + 5, + wa__device_props__app_version__field_descriptors, + wa__device_props__app_version__field_indices_by_name, + 1, wa__device_props__app_version__number_ranges, + (ProtobufCMessageInit) wa__device_props__app_version__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__device_props__platform_type__enum_values_by_number[14] = +{ + { "UNKNOWN", "WA__DEVICE_PROPS__PLATFORM_TYPE__UNKNOWN", 0 }, + { "CHROME", "WA__DEVICE_PROPS__PLATFORM_TYPE__CHROME", 1 }, + { "FIREFOX", "WA__DEVICE_PROPS__PLATFORM_TYPE__FIREFOX", 2 }, + { "IE", "WA__DEVICE_PROPS__PLATFORM_TYPE__IE", 3 }, + { "OPERA", "WA__DEVICE_PROPS__PLATFORM_TYPE__OPERA", 4 }, + { "SAFARI", "WA__DEVICE_PROPS__PLATFORM_TYPE__SAFARI", 5 }, + { "EDGE", "WA__DEVICE_PROPS__PLATFORM_TYPE__EDGE", 6 }, + { "DESKTOP", "WA__DEVICE_PROPS__PLATFORM_TYPE__DESKTOP", 7 }, + { "IPAD", "WA__DEVICE_PROPS__PLATFORM_TYPE__IPAD", 8 }, + { "ANDROID_TABLET", "WA__DEVICE_PROPS__PLATFORM_TYPE__ANDROID_TABLET", 9 }, + { "OHANA", "WA__DEVICE_PROPS__PLATFORM_TYPE__OHANA", 10 }, + { "ALOHA", "WA__DEVICE_PROPS__PLATFORM_TYPE__ALOHA", 11 }, + { "CATALINA", "WA__DEVICE_PROPS__PLATFORM_TYPE__CATALINA", 12 }, + { "TCL_TV", "WA__DEVICE_PROPS__PLATFORM_TYPE__TCL_TV", 13 }, +}; +static const ProtobufCIntRange wa__device_props__platform_type__value_ranges[] = { +{0, 0},{0, 14} +}; +static const ProtobufCEnumValueIndex wa__device_props__platform_type__enum_values_by_name[14] = +{ + { "ALOHA", 11 }, + { "ANDROID_TABLET", 9 }, + { "CATALINA", 12 }, + { "CHROME", 1 }, + { "DESKTOP", 7 }, + { "EDGE", 6 }, + { "FIREFOX", 2 }, + { "IE", 3 }, + { "IPAD", 8 }, + { "OHANA", 10 }, + { "OPERA", 4 }, + { "SAFARI", 5 }, + { "TCL_TV", 13 }, + { "UNKNOWN", 0 }, +}; +const ProtobufCEnumDescriptor wa__device_props__platform_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.DeviceProps.PlatformType", + "PlatformType", + "Wa__DeviceProps__PlatformType", + "wa", + 14, + wa__device_props__platform_type__enum_values_by_number, + 14, + wa__device_props__platform_type__enum_values_by_name, + 1, + wa__device_props__platform_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__device_props__field_descriptors[4] = +{ + { + "os", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__DeviceProps, os), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "version", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__DeviceProps, version), + &wa__device_props__app_version__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "platformType", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__DeviceProps, has_platformtype), + offsetof(Wa__DeviceProps, platformtype), + &wa__device_props__platform_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "requireFullSync", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__DeviceProps, has_requirefullsync), + offsetof(Wa__DeviceProps, requirefullsync), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__device_props__field_indices_by_name[] = { + 0, /* field[0] = os */ + 2, /* field[2] = platformType */ + 3, /* field[3] = requireFullSync */ + 1, /* field[1] = version */ +}; +static const ProtobufCIntRange wa__device_props__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__device_props__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.DeviceProps", + "DeviceProps", + "Wa__DeviceProps", + "wa", + sizeof(Wa__DeviceProps), + 4, + wa__device_props__field_descriptors, + wa__device_props__field_indices_by_name, + 1, wa__device_props__number_ranges, + (ProtobufCMessageInit) wa__device_props__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__disappearing_mode__initiator__enum_values_by_number[3] = +{ + { "CHANGED_IN_CHAT", "WA__DISAPPEARING_MODE__INITIATOR__CHANGED_IN_CHAT", 0 }, + { "INITIATED_BY_ME", "WA__DISAPPEARING_MODE__INITIATOR__INITIATED_BY_ME", 1 }, + { "INITIATED_BY_OTHER", "WA__DISAPPEARING_MODE__INITIATOR__INITIATED_BY_OTHER", 2 }, +}; +static const ProtobufCIntRange wa__disappearing_mode__initiator__value_ranges[] = { +{0, 0},{0, 3} +}; +static const ProtobufCEnumValueIndex wa__disappearing_mode__initiator__enum_values_by_name[3] = +{ + { "CHANGED_IN_CHAT", 0 }, + { "INITIATED_BY_ME", 1 }, + { "INITIATED_BY_OTHER", 2 }, +}; +const ProtobufCEnumDescriptor wa__disappearing_mode__initiator__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.DisappearingMode.Initiator", + "Initiator", + "Wa__DisappearingMode__Initiator", + "wa", + 3, + wa__disappearing_mode__initiator__enum_values_by_number, + 3, + wa__disappearing_mode__initiator__enum_values_by_name, + 1, + wa__disappearing_mode__initiator__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__disappearing_mode__field_descriptors[1] = +{ + { + "initiator", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__DisappearingMode, has_initiator), + offsetof(Wa__DisappearingMode, initiator), + &wa__disappearing_mode__initiator__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__disappearing_mode__field_indices_by_name[] = { + 0, /* field[0] = initiator */ +}; +static const ProtobufCIntRange wa__disappearing_mode__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__disappearing_mode__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.DisappearingMode", + "DisappearingMode", + "Wa__DisappearingMode", + "wa", + sizeof(Wa__DisappearingMode), + 1, + wa__disappearing_mode__field_descriptors, + wa__disappearing_mode__field_indices_by_name, + 1, wa__disappearing_mode__number_ranges, + (ProtobufCMessageInit) wa__disappearing_mode__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__ephemeral_setting__field_descriptors[2] = +{ + { + "duration", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_SFIXED32, + offsetof(Wa__EphemeralSetting, has_duration), + offsetof(Wa__EphemeralSetting, duration), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "timestamp", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_SFIXED64, + offsetof(Wa__EphemeralSetting, has_timestamp), + offsetof(Wa__EphemeralSetting, timestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__ephemeral_setting__field_indices_by_name[] = { + 0, /* field[0] = duration */ + 1, /* field[1] = timestamp */ +}; +static const ProtobufCIntRange wa__ephemeral_setting__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__ephemeral_setting__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.EphemeralSetting", + "EphemeralSetting", + "Wa__EphemeralSetting", + "wa", + sizeof(Wa__EphemeralSetting), + 2, + wa__ephemeral_setting__field_descriptors, + wa__ephemeral_setting__field_indices_by_name, + 1, wa__ephemeral_setting__number_ranges, + (ProtobufCMessageInit) wa__ephemeral_setting__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__exit_code__field_descriptors[2] = +{ + { + "code", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__ExitCode, has_code), + offsetof(Wa__ExitCode, code), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "text", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ExitCode, text), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__exit_code__field_indices_by_name[] = { + 0, /* field[0] = code */ + 1, /* field[1] = text */ +}; +static const ProtobufCIntRange wa__exit_code__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__exit_code__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.ExitCode", + "ExitCode", + "Wa__ExitCode", + "wa", + sizeof(Wa__ExitCode), + 2, + wa__exit_code__field_descriptors, + wa__exit_code__field_indices_by_name, + 1, wa__exit_code__number_ranges, + (ProtobufCMessageInit) wa__exit_code__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__external_blob_reference__field_descriptors[6] = +{ + { + "mediaKey", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ExternalBlobReference, has_mediakey), + offsetof(Wa__ExternalBlobReference, mediakey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "directPath", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ExternalBlobReference, directpath), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "handle", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ExternalBlobReference, handle), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileSizeBytes", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__ExternalBlobReference, has_filesizebytes), + offsetof(Wa__ExternalBlobReference, filesizebytes), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileSha256", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ExternalBlobReference, has_filesha256), + offsetof(Wa__ExternalBlobReference, filesha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileEncSha256", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ExternalBlobReference, has_fileencsha256), + offsetof(Wa__ExternalBlobReference, fileencsha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__external_blob_reference__field_indices_by_name[] = { + 1, /* field[1] = directPath */ + 5, /* field[5] = fileEncSha256 */ + 4, /* field[4] = fileSha256 */ + 3, /* field[3] = fileSizeBytes */ + 2, /* field[2] = handle */ + 0, /* field[0] = mediaKey */ +}; +static const ProtobufCIntRange wa__external_blob_reference__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 6 } +}; +const ProtobufCMessageDescriptor wa__external_blob_reference__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.ExternalBlobReference", + "ExternalBlobReference", + "Wa__ExternalBlobReference", + "wa", + sizeof(Wa__ExternalBlobReference), + 6, + wa__external_blob_reference__field_descriptors, + wa__external_blob_reference__field_indices_by_name, + 1, wa__external_blob_reference__number_ranges, + (ProtobufCMessageInit) wa__external_blob_reference__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__global_settings__field_descriptors[10] = +{ + { + "lightThemeWallpaper", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__GlobalSettings, lightthemewallpaper), + &wa__wallpaper_settings__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaVisibility", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__GlobalSettings, has_mediavisibility), + offsetof(Wa__GlobalSettings, mediavisibility), + &wa__media_visibility__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "darkThemeWallpaper", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__GlobalSettings, darkthemewallpaper), + &wa__wallpaper_settings__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "autoDownloadWiFi", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__GlobalSettings, autodownloadwifi), + &wa__auto_download_settings__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "autoDownloadCellular", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__GlobalSettings, autodownloadcellular), + &wa__auto_download_settings__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "autoDownloadRoaming", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__GlobalSettings, autodownloadroaming), + &wa__auto_download_settings__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "showIndividualNotificationsPreview", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__GlobalSettings, has_showindividualnotificationspreview), + offsetof(Wa__GlobalSettings, showindividualnotificationspreview), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "showGroupNotificationsPreview", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__GlobalSettings, has_showgroupnotificationspreview), + offsetof(Wa__GlobalSettings, showgroupnotificationspreview), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "disappearingModeDuration", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__GlobalSettings, has_disappearingmodeduration), + offsetof(Wa__GlobalSettings, disappearingmodeduration), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "disappearingModeTimestamp", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__GlobalSettings, has_disappearingmodetimestamp), + offsetof(Wa__GlobalSettings, disappearingmodetimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__global_settings__field_indices_by_name[] = { + 4, /* field[4] = autoDownloadCellular */ + 5, /* field[5] = autoDownloadRoaming */ + 3, /* field[3] = autoDownloadWiFi */ + 2, /* field[2] = darkThemeWallpaper */ + 8, /* field[8] = disappearingModeDuration */ + 9, /* field[9] = disappearingModeTimestamp */ + 0, /* field[0] = lightThemeWallpaper */ + 1, /* field[1] = mediaVisibility */ + 7, /* field[7] = showGroupNotificationsPreview */ + 6, /* field[6] = showIndividualNotificationsPreview */ +}; +static const ProtobufCIntRange wa__global_settings__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 10 } +}; +const ProtobufCMessageDescriptor wa__global_settings__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.GlobalSettings", + "GlobalSettings", + "Wa__GlobalSettings", + "wa", + sizeof(Wa__GlobalSettings), + 10, + wa__global_settings__field_descriptors, + wa__global_settings__field_indices_by_name, + 1, wa__global_settings__number_ranges, + (ProtobufCMessageInit) wa__global_settings__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__group_participant__rank__enum_values_by_number[3] = +{ + { "REGULAR", "WA__GROUP_PARTICIPANT__RANK__REGULAR", 0 }, + { "ADMIN", "WA__GROUP_PARTICIPANT__RANK__ADMIN", 1 }, + { "SUPERADMIN", "WA__GROUP_PARTICIPANT__RANK__SUPERADMIN", 2 }, +}; +static const ProtobufCIntRange wa__group_participant__rank__value_ranges[] = { +{0, 0},{0, 3} +}; +static const ProtobufCEnumValueIndex wa__group_participant__rank__enum_values_by_name[3] = +{ + { "ADMIN", 1 }, + { "REGULAR", 0 }, + { "SUPERADMIN", 2 }, +}; +const ProtobufCEnumDescriptor wa__group_participant__rank__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.GroupParticipant.Rank", + "Rank", + "Wa__GroupParticipant__Rank", + "wa", + 3, + wa__group_participant__rank__enum_values_by_number, + 3, + wa__group_participant__rank__enum_values_by_name, + 1, + wa__group_participant__rank__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__group_participant__field_descriptors[2] = +{ + { + "userJid", + 1, + PROTOBUF_C_LABEL_REQUIRED, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__GroupParticipant, userjid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "rank", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__GroupParticipant, has_rank), + offsetof(Wa__GroupParticipant, rank), + &wa__group_participant__rank__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__group_participant__field_indices_by_name[] = { + 1, /* field[1] = rank */ + 0, /* field[0] = userJid */ +}; +static const ProtobufCIntRange wa__group_participant__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__group_participant__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.GroupParticipant", + "GroupParticipant", + "Wa__GroupParticipant", + "wa", + sizeof(Wa__GroupParticipant), + 2, + wa__group_participant__field_descriptors, + wa__group_participant__field_indices_by_name, + 1, wa__group_participant__number_ranges, + (ProtobufCMessageInit) wa__group_participant__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__handshake_message__client_finish__field_descriptors[2] = +{ + { + "static", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__HandshakeMessage__ClientFinish, has_static_), + offsetof(Wa__HandshakeMessage__ClientFinish, static_), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "payload", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__HandshakeMessage__ClientFinish, has_payload), + offsetof(Wa__HandshakeMessage__ClientFinish, payload), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__handshake_message__client_finish__field_indices_by_name[] = { + 1, /* field[1] = payload */ + 0, /* field[0] = static */ +}; +static const ProtobufCIntRange wa__handshake_message__client_finish__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__handshake_message__client_finish__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.HandshakeMessage.ClientFinish", + "ClientFinish", + "Wa__HandshakeMessage__ClientFinish", + "wa", + sizeof(Wa__HandshakeMessage__ClientFinish), + 2, + wa__handshake_message__client_finish__field_descriptors, + wa__handshake_message__client_finish__field_indices_by_name, + 1, wa__handshake_message__client_finish__number_ranges, + (ProtobufCMessageInit) wa__handshake_message__client_finish__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__handshake_message__client_hello__field_descriptors[3] = +{ + { + "ephemeral", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__HandshakeMessage__ClientHello, has_ephemeral), + offsetof(Wa__HandshakeMessage__ClientHello, ephemeral), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "static", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__HandshakeMessage__ClientHello, has_static_), + offsetof(Wa__HandshakeMessage__ClientHello, static_), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "payload", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__HandshakeMessage__ClientHello, has_payload), + offsetof(Wa__HandshakeMessage__ClientHello, payload), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__handshake_message__client_hello__field_indices_by_name[] = { + 0, /* field[0] = ephemeral */ + 2, /* field[2] = payload */ + 1, /* field[1] = static */ +}; +static const ProtobufCIntRange wa__handshake_message__client_hello__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__handshake_message__client_hello__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.HandshakeMessage.ClientHello", + "ClientHello", + "Wa__HandshakeMessage__ClientHello", + "wa", + sizeof(Wa__HandshakeMessage__ClientHello), + 3, + wa__handshake_message__client_hello__field_descriptors, + wa__handshake_message__client_hello__field_indices_by_name, + 1, wa__handshake_message__client_hello__number_ranges, + (ProtobufCMessageInit) wa__handshake_message__client_hello__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__handshake_message__server_hello__field_descriptors[3] = +{ + { + "ephemeral", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__HandshakeMessage__ServerHello, has_ephemeral), + offsetof(Wa__HandshakeMessage__ServerHello, ephemeral), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "static", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__HandshakeMessage__ServerHello, has_static_), + offsetof(Wa__HandshakeMessage__ServerHello, static_), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "payload", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__HandshakeMessage__ServerHello, has_payload), + offsetof(Wa__HandshakeMessage__ServerHello, payload), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__handshake_message__server_hello__field_indices_by_name[] = { + 0, /* field[0] = ephemeral */ + 2, /* field[2] = payload */ + 1, /* field[1] = static */ +}; +static const ProtobufCIntRange wa__handshake_message__server_hello__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__handshake_message__server_hello__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.HandshakeMessage.ServerHello", + "ServerHello", + "Wa__HandshakeMessage__ServerHello", + "wa", + sizeof(Wa__HandshakeMessage__ServerHello), + 3, + wa__handshake_message__server_hello__field_descriptors, + wa__handshake_message__server_hello__field_indices_by_name, + 1, wa__handshake_message__server_hello__number_ranges, + (ProtobufCMessageInit) wa__handshake_message__server_hello__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__handshake_message__field_descriptors[3] = +{ + { + "clientHello", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__HandshakeMessage, clienthello), + &wa__handshake_message__client_hello__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "serverHello", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__HandshakeMessage, serverhello), + &wa__handshake_message__server_hello__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "clientFinish", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__HandshakeMessage, clientfinish), + &wa__handshake_message__client_finish__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__handshake_message__field_indices_by_name[] = { + 2, /* field[2] = clientFinish */ + 0, /* field[0] = clientHello */ + 1, /* field[1] = serverHello */ +}; +static const ProtobufCIntRange wa__handshake_message__number_ranges[1 + 1] = +{ + { 2, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__handshake_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.HandshakeMessage", + "HandshakeMessage", + "Wa__HandshakeMessage", + "wa", + sizeof(Wa__HandshakeMessage), + 3, + wa__handshake_message__field_descriptors, + wa__handshake_message__field_indices_by_name, + 1, wa__handshake_message__number_ranges, + (ProtobufCMessageInit) wa__handshake_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__history_sync__history_sync_type__enum_values_by_number[6] = +{ + { "INITIAL_BOOTSTRAP", "WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__INITIAL_BOOTSTRAP", 0 }, + { "INITIAL_STATUS_V3", "WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__INITIAL_STATUS_V3", 1 }, + { "FULL", "WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__FULL", 2 }, + { "RECENT", "WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__RECENT", 3 }, + { "PUSH_NAME", "WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__PUSH_NAME", 4 }, + { "UNBLOCKING_DATA", "WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__UNBLOCKING_DATA", 5 }, +}; +static const ProtobufCIntRange wa__history_sync__history_sync_type__value_ranges[] = { +{0, 0},{0, 6} +}; +static const ProtobufCEnumValueIndex wa__history_sync__history_sync_type__enum_values_by_name[6] = +{ + { "FULL", 2 }, + { "INITIAL_BOOTSTRAP", 0 }, + { "INITIAL_STATUS_V3", 1 }, + { "PUSH_NAME", 4 }, + { "RECENT", 3 }, + { "UNBLOCKING_DATA", 5 }, +}; +const ProtobufCEnumDescriptor wa__history_sync__history_sync_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.HistorySync.HistorySyncType", + "HistorySyncType", + "Wa__HistorySync__HistorySyncType", + "wa", + 6, + wa__history_sync__history_sync_type__enum_values_by_number, + 6, + wa__history_sync__history_sync_type__enum_values_by_name, + 1, + wa__history_sync__history_sync_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__history_sync__field_descriptors[11] = +{ + { + "syncType", + 1, + PROTOBUF_C_LABEL_REQUIRED, + PROTOBUF_C_TYPE_ENUM, + 0, /* quantifier_offset */ + offsetof(Wa__HistorySync, synctype), + &wa__history_sync__history_sync_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "conversations", + 2, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__HistorySync, n_conversations), + offsetof(Wa__HistorySync, conversations), + &wa__conversation__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "statusV3Messages", + 3, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__HistorySync, n_statusv3messages), + offsetof(Wa__HistorySync, statusv3messages), + &wa__web_message_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "chunkOrder", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__HistorySync, has_chunkorder), + offsetof(Wa__HistorySync, chunkorder), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "progress", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__HistorySync, has_progress), + offsetof(Wa__HistorySync, progress), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pushnames", + 7, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__HistorySync, n_pushnames), + offsetof(Wa__HistorySync, pushnames), + &wa__pushname__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "globalSettings", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__HistorySync, globalsettings), + &wa__global_settings__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "threadIdUserSecret", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__HistorySync, has_threadidusersecret), + offsetof(Wa__HistorySync, threadidusersecret), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "threadDsTimeframeOffset", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__HistorySync, has_threaddstimeframeoffset), + offsetof(Wa__HistorySync, threaddstimeframeoffset), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "recentStickers", + 11, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__HistorySync, n_recentstickers), + offsetof(Wa__HistorySync, recentstickers), + &wa__sticker_metadata__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pastParticipants", + 12, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__HistorySync, n_pastparticipants), + offsetof(Wa__HistorySync, pastparticipants), + &wa__past_participants__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__history_sync__field_indices_by_name[] = { + 3, /* field[3] = chunkOrder */ + 1, /* field[1] = conversations */ + 6, /* field[6] = globalSettings */ + 10, /* field[10] = pastParticipants */ + 4, /* field[4] = progress */ + 5, /* field[5] = pushnames */ + 9, /* field[9] = recentStickers */ + 2, /* field[2] = statusV3Messages */ + 0, /* field[0] = syncType */ + 8, /* field[8] = threadDsTimeframeOffset */ + 7, /* field[7] = threadIdUserSecret */ +}; +static const ProtobufCIntRange wa__history_sync__number_ranges[2 + 1] = +{ + { 1, 0 }, + { 5, 3 }, + { 0, 11 } +}; +const ProtobufCMessageDescriptor wa__history_sync__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.HistorySync", + "HistorySync", + "Wa__HistorySync", + "wa", + sizeof(Wa__HistorySync), + 11, + wa__history_sync__field_descriptors, + wa__history_sync__field_indices_by_name, + 2, wa__history_sync__number_ranges, + (ProtobufCMessageInit) wa__history_sync__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__history_sync_msg__field_descriptors[2] = +{ + { + "message", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__HistorySyncMsg, message), + &wa__web_message_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "msgOrderId", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__HistorySyncMsg, has_msgorderid), + offsetof(Wa__HistorySyncMsg, msgorderid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__history_sync_msg__field_indices_by_name[] = { + 0, /* field[0] = message */ + 1, /* field[1] = msgOrderId */ +}; +static const ProtobufCIntRange wa__history_sync_msg__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__history_sync_msg__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.HistorySyncMsg", + "HistorySyncMsg", + "Wa__HistorySyncMsg", + "wa", + sizeof(Wa__HistorySyncMsg), + 2, + wa__history_sync_msg__field_descriptors, + wa__history_sync_msg__field_indices_by_name, + 1, wa__history_sync_msg__number_ranges, + (ProtobufCMessageInit) wa__history_sync_msg__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__hydrated_template_button__hydrated_call_button__field_descriptors[2] = +{ + { + "displayText", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__HydratedTemplateButton__HydratedCallButton, displaytext), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "phoneNumber", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__HydratedTemplateButton__HydratedCallButton, phonenumber), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__hydrated_template_button__hydrated_call_button__field_indices_by_name[] = { + 0, /* field[0] = displayText */ + 1, /* field[1] = phoneNumber */ +}; +static const ProtobufCIntRange wa__hydrated_template_button__hydrated_call_button__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__hydrated_template_button__hydrated_call_button__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.HydratedTemplateButton.HydratedCallButton", + "HydratedCallButton", + "Wa__HydratedTemplateButton__HydratedCallButton", + "wa", + sizeof(Wa__HydratedTemplateButton__HydratedCallButton), + 2, + wa__hydrated_template_button__hydrated_call_button__field_descriptors, + wa__hydrated_template_button__hydrated_call_button__field_indices_by_name, + 1, wa__hydrated_template_button__hydrated_call_button__number_ranges, + (ProtobufCMessageInit) wa__hydrated_template_button__hydrated_call_button__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__hydrated_template_button__hydrated_quick_reply_button__field_descriptors[2] = +{ + { + "displayText", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__HydratedTemplateButton__HydratedQuickReplyButton, displaytext), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "id", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__HydratedTemplateButton__HydratedQuickReplyButton, id), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__hydrated_template_button__hydrated_quick_reply_button__field_indices_by_name[] = { + 0, /* field[0] = displayText */ + 1, /* field[1] = id */ +}; +static const ProtobufCIntRange wa__hydrated_template_button__hydrated_quick_reply_button__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__hydrated_template_button__hydrated_quick_reply_button__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.HydratedTemplateButton.HydratedQuickReplyButton", + "HydratedQuickReplyButton", + "Wa__HydratedTemplateButton__HydratedQuickReplyButton", + "wa", + sizeof(Wa__HydratedTemplateButton__HydratedQuickReplyButton), + 2, + wa__hydrated_template_button__hydrated_quick_reply_button__field_descriptors, + wa__hydrated_template_button__hydrated_quick_reply_button__field_indices_by_name, + 1, wa__hydrated_template_button__hydrated_quick_reply_button__number_ranges, + (ProtobufCMessageInit) wa__hydrated_template_button__hydrated_quick_reply_button__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__hydrated_template_button__hydrated_urlbutton__field_descriptors[2] = +{ + { + "displayText", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__HydratedTemplateButton__HydratedURLButton, displaytext), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "url", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__HydratedTemplateButton__HydratedURLButton, url), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__hydrated_template_button__hydrated_urlbutton__field_indices_by_name[] = { + 0, /* field[0] = displayText */ + 1, /* field[1] = url */ +}; +static const ProtobufCIntRange wa__hydrated_template_button__hydrated_urlbutton__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__hydrated_template_button__hydrated_urlbutton__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.HydratedTemplateButton.HydratedURLButton", + "HydratedURLButton", + "Wa__HydratedTemplateButton__HydratedURLButton", + "wa", + sizeof(Wa__HydratedTemplateButton__HydratedURLButton), + 2, + wa__hydrated_template_button__hydrated_urlbutton__field_descriptors, + wa__hydrated_template_button__hydrated_urlbutton__field_indices_by_name, + 1, wa__hydrated_template_button__hydrated_urlbutton__number_ranges, + (ProtobufCMessageInit) wa__hydrated_template_button__hydrated_urlbutton__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__hydrated_template_button__field_descriptors[4] = +{ + { + "quickReplyButton", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__HydratedTemplateButton, hydrated_button_case), + offsetof(Wa__HydratedTemplateButton, quickreplybutton), + &wa__hydrated_template_button__hydrated_quick_reply_button__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "urlButton", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__HydratedTemplateButton, hydrated_button_case), + offsetof(Wa__HydratedTemplateButton, urlbutton), + &wa__hydrated_template_button__hydrated_urlbutton__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "callButton", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__HydratedTemplateButton, hydrated_button_case), + offsetof(Wa__HydratedTemplateButton, callbutton), + &wa__hydrated_template_button__hydrated_call_button__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "index", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__HydratedTemplateButton, has_index), + offsetof(Wa__HydratedTemplateButton, index), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__hydrated_template_button__field_indices_by_name[] = { + 2, /* field[2] = callButton */ + 3, /* field[3] = index */ + 0, /* field[0] = quickReplyButton */ + 1, /* field[1] = urlButton */ +}; +static const ProtobufCIntRange wa__hydrated_template_button__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__hydrated_template_button__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.HydratedTemplateButton", + "HydratedTemplateButton", + "Wa__HydratedTemplateButton", + "wa", + sizeof(Wa__HydratedTemplateButton), + 4, + wa__hydrated_template_button__field_descriptors, + wa__hydrated_template_button__field_indices_by_name, + 1, wa__hydrated_template_button__number_ranges, + (ProtobufCMessageInit) wa__hydrated_template_button__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__identity_key_pair_structure__field_descriptors[2] = +{ + { + "publicKey", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__IdentityKeyPairStructure, has_publickey), + offsetof(Wa__IdentityKeyPairStructure, publickey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "privateKey", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__IdentityKeyPairStructure, has_privatekey), + offsetof(Wa__IdentityKeyPairStructure, privatekey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__identity_key_pair_structure__field_indices_by_name[] = { + 1, /* field[1] = privateKey */ + 0, /* field[0] = publicKey */ +}; +static const ProtobufCIntRange wa__identity_key_pair_structure__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__identity_key_pair_structure__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.IdentityKeyPairStructure", + "IdentityKeyPairStructure", + "Wa__IdentityKeyPairStructure", + "wa", + sizeof(Wa__IdentityKeyPairStructure), + 2, + wa__identity_key_pair_structure__field_descriptors, + wa__identity_key_pair_structure__field_indices_by_name, + 1, wa__identity_key_pair_structure__number_ranges, + (ProtobufCMessageInit) wa__identity_key_pair_structure__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__interactive_annotation__field_descriptors[2] = +{ + { + "polygonVertices", + 1, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__InteractiveAnnotation, n_polygonvertices), + offsetof(Wa__InteractiveAnnotation, polygonvertices), + &wa__point__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "location", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__InteractiveAnnotation, action_case), + offsetof(Wa__InteractiveAnnotation, location), + &wa__location__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__interactive_annotation__field_indices_by_name[] = { + 1, /* field[1] = location */ + 0, /* field[0] = polygonVertices */ +}; +static const ProtobufCIntRange wa__interactive_annotation__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__interactive_annotation__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.InteractiveAnnotation", + "InteractiveAnnotation", + "Wa__InteractiveAnnotation", + "wa", + sizeof(Wa__InteractiveAnnotation), + 2, + wa__interactive_annotation__field_descriptors, + wa__interactive_annotation__field_indices_by_name, + 1, wa__interactive_annotation__number_ranges, + (ProtobufCMessageInit) wa__interactive_annotation__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__keep_in_chat__field_descriptors[4] = +{ + { + "keepType", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__KeepInChat, has_keeptype), + offsetof(Wa__KeepInChat, keeptype), + &wa__keep_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "serverTimestamp", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__KeepInChat, has_servertimestamp), + offsetof(Wa__KeepInChat, servertimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "key", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__KeepInChat, key), + &wa__message_key__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "deviceJid", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__KeepInChat, devicejid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__keep_in_chat__field_indices_by_name[] = { + 3, /* field[3] = deviceJid */ + 0, /* field[0] = keepType */ + 2, /* field[2] = key */ + 1, /* field[1] = serverTimestamp */ +}; +static const ProtobufCIntRange wa__keep_in_chat__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__keep_in_chat__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.KeepInChat", + "KeepInChat", + "Wa__KeepInChat", + "wa", + sizeof(Wa__KeepInChat), + 4, + wa__keep_in_chat__field_descriptors, + wa__keep_in_chat__field_indices_by_name, + 1, wa__keep_in_chat__number_ranges, + (ProtobufCMessageInit) wa__keep_in_chat__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__key_id__field_descriptors[1] = +{ + { + "id", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__KeyId, has_id), + offsetof(Wa__KeyId, id), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__key_id__field_indices_by_name[] = { + 0, /* field[0] = id */ +}; +static const ProtobufCIntRange wa__key_id__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__key_id__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.KeyId", + "KeyId", + "Wa__KeyId", + "wa", + sizeof(Wa__KeyId), + 1, + wa__key_id__field_descriptors, + wa__key_id__field_indices_by_name, + 1, wa__key_id__number_ranges, + (ProtobufCMessageInit) wa__key_id__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__localized_name__field_descriptors[3] = +{ + { + "lg", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__LocalizedName, lg), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "lc", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__LocalizedName, lc), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "verifiedName", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__LocalizedName, verifiedname), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__localized_name__field_indices_by_name[] = { + 1, /* field[1] = lc */ + 0, /* field[0] = lg */ + 2, /* field[2] = verifiedName */ +}; +static const ProtobufCIntRange wa__localized_name__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__localized_name__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.LocalizedName", + "LocalizedName", + "Wa__LocalizedName", + "wa", + sizeof(Wa__LocalizedName), + 3, + wa__localized_name__field_descriptors, + wa__localized_name__field_indices_by_name, + 1, wa__localized_name__number_ranges, + (ProtobufCMessageInit) wa__localized_name__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__location__field_descriptors[3] = +{ + { + "degreesLatitude", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(Wa__Location, has_degreeslatitude), + offsetof(Wa__Location, degreeslatitude), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "degreesLongitude", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(Wa__Location, has_degreeslongitude), + offsetof(Wa__Location, degreeslongitude), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "name", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Location, name), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__location__field_indices_by_name[] = { + 0, /* field[0] = degreesLatitude */ + 1, /* field[1] = degreesLongitude */ + 2, /* field[2] = name */ +}; +static const ProtobufCIntRange wa__location__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__location__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Location", + "Location", + "Wa__Location", + "wa", + sizeof(Wa__Location), + 3, + wa__location__field_descriptors, + wa__location__field_indices_by_name, + 1, wa__location__number_ranges, + (ProtobufCMessageInit) wa__location__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__media_data__field_descriptors[1] = +{ + { + "localPath", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__MediaData, localpath), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__media_data__field_indices_by_name[] = { + 0, /* field[0] = localPath */ +}; +static const ProtobufCIntRange wa__media_data__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__media_data__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.MediaData", + "MediaData", + "Wa__MediaData", + "wa", + sizeof(Wa__MediaData), + 1, + wa__media_data__field_descriptors, + wa__media_data__field_indices_by_name, + 1, wa__media_data__number_ranges, + (ProtobufCMessageInit) wa__media_data__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__media_retry_notification__result_type__enum_values_by_number[4] = +{ + { "GENERAL_ERROR", "WA__MEDIA_RETRY_NOTIFICATION__RESULT_TYPE__GENERAL_ERROR", 0 }, + { "SUCCESS", "WA__MEDIA_RETRY_NOTIFICATION__RESULT_TYPE__SUCCESS", 1 }, + { "NOT_FOUND", "WA__MEDIA_RETRY_NOTIFICATION__RESULT_TYPE__NOT_FOUND", 2 }, + { "DECRYPTION_ERROR", "WA__MEDIA_RETRY_NOTIFICATION__RESULT_TYPE__DECRYPTION_ERROR", 3 }, +}; +static const ProtobufCIntRange wa__media_retry_notification__result_type__value_ranges[] = { +{0, 0},{0, 4} +}; +static const ProtobufCEnumValueIndex wa__media_retry_notification__result_type__enum_values_by_name[4] = +{ + { "DECRYPTION_ERROR", 3 }, + { "GENERAL_ERROR", 0 }, + { "NOT_FOUND", 2 }, + { "SUCCESS", 1 }, +}; +const ProtobufCEnumDescriptor wa__media_retry_notification__result_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.MediaRetryNotification.ResultType", + "ResultType", + "Wa__MediaRetryNotification__ResultType", + "wa", + 4, + wa__media_retry_notification__result_type__enum_values_by_number, + 4, + wa__media_retry_notification__result_type__enum_values_by_name, + 1, + wa__media_retry_notification__result_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__media_retry_notification__field_descriptors[3] = +{ + { + "stanzaId", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__MediaRetryNotification, stanzaid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "directPath", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__MediaRetryNotification, directpath), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "result", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__MediaRetryNotification, has_result), + offsetof(Wa__MediaRetryNotification, result), + &wa__media_retry_notification__result_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__media_retry_notification__field_indices_by_name[] = { + 1, /* field[1] = directPath */ + 2, /* field[2] = result */ + 0, /* field[0] = stanzaId */ +}; +static const ProtobufCIntRange wa__media_retry_notification__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__media_retry_notification__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.MediaRetryNotification", + "MediaRetryNotification", + "Wa__MediaRetryNotification", + "wa", + sizeof(Wa__MediaRetryNotification), + 3, + wa__media_retry_notification__field_descriptors, + wa__media_retry_notification__field_indices_by_name, + 1, wa__media_retry_notification__number_ranges, + (ProtobufCMessageInit) wa__media_retry_notification__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__app_state_fatal_exception_notification__field_descriptors[2] = +{ + { + "collectionNames", + 1, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_STRING, + offsetof(Wa__Message__AppStateFatalExceptionNotification, n_collectionnames), + offsetof(Wa__Message__AppStateFatalExceptionNotification, collectionnames), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "timestamp", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__AppStateFatalExceptionNotification, has_timestamp), + offsetof(Wa__Message__AppStateFatalExceptionNotification, timestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__app_state_fatal_exception_notification__field_indices_by_name[] = { + 0, /* field[0] = collectionNames */ + 1, /* field[1] = timestamp */ +}; +static const ProtobufCIntRange wa__message__app_state_fatal_exception_notification__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__message__app_state_fatal_exception_notification__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.AppStateFatalExceptionNotification", + "AppStateFatalExceptionNotification", + "Wa__Message__AppStateFatalExceptionNotification", + "wa", + sizeof(Wa__Message__AppStateFatalExceptionNotification), + 2, + wa__message__app_state_fatal_exception_notification__field_descriptors, + wa__message__app_state_fatal_exception_notification__field_indices_by_name, + 1, wa__message__app_state_fatal_exception_notification__number_ranges, + (ProtobufCMessageInit) wa__message__app_state_fatal_exception_notification__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__app_state_sync_key_data__field_descriptors[3] = +{ + { + "keyData", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__AppStateSyncKeyData, has_keydata), + offsetof(Wa__Message__AppStateSyncKeyData, keydata), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fingerprint", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__AppStateSyncKeyData, fingerprint), + &wa__message__app_state_sync_key_fingerprint__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "timestamp", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__AppStateSyncKeyData, has_timestamp), + offsetof(Wa__Message__AppStateSyncKeyData, timestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__app_state_sync_key_data__field_indices_by_name[] = { + 1, /* field[1] = fingerprint */ + 0, /* field[0] = keyData */ + 2, /* field[2] = timestamp */ +}; +static const ProtobufCIntRange wa__message__app_state_sync_key_data__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__message__app_state_sync_key_data__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.AppStateSyncKeyData", + "AppStateSyncKeyData", + "Wa__Message__AppStateSyncKeyData", + "wa", + sizeof(Wa__Message__AppStateSyncKeyData), + 3, + wa__message__app_state_sync_key_data__field_descriptors, + wa__message__app_state_sync_key_data__field_indices_by_name, + 1, wa__message__app_state_sync_key_data__number_ranges, + (ProtobufCMessageInit) wa__message__app_state_sync_key_data__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__app_state_sync_key_fingerprint__field_descriptors[3] = +{ + { + "rawId", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__AppStateSyncKeyFingerprint, has_rawid), + offsetof(Wa__Message__AppStateSyncKeyFingerprint, rawid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "currentIndex", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__AppStateSyncKeyFingerprint, has_currentindex), + offsetof(Wa__Message__AppStateSyncKeyFingerprint, currentindex), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "deviceIndexes", + 3, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__AppStateSyncKeyFingerprint, n_deviceindexes), + offsetof(Wa__Message__AppStateSyncKeyFingerprint, deviceindexes), + NULL, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_PACKED, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__app_state_sync_key_fingerprint__field_indices_by_name[] = { + 1, /* field[1] = currentIndex */ + 2, /* field[2] = deviceIndexes */ + 0, /* field[0] = rawId */ +}; +static const ProtobufCIntRange wa__message__app_state_sync_key_fingerprint__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__message__app_state_sync_key_fingerprint__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.AppStateSyncKeyFingerprint", + "AppStateSyncKeyFingerprint", + "Wa__Message__AppStateSyncKeyFingerprint", + "wa", + sizeof(Wa__Message__AppStateSyncKeyFingerprint), + 3, + wa__message__app_state_sync_key_fingerprint__field_descriptors, + wa__message__app_state_sync_key_fingerprint__field_indices_by_name, + 1, wa__message__app_state_sync_key_fingerprint__number_ranges, + (ProtobufCMessageInit) wa__message__app_state_sync_key_fingerprint__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__app_state_sync_key_id__field_descriptors[1] = +{ + { + "keyId", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__AppStateSyncKeyId, has_keyid), + offsetof(Wa__Message__AppStateSyncKeyId, keyid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__app_state_sync_key_id__field_indices_by_name[] = { + 0, /* field[0] = keyId */ +}; +static const ProtobufCIntRange wa__message__app_state_sync_key_id__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__message__app_state_sync_key_id__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.AppStateSyncKeyId", + "AppStateSyncKeyId", + "Wa__Message__AppStateSyncKeyId", + "wa", + sizeof(Wa__Message__AppStateSyncKeyId), + 1, + wa__message__app_state_sync_key_id__field_descriptors, + wa__message__app_state_sync_key_id__field_indices_by_name, + 1, wa__message__app_state_sync_key_id__number_ranges, + (ProtobufCMessageInit) wa__message__app_state_sync_key_id__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__app_state_sync_key_request__field_descriptors[1] = +{ + { + "keyIds", + 1, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__AppStateSyncKeyRequest, n_keyids), + offsetof(Wa__Message__AppStateSyncKeyRequest, keyids), + &wa__message__app_state_sync_key_id__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__app_state_sync_key_request__field_indices_by_name[] = { + 0, /* field[0] = keyIds */ +}; +static const ProtobufCIntRange wa__message__app_state_sync_key_request__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__message__app_state_sync_key_request__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.AppStateSyncKeyRequest", + "AppStateSyncKeyRequest", + "Wa__Message__AppStateSyncKeyRequest", + "wa", + sizeof(Wa__Message__AppStateSyncKeyRequest), + 1, + wa__message__app_state_sync_key_request__field_descriptors, + wa__message__app_state_sync_key_request__field_indices_by_name, + 1, wa__message__app_state_sync_key_request__number_ranges, + (ProtobufCMessageInit) wa__message__app_state_sync_key_request__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__app_state_sync_key_share__field_descriptors[1] = +{ + { + "keys", + 1, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__AppStateSyncKeyShare, n_keys), + offsetof(Wa__Message__AppStateSyncKeyShare, keys), + &wa__message__app_state_sync_key__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__app_state_sync_key_share__field_indices_by_name[] = { + 0, /* field[0] = keys */ +}; +static const ProtobufCIntRange wa__message__app_state_sync_key_share__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__message__app_state_sync_key_share__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.AppStateSyncKeyShare", + "AppStateSyncKeyShare", + "Wa__Message__AppStateSyncKeyShare", + "wa", + sizeof(Wa__Message__AppStateSyncKeyShare), + 1, + wa__message__app_state_sync_key_share__field_descriptors, + wa__message__app_state_sync_key_share__field_indices_by_name, + 1, wa__message__app_state_sync_key_share__number_ranges, + (ProtobufCMessageInit) wa__message__app_state_sync_key_share__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__app_state_sync_key__field_descriptors[2] = +{ + { + "keyId", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__AppStateSyncKey, keyid), + &wa__message__app_state_sync_key_id__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "keyData", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__AppStateSyncKey, keydata), + &wa__message__app_state_sync_key_data__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__app_state_sync_key__field_indices_by_name[] = { + 1, /* field[1] = keyData */ + 0, /* field[0] = keyId */ +}; +static const ProtobufCIntRange wa__message__app_state_sync_key__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__message__app_state_sync_key__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.AppStateSyncKey", + "AppStateSyncKey", + "Wa__Message__AppStateSyncKey", + "wa", + sizeof(Wa__Message__AppStateSyncKey), + 2, + wa__message__app_state_sync_key__field_descriptors, + wa__message__app_state_sync_key__field_indices_by_name, + 1, wa__message__app_state_sync_key__number_ranges, + (ProtobufCMessageInit) wa__message__app_state_sync_key__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__audio_message__field_descriptors[13] = +{ + { + "url", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__AudioMessage, url), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mimetype", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__AudioMessage, mimetype), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileSha256", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__AudioMessage, has_filesha256), + offsetof(Wa__Message__AudioMessage, filesha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileLength", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__Message__AudioMessage, has_filelength), + offsetof(Wa__Message__AudioMessage, filelength), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "seconds", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__AudioMessage, has_seconds), + offsetof(Wa__Message__AudioMessage, seconds), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ptt", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Message__AudioMessage, has_ptt), + offsetof(Wa__Message__AudioMessage, ptt), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaKey", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__AudioMessage, has_mediakey), + offsetof(Wa__Message__AudioMessage, mediakey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileEncSha256", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__AudioMessage, has_fileencsha256), + offsetof(Wa__Message__AudioMessage, fileencsha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "directPath", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__AudioMessage, directpath), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaKeyTimestamp", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__AudioMessage, has_mediakeytimestamp), + offsetof(Wa__Message__AudioMessage, mediakeytimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contextInfo", + 17, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__AudioMessage, contextinfo), + &wa__context_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "streamingSidecar", + 18, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__AudioMessage, has_streamingsidecar), + offsetof(Wa__Message__AudioMessage, streamingsidecar), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "waveform", + 19, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__AudioMessage, has_waveform), + offsetof(Wa__Message__AudioMessage, waveform), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__audio_message__field_indices_by_name[] = { + 10, /* field[10] = contextInfo */ + 8, /* field[8] = directPath */ + 7, /* field[7] = fileEncSha256 */ + 3, /* field[3] = fileLength */ + 2, /* field[2] = fileSha256 */ + 6, /* field[6] = mediaKey */ + 9, /* field[9] = mediaKeyTimestamp */ + 1, /* field[1] = mimetype */ + 5, /* field[5] = ptt */ + 4, /* field[4] = seconds */ + 11, /* field[11] = streamingSidecar */ + 0, /* field[0] = url */ + 12, /* field[12] = waveform */ +}; +static const ProtobufCIntRange wa__message__audio_message__number_ranges[2 + 1] = +{ + { 1, 0 }, + { 17, 10 }, + { 0, 13 } +}; +const ProtobufCMessageDescriptor wa__message__audio_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.AudioMessage", + "AudioMessage", + "Wa__Message__AudioMessage", + "wa", + sizeof(Wa__Message__AudioMessage), + 13, + wa__message__audio_message__field_descriptors, + wa__message__audio_message__field_indices_by_name, + 2, wa__message__audio_message__number_ranges, + (ProtobufCMessageInit) wa__message__audio_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__buttons_message__button__button_text__field_descriptors[1] = +{ + { + "displayText", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ButtonsMessage__Button__ButtonText, displaytext), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__buttons_message__button__button_text__field_indices_by_name[] = { + 0, /* field[0] = displayText */ +}; +static const ProtobufCIntRange wa__message__buttons_message__button__button_text__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__message__buttons_message__button__button_text__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.ButtonsMessage.Button.ButtonText", + "ButtonText", + "Wa__Message__ButtonsMessage__Button__ButtonText", + "wa", + sizeof(Wa__Message__ButtonsMessage__Button__ButtonText), + 1, + wa__message__buttons_message__button__button_text__field_descriptors, + wa__message__buttons_message__button__button_text__field_indices_by_name, + 1, wa__message__buttons_message__button__button_text__number_ranges, + (ProtobufCMessageInit) wa__message__buttons_message__button__button_text__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__buttons_message__button__native_flow_info__field_descriptors[2] = +{ + { + "name", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ButtonsMessage__Button__NativeFlowInfo, name), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "paramsJson", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ButtonsMessage__Button__NativeFlowInfo, paramsjson), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__buttons_message__button__native_flow_info__field_indices_by_name[] = { + 0, /* field[0] = name */ + 1, /* field[1] = paramsJson */ +}; +static const ProtobufCIntRange wa__message__buttons_message__button__native_flow_info__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__message__buttons_message__button__native_flow_info__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.ButtonsMessage.Button.NativeFlowInfo", + "NativeFlowInfo", + "Wa__Message__ButtonsMessage__Button__NativeFlowInfo", + "wa", + sizeof(Wa__Message__ButtonsMessage__Button__NativeFlowInfo), + 2, + wa__message__buttons_message__button__native_flow_info__field_descriptors, + wa__message__buttons_message__button__native_flow_info__field_indices_by_name, + 1, wa__message__buttons_message__button__native_flow_info__number_ranges, + (ProtobufCMessageInit) wa__message__buttons_message__button__native_flow_info__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__message__buttons_message__button__type__enum_values_by_number[3] = +{ + { "UNKNOWN", "WA__MESSAGE__BUTTONS_MESSAGE__BUTTON__TYPE__UNKNOWN", 0 }, + { "RESPONSE", "WA__MESSAGE__BUTTONS_MESSAGE__BUTTON__TYPE__RESPONSE", 1 }, + { "NATIVE_FLOW", "WA__MESSAGE__BUTTONS_MESSAGE__BUTTON__TYPE__NATIVE_FLOW", 2 }, +}; +static const ProtobufCIntRange wa__message__buttons_message__button__type__value_ranges[] = { +{0, 0},{0, 3} +}; +static const ProtobufCEnumValueIndex wa__message__buttons_message__button__type__enum_values_by_name[3] = +{ + { "NATIVE_FLOW", 2 }, + { "RESPONSE", 1 }, + { "UNKNOWN", 0 }, +}; +const ProtobufCEnumDescriptor wa__message__buttons_message__button__type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.Message.ButtonsMessage.Button.Type", + "Type", + "Wa__Message__ButtonsMessage__Button__Type", + "wa", + 3, + wa__message__buttons_message__button__type__enum_values_by_number, + 3, + wa__message__buttons_message__button__type__enum_values_by_name, + 1, + wa__message__buttons_message__button__type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__message__buttons_message__button__field_descriptors[4] = +{ + { + "buttonId", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ButtonsMessage__Button, buttonid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "buttonText", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ButtonsMessage__Button, buttontext), + &wa__message__buttons_message__button__button_text__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "type", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__ButtonsMessage__Button, has_type), + offsetof(Wa__Message__ButtonsMessage__Button, type), + &wa__message__buttons_message__button__type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "nativeFlowInfo", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ButtonsMessage__Button, nativeflowinfo), + &wa__message__buttons_message__button__native_flow_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__buttons_message__button__field_indices_by_name[] = { + 0, /* field[0] = buttonId */ + 1, /* field[1] = buttonText */ + 3, /* field[3] = nativeFlowInfo */ + 2, /* field[2] = type */ +}; +static const ProtobufCIntRange wa__message__buttons_message__button__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__message__buttons_message__button__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.ButtonsMessage.Button", + "Button", + "Wa__Message__ButtonsMessage__Button", + "wa", + sizeof(Wa__Message__ButtonsMessage__Button), + 4, + wa__message__buttons_message__button__field_descriptors, + wa__message__buttons_message__button__field_indices_by_name, + 1, wa__message__buttons_message__button__number_ranges, + (ProtobufCMessageInit) wa__message__buttons_message__button__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__message__buttons_message__header_type__enum_values_by_number[7] = +{ + { "UNKNOWN", "WA__MESSAGE__BUTTONS_MESSAGE__HEADER_TYPE__UNKNOWN", 0 }, + { "EMPTY", "WA__MESSAGE__BUTTONS_MESSAGE__HEADER_TYPE__EMPTY", 1 }, + { "TEXT", "WA__MESSAGE__BUTTONS_MESSAGE__HEADER_TYPE__TEXT", 2 }, + { "DOCUMENT", "WA__MESSAGE__BUTTONS_MESSAGE__HEADER_TYPE__DOCUMENT", 3 }, + { "IMAGE", "WA__MESSAGE__BUTTONS_MESSAGE__HEADER_TYPE__IMAGE", 4 }, + { "VIDEO", "WA__MESSAGE__BUTTONS_MESSAGE__HEADER_TYPE__VIDEO", 5 }, + { "LOCATION", "WA__MESSAGE__BUTTONS_MESSAGE__HEADER_TYPE__LOCATION", 6 }, +}; +static const ProtobufCIntRange wa__message__buttons_message__header_type__value_ranges[] = { +{0, 0},{0, 7} +}; +static const ProtobufCEnumValueIndex wa__message__buttons_message__header_type__enum_values_by_name[7] = +{ + { "DOCUMENT", 3 }, + { "EMPTY", 1 }, + { "IMAGE", 4 }, + { "LOCATION", 6 }, + { "TEXT", 2 }, + { "UNKNOWN", 0 }, + { "VIDEO", 5 }, +}; +const ProtobufCEnumDescriptor wa__message__buttons_message__header_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.Message.ButtonsMessage.HeaderType", + "HeaderType", + "Wa__Message__ButtonsMessage__HeaderType", + "wa", + 7, + wa__message__buttons_message__header_type__enum_values_by_number, + 7, + wa__message__buttons_message__header_type__enum_values_by_name, + 1, + wa__message__buttons_message__header_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__message__buttons_message__field_descriptors[10] = +{ + { + "text", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + offsetof(Wa__Message__ButtonsMessage, header_case), + offsetof(Wa__Message__ButtonsMessage, text), + NULL, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "documentMessage", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__ButtonsMessage, header_case), + offsetof(Wa__Message__ButtonsMessage, documentmessage), + &wa__message__document_message__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "imageMessage", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__ButtonsMessage, header_case), + offsetof(Wa__Message__ButtonsMessage, imagemessage), + &wa__message__image_message__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "videoMessage", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__ButtonsMessage, header_case), + offsetof(Wa__Message__ButtonsMessage, videomessage), + &wa__message__video_message__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "locationMessage", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__ButtonsMessage, header_case), + offsetof(Wa__Message__ButtonsMessage, locationmessage), + &wa__message__location_message__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contentText", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ButtonsMessage, contenttext), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "footerText", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ButtonsMessage, footertext), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contextInfo", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ButtonsMessage, contextinfo), + &wa__context_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "buttons", + 9, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__ButtonsMessage, n_buttons), + offsetof(Wa__Message__ButtonsMessage, buttons), + &wa__message__buttons_message__button__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "headerType", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__ButtonsMessage, has_headertype), + offsetof(Wa__Message__ButtonsMessage, headertype), + &wa__message__buttons_message__header_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__buttons_message__field_indices_by_name[] = { + 8, /* field[8] = buttons */ + 5, /* field[5] = contentText */ + 7, /* field[7] = contextInfo */ + 1, /* field[1] = documentMessage */ + 6, /* field[6] = footerText */ + 9, /* field[9] = headerType */ + 2, /* field[2] = imageMessage */ + 4, /* field[4] = locationMessage */ + 0, /* field[0] = text */ + 3, /* field[3] = videoMessage */ +}; +static const ProtobufCIntRange wa__message__buttons_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 10 } +}; +const ProtobufCMessageDescriptor wa__message__buttons_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.ButtonsMessage", + "ButtonsMessage", + "Wa__Message__ButtonsMessage", + "wa", + sizeof(Wa__Message__ButtonsMessage), + 10, + wa__message__buttons_message__field_descriptors, + wa__message__buttons_message__field_indices_by_name, + 1, wa__message__buttons_message__number_ranges, + (ProtobufCMessageInit) wa__message__buttons_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__message__buttons_response_message__type__enum_values_by_number[2] = +{ + { "UNKNOWN", "WA__MESSAGE__BUTTONS_RESPONSE_MESSAGE__TYPE__UNKNOWN", 0 }, + { "DISPLAY_TEXT", "WA__MESSAGE__BUTTONS_RESPONSE_MESSAGE__TYPE__DISPLAY_TEXT", 1 }, +}; +static const ProtobufCIntRange wa__message__buttons_response_message__type__value_ranges[] = { +{0, 0},{0, 2} +}; +static const ProtobufCEnumValueIndex wa__message__buttons_response_message__type__enum_values_by_name[2] = +{ + { "DISPLAY_TEXT", 1 }, + { "UNKNOWN", 0 }, +}; +const ProtobufCEnumDescriptor wa__message__buttons_response_message__type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.Message.ButtonsResponseMessage.Type", + "Type", + "Wa__Message__ButtonsResponseMessage__Type", + "wa", + 2, + wa__message__buttons_response_message__type__enum_values_by_number, + 2, + wa__message__buttons_response_message__type__enum_values_by_name, + 1, + wa__message__buttons_response_message__type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__message__buttons_response_message__field_descriptors[4] = +{ + { + "selectedButtonId", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ButtonsResponseMessage, selectedbuttonid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "selectedDisplayText", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + offsetof(Wa__Message__ButtonsResponseMessage, response_case), + offsetof(Wa__Message__ButtonsResponseMessage, selecteddisplaytext), + NULL, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contextInfo", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ButtonsResponseMessage, contextinfo), + &wa__context_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "type", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__ButtonsResponseMessage, has_type), + offsetof(Wa__Message__ButtonsResponseMessage, type), + &wa__message__buttons_response_message__type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__buttons_response_message__field_indices_by_name[] = { + 2, /* field[2] = contextInfo */ + 0, /* field[0] = selectedButtonId */ + 1, /* field[1] = selectedDisplayText */ + 3, /* field[3] = type */ +}; +static const ProtobufCIntRange wa__message__buttons_response_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__message__buttons_response_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.ButtonsResponseMessage", + "ButtonsResponseMessage", + "Wa__Message__ButtonsResponseMessage", + "wa", + sizeof(Wa__Message__ButtonsResponseMessage), + 4, + wa__message__buttons_response_message__field_descriptors, + wa__message__buttons_response_message__field_indices_by_name, + 1, wa__message__buttons_response_message__number_ranges, + (ProtobufCMessageInit) wa__message__buttons_response_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__call__field_descriptors[4] = +{ + { + "callKey", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__Call, has_callkey), + offsetof(Wa__Message__Call, callkey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "conversionSource", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__Call, conversionsource), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "conversionData", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__Call, has_conversiondata), + offsetof(Wa__Message__Call, conversiondata), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "conversionDelaySeconds", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__Call, has_conversiondelayseconds), + offsetof(Wa__Message__Call, conversiondelayseconds), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__call__field_indices_by_name[] = { + 0, /* field[0] = callKey */ + 2, /* field[2] = conversionData */ + 3, /* field[3] = conversionDelaySeconds */ + 1, /* field[1] = conversionSource */ +}; +static const ProtobufCIntRange wa__message__call__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__message__call__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.Call", + "Call", + "Wa__Message__Call", + "wa", + sizeof(Wa__Message__Call), + 4, + wa__message__call__field_descriptors, + wa__message__call__field_indices_by_name, + 1, wa__message__call__number_ranges, + (ProtobufCMessageInit) wa__message__call__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__cancel_payment_request_message__field_descriptors[1] = +{ + { + "key", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__CancelPaymentRequestMessage, key), + &wa__message_key__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__cancel_payment_request_message__field_indices_by_name[] = { + 0, /* field[0] = key */ +}; +static const ProtobufCIntRange wa__message__cancel_payment_request_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__message__cancel_payment_request_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.CancelPaymentRequestMessage", + "CancelPaymentRequestMessage", + "Wa__Message__CancelPaymentRequestMessage", + "wa", + sizeof(Wa__Message__CancelPaymentRequestMessage), + 1, + wa__message__cancel_payment_request_message__field_descriptors, + wa__message__cancel_payment_request_message__field_indices_by_name, + 1, wa__message__cancel_payment_request_message__number_ranges, + (ProtobufCMessageInit) wa__message__cancel_payment_request_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__chat__field_descriptors[2] = +{ + { + "displayName", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__Chat, displayname), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "id", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__Chat, id), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__chat__field_indices_by_name[] = { + 0, /* field[0] = displayName */ + 1, /* field[1] = id */ +}; +static const ProtobufCIntRange wa__message__chat__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__message__chat__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.Chat", + "Chat", + "Wa__Message__Chat", + "wa", + sizeof(Wa__Message__Chat), + 2, + wa__message__chat__field_descriptors, + wa__message__chat__field_indices_by_name, + 1, wa__message__chat__number_ranges, + (ProtobufCMessageInit) wa__message__chat__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__contact_message__field_descriptors[3] = +{ + { + "displayName", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ContactMessage, displayname), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "vcard", + 16, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ContactMessage, vcard), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contextInfo", + 17, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ContactMessage, contextinfo), + &wa__context_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__contact_message__field_indices_by_name[] = { + 2, /* field[2] = contextInfo */ + 0, /* field[0] = displayName */ + 1, /* field[1] = vcard */ +}; +static const ProtobufCIntRange wa__message__contact_message__number_ranges[2 + 1] = +{ + { 1, 0 }, + { 16, 1 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__message__contact_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.ContactMessage", + "ContactMessage", + "Wa__Message__ContactMessage", + "wa", + sizeof(Wa__Message__ContactMessage), + 3, + wa__message__contact_message__field_descriptors, + wa__message__contact_message__field_indices_by_name, + 2, wa__message__contact_message__number_ranges, + (ProtobufCMessageInit) wa__message__contact_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__contacts_array_message__field_descriptors[3] = +{ + { + "displayName", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ContactsArrayMessage, displayname), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contacts", + 2, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__ContactsArrayMessage, n_contacts), + offsetof(Wa__Message__ContactsArrayMessage, contacts), + &wa__message__contact_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contextInfo", + 17, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ContactsArrayMessage, contextinfo), + &wa__context_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__contacts_array_message__field_indices_by_name[] = { + 1, /* field[1] = contacts */ + 2, /* field[2] = contextInfo */ + 0, /* field[0] = displayName */ +}; +static const ProtobufCIntRange wa__message__contacts_array_message__number_ranges[2 + 1] = +{ + { 1, 0 }, + { 17, 2 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__message__contacts_array_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.ContactsArrayMessage", + "ContactsArrayMessage", + "Wa__Message__ContactsArrayMessage", + "wa", + sizeof(Wa__Message__ContactsArrayMessage), + 3, + wa__message__contacts_array_message__field_descriptors, + wa__message__contacts_array_message__field_indices_by_name, + 2, wa__message__contacts_array_message__number_ranges, + (ProtobufCMessageInit) wa__message__contacts_array_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__decline_payment_request_message__field_descriptors[1] = +{ + { + "key", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__DeclinePaymentRequestMessage, key), + &wa__message_key__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__decline_payment_request_message__field_indices_by_name[] = { + 0, /* field[0] = key */ +}; +static const ProtobufCIntRange wa__message__decline_payment_request_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__message__decline_payment_request_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.DeclinePaymentRequestMessage", + "DeclinePaymentRequestMessage", + "Wa__Message__DeclinePaymentRequestMessage", + "wa", + sizeof(Wa__Message__DeclinePaymentRequestMessage), + 1, + wa__message__decline_payment_request_message__field_descriptors, + wa__message__decline_payment_request_message__field_indices_by_name, + 1, wa__message__decline_payment_request_message__number_ranges, + (ProtobufCMessageInit) wa__message__decline_payment_request_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__device_sent_message__field_descriptors[3] = +{ + { + "destinationJid", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__DeviceSentMessage, destinationjid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "message", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__DeviceSentMessage, message), + &wa__message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "phash", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__DeviceSentMessage, phash), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__device_sent_message__field_indices_by_name[] = { + 0, /* field[0] = destinationJid */ + 1, /* field[1] = message */ + 2, /* field[2] = phash */ +}; +static const ProtobufCIntRange wa__message__device_sent_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__message__device_sent_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.DeviceSentMessage", + "DeviceSentMessage", + "Wa__Message__DeviceSentMessage", + "wa", + sizeof(Wa__Message__DeviceSentMessage), + 3, + wa__message__device_sent_message__field_descriptors, + wa__message__device_sent_message__field_indices_by_name, + 1, wa__message__device_sent_message__number_ranges, + (ProtobufCMessageInit) wa__message__device_sent_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__document_message__field_descriptors[20] = +{ + { + "url", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__DocumentMessage, url), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mimetype", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__DocumentMessage, mimetype), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "title", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__DocumentMessage, title), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileSha256", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__DocumentMessage, has_filesha256), + offsetof(Wa__Message__DocumentMessage, filesha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileLength", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__Message__DocumentMessage, has_filelength), + offsetof(Wa__Message__DocumentMessage, filelength), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pageCount", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__DocumentMessage, has_pagecount), + offsetof(Wa__Message__DocumentMessage, pagecount), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaKey", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__DocumentMessage, has_mediakey), + offsetof(Wa__Message__DocumentMessage, mediakey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileName", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__DocumentMessage, filename), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileEncSha256", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__DocumentMessage, has_fileencsha256), + offsetof(Wa__Message__DocumentMessage, fileencsha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "directPath", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__DocumentMessage, directpath), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaKeyTimestamp", + 11, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__DocumentMessage, has_mediakeytimestamp), + offsetof(Wa__Message__DocumentMessage, mediakeytimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contactVcard", + 12, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Message__DocumentMessage, has_contactvcard), + offsetof(Wa__Message__DocumentMessage, contactvcard), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "thumbnailDirectPath", + 13, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__DocumentMessage, thumbnaildirectpath), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "thumbnailSha256", + 14, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__DocumentMessage, has_thumbnailsha256), + offsetof(Wa__Message__DocumentMessage, thumbnailsha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "thumbnailEncSha256", + 15, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__DocumentMessage, has_thumbnailencsha256), + offsetof(Wa__Message__DocumentMessage, thumbnailencsha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "jpegThumbnail", + 16, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__DocumentMessage, has_jpegthumbnail), + offsetof(Wa__Message__DocumentMessage, jpegthumbnail), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contextInfo", + 17, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__DocumentMessage, contextinfo), + &wa__context_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "thumbnailHeight", + 18, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__DocumentMessage, has_thumbnailheight), + offsetof(Wa__Message__DocumentMessage, thumbnailheight), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "thumbnailWidth", + 19, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__DocumentMessage, has_thumbnailwidth), + offsetof(Wa__Message__DocumentMessage, thumbnailwidth), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "caption", + 20, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__DocumentMessage, caption), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__document_message__field_indices_by_name[] = { + 19, /* field[19] = caption */ + 11, /* field[11] = contactVcard */ + 16, /* field[16] = contextInfo */ + 9, /* field[9] = directPath */ + 8, /* field[8] = fileEncSha256 */ + 4, /* field[4] = fileLength */ + 7, /* field[7] = fileName */ + 3, /* field[3] = fileSha256 */ + 15, /* field[15] = jpegThumbnail */ + 6, /* field[6] = mediaKey */ + 10, /* field[10] = mediaKeyTimestamp */ + 1, /* field[1] = mimetype */ + 5, /* field[5] = pageCount */ + 12, /* field[12] = thumbnailDirectPath */ + 14, /* field[14] = thumbnailEncSha256 */ + 17, /* field[17] = thumbnailHeight */ + 13, /* field[13] = thumbnailSha256 */ + 18, /* field[18] = thumbnailWidth */ + 2, /* field[2] = title */ + 0, /* field[0] = url */ +}; +static const ProtobufCIntRange wa__message__document_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 20 } +}; +const ProtobufCMessageDescriptor wa__message__document_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.DocumentMessage", + "DocumentMessage", + "Wa__Message__DocumentMessage", + "wa", + sizeof(Wa__Message__DocumentMessage), + 20, + wa__message__document_message__field_descriptors, + wa__message__document_message__field_indices_by_name, + 1, wa__message__document_message__number_ranges, + (ProtobufCMessageInit) wa__message__document_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__message__extended_text_message__font_type__enum_values_by_number[6] = +{ + { "SANS_SERIF", "WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__SANS_SERIF", 0 }, + { "SERIF", "WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__SERIF", 1 }, + { "NORICAN_REGULAR", "WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__NORICAN_REGULAR", 2 }, + { "BRYNDAN_WRITE", "WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__BRYNDAN_WRITE", 3 }, + { "BEBASNEUE_REGULAR", "WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__BEBASNEUE_REGULAR", 4 }, + { "OSWALD_HEAVY", "WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__OSWALD_HEAVY", 5 }, +}; +static const ProtobufCIntRange wa__message__extended_text_message__font_type__value_ranges[] = { +{0, 0},{0, 6} +}; +static const ProtobufCEnumValueIndex wa__message__extended_text_message__font_type__enum_values_by_name[6] = +{ + { "BEBASNEUE_REGULAR", 4 }, + { "BRYNDAN_WRITE", 3 }, + { "NORICAN_REGULAR", 2 }, + { "OSWALD_HEAVY", 5 }, + { "SANS_SERIF", 0 }, + { "SERIF", 1 }, +}; +const ProtobufCEnumDescriptor wa__message__extended_text_message__font_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.Message.ExtendedTextMessage.FontType", + "FontType", + "Wa__Message__ExtendedTextMessage__FontType", + "wa", + 6, + wa__message__extended_text_message__font_type__enum_values_by_number, + 6, + wa__message__extended_text_message__font_type__enum_values_by_name, + 1, + wa__message__extended_text_message__font_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCEnumValue wa__message__extended_text_message__invite_link_group_type__enum_values_by_number[4] = +{ + { "DEFAULT", "WA__MESSAGE__EXTENDED_TEXT_MESSAGE__INVITE_LINK_GROUP_TYPE__DEFAULT", 0 }, + { "PARENT", "WA__MESSAGE__EXTENDED_TEXT_MESSAGE__INVITE_LINK_GROUP_TYPE__PARENT", 1 }, + { "SUB", "WA__MESSAGE__EXTENDED_TEXT_MESSAGE__INVITE_LINK_GROUP_TYPE__SUB", 2 }, + { "DEFAULT_SUB", "WA__MESSAGE__EXTENDED_TEXT_MESSAGE__INVITE_LINK_GROUP_TYPE__DEFAULT_SUB", 3 }, +}; +static const ProtobufCIntRange wa__message__extended_text_message__invite_link_group_type__value_ranges[] = { +{0, 0},{0, 4} +}; +static const ProtobufCEnumValueIndex wa__message__extended_text_message__invite_link_group_type__enum_values_by_name[4] = +{ + { "DEFAULT", 0 }, + { "DEFAULT_SUB", 3 }, + { "PARENT", 1 }, + { "SUB", 2 }, +}; +const ProtobufCEnumDescriptor wa__message__extended_text_message__invite_link_group_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.Message.ExtendedTextMessage.InviteLinkGroupType", + "InviteLinkGroupType", + "Wa__Message__ExtendedTextMessage__InviteLinkGroupType", + "wa", + 4, + wa__message__extended_text_message__invite_link_group_type__enum_values_by_number, + 4, + wa__message__extended_text_message__invite_link_group_type__enum_values_by_name, + 1, + wa__message__extended_text_message__invite_link_group_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCEnumValue wa__message__extended_text_message__preview_type__enum_values_by_number[2] = +{ + { "NONE", "WA__MESSAGE__EXTENDED_TEXT_MESSAGE__PREVIEW_TYPE__NONE", 0 }, + { "VIDEO", "WA__MESSAGE__EXTENDED_TEXT_MESSAGE__PREVIEW_TYPE__VIDEO", 1 }, +}; +static const ProtobufCIntRange wa__message__extended_text_message__preview_type__value_ranges[] = { +{0, 0},{0, 2} +}; +static const ProtobufCEnumValueIndex wa__message__extended_text_message__preview_type__enum_values_by_name[2] = +{ + { "NONE", 0 }, + { "VIDEO", 1 }, +}; +const ProtobufCEnumDescriptor wa__message__extended_text_message__preview_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.Message.ExtendedTextMessage.PreviewType", + "PreviewType", + "Wa__Message__ExtendedTextMessage__PreviewType", + "wa", + 2, + wa__message__extended_text_message__preview_type__enum_values_by_number, + 2, + wa__message__extended_text_message__preview_type__enum_values_by_name, + 1, + wa__message__extended_text_message__preview_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__message__extended_text_message__field_descriptors[23] = +{ + { + "text", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ExtendedTextMessage, text), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "matchedText", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ExtendedTextMessage, matchedtext), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "canonicalUrl", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ExtendedTextMessage, canonicalurl), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "description", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ExtendedTextMessage, description), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "title", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ExtendedTextMessage, title), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "textArgb", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_FIXED32, + offsetof(Wa__Message__ExtendedTextMessage, has_textargb), + offsetof(Wa__Message__ExtendedTextMessage, textargb), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "backgroundArgb", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_FIXED32, + offsetof(Wa__Message__ExtendedTextMessage, has_backgroundargb), + offsetof(Wa__Message__ExtendedTextMessage, backgroundargb), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "font", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__ExtendedTextMessage, has_font), + offsetof(Wa__Message__ExtendedTextMessage, font), + &wa__message__extended_text_message__font_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "previewType", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__ExtendedTextMessage, has_previewtype), + offsetof(Wa__Message__ExtendedTextMessage, previewtype), + &wa__message__extended_text_message__preview_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "jpegThumbnail", + 16, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__ExtendedTextMessage, has_jpegthumbnail), + offsetof(Wa__Message__ExtendedTextMessage, jpegthumbnail), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contextInfo", + 17, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ExtendedTextMessage, contextinfo), + &wa__context_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "doNotPlayInline", + 18, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Message__ExtendedTextMessage, has_donotplayinline), + offsetof(Wa__Message__ExtendedTextMessage, donotplayinline), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "thumbnailDirectPath", + 19, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ExtendedTextMessage, thumbnaildirectpath), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "thumbnailSha256", + 20, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__ExtendedTextMessage, has_thumbnailsha256), + offsetof(Wa__Message__ExtendedTextMessage, thumbnailsha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "thumbnailEncSha256", + 21, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__ExtendedTextMessage, has_thumbnailencsha256), + offsetof(Wa__Message__ExtendedTextMessage, thumbnailencsha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaKey", + 22, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__ExtendedTextMessage, has_mediakey), + offsetof(Wa__Message__ExtendedTextMessage, mediakey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaKeyTimestamp", + 23, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__ExtendedTextMessage, has_mediakeytimestamp), + offsetof(Wa__Message__ExtendedTextMessage, mediakeytimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "thumbnailHeight", + 24, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__ExtendedTextMessage, has_thumbnailheight), + offsetof(Wa__Message__ExtendedTextMessage, thumbnailheight), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "thumbnailWidth", + 25, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__ExtendedTextMessage, has_thumbnailwidth), + offsetof(Wa__Message__ExtendedTextMessage, thumbnailwidth), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "inviteLinkGroupType", + 26, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__ExtendedTextMessage, has_invitelinkgrouptype), + offsetof(Wa__Message__ExtendedTextMessage, invitelinkgrouptype), + &wa__message__extended_text_message__invite_link_group_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "inviteLinkParentGroupSubjectV2", + 27, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ExtendedTextMessage, invitelinkparentgroupsubjectv2), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "inviteLinkParentGroupThumbnailV2", + 28, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__ExtendedTextMessage, has_invitelinkparentgroupthumbnailv2), + offsetof(Wa__Message__ExtendedTextMessage, invitelinkparentgroupthumbnailv2), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "inviteLinkGroupTypeV2", + 29, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__ExtendedTextMessage, has_invitelinkgrouptypev2), + offsetof(Wa__Message__ExtendedTextMessage, invitelinkgrouptypev2), + &wa__message__extended_text_message__invite_link_group_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__extended_text_message__field_indices_by_name[] = { + 6, /* field[6] = backgroundArgb */ + 2, /* field[2] = canonicalUrl */ + 10, /* field[10] = contextInfo */ + 3, /* field[3] = description */ + 11, /* field[11] = doNotPlayInline */ + 7, /* field[7] = font */ + 19, /* field[19] = inviteLinkGroupType */ + 22, /* field[22] = inviteLinkGroupTypeV2 */ + 20, /* field[20] = inviteLinkParentGroupSubjectV2 */ + 21, /* field[21] = inviteLinkParentGroupThumbnailV2 */ + 9, /* field[9] = jpegThumbnail */ + 1, /* field[1] = matchedText */ + 15, /* field[15] = mediaKey */ + 16, /* field[16] = mediaKeyTimestamp */ + 8, /* field[8] = previewType */ + 0, /* field[0] = text */ + 5, /* field[5] = textArgb */ + 12, /* field[12] = thumbnailDirectPath */ + 14, /* field[14] = thumbnailEncSha256 */ + 17, /* field[17] = thumbnailHeight */ + 13, /* field[13] = thumbnailSha256 */ + 18, /* field[18] = thumbnailWidth */ + 4, /* field[4] = title */ +}; +static const ProtobufCIntRange wa__message__extended_text_message__number_ranges[3 + 1] = +{ + { 1, 0 }, + { 4, 2 }, + { 16, 9 }, + { 0, 23 } +}; +const ProtobufCMessageDescriptor wa__message__extended_text_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.ExtendedTextMessage", + "ExtendedTextMessage", + "Wa__Message__ExtendedTextMessage", + "wa", + sizeof(Wa__Message__ExtendedTextMessage), + 23, + wa__message__extended_text_message__field_descriptors, + wa__message__extended_text_message__field_indices_by_name, + 3, wa__message__extended_text_message__number_ranges, + (ProtobufCMessageInit) wa__message__extended_text_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__future_proof_message__field_descriptors[1] = +{ + { + "message", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__FutureProofMessage, message), + &wa__message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__future_proof_message__field_indices_by_name[] = { + 0, /* field[0] = message */ +}; +static const ProtobufCIntRange wa__message__future_proof_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__message__future_proof_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.FutureProofMessage", + "FutureProofMessage", + "Wa__Message__FutureProofMessage", + "wa", + sizeof(Wa__Message__FutureProofMessage), + 1, + wa__message__future_proof_message__field_descriptors, + wa__message__future_proof_message__field_indices_by_name, + 1, wa__message__future_proof_message__number_ranges, + (ProtobufCMessageInit) wa__message__future_proof_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__message__group_invite_message__group_type__enum_values_by_number[2] = +{ + { "DEFAULT", "WA__MESSAGE__GROUP_INVITE_MESSAGE__GROUP_TYPE__DEFAULT", 0 }, + { "PARENT", "WA__MESSAGE__GROUP_INVITE_MESSAGE__GROUP_TYPE__PARENT", 1 }, +}; +static const ProtobufCIntRange wa__message__group_invite_message__group_type__value_ranges[] = { +{0, 0},{0, 2} +}; +static const ProtobufCEnumValueIndex wa__message__group_invite_message__group_type__enum_values_by_name[2] = +{ + { "DEFAULT", 0 }, + { "PARENT", 1 }, +}; +const ProtobufCEnumDescriptor wa__message__group_invite_message__group_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.Message.GroupInviteMessage.GroupType", + "GroupType", + "Wa__Message__GroupInviteMessage__GroupType", + "wa", + 2, + wa__message__group_invite_message__group_type__enum_values_by_number, + 2, + wa__message__group_invite_message__group_type__enum_values_by_name, + 1, + wa__message__group_invite_message__group_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__message__group_invite_message__field_descriptors[8] = +{ + { + "groupJid", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__GroupInviteMessage, groupjid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "inviteCode", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__GroupInviteMessage, invitecode), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "inviteExpiration", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__GroupInviteMessage, has_inviteexpiration), + offsetof(Wa__Message__GroupInviteMessage, inviteexpiration), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "groupName", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__GroupInviteMessage, groupname), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "jpegThumbnail", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__GroupInviteMessage, has_jpegthumbnail), + offsetof(Wa__Message__GroupInviteMessage, jpegthumbnail), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "caption", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__GroupInviteMessage, caption), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contextInfo", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__GroupInviteMessage, contextinfo), + &wa__context_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "groupType", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__GroupInviteMessage, has_grouptype), + offsetof(Wa__Message__GroupInviteMessage, grouptype), + &wa__message__group_invite_message__group_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__group_invite_message__field_indices_by_name[] = { + 5, /* field[5] = caption */ + 6, /* field[6] = contextInfo */ + 0, /* field[0] = groupJid */ + 3, /* field[3] = groupName */ + 7, /* field[7] = groupType */ + 1, /* field[1] = inviteCode */ + 2, /* field[2] = inviteExpiration */ + 4, /* field[4] = jpegThumbnail */ +}; +static const ProtobufCIntRange wa__message__group_invite_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 8 } +}; +const ProtobufCMessageDescriptor wa__message__group_invite_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.GroupInviteMessage", + "GroupInviteMessage", + "Wa__Message__GroupInviteMessage", + "wa", + sizeof(Wa__Message__GroupInviteMessage), + 8, + wa__message__group_invite_message__field_descriptors, + wa__message__group_invite_message__field_indices_by_name, + 1, wa__message__group_invite_message__number_ranges, + (ProtobufCMessageInit) wa__message__group_invite_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__hsmcurrency__field_descriptors[2] = +{ + { + "currencyCode", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMCurrency, currencycode), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "amount1000", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMCurrency, has_amount1000), + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMCurrency, amount1000), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__highly_structured_message__hsmlocalizable_parameter__hsmcurrency__field_indices_by_name[] = { + 1, /* field[1] = amount1000 */ + 0, /* field[0] = currencyCode */ +}; +static const ProtobufCIntRange wa__message__highly_structured_message__hsmlocalizable_parameter__hsmcurrency__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__hsmcurrency__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency", + "HSMCurrency", + "Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMCurrency", + "wa", + sizeof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMCurrency), + 2, + wa__message__highly_structured_message__hsmlocalizable_parameter__hsmcurrency__field_descriptors, + wa__message__highly_structured_message__hsmlocalizable_parameter__hsmcurrency__field_indices_by_name, + 1, wa__message__highly_structured_message__hsmlocalizable_parameter__hsmcurrency__number_ranges, + (ProtobufCMessageInit) wa__message__highly_structured_message__hsmlocalizable_parameter__hsmcurrency__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__calendar_type__enum_values_by_number[2] = +{ + { "GREGORIAN", "WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__CALENDAR_TYPE__GREGORIAN", 1 }, + { "SOLAR_HIJRI", "WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__CALENDAR_TYPE__SOLAR_HIJRI", 2 }, +}; +static const ProtobufCIntRange wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__calendar_type__value_ranges[] = { +{1, 0},{0, 2} +}; +static const ProtobufCEnumValueIndex wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__calendar_type__enum_values_by_name[2] = +{ + { "GREGORIAN", 0 }, + { "SOLAR_HIJRI", 1 }, +}; +const ProtobufCEnumDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__calendar_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.CalendarType", + "CalendarType", + "Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent__CalendarType", + "wa", + 2, + wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__calendar_type__enum_values_by_number, + 2, + wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__calendar_type__enum_values_by_name, + 1, + wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__calendar_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCEnumValue wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__day_of_week_type__enum_values_by_number[7] = +{ + { "MONDAY", "WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__DAY_OF_WEEK_TYPE__MONDAY", 1 }, + { "TUESDAY", "WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__DAY_OF_WEEK_TYPE__TUESDAY", 2 }, + { "WEDNESDAY", "WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__DAY_OF_WEEK_TYPE__WEDNESDAY", 3 }, + { "THURSDAY", "WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__DAY_OF_WEEK_TYPE__THURSDAY", 4 }, + { "FRIDAY", "WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__DAY_OF_WEEK_TYPE__FRIDAY", 5 }, + { "SATURDAY", "WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__DAY_OF_WEEK_TYPE__SATURDAY", 6 }, + { "SUNDAY", "WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__DAY_OF_WEEK_TYPE__SUNDAY", 7 }, +}; +static const ProtobufCIntRange wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__day_of_week_type__value_ranges[] = { +{1, 0},{0, 7} +}; +static const ProtobufCEnumValueIndex wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__day_of_week_type__enum_values_by_name[7] = +{ + { "FRIDAY", 4 }, + { "MONDAY", 0 }, + { "SATURDAY", 5 }, + { "SUNDAY", 6 }, + { "THURSDAY", 3 }, + { "TUESDAY", 1 }, + { "WEDNESDAY", 2 }, +}; +const ProtobufCEnumDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__day_of_week_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.DayOfWeekType", + "DayOfWeekType", + "Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent__DayOfWeekType", + "wa", + 7, + wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__day_of_week_type__enum_values_by_number, + 7, + wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__day_of_week_type__enum_values_by_name, + 1, + wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__day_of_week_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__field_descriptors[7] = +{ + { + "dayOfWeek", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent, has_dayofweek), + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent, dayofweek), + &wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__day_of_week_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "year", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent, has_year), + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent, year), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "month", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent, has_month), + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent, month), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "dayOfMonth", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent, has_dayofmonth), + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent, dayofmonth), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "hour", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent, has_hour), + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent, hour), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "minute", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent, has_minute), + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent, minute), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "calendar", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent, has_calendar), + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent, calendar), + &wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__calendar_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__field_indices_by_name[] = { + 6, /* field[6] = calendar */ + 3, /* field[3] = dayOfMonth */ + 0, /* field[0] = dayOfWeek */ + 4, /* field[4] = hour */ + 5, /* field[5] = minute */ + 2, /* field[2] = month */ + 1, /* field[1] = year */ +}; +static const ProtobufCIntRange wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 7 } +}; +const ProtobufCMessageDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent", + "HSMDateTimeComponent", + "Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent", + "wa", + sizeof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent), + 7, + wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__field_descriptors, + wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__field_indices_by_name, + 1, wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__number_ranges, + (ProtobufCMessageInit) wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_unix_epoch__field_descriptors[1] = +{ + { + "timestamp", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeUnixEpoch, has_timestamp), + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeUnixEpoch, timestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_unix_epoch__field_indices_by_name[] = { + 0, /* field[0] = timestamp */ +}; +static const ProtobufCIntRange wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_unix_epoch__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_unix_epoch__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch", + "HSMDateTimeUnixEpoch", + "Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeUnixEpoch", + "wa", + sizeof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeUnixEpoch), + 1, + wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_unix_epoch__field_descriptors, + wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_unix_epoch__field_indices_by_name, + 1, wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_unix_epoch__number_ranges, + (ProtobufCMessageInit) wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_unix_epoch__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__field_descriptors[2] = +{ + { + "component", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime, datetime_oneof_case), + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime, component), + &wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "unixEpoch", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime, datetime_oneof_case), + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime, unixepoch), + &wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_unix_epoch__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__field_indices_by_name[] = { + 0, /* field[0] = component */ + 1, /* field[1] = unixEpoch */ +}; +static const ProtobufCIntRange wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime", + "HSMDateTime", + "Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime", + "wa", + sizeof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime), + 2, + wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__field_descriptors, + wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__field_indices_by_name, + 1, wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__number_ranges, + (ProtobufCMessageInit) wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__field_descriptors[3] = +{ + { + "default", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter, default_), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "currency", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter, param_oneof_case), + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter, currency), + &wa__message__highly_structured_message__hsmlocalizable_parameter__hsmcurrency__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "dateTime", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter, param_oneof_case), + offsetof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter, datetime), + &wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__highly_structured_message__hsmlocalizable_parameter__field_indices_by_name[] = { + 1, /* field[1] = currency */ + 2, /* field[2] = dateTime */ + 0, /* field[0] = default */ +}; +static const ProtobufCIntRange wa__message__highly_structured_message__hsmlocalizable_parameter__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.HighlyStructuredMessage.HSMLocalizableParameter", + "HSMLocalizableParameter", + "Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter", + "wa", + sizeof(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter), + 3, + wa__message__highly_structured_message__hsmlocalizable_parameter__field_descriptors, + wa__message__highly_structured_message__hsmlocalizable_parameter__field_indices_by_name, + 1, wa__message__highly_structured_message__hsmlocalizable_parameter__number_ranges, + (ProtobufCMessageInit) wa__message__highly_structured_message__hsmlocalizable_parameter__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__highly_structured_message__field_descriptors[9] = +{ + { + "namespace", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__HighlyStructuredMessage, namespace_), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "elementName", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__HighlyStructuredMessage, elementname), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "params", + 3, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_STRING, + offsetof(Wa__Message__HighlyStructuredMessage, n_params), + offsetof(Wa__Message__HighlyStructuredMessage, params), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fallbackLg", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__HighlyStructuredMessage, fallbacklg), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fallbackLc", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__HighlyStructuredMessage, fallbacklc), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "localizableParams", + 6, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__HighlyStructuredMessage, n_localizableparams), + offsetof(Wa__Message__HighlyStructuredMessage, localizableparams), + &wa__message__highly_structured_message__hsmlocalizable_parameter__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "deterministicLg", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__HighlyStructuredMessage, deterministiclg), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "deterministicLc", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__HighlyStructuredMessage, deterministiclc), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "hydratedHsm", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__HighlyStructuredMessage, hydratedhsm), + &wa__message__template_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__highly_structured_message__field_indices_by_name[] = { + 7, /* field[7] = deterministicLc */ + 6, /* field[6] = deterministicLg */ + 1, /* field[1] = elementName */ + 4, /* field[4] = fallbackLc */ + 3, /* field[3] = fallbackLg */ + 8, /* field[8] = hydratedHsm */ + 5, /* field[5] = localizableParams */ + 0, /* field[0] = namespace */ + 2, /* field[2] = params */ +}; +static const ProtobufCIntRange wa__message__highly_structured_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 9 } +}; +const ProtobufCMessageDescriptor wa__message__highly_structured_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.HighlyStructuredMessage", + "HighlyStructuredMessage", + "Wa__Message__HighlyStructuredMessage", + "wa", + sizeof(Wa__Message__HighlyStructuredMessage), + 9, + wa__message__highly_structured_message__field_descriptors, + wa__message__highly_structured_message__field_indices_by_name, + 1, wa__message__highly_structured_message__number_ranges, + (ProtobufCMessageInit) wa__message__highly_structured_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__message__history_sync_notification__history_sync_type__enum_values_by_number[5] = +{ + { "INITIAL_BOOTSTRAP", "WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE__INITIAL_BOOTSTRAP", 0 }, + { "INITIAL_STATUS_V3", "WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE__INITIAL_STATUS_V3", 1 }, + { "FULL", "WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE__FULL", 2 }, + { "RECENT", "WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE__RECENT", 3 }, + { "PUSH_NAME", "WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE__PUSH_NAME", 4 }, +}; +static const ProtobufCIntRange wa__message__history_sync_notification__history_sync_type__value_ranges[] = { +{0, 0},{0, 5} +}; +static const ProtobufCEnumValueIndex wa__message__history_sync_notification__history_sync_type__enum_values_by_name[5] = +{ + { "FULL", 2 }, + { "INITIAL_BOOTSTRAP", 0 }, + { "INITIAL_STATUS_V3", 1 }, + { "PUSH_NAME", 4 }, + { "RECENT", 3 }, +}; +const ProtobufCEnumDescriptor wa__message__history_sync_notification__history_sync_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.Message.HistorySyncNotification.HistorySyncType", + "HistorySyncType", + "Wa__Message__HistorySyncNotification__HistorySyncType", + "wa", + 5, + wa__message__history_sync_notification__history_sync_type__enum_values_by_number, + 5, + wa__message__history_sync_notification__history_sync_type__enum_values_by_name, + 1, + wa__message__history_sync_notification__history_sync_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__message__history_sync_notification__field_descriptors[9] = +{ + { + "fileSha256", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__HistorySyncNotification, has_filesha256), + offsetof(Wa__Message__HistorySyncNotification, filesha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileLength", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__Message__HistorySyncNotification, has_filelength), + offsetof(Wa__Message__HistorySyncNotification, filelength), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaKey", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__HistorySyncNotification, has_mediakey), + offsetof(Wa__Message__HistorySyncNotification, mediakey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileEncSha256", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__HistorySyncNotification, has_fileencsha256), + offsetof(Wa__Message__HistorySyncNotification, fileencsha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "directPath", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__HistorySyncNotification, directpath), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "syncType", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__HistorySyncNotification, has_synctype), + offsetof(Wa__Message__HistorySyncNotification, synctype), + &wa__message__history_sync_notification__history_sync_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "chunkOrder", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__HistorySyncNotification, has_chunkorder), + offsetof(Wa__Message__HistorySyncNotification, chunkorder), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "originalMessageId", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__HistorySyncNotification, originalmessageid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "progress", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__HistorySyncNotification, has_progress), + offsetof(Wa__Message__HistorySyncNotification, progress), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__history_sync_notification__field_indices_by_name[] = { + 6, /* field[6] = chunkOrder */ + 4, /* field[4] = directPath */ + 3, /* field[3] = fileEncSha256 */ + 1, /* field[1] = fileLength */ + 0, /* field[0] = fileSha256 */ + 2, /* field[2] = mediaKey */ + 7, /* field[7] = originalMessageId */ + 8, /* field[8] = progress */ + 5, /* field[5] = syncType */ +}; +static const ProtobufCIntRange wa__message__history_sync_notification__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 9 } +}; +const ProtobufCMessageDescriptor wa__message__history_sync_notification__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.HistorySyncNotification", + "HistorySyncNotification", + "Wa__Message__HistorySyncNotification", + "wa", + sizeof(Wa__Message__HistorySyncNotification), + 9, + wa__message__history_sync_notification__field_descriptors, + wa__message__history_sync_notification__field_indices_by_name, + 1, wa__message__history_sync_notification__number_ranges, + (ProtobufCMessageInit) wa__message__history_sync_notification__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__image_message__field_descriptors[26] = +{ + { + "url", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ImageMessage, url), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mimetype", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ImageMessage, mimetype), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "caption", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ImageMessage, caption), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileSha256", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__ImageMessage, has_filesha256), + offsetof(Wa__Message__ImageMessage, filesha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileLength", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__Message__ImageMessage, has_filelength), + offsetof(Wa__Message__ImageMessage, filelength), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "height", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__ImageMessage, has_height), + offsetof(Wa__Message__ImageMessage, height), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "width", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__ImageMessage, has_width), + offsetof(Wa__Message__ImageMessage, width), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaKey", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__ImageMessage, has_mediakey), + offsetof(Wa__Message__ImageMessage, mediakey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileEncSha256", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__ImageMessage, has_fileencsha256), + offsetof(Wa__Message__ImageMessage, fileencsha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "interactiveAnnotations", + 10, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__ImageMessage, n_interactiveannotations), + offsetof(Wa__Message__ImageMessage, interactiveannotations), + &wa__interactive_annotation__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "directPath", + 11, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ImageMessage, directpath), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaKeyTimestamp", + 12, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__ImageMessage, has_mediakeytimestamp), + offsetof(Wa__Message__ImageMessage, mediakeytimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "jpegThumbnail", + 16, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__ImageMessage, has_jpegthumbnail), + offsetof(Wa__Message__ImageMessage, jpegthumbnail), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contextInfo", + 17, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ImageMessage, contextinfo), + &wa__context_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "firstScanSidecar", + 18, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__ImageMessage, has_firstscansidecar), + offsetof(Wa__Message__ImageMessage, firstscansidecar), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "firstScanLength", + 19, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__ImageMessage, has_firstscanlength), + offsetof(Wa__Message__ImageMessage, firstscanlength), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "experimentGroupId", + 20, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__ImageMessage, has_experimentgroupid), + offsetof(Wa__Message__ImageMessage, experimentgroupid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "scansSidecar", + 21, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__ImageMessage, has_scanssidecar), + offsetof(Wa__Message__ImageMessage, scanssidecar), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "scanLengths", + 22, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__ImageMessage, n_scanlengths), + offsetof(Wa__Message__ImageMessage, scanlengths), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "midQualityFileSha256", + 23, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__ImageMessage, has_midqualityfilesha256), + offsetof(Wa__Message__ImageMessage, midqualityfilesha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "midQualityFileEncSha256", + 24, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__ImageMessage, has_midqualityfileencsha256), + offsetof(Wa__Message__ImageMessage, midqualityfileencsha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "viewOnce", + 25, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Message__ImageMessage, has_viewonce), + offsetof(Wa__Message__ImageMessage, viewonce), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "thumbnailDirectPath", + 26, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ImageMessage, thumbnaildirectpath), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "thumbnailSha256", + 27, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__ImageMessage, has_thumbnailsha256), + offsetof(Wa__Message__ImageMessage, thumbnailsha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "thumbnailEncSha256", + 28, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__ImageMessage, has_thumbnailencsha256), + offsetof(Wa__Message__ImageMessage, thumbnailencsha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "staticUrl", + 29, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ImageMessage, staticurl), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__image_message__field_indices_by_name[] = { + 2, /* field[2] = caption */ + 13, /* field[13] = contextInfo */ + 10, /* field[10] = directPath */ + 16, /* field[16] = experimentGroupId */ + 8, /* field[8] = fileEncSha256 */ + 4, /* field[4] = fileLength */ + 3, /* field[3] = fileSha256 */ + 15, /* field[15] = firstScanLength */ + 14, /* field[14] = firstScanSidecar */ + 5, /* field[5] = height */ + 9, /* field[9] = interactiveAnnotations */ + 12, /* field[12] = jpegThumbnail */ + 7, /* field[7] = mediaKey */ + 11, /* field[11] = mediaKeyTimestamp */ + 20, /* field[20] = midQualityFileEncSha256 */ + 19, /* field[19] = midQualityFileSha256 */ + 1, /* field[1] = mimetype */ + 18, /* field[18] = scanLengths */ + 17, /* field[17] = scansSidecar */ + 25, /* field[25] = staticUrl */ + 22, /* field[22] = thumbnailDirectPath */ + 24, /* field[24] = thumbnailEncSha256 */ + 23, /* field[23] = thumbnailSha256 */ + 0, /* field[0] = url */ + 21, /* field[21] = viewOnce */ + 6, /* field[6] = width */ +}; +static const ProtobufCIntRange wa__message__image_message__number_ranges[2 + 1] = +{ + { 1, 0 }, + { 16, 12 }, + { 0, 26 } +}; +const ProtobufCMessageDescriptor wa__message__image_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.ImageMessage", + "ImageMessage", + "Wa__Message__ImageMessage", + "wa", + sizeof(Wa__Message__ImageMessage), + 26, + wa__message__image_message__field_descriptors, + wa__message__image_message__field_indices_by_name, + 2, wa__message__image_message__number_ranges, + (ProtobufCMessageInit) wa__message__image_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__initial_security_notification_setting_sync__field_descriptors[1] = +{ + { + "securityNotificationEnabled", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Message__InitialSecurityNotificationSettingSync, has_securitynotificationenabled), + offsetof(Wa__Message__InitialSecurityNotificationSettingSync, securitynotificationenabled), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__initial_security_notification_setting_sync__field_indices_by_name[] = { + 0, /* field[0] = securityNotificationEnabled */ +}; +static const ProtobufCIntRange wa__message__initial_security_notification_setting_sync__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__message__initial_security_notification_setting_sync__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.InitialSecurityNotificationSettingSync", + "InitialSecurityNotificationSettingSync", + "Wa__Message__InitialSecurityNotificationSettingSync", + "wa", + sizeof(Wa__Message__InitialSecurityNotificationSettingSync), + 1, + wa__message__initial_security_notification_setting_sync__field_descriptors, + wa__message__initial_security_notification_setting_sync__field_indices_by_name, + 1, wa__message__initial_security_notification_setting_sync__number_ranges, + (ProtobufCMessageInit) wa__message__initial_security_notification_setting_sync__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__interactive_message__body__field_descriptors[1] = +{ + { + "text", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__InteractiveMessage__Body, text), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__interactive_message__body__field_indices_by_name[] = { + 0, /* field[0] = text */ +}; +static const ProtobufCIntRange wa__message__interactive_message__body__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__message__interactive_message__body__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.InteractiveMessage.Body", + "Body", + "Wa__Message__InteractiveMessage__Body", + "wa", + sizeof(Wa__Message__InteractiveMessage__Body), + 1, + wa__message__interactive_message__body__field_descriptors, + wa__message__interactive_message__body__field_indices_by_name, + 1, wa__message__interactive_message__body__number_ranges, + (ProtobufCMessageInit) wa__message__interactive_message__body__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__interactive_message__collection_message__field_descriptors[3] = +{ + { + "bizJid", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__InteractiveMessage__CollectionMessage, bizjid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "id", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__InteractiveMessage__CollectionMessage, id), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "messageVersion", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__Message__InteractiveMessage__CollectionMessage, has_messageversion), + offsetof(Wa__Message__InteractiveMessage__CollectionMessage, messageversion), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__interactive_message__collection_message__field_indices_by_name[] = { + 0, /* field[0] = bizJid */ + 1, /* field[1] = id */ + 2, /* field[2] = messageVersion */ +}; +static const ProtobufCIntRange wa__message__interactive_message__collection_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__message__interactive_message__collection_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.InteractiveMessage.CollectionMessage", + "CollectionMessage", + "Wa__Message__InteractiveMessage__CollectionMessage", + "wa", + sizeof(Wa__Message__InteractiveMessage__CollectionMessage), + 3, + wa__message__interactive_message__collection_message__field_descriptors, + wa__message__interactive_message__collection_message__field_indices_by_name, + 1, wa__message__interactive_message__collection_message__number_ranges, + (ProtobufCMessageInit) wa__message__interactive_message__collection_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__interactive_message__footer__field_descriptors[1] = +{ + { + "text", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__InteractiveMessage__Footer, text), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__interactive_message__footer__field_indices_by_name[] = { + 0, /* field[0] = text */ +}; +static const ProtobufCIntRange wa__message__interactive_message__footer__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__message__interactive_message__footer__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.InteractiveMessage.Footer", + "Footer", + "Wa__Message__InteractiveMessage__Footer", + "wa", + sizeof(Wa__Message__InteractiveMessage__Footer), + 1, + wa__message__interactive_message__footer__field_descriptors, + wa__message__interactive_message__footer__field_indices_by_name, + 1, wa__message__interactive_message__footer__number_ranges, + (ProtobufCMessageInit) wa__message__interactive_message__footer__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__interactive_message__header__field_descriptors[7] = +{ + { + "title", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__InteractiveMessage__Header, title), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "subtitle", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__InteractiveMessage__Header, subtitle), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "documentMessage", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__InteractiveMessage__Header, media_case), + offsetof(Wa__Message__InteractiveMessage__Header, documentmessage), + &wa__message__document_message__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "imageMessage", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__InteractiveMessage__Header, media_case), + offsetof(Wa__Message__InteractiveMessage__Header, imagemessage), + &wa__message__image_message__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "hasMediaAttachment", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Message__InteractiveMessage__Header, has_hasmediaattachment), + offsetof(Wa__Message__InteractiveMessage__Header, hasmediaattachment), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "jpegThumbnail", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__InteractiveMessage__Header, media_case), + offsetof(Wa__Message__InteractiveMessage__Header, jpegthumbnail), + NULL, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "videoMessage", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__InteractiveMessage__Header, media_case), + offsetof(Wa__Message__InteractiveMessage__Header, videomessage), + &wa__message__video_message__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__interactive_message__header__field_indices_by_name[] = { + 2, /* field[2] = documentMessage */ + 4, /* field[4] = hasMediaAttachment */ + 3, /* field[3] = imageMessage */ + 5, /* field[5] = jpegThumbnail */ + 1, /* field[1] = subtitle */ + 0, /* field[0] = title */ + 6, /* field[6] = videoMessage */ +}; +static const ProtobufCIntRange wa__message__interactive_message__header__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 7 } +}; +const ProtobufCMessageDescriptor wa__message__interactive_message__header__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.InteractiveMessage.Header", + "Header", + "Wa__Message__InteractiveMessage__Header", + "wa", + sizeof(Wa__Message__InteractiveMessage__Header), + 7, + wa__message__interactive_message__header__field_descriptors, + wa__message__interactive_message__header__field_indices_by_name, + 1, wa__message__interactive_message__header__number_ranges, + (ProtobufCMessageInit) wa__message__interactive_message__header__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__interactive_message__native_flow_message__native_flow_button__field_descriptors[2] = +{ + { + "name", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton, name), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "buttonParamsJson", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton, buttonparamsjson), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__interactive_message__native_flow_message__native_flow_button__field_indices_by_name[] = { + 1, /* field[1] = buttonParamsJson */ + 0, /* field[0] = name */ +}; +static const ProtobufCIntRange wa__message__interactive_message__native_flow_message__native_flow_button__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__message__interactive_message__native_flow_message__native_flow_button__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.InteractiveMessage.NativeFlowMessage.NativeFlowButton", + "NativeFlowButton", + "Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton", + "wa", + sizeof(Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton), + 2, + wa__message__interactive_message__native_flow_message__native_flow_button__field_descriptors, + wa__message__interactive_message__native_flow_message__native_flow_button__field_indices_by_name, + 1, wa__message__interactive_message__native_flow_message__native_flow_button__number_ranges, + (ProtobufCMessageInit) wa__message__interactive_message__native_flow_message__native_flow_button__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__interactive_message__native_flow_message__field_descriptors[3] = +{ + { + "buttons", + 1, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__InteractiveMessage__NativeFlowMessage, n_buttons), + offsetof(Wa__Message__InteractiveMessage__NativeFlowMessage, buttons), + &wa__message__interactive_message__native_flow_message__native_flow_button__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "messageParamsJson", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__InteractiveMessage__NativeFlowMessage, messageparamsjson), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "messageVersion", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__Message__InteractiveMessage__NativeFlowMessage, has_messageversion), + offsetof(Wa__Message__InteractiveMessage__NativeFlowMessage, messageversion), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__interactive_message__native_flow_message__field_indices_by_name[] = { + 0, /* field[0] = buttons */ + 1, /* field[1] = messageParamsJson */ + 2, /* field[2] = messageVersion */ +}; +static const ProtobufCIntRange wa__message__interactive_message__native_flow_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__message__interactive_message__native_flow_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.InteractiveMessage.NativeFlowMessage", + "NativeFlowMessage", + "Wa__Message__InteractiveMessage__NativeFlowMessage", + "wa", + sizeof(Wa__Message__InteractiveMessage__NativeFlowMessage), + 3, + wa__message__interactive_message__native_flow_message__field_descriptors, + wa__message__interactive_message__native_flow_message__field_indices_by_name, + 1, wa__message__interactive_message__native_flow_message__number_ranges, + (ProtobufCMessageInit) wa__message__interactive_message__native_flow_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__message__interactive_message__shop_message__surface__enum_values_by_number[4] = +{ + { "UNKNOWN_SURFACE", "WA__MESSAGE__INTERACTIVE_MESSAGE__SHOP_MESSAGE__SURFACE__UNKNOWN_SURFACE", 0 }, + { "FB", "WA__MESSAGE__INTERACTIVE_MESSAGE__SHOP_MESSAGE__SURFACE__FB", 1 }, + { "IG", "WA__MESSAGE__INTERACTIVE_MESSAGE__SHOP_MESSAGE__SURFACE__IG", 2 }, + { "WA", "WA__MESSAGE__INTERACTIVE_MESSAGE__SHOP_MESSAGE__SURFACE__WA", 3 }, +}; +static const ProtobufCIntRange wa__message__interactive_message__shop_message__surface__value_ranges[] = { +{0, 0},{0, 4} +}; +static const ProtobufCEnumValueIndex wa__message__interactive_message__shop_message__surface__enum_values_by_name[4] = +{ + { "FB", 1 }, + { "IG", 2 }, + { "UNKNOWN_SURFACE", 0 }, + { "WA", 3 }, +}; +const ProtobufCEnumDescriptor wa__message__interactive_message__shop_message__surface__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.Message.InteractiveMessage.ShopMessage.Surface", + "Surface", + "Wa__Message__InteractiveMessage__ShopMessage__Surface", + "wa", + 4, + wa__message__interactive_message__shop_message__surface__enum_values_by_number, + 4, + wa__message__interactive_message__shop_message__surface__enum_values_by_name, + 1, + wa__message__interactive_message__shop_message__surface__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__message__interactive_message__shop_message__field_descriptors[3] = +{ + { + "id", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__InteractiveMessage__ShopMessage, id), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "surface", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__InteractiveMessage__ShopMessage, has_surface), + offsetof(Wa__Message__InteractiveMessage__ShopMessage, surface), + &wa__message__interactive_message__shop_message__surface__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "messageVersion", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__Message__InteractiveMessage__ShopMessage, has_messageversion), + offsetof(Wa__Message__InteractiveMessage__ShopMessage, messageversion), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__interactive_message__shop_message__field_indices_by_name[] = { + 0, /* field[0] = id */ + 2, /* field[2] = messageVersion */ + 1, /* field[1] = surface */ +}; +static const ProtobufCIntRange wa__message__interactive_message__shop_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__message__interactive_message__shop_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.InteractiveMessage.ShopMessage", + "ShopMessage", + "Wa__Message__InteractiveMessage__ShopMessage", + "wa", + sizeof(Wa__Message__InteractiveMessage__ShopMessage), + 3, + wa__message__interactive_message__shop_message__field_descriptors, + wa__message__interactive_message__shop_message__field_indices_by_name, + 1, wa__message__interactive_message__shop_message__number_ranges, + (ProtobufCMessageInit) wa__message__interactive_message__shop_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__interactive_message__field_descriptors[7] = +{ + { + "header", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__InteractiveMessage, header), + &wa__message__interactive_message__header__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "body", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__InteractiveMessage, body), + &wa__message__interactive_message__body__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "footer", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__InteractiveMessage, footer), + &wa__message__interactive_message__footer__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "shopStorefrontMessage", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__InteractiveMessage, interactive_message_case), + offsetof(Wa__Message__InteractiveMessage, shopstorefrontmessage), + &wa__message__interactive_message__shop_message__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "collectionMessage", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__InteractiveMessage, interactive_message_case), + offsetof(Wa__Message__InteractiveMessage, collectionmessage), + &wa__message__interactive_message__collection_message__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "nativeFlowMessage", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__InteractiveMessage, interactive_message_case), + offsetof(Wa__Message__InteractiveMessage, nativeflowmessage), + &wa__message__interactive_message__native_flow_message__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contextInfo", + 15, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__InteractiveMessage, contextinfo), + &wa__context_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__interactive_message__field_indices_by_name[] = { + 1, /* field[1] = body */ + 4, /* field[4] = collectionMessage */ + 6, /* field[6] = contextInfo */ + 2, /* field[2] = footer */ + 0, /* field[0] = header */ + 5, /* field[5] = nativeFlowMessage */ + 3, /* field[3] = shopStorefrontMessage */ +}; +static const ProtobufCIntRange wa__message__interactive_message__number_ranges[2 + 1] = +{ + { 1, 0 }, + { 15, 6 }, + { 0, 7 } +}; +const ProtobufCMessageDescriptor wa__message__interactive_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.InteractiveMessage", + "InteractiveMessage", + "Wa__Message__InteractiveMessage", + "wa", + sizeof(Wa__Message__InteractiveMessage), + 7, + wa__message__interactive_message__field_descriptors, + wa__message__interactive_message__field_indices_by_name, + 2, wa__message__interactive_message__number_ranges, + (ProtobufCMessageInit) wa__message__interactive_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__interactive_response_message__body__field_descriptors[1] = +{ + { + "text", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__InteractiveResponseMessage__Body, text), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__interactive_response_message__body__field_indices_by_name[] = { + 0, /* field[0] = text */ +}; +static const ProtobufCIntRange wa__message__interactive_response_message__body__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__message__interactive_response_message__body__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.InteractiveResponseMessage.Body", + "Body", + "Wa__Message__InteractiveResponseMessage__Body", + "wa", + sizeof(Wa__Message__InteractiveResponseMessage__Body), + 1, + wa__message__interactive_response_message__body__field_descriptors, + wa__message__interactive_response_message__body__field_indices_by_name, + 1, wa__message__interactive_response_message__body__number_ranges, + (ProtobufCMessageInit) wa__message__interactive_response_message__body__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__interactive_response_message__native_flow_response_message__field_descriptors[3] = +{ + { + "name", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage, name), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "paramsJson", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage, paramsjson), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "version", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage, has_version), + offsetof(Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage, version), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__interactive_response_message__native_flow_response_message__field_indices_by_name[] = { + 0, /* field[0] = name */ + 1, /* field[1] = paramsJson */ + 2, /* field[2] = version */ +}; +static const ProtobufCIntRange wa__message__interactive_response_message__native_flow_response_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__message__interactive_response_message__native_flow_response_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.InteractiveResponseMessage.NativeFlowResponseMessage", + "NativeFlowResponseMessage", + "Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage", + "wa", + sizeof(Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage), + 3, + wa__message__interactive_response_message__native_flow_response_message__field_descriptors, + wa__message__interactive_response_message__native_flow_response_message__field_indices_by_name, + 1, wa__message__interactive_response_message__native_flow_response_message__number_ranges, + (ProtobufCMessageInit) wa__message__interactive_response_message__native_flow_response_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__interactive_response_message__field_descriptors[3] = +{ + { + "body", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__InteractiveResponseMessage, body), + &wa__message__interactive_response_message__body__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "nativeFlowResponseMessage", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__InteractiveResponseMessage, interactive_response_message_case), + offsetof(Wa__Message__InteractiveResponseMessage, nativeflowresponsemessage), + &wa__message__interactive_response_message__native_flow_response_message__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contextInfo", + 15, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__InteractiveResponseMessage, contextinfo), + &wa__context_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__interactive_response_message__field_indices_by_name[] = { + 0, /* field[0] = body */ + 2, /* field[2] = contextInfo */ + 1, /* field[1] = nativeFlowResponseMessage */ +}; +static const ProtobufCIntRange wa__message__interactive_response_message__number_ranges[2 + 1] = +{ + { 1, 0 }, + { 15, 2 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__message__interactive_response_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.InteractiveResponseMessage", + "InteractiveResponseMessage", + "Wa__Message__InteractiveResponseMessage", + "wa", + sizeof(Wa__Message__InteractiveResponseMessage), + 3, + wa__message__interactive_response_message__field_descriptors, + wa__message__interactive_response_message__field_indices_by_name, + 2, wa__message__interactive_response_message__number_ranges, + (ProtobufCMessageInit) wa__message__interactive_response_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__message__invoice_message__attachment_type__enum_values_by_number[2] = +{ + { "IMAGE", "WA__MESSAGE__INVOICE_MESSAGE__ATTACHMENT_TYPE__IMAGE", 0 }, + { "PDF", "WA__MESSAGE__INVOICE_MESSAGE__ATTACHMENT_TYPE__PDF", 1 }, +}; +static const ProtobufCIntRange wa__message__invoice_message__attachment_type__value_ranges[] = { +{0, 0},{0, 2} +}; +static const ProtobufCEnumValueIndex wa__message__invoice_message__attachment_type__enum_values_by_name[2] = +{ + { "IMAGE", 0 }, + { "PDF", 1 }, +}; +const ProtobufCEnumDescriptor wa__message__invoice_message__attachment_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.Message.InvoiceMessage.AttachmentType", + "AttachmentType", + "Wa__Message__InvoiceMessage__AttachmentType", + "wa", + 2, + wa__message__invoice_message__attachment_type__enum_values_by_number, + 2, + wa__message__invoice_message__attachment_type__enum_values_by_name, + 1, + wa__message__invoice_message__attachment_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__message__invoice_message__field_descriptors[10] = +{ + { + "note", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__InvoiceMessage, note), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "token", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__InvoiceMessage, token), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "attachmentType", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__InvoiceMessage, has_attachmenttype), + offsetof(Wa__Message__InvoiceMessage, attachmenttype), + &wa__message__invoice_message__attachment_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "attachmentMimetype", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__InvoiceMessage, attachmentmimetype), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "attachmentMediaKey", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__InvoiceMessage, has_attachmentmediakey), + offsetof(Wa__Message__InvoiceMessage, attachmentmediakey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "attachmentMediaKeyTimestamp", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__InvoiceMessage, has_attachmentmediakeytimestamp), + offsetof(Wa__Message__InvoiceMessage, attachmentmediakeytimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "attachmentFileSha256", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__InvoiceMessage, has_attachmentfilesha256), + offsetof(Wa__Message__InvoiceMessage, attachmentfilesha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "attachmentFileEncSha256", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__InvoiceMessage, has_attachmentfileencsha256), + offsetof(Wa__Message__InvoiceMessage, attachmentfileencsha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "attachmentDirectPath", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__InvoiceMessage, attachmentdirectpath), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "attachmentJpegThumbnail", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__InvoiceMessage, has_attachmentjpegthumbnail), + offsetof(Wa__Message__InvoiceMessage, attachmentjpegthumbnail), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__invoice_message__field_indices_by_name[] = { + 8, /* field[8] = attachmentDirectPath */ + 7, /* field[7] = attachmentFileEncSha256 */ + 6, /* field[6] = attachmentFileSha256 */ + 9, /* field[9] = attachmentJpegThumbnail */ + 4, /* field[4] = attachmentMediaKey */ + 5, /* field[5] = attachmentMediaKeyTimestamp */ + 3, /* field[3] = attachmentMimetype */ + 2, /* field[2] = attachmentType */ + 0, /* field[0] = note */ + 1, /* field[1] = token */ +}; +static const ProtobufCIntRange wa__message__invoice_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 10 } +}; +const ProtobufCMessageDescriptor wa__message__invoice_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.InvoiceMessage", + "InvoiceMessage", + "Wa__Message__InvoiceMessage", + "wa", + sizeof(Wa__Message__InvoiceMessage), + 10, + wa__message__invoice_message__field_descriptors, + wa__message__invoice_message__field_indices_by_name, + 1, wa__message__invoice_message__number_ranges, + (ProtobufCMessageInit) wa__message__invoice_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__keep_in_chat_message__field_descriptors[3] = +{ + { + "key", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__KeepInChatMessage, key), + &wa__message_key__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "keepType", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__KeepInChatMessage, has_keeptype), + offsetof(Wa__Message__KeepInChatMessage, keeptype), + &wa__keep_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "timestampMs", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__KeepInChatMessage, has_timestampms), + offsetof(Wa__Message__KeepInChatMessage, timestampms), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__keep_in_chat_message__field_indices_by_name[] = { + 1, /* field[1] = keepType */ + 0, /* field[0] = key */ + 2, /* field[2] = timestampMs */ +}; +static const ProtobufCIntRange wa__message__keep_in_chat_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__message__keep_in_chat_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.KeepInChatMessage", + "KeepInChatMessage", + "Wa__Message__KeepInChatMessage", + "wa", + sizeof(Wa__Message__KeepInChatMessage), + 3, + wa__message__keep_in_chat_message__field_descriptors, + wa__message__keep_in_chat_message__field_indices_by_name, + 1, wa__message__keep_in_chat_message__number_ranges, + (ProtobufCMessageInit) wa__message__keep_in_chat_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__list_message__product_list_header_image__field_descriptors[2] = +{ + { + "productId", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ListMessage__ProductListHeaderImage, productid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "jpegThumbnail", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__ListMessage__ProductListHeaderImage, has_jpegthumbnail), + offsetof(Wa__Message__ListMessage__ProductListHeaderImage, jpegthumbnail), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__list_message__product_list_header_image__field_indices_by_name[] = { + 1, /* field[1] = jpegThumbnail */ + 0, /* field[0] = productId */ +}; +static const ProtobufCIntRange wa__message__list_message__product_list_header_image__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__message__list_message__product_list_header_image__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.ListMessage.ProductListHeaderImage", + "ProductListHeaderImage", + "Wa__Message__ListMessage__ProductListHeaderImage", + "wa", + sizeof(Wa__Message__ListMessage__ProductListHeaderImage), + 2, + wa__message__list_message__product_list_header_image__field_descriptors, + wa__message__list_message__product_list_header_image__field_indices_by_name, + 1, wa__message__list_message__product_list_header_image__number_ranges, + (ProtobufCMessageInit) wa__message__list_message__product_list_header_image__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__list_message__product_list_info__field_descriptors[3] = +{ + { + "productSections", + 1, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__ListMessage__ProductListInfo, n_productsections), + offsetof(Wa__Message__ListMessage__ProductListInfo, productsections), + &wa__message__list_message__product_section__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "headerImage", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ListMessage__ProductListInfo, headerimage), + &wa__message__list_message__product_list_header_image__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "businessOwnerJid", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ListMessage__ProductListInfo, businessownerjid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__list_message__product_list_info__field_indices_by_name[] = { + 2, /* field[2] = businessOwnerJid */ + 1, /* field[1] = headerImage */ + 0, /* field[0] = productSections */ +}; +static const ProtobufCIntRange wa__message__list_message__product_list_info__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__message__list_message__product_list_info__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.ListMessage.ProductListInfo", + "ProductListInfo", + "Wa__Message__ListMessage__ProductListInfo", + "wa", + sizeof(Wa__Message__ListMessage__ProductListInfo), + 3, + wa__message__list_message__product_list_info__field_descriptors, + wa__message__list_message__product_list_info__field_indices_by_name, + 1, wa__message__list_message__product_list_info__number_ranges, + (ProtobufCMessageInit) wa__message__list_message__product_list_info__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__list_message__product_section__field_descriptors[2] = +{ + { + "title", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ListMessage__ProductSection, title), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "products", + 2, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__ListMessage__ProductSection, n_products), + offsetof(Wa__Message__ListMessage__ProductSection, products), + &wa__message__list_message__product__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__list_message__product_section__field_indices_by_name[] = { + 1, /* field[1] = products */ + 0, /* field[0] = title */ +}; +static const ProtobufCIntRange wa__message__list_message__product_section__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__message__list_message__product_section__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.ListMessage.ProductSection", + "ProductSection", + "Wa__Message__ListMessage__ProductSection", + "wa", + sizeof(Wa__Message__ListMessage__ProductSection), + 2, + wa__message__list_message__product_section__field_descriptors, + wa__message__list_message__product_section__field_indices_by_name, + 1, wa__message__list_message__product_section__number_ranges, + (ProtobufCMessageInit) wa__message__list_message__product_section__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__list_message__product__field_descriptors[1] = +{ + { + "productId", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ListMessage__Product, productid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__list_message__product__field_indices_by_name[] = { + 0, /* field[0] = productId */ +}; +static const ProtobufCIntRange wa__message__list_message__product__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__message__list_message__product__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.ListMessage.Product", + "Product", + "Wa__Message__ListMessage__Product", + "wa", + sizeof(Wa__Message__ListMessage__Product), + 1, + wa__message__list_message__product__field_descriptors, + wa__message__list_message__product__field_indices_by_name, + 1, wa__message__list_message__product__number_ranges, + (ProtobufCMessageInit) wa__message__list_message__product__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__list_message__row__field_descriptors[3] = +{ + { + "title", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ListMessage__Row, title), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "description", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ListMessage__Row, description), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "rowId", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ListMessage__Row, rowid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__list_message__row__field_indices_by_name[] = { + 1, /* field[1] = description */ + 2, /* field[2] = rowId */ + 0, /* field[0] = title */ +}; +static const ProtobufCIntRange wa__message__list_message__row__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__message__list_message__row__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.ListMessage.Row", + "Row", + "Wa__Message__ListMessage__Row", + "wa", + sizeof(Wa__Message__ListMessage__Row), + 3, + wa__message__list_message__row__field_descriptors, + wa__message__list_message__row__field_indices_by_name, + 1, wa__message__list_message__row__number_ranges, + (ProtobufCMessageInit) wa__message__list_message__row__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__list_message__section__field_descriptors[2] = +{ + { + "title", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ListMessage__Section, title), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "rows", + 2, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__ListMessage__Section, n_rows), + offsetof(Wa__Message__ListMessage__Section, rows), + &wa__message__list_message__row__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__list_message__section__field_indices_by_name[] = { + 1, /* field[1] = rows */ + 0, /* field[0] = title */ +}; +static const ProtobufCIntRange wa__message__list_message__section__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__message__list_message__section__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.ListMessage.Section", + "Section", + "Wa__Message__ListMessage__Section", + "wa", + sizeof(Wa__Message__ListMessage__Section), + 2, + wa__message__list_message__section__field_descriptors, + wa__message__list_message__section__field_indices_by_name, + 1, wa__message__list_message__section__number_ranges, + (ProtobufCMessageInit) wa__message__list_message__section__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__message__list_message__list_type__enum_values_by_number[3] = +{ + { "UNKNOWN", "WA__MESSAGE__LIST_MESSAGE__LIST_TYPE__UNKNOWN", 0 }, + { "SINGLE_SELECT", "WA__MESSAGE__LIST_MESSAGE__LIST_TYPE__SINGLE_SELECT", 1 }, + { "PRODUCT_LIST", "WA__MESSAGE__LIST_MESSAGE__LIST_TYPE__PRODUCT_LIST", 2 }, +}; +static const ProtobufCIntRange wa__message__list_message__list_type__value_ranges[] = { +{0, 0},{0, 3} +}; +static const ProtobufCEnumValueIndex wa__message__list_message__list_type__enum_values_by_name[3] = +{ + { "PRODUCT_LIST", 2 }, + { "SINGLE_SELECT", 1 }, + { "UNKNOWN", 0 }, +}; +const ProtobufCEnumDescriptor wa__message__list_message__list_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.Message.ListMessage.ListType", + "ListType", + "Wa__Message__ListMessage__ListType", + "wa", + 3, + wa__message__list_message__list_type__enum_values_by_number, + 3, + wa__message__list_message__list_type__enum_values_by_name, + 1, + wa__message__list_message__list_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__message__list_message__field_descriptors[8] = +{ + { + "title", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ListMessage, title), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "description", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ListMessage, description), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "buttonText", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ListMessage, buttontext), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "listType", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__ListMessage, has_listtype), + offsetof(Wa__Message__ListMessage, listtype), + &wa__message__list_message__list_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "sections", + 5, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__ListMessage, n_sections), + offsetof(Wa__Message__ListMessage, sections), + &wa__message__list_message__section__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "productListInfo", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ListMessage, productlistinfo), + &wa__message__list_message__product_list_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "footerText", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ListMessage, footertext), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contextInfo", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ListMessage, contextinfo), + &wa__context_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__list_message__field_indices_by_name[] = { + 2, /* field[2] = buttonText */ + 7, /* field[7] = contextInfo */ + 1, /* field[1] = description */ + 6, /* field[6] = footerText */ + 3, /* field[3] = listType */ + 5, /* field[5] = productListInfo */ + 4, /* field[4] = sections */ + 0, /* field[0] = title */ +}; +static const ProtobufCIntRange wa__message__list_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 8 } +}; +const ProtobufCMessageDescriptor wa__message__list_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.ListMessage", + "ListMessage", + "Wa__Message__ListMessage", + "wa", + sizeof(Wa__Message__ListMessage), + 8, + wa__message__list_message__field_descriptors, + wa__message__list_message__field_indices_by_name, + 1, wa__message__list_message__number_ranges, + (ProtobufCMessageInit) wa__message__list_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__list_response_message__single_select_reply__field_descriptors[1] = +{ + { + "selectedRowId", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ListResponseMessage__SingleSelectReply, selectedrowid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__list_response_message__single_select_reply__field_indices_by_name[] = { + 0, /* field[0] = selectedRowId */ +}; +static const ProtobufCIntRange wa__message__list_response_message__single_select_reply__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__message__list_response_message__single_select_reply__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.ListResponseMessage.SingleSelectReply", + "SingleSelectReply", + "Wa__Message__ListResponseMessage__SingleSelectReply", + "wa", + sizeof(Wa__Message__ListResponseMessage__SingleSelectReply), + 1, + wa__message__list_response_message__single_select_reply__field_descriptors, + wa__message__list_response_message__single_select_reply__field_indices_by_name, + 1, wa__message__list_response_message__single_select_reply__number_ranges, + (ProtobufCMessageInit) wa__message__list_response_message__single_select_reply__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__message__list_response_message__list_type__enum_values_by_number[2] = +{ + { "UNKNOWN", "WA__MESSAGE__LIST_RESPONSE_MESSAGE__LIST_TYPE__UNKNOWN", 0 }, + { "SINGLE_SELECT", "WA__MESSAGE__LIST_RESPONSE_MESSAGE__LIST_TYPE__SINGLE_SELECT", 1 }, +}; +static const ProtobufCIntRange wa__message__list_response_message__list_type__value_ranges[] = { +{0, 0},{0, 2} +}; +static const ProtobufCEnumValueIndex wa__message__list_response_message__list_type__enum_values_by_name[2] = +{ + { "SINGLE_SELECT", 1 }, + { "UNKNOWN", 0 }, +}; +const ProtobufCEnumDescriptor wa__message__list_response_message__list_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.Message.ListResponseMessage.ListType", + "ListType", + "Wa__Message__ListResponseMessage__ListType", + "wa", + 2, + wa__message__list_response_message__list_type__enum_values_by_number, + 2, + wa__message__list_response_message__list_type__enum_values_by_name, + 1, + wa__message__list_response_message__list_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__message__list_response_message__field_descriptors[5] = +{ + { + "title", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ListResponseMessage, title), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "listType", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__ListResponseMessage, has_listtype), + offsetof(Wa__Message__ListResponseMessage, listtype), + &wa__message__list_response_message__list_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "singleSelectReply", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ListResponseMessage, singleselectreply), + &wa__message__list_response_message__single_select_reply__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contextInfo", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ListResponseMessage, contextinfo), + &wa__context_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "description", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ListResponseMessage, description), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__list_response_message__field_indices_by_name[] = { + 3, /* field[3] = contextInfo */ + 4, /* field[4] = description */ + 1, /* field[1] = listType */ + 2, /* field[2] = singleSelectReply */ + 0, /* field[0] = title */ +}; +static const ProtobufCIntRange wa__message__list_response_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 5 } +}; +const ProtobufCMessageDescriptor wa__message__list_response_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.ListResponseMessage", + "ListResponseMessage", + "Wa__Message__ListResponseMessage", + "wa", + sizeof(Wa__Message__ListResponseMessage), + 5, + wa__message__list_response_message__field_descriptors, + wa__message__list_response_message__field_indices_by_name, + 1, wa__message__list_response_message__number_ranges, + (ProtobufCMessageInit) wa__message__list_response_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__live_location_message__field_descriptors[10] = +{ + { + "degreesLatitude", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(Wa__Message__LiveLocationMessage, has_degreeslatitude), + offsetof(Wa__Message__LiveLocationMessage, degreeslatitude), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "degreesLongitude", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(Wa__Message__LiveLocationMessage, has_degreeslongitude), + offsetof(Wa__Message__LiveLocationMessage, degreeslongitude), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "accuracyInMeters", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__LiveLocationMessage, has_accuracyinmeters), + offsetof(Wa__Message__LiveLocationMessage, accuracyinmeters), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "speedInMps", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_FLOAT, + offsetof(Wa__Message__LiveLocationMessage, has_speedinmps), + offsetof(Wa__Message__LiveLocationMessage, speedinmps), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "degreesClockwiseFromMagneticNorth", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__LiveLocationMessage, has_degreesclockwisefrommagneticnorth), + offsetof(Wa__Message__LiveLocationMessage, degreesclockwisefrommagneticnorth), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "caption", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__LiveLocationMessage, caption), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "sequenceNumber", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__LiveLocationMessage, has_sequencenumber), + offsetof(Wa__Message__LiveLocationMessage, sequencenumber), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "timeOffset", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__LiveLocationMessage, has_timeoffset), + offsetof(Wa__Message__LiveLocationMessage, timeoffset), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "jpegThumbnail", + 16, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__LiveLocationMessage, has_jpegthumbnail), + offsetof(Wa__Message__LiveLocationMessage, jpegthumbnail), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contextInfo", + 17, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__LiveLocationMessage, contextinfo), + &wa__context_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__live_location_message__field_indices_by_name[] = { + 2, /* field[2] = accuracyInMeters */ + 5, /* field[5] = caption */ + 9, /* field[9] = contextInfo */ + 4, /* field[4] = degreesClockwiseFromMagneticNorth */ + 0, /* field[0] = degreesLatitude */ + 1, /* field[1] = degreesLongitude */ + 8, /* field[8] = jpegThumbnail */ + 6, /* field[6] = sequenceNumber */ + 3, /* field[3] = speedInMps */ + 7, /* field[7] = timeOffset */ +}; +static const ProtobufCIntRange wa__message__live_location_message__number_ranges[2 + 1] = +{ + { 1, 0 }, + { 16, 8 }, + { 0, 10 } +}; +const ProtobufCMessageDescriptor wa__message__live_location_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.LiveLocationMessage", + "LiveLocationMessage", + "Wa__Message__LiveLocationMessage", + "wa", + sizeof(Wa__Message__LiveLocationMessage), + 10, + wa__message__live_location_message__field_descriptors, + wa__message__live_location_message__field_indices_by_name, + 2, wa__message__live_location_message__number_ranges, + (ProtobufCMessageInit) wa__message__live_location_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__location_message__field_descriptors[12] = +{ + { + "degreesLatitude", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(Wa__Message__LocationMessage, has_degreeslatitude), + offsetof(Wa__Message__LocationMessage, degreeslatitude), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "degreesLongitude", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(Wa__Message__LocationMessage, has_degreeslongitude), + offsetof(Wa__Message__LocationMessage, degreeslongitude), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "name", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__LocationMessage, name), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "address", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__LocationMessage, address), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "url", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__LocationMessage, url), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "isLive", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Message__LocationMessage, has_islive), + offsetof(Wa__Message__LocationMessage, islive), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "accuracyInMeters", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__LocationMessage, has_accuracyinmeters), + offsetof(Wa__Message__LocationMessage, accuracyinmeters), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "speedInMps", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_FLOAT, + offsetof(Wa__Message__LocationMessage, has_speedinmps), + offsetof(Wa__Message__LocationMessage, speedinmps), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "degreesClockwiseFromMagneticNorth", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__LocationMessage, has_degreesclockwisefrommagneticnorth), + offsetof(Wa__Message__LocationMessage, degreesclockwisefrommagneticnorth), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "comment", + 11, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__LocationMessage, comment), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "jpegThumbnail", + 16, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__LocationMessage, has_jpegthumbnail), + offsetof(Wa__Message__LocationMessage, jpegthumbnail), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contextInfo", + 17, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__LocationMessage, contextinfo), + &wa__context_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__location_message__field_indices_by_name[] = { + 6, /* field[6] = accuracyInMeters */ + 3, /* field[3] = address */ + 9, /* field[9] = comment */ + 11, /* field[11] = contextInfo */ + 8, /* field[8] = degreesClockwiseFromMagneticNorth */ + 0, /* field[0] = degreesLatitude */ + 1, /* field[1] = degreesLongitude */ + 5, /* field[5] = isLive */ + 10, /* field[10] = jpegThumbnail */ + 2, /* field[2] = name */ + 7, /* field[7] = speedInMps */ + 4, /* field[4] = url */ +}; +static const ProtobufCIntRange wa__message__location_message__number_ranges[3 + 1] = +{ + { 1, 0 }, + { 11, 9 }, + { 16, 10 }, + { 0, 12 } +}; +const ProtobufCMessageDescriptor wa__message__location_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.LocationMessage", + "LocationMessage", + "Wa__Message__LocationMessage", + "wa", + sizeof(Wa__Message__LocationMessage), + 12, + wa__message__location_message__field_descriptors, + wa__message__location_message__field_indices_by_name, + 3, wa__message__location_message__number_ranges, + (ProtobufCMessageInit) wa__message__location_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__message__order_message__order_status__enum_values_by_number[1] = +{ + { "INQUIRY", "WA__MESSAGE__ORDER_MESSAGE__ORDER_STATUS__INQUIRY", 1 }, +}; +static const ProtobufCIntRange wa__message__order_message__order_status__value_ranges[] = { +{1, 0},{0, 1} +}; +static const ProtobufCEnumValueIndex wa__message__order_message__order_status__enum_values_by_name[1] = +{ + { "INQUIRY", 0 }, +}; +const ProtobufCEnumDescriptor wa__message__order_message__order_status__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.Message.OrderMessage.OrderStatus", + "OrderStatus", + "Wa__Message__OrderMessage__OrderStatus", + "wa", + 1, + wa__message__order_message__order_status__enum_values_by_number, + 1, + wa__message__order_message__order_status__enum_values_by_name, + 1, + wa__message__order_message__order_status__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCEnumValue wa__message__order_message__order_surface__enum_values_by_number[1] = +{ + { "CATALOG", "WA__MESSAGE__ORDER_MESSAGE__ORDER_SURFACE__CATALOG", 1 }, +}; +static const ProtobufCIntRange wa__message__order_message__order_surface__value_ranges[] = { +{1, 0},{0, 1} +}; +static const ProtobufCEnumValueIndex wa__message__order_message__order_surface__enum_values_by_name[1] = +{ + { "CATALOG", 0 }, +}; +const ProtobufCEnumDescriptor wa__message__order_message__order_surface__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.Message.OrderMessage.OrderSurface", + "OrderSurface", + "Wa__Message__OrderMessage__OrderSurface", + "wa", + 1, + wa__message__order_message__order_surface__enum_values_by_number, + 1, + wa__message__order_message__order_surface__enum_values_by_name, + 1, + wa__message__order_message__order_surface__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__message__order_message__field_descriptors[12] = +{ + { + "orderId", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__OrderMessage, orderid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "thumbnail", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__OrderMessage, has_thumbnail), + offsetof(Wa__Message__OrderMessage, thumbnail), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "itemCount", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__Message__OrderMessage, has_itemcount), + offsetof(Wa__Message__OrderMessage, itemcount), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "status", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__OrderMessage, has_status), + offsetof(Wa__Message__OrderMessage, status), + &wa__message__order_message__order_status__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "surface", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__OrderMessage, has_surface), + offsetof(Wa__Message__OrderMessage, surface), + &wa__message__order_message__order_surface__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "message", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__OrderMessage, message), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "orderTitle", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__OrderMessage, ordertitle), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "sellerJid", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__OrderMessage, sellerjid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "token", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__OrderMessage, token), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "totalAmount1000", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__OrderMessage, has_totalamount1000), + offsetof(Wa__Message__OrderMessage, totalamount1000), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "totalCurrencyCode", + 11, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__OrderMessage, totalcurrencycode), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contextInfo", + 17, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__OrderMessage, contextinfo), + &wa__context_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__order_message__field_indices_by_name[] = { + 11, /* field[11] = contextInfo */ + 2, /* field[2] = itemCount */ + 5, /* field[5] = message */ + 0, /* field[0] = orderId */ + 6, /* field[6] = orderTitle */ + 7, /* field[7] = sellerJid */ + 3, /* field[3] = status */ + 4, /* field[4] = surface */ + 1, /* field[1] = thumbnail */ + 8, /* field[8] = token */ + 9, /* field[9] = totalAmount1000 */ + 10, /* field[10] = totalCurrencyCode */ +}; +static const ProtobufCIntRange wa__message__order_message__number_ranges[2 + 1] = +{ + { 1, 0 }, + { 17, 11 }, + { 0, 12 } +}; +const ProtobufCMessageDescriptor wa__message__order_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.OrderMessage", + "OrderMessage", + "Wa__Message__OrderMessage", + "wa", + sizeof(Wa__Message__OrderMessage), + 12, + wa__message__order_message__field_descriptors, + wa__message__order_message__field_indices_by_name, + 2, wa__message__order_message__number_ranges, + (ProtobufCMessageInit) wa__message__order_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__message__payment_invite_message__service_type__enum_values_by_number[4] = +{ + { "UNKNOWN", "WA__MESSAGE__PAYMENT_INVITE_MESSAGE__SERVICE_TYPE__UNKNOWN", 0 }, + { "FBPAY", "WA__MESSAGE__PAYMENT_INVITE_MESSAGE__SERVICE_TYPE__FBPAY", 1 }, + { "NOVI", "WA__MESSAGE__PAYMENT_INVITE_MESSAGE__SERVICE_TYPE__NOVI", 2 }, + { "UPI", "WA__MESSAGE__PAYMENT_INVITE_MESSAGE__SERVICE_TYPE__UPI", 3 }, +}; +static const ProtobufCIntRange wa__message__payment_invite_message__service_type__value_ranges[] = { +{0, 0},{0, 4} +}; +static const ProtobufCEnumValueIndex wa__message__payment_invite_message__service_type__enum_values_by_name[4] = +{ + { "FBPAY", 1 }, + { "NOVI", 2 }, + { "UNKNOWN", 0 }, + { "UPI", 3 }, +}; +const ProtobufCEnumDescriptor wa__message__payment_invite_message__service_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.Message.PaymentInviteMessage.ServiceType", + "ServiceType", + "Wa__Message__PaymentInviteMessage__ServiceType", + "wa", + 4, + wa__message__payment_invite_message__service_type__enum_values_by_number, + 4, + wa__message__payment_invite_message__service_type__enum_values_by_name, + 1, + wa__message__payment_invite_message__service_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__message__payment_invite_message__field_descriptors[2] = +{ + { + "serviceType", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__PaymentInviteMessage, has_servicetype), + offsetof(Wa__Message__PaymentInviteMessage, servicetype), + &wa__message__payment_invite_message__service_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "expiryTimestamp", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__PaymentInviteMessage, has_expirytimestamp), + offsetof(Wa__Message__PaymentInviteMessage, expirytimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__payment_invite_message__field_indices_by_name[] = { + 1, /* field[1] = expiryTimestamp */ + 0, /* field[0] = serviceType */ +}; +static const ProtobufCIntRange wa__message__payment_invite_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__message__payment_invite_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.PaymentInviteMessage", + "PaymentInviteMessage", + "Wa__Message__PaymentInviteMessage", + "wa", + sizeof(Wa__Message__PaymentInviteMessage), + 2, + wa__message__payment_invite_message__field_descriptors, + wa__message__payment_invite_message__field_indices_by_name, + 1, wa__message__payment_invite_message__number_ranges, + (ProtobufCMessageInit) wa__message__payment_invite_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__poll_creation_message__option__field_descriptors[1] = +{ + { + "optionName", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__PollCreationMessage__Option, optionname), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__poll_creation_message__option__field_indices_by_name[] = { + 0, /* field[0] = optionName */ +}; +static const ProtobufCIntRange wa__message__poll_creation_message__option__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__message__poll_creation_message__option__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.PollCreationMessage.Option", + "Option", + "Wa__Message__PollCreationMessage__Option", + "wa", + sizeof(Wa__Message__PollCreationMessage__Option), + 1, + wa__message__poll_creation_message__option__field_descriptors, + wa__message__poll_creation_message__option__field_indices_by_name, + 1, wa__message__poll_creation_message__option__number_ranges, + (ProtobufCMessageInit) wa__message__poll_creation_message__option__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__poll_creation_message__field_descriptors[5] = +{ + { + "encKey", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__PollCreationMessage, has_enckey), + offsetof(Wa__Message__PollCreationMessage, enckey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "name", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__PollCreationMessage, name), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "options", + 3, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__PollCreationMessage, n_options), + offsetof(Wa__Message__PollCreationMessage, options), + &wa__message__poll_creation_message__option__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "selectableOptionsCount", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__PollCreationMessage, has_selectableoptionscount), + offsetof(Wa__Message__PollCreationMessage, selectableoptionscount), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contextInfo", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__PollCreationMessage, contextinfo), + &wa__context_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__poll_creation_message__field_indices_by_name[] = { + 4, /* field[4] = contextInfo */ + 0, /* field[0] = encKey */ + 1, /* field[1] = name */ + 2, /* field[2] = options */ + 3, /* field[3] = selectableOptionsCount */ +}; +static const ProtobufCIntRange wa__message__poll_creation_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 5 } +}; +const ProtobufCMessageDescriptor wa__message__poll_creation_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.PollCreationMessage", + "PollCreationMessage", + "Wa__Message__PollCreationMessage", + "wa", + sizeof(Wa__Message__PollCreationMessage), + 5, + wa__message__poll_creation_message__field_descriptors, + wa__message__poll_creation_message__field_indices_by_name, + 1, wa__message__poll_creation_message__number_ranges, + (ProtobufCMessageInit) wa__message__poll_creation_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__poll_enc_value__field_descriptors[2] = +{ + { + "encPayload", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__PollEncValue, has_encpayload), + offsetof(Wa__Message__PollEncValue, encpayload), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "encIv", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__PollEncValue, has_enciv), + offsetof(Wa__Message__PollEncValue, enciv), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__poll_enc_value__field_indices_by_name[] = { + 1, /* field[1] = encIv */ + 0, /* field[0] = encPayload */ +}; +static const ProtobufCIntRange wa__message__poll_enc_value__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__message__poll_enc_value__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.PollEncValue", + "PollEncValue", + "Wa__Message__PollEncValue", + "wa", + sizeof(Wa__Message__PollEncValue), + 2, + wa__message__poll_enc_value__field_descriptors, + wa__message__poll_enc_value__field_indices_by_name, + 1, wa__message__poll_enc_value__number_ranges, + (ProtobufCMessageInit) wa__message__poll_enc_value__init, + NULL,NULL,NULL /* reserved[123] */ +}; +#define wa__message__poll_update_message_metadata__field_descriptors NULL +#define wa__message__poll_update_message_metadata__field_indices_by_name NULL +#define wa__message__poll_update_message_metadata__number_ranges NULL +const ProtobufCMessageDescriptor wa__message__poll_update_message_metadata__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.PollUpdateMessageMetadata", + "PollUpdateMessageMetadata", + "Wa__Message__PollUpdateMessageMetadata", + "wa", + sizeof(Wa__Message__PollUpdateMessageMetadata), + 0, + wa__message__poll_update_message_metadata__field_descriptors, + wa__message__poll_update_message_metadata__field_indices_by_name, + 0, wa__message__poll_update_message_metadata__number_ranges, + (ProtobufCMessageInit) wa__message__poll_update_message_metadata__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__poll_update_message__field_descriptors[4] = +{ + { + "pollCreationMessageKey", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__PollUpdateMessage, pollcreationmessagekey), + &wa__message_key__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "vote", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__PollUpdateMessage, vote), + &wa__message__poll_enc_value__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "metadata", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__PollUpdateMessage, metadata), + &wa__message__poll_update_message_metadata__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "senderTimestampMs", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__PollUpdateMessage, has_sendertimestampms), + offsetof(Wa__Message__PollUpdateMessage, sendertimestampms), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__poll_update_message__field_indices_by_name[] = { + 2, /* field[2] = metadata */ + 0, /* field[0] = pollCreationMessageKey */ + 3, /* field[3] = senderTimestampMs */ + 1, /* field[1] = vote */ +}; +static const ProtobufCIntRange wa__message__poll_update_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__message__poll_update_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.PollUpdateMessage", + "PollUpdateMessage", + "Wa__Message__PollUpdateMessage", + "wa", + sizeof(Wa__Message__PollUpdateMessage), + 4, + wa__message__poll_update_message__field_descriptors, + wa__message__poll_update_message__field_indices_by_name, + 1, wa__message__poll_update_message__number_ranges, + (ProtobufCMessageInit) wa__message__poll_update_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__poll_vote_message__field_descriptors[1] = +{ + { + "selectedOptions", + 1, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__PollVoteMessage, n_selectedoptions), + offsetof(Wa__Message__PollVoteMessage, selectedoptions), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__poll_vote_message__field_indices_by_name[] = { + 0, /* field[0] = selectedOptions */ +}; +static const ProtobufCIntRange wa__message__poll_vote_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__message__poll_vote_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.PollVoteMessage", + "PollVoteMessage", + "Wa__Message__PollVoteMessage", + "wa", + sizeof(Wa__Message__PollVoteMessage), + 1, + wa__message__poll_vote_message__field_descriptors, + wa__message__poll_vote_message__field_indices_by_name, + 1, wa__message__poll_vote_message__number_ranges, + (ProtobufCMessageInit) wa__message__poll_vote_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__product_message__catalog_snapshot__field_descriptors[3] = +{ + { + "catalogImage", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ProductMessage__CatalogSnapshot, catalogimage), + &wa__message__image_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "title", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ProductMessage__CatalogSnapshot, title), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "description", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ProductMessage__CatalogSnapshot, description), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__product_message__catalog_snapshot__field_indices_by_name[] = { + 0, /* field[0] = catalogImage */ + 2, /* field[2] = description */ + 1, /* field[1] = title */ +}; +static const ProtobufCIntRange wa__message__product_message__catalog_snapshot__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__message__product_message__catalog_snapshot__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.ProductMessage.CatalogSnapshot", + "CatalogSnapshot", + "Wa__Message__ProductMessage__CatalogSnapshot", + "wa", + sizeof(Wa__Message__ProductMessage__CatalogSnapshot), + 3, + wa__message__product_message__catalog_snapshot__field_descriptors, + wa__message__product_message__catalog_snapshot__field_indices_by_name, + 1, wa__message__product_message__catalog_snapshot__number_ranges, + (ProtobufCMessageInit) wa__message__product_message__catalog_snapshot__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__product_message__product_snapshot__field_descriptors[11] = +{ + { + "productImage", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ProductMessage__ProductSnapshot, productimage), + &wa__message__image_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "productId", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ProductMessage__ProductSnapshot, productid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "title", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ProductMessage__ProductSnapshot, title), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "description", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ProductMessage__ProductSnapshot, description), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "currencyCode", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ProductMessage__ProductSnapshot, currencycode), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "priceAmount1000", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__ProductMessage__ProductSnapshot, has_priceamount1000), + offsetof(Wa__Message__ProductMessage__ProductSnapshot, priceamount1000), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "retailerId", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ProductMessage__ProductSnapshot, retailerid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "url", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ProductMessage__ProductSnapshot, url), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "productImageCount", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__ProductMessage__ProductSnapshot, has_productimagecount), + offsetof(Wa__Message__ProductMessage__ProductSnapshot, productimagecount), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "firstImageId", + 11, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ProductMessage__ProductSnapshot, firstimageid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "salePriceAmount1000", + 12, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__ProductMessage__ProductSnapshot, has_salepriceamount1000), + offsetof(Wa__Message__ProductMessage__ProductSnapshot, salepriceamount1000), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__product_message__product_snapshot__field_indices_by_name[] = { + 4, /* field[4] = currencyCode */ + 3, /* field[3] = description */ + 9, /* field[9] = firstImageId */ + 5, /* field[5] = priceAmount1000 */ + 1, /* field[1] = productId */ + 0, /* field[0] = productImage */ + 8, /* field[8] = productImageCount */ + 6, /* field[6] = retailerId */ + 10, /* field[10] = salePriceAmount1000 */ + 2, /* field[2] = title */ + 7, /* field[7] = url */ +}; +static const ProtobufCIntRange wa__message__product_message__product_snapshot__number_ranges[2 + 1] = +{ + { 1, 0 }, + { 11, 9 }, + { 0, 11 } +}; +const ProtobufCMessageDescriptor wa__message__product_message__product_snapshot__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.ProductMessage.ProductSnapshot", + "ProductSnapshot", + "Wa__Message__ProductMessage__ProductSnapshot", + "wa", + sizeof(Wa__Message__ProductMessage__ProductSnapshot), + 11, + wa__message__product_message__product_snapshot__field_descriptors, + wa__message__product_message__product_snapshot__field_indices_by_name, + 2, wa__message__product_message__product_snapshot__number_ranges, + (ProtobufCMessageInit) wa__message__product_message__product_snapshot__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__product_message__field_descriptors[6] = +{ + { + "product", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ProductMessage, product), + &wa__message__product_message__product_snapshot__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "businessOwnerJid", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ProductMessage, businessownerjid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "catalog", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ProductMessage, catalog), + &wa__message__product_message__catalog_snapshot__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "body", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ProductMessage, body), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "footer", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ProductMessage, footer), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contextInfo", + 17, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ProductMessage, contextinfo), + &wa__context_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__product_message__field_indices_by_name[] = { + 3, /* field[3] = body */ + 1, /* field[1] = businessOwnerJid */ + 2, /* field[2] = catalog */ + 5, /* field[5] = contextInfo */ + 4, /* field[4] = footer */ + 0, /* field[0] = product */ +}; +static const ProtobufCIntRange wa__message__product_message__number_ranges[3 + 1] = +{ + { 1, 0 }, + { 4, 2 }, + { 17, 5 }, + { 0, 6 } +}; +const ProtobufCMessageDescriptor wa__message__product_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.ProductMessage", + "ProductMessage", + "Wa__Message__ProductMessage", + "wa", + sizeof(Wa__Message__ProductMessage), + 6, + wa__message__product_message__field_descriptors, + wa__message__product_message__field_indices_by_name, + 3, wa__message__product_message__number_ranges, + (ProtobufCMessageInit) wa__message__product_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__message__protocol_message__type__enum_values_by_number[12] = +{ + { "REVOKE", "WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__REVOKE", 0 }, + { "EPHEMERAL_SETTING", "WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__EPHEMERAL_SETTING", 3 }, + { "EPHEMERAL_SYNC_RESPONSE", "WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__EPHEMERAL_SYNC_RESPONSE", 4 }, + { "HISTORY_SYNC_NOTIFICATION", "WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__HISTORY_SYNC_NOTIFICATION", 5 }, + { "APP_STATE_SYNC_KEY_SHARE", "WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__APP_STATE_SYNC_KEY_SHARE", 6 }, + { "APP_STATE_SYNC_KEY_REQUEST", "WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__APP_STATE_SYNC_KEY_REQUEST", 7 }, + { "MSG_FANOUT_BACKFILL_REQUEST", "WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__MSG_FANOUT_BACKFILL_REQUEST", 8 }, + { "INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC", "WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC", 9 }, + { "APP_STATE_FATAL_EXCEPTION_NOTIFICATION", "WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__APP_STATE_FATAL_EXCEPTION_NOTIFICATION", 10 }, + { "SHARE_PHONE_NUMBER", "WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__SHARE_PHONE_NUMBER", 11 }, + { "REQUEST_MEDIA_UPLOAD_MESSAGE", "WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__REQUEST_MEDIA_UPLOAD_MESSAGE", 12 }, + { "REQUEST_MEDIA_UPLOAD_RESPONSE_MESSAGE", "WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__REQUEST_MEDIA_UPLOAD_RESPONSE_MESSAGE", 13 }, +}; +static const ProtobufCIntRange wa__message__protocol_message__type__value_ranges[] = { +{0, 0},{3, 1},{0, 12} +}; +static const ProtobufCEnumValueIndex wa__message__protocol_message__type__enum_values_by_name[12] = +{ + { "APP_STATE_FATAL_EXCEPTION_NOTIFICATION", 8 }, + { "APP_STATE_SYNC_KEY_REQUEST", 5 }, + { "APP_STATE_SYNC_KEY_SHARE", 4 }, + { "EPHEMERAL_SETTING", 1 }, + { "EPHEMERAL_SYNC_RESPONSE", 2 }, + { "HISTORY_SYNC_NOTIFICATION", 3 }, + { "INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC", 7 }, + { "MSG_FANOUT_BACKFILL_REQUEST", 6 }, + { "REQUEST_MEDIA_UPLOAD_MESSAGE", 10 }, + { "REQUEST_MEDIA_UPLOAD_RESPONSE_MESSAGE", 11 }, + { "REVOKE", 0 }, + { "SHARE_PHONE_NUMBER", 9 }, +}; +const ProtobufCEnumDescriptor wa__message__protocol_message__type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.Message.ProtocolMessage.Type", + "Type", + "Wa__Message__ProtocolMessage__Type", + "wa", + 12, + wa__message__protocol_message__type__enum_values_by_number, + 12, + wa__message__protocol_message__type__enum_values_by_name, + 2, + wa__message__protocol_message__type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__message__protocol_message__field_descriptors[12] = +{ + { + "key", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ProtocolMessage, key), + &wa__message_key__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "type", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__ProtocolMessage, has_type), + offsetof(Wa__Message__ProtocolMessage, type), + &wa__message__protocol_message__type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ephemeralExpiration", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__ProtocolMessage, has_ephemeralexpiration), + offsetof(Wa__Message__ProtocolMessage, ephemeralexpiration), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ephemeralSettingTimestamp", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__ProtocolMessage, has_ephemeralsettingtimestamp), + offsetof(Wa__Message__ProtocolMessage, ephemeralsettingtimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "historySyncNotification", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ProtocolMessage, historysyncnotification), + &wa__message__history_sync_notification__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "appStateSyncKeyShare", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ProtocolMessage, appstatesynckeyshare), + &wa__message__app_state_sync_key_share__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "appStateSyncKeyRequest", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ProtocolMessage, appstatesynckeyrequest), + &wa__message__app_state_sync_key_request__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "initialSecurityNotificationSettingSync", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ProtocolMessage, initialsecuritynotificationsettingsync), + &wa__message__initial_security_notification_setting_sync__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "appStateFatalExceptionNotification", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ProtocolMessage, appstatefatalexceptionnotification), + &wa__message__app_state_fatal_exception_notification__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "disappearingMode", + 11, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ProtocolMessage, disappearingmode), + &wa__disappearing_mode__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "requestMediaUploadMessage", + 12, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ProtocolMessage, requestmediauploadmessage), + &wa__message__request_media_upload_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "requestMediaUploadResponseMessage", + 13, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ProtocolMessage, requestmediauploadresponsemessage), + &wa__message__request_media_upload_response_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__protocol_message__field_indices_by_name[] = { + 8, /* field[8] = appStateFatalExceptionNotification */ + 6, /* field[6] = appStateSyncKeyRequest */ + 5, /* field[5] = appStateSyncKeyShare */ + 9, /* field[9] = disappearingMode */ + 2, /* field[2] = ephemeralExpiration */ + 3, /* field[3] = ephemeralSettingTimestamp */ + 4, /* field[4] = historySyncNotification */ + 7, /* field[7] = initialSecurityNotificationSettingSync */ + 0, /* field[0] = key */ + 10, /* field[10] = requestMediaUploadMessage */ + 11, /* field[11] = requestMediaUploadResponseMessage */ + 1, /* field[1] = type */ +}; +static const ProtobufCIntRange wa__message__protocol_message__number_ranges[2 + 1] = +{ + { 1, 0 }, + { 4, 2 }, + { 0, 12 } +}; +const ProtobufCMessageDescriptor wa__message__protocol_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.ProtocolMessage", + "ProtocolMessage", + "Wa__Message__ProtocolMessage", + "wa", + sizeof(Wa__Message__ProtocolMessage), + 12, + wa__message__protocol_message__field_descriptors, + wa__message__protocol_message__field_indices_by_name, + 2, wa__message__protocol_message__number_ranges, + (ProtobufCMessageInit) wa__message__protocol_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__reaction_message__field_descriptors[4] = +{ + { + "key", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ReactionMessage, key), + &wa__message_key__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "text", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ReactionMessage, text), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "groupingKey", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ReactionMessage, groupingkey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "senderTimestampMs", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__ReactionMessage, has_sendertimestampms), + offsetof(Wa__Message__ReactionMessage, sendertimestampms), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__reaction_message__field_indices_by_name[] = { + 2, /* field[2] = groupingKey */ + 0, /* field[0] = key */ + 3, /* field[3] = senderTimestampMs */ + 1, /* field[1] = text */ +}; +static const ProtobufCIntRange wa__message__reaction_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__message__reaction_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.ReactionMessage", + "ReactionMessage", + "Wa__Message__ReactionMessage", + "wa", + sizeof(Wa__Message__ReactionMessage), + 4, + wa__message__reaction_message__field_descriptors, + wa__message__reaction_message__field_indices_by_name, + 1, wa__message__reaction_message__number_ranges, + (ProtobufCMessageInit) wa__message__reaction_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__request_media_upload_message__field_descriptors[2] = +{ + { + "fileSha256", + 1, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_STRING, + offsetof(Wa__Message__RequestMediaUploadMessage, n_filesha256), + offsetof(Wa__Message__RequestMediaUploadMessage, filesha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "rmrSource", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__RequestMediaUploadMessage, has_rmrsource), + offsetof(Wa__Message__RequestMediaUploadMessage, rmrsource), + &wa__message__rmr_source__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__request_media_upload_message__field_indices_by_name[] = { + 0, /* field[0] = fileSha256 */ + 1, /* field[1] = rmrSource */ +}; +static const ProtobufCIntRange wa__message__request_media_upload_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__message__request_media_upload_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.RequestMediaUploadMessage", + "RequestMediaUploadMessage", + "Wa__Message__RequestMediaUploadMessage", + "wa", + sizeof(Wa__Message__RequestMediaUploadMessage), + 2, + wa__message__request_media_upload_message__field_descriptors, + wa__message__request_media_upload_message__field_indices_by_name, + 1, wa__message__request_media_upload_message__number_ranges, + (ProtobufCMessageInit) wa__message__request_media_upload_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__request_media_upload_response_message__request_media_upload_result__field_descriptors[3] = +{ + { + "fileSha256", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult, filesha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaUploadResult", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult, has_mediauploadresult), + offsetof(Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult, mediauploadresult), + &wa__media_retry_notification__result_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "stickerMessage", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult, stickermessage), + &wa__message__sticker_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__request_media_upload_response_message__request_media_upload_result__field_indices_by_name[] = { + 0, /* field[0] = fileSha256 */ + 1, /* field[1] = mediaUploadResult */ + 2, /* field[2] = stickerMessage */ +}; +static const ProtobufCIntRange wa__message__request_media_upload_response_message__request_media_upload_result__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__message__request_media_upload_response_message__request_media_upload_result__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.RequestMediaUploadResponseMessage.RequestMediaUploadResult", + "RequestMediaUploadResult", + "Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult", + "wa", + sizeof(Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult), + 3, + wa__message__request_media_upload_response_message__request_media_upload_result__field_descriptors, + wa__message__request_media_upload_response_message__request_media_upload_result__field_indices_by_name, + 1, wa__message__request_media_upload_response_message__request_media_upload_result__number_ranges, + (ProtobufCMessageInit) wa__message__request_media_upload_response_message__request_media_upload_result__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__request_media_upload_response_message__field_descriptors[3] = +{ + { + "rmrSource", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__RequestMediaUploadResponseMessage, has_rmrsource), + offsetof(Wa__Message__RequestMediaUploadResponseMessage, rmrsource), + &wa__message__rmr_source__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "stanzaId", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__RequestMediaUploadResponseMessage, stanzaid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "reuploadResult", + 3, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__RequestMediaUploadResponseMessage, n_reuploadresult), + offsetof(Wa__Message__RequestMediaUploadResponseMessage, reuploadresult), + &wa__message__request_media_upload_response_message__request_media_upload_result__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__request_media_upload_response_message__field_indices_by_name[] = { + 2, /* field[2] = reuploadResult */ + 0, /* field[0] = rmrSource */ + 1, /* field[1] = stanzaId */ +}; +static const ProtobufCIntRange wa__message__request_media_upload_response_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__message__request_media_upload_response_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.RequestMediaUploadResponseMessage", + "RequestMediaUploadResponseMessage", + "Wa__Message__RequestMediaUploadResponseMessage", + "wa", + sizeof(Wa__Message__RequestMediaUploadResponseMessage), + 3, + wa__message__request_media_upload_response_message__field_descriptors, + wa__message__request_media_upload_response_message__field_indices_by_name, + 1, wa__message__request_media_upload_response_message__number_ranges, + (ProtobufCMessageInit) wa__message__request_media_upload_response_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__request_payment_message__field_descriptors[7] = +{ + { + "currencyCodeIso4217", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__RequestPaymentMessage, currencycodeiso4217), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "amount1000", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__Message__RequestPaymentMessage, has_amount1000), + offsetof(Wa__Message__RequestPaymentMessage, amount1000), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "requestFrom", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__RequestPaymentMessage, requestfrom), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "noteMessage", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__RequestPaymentMessage, notemessage), + &wa__message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "expiryTimestamp", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__RequestPaymentMessage, has_expirytimestamp), + offsetof(Wa__Message__RequestPaymentMessage, expirytimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "amount", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__RequestPaymentMessage, amount), + &wa__money__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "background", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__RequestPaymentMessage, background), + &wa__payment_background__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__request_payment_message__field_indices_by_name[] = { + 5, /* field[5] = amount */ + 1, /* field[1] = amount1000 */ + 6, /* field[6] = background */ + 0, /* field[0] = currencyCodeIso4217 */ + 4, /* field[4] = expiryTimestamp */ + 3, /* field[3] = noteMessage */ + 2, /* field[2] = requestFrom */ +}; +static const ProtobufCIntRange wa__message__request_payment_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 7 } +}; +const ProtobufCMessageDescriptor wa__message__request_payment_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.RequestPaymentMessage", + "RequestPaymentMessage", + "Wa__Message__RequestPaymentMessage", + "wa", + sizeof(Wa__Message__RequestPaymentMessage), + 7, + wa__message__request_payment_message__field_descriptors, + wa__message__request_payment_message__field_indices_by_name, + 1, wa__message__request_payment_message__number_ranges, + (ProtobufCMessageInit) wa__message__request_payment_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__request_phone_number_message__field_descriptors[1] = +{ + { + "contextInfo", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__RequestPhoneNumberMessage, contextinfo), + &wa__context_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__request_phone_number_message__field_indices_by_name[] = { + 0, /* field[0] = contextInfo */ +}; +static const ProtobufCIntRange wa__message__request_phone_number_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__message__request_phone_number_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.RequestPhoneNumberMessage", + "RequestPhoneNumberMessage", + "Wa__Message__RequestPhoneNumberMessage", + "wa", + sizeof(Wa__Message__RequestPhoneNumberMessage), + 1, + wa__message__request_phone_number_message__field_descriptors, + wa__message__request_phone_number_message__field_indices_by_name, + 1, wa__message__request_phone_number_message__number_ranges, + (ProtobufCMessageInit) wa__message__request_phone_number_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__send_payment_message__field_descriptors[3] = +{ + { + "noteMessage", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__SendPaymentMessage, notemessage), + &wa__message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "requestMessageKey", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__SendPaymentMessage, requestmessagekey), + &wa__message_key__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "background", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__SendPaymentMessage, background), + &wa__payment_background__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__send_payment_message__field_indices_by_name[] = { + 2, /* field[2] = background */ + 0, /* field[0] = noteMessage */ + 1, /* field[1] = requestMessageKey */ +}; +static const ProtobufCIntRange wa__message__send_payment_message__number_ranges[1 + 1] = +{ + { 2, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__message__send_payment_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.SendPaymentMessage", + "SendPaymentMessage", + "Wa__Message__SendPaymentMessage", + "wa", + sizeof(Wa__Message__SendPaymentMessage), + 3, + wa__message__send_payment_message__field_descriptors, + wa__message__send_payment_message__field_indices_by_name, + 1, wa__message__send_payment_message__number_ranges, + (ProtobufCMessageInit) wa__message__send_payment_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__sender_key_distribution_message__field_descriptors[2] = +{ + { + "groupId", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__SenderKeyDistributionMessage, groupid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "axolotlSenderKeyDistributionMessage", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__SenderKeyDistributionMessage, has_axolotlsenderkeydistributionmessage), + offsetof(Wa__Message__SenderKeyDistributionMessage, axolotlsenderkeydistributionmessage), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__sender_key_distribution_message__field_indices_by_name[] = { + 1, /* field[1] = axolotlSenderKeyDistributionMessage */ + 0, /* field[0] = groupId */ +}; +static const ProtobufCIntRange wa__message__sender_key_distribution_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__message__sender_key_distribution_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.SenderKeyDistributionMessage", + "SenderKeyDistributionMessage", + "Wa__Message__SenderKeyDistributionMessage", + "wa", + sizeof(Wa__Message__SenderKeyDistributionMessage), + 2, + wa__message__sender_key_distribution_message__field_descriptors, + wa__message__sender_key_distribution_message__field_indices_by_name, + 1, wa__message__sender_key_distribution_message__number_ranges, + (ProtobufCMessageInit) wa__message__sender_key_distribution_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__sticker_message__field_descriptors[15] = +{ + { + "url", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__StickerMessage, url), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileSha256", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__StickerMessage, has_filesha256), + offsetof(Wa__Message__StickerMessage, filesha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileEncSha256", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__StickerMessage, has_fileencsha256), + offsetof(Wa__Message__StickerMessage, fileencsha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaKey", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__StickerMessage, has_mediakey), + offsetof(Wa__Message__StickerMessage, mediakey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mimetype", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__StickerMessage, mimetype), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "height", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__StickerMessage, has_height), + offsetof(Wa__Message__StickerMessage, height), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "width", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__StickerMessage, has_width), + offsetof(Wa__Message__StickerMessage, width), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "directPath", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__StickerMessage, directpath), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileLength", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__Message__StickerMessage, has_filelength), + offsetof(Wa__Message__StickerMessage, filelength), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaKeyTimestamp", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__StickerMessage, has_mediakeytimestamp), + offsetof(Wa__Message__StickerMessage, mediakeytimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "firstFrameLength", + 11, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__StickerMessage, has_firstframelength), + offsetof(Wa__Message__StickerMessage, firstframelength), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "firstFrameSidecar", + 12, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__StickerMessage, has_firstframesidecar), + offsetof(Wa__Message__StickerMessage, firstframesidecar), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "isAnimated", + 13, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Message__StickerMessage, has_isanimated), + offsetof(Wa__Message__StickerMessage, isanimated), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pngThumbnail", + 16, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__StickerMessage, has_pngthumbnail), + offsetof(Wa__Message__StickerMessage, pngthumbnail), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contextInfo", + 17, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__StickerMessage, contextinfo), + &wa__context_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__sticker_message__field_indices_by_name[] = { + 14, /* field[14] = contextInfo */ + 7, /* field[7] = directPath */ + 2, /* field[2] = fileEncSha256 */ + 8, /* field[8] = fileLength */ + 1, /* field[1] = fileSha256 */ + 10, /* field[10] = firstFrameLength */ + 11, /* field[11] = firstFrameSidecar */ + 5, /* field[5] = height */ + 12, /* field[12] = isAnimated */ + 3, /* field[3] = mediaKey */ + 9, /* field[9] = mediaKeyTimestamp */ + 4, /* field[4] = mimetype */ + 13, /* field[13] = pngThumbnail */ + 0, /* field[0] = url */ + 6, /* field[6] = width */ +}; +static const ProtobufCIntRange wa__message__sticker_message__number_ranges[2 + 1] = +{ + { 1, 0 }, + { 16, 13 }, + { 0, 15 } +}; +const ProtobufCMessageDescriptor wa__message__sticker_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.StickerMessage", + "StickerMessage", + "Wa__Message__StickerMessage", + "wa", + sizeof(Wa__Message__StickerMessage), + 15, + wa__message__sticker_message__field_descriptors, + wa__message__sticker_message__field_indices_by_name, + 2, wa__message__sticker_message__number_ranges, + (ProtobufCMessageInit) wa__message__sticker_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__sticker_sync_rmrmessage__field_descriptors[3] = +{ + { + "filehash", + 1, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_STRING, + offsetof(Wa__Message__StickerSyncRMRMessage, n_filehash), + offsetof(Wa__Message__StickerSyncRMRMessage, filehash), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "rmrSource", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__StickerSyncRMRMessage, rmrsource), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "requestTimestamp", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__StickerSyncRMRMessage, has_requesttimestamp), + offsetof(Wa__Message__StickerSyncRMRMessage, requesttimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__sticker_sync_rmrmessage__field_indices_by_name[] = { + 0, /* field[0] = filehash */ + 2, /* field[2] = requestTimestamp */ + 1, /* field[1] = rmrSource */ +}; +static const ProtobufCIntRange wa__message__sticker_sync_rmrmessage__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__message__sticker_sync_rmrmessage__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.StickerSyncRMRMessage", + "StickerSyncRMRMessage", + "Wa__Message__StickerSyncRMRMessage", + "wa", + sizeof(Wa__Message__StickerSyncRMRMessage), + 3, + wa__message__sticker_sync_rmrmessage__field_descriptors, + wa__message__sticker_sync_rmrmessage__field_indices_by_name, + 1, wa__message__sticker_sync_rmrmessage__number_ranges, + (ProtobufCMessageInit) wa__message__sticker_sync_rmrmessage__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__template_button_reply_message__field_descriptors[4] = +{ + { + "selectedId", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__TemplateButtonReplyMessage, selectedid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "selectedDisplayText", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__TemplateButtonReplyMessage, selecteddisplaytext), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contextInfo", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__TemplateButtonReplyMessage, contextinfo), + &wa__context_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "selectedIndex", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__TemplateButtonReplyMessage, has_selectedindex), + offsetof(Wa__Message__TemplateButtonReplyMessage, selectedindex), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__template_button_reply_message__field_indices_by_name[] = { + 2, /* field[2] = contextInfo */ + 1, /* field[1] = selectedDisplayText */ + 0, /* field[0] = selectedId */ + 3, /* field[3] = selectedIndex */ +}; +static const ProtobufCIntRange wa__message__template_button_reply_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__message__template_button_reply_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.TemplateButtonReplyMessage", + "TemplateButtonReplyMessage", + "Wa__Message__TemplateButtonReplyMessage", + "wa", + sizeof(Wa__Message__TemplateButtonReplyMessage), + 4, + wa__message__template_button_reply_message__field_descriptors, + wa__message__template_button_reply_message__field_indices_by_name, + 1, wa__message__template_button_reply_message__number_ranges, + (ProtobufCMessageInit) wa__message__template_button_reply_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__template_message__four_row_template__field_descriptors[8] = +{ + { + "documentMessage", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__TemplateMessage__FourRowTemplate, title_case), + offsetof(Wa__Message__TemplateMessage__FourRowTemplate, documentmessage), + &wa__message__document_message__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "highlyStructuredMessage", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__TemplateMessage__FourRowTemplate, title_case), + offsetof(Wa__Message__TemplateMessage__FourRowTemplate, highlystructuredmessage), + &wa__message__highly_structured_message__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "imageMessage", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__TemplateMessage__FourRowTemplate, title_case), + offsetof(Wa__Message__TemplateMessage__FourRowTemplate, imagemessage), + &wa__message__image_message__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "videoMessage", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__TemplateMessage__FourRowTemplate, title_case), + offsetof(Wa__Message__TemplateMessage__FourRowTemplate, videomessage), + &wa__message__video_message__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "locationMessage", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__TemplateMessage__FourRowTemplate, title_case), + offsetof(Wa__Message__TemplateMessage__FourRowTemplate, locationmessage), + &wa__message__location_message__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "content", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__TemplateMessage__FourRowTemplate, content), + &wa__message__highly_structured_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "footer", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__TemplateMessage__FourRowTemplate, footer), + &wa__message__highly_structured_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "buttons", + 8, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__TemplateMessage__FourRowTemplate, n_buttons), + offsetof(Wa__Message__TemplateMessage__FourRowTemplate, buttons), + &wa__template_button__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__template_message__four_row_template__field_indices_by_name[] = { + 7, /* field[7] = buttons */ + 5, /* field[5] = content */ + 0, /* field[0] = documentMessage */ + 6, /* field[6] = footer */ + 1, /* field[1] = highlyStructuredMessage */ + 2, /* field[2] = imageMessage */ + 4, /* field[4] = locationMessage */ + 3, /* field[3] = videoMessage */ +}; +static const ProtobufCIntRange wa__message__template_message__four_row_template__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 8 } +}; +const ProtobufCMessageDescriptor wa__message__template_message__four_row_template__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.TemplateMessage.FourRowTemplate", + "FourRowTemplate", + "Wa__Message__TemplateMessage__FourRowTemplate", + "wa", + sizeof(Wa__Message__TemplateMessage__FourRowTemplate), + 8, + wa__message__template_message__four_row_template__field_descriptors, + wa__message__template_message__four_row_template__field_indices_by_name, + 1, wa__message__template_message__four_row_template__number_ranges, + (ProtobufCMessageInit) wa__message__template_message__four_row_template__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__template_message__hydrated_four_row_template__field_descriptors[9] = +{ + { + "documentMessage", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__TemplateMessage__HydratedFourRowTemplate, title_case), + offsetof(Wa__Message__TemplateMessage__HydratedFourRowTemplate, documentmessage), + &wa__message__document_message__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "hydratedTitleText", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + offsetof(Wa__Message__TemplateMessage__HydratedFourRowTemplate, title_case), + offsetof(Wa__Message__TemplateMessage__HydratedFourRowTemplate, hydratedtitletext), + NULL, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "imageMessage", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__TemplateMessage__HydratedFourRowTemplate, title_case), + offsetof(Wa__Message__TemplateMessage__HydratedFourRowTemplate, imagemessage), + &wa__message__image_message__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "videoMessage", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__TemplateMessage__HydratedFourRowTemplate, title_case), + offsetof(Wa__Message__TemplateMessage__HydratedFourRowTemplate, videomessage), + &wa__message__video_message__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "locationMessage", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__TemplateMessage__HydratedFourRowTemplate, title_case), + offsetof(Wa__Message__TemplateMessage__HydratedFourRowTemplate, locationmessage), + &wa__message__location_message__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "hydratedContentText", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__TemplateMessage__HydratedFourRowTemplate, hydratedcontenttext), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "hydratedFooterText", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__TemplateMessage__HydratedFourRowTemplate, hydratedfootertext), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "hydratedButtons", + 8, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__TemplateMessage__HydratedFourRowTemplate, n_hydratedbuttons), + offsetof(Wa__Message__TemplateMessage__HydratedFourRowTemplate, hydratedbuttons), + &wa__hydrated_template_button__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "templateId", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__TemplateMessage__HydratedFourRowTemplate, templateid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__template_message__hydrated_four_row_template__field_indices_by_name[] = { + 0, /* field[0] = documentMessage */ + 7, /* field[7] = hydratedButtons */ + 5, /* field[5] = hydratedContentText */ + 6, /* field[6] = hydratedFooterText */ + 1, /* field[1] = hydratedTitleText */ + 2, /* field[2] = imageMessage */ + 4, /* field[4] = locationMessage */ + 8, /* field[8] = templateId */ + 3, /* field[3] = videoMessage */ +}; +static const ProtobufCIntRange wa__message__template_message__hydrated_four_row_template__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 9 } +}; +const ProtobufCMessageDescriptor wa__message__template_message__hydrated_four_row_template__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.TemplateMessage.HydratedFourRowTemplate", + "HydratedFourRowTemplate", + "Wa__Message__TemplateMessage__HydratedFourRowTemplate", + "wa", + sizeof(Wa__Message__TemplateMessage__HydratedFourRowTemplate), + 9, + wa__message__template_message__hydrated_four_row_template__field_descriptors, + wa__message__template_message__hydrated_four_row_template__field_indices_by_name, + 1, wa__message__template_message__hydrated_four_row_template__number_ranges, + (ProtobufCMessageInit) wa__message__template_message__hydrated_four_row_template__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__template_message__field_descriptors[4] = +{ + { + "fourRowTemplate", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__TemplateMessage, format_case), + offsetof(Wa__Message__TemplateMessage, fourrowtemplate), + &wa__message__template_message__four_row_template__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "hydratedFourRowTemplate", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__TemplateMessage, format_case), + offsetof(Wa__Message__TemplateMessage, hydratedfourrowtemplate), + &wa__message__template_message__hydrated_four_row_template__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contextInfo", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__TemplateMessage, contextinfo), + &wa__context_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "hydratedTemplate", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__TemplateMessage, hydratedtemplate), + &wa__message__template_message__hydrated_four_row_template__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__template_message__field_indices_by_name[] = { + 2, /* field[2] = contextInfo */ + 0, /* field[0] = fourRowTemplate */ + 1, /* field[1] = hydratedFourRowTemplate */ + 3, /* field[3] = hydratedTemplate */ +}; +static const ProtobufCIntRange wa__message__template_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__message__template_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.TemplateMessage", + "TemplateMessage", + "Wa__Message__TemplateMessage", + "wa", + sizeof(Wa__Message__TemplateMessage), + 4, + wa__message__template_message__field_descriptors, + wa__message__template_message__field_indices_by_name, + 1, wa__message__template_message__number_ranges, + (ProtobufCMessageInit) wa__message__template_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__message__video_message__attribution__enum_values_by_number[3] = +{ + { "NONE", "WA__MESSAGE__VIDEO_MESSAGE__ATTRIBUTION__NONE", 0 }, + { "GIPHY", "WA__MESSAGE__VIDEO_MESSAGE__ATTRIBUTION__GIPHY", 1 }, + { "TENOR", "WA__MESSAGE__VIDEO_MESSAGE__ATTRIBUTION__TENOR", 2 }, +}; +static const ProtobufCIntRange wa__message__video_message__attribution__value_ranges[] = { +{0, 0},{0, 3} +}; +static const ProtobufCEnumValueIndex wa__message__video_message__attribution__enum_values_by_name[3] = +{ + { "GIPHY", 1 }, + { "NONE", 0 }, + { "TENOR", 2 }, +}; +const ProtobufCEnumDescriptor wa__message__video_message__attribution__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.Message.VideoMessage.Attribution", + "Attribution", + "Wa__Message__VideoMessage__Attribution", + "wa", + 3, + wa__message__video_message__attribution__enum_values_by_number, + 3, + wa__message__video_message__attribution__enum_values_by_name, + 1, + wa__message__video_message__attribution__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__message__video_message__field_descriptors[23] = +{ + { + "url", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__VideoMessage, url), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mimetype", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__VideoMessage, mimetype), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileSha256", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__VideoMessage, has_filesha256), + offsetof(Wa__Message__VideoMessage, filesha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileLength", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__Message__VideoMessage, has_filelength), + offsetof(Wa__Message__VideoMessage, filelength), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "seconds", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__VideoMessage, has_seconds), + offsetof(Wa__Message__VideoMessage, seconds), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaKey", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__VideoMessage, has_mediakey), + offsetof(Wa__Message__VideoMessage, mediakey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "caption", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__VideoMessage, caption), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "gifPlayback", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Message__VideoMessage, has_gifplayback), + offsetof(Wa__Message__VideoMessage, gifplayback), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "height", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__VideoMessage, has_height), + offsetof(Wa__Message__VideoMessage, height), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "width", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Message__VideoMessage, has_width), + offsetof(Wa__Message__VideoMessage, width), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileEncSha256", + 11, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__VideoMessage, has_fileencsha256), + offsetof(Wa__Message__VideoMessage, fileencsha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "interactiveAnnotations", + 12, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__VideoMessage, n_interactiveannotations), + offsetof(Wa__Message__VideoMessage, interactiveannotations), + &wa__interactive_annotation__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "directPath", + 13, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__VideoMessage, directpath), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaKeyTimestamp", + 14, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__VideoMessage, has_mediakeytimestamp), + offsetof(Wa__Message__VideoMessage, mediakeytimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "jpegThumbnail", + 16, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__VideoMessage, has_jpegthumbnail), + offsetof(Wa__Message__VideoMessage, jpegthumbnail), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contextInfo", + 17, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__VideoMessage, contextinfo), + &wa__context_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "streamingSidecar", + 18, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__VideoMessage, has_streamingsidecar), + offsetof(Wa__Message__VideoMessage, streamingsidecar), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "gifAttribution", + 19, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__VideoMessage, has_gifattribution), + offsetof(Wa__Message__VideoMessage, gifattribution), + &wa__message__video_message__attribution__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "viewOnce", + 20, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Message__VideoMessage, has_viewonce), + offsetof(Wa__Message__VideoMessage, viewonce), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "thumbnailDirectPath", + 21, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__VideoMessage, thumbnaildirectpath), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "thumbnailSha256", + 22, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__VideoMessage, has_thumbnailsha256), + offsetof(Wa__Message__VideoMessage, thumbnailsha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "thumbnailEncSha256", + 23, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__VideoMessage, has_thumbnailencsha256), + offsetof(Wa__Message__VideoMessage, thumbnailencsha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "staticUrl", + 24, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__VideoMessage, staticurl), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__video_message__field_indices_by_name[] = { + 6, /* field[6] = caption */ + 15, /* field[15] = contextInfo */ + 12, /* field[12] = directPath */ + 10, /* field[10] = fileEncSha256 */ + 3, /* field[3] = fileLength */ + 2, /* field[2] = fileSha256 */ + 17, /* field[17] = gifAttribution */ + 7, /* field[7] = gifPlayback */ + 8, /* field[8] = height */ + 11, /* field[11] = interactiveAnnotations */ + 14, /* field[14] = jpegThumbnail */ + 5, /* field[5] = mediaKey */ + 13, /* field[13] = mediaKeyTimestamp */ + 1, /* field[1] = mimetype */ + 4, /* field[4] = seconds */ + 22, /* field[22] = staticUrl */ + 16, /* field[16] = streamingSidecar */ + 19, /* field[19] = thumbnailDirectPath */ + 21, /* field[21] = thumbnailEncSha256 */ + 20, /* field[20] = thumbnailSha256 */ + 0, /* field[0] = url */ + 18, /* field[18] = viewOnce */ + 9, /* field[9] = width */ +}; +static const ProtobufCIntRange wa__message__video_message__number_ranges[2 + 1] = +{ + { 1, 0 }, + { 16, 14 }, + { 0, 23 } +}; +const ProtobufCMessageDescriptor wa__message__video_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.VideoMessage", + "VideoMessage", + "Wa__Message__VideoMessage", + "wa", + sizeof(Wa__Message__VideoMessage), + 23, + wa__message__video_message__field_descriptors, + wa__message__video_message__field_indices_by_name, + 2, wa__message__video_message__number_ranges, + (ProtobufCMessageInit) wa__message__video_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__message__rmr_source__enum_values_by_number[2] = +{ + { "FAVORITE_STICKER", "WA__MESSAGE__RMR_SOURCE__FAVORITE_STICKER", 0 }, + { "RECENT_STICKER", "WA__MESSAGE__RMR_SOURCE__RECENT_STICKER", 1 }, +}; +static const ProtobufCIntRange wa__message__rmr_source__value_ranges[] = { +{0, 0},{0, 2} +}; +static const ProtobufCEnumValueIndex wa__message__rmr_source__enum_values_by_name[2] = +{ + { "FAVORITE_STICKER", 0 }, + { "RECENT_STICKER", 1 }, +}; +const ProtobufCEnumDescriptor wa__message__rmr_source__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.Message.RmrSource", + "RmrSource", + "Wa__Message__RmrSource", + "wa", + 2, + wa__message__rmr_source__enum_values_by_number, + 2, + wa__message__rmr_source__enum_values_by_name, + 1, + wa__message__rmr_source__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__message__field_descriptors[46] = +{ + { + "conversation", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message, conversation), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "senderKeyDistributionMessage", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, senderkeydistributionmessage), + &wa__message__sender_key_distribution_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "imageMessage", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, imagemessage), + &wa__message__image_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contactMessage", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, contactmessage), + &wa__message__contact_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "locationMessage", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, locationmessage), + &wa__message__location_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "extendedTextMessage", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, extendedtextmessage), + &wa__message__extended_text_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "documentMessage", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, documentmessage), + &wa__message__document_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "audioMessage", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, audiomessage), + &wa__message__audio_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "videoMessage", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, videomessage), + &wa__message__video_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "call", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, call), + &wa__message__call__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "chat", + 11, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, chat), + &wa__message__chat__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "protocolMessage", + 12, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, protocolmessage), + &wa__message__protocol_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contactsArrayMessage", + 13, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, contactsarraymessage), + &wa__message__contacts_array_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "highlyStructuredMessage", + 14, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, highlystructuredmessage), + &wa__message__highly_structured_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fastRatchetKeySenderKeyDistributionMessage", + 15, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, fastratchetkeysenderkeydistributionmessage), + &wa__message__sender_key_distribution_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "sendPaymentMessage", + 16, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, sendpaymentmessage), + &wa__message__send_payment_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "liveLocationMessage", + 18, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, livelocationmessage), + &wa__message__live_location_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "requestPaymentMessage", + 22, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, requestpaymentmessage), + &wa__message__request_payment_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "declinePaymentRequestMessage", + 23, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, declinepaymentrequestmessage), + &wa__message__decline_payment_request_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "cancelPaymentRequestMessage", + 24, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, cancelpaymentrequestmessage), + &wa__message__cancel_payment_request_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "templateMessage", + 25, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, templatemessage), + &wa__message__template_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "stickerMessage", + 26, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, stickermessage), + &wa__message__sticker_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "groupInviteMessage", + 28, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, groupinvitemessage), + &wa__message__group_invite_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "templateButtonReplyMessage", + 29, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, templatebuttonreplymessage), + &wa__message__template_button_reply_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "productMessage", + 30, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, productmessage), + &wa__message__product_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "deviceSentMessage", + 31, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, devicesentmessage), + &wa__message__device_sent_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "messageContextInfo", + 35, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, messagecontextinfo), + &wa__message_context_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "listMessage", + 36, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, listmessage), + &wa__message__list_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "viewOnceMessage", + 37, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, viewoncemessage), + &wa__message__future_proof_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "orderMessage", + 38, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, ordermessage), + &wa__message__order_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "listResponseMessage", + 39, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, listresponsemessage), + &wa__message__list_response_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ephemeralMessage", + 40, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, ephemeralmessage), + &wa__message__future_proof_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "invoiceMessage", + 41, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, invoicemessage), + &wa__message__invoice_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "buttonsMessage", + 42, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, buttonsmessage), + &wa__message__buttons_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "buttonsResponseMessage", + 43, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, buttonsresponsemessage), + &wa__message__buttons_response_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "paymentInviteMessage", + 44, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, paymentinvitemessage), + &wa__message__payment_invite_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "interactiveMessage", + 45, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, interactivemessage), + &wa__message__interactive_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "reactionMessage", + 46, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, reactionmessage), + &wa__message__reaction_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "stickerSyncRmrMessage", + 47, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, stickersyncrmrmessage), + &wa__message__sticker_sync_rmrmessage__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "interactiveResponseMessage", + 48, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, interactiveresponsemessage), + &wa__message__interactive_response_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pollCreationMessage", + 49, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, pollcreationmessage), + &wa__message__poll_creation_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pollUpdateMessage", + 50, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, pollupdatemessage), + &wa__message__poll_update_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "keepInChatMessage", + 51, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, keepinchatmessage), + &wa__message__keep_in_chat_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "documentWithCaptionMessage", + 53, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, documentwithcaptionmessage), + &wa__message__future_proof_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "requestPhoneNumberMessage", + 54, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, requestphonenumbermessage), + &wa__message__request_phone_number_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "viewOnceMessageV2", + 55, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, viewoncemessagev2), + &wa__message__future_proof_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__field_indices_by_name[] = { + 7, /* field[7] = audioMessage */ + 33, /* field[33] = buttonsMessage */ + 34, /* field[34] = buttonsResponseMessage */ + 9, /* field[9] = call */ + 19, /* field[19] = cancelPaymentRequestMessage */ + 10, /* field[10] = chat */ + 3, /* field[3] = contactMessage */ + 12, /* field[12] = contactsArrayMessage */ + 0, /* field[0] = conversation */ + 18, /* field[18] = declinePaymentRequestMessage */ + 25, /* field[25] = deviceSentMessage */ + 6, /* field[6] = documentMessage */ + 43, /* field[43] = documentWithCaptionMessage */ + 31, /* field[31] = ephemeralMessage */ + 5, /* field[5] = extendedTextMessage */ + 14, /* field[14] = fastRatchetKeySenderKeyDistributionMessage */ + 22, /* field[22] = groupInviteMessage */ + 13, /* field[13] = highlyStructuredMessage */ + 2, /* field[2] = imageMessage */ + 36, /* field[36] = interactiveMessage */ + 39, /* field[39] = interactiveResponseMessage */ + 32, /* field[32] = invoiceMessage */ + 42, /* field[42] = keepInChatMessage */ + 27, /* field[27] = listMessage */ + 30, /* field[30] = listResponseMessage */ + 16, /* field[16] = liveLocationMessage */ + 4, /* field[4] = locationMessage */ + 26, /* field[26] = messageContextInfo */ + 29, /* field[29] = orderMessage */ + 35, /* field[35] = paymentInviteMessage */ + 40, /* field[40] = pollCreationMessage */ + 41, /* field[41] = pollUpdateMessage */ + 24, /* field[24] = productMessage */ + 11, /* field[11] = protocolMessage */ + 37, /* field[37] = reactionMessage */ + 17, /* field[17] = requestPaymentMessage */ + 44, /* field[44] = requestPhoneNumberMessage */ + 15, /* field[15] = sendPaymentMessage */ + 1, /* field[1] = senderKeyDistributionMessage */ + 21, /* field[21] = stickerMessage */ + 38, /* field[38] = stickerSyncRmrMessage */ + 23, /* field[23] = templateButtonReplyMessage */ + 20, /* field[20] = templateMessage */ + 8, /* field[8] = videoMessage */ + 28, /* field[28] = viewOnceMessage */ + 45, /* field[45] = viewOnceMessageV2 */ +}; +static const ProtobufCIntRange wa__message__number_ranges[6 + 1] = +{ + { 1, 0 }, + { 18, 16 }, + { 22, 17 }, + { 28, 22 }, + { 35, 26 }, + { 53, 43 }, + { 0, 46 } +}; +const ProtobufCMessageDescriptor wa__message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message", + "Message", + "Wa__Message", + "wa", + sizeof(Wa__Message), + 46, + wa__message__field_descriptors, + wa__message__field_indices_by_name, + 6, wa__message__number_ranges, + (ProtobufCMessageInit) wa__message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message_context_info__field_descriptors[4] = +{ + { + "deviceListMetadata", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__MessageContextInfo, devicelistmetadata), + &wa__device_list_metadata__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "deviceListMetadataVersion", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__MessageContextInfo, has_devicelistmetadataversion), + offsetof(Wa__MessageContextInfo, devicelistmetadataversion), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "messageSecret", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__MessageContextInfo, has_messagesecret), + offsetof(Wa__MessageContextInfo, messagesecret), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "paddingBytes", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__MessageContextInfo, has_paddingbytes), + offsetof(Wa__MessageContextInfo, paddingbytes), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message_context_info__field_indices_by_name[] = { + 0, /* field[0] = deviceListMetadata */ + 1, /* field[1] = deviceListMetadataVersion */ + 2, /* field[2] = messageSecret */ + 3, /* field[3] = paddingBytes */ +}; +static const ProtobufCIntRange wa__message_context_info__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__message_context_info__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.MessageContextInfo", + "MessageContextInfo", + "Wa__MessageContextInfo", + "wa", + sizeof(Wa__MessageContextInfo), + 4, + wa__message_context_info__field_descriptors, + wa__message_context_info__field_indices_by_name, + 1, wa__message_context_info__number_ranges, + (ProtobufCMessageInit) wa__message_context_info__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message_key__field_descriptors[4] = +{ + { + "remoteJid", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__MessageKey, remotejid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fromMe", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__MessageKey, has_fromme), + offsetof(Wa__MessageKey, fromme), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "id", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__MessageKey, id), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "participant", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__MessageKey, participant), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message_key__field_indices_by_name[] = { + 1, /* field[1] = fromMe */ + 2, /* field[2] = id */ + 3, /* field[3] = participant */ + 0, /* field[0] = remoteJid */ +}; +static const ProtobufCIntRange wa__message_key__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__message_key__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.MessageKey", + "MessageKey", + "Wa__MessageKey", + "wa", + sizeof(Wa__MessageKey), + 4, + wa__message_key__field_descriptors, + wa__message_key__field_indices_by_name, + 1, wa__message_key__number_ranges, + (ProtobufCMessageInit) wa__message_key__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__money__field_descriptors[3] = +{ + { + "value", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Money, has_value), + offsetof(Wa__Money, value), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "offset", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__Money, has_offset), + offsetof(Wa__Money, offset), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "currencyCode", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Money, currencycode), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__money__field_indices_by_name[] = { + 2, /* field[2] = currencyCode */ + 1, /* field[1] = offset */ + 0, /* field[0] = value */ +}; +static const ProtobufCIntRange wa__money__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__money__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Money", + "Money", + "Wa__Money", + "wa", + sizeof(Wa__Money), + 3, + wa__money__field_descriptors, + wa__money__field_indices_by_name, + 1, wa__money__number_ranges, + (ProtobufCMessageInit) wa__money__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__msg_opaque_data__poll_option__field_descriptors[1] = +{ + { + "name", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__MsgOpaqueData__PollOption, name), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__msg_opaque_data__poll_option__field_indices_by_name[] = { + 0, /* field[0] = name */ +}; +static const ProtobufCIntRange wa__msg_opaque_data__poll_option__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__msg_opaque_data__poll_option__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.MsgOpaqueData.PollOption", + "PollOption", + "Wa__MsgOpaqueData__PollOption", + "wa", + sizeof(Wa__MsgOpaqueData__PollOption), + 1, + wa__msg_opaque_data__poll_option__field_descriptors, + wa__msg_opaque_data__poll_option__field_indices_by_name, + 1, wa__msg_opaque_data__poll_option__number_ranges, + (ProtobufCMessageInit) wa__msg_opaque_data__poll_option__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__msg_opaque_data__field_descriptors[21] = +{ + { + "body", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__MsgOpaqueData, body), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "caption", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__MsgOpaqueData, caption), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "lng", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(Wa__MsgOpaqueData, has_lng), + offsetof(Wa__MsgOpaqueData, lng), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "isLive", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__MsgOpaqueData, has_islive), + offsetof(Wa__MsgOpaqueData, islive), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "lat", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(Wa__MsgOpaqueData, has_lat), + offsetof(Wa__MsgOpaqueData, lat), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "paymentAmount1000", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__MsgOpaqueData, has_paymentamount1000), + offsetof(Wa__MsgOpaqueData, paymentamount1000), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "paymentNoteMsgBody", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__MsgOpaqueData, paymentnotemsgbody), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "canonicalUrl", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__MsgOpaqueData, canonicalurl), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "matchedText", + 11, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__MsgOpaqueData, matchedtext), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "title", + 12, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__MsgOpaqueData, title), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "description", + 13, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__MsgOpaqueData, description), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "futureproofBuffer", + 14, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__MsgOpaqueData, has_futureproofbuffer), + offsetof(Wa__MsgOpaqueData, futureproofbuffer), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "clientUrl", + 15, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__MsgOpaqueData, clienturl), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "loc", + 16, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__MsgOpaqueData, loc), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pollName", + 17, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__MsgOpaqueData, pollname), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pollOptions", + 18, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__MsgOpaqueData, n_polloptions), + offsetof(Wa__MsgOpaqueData, polloptions), + &wa__msg_opaque_data__poll_option__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pollSelectableOptionsCount", + 20, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__MsgOpaqueData, has_pollselectableoptionscount), + offsetof(Wa__MsgOpaqueData, pollselectableoptionscount), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "messageSecret", + 21, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__MsgOpaqueData, has_messagesecret), + offsetof(Wa__MsgOpaqueData, messagesecret), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "senderTimestampMs", + 22, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__MsgOpaqueData, has_sendertimestampms), + offsetof(Wa__MsgOpaqueData, sendertimestampms), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pollUpdateParentKey", + 23, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__MsgOpaqueData, pollupdateparentkey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "encPollVote", + 24, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__MsgOpaqueData, encpollvote), + &wa__poll_enc_value__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__msg_opaque_data__field_indices_by_name[] = { + 0, /* field[0] = body */ + 7, /* field[7] = canonicalUrl */ + 1, /* field[1] = caption */ + 12, /* field[12] = clientUrl */ + 10, /* field[10] = description */ + 20, /* field[20] = encPollVote */ + 11, /* field[11] = futureproofBuffer */ + 3, /* field[3] = isLive */ + 4, /* field[4] = lat */ + 2, /* field[2] = lng */ + 13, /* field[13] = loc */ + 8, /* field[8] = matchedText */ + 17, /* field[17] = messageSecret */ + 5, /* field[5] = paymentAmount1000 */ + 6, /* field[6] = paymentNoteMsgBody */ + 14, /* field[14] = pollName */ + 15, /* field[15] = pollOptions */ + 16, /* field[16] = pollSelectableOptionsCount */ + 19, /* field[19] = pollUpdateParentKey */ + 18, /* field[18] = senderTimestampMs */ + 9, /* field[9] = title */ +}; +static const ProtobufCIntRange wa__msg_opaque_data__number_ranges[4 + 1] = +{ + { 1, 0 }, + { 3, 1 }, + { 5, 2 }, + { 20, 16 }, + { 0, 21 } +}; +const ProtobufCMessageDescriptor wa__msg_opaque_data__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.MsgOpaqueData", + "MsgOpaqueData", + "Wa__MsgOpaqueData", + "wa", + sizeof(Wa__MsgOpaqueData), + 21, + wa__msg_opaque_data__field_descriptors, + wa__msg_opaque_data__field_indices_by_name, + 4, wa__msg_opaque_data__number_ranges, + (ProtobufCMessageInit) wa__msg_opaque_data__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__msg_row_opaque_data__field_descriptors[2] = +{ + { + "currentMsg", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__MsgRowOpaqueData, currentmsg), + &wa__msg_opaque_data__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "quotedMsg", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__MsgRowOpaqueData, quotedmsg), + &wa__msg_opaque_data__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__msg_row_opaque_data__field_indices_by_name[] = { + 0, /* field[0] = currentMsg */ + 1, /* field[1] = quotedMsg */ +}; +static const ProtobufCIntRange wa__msg_row_opaque_data__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__msg_row_opaque_data__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.MsgRowOpaqueData", + "MsgRowOpaqueData", + "Wa__MsgRowOpaqueData", + "wa", + sizeof(Wa__MsgRowOpaqueData), + 2, + wa__msg_row_opaque_data__field_descriptors, + wa__msg_row_opaque_data__field_indices_by_name, + 1, wa__msg_row_opaque_data__number_ranges, + (ProtobufCMessageInit) wa__msg_row_opaque_data__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__noise_certificate__details__field_descriptors[5] = +{ + { + "serial", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__NoiseCertificate__Details, has_serial), + offsetof(Wa__NoiseCertificate__Details, serial), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "issuer", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__NoiseCertificate__Details, issuer), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "expires", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__NoiseCertificate__Details, has_expires), + offsetof(Wa__NoiseCertificate__Details, expires), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "subject", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__NoiseCertificate__Details, subject), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "key", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__NoiseCertificate__Details, has_key), + offsetof(Wa__NoiseCertificate__Details, key), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__noise_certificate__details__field_indices_by_name[] = { + 2, /* field[2] = expires */ + 1, /* field[1] = issuer */ + 4, /* field[4] = key */ + 0, /* field[0] = serial */ + 3, /* field[3] = subject */ +}; +static const ProtobufCIntRange wa__noise_certificate__details__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 5 } +}; +const ProtobufCMessageDescriptor wa__noise_certificate__details__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.NoiseCertificate.Details", + "Details", + "Wa__NoiseCertificate__Details", + "wa", + sizeof(Wa__NoiseCertificate__Details), + 5, + wa__noise_certificate__details__field_descriptors, + wa__noise_certificate__details__field_indices_by_name, + 1, wa__noise_certificate__details__number_ranges, + (ProtobufCMessageInit) wa__noise_certificate__details__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__noise_certificate__field_descriptors[2] = +{ + { + "details", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__NoiseCertificate, has_details), + offsetof(Wa__NoiseCertificate, details), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "signature", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__NoiseCertificate, has_signature), + offsetof(Wa__NoiseCertificate, signature), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__noise_certificate__field_indices_by_name[] = { + 0, /* field[0] = details */ + 1, /* field[1] = signature */ +}; +static const ProtobufCIntRange wa__noise_certificate__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__noise_certificate__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.NoiseCertificate", + "NoiseCertificate", + "Wa__NoiseCertificate", + "wa", + sizeof(Wa__NoiseCertificate), + 2, + wa__noise_certificate__field_descriptors, + wa__noise_certificate__field_indices_by_name, + 1, wa__noise_certificate__number_ranges, + (ProtobufCMessageInit) wa__noise_certificate__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__notification_message_info__field_descriptors[4] = +{ + { + "key", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__NotificationMessageInfo, key), + &wa__message_key__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "message", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__NotificationMessageInfo, message), + &wa__message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "messageTimestamp", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__NotificationMessageInfo, has_messagetimestamp), + offsetof(Wa__NotificationMessageInfo, messagetimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "participant", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__NotificationMessageInfo, participant), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__notification_message_info__field_indices_by_name[] = { + 0, /* field[0] = key */ + 1, /* field[1] = message */ + 2, /* field[2] = messageTimestamp */ + 3, /* field[3] = participant */ +}; +static const ProtobufCIntRange wa__notification_message_info__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__notification_message_info__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.NotificationMessageInfo", + "NotificationMessageInfo", + "Wa__NotificationMessageInfo", + "wa", + sizeof(Wa__NotificationMessageInfo), + 4, + wa__notification_message_info__field_descriptors, + wa__notification_message_info__field_indices_by_name, + 1, wa__notification_message_info__number_ranges, + (ProtobufCMessageInit) wa__notification_message_info__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__past_participant__leave_reason__enum_values_by_number[2] = +{ + { "LEFT", "WA__PAST_PARTICIPANT__LEAVE_REASON__LEFT", 0 }, + { "REMOVED", "WA__PAST_PARTICIPANT__LEAVE_REASON__REMOVED", 1 }, +}; +static const ProtobufCIntRange wa__past_participant__leave_reason__value_ranges[] = { +{0, 0},{0, 2} +}; +static const ProtobufCEnumValueIndex wa__past_participant__leave_reason__enum_values_by_name[2] = +{ + { "LEFT", 0 }, + { "REMOVED", 1 }, +}; +const ProtobufCEnumDescriptor wa__past_participant__leave_reason__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.PastParticipant.LeaveReason", + "LeaveReason", + "Wa__PastParticipant__LeaveReason", + "wa", + 2, + wa__past_participant__leave_reason__enum_values_by_number, + 2, + wa__past_participant__leave_reason__enum_values_by_name, + 1, + wa__past_participant__leave_reason__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__past_participant__field_descriptors[3] = +{ + { + "userJid", + 1, + PROTOBUF_C_LABEL_REQUIRED, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__PastParticipant, userjid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "leaveReason", + 2, + PROTOBUF_C_LABEL_REQUIRED, + PROTOBUF_C_TYPE_ENUM, + 0, /* quantifier_offset */ + offsetof(Wa__PastParticipant, leavereason), + &wa__past_participant__leave_reason__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "leaveTs", + 3, + PROTOBUF_C_LABEL_REQUIRED, + PROTOBUF_C_TYPE_UINT64, + 0, /* quantifier_offset */ + offsetof(Wa__PastParticipant, leavets), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__past_participant__field_indices_by_name[] = { + 1, /* field[1] = leaveReason */ + 2, /* field[2] = leaveTs */ + 0, /* field[0] = userJid */ +}; +static const ProtobufCIntRange wa__past_participant__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__past_participant__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.PastParticipant", + "PastParticipant", + "Wa__PastParticipant", + "wa", + sizeof(Wa__PastParticipant), + 3, + wa__past_participant__field_descriptors, + wa__past_participant__field_indices_by_name, + 1, wa__past_participant__number_ranges, + (ProtobufCMessageInit) wa__past_participant__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__past_participants__field_descriptors[2] = +{ + { + "groupJid", + 1, + PROTOBUF_C_LABEL_REQUIRED, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__PastParticipants, groupjid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pastParticipants", + 2, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__PastParticipants, n_pastparticipants), + offsetof(Wa__PastParticipants, pastparticipants), + &wa__past_participant__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__past_participants__field_indices_by_name[] = { + 0, /* field[0] = groupJid */ + 1, /* field[1] = pastParticipants */ +}; +static const ProtobufCIntRange wa__past_participants__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__past_participants__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.PastParticipants", + "PastParticipants", + "Wa__PastParticipants", + "wa", + sizeof(Wa__PastParticipants), + 2, + wa__past_participants__field_descriptors, + wa__past_participants__field_indices_by_name, + 1, wa__past_participants__number_ranges, + (ProtobufCMessageInit) wa__past_participants__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__payment_background__media_data__field_descriptors[5] = +{ + { + "mediaKey", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__PaymentBackground__MediaData, has_mediakey), + offsetof(Wa__PaymentBackground__MediaData, mediakey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaKeyTimestamp", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__PaymentBackground__MediaData, has_mediakeytimestamp), + offsetof(Wa__PaymentBackground__MediaData, mediakeytimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileSha256", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__PaymentBackground__MediaData, has_filesha256), + offsetof(Wa__PaymentBackground__MediaData, filesha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileEncSha256", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__PaymentBackground__MediaData, has_fileencsha256), + offsetof(Wa__PaymentBackground__MediaData, fileencsha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "directPath", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__PaymentBackground__MediaData, directpath), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__payment_background__media_data__field_indices_by_name[] = { + 4, /* field[4] = directPath */ + 3, /* field[3] = fileEncSha256 */ + 2, /* field[2] = fileSha256 */ + 0, /* field[0] = mediaKey */ + 1, /* field[1] = mediaKeyTimestamp */ +}; +static const ProtobufCIntRange wa__payment_background__media_data__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 5 } +}; +const ProtobufCMessageDescriptor wa__payment_background__media_data__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.PaymentBackground.MediaData", + "MediaData", + "Wa__PaymentBackground__MediaData", + "wa", + sizeof(Wa__PaymentBackground__MediaData), + 5, + wa__payment_background__media_data__field_descriptors, + wa__payment_background__media_data__field_indices_by_name, + 1, wa__payment_background__media_data__number_ranges, + (ProtobufCMessageInit) wa__payment_background__media_data__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__payment_background__type__enum_values_by_number[2] = +{ + { "UNKNOWN", "WA__PAYMENT_BACKGROUND__TYPE__UNKNOWN", 0 }, + { "DEFAULT", "WA__PAYMENT_BACKGROUND__TYPE__DEFAULT", 1 }, +}; +static const ProtobufCIntRange wa__payment_background__type__value_ranges[] = { +{0, 0},{0, 2} +}; +static const ProtobufCEnumValueIndex wa__payment_background__type__enum_values_by_name[2] = +{ + { "DEFAULT", 1 }, + { "UNKNOWN", 0 }, +}; +const ProtobufCEnumDescriptor wa__payment_background__type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.PaymentBackground.Type", + "Type", + "Wa__PaymentBackground__Type", + "wa", + 2, + wa__payment_background__type__enum_values_by_number, + 2, + wa__payment_background__type__enum_values_by_name, + 1, + wa__payment_background__type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__payment_background__field_descriptors[10] = +{ + { + "id", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__PaymentBackground, id), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileLength", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__PaymentBackground, has_filelength), + offsetof(Wa__PaymentBackground, filelength), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "width", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__PaymentBackground, has_width), + offsetof(Wa__PaymentBackground, width), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "height", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__PaymentBackground, has_height), + offsetof(Wa__PaymentBackground, height), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mimetype", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__PaymentBackground, mimetype), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "placeholderArgb", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_FIXED32, + offsetof(Wa__PaymentBackground, has_placeholderargb), + offsetof(Wa__PaymentBackground, placeholderargb), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "textArgb", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_FIXED32, + offsetof(Wa__PaymentBackground, has_textargb), + offsetof(Wa__PaymentBackground, textargb), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "subtextArgb", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_FIXED32, + offsetof(Wa__PaymentBackground, has_subtextargb), + offsetof(Wa__PaymentBackground, subtextargb), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaData", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__PaymentBackground, mediadata), + &wa__payment_background__media_data__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "type", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__PaymentBackground, has_type), + offsetof(Wa__PaymentBackground, type), + &wa__payment_background__type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__payment_background__field_indices_by_name[] = { + 1, /* field[1] = fileLength */ + 3, /* field[3] = height */ + 0, /* field[0] = id */ + 8, /* field[8] = mediaData */ + 4, /* field[4] = mimetype */ + 5, /* field[5] = placeholderArgb */ + 7, /* field[7] = subtextArgb */ + 6, /* field[6] = textArgb */ + 9, /* field[9] = type */ + 2, /* field[2] = width */ +}; +static const ProtobufCIntRange wa__payment_background__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 10 } +}; +const ProtobufCMessageDescriptor wa__payment_background__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.PaymentBackground", + "PaymentBackground", + "Wa__PaymentBackground", + "wa", + sizeof(Wa__PaymentBackground), + 10, + wa__payment_background__field_descriptors, + wa__payment_background__field_indices_by_name, + 1, wa__payment_background__number_ranges, + (ProtobufCMessageInit) wa__payment_background__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__payment_info__currency__enum_values_by_number[2] = +{ + { "UNKNOWN_CURRENCY", "WA__PAYMENT_INFO__CURRENCY__UNKNOWN_CURRENCY", 0 }, + { "INR", "WA__PAYMENT_INFO__CURRENCY__INR", 1 }, +}; +static const ProtobufCIntRange wa__payment_info__currency__value_ranges[] = { +{0, 0},{0, 2} +}; +static const ProtobufCEnumValueIndex wa__payment_info__currency__enum_values_by_name[2] = +{ + { "INR", 1 }, + { "UNKNOWN_CURRENCY", 0 }, +}; +const ProtobufCEnumDescriptor wa__payment_info__currency__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.PaymentInfo.Currency", + "Currency", + "Wa__PaymentInfo__Currency", + "wa", + 2, + wa__payment_info__currency__enum_values_by_number, + 2, + wa__payment_info__currency__enum_values_by_name, + 1, + wa__payment_info__currency__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCEnumValue wa__payment_info__status__enum_values_by_number[12] = +{ + { "UNKNOWN_STATUS", "WA__PAYMENT_INFO__STATUS__UNKNOWN_STATUS", 0 }, + { "PROCESSING", "WA__PAYMENT_INFO__STATUS__PROCESSING", 1 }, + { "SENT", "WA__PAYMENT_INFO__STATUS__SENT", 2 }, + { "NEED_TO_ACCEPT", "WA__PAYMENT_INFO__STATUS__NEED_TO_ACCEPT", 3 }, + { "COMPLETE", "WA__PAYMENT_INFO__STATUS__COMPLETE", 4 }, + { "COULD_NOT_COMPLETE", "WA__PAYMENT_INFO__STATUS__COULD_NOT_COMPLETE", 5 }, + { "REFUNDED", "WA__PAYMENT_INFO__STATUS__REFUNDED", 6 }, + { "EXPIRED", "WA__PAYMENT_INFO__STATUS__EXPIRED", 7 }, + { "REJECTED", "WA__PAYMENT_INFO__STATUS__REJECTED", 8 }, + { "CANCELLED", "WA__PAYMENT_INFO__STATUS__CANCELLED", 9 }, + { "WAITING_FOR_PAYER", "WA__PAYMENT_INFO__STATUS__WAITING_FOR_PAYER", 10 }, + { "WAITING", "WA__PAYMENT_INFO__STATUS__WAITING", 11 }, +}; +static const ProtobufCIntRange wa__payment_info__status__value_ranges[] = { +{0, 0},{0, 12} +}; +static const ProtobufCEnumValueIndex wa__payment_info__status__enum_values_by_name[12] = +{ + { "CANCELLED", 9 }, + { "COMPLETE", 4 }, + { "COULD_NOT_COMPLETE", 5 }, + { "EXPIRED", 7 }, + { "NEED_TO_ACCEPT", 3 }, + { "PROCESSING", 1 }, + { "REFUNDED", 6 }, + { "REJECTED", 8 }, + { "SENT", 2 }, + { "UNKNOWN_STATUS", 0 }, + { "WAITING", 11 }, + { "WAITING_FOR_PAYER", 10 }, +}; +const ProtobufCEnumDescriptor wa__payment_info__status__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.PaymentInfo.Status", + "Status", + "Wa__PaymentInfo__Status", + "wa", + 12, + wa__payment_info__status__enum_values_by_number, + 12, + wa__payment_info__status__enum_values_by_name, + 1, + wa__payment_info__status__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCEnumValue wa__payment_info__txn_status__enum_values_by_number[32] = +{ + { "UNKNOWN", "WA__PAYMENT_INFO__TXN_STATUS__UNKNOWN", 0 }, + { "PENDING_SETUP", "WA__PAYMENT_INFO__TXN_STATUS__PENDING_SETUP", 1 }, + { "PENDING_RECEIVER_SETUP", "WA__PAYMENT_INFO__TXN_STATUS__PENDING_RECEIVER_SETUP", 2 }, + { "INIT", "WA__PAYMENT_INFO__TXN_STATUS__INIT", 3 }, + { "SUCCESS", "WA__PAYMENT_INFO__TXN_STATUS__SUCCESS", 4 }, + { "COMPLETED", "WA__PAYMENT_INFO__TXN_STATUS__COMPLETED", 5 }, + { "FAILED", "WA__PAYMENT_INFO__TXN_STATUS__FAILED", 6 }, + { "FAILED_RISK", "WA__PAYMENT_INFO__TXN_STATUS__FAILED_RISK", 7 }, + { "FAILED_PROCESSING", "WA__PAYMENT_INFO__TXN_STATUS__FAILED_PROCESSING", 8 }, + { "FAILED_RECEIVER_PROCESSING", "WA__PAYMENT_INFO__TXN_STATUS__FAILED_RECEIVER_PROCESSING", 9 }, + { "FAILED_DA", "WA__PAYMENT_INFO__TXN_STATUS__FAILED_DA", 10 }, + { "FAILED_DA_FINAL", "WA__PAYMENT_INFO__TXN_STATUS__FAILED_DA_FINAL", 11 }, + { "REFUNDED_TXN", "WA__PAYMENT_INFO__TXN_STATUS__REFUNDED_TXN", 12 }, + { "REFUND_FAILED", "WA__PAYMENT_INFO__TXN_STATUS__REFUND_FAILED", 13 }, + { "REFUND_FAILED_PROCESSING", "WA__PAYMENT_INFO__TXN_STATUS__REFUND_FAILED_PROCESSING", 14 }, + { "REFUND_FAILED_DA", "WA__PAYMENT_INFO__TXN_STATUS__REFUND_FAILED_DA", 15 }, + { "EXPIRED_TXN", "WA__PAYMENT_INFO__TXN_STATUS__EXPIRED_TXN", 16 }, + { "AUTH_CANCELED", "WA__PAYMENT_INFO__TXN_STATUS__AUTH_CANCELED", 17 }, + { "AUTH_CANCEL_FAILED_PROCESSING", "WA__PAYMENT_INFO__TXN_STATUS__AUTH_CANCEL_FAILED_PROCESSING", 18 }, + { "AUTH_CANCEL_FAILED", "WA__PAYMENT_INFO__TXN_STATUS__AUTH_CANCEL_FAILED", 19 }, + { "COLLECT_INIT", "WA__PAYMENT_INFO__TXN_STATUS__COLLECT_INIT", 20 }, + { "COLLECT_SUCCESS", "WA__PAYMENT_INFO__TXN_STATUS__COLLECT_SUCCESS", 21 }, + { "COLLECT_FAILED", "WA__PAYMENT_INFO__TXN_STATUS__COLLECT_FAILED", 22 }, + { "COLLECT_FAILED_RISK", "WA__PAYMENT_INFO__TXN_STATUS__COLLECT_FAILED_RISK", 23 }, + { "COLLECT_REJECTED", "WA__PAYMENT_INFO__TXN_STATUS__COLLECT_REJECTED", 24 }, + { "COLLECT_EXPIRED", "WA__PAYMENT_INFO__TXN_STATUS__COLLECT_EXPIRED", 25 }, + { "COLLECT_CANCELED", "WA__PAYMENT_INFO__TXN_STATUS__COLLECT_CANCELED", 26 }, + { "COLLECT_CANCELLING", "WA__PAYMENT_INFO__TXN_STATUS__COLLECT_CANCELLING", 27 }, + { "IN_REVIEW", "WA__PAYMENT_INFO__TXN_STATUS__IN_REVIEW", 28 }, + { "REVERSAL_SUCCESS", "WA__PAYMENT_INFO__TXN_STATUS__REVERSAL_SUCCESS", 29 }, + { "REVERSAL_PENDING", "WA__PAYMENT_INFO__TXN_STATUS__REVERSAL_PENDING", 30 }, + { "REFUND_PENDING", "WA__PAYMENT_INFO__TXN_STATUS__REFUND_PENDING", 31 }, +}; +static const ProtobufCIntRange wa__payment_info__txn_status__value_ranges[] = { +{0, 0},{0, 32} +}; +static const ProtobufCEnumValueIndex wa__payment_info__txn_status__enum_values_by_name[32] = +{ + { "AUTH_CANCELED", 17 }, + { "AUTH_CANCEL_FAILED", 19 }, + { "AUTH_CANCEL_FAILED_PROCESSING", 18 }, + { "COLLECT_CANCELED", 26 }, + { "COLLECT_CANCELLING", 27 }, + { "COLLECT_EXPIRED", 25 }, + { "COLLECT_FAILED", 22 }, + { "COLLECT_FAILED_RISK", 23 }, + { "COLLECT_INIT", 20 }, + { "COLLECT_REJECTED", 24 }, + { "COLLECT_SUCCESS", 21 }, + { "COMPLETED", 5 }, + { "EXPIRED_TXN", 16 }, + { "FAILED", 6 }, + { "FAILED_DA", 10 }, + { "FAILED_DA_FINAL", 11 }, + { "FAILED_PROCESSING", 8 }, + { "FAILED_RECEIVER_PROCESSING", 9 }, + { "FAILED_RISK", 7 }, + { "INIT", 3 }, + { "IN_REVIEW", 28 }, + { "PENDING_RECEIVER_SETUP", 2 }, + { "PENDING_SETUP", 1 }, + { "REFUNDED_TXN", 12 }, + { "REFUND_FAILED", 13 }, + { "REFUND_FAILED_DA", 15 }, + { "REFUND_FAILED_PROCESSING", 14 }, + { "REFUND_PENDING", 31 }, + { "REVERSAL_PENDING", 30 }, + { "REVERSAL_SUCCESS", 29 }, + { "SUCCESS", 4 }, + { "UNKNOWN", 0 }, +}; +const ProtobufCEnumDescriptor wa__payment_info__txn_status__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.PaymentInfo.TxnStatus", + "TxnStatus", + "Wa__PaymentInfo__TxnStatus", + "wa", + 32, + wa__payment_info__txn_status__enum_values_by_number, + 32, + wa__payment_info__txn_status__enum_values_by_name, + 1, + wa__payment_info__txn_status__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__payment_info__field_descriptors[13] = +{ + { + "currencyDeprecated", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__PaymentInfo, has_currencydeprecated), + offsetof(Wa__PaymentInfo, currencydeprecated), + &wa__payment_info__currency__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "amount1000", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__PaymentInfo, has_amount1000), + offsetof(Wa__PaymentInfo, amount1000), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "receiverJid", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__PaymentInfo, receiverjid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "status", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__PaymentInfo, has_status), + offsetof(Wa__PaymentInfo, status), + &wa__payment_info__status__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "transactionTimestamp", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__PaymentInfo, has_transactiontimestamp), + offsetof(Wa__PaymentInfo, transactiontimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "requestMessageKey", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__PaymentInfo, requestmessagekey), + &wa__message_key__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "expiryTimestamp", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__PaymentInfo, has_expirytimestamp), + offsetof(Wa__PaymentInfo, expirytimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "futureproofed", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__PaymentInfo, has_futureproofed), + offsetof(Wa__PaymentInfo, futureproofed), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "currency", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__PaymentInfo, currency), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "txnStatus", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__PaymentInfo, has_txnstatus), + offsetof(Wa__PaymentInfo, txnstatus), + &wa__payment_info__txn_status__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "useNoviFiatFormat", + 11, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__PaymentInfo, has_usenovifiatformat), + offsetof(Wa__PaymentInfo, usenovifiatformat), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "primaryAmount", + 12, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__PaymentInfo, primaryamount), + &wa__money__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "exchangeAmount", + 13, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__PaymentInfo, exchangeamount), + &wa__money__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__payment_info__field_indices_by_name[] = { + 1, /* field[1] = amount1000 */ + 8, /* field[8] = currency */ + 0, /* field[0] = currencyDeprecated */ + 12, /* field[12] = exchangeAmount */ + 6, /* field[6] = expiryTimestamp */ + 7, /* field[7] = futureproofed */ + 11, /* field[11] = primaryAmount */ + 2, /* field[2] = receiverJid */ + 5, /* field[5] = requestMessageKey */ + 3, /* field[3] = status */ + 4, /* field[4] = transactionTimestamp */ + 9, /* field[9] = txnStatus */ + 10, /* field[10] = useNoviFiatFormat */ +}; +static const ProtobufCIntRange wa__payment_info__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 13 } +}; +const ProtobufCMessageDescriptor wa__payment_info__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.PaymentInfo", + "PaymentInfo", + "Wa__PaymentInfo", + "wa", + sizeof(Wa__PaymentInfo), + 13, + wa__payment_info__field_descriptors, + wa__payment_info__field_indices_by_name, + 1, wa__payment_info__number_ranges, + (ProtobufCMessageInit) wa__payment_info__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__pending_key_exchange__field_descriptors[7] = +{ + { + "sequence", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__PendingKeyExchange, has_sequence), + offsetof(Wa__PendingKeyExchange, sequence), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "localBaseKey", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__PendingKeyExchange, has_localbasekey), + offsetof(Wa__PendingKeyExchange, localbasekey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "localBaseKeyPrivate", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__PendingKeyExchange, has_localbasekeyprivate), + offsetof(Wa__PendingKeyExchange, localbasekeyprivate), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "localRatchetKey", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__PendingKeyExchange, has_localratchetkey), + offsetof(Wa__PendingKeyExchange, localratchetkey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "localRatchetKeyPrivate", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__PendingKeyExchange, has_localratchetkeyprivate), + offsetof(Wa__PendingKeyExchange, localratchetkeyprivate), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "localIdentityKey", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__PendingKeyExchange, has_localidentitykey), + offsetof(Wa__PendingKeyExchange, localidentitykey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "localIdentityKeyPrivate", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__PendingKeyExchange, has_localidentitykeyprivate), + offsetof(Wa__PendingKeyExchange, localidentitykeyprivate), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__pending_key_exchange__field_indices_by_name[] = { + 1, /* field[1] = localBaseKey */ + 2, /* field[2] = localBaseKeyPrivate */ + 5, /* field[5] = localIdentityKey */ + 6, /* field[6] = localIdentityKeyPrivate */ + 3, /* field[3] = localRatchetKey */ + 4, /* field[4] = localRatchetKeyPrivate */ + 0, /* field[0] = sequence */ +}; +static const ProtobufCIntRange wa__pending_key_exchange__number_ranges[2 + 1] = +{ + { 1, 0 }, + { 7, 5 }, + { 0, 7 } +}; +const ProtobufCMessageDescriptor wa__pending_key_exchange__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.PendingKeyExchange", + "PendingKeyExchange", + "Wa__PendingKeyExchange", + "wa", + sizeof(Wa__PendingKeyExchange), + 7, + wa__pending_key_exchange__field_descriptors, + wa__pending_key_exchange__field_indices_by_name, + 2, wa__pending_key_exchange__number_ranges, + (ProtobufCMessageInit) wa__pending_key_exchange__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__pending_pre_key__field_descriptors[3] = +{ + { + "preKeyId", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__PendingPreKey, has_prekeyid), + offsetof(Wa__PendingPreKey, prekeyid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "baseKey", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__PendingPreKey, has_basekey), + offsetof(Wa__PendingPreKey, basekey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "signedPreKeyId", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__PendingPreKey, has_signedprekeyid), + offsetof(Wa__PendingPreKey, signedprekeyid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__pending_pre_key__field_indices_by_name[] = { + 1, /* field[1] = baseKey */ + 0, /* field[0] = preKeyId */ + 2, /* field[2] = signedPreKeyId */ +}; +static const ProtobufCIntRange wa__pending_pre_key__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__pending_pre_key__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.PendingPreKey", + "PendingPreKey", + "Wa__PendingPreKey", + "wa", + sizeof(Wa__PendingPreKey), + 3, + wa__pending_pre_key__field_descriptors, + wa__pending_pre_key__field_indices_by_name, + 1, wa__pending_pre_key__number_ranges, + (ProtobufCMessageInit) wa__pending_pre_key__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__photo_change__field_descriptors[3] = +{ + { + "oldPhoto", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__PhotoChange, has_oldphoto), + offsetof(Wa__PhotoChange, oldphoto), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "newPhoto", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__PhotoChange, has_newphoto), + offsetof(Wa__PhotoChange, newphoto), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "newPhotoId", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__PhotoChange, has_newphotoid), + offsetof(Wa__PhotoChange, newphotoid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__photo_change__field_indices_by_name[] = { + 1, /* field[1] = newPhoto */ + 2, /* field[2] = newPhotoId */ + 0, /* field[0] = oldPhoto */ +}; +static const ProtobufCIntRange wa__photo_change__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__photo_change__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.PhotoChange", + "PhotoChange", + "Wa__PhotoChange", + "wa", + sizeof(Wa__PhotoChange), + 3, + wa__photo_change__field_descriptors, + wa__photo_change__field_indices_by_name, + 1, wa__photo_change__number_ranges, + (ProtobufCMessageInit) wa__photo_change__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__point__field_descriptors[4] = +{ + { + "xDeprecated", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__Point, has_xdeprecated), + offsetof(Wa__Point, xdeprecated), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "yDeprecated", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__Point, has_ydeprecated), + offsetof(Wa__Point, ydeprecated), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "x", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(Wa__Point, has_x), + offsetof(Wa__Point, x), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "y", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_DOUBLE, + offsetof(Wa__Point, has_y), + offsetof(Wa__Point, y), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__point__field_indices_by_name[] = { + 2, /* field[2] = x */ + 0, /* field[0] = xDeprecated */ + 3, /* field[3] = y */ + 1, /* field[1] = yDeprecated */ +}; +static const ProtobufCIntRange wa__point__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__point__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Point", + "Point", + "Wa__Point", + "wa", + sizeof(Wa__Point), + 4, + wa__point__field_descriptors, + wa__point__field_indices_by_name, + 1, wa__point__number_ranges, + (ProtobufCMessageInit) wa__point__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__poll_additional_metadata__field_descriptors[1] = +{ + { + "pollInvalidated", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__PollAdditionalMetadata, has_pollinvalidated), + offsetof(Wa__PollAdditionalMetadata, pollinvalidated), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__poll_additional_metadata__field_indices_by_name[] = { + 0, /* field[0] = pollInvalidated */ +}; +static const ProtobufCIntRange wa__poll_additional_metadata__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__poll_additional_metadata__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.PollAdditionalMetadata", + "PollAdditionalMetadata", + "Wa__PollAdditionalMetadata", + "wa", + sizeof(Wa__PollAdditionalMetadata), + 1, + wa__poll_additional_metadata__field_descriptors, + wa__poll_additional_metadata__field_indices_by_name, + 1, wa__poll_additional_metadata__number_ranges, + (ProtobufCMessageInit) wa__poll_additional_metadata__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__poll_enc_value__field_descriptors[2] = +{ + { + "encPayload", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__PollEncValue, has_encpayload), + offsetof(Wa__PollEncValue, encpayload), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "encIv", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__PollEncValue, has_enciv), + offsetof(Wa__PollEncValue, enciv), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__poll_enc_value__field_indices_by_name[] = { + 1, /* field[1] = encIv */ + 0, /* field[0] = encPayload */ +}; +static const ProtobufCIntRange wa__poll_enc_value__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__poll_enc_value__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.PollEncValue", + "PollEncValue", + "Wa__PollEncValue", + "wa", + sizeof(Wa__PollEncValue), + 2, + wa__poll_enc_value__field_descriptors, + wa__poll_enc_value__field_indices_by_name, + 1, wa__poll_enc_value__number_ranges, + (ProtobufCMessageInit) wa__poll_enc_value__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__poll_update__field_descriptors[3] = +{ + { + "pollUpdateMessageKey", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__PollUpdate, pollupdatemessagekey), + &wa__message_key__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "vote", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__PollUpdate, vote), + &wa__message__poll_vote_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "senderTimestampMs", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__PollUpdate, has_sendertimestampms), + offsetof(Wa__PollUpdate, sendertimestampms), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__poll_update__field_indices_by_name[] = { + 0, /* field[0] = pollUpdateMessageKey */ + 2, /* field[2] = senderTimestampMs */ + 1, /* field[1] = vote */ +}; +static const ProtobufCIntRange wa__poll_update__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__poll_update__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.PollUpdate", + "PollUpdate", + "Wa__PollUpdate", + "wa", + sizeof(Wa__PollUpdate), + 3, + wa__poll_update__field_descriptors, + wa__poll_update__field_indices_by_name, + 1, wa__poll_update__number_ranges, + (ProtobufCMessageInit) wa__poll_update__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__pre_key_record_structure__field_descriptors[3] = +{ + { + "id", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__PreKeyRecordStructure, has_id), + offsetof(Wa__PreKeyRecordStructure, id), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "publicKey", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__PreKeyRecordStructure, has_publickey), + offsetof(Wa__PreKeyRecordStructure, publickey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "privateKey", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__PreKeyRecordStructure, has_privatekey), + offsetof(Wa__PreKeyRecordStructure, privatekey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__pre_key_record_structure__field_indices_by_name[] = { + 0, /* field[0] = id */ + 2, /* field[2] = privateKey */ + 1, /* field[1] = publicKey */ +}; +static const ProtobufCIntRange wa__pre_key_record_structure__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__pre_key_record_structure__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.PreKeyRecordStructure", + "PreKeyRecordStructure", + "Wa__PreKeyRecordStructure", + "wa", + sizeof(Wa__PreKeyRecordStructure), + 3, + wa__pre_key_record_structure__field_descriptors, + wa__pre_key_record_structure__field_indices_by_name, + 1, wa__pre_key_record_structure__number_ranges, + (ProtobufCMessageInit) wa__pre_key_record_structure__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__pushname__field_descriptors[2] = +{ + { + "id", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Pushname, id), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pushname", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Pushname, pushname), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__pushname__field_indices_by_name[] = { + 0, /* field[0] = id */ + 1, /* field[1] = pushname */ +}; +static const ProtobufCIntRange wa__pushname__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__pushname__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Pushname", + "Pushname", + "Wa__Pushname", + "wa", + sizeof(Wa__Pushname), + 2, + wa__pushname__field_descriptors, + wa__pushname__field_indices_by_name, + 1, wa__pushname__number_ranges, + (ProtobufCMessageInit) wa__pushname__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__reaction__field_descriptors[5] = +{ + { + "key", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Reaction, key), + &wa__message_key__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "text", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Reaction, text), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "groupingKey", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Reaction, groupingkey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "senderTimestampMs", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Reaction, has_sendertimestampms), + offsetof(Wa__Reaction, sendertimestampms), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "unread", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Reaction, has_unread), + offsetof(Wa__Reaction, unread), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__reaction__field_indices_by_name[] = { + 2, /* field[2] = groupingKey */ + 0, /* field[0] = key */ + 3, /* field[3] = senderTimestampMs */ + 1, /* field[1] = text */ + 4, /* field[4] = unread */ +}; +static const ProtobufCIntRange wa__reaction__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 5 } +}; +const ProtobufCMessageDescriptor wa__reaction__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Reaction", + "Reaction", + "Wa__Reaction", + "wa", + sizeof(Wa__Reaction), + 5, + wa__reaction__field_descriptors, + wa__reaction__field_indices_by_name, + 1, wa__reaction__number_ranges, + (ProtobufCMessageInit) wa__reaction__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__recent_emoji_weight__field_descriptors[2] = +{ + { + "emoji", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__RecentEmojiWeight, emoji), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "weight", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_FLOAT, + offsetof(Wa__RecentEmojiWeight, has_weight), + offsetof(Wa__RecentEmojiWeight, weight), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__recent_emoji_weight__field_indices_by_name[] = { + 0, /* field[0] = emoji */ + 1, /* field[1] = weight */ +}; +static const ProtobufCIntRange wa__recent_emoji_weight__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__recent_emoji_weight__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.RecentEmojiWeight", + "RecentEmojiWeight", + "Wa__RecentEmojiWeight", + "wa", + sizeof(Wa__RecentEmojiWeight), + 2, + wa__recent_emoji_weight__field_descriptors, + wa__recent_emoji_weight__field_indices_by_name, + 1, wa__recent_emoji_weight__number_ranges, + (ProtobufCMessageInit) wa__recent_emoji_weight__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__record_structure__field_descriptors[2] = +{ + { + "currentSession", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__RecordStructure, currentsession), + &wa__session_structure__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "previousSessions", + 2, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__RecordStructure, n_previoussessions), + offsetof(Wa__RecordStructure, previoussessions), + &wa__session_structure__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__record_structure__field_indices_by_name[] = { + 0, /* field[0] = currentSession */ + 1, /* field[1] = previousSessions */ +}; +static const ProtobufCIntRange wa__record_structure__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__record_structure__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.RecordStructure", + "RecordStructure", + "Wa__RecordStructure", + "wa", + sizeof(Wa__RecordStructure), + 2, + wa__record_structure__field_descriptors, + wa__record_structure__field_indices_by_name, + 1, wa__record_structure__number_ranges, + (ProtobufCMessageInit) wa__record_structure__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sender_chain_key__field_descriptors[2] = +{ + { + "iteration", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__SenderChainKey, has_iteration), + offsetof(Wa__SenderChainKey, iteration), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "seed", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SenderChainKey, has_seed), + offsetof(Wa__SenderChainKey, seed), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sender_chain_key__field_indices_by_name[] = { + 0, /* field[0] = iteration */ + 1, /* field[1] = seed */ +}; +static const ProtobufCIntRange wa__sender_chain_key__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__sender_chain_key__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SenderChainKey", + "SenderChainKey", + "Wa__SenderChainKey", + "wa", + sizeof(Wa__SenderChainKey), + 2, + wa__sender_chain_key__field_descriptors, + wa__sender_chain_key__field_indices_by_name, + 1, wa__sender_chain_key__number_ranges, + (ProtobufCMessageInit) wa__sender_chain_key__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sender_key_record_structure__field_descriptors[1] = +{ + { + "senderKeyStates", + 1, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__SenderKeyRecordStructure, n_senderkeystates), + offsetof(Wa__SenderKeyRecordStructure, senderkeystates), + &wa__sender_key_state_structure__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sender_key_record_structure__field_indices_by_name[] = { + 0, /* field[0] = senderKeyStates */ +}; +static const ProtobufCIntRange wa__sender_key_record_structure__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__sender_key_record_structure__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SenderKeyRecordStructure", + "SenderKeyRecordStructure", + "Wa__SenderKeyRecordStructure", + "wa", + sizeof(Wa__SenderKeyRecordStructure), + 1, + wa__sender_key_record_structure__field_descriptors, + wa__sender_key_record_structure__field_indices_by_name, + 1, wa__sender_key_record_structure__number_ranges, + (ProtobufCMessageInit) wa__sender_key_record_structure__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sender_key_state_structure__field_descriptors[4] = +{ + { + "senderKeyId", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__SenderKeyStateStructure, has_senderkeyid), + offsetof(Wa__SenderKeyStateStructure, senderkeyid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "senderChainKey", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SenderKeyStateStructure, senderchainkey), + &wa__sender_chain_key__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "senderSigningKey", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SenderKeyStateStructure, sendersigningkey), + &wa__sender_signing_key__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "senderMessageKeys", + 4, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__SenderKeyStateStructure, n_sendermessagekeys), + offsetof(Wa__SenderKeyStateStructure, sendermessagekeys), + &wa__sender_message_key__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sender_key_state_structure__field_indices_by_name[] = { + 1, /* field[1] = senderChainKey */ + 0, /* field[0] = senderKeyId */ + 3, /* field[3] = senderMessageKeys */ + 2, /* field[2] = senderSigningKey */ +}; +static const ProtobufCIntRange wa__sender_key_state_structure__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__sender_key_state_structure__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SenderKeyStateStructure", + "SenderKeyStateStructure", + "Wa__SenderKeyStateStructure", + "wa", + sizeof(Wa__SenderKeyStateStructure), + 4, + wa__sender_key_state_structure__field_descriptors, + wa__sender_key_state_structure__field_indices_by_name, + 1, wa__sender_key_state_structure__number_ranges, + (ProtobufCMessageInit) wa__sender_key_state_structure__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sender_message_key__field_descriptors[2] = +{ + { + "iteration", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__SenderMessageKey, has_iteration), + offsetof(Wa__SenderMessageKey, iteration), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "seed", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SenderMessageKey, has_seed), + offsetof(Wa__SenderMessageKey, seed), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sender_message_key__field_indices_by_name[] = { + 0, /* field[0] = iteration */ + 1, /* field[1] = seed */ +}; +static const ProtobufCIntRange wa__sender_message_key__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__sender_message_key__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SenderMessageKey", + "SenderMessageKey", + "Wa__SenderMessageKey", + "wa", + sizeof(Wa__SenderMessageKey), + 2, + wa__sender_message_key__field_descriptors, + wa__sender_message_key__field_indices_by_name, + 1, wa__sender_message_key__number_ranges, + (ProtobufCMessageInit) wa__sender_message_key__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sender_signing_key__field_descriptors[2] = +{ + { + "public", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SenderSigningKey, has_public_), + offsetof(Wa__SenderSigningKey, public_), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "private", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SenderSigningKey, has_private_), + offsetof(Wa__SenderSigningKey, private_), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sender_signing_key__field_indices_by_name[] = { + 1, /* field[1] = private */ + 0, /* field[0] = public */ +}; +static const ProtobufCIntRange wa__sender_signing_key__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__sender_signing_key__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SenderSigningKey", + "SenderSigningKey", + "Wa__SenderSigningKey", + "wa", + sizeof(Wa__SenderSigningKey), + 2, + wa__sender_signing_key__field_descriptors, + wa__sender_signing_key__field_indices_by_name, + 1, wa__sender_signing_key__number_ranges, + (ProtobufCMessageInit) wa__sender_signing_key__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__server_error_receipt__field_descriptors[1] = +{ + { + "stanzaId", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ServerErrorReceipt, stanzaid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__server_error_receipt__field_indices_by_name[] = { + 0, /* field[0] = stanzaId */ +}; +static const ProtobufCIntRange wa__server_error_receipt__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__server_error_receipt__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.ServerErrorReceipt", + "ServerErrorReceipt", + "Wa__ServerErrorReceipt", + "wa", + sizeof(Wa__ServerErrorReceipt), + 1, + wa__server_error_receipt__field_descriptors, + wa__server_error_receipt__field_indices_by_name, + 1, wa__server_error_receipt__number_ranges, + (ProtobufCMessageInit) wa__server_error_receipt__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__session_structure__field_descriptors[13] = +{ + { + "sessionVersion", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__SessionStructure, has_sessionversion), + offsetof(Wa__SessionStructure, sessionversion), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "localIdentityPublic", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SessionStructure, has_localidentitypublic), + offsetof(Wa__SessionStructure, localidentitypublic), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "remoteIdentityPublic", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SessionStructure, has_remoteidentitypublic), + offsetof(Wa__SessionStructure, remoteidentitypublic), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "rootKey", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SessionStructure, has_rootkey), + offsetof(Wa__SessionStructure, rootkey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "previousCounter", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__SessionStructure, has_previouscounter), + offsetof(Wa__SessionStructure, previouscounter), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "senderChain", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SessionStructure, senderchain), + &wa__chain__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "receiverChains", + 7, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__SessionStructure, n_receiverchains), + offsetof(Wa__SessionStructure, receiverchains), + &wa__chain__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pendingKeyExchange", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SessionStructure, pendingkeyexchange), + &wa__pending_key_exchange__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pendingPreKey", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SessionStructure, pendingprekey), + &wa__pending_pre_key__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "remoteRegistrationId", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__SessionStructure, has_remoteregistrationid), + offsetof(Wa__SessionStructure, remoteregistrationid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "localRegistrationId", + 11, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__SessionStructure, has_localregistrationid), + offsetof(Wa__SessionStructure, localregistrationid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "needsRefresh", + 12, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__SessionStructure, has_needsrefresh), + offsetof(Wa__SessionStructure, needsrefresh), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "aliceBaseKey", + 13, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SessionStructure, has_alicebasekey), + offsetof(Wa__SessionStructure, alicebasekey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__session_structure__field_indices_by_name[] = { + 12, /* field[12] = aliceBaseKey */ + 1, /* field[1] = localIdentityPublic */ + 10, /* field[10] = localRegistrationId */ + 11, /* field[11] = needsRefresh */ + 7, /* field[7] = pendingKeyExchange */ + 8, /* field[8] = pendingPreKey */ + 4, /* field[4] = previousCounter */ + 6, /* field[6] = receiverChains */ + 2, /* field[2] = remoteIdentityPublic */ + 9, /* field[9] = remoteRegistrationId */ + 3, /* field[3] = rootKey */ + 5, /* field[5] = senderChain */ + 0, /* field[0] = sessionVersion */ +}; +static const ProtobufCIntRange wa__session_structure__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 13 } +}; +const ProtobufCMessageDescriptor wa__session_structure__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SessionStructure", + "SessionStructure", + "Wa__SessionStructure", + "wa", + sizeof(Wa__SessionStructure), + 13, + wa__session_structure__field_descriptors, + wa__session_structure__field_indices_by_name, + 1, wa__session_structure__number_ranges, + (ProtobufCMessageInit) wa__session_structure__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__signed_pre_key_record_structure__field_descriptors[5] = +{ + { + "id", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__SignedPreKeyRecordStructure, has_id), + offsetof(Wa__SignedPreKeyRecordStructure, id), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "publicKey", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SignedPreKeyRecordStructure, has_publickey), + offsetof(Wa__SignedPreKeyRecordStructure, publickey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "privateKey", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SignedPreKeyRecordStructure, has_privatekey), + offsetof(Wa__SignedPreKeyRecordStructure, privatekey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "signature", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SignedPreKeyRecordStructure, has_signature), + offsetof(Wa__SignedPreKeyRecordStructure, signature), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "timestamp", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_FIXED64, + offsetof(Wa__SignedPreKeyRecordStructure, has_timestamp), + offsetof(Wa__SignedPreKeyRecordStructure, timestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__signed_pre_key_record_structure__field_indices_by_name[] = { + 0, /* field[0] = id */ + 2, /* field[2] = privateKey */ + 1, /* field[1] = publicKey */ + 3, /* field[3] = signature */ + 4, /* field[4] = timestamp */ +}; +static const ProtobufCIntRange wa__signed_pre_key_record_structure__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 5 } +}; +const ProtobufCMessageDescriptor wa__signed_pre_key_record_structure__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SignedPreKeyRecordStructure", + "SignedPreKeyRecordStructure", + "Wa__SignedPreKeyRecordStructure", + "wa", + sizeof(Wa__SignedPreKeyRecordStructure), + 5, + wa__signed_pre_key_record_structure__field_descriptors, + wa__signed_pre_key_record_structure__field_indices_by_name, + 1, wa__signed_pre_key_record_structure__number_ranges, + (ProtobufCMessageInit) wa__signed_pre_key_record_structure__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__status_psa__field_descriptors[2] = +{ + { + "campaignId", + 44, + PROTOBUF_C_LABEL_REQUIRED, + PROTOBUF_C_TYPE_UINT64, + 0, /* quantifier_offset */ + offsetof(Wa__StatusPSA, campaignid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "campaignExpirationTimestamp", + 45, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__StatusPSA, has_campaignexpirationtimestamp), + offsetof(Wa__StatusPSA, campaignexpirationtimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__status_psa__field_indices_by_name[] = { + 1, /* field[1] = campaignExpirationTimestamp */ + 0, /* field[0] = campaignId */ +}; +static const ProtobufCIntRange wa__status_psa__number_ranges[1 + 1] = +{ + { 44, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__status_psa__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.StatusPSA", + "StatusPSA", + "Wa__StatusPSA", + "wa", + sizeof(Wa__StatusPSA), + 2, + wa__status_psa__field_descriptors, + wa__status_psa__field_indices_by_name, + 1, wa__status_psa__number_ranges, + (ProtobufCMessageInit) wa__status_psa__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sticker_metadata__field_descriptors[10] = +{ + { + "url", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__StickerMetadata, url), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileSha256", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__StickerMetadata, has_filesha256), + offsetof(Wa__StickerMetadata, filesha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileEncSha256", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__StickerMetadata, has_fileencsha256), + offsetof(Wa__StickerMetadata, fileencsha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaKey", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__StickerMetadata, has_mediakey), + offsetof(Wa__StickerMetadata, mediakey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mimetype", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__StickerMetadata, mimetype), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "height", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__StickerMetadata, has_height), + offsetof(Wa__StickerMetadata, height), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "width", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__StickerMetadata, has_width), + offsetof(Wa__StickerMetadata, width), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "directPath", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__StickerMetadata, directpath), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileLength", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__StickerMetadata, has_filelength), + offsetof(Wa__StickerMetadata, filelength), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "weight", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_FLOAT, + offsetof(Wa__StickerMetadata, has_weight), + offsetof(Wa__StickerMetadata, weight), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sticker_metadata__field_indices_by_name[] = { + 7, /* field[7] = directPath */ + 2, /* field[2] = fileEncSha256 */ + 8, /* field[8] = fileLength */ + 1, /* field[1] = fileSha256 */ + 5, /* field[5] = height */ + 3, /* field[3] = mediaKey */ + 4, /* field[4] = mimetype */ + 0, /* field[0] = url */ + 9, /* field[9] = weight */ + 6, /* field[6] = width */ +}; +static const ProtobufCIntRange wa__sticker_metadata__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 10 } +}; +const ProtobufCMessageDescriptor wa__sticker_metadata__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.StickerMetadata", + "StickerMetadata", + "Wa__StickerMetadata", + "wa", + sizeof(Wa__StickerMetadata), + 10, + wa__sticker_metadata__field_descriptors, + wa__sticker_metadata__field_indices_by_name, + 1, wa__sticker_metadata__number_ranges, + (ProtobufCMessageInit) wa__sticker_metadata__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_data__field_descriptors[4] = +{ + { + "index", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SyncActionData, has_index), + offsetof(Wa__SyncActionData, index), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "value", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionData, value), + &wa__sync_action_value__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "padding", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SyncActionData, has_padding), + offsetof(Wa__SyncActionData, padding), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "version", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__SyncActionData, has_version), + offsetof(Wa__SyncActionData, version), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_data__field_indices_by_name[] = { + 0, /* field[0] = index */ + 2, /* field[2] = padding */ + 1, /* field[1] = value */ + 3, /* field[3] = version */ +}; +static const ProtobufCIntRange wa__sync_action_data__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__sync_action_data__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionData", + "SyncActionData", + "Wa__SyncActionData", + "wa", + sizeof(Wa__SyncActionData), + 4, + wa__sync_action_data__field_descriptors, + wa__sync_action_data__field_indices_by_name, + 1, wa__sync_action_data__number_ranges, + (ProtobufCMessageInit) wa__sync_action_data__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__agent_action__field_descriptors[3] = +{ + { + "name", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue__AgentAction, name), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "deviceID", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__SyncActionValue__AgentAction, has_deviceid), + offsetof(Wa__SyncActionValue__AgentAction, deviceid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "isDeleted", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__SyncActionValue__AgentAction, has_isdeleted), + offsetof(Wa__SyncActionValue__AgentAction, isdeleted), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__agent_action__field_indices_by_name[] = { + 1, /* field[1] = deviceID */ + 2, /* field[2] = isDeleted */ + 0, /* field[0] = name */ +}; +static const ProtobufCIntRange wa__sync_action_value__agent_action__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__agent_action__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.AgentAction", + "AgentAction", + "Wa__SyncActionValue__AgentAction", + "wa", + sizeof(Wa__SyncActionValue__AgentAction), + 3, + wa__sync_action_value__agent_action__field_descriptors, + wa__sync_action_value__agent_action__field_indices_by_name, + 1, wa__sync_action_value__agent_action__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__agent_action__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__android_unsupported_actions__field_descriptors[1] = +{ + { + "allowed", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__SyncActionValue__AndroidUnsupportedActions, has_allowed), + offsetof(Wa__SyncActionValue__AndroidUnsupportedActions, allowed), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__android_unsupported_actions__field_indices_by_name[] = { + 0, /* field[0] = allowed */ +}; +static const ProtobufCIntRange wa__sync_action_value__android_unsupported_actions__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__android_unsupported_actions__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.AndroidUnsupportedActions", + "AndroidUnsupportedActions", + "Wa__SyncActionValue__AndroidUnsupportedActions", + "wa", + sizeof(Wa__SyncActionValue__AndroidUnsupportedActions), + 1, + wa__sync_action_value__android_unsupported_actions__field_descriptors, + wa__sync_action_value__android_unsupported_actions__field_indices_by_name, + 1, wa__sync_action_value__android_unsupported_actions__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__android_unsupported_actions__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__archive_chat_action__field_descriptors[2] = +{ + { + "archived", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__SyncActionValue__ArchiveChatAction, has_archived), + offsetof(Wa__SyncActionValue__ArchiveChatAction, archived), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "messageRange", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue__ArchiveChatAction, messagerange), + &wa__sync_action_value__sync_action_message_range__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__archive_chat_action__field_indices_by_name[] = { + 0, /* field[0] = archived */ + 1, /* field[1] = messageRange */ +}; +static const ProtobufCIntRange wa__sync_action_value__archive_chat_action__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__archive_chat_action__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.ArchiveChatAction", + "ArchiveChatAction", + "Wa__SyncActionValue__ArchiveChatAction", + "wa", + sizeof(Wa__SyncActionValue__ArchiveChatAction), + 2, + wa__sync_action_value__archive_chat_action__field_descriptors, + wa__sync_action_value__archive_chat_action__field_indices_by_name, + 1, wa__sync_action_value__archive_chat_action__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__archive_chat_action__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__clear_chat_action__field_descriptors[1] = +{ + { + "messageRange", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue__ClearChatAction, messagerange), + &wa__sync_action_value__sync_action_message_range__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__clear_chat_action__field_indices_by_name[] = { + 0, /* field[0] = messageRange */ +}; +static const ProtobufCIntRange wa__sync_action_value__clear_chat_action__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__clear_chat_action__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.ClearChatAction", + "ClearChatAction", + "Wa__SyncActionValue__ClearChatAction", + "wa", + sizeof(Wa__SyncActionValue__ClearChatAction), + 1, + wa__sync_action_value__clear_chat_action__field_descriptors, + wa__sync_action_value__clear_chat_action__field_indices_by_name, + 1, wa__sync_action_value__clear_chat_action__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__clear_chat_action__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__contact_action__field_descriptors[2] = +{ + { + "fullName", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue__ContactAction, fullname), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "firstName", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue__ContactAction, firstname), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__contact_action__field_indices_by_name[] = { + 1, /* field[1] = firstName */ + 0, /* field[0] = fullName */ +}; +static const ProtobufCIntRange wa__sync_action_value__contact_action__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__contact_action__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.ContactAction", + "ContactAction", + "Wa__SyncActionValue__ContactAction", + "wa", + sizeof(Wa__SyncActionValue__ContactAction), + 2, + wa__sync_action_value__contact_action__field_descriptors, + wa__sync_action_value__contact_action__field_indices_by_name, + 1, wa__sync_action_value__contact_action__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__contact_action__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__delete_chat_action__field_descriptors[1] = +{ + { + "messageRange", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue__DeleteChatAction, messagerange), + &wa__sync_action_value__sync_action_message_range__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__delete_chat_action__field_indices_by_name[] = { + 0, /* field[0] = messageRange */ +}; +static const ProtobufCIntRange wa__sync_action_value__delete_chat_action__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__delete_chat_action__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.DeleteChatAction", + "DeleteChatAction", + "Wa__SyncActionValue__DeleteChatAction", + "wa", + sizeof(Wa__SyncActionValue__DeleteChatAction), + 1, + wa__sync_action_value__delete_chat_action__field_descriptors, + wa__sync_action_value__delete_chat_action__field_indices_by_name, + 1, wa__sync_action_value__delete_chat_action__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__delete_chat_action__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__delete_message_for_me_action__field_descriptors[2] = +{ + { + "deleteMedia", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__SyncActionValue__DeleteMessageForMeAction, has_deletemedia), + offsetof(Wa__SyncActionValue__DeleteMessageForMeAction, deletemedia), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "messageTimestamp", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__SyncActionValue__DeleteMessageForMeAction, has_messagetimestamp), + offsetof(Wa__SyncActionValue__DeleteMessageForMeAction, messagetimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__delete_message_for_me_action__field_indices_by_name[] = { + 0, /* field[0] = deleteMedia */ + 1, /* field[1] = messageTimestamp */ +}; +static const ProtobufCIntRange wa__sync_action_value__delete_message_for_me_action__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__delete_message_for_me_action__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.DeleteMessageForMeAction", + "DeleteMessageForMeAction", + "Wa__SyncActionValue__DeleteMessageForMeAction", + "wa", + sizeof(Wa__SyncActionValue__DeleteMessageForMeAction), + 2, + wa__sync_action_value__delete_message_for_me_action__field_descriptors, + wa__sync_action_value__delete_message_for_me_action__field_indices_by_name, + 1, wa__sync_action_value__delete_message_for_me_action__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__delete_message_for_me_action__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__key_expiration__field_descriptors[1] = +{ + { + "expiredKeyEpoch", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__SyncActionValue__KeyExpiration, has_expiredkeyepoch), + offsetof(Wa__SyncActionValue__KeyExpiration, expiredkeyepoch), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__key_expiration__field_indices_by_name[] = { + 0, /* field[0] = expiredKeyEpoch */ +}; +static const ProtobufCIntRange wa__sync_action_value__key_expiration__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__key_expiration__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.KeyExpiration", + "KeyExpiration", + "Wa__SyncActionValue__KeyExpiration", + "wa", + sizeof(Wa__SyncActionValue__KeyExpiration), + 1, + wa__sync_action_value__key_expiration__field_descriptors, + wa__sync_action_value__key_expiration__field_indices_by_name, + 1, wa__sync_action_value__key_expiration__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__key_expiration__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__label_association_action__field_descriptors[1] = +{ + { + "labeled", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__SyncActionValue__LabelAssociationAction, has_labeled), + offsetof(Wa__SyncActionValue__LabelAssociationAction, labeled), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__label_association_action__field_indices_by_name[] = { + 0, /* field[0] = labeled */ +}; +static const ProtobufCIntRange wa__sync_action_value__label_association_action__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__label_association_action__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.LabelAssociationAction", + "LabelAssociationAction", + "Wa__SyncActionValue__LabelAssociationAction", + "wa", + sizeof(Wa__SyncActionValue__LabelAssociationAction), + 1, + wa__sync_action_value__label_association_action__field_descriptors, + wa__sync_action_value__label_association_action__field_indices_by_name, + 1, wa__sync_action_value__label_association_action__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__label_association_action__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__label_edit_action__field_descriptors[4] = +{ + { + "name", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue__LabelEditAction, name), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "color", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__SyncActionValue__LabelEditAction, has_color), + offsetof(Wa__SyncActionValue__LabelEditAction, color), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "predefinedId", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__SyncActionValue__LabelEditAction, has_predefinedid), + offsetof(Wa__SyncActionValue__LabelEditAction, predefinedid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "deleted", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__SyncActionValue__LabelEditAction, has_deleted), + offsetof(Wa__SyncActionValue__LabelEditAction, deleted), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__label_edit_action__field_indices_by_name[] = { + 1, /* field[1] = color */ + 3, /* field[3] = deleted */ + 0, /* field[0] = name */ + 2, /* field[2] = predefinedId */ +}; +static const ProtobufCIntRange wa__sync_action_value__label_edit_action__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__label_edit_action__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.LabelEditAction", + "LabelEditAction", + "Wa__SyncActionValue__LabelEditAction", + "wa", + sizeof(Wa__SyncActionValue__LabelEditAction), + 4, + wa__sync_action_value__label_edit_action__field_descriptors, + wa__sync_action_value__label_edit_action__field_indices_by_name, + 1, wa__sync_action_value__label_edit_action__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__label_edit_action__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__locale_setting__field_descriptors[1] = +{ + { + "locale", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue__LocaleSetting, locale), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__locale_setting__field_indices_by_name[] = { + 0, /* field[0] = locale */ +}; +static const ProtobufCIntRange wa__sync_action_value__locale_setting__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__locale_setting__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.LocaleSetting", + "LocaleSetting", + "Wa__SyncActionValue__LocaleSetting", + "wa", + sizeof(Wa__SyncActionValue__LocaleSetting), + 1, + wa__sync_action_value__locale_setting__field_descriptors, + wa__sync_action_value__locale_setting__field_indices_by_name, + 1, wa__sync_action_value__locale_setting__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__locale_setting__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__mark_chat_as_read_action__field_descriptors[2] = +{ + { + "read", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__SyncActionValue__MarkChatAsReadAction, has_read), + offsetof(Wa__SyncActionValue__MarkChatAsReadAction, read), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "messageRange", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue__MarkChatAsReadAction, messagerange), + &wa__sync_action_value__sync_action_message_range__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__mark_chat_as_read_action__field_indices_by_name[] = { + 1, /* field[1] = messageRange */ + 0, /* field[0] = read */ +}; +static const ProtobufCIntRange wa__sync_action_value__mark_chat_as_read_action__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__mark_chat_as_read_action__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.MarkChatAsReadAction", + "MarkChatAsReadAction", + "Wa__SyncActionValue__MarkChatAsReadAction", + "wa", + sizeof(Wa__SyncActionValue__MarkChatAsReadAction), + 2, + wa__sync_action_value__mark_chat_as_read_action__field_descriptors, + wa__sync_action_value__mark_chat_as_read_action__field_indices_by_name, + 1, wa__sync_action_value__mark_chat_as_read_action__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__mark_chat_as_read_action__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__mute_action__field_descriptors[2] = +{ + { + "muted", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__SyncActionValue__MuteAction, has_muted), + offsetof(Wa__SyncActionValue__MuteAction, muted), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "muteEndTimestamp", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__SyncActionValue__MuteAction, has_muteendtimestamp), + offsetof(Wa__SyncActionValue__MuteAction, muteendtimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__mute_action__field_indices_by_name[] = { + 1, /* field[1] = muteEndTimestamp */ + 0, /* field[0] = muted */ +}; +static const ProtobufCIntRange wa__sync_action_value__mute_action__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__mute_action__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.MuteAction", + "MuteAction", + "Wa__SyncActionValue__MuteAction", + "wa", + sizeof(Wa__SyncActionValue__MuteAction), + 2, + wa__sync_action_value__mute_action__field_descriptors, + wa__sync_action_value__mute_action__field_indices_by_name, + 1, wa__sync_action_value__mute_action__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__mute_action__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__nux_action__field_descriptors[1] = +{ + { + "acknowledged", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__SyncActionValue__NuxAction, has_acknowledged), + offsetof(Wa__SyncActionValue__NuxAction, acknowledged), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__nux_action__field_indices_by_name[] = { + 0, /* field[0] = acknowledged */ +}; +static const ProtobufCIntRange wa__sync_action_value__nux_action__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__nux_action__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.NuxAction", + "NuxAction", + "Wa__SyncActionValue__NuxAction", + "wa", + sizeof(Wa__SyncActionValue__NuxAction), + 1, + wa__sync_action_value__nux_action__field_descriptors, + wa__sync_action_value__nux_action__field_indices_by_name, + 1, wa__sync_action_value__nux_action__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__nux_action__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__pin_action__field_descriptors[1] = +{ + { + "pinned", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__SyncActionValue__PinAction, has_pinned), + offsetof(Wa__SyncActionValue__PinAction, pinned), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__pin_action__field_indices_by_name[] = { + 0, /* field[0] = pinned */ +}; +static const ProtobufCIntRange wa__sync_action_value__pin_action__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__pin_action__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.PinAction", + "PinAction", + "Wa__SyncActionValue__PinAction", + "wa", + sizeof(Wa__SyncActionValue__PinAction), + 1, + wa__sync_action_value__pin_action__field_descriptors, + wa__sync_action_value__pin_action__field_indices_by_name, + 1, wa__sync_action_value__pin_action__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__pin_action__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__primary_feature__field_descriptors[1] = +{ + { + "flags", + 1, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_STRING, + offsetof(Wa__SyncActionValue__PrimaryFeature, n_flags), + offsetof(Wa__SyncActionValue__PrimaryFeature, flags), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__primary_feature__field_indices_by_name[] = { + 0, /* field[0] = flags */ +}; +static const ProtobufCIntRange wa__sync_action_value__primary_feature__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__primary_feature__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.PrimaryFeature", + "PrimaryFeature", + "Wa__SyncActionValue__PrimaryFeature", + "wa", + sizeof(Wa__SyncActionValue__PrimaryFeature), + 1, + wa__sync_action_value__primary_feature__field_descriptors, + wa__sync_action_value__primary_feature__field_indices_by_name, + 1, wa__sync_action_value__primary_feature__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__primary_feature__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__primary_version_action__field_descriptors[1] = +{ + { + "version", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue__PrimaryVersionAction, version), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__primary_version_action__field_indices_by_name[] = { + 0, /* field[0] = version */ +}; +static const ProtobufCIntRange wa__sync_action_value__primary_version_action__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__primary_version_action__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.PrimaryVersionAction", + "PrimaryVersionAction", + "Wa__SyncActionValue__PrimaryVersionAction", + "wa", + sizeof(Wa__SyncActionValue__PrimaryVersionAction), + 1, + wa__sync_action_value__primary_version_action__field_descriptors, + wa__sync_action_value__primary_version_action__field_indices_by_name, + 1, wa__sync_action_value__primary_version_action__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__primary_version_action__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__push_name_setting__field_descriptors[1] = +{ + { + "name", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue__PushNameSetting, name), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__push_name_setting__field_indices_by_name[] = { + 0, /* field[0] = name */ +}; +static const ProtobufCIntRange wa__sync_action_value__push_name_setting__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__push_name_setting__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.PushNameSetting", + "PushNameSetting", + "Wa__SyncActionValue__PushNameSetting", + "wa", + sizeof(Wa__SyncActionValue__PushNameSetting), + 1, + wa__sync_action_value__push_name_setting__field_descriptors, + wa__sync_action_value__push_name_setting__field_indices_by_name, + 1, wa__sync_action_value__push_name_setting__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__push_name_setting__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__quick_reply_action__field_descriptors[5] = +{ + { + "shortcut", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue__QuickReplyAction, shortcut), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "message", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue__QuickReplyAction, message), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "keywords", + 3, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_STRING, + offsetof(Wa__SyncActionValue__QuickReplyAction, n_keywords), + offsetof(Wa__SyncActionValue__QuickReplyAction, keywords), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "count", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__SyncActionValue__QuickReplyAction, has_count), + offsetof(Wa__SyncActionValue__QuickReplyAction, count), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "deleted", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__SyncActionValue__QuickReplyAction, has_deleted), + offsetof(Wa__SyncActionValue__QuickReplyAction, deleted), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__quick_reply_action__field_indices_by_name[] = { + 3, /* field[3] = count */ + 4, /* field[4] = deleted */ + 2, /* field[2] = keywords */ + 1, /* field[1] = message */ + 0, /* field[0] = shortcut */ +}; +static const ProtobufCIntRange wa__sync_action_value__quick_reply_action__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 5 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__quick_reply_action__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.QuickReplyAction", + "QuickReplyAction", + "Wa__SyncActionValue__QuickReplyAction", + "wa", + sizeof(Wa__SyncActionValue__QuickReplyAction), + 5, + wa__sync_action_value__quick_reply_action__field_descriptors, + wa__sync_action_value__quick_reply_action__field_indices_by_name, + 1, wa__sync_action_value__quick_reply_action__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__quick_reply_action__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__recent_emoji_weights_action__field_descriptors[1] = +{ + { + "weights", + 1, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__SyncActionValue__RecentEmojiWeightsAction, n_weights), + offsetof(Wa__SyncActionValue__RecentEmojiWeightsAction, weights), + &wa__recent_emoji_weight__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__recent_emoji_weights_action__field_indices_by_name[] = { + 0, /* field[0] = weights */ +}; +static const ProtobufCIntRange wa__sync_action_value__recent_emoji_weights_action__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__recent_emoji_weights_action__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.RecentEmojiWeightsAction", + "RecentEmojiWeightsAction", + "Wa__SyncActionValue__RecentEmojiWeightsAction", + "wa", + sizeof(Wa__SyncActionValue__RecentEmojiWeightsAction), + 1, + wa__sync_action_value__recent_emoji_weights_action__field_descriptors, + wa__sync_action_value__recent_emoji_weights_action__field_indices_by_name, + 1, wa__sync_action_value__recent_emoji_weights_action__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__recent_emoji_weights_action__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__security_notification_setting__field_descriptors[1] = +{ + { + "showNotification", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__SyncActionValue__SecurityNotificationSetting, has_shownotification), + offsetof(Wa__SyncActionValue__SecurityNotificationSetting, shownotification), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__security_notification_setting__field_indices_by_name[] = { + 0, /* field[0] = showNotification */ +}; +static const ProtobufCIntRange wa__sync_action_value__security_notification_setting__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__security_notification_setting__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.SecurityNotificationSetting", + "SecurityNotificationSetting", + "Wa__SyncActionValue__SecurityNotificationSetting", + "wa", + sizeof(Wa__SyncActionValue__SecurityNotificationSetting), + 1, + wa__sync_action_value__security_notification_setting__field_descriptors, + wa__sync_action_value__security_notification_setting__field_indices_by_name, + 1, wa__sync_action_value__security_notification_setting__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__security_notification_setting__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__star_action__field_descriptors[1] = +{ + { + "starred", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__SyncActionValue__StarAction, has_starred), + offsetof(Wa__SyncActionValue__StarAction, starred), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__star_action__field_indices_by_name[] = { + 0, /* field[0] = starred */ +}; +static const ProtobufCIntRange wa__sync_action_value__star_action__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__star_action__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.StarAction", + "StarAction", + "Wa__SyncActionValue__StarAction", + "wa", + sizeof(Wa__SyncActionValue__StarAction), + 1, + wa__sync_action_value__star_action__field_descriptors, + wa__sync_action_value__star_action__field_indices_by_name, + 1, wa__sync_action_value__star_action__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__star_action__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__sticker_action__field_descriptors[10] = +{ + { + "url", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue__StickerAction, url), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileEncSha256", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SyncActionValue__StickerAction, has_fileencsha256), + offsetof(Wa__SyncActionValue__StickerAction, fileencsha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaKey", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SyncActionValue__StickerAction, has_mediakey), + offsetof(Wa__SyncActionValue__StickerAction, mediakey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mimetype", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue__StickerAction, mimetype), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "height", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__SyncActionValue__StickerAction, has_height), + offsetof(Wa__SyncActionValue__StickerAction, height), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "width", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__SyncActionValue__StickerAction, has_width), + offsetof(Wa__SyncActionValue__StickerAction, width), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "directPath", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue__StickerAction, directpath), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fileLength", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__SyncActionValue__StickerAction, has_filelength), + offsetof(Wa__SyncActionValue__StickerAction, filelength), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "isFavorite", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__SyncActionValue__StickerAction, has_isfavorite), + offsetof(Wa__SyncActionValue__StickerAction, isfavorite), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "deviceIdHint", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__SyncActionValue__StickerAction, has_deviceidhint), + offsetof(Wa__SyncActionValue__StickerAction, deviceidhint), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__sticker_action__field_indices_by_name[] = { + 9, /* field[9] = deviceIdHint */ + 6, /* field[6] = directPath */ + 1, /* field[1] = fileEncSha256 */ + 7, /* field[7] = fileLength */ + 4, /* field[4] = height */ + 8, /* field[8] = isFavorite */ + 2, /* field[2] = mediaKey */ + 3, /* field[3] = mimetype */ + 0, /* field[0] = url */ + 5, /* field[5] = width */ +}; +static const ProtobufCIntRange wa__sync_action_value__sticker_action__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 10 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__sticker_action__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.StickerAction", + "StickerAction", + "Wa__SyncActionValue__StickerAction", + "wa", + sizeof(Wa__SyncActionValue__StickerAction), + 10, + wa__sync_action_value__sticker_action__field_descriptors, + wa__sync_action_value__sticker_action__field_indices_by_name, + 1, wa__sync_action_value__sticker_action__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__sticker_action__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__subscription_action__field_descriptors[3] = +{ + { + "isDeactivated", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__SyncActionValue__SubscriptionAction, has_isdeactivated), + offsetof(Wa__SyncActionValue__SubscriptionAction, isdeactivated), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "isAutoRenewing", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__SyncActionValue__SubscriptionAction, has_isautorenewing), + offsetof(Wa__SyncActionValue__SubscriptionAction, isautorenewing), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "expirationDate", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__SyncActionValue__SubscriptionAction, has_expirationdate), + offsetof(Wa__SyncActionValue__SubscriptionAction, expirationdate), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__subscription_action__field_indices_by_name[] = { + 2, /* field[2] = expirationDate */ + 1, /* field[1] = isAutoRenewing */ + 0, /* field[0] = isDeactivated */ +}; +static const ProtobufCIntRange wa__sync_action_value__subscription_action__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__subscription_action__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.SubscriptionAction", + "SubscriptionAction", + "Wa__SyncActionValue__SubscriptionAction", + "wa", + sizeof(Wa__SyncActionValue__SubscriptionAction), + 3, + wa__sync_action_value__subscription_action__field_descriptors, + wa__sync_action_value__subscription_action__field_indices_by_name, + 1, wa__sync_action_value__subscription_action__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__subscription_action__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__sync_action_message_range__field_descriptors[3] = +{ + { + "lastMessageTimestamp", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__SyncActionValue__SyncActionMessageRange, has_lastmessagetimestamp), + offsetof(Wa__SyncActionValue__SyncActionMessageRange, lastmessagetimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "lastSystemMessageTimestamp", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__SyncActionValue__SyncActionMessageRange, has_lastsystemmessagetimestamp), + offsetof(Wa__SyncActionValue__SyncActionMessageRange, lastsystemmessagetimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "messages", + 3, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__SyncActionValue__SyncActionMessageRange, n_messages), + offsetof(Wa__SyncActionValue__SyncActionMessageRange, messages), + &wa__sync_action_value__sync_action_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__sync_action_message_range__field_indices_by_name[] = { + 0, /* field[0] = lastMessageTimestamp */ + 1, /* field[1] = lastSystemMessageTimestamp */ + 2, /* field[2] = messages */ +}; +static const ProtobufCIntRange wa__sync_action_value__sync_action_message_range__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__sync_action_message_range__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.SyncActionMessageRange", + "SyncActionMessageRange", + "Wa__SyncActionValue__SyncActionMessageRange", + "wa", + sizeof(Wa__SyncActionValue__SyncActionMessageRange), + 3, + wa__sync_action_value__sync_action_message_range__field_descriptors, + wa__sync_action_value__sync_action_message_range__field_indices_by_name, + 1, wa__sync_action_value__sync_action_message_range__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__sync_action_message_range__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__sync_action_message__field_descriptors[2] = +{ + { + "key", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue__SyncActionMessage, key), + &wa__message_key__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "timestamp", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__SyncActionValue__SyncActionMessage, has_timestamp), + offsetof(Wa__SyncActionValue__SyncActionMessage, timestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__sync_action_message__field_indices_by_name[] = { + 0, /* field[0] = key */ + 1, /* field[1] = timestamp */ +}; +static const ProtobufCIntRange wa__sync_action_value__sync_action_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__sync_action_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.SyncActionMessage", + "SyncActionMessage", + "Wa__SyncActionValue__SyncActionMessage", + "wa", + sizeof(Wa__SyncActionValue__SyncActionMessage), + 2, + wa__sync_action_value__sync_action_message__field_descriptors, + wa__sync_action_value__sync_action_message__field_indices_by_name, + 1, wa__sync_action_value__sync_action_message__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__sync_action_message__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__time_format_action__field_descriptors[1] = +{ + { + "isTwentyFourHourFormatEnabled", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__SyncActionValue__TimeFormatAction, has_istwentyfourhourformatenabled), + offsetof(Wa__SyncActionValue__TimeFormatAction, istwentyfourhourformatenabled), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__time_format_action__field_indices_by_name[] = { + 0, /* field[0] = isTwentyFourHourFormatEnabled */ +}; +static const ProtobufCIntRange wa__sync_action_value__time_format_action__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__time_format_action__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.TimeFormatAction", + "TimeFormatAction", + "Wa__SyncActionValue__TimeFormatAction", + "wa", + sizeof(Wa__SyncActionValue__TimeFormatAction), + 1, + wa__sync_action_value__time_format_action__field_descriptors, + wa__sync_action_value__time_format_action__field_indices_by_name, + 1, wa__sync_action_value__time_format_action__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__time_format_action__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__unarchive_chats_setting__field_descriptors[1] = +{ + { + "unarchiveChats", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__SyncActionValue__UnarchiveChatsSetting, has_unarchivechats), + offsetof(Wa__SyncActionValue__UnarchiveChatsSetting, unarchivechats), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__unarchive_chats_setting__field_indices_by_name[] = { + 0, /* field[0] = unarchiveChats */ +}; +static const ProtobufCIntRange wa__sync_action_value__unarchive_chats_setting__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__unarchive_chats_setting__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.UnarchiveChatsSetting", + "UnarchiveChatsSetting", + "Wa__SyncActionValue__UnarchiveChatsSetting", + "wa", + sizeof(Wa__SyncActionValue__UnarchiveChatsSetting), + 1, + wa__sync_action_value__unarchive_chats_setting__field_descriptors, + wa__sync_action_value__unarchive_chats_setting__field_indices_by_name, + 1, wa__sync_action_value__unarchive_chats_setting__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__unarchive_chats_setting__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__user_status_mute_action__field_descriptors[1] = +{ + { + "muted", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__SyncActionValue__UserStatusMuteAction, has_muted), + offsetof(Wa__SyncActionValue__UserStatusMuteAction, muted), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__user_status_mute_action__field_indices_by_name[] = { + 0, /* field[0] = muted */ +}; +static const ProtobufCIntRange wa__sync_action_value__user_status_mute_action__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__user_status_mute_action__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.UserStatusMuteAction", + "UserStatusMuteAction", + "Wa__SyncActionValue__UserStatusMuteAction", + "wa", + sizeof(Wa__SyncActionValue__UserStatusMuteAction), + 1, + wa__sync_action_value__user_status_mute_action__field_descriptors, + wa__sync_action_value__user_status_mute_action__field_indices_by_name, + 1, wa__sync_action_value__user_status_mute_action__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__user_status_mute_action__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__field_descriptors[28] = +{ + { + "timestamp", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__SyncActionValue, has_timestamp), + offsetof(Wa__SyncActionValue, timestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "starAction", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, staraction), + &wa__sync_action_value__star_action__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "contactAction", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, contactaction), + &wa__sync_action_value__contact_action__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "muteAction", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, muteaction), + &wa__sync_action_value__mute_action__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pinAction", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, pinaction), + &wa__sync_action_value__pin_action__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "securityNotificationSetting", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, securitynotificationsetting), + &wa__sync_action_value__security_notification_setting__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pushNameSetting", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, pushnamesetting), + &wa__sync_action_value__push_name_setting__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "quickReplyAction", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, quickreplyaction), + &wa__sync_action_value__quick_reply_action__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "recentEmojiWeightsAction", + 11, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, recentemojiweightsaction), + &wa__sync_action_value__recent_emoji_weights_action__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "labelEditAction", + 14, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, labeleditaction), + &wa__sync_action_value__label_edit_action__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "labelAssociationAction", + 15, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, labelassociationaction), + &wa__sync_action_value__label_association_action__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "localeSetting", + 16, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, localesetting), + &wa__sync_action_value__locale_setting__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "archiveChatAction", + 17, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, archivechataction), + &wa__sync_action_value__archive_chat_action__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "deleteMessageForMeAction", + 18, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, deletemessageformeaction), + &wa__sync_action_value__delete_message_for_me_action__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "keyExpiration", + 19, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, keyexpiration), + &wa__sync_action_value__key_expiration__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "markChatAsReadAction", + 20, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, markchatasreadaction), + &wa__sync_action_value__mark_chat_as_read_action__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "clearChatAction", + 21, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, clearchataction), + &wa__sync_action_value__clear_chat_action__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "deleteChatAction", + 22, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, deletechataction), + &wa__sync_action_value__delete_chat_action__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "unarchiveChatsSetting", + 23, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, unarchivechatssetting), + &wa__sync_action_value__unarchive_chats_setting__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "primaryFeature", + 24, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, primaryfeature), + &wa__sync_action_value__primary_feature__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "androidUnsupportedActions", + 26, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, androidunsupportedactions), + &wa__sync_action_value__android_unsupported_actions__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "agentAction", + 27, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, agentaction), + &wa__sync_action_value__agent_action__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "subscriptionAction", + 28, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, subscriptionaction), + &wa__sync_action_value__subscription_action__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "userStatusMuteAction", + 29, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, userstatusmuteaction), + &wa__sync_action_value__user_status_mute_action__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "timeFormatAction", + 30, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, timeformataction), + &wa__sync_action_value__time_format_action__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "nuxAction", + 31, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, nuxaction), + &wa__sync_action_value__nux_action__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "primaryVersionAction", + 32, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, primaryversionaction), + &wa__sync_action_value__primary_version_action__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "stickerAction", + 33, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, stickeraction), + &wa__sync_action_value__sticker_action__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__field_indices_by_name[] = { + 21, /* field[21] = agentAction */ + 20, /* field[20] = androidUnsupportedActions */ + 12, /* field[12] = archiveChatAction */ + 16, /* field[16] = clearChatAction */ + 2, /* field[2] = contactAction */ + 17, /* field[17] = deleteChatAction */ + 13, /* field[13] = deleteMessageForMeAction */ + 14, /* field[14] = keyExpiration */ + 10, /* field[10] = labelAssociationAction */ + 9, /* field[9] = labelEditAction */ + 11, /* field[11] = localeSetting */ + 15, /* field[15] = markChatAsReadAction */ + 3, /* field[3] = muteAction */ + 25, /* field[25] = nuxAction */ + 4, /* field[4] = pinAction */ + 19, /* field[19] = primaryFeature */ + 26, /* field[26] = primaryVersionAction */ + 6, /* field[6] = pushNameSetting */ + 7, /* field[7] = quickReplyAction */ + 8, /* field[8] = recentEmojiWeightsAction */ + 5, /* field[5] = securityNotificationSetting */ + 1, /* field[1] = starAction */ + 27, /* field[27] = stickerAction */ + 22, /* field[22] = subscriptionAction */ + 24, /* field[24] = timeFormatAction */ + 0, /* field[0] = timestamp */ + 18, /* field[18] = unarchiveChatsSetting */ + 23, /* field[23] = userStatusMuteAction */ +}; +static const ProtobufCIntRange wa__sync_action_value__number_ranges[4 + 1] = +{ + { 1, 0 }, + { 11, 8 }, + { 14, 9 }, + { 26, 20 }, + { 0, 28 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue", + "SyncActionValue", + "Wa__SyncActionValue", + "wa", + sizeof(Wa__SyncActionValue), + 28, + wa__sync_action_value__field_descriptors, + wa__sync_action_value__field_indices_by_name, + 4, wa__sync_action_value__number_ranges, + (ProtobufCMessageInit) wa__sync_action_value__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__syncd_index__field_descriptors[1] = +{ + { + "blob", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SyncdIndex, has_blob), + offsetof(Wa__SyncdIndex, blob), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__syncd_index__field_indices_by_name[] = { + 0, /* field[0] = blob */ +}; +static const ProtobufCIntRange wa__syncd_index__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__syncd_index__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncdIndex", + "SyncdIndex", + "Wa__SyncdIndex", + "wa", + sizeof(Wa__SyncdIndex), + 1, + wa__syncd_index__field_descriptors, + wa__syncd_index__field_indices_by_name, + 1, wa__syncd_index__number_ranges, + (ProtobufCMessageInit) wa__syncd_index__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__syncd_mutation__syncd_operation__enum_values_by_number[2] = +{ + { "SET", "WA__SYNCD_MUTATION__SYNCD_OPERATION__SET", 0 }, + { "REMOVE", "WA__SYNCD_MUTATION__SYNCD_OPERATION__REMOVE", 1 }, +}; +static const ProtobufCIntRange wa__syncd_mutation__syncd_operation__value_ranges[] = { +{0, 0},{0, 2} +}; +static const ProtobufCEnumValueIndex wa__syncd_mutation__syncd_operation__enum_values_by_name[2] = +{ + { "REMOVE", 1 }, + { "SET", 0 }, +}; +const ProtobufCEnumDescriptor wa__syncd_mutation__syncd_operation__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.SyncdMutation.SyncdOperation", + "SyncdOperation", + "Wa__SyncdMutation__SyncdOperation", + "wa", + 2, + wa__syncd_mutation__syncd_operation__enum_values_by_number, + 2, + wa__syncd_mutation__syncd_operation__enum_values_by_name, + 1, + wa__syncd_mutation__syncd_operation__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__syncd_mutation__field_descriptors[2] = +{ + { + "operation", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__SyncdMutation, has_operation), + offsetof(Wa__SyncdMutation, operation), + &wa__syncd_mutation__syncd_operation__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "record", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncdMutation, record), + &wa__syncd_record__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__syncd_mutation__field_indices_by_name[] = { + 0, /* field[0] = operation */ + 1, /* field[1] = record */ +}; +static const ProtobufCIntRange wa__syncd_mutation__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__syncd_mutation__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncdMutation", + "SyncdMutation", + "Wa__SyncdMutation", + "wa", + sizeof(Wa__SyncdMutation), + 2, + wa__syncd_mutation__field_descriptors, + wa__syncd_mutation__field_indices_by_name, + 1, wa__syncd_mutation__number_ranges, + (ProtobufCMessageInit) wa__syncd_mutation__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__syncd_mutations__field_descriptors[1] = +{ + { + "mutations", + 1, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__SyncdMutations, n_mutations), + offsetof(Wa__SyncdMutations, mutations), + &wa__syncd_mutation__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__syncd_mutations__field_indices_by_name[] = { + 0, /* field[0] = mutations */ +}; +static const ProtobufCIntRange wa__syncd_mutations__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__syncd_mutations__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncdMutations", + "SyncdMutations", + "Wa__SyncdMutations", + "wa", + sizeof(Wa__SyncdMutations), + 1, + wa__syncd_mutations__field_descriptors, + wa__syncd_mutations__field_indices_by_name, + 1, wa__syncd_mutations__number_ranges, + (ProtobufCMessageInit) wa__syncd_mutations__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__syncd_patch__field_descriptors[8] = +{ + { + "version", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncdPatch, version), + &wa__syncd_version__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mutations", + 2, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__SyncdPatch, n_mutations), + offsetof(Wa__SyncdPatch, mutations), + &wa__syncd_mutation__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "externalMutations", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncdPatch, externalmutations), + &wa__external_blob_reference__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "snapshotMac", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SyncdPatch, has_snapshotmac), + offsetof(Wa__SyncdPatch, snapshotmac), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "patchMac", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SyncdPatch, has_patchmac), + offsetof(Wa__SyncdPatch, patchmac), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "keyId", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncdPatch, keyid), + &wa__key_id__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "exitCode", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncdPatch, exitcode), + &wa__exit_code__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "deviceIndex", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__SyncdPatch, has_deviceindex), + offsetof(Wa__SyncdPatch, deviceindex), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__syncd_patch__field_indices_by_name[] = { + 7, /* field[7] = deviceIndex */ + 6, /* field[6] = exitCode */ + 2, /* field[2] = externalMutations */ + 5, /* field[5] = keyId */ + 1, /* field[1] = mutations */ + 4, /* field[4] = patchMac */ + 3, /* field[3] = snapshotMac */ + 0, /* field[0] = version */ +}; +static const ProtobufCIntRange wa__syncd_patch__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 8 } +}; +const ProtobufCMessageDescriptor wa__syncd_patch__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncdPatch", + "SyncdPatch", + "Wa__SyncdPatch", + "wa", + sizeof(Wa__SyncdPatch), + 8, + wa__syncd_patch__field_descriptors, + wa__syncd_patch__field_indices_by_name, + 1, wa__syncd_patch__number_ranges, + (ProtobufCMessageInit) wa__syncd_patch__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__syncd_record__field_descriptors[3] = +{ + { + "index", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncdRecord, index), + &wa__syncd_index__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "value", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncdRecord, value), + &wa__syncd_value__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "keyId", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncdRecord, keyid), + &wa__key_id__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__syncd_record__field_indices_by_name[] = { + 0, /* field[0] = index */ + 2, /* field[2] = keyId */ + 1, /* field[1] = value */ +}; +static const ProtobufCIntRange wa__syncd_record__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__syncd_record__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncdRecord", + "SyncdRecord", + "Wa__SyncdRecord", + "wa", + sizeof(Wa__SyncdRecord), + 3, + wa__syncd_record__field_descriptors, + wa__syncd_record__field_indices_by_name, + 1, wa__syncd_record__number_ranges, + (ProtobufCMessageInit) wa__syncd_record__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__syncd_snapshot__field_descriptors[4] = +{ + { + "version", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncdSnapshot, version), + &wa__syncd_version__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "records", + 2, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__SyncdSnapshot, n_records), + offsetof(Wa__SyncdSnapshot, records), + &wa__syncd_record__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mac", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SyncdSnapshot, has_mac), + offsetof(Wa__SyncdSnapshot, mac), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "keyId", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncdSnapshot, keyid), + &wa__key_id__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__syncd_snapshot__field_indices_by_name[] = { + 3, /* field[3] = keyId */ + 2, /* field[2] = mac */ + 1, /* field[1] = records */ + 0, /* field[0] = version */ +}; +static const ProtobufCIntRange wa__syncd_snapshot__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__syncd_snapshot__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncdSnapshot", + "SyncdSnapshot", + "Wa__SyncdSnapshot", + "wa", + sizeof(Wa__SyncdSnapshot), + 4, + wa__syncd_snapshot__field_descriptors, + wa__syncd_snapshot__field_indices_by_name, + 1, wa__syncd_snapshot__number_ranges, + (ProtobufCMessageInit) wa__syncd_snapshot__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__syncd_value__field_descriptors[1] = +{ + { + "blob", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SyncdValue, has_blob), + offsetof(Wa__SyncdValue, blob), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__syncd_value__field_indices_by_name[] = { + 0, /* field[0] = blob */ +}; +static const ProtobufCIntRange wa__syncd_value__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__syncd_value__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncdValue", + "SyncdValue", + "Wa__SyncdValue", + "wa", + sizeof(Wa__SyncdValue), + 1, + wa__syncd_value__field_descriptors, + wa__syncd_value__field_indices_by_name, + 1, wa__syncd_value__number_ranges, + (ProtobufCMessageInit) wa__syncd_value__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__syncd_version__field_descriptors[1] = +{ + { + "version", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__SyncdVersion, has_version), + offsetof(Wa__SyncdVersion, version), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__syncd_version__field_indices_by_name[] = { + 0, /* field[0] = version */ +}; +static const ProtobufCIntRange wa__syncd_version__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__syncd_version__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncdVersion", + "SyncdVersion", + "Wa__SyncdVersion", + "wa", + sizeof(Wa__SyncdVersion), + 1, + wa__syncd_version__field_descriptors, + wa__syncd_version__field_indices_by_name, + 1, wa__syncd_version__number_ranges, + (ProtobufCMessageInit) wa__syncd_version__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__template_button__call_button__field_descriptors[2] = +{ + { + "displayText", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__TemplateButton__CallButton, displaytext), + &wa__message__highly_structured_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "phoneNumber", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__TemplateButton__CallButton, phonenumber), + &wa__message__highly_structured_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__template_button__call_button__field_indices_by_name[] = { + 0, /* field[0] = displayText */ + 1, /* field[1] = phoneNumber */ +}; +static const ProtobufCIntRange wa__template_button__call_button__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__template_button__call_button__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.TemplateButton.CallButton", + "CallButton", + "Wa__TemplateButton__CallButton", + "wa", + sizeof(Wa__TemplateButton__CallButton), + 2, + wa__template_button__call_button__field_descriptors, + wa__template_button__call_button__field_indices_by_name, + 1, wa__template_button__call_button__number_ranges, + (ProtobufCMessageInit) wa__template_button__call_button__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__template_button__quick_reply_button__field_descriptors[2] = +{ + { + "displayText", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__TemplateButton__QuickReplyButton, displaytext), + &wa__message__highly_structured_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "id", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__TemplateButton__QuickReplyButton, id), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__template_button__quick_reply_button__field_indices_by_name[] = { + 0, /* field[0] = displayText */ + 1, /* field[1] = id */ +}; +static const ProtobufCIntRange wa__template_button__quick_reply_button__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__template_button__quick_reply_button__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.TemplateButton.QuickReplyButton", + "QuickReplyButton", + "Wa__TemplateButton__QuickReplyButton", + "wa", + sizeof(Wa__TemplateButton__QuickReplyButton), + 2, + wa__template_button__quick_reply_button__field_descriptors, + wa__template_button__quick_reply_button__field_indices_by_name, + 1, wa__template_button__quick_reply_button__number_ranges, + (ProtobufCMessageInit) wa__template_button__quick_reply_button__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__template_button__urlbutton__field_descriptors[2] = +{ + { + "displayText", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__TemplateButton__URLButton, displaytext), + &wa__message__highly_structured_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "url", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__TemplateButton__URLButton, url), + &wa__message__highly_structured_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__template_button__urlbutton__field_indices_by_name[] = { + 0, /* field[0] = displayText */ + 1, /* field[1] = url */ +}; +static const ProtobufCIntRange wa__template_button__urlbutton__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__template_button__urlbutton__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.TemplateButton.URLButton", + "URLButton", + "Wa__TemplateButton__URLButton", + "wa", + sizeof(Wa__TemplateButton__URLButton), + 2, + wa__template_button__urlbutton__field_descriptors, + wa__template_button__urlbutton__field_indices_by_name, + 1, wa__template_button__urlbutton__number_ranges, + (ProtobufCMessageInit) wa__template_button__urlbutton__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__template_button__field_descriptors[4] = +{ + { + "quickReplyButton", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__TemplateButton, button_case), + offsetof(Wa__TemplateButton, quickreplybutton), + &wa__template_button__quick_reply_button__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "urlButton", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__TemplateButton, button_case), + offsetof(Wa__TemplateButton, urlbutton), + &wa__template_button__urlbutton__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "callButton", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__TemplateButton, button_case), + offsetof(Wa__TemplateButton, callbutton), + &wa__template_button__call_button__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "index", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__TemplateButton, has_index), + offsetof(Wa__TemplateButton, index), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__template_button__field_indices_by_name[] = { + 2, /* field[2] = callButton */ + 3, /* field[3] = index */ + 0, /* field[0] = quickReplyButton */ + 1, /* field[1] = urlButton */ +}; +static const ProtobufCIntRange wa__template_button__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__template_button__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.TemplateButton", + "TemplateButton", + "Wa__TemplateButton", + "wa", + sizeof(Wa__TemplateButton), + 4, + wa__template_button__field_descriptors, + wa__template_button__field_indices_by_name, + 1, wa__template_button__number_ranges, + (ProtobufCMessageInit) wa__template_button__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__user_receipt__field_descriptors[6] = +{ + { + "userJid", + 1, + PROTOBUF_C_LABEL_REQUIRED, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__UserReceipt, userjid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "receiptTimestamp", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__UserReceipt, has_receipttimestamp), + offsetof(Wa__UserReceipt, receipttimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "readTimestamp", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__UserReceipt, has_readtimestamp), + offsetof(Wa__UserReceipt, readtimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "playedTimestamp", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__UserReceipt, has_playedtimestamp), + offsetof(Wa__UserReceipt, playedtimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pendingDeviceJid", + 5, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_STRING, + offsetof(Wa__UserReceipt, n_pendingdevicejid), + offsetof(Wa__UserReceipt, pendingdevicejid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "deliveredDeviceJid", + 6, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_STRING, + offsetof(Wa__UserReceipt, n_delivereddevicejid), + offsetof(Wa__UserReceipt, delivereddevicejid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__user_receipt__field_indices_by_name[] = { + 5, /* field[5] = deliveredDeviceJid */ + 4, /* field[4] = pendingDeviceJid */ + 3, /* field[3] = playedTimestamp */ + 2, /* field[2] = readTimestamp */ + 1, /* field[1] = receiptTimestamp */ + 0, /* field[0] = userJid */ +}; +static const ProtobufCIntRange wa__user_receipt__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 6 } +}; +const ProtobufCMessageDescriptor wa__user_receipt__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.UserReceipt", + "UserReceipt", + "Wa__UserReceipt", + "wa", + sizeof(Wa__UserReceipt), + 6, + wa__user_receipt__field_descriptors, + wa__user_receipt__field_indices_by_name, + 1, wa__user_receipt__number_ranges, + (ProtobufCMessageInit) wa__user_receipt__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__verified_name_certificate__details__field_descriptors[5] = +{ + { + "serial", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__VerifiedNameCertificate__Details, has_serial), + offsetof(Wa__VerifiedNameCertificate__Details, serial), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "issuer", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__VerifiedNameCertificate__Details, issuer), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "verifiedName", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__VerifiedNameCertificate__Details, verifiedname), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "localizedNames", + 8, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__VerifiedNameCertificate__Details, n_localizednames), + offsetof(Wa__VerifiedNameCertificate__Details, localizednames), + &wa__localized_name__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "issueTime", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__VerifiedNameCertificate__Details, has_issuetime), + offsetof(Wa__VerifiedNameCertificate__Details, issuetime), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__verified_name_certificate__details__field_indices_by_name[] = { + 4, /* field[4] = issueTime */ + 1, /* field[1] = issuer */ + 3, /* field[3] = localizedNames */ + 0, /* field[0] = serial */ + 2, /* field[2] = verifiedName */ +}; +static const ProtobufCIntRange wa__verified_name_certificate__details__number_ranges[4 + 1] = +{ + { 1, 0 }, + { 4, 2 }, + { 8, 3 }, + { 10, 4 }, + { 0, 5 } +}; +const ProtobufCMessageDescriptor wa__verified_name_certificate__details__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.VerifiedNameCertificate.Details", + "Details", + "Wa__VerifiedNameCertificate__Details", + "wa", + sizeof(Wa__VerifiedNameCertificate__Details), + 5, + wa__verified_name_certificate__details__field_descriptors, + wa__verified_name_certificate__details__field_indices_by_name, + 4, wa__verified_name_certificate__details__number_ranges, + (ProtobufCMessageInit) wa__verified_name_certificate__details__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__verified_name_certificate__field_descriptors[3] = +{ + { + "details", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__VerifiedNameCertificate, has_details), + offsetof(Wa__VerifiedNameCertificate, details), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "signature", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__VerifiedNameCertificate, has_signature), + offsetof(Wa__VerifiedNameCertificate, signature), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "serverSignature", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__VerifiedNameCertificate, has_serversignature), + offsetof(Wa__VerifiedNameCertificate, serversignature), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__verified_name_certificate__field_indices_by_name[] = { + 0, /* field[0] = details */ + 2, /* field[2] = serverSignature */ + 1, /* field[1] = signature */ +}; +static const ProtobufCIntRange wa__verified_name_certificate__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__verified_name_certificate__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.VerifiedNameCertificate", + "VerifiedNameCertificate", + "Wa__VerifiedNameCertificate", + "wa", + sizeof(Wa__VerifiedNameCertificate), + 3, + wa__verified_name_certificate__field_descriptors, + wa__verified_name_certificate__field_indices_by_name, + 1, wa__verified_name_certificate__number_ranges, + (ProtobufCMessageInit) wa__verified_name_certificate__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__wallpaper_settings__field_descriptors[2] = +{ + { + "filename", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__WallpaperSettings, filename), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "opacity", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__WallpaperSettings, has_opacity), + offsetof(Wa__WallpaperSettings, opacity), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__wallpaper_settings__field_indices_by_name[] = { + 0, /* field[0] = filename */ + 1, /* field[1] = opacity */ +}; +static const ProtobufCIntRange wa__wallpaper_settings__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__wallpaper_settings__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.WallpaperSettings", + "WallpaperSettings", + "Wa__WallpaperSettings", + "wa", + sizeof(Wa__WallpaperSettings), + 2, + wa__wallpaper_settings__field_descriptors, + wa__wallpaper_settings__field_indices_by_name, + 1, wa__wallpaper_settings__number_ranges, + (ProtobufCMessageInit) wa__wallpaper_settings__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__web_features__flag__enum_values_by_number[4] = +{ + { "NOT_STARTED", "WA__WEB_FEATURES__FLAG__NOT_STARTED", 0 }, + { "FORCE_UPGRADE", "WA__WEB_FEATURES__FLAG__FORCE_UPGRADE", 1 }, + { "DEVELOPMENT", "WA__WEB_FEATURES__FLAG__DEVELOPMENT", 2 }, + { "PRODUCTION", "WA__WEB_FEATURES__FLAG__PRODUCTION", 3 }, +}; +static const ProtobufCIntRange wa__web_features__flag__value_ranges[] = { +{0, 0},{0, 4} +}; +static const ProtobufCEnumValueIndex wa__web_features__flag__enum_values_by_name[4] = +{ + { "DEVELOPMENT", 2 }, + { "FORCE_UPGRADE", 1 }, + { "NOT_STARTED", 0 }, + { "PRODUCTION", 3 }, +}; +const ProtobufCEnumDescriptor wa__web_features__flag__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.WebFeatures.Flag", + "Flag", + "Wa__WebFeatures__Flag", + "wa", + 4, + wa__web_features__flag__enum_values_by_number, + 4, + wa__web_features__flag__enum_values_by_name, + 1, + wa__web_features__flag__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__web_features__field_descriptors[45] = +{ + { + "labelsDisplay", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_labelsdisplay), + offsetof(Wa__WebFeatures, labelsdisplay), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "voipIndividualOutgoing", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_voipindividualoutgoing), + offsetof(Wa__WebFeatures, voipindividualoutgoing), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "groupsV3", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_groupsv3), + offsetof(Wa__WebFeatures, groupsv3), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "groupsV3Create", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_groupsv3create), + offsetof(Wa__WebFeatures, groupsv3create), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "changeNumberV2", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_changenumberv2), + offsetof(Wa__WebFeatures, changenumberv2), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "queryStatusV3Thumbnail", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_querystatusv3thumbnail), + offsetof(Wa__WebFeatures, querystatusv3thumbnail), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "liveLocations", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_livelocations), + offsetof(Wa__WebFeatures, livelocations), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "queryVname", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_queryvname), + offsetof(Wa__WebFeatures, queryvname), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "voipIndividualIncoming", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_voipindividualincoming), + offsetof(Wa__WebFeatures, voipindividualincoming), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "quickRepliesQuery", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_quickrepliesquery), + offsetof(Wa__WebFeatures, quickrepliesquery), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "payments", + 11, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_payments), + offsetof(Wa__WebFeatures, payments), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "stickerPackQuery", + 12, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_stickerpackquery), + offsetof(Wa__WebFeatures, stickerpackquery), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "liveLocationsFinal", + 13, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_livelocationsfinal), + offsetof(Wa__WebFeatures, livelocationsfinal), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "labelsEdit", + 14, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_labelsedit), + offsetof(Wa__WebFeatures, labelsedit), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaUpload", + 15, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_mediaupload), + offsetof(Wa__WebFeatures, mediaupload), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaUploadRichQuickReplies", + 18, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_mediauploadrichquickreplies), + offsetof(Wa__WebFeatures, mediauploadrichquickreplies), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "vnameV2", + 19, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_vnamev2), + offsetof(Wa__WebFeatures, vnamev2), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "videoPlaybackUrl", + 20, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_videoplaybackurl), + offsetof(Wa__WebFeatures, videoplaybackurl), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "statusRanking", + 21, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_statusranking), + offsetof(Wa__WebFeatures, statusranking), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "voipIndividualVideo", + 22, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_voipindividualvideo), + offsetof(Wa__WebFeatures, voipindividualvideo), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "thirdPartyStickers", + 23, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_thirdpartystickers), + offsetof(Wa__WebFeatures, thirdpartystickers), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "frequentlyForwardedSetting", + 24, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_frequentlyforwardedsetting), + offsetof(Wa__WebFeatures, frequentlyforwardedsetting), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "groupsV4JoinPermission", + 25, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_groupsv4joinpermission), + offsetof(Wa__WebFeatures, groupsv4joinpermission), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "recentStickers", + 26, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_recentstickers), + offsetof(Wa__WebFeatures, recentstickers), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "catalog", + 27, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_catalog), + offsetof(Wa__WebFeatures, catalog), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "starredStickers", + 28, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_starredstickers), + offsetof(Wa__WebFeatures, starredstickers), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "voipGroupCall", + 29, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_voipgroupcall), + offsetof(Wa__WebFeatures, voipgroupcall), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "templateMessage", + 30, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_templatemessage), + offsetof(Wa__WebFeatures, templatemessage), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "templateMessageInteractivity", + 31, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_templatemessageinteractivity), + offsetof(Wa__WebFeatures, templatemessageinteractivity), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ephemeralMessages", + 32, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_ephemeralmessages), + offsetof(Wa__WebFeatures, ephemeralmessages), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "e2ENotificationSync", + 33, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_e2enotificationsync), + offsetof(Wa__WebFeatures, e2enotificationsync), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "recentStickersV2", + 34, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_recentstickersv2), + offsetof(Wa__WebFeatures, recentstickersv2), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "recentStickersV3", + 36, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_recentstickersv3), + offsetof(Wa__WebFeatures, recentstickersv3), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "userNotice", + 37, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_usernotice), + offsetof(Wa__WebFeatures, usernotice), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "support", + 39, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_support), + offsetof(Wa__WebFeatures, support), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "groupUiiCleanup", + 40, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_groupuiicleanup), + offsetof(Wa__WebFeatures, groupuiicleanup), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "groupDogfoodingInternalOnly", + 41, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_groupdogfoodinginternalonly), + offsetof(Wa__WebFeatures, groupdogfoodinginternalonly), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "settingsSync", + 42, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_settingssync), + offsetof(Wa__WebFeatures, settingssync), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "archiveV2", + 43, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_archivev2), + offsetof(Wa__WebFeatures, archivev2), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ephemeralAllowGroupMembers", + 44, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_ephemeralallowgroupmembers), + offsetof(Wa__WebFeatures, ephemeralallowgroupmembers), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ephemeral24HDuration", + 45, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_ephemeral24hduration), + offsetof(Wa__WebFeatures, ephemeral24hduration), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mdForceUpgrade", + 46, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_mdforceupgrade), + offsetof(Wa__WebFeatures, mdforceupgrade), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "disappearingMode", + 47, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_disappearingmode), + offsetof(Wa__WebFeatures, disappearingmode), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "externalMdOptInAvailable", + 48, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_externalmdoptinavailable), + offsetof(Wa__WebFeatures, externalmdoptinavailable), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "noDeleteMessageTimeLimit", + 49, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebFeatures, has_nodeletemessagetimelimit), + offsetof(Wa__WebFeatures, nodeletemessagetimelimit), + &wa__web_features__flag__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__web_features__field_indices_by_name[] = { + 38, /* field[38] = archiveV2 */ + 24, /* field[24] = catalog */ + 4, /* field[4] = changeNumberV2 */ + 42, /* field[42] = disappearingMode */ + 30, /* field[30] = e2ENotificationSync */ + 40, /* field[40] = ephemeral24HDuration */ + 39, /* field[39] = ephemeralAllowGroupMembers */ + 29, /* field[29] = ephemeralMessages */ + 43, /* field[43] = externalMdOptInAvailable */ + 21, /* field[21] = frequentlyForwardedSetting */ + 36, /* field[36] = groupDogfoodingInternalOnly */ + 35, /* field[35] = groupUiiCleanup */ + 2, /* field[2] = groupsV3 */ + 3, /* field[3] = groupsV3Create */ + 22, /* field[22] = groupsV4JoinPermission */ + 0, /* field[0] = labelsDisplay */ + 13, /* field[13] = labelsEdit */ + 6, /* field[6] = liveLocations */ + 12, /* field[12] = liveLocationsFinal */ + 41, /* field[41] = mdForceUpgrade */ + 14, /* field[14] = mediaUpload */ + 15, /* field[15] = mediaUploadRichQuickReplies */ + 44, /* field[44] = noDeleteMessageTimeLimit */ + 10, /* field[10] = payments */ + 5, /* field[5] = queryStatusV3Thumbnail */ + 7, /* field[7] = queryVname */ + 9, /* field[9] = quickRepliesQuery */ + 23, /* field[23] = recentStickers */ + 31, /* field[31] = recentStickersV2 */ + 32, /* field[32] = recentStickersV3 */ + 37, /* field[37] = settingsSync */ + 25, /* field[25] = starredStickers */ + 18, /* field[18] = statusRanking */ + 11, /* field[11] = stickerPackQuery */ + 34, /* field[34] = support */ + 27, /* field[27] = templateMessage */ + 28, /* field[28] = templateMessageInteractivity */ + 20, /* field[20] = thirdPartyStickers */ + 33, /* field[33] = userNotice */ + 17, /* field[17] = videoPlaybackUrl */ + 16, /* field[16] = vnameV2 */ + 26, /* field[26] = voipGroupCall */ + 8, /* field[8] = voipIndividualIncoming */ + 1, /* field[1] = voipIndividualOutgoing */ + 19, /* field[19] = voipIndividualVideo */ +}; +static const ProtobufCIntRange wa__web_features__number_ranges[4 + 1] = +{ + { 1, 0 }, + { 18, 15 }, + { 36, 32 }, + { 39, 34 }, + { 0, 45 } +}; +const ProtobufCMessageDescriptor wa__web_features__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.WebFeatures", + "WebFeatures", + "Wa__WebFeatures", + "wa", + sizeof(Wa__WebFeatures), + 45, + wa__web_features__field_descriptors, + wa__web_features__field_indices_by_name, + 4, wa__web_features__number_ranges, + (ProtobufCMessageInit) wa__web_features__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__web_message_info__biz_privacy_status__enum_values_by_number[4] = +{ + { "E2EE", "WA__WEB_MESSAGE_INFO__BIZ_PRIVACY_STATUS__E2EE", 0 }, + { "BSP", "WA__WEB_MESSAGE_INFO__BIZ_PRIVACY_STATUS__BSP", 1 }, + { "FB", "WA__WEB_MESSAGE_INFO__BIZ_PRIVACY_STATUS__FB", 2 }, + { "BSP_AND_FB", "WA__WEB_MESSAGE_INFO__BIZ_PRIVACY_STATUS__BSP_AND_FB", 3 }, +}; +static const ProtobufCIntRange wa__web_message_info__biz_privacy_status__value_ranges[] = { +{0, 0},{0, 4} +}; +static const ProtobufCEnumValueIndex wa__web_message_info__biz_privacy_status__enum_values_by_name[4] = +{ + { "BSP", 1 }, + { "BSP_AND_FB", 3 }, + { "E2EE", 0 }, + { "FB", 2 }, +}; +const ProtobufCEnumDescriptor wa__web_message_info__biz_privacy_status__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.WebMessageInfo.BizPrivacyStatus", + "BizPrivacyStatus", + "Wa__WebMessageInfo__BizPrivacyStatus", + "wa", + 4, + wa__web_message_info__biz_privacy_status__enum_values_by_number, + 4, + wa__web_message_info__biz_privacy_status__enum_values_by_name, + 1, + wa__web_message_info__biz_privacy_status__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCEnumValue wa__web_message_info__status__enum_values_by_number[6] = +{ + { "ERROR", "WA__WEB_MESSAGE_INFO__STATUS__ERROR", 0 }, + { "PENDING", "WA__WEB_MESSAGE_INFO__STATUS__PENDING", 1 }, + { "SERVER_ACK", "WA__WEB_MESSAGE_INFO__STATUS__SERVER_ACK", 2 }, + { "DELIVERY_ACK", "WA__WEB_MESSAGE_INFO__STATUS__DELIVERY_ACK", 3 }, + { "READ", "WA__WEB_MESSAGE_INFO__STATUS__READ", 4 }, + { "PLAYED", "WA__WEB_MESSAGE_INFO__STATUS__PLAYED", 5 }, +}; +static const ProtobufCIntRange wa__web_message_info__status__value_ranges[] = { +{0, 0},{0, 6} +}; +static const ProtobufCEnumValueIndex wa__web_message_info__status__enum_values_by_name[6] = +{ + { "DELIVERY_ACK", 3 }, + { "ERROR", 0 }, + { "PENDING", 1 }, + { "PLAYED", 5 }, + { "READ", 4 }, + { "SERVER_ACK", 2 }, +}; +const ProtobufCEnumDescriptor wa__web_message_info__status__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.WebMessageInfo.Status", + "Status", + "Wa__WebMessageInfo__Status", + "wa", + 6, + wa__web_message_info__status__enum_values_by_number, + 6, + wa__web_message_info__status__enum_values_by_name, + 1, + wa__web_message_info__status__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCEnumValue wa__web_message_info__stub_type__enum_values_by_number[150] = +{ + { "UNKNOWN", "WA__WEB_MESSAGE_INFO__STUB_TYPE__UNKNOWN", 0 }, + { "REVOKE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__REVOKE", 1 }, + { "CIPHERTEXT", "WA__WEB_MESSAGE_INFO__STUB_TYPE__CIPHERTEXT", 2 }, + { "FUTUREPROOF", "WA__WEB_MESSAGE_INFO__STUB_TYPE__FUTUREPROOF", 3 }, + { "NON_VERIFIED_TRANSITION", "WA__WEB_MESSAGE_INFO__STUB_TYPE__NON_VERIFIED_TRANSITION", 4 }, + { "UNVERIFIED_TRANSITION", "WA__WEB_MESSAGE_INFO__STUB_TYPE__UNVERIFIED_TRANSITION", 5 }, + { "VERIFIED_TRANSITION", "WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_TRANSITION", 6 }, + { "VERIFIED_LOW_UNKNOWN", "WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_LOW_UNKNOWN", 7 }, + { "VERIFIED_HIGH", "WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_HIGH", 8 }, + { "VERIFIED_INITIAL_UNKNOWN", "WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_INITIAL_UNKNOWN", 9 }, + { "VERIFIED_INITIAL_LOW", "WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_INITIAL_LOW", 10 }, + { "VERIFIED_INITIAL_HIGH", "WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_INITIAL_HIGH", 11 }, + { "VERIFIED_TRANSITION_ANY_TO_NONE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_TRANSITION_ANY_TO_NONE", 12 }, + { "VERIFIED_TRANSITION_ANY_TO_HIGH", "WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_TRANSITION_ANY_TO_HIGH", 13 }, + { "VERIFIED_TRANSITION_HIGH_TO_LOW", "WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_TRANSITION_HIGH_TO_LOW", 14 }, + { "VERIFIED_TRANSITION_HIGH_TO_UNKNOWN", "WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_TRANSITION_HIGH_TO_UNKNOWN", 15 }, + { "VERIFIED_TRANSITION_UNKNOWN_TO_LOW", "WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_TRANSITION_UNKNOWN_TO_LOW", 16 }, + { "VERIFIED_TRANSITION_LOW_TO_UNKNOWN", "WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_TRANSITION_LOW_TO_UNKNOWN", 17 }, + { "VERIFIED_TRANSITION_NONE_TO_LOW", "WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_TRANSITION_NONE_TO_LOW", 18 }, + { "VERIFIED_TRANSITION_NONE_TO_UNKNOWN", "WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_TRANSITION_NONE_TO_UNKNOWN", 19 }, + { "GROUP_CREATE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CREATE", 20 }, + { "GROUP_CHANGE_SUBJECT", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CHANGE_SUBJECT", 21 }, + { "GROUP_CHANGE_ICON", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CHANGE_ICON", 22 }, + { "GROUP_CHANGE_INVITE_LINK", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CHANGE_INVITE_LINK", 23 }, + { "GROUP_CHANGE_DESCRIPTION", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CHANGE_DESCRIPTION", 24 }, + { "GROUP_CHANGE_RESTRICT", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CHANGE_RESTRICT", 25 }, + { "GROUP_CHANGE_ANNOUNCE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CHANGE_ANNOUNCE", 26 }, + { "GROUP_PARTICIPANT_ADD", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_ADD", 27 }, + { "GROUP_PARTICIPANT_REMOVE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_REMOVE", 28 }, + { "GROUP_PARTICIPANT_PROMOTE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_PROMOTE", 29 }, + { "GROUP_PARTICIPANT_DEMOTE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_DEMOTE", 30 }, + { "GROUP_PARTICIPANT_INVITE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_INVITE", 31 }, + { "GROUP_PARTICIPANT_LEAVE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_LEAVE", 32 }, + { "GROUP_PARTICIPANT_CHANGE_NUMBER", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_CHANGE_NUMBER", 33 }, + { "BROADCAST_CREATE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BROADCAST_CREATE", 34 }, + { "BROADCAST_ADD", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BROADCAST_ADD", 35 }, + { "BROADCAST_REMOVE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BROADCAST_REMOVE", 36 }, + { "GENERIC_NOTIFICATION", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GENERIC_NOTIFICATION", 37 }, + { "E2E_IDENTITY_CHANGED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__E2E_IDENTITY_CHANGED", 38 }, + { "E2E_ENCRYPTED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__E2E_ENCRYPTED", 39 }, + { "CALL_MISSED_VOICE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__CALL_MISSED_VOICE", 40 }, + { "CALL_MISSED_VIDEO", "WA__WEB_MESSAGE_INFO__STUB_TYPE__CALL_MISSED_VIDEO", 41 }, + { "INDIVIDUAL_CHANGE_NUMBER", "WA__WEB_MESSAGE_INFO__STUB_TYPE__INDIVIDUAL_CHANGE_NUMBER", 42 }, + { "GROUP_DELETE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_DELETE", 43 }, + { "GROUP_ANNOUNCE_MODE_MESSAGE_BOUNCE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_ANNOUNCE_MODE_MESSAGE_BOUNCE", 44 }, + { "CALL_MISSED_GROUP_VOICE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__CALL_MISSED_GROUP_VOICE", 45 }, + { "CALL_MISSED_GROUP_VIDEO", "WA__WEB_MESSAGE_INFO__STUB_TYPE__CALL_MISSED_GROUP_VIDEO", 46 }, + { "PAYMENT_CIPHERTEXT", "WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_CIPHERTEXT", 47 }, + { "PAYMENT_FUTUREPROOF", "WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_FUTUREPROOF", 48 }, + { "PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED", 49 }, + { "PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED", 50 }, + { "PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED", 51 }, + { "PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP", "WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP", 52 }, + { "PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP", "WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP", 53 }, + { "PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER", "WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER", 54 }, + { "PAYMENT_ACTION_SEND_PAYMENT_REMINDER", "WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_ACTION_SEND_PAYMENT_REMINDER", 55 }, + { "PAYMENT_ACTION_SEND_PAYMENT_INVITATION", "WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_ACTION_SEND_PAYMENT_INVITATION", 56 }, + { "PAYMENT_ACTION_REQUEST_DECLINED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_ACTION_REQUEST_DECLINED", 57 }, + { "PAYMENT_ACTION_REQUEST_EXPIRED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_ACTION_REQUEST_EXPIRED", 58 }, + { "PAYMENT_ACTION_REQUEST_CANCELLED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_ACTION_REQUEST_CANCELLED", 59 }, + { "BIZ_VERIFIED_TRANSITION_TOP_TO_BOTTOM", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_VERIFIED_TRANSITION_TOP_TO_BOTTOM", 60 }, + { "BIZ_VERIFIED_TRANSITION_BOTTOM_TO_TOP", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_VERIFIED_TRANSITION_BOTTOM_TO_TOP", 61 }, + { "BIZ_INTRO_TOP", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_INTRO_TOP", 62 }, + { "BIZ_INTRO_BOTTOM", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_INTRO_BOTTOM", 63 }, + { "BIZ_NAME_CHANGE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_NAME_CHANGE", 64 }, + { "BIZ_MOVE_TO_CONSUMER_APP", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_MOVE_TO_CONSUMER_APP", 65 }, + { "BIZ_TWO_TIER_MIGRATION_TOP", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_TWO_TIER_MIGRATION_TOP", 66 }, + { "BIZ_TWO_TIER_MIGRATION_BOTTOM", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_TWO_TIER_MIGRATION_BOTTOM", 67 }, + { "OVERSIZED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__OVERSIZED", 68 }, + { "GROUP_CHANGE_NO_FREQUENTLY_FORWARDED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CHANGE_NO_FREQUENTLY_FORWARDED", 69 }, + { "GROUP_V4_ADD_INVITE_SENT", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_V4_ADD_INVITE_SENT", 70 }, + { "GROUP_PARTICIPANT_ADD_REQUEST_JOIN", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_ADD_REQUEST_JOIN", 71 }, + { "CHANGE_EPHEMERAL_SETTING", "WA__WEB_MESSAGE_INFO__STUB_TYPE__CHANGE_EPHEMERAL_SETTING", 72 }, + { "E2E_DEVICE_CHANGED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__E2E_DEVICE_CHANGED", 73 }, + { "VIEWED_ONCE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__VIEWED_ONCE", 74 }, + { "E2E_ENCRYPTED_NOW", "WA__WEB_MESSAGE_INFO__STUB_TYPE__E2E_ENCRYPTED_NOW", 75 }, + { "BLUE_MSG_BSP_FB_TO_BSP_PREMISE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_TO_BSP_PREMISE", 76 }, + { "BLUE_MSG_BSP_FB_TO_SELF_FB", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_TO_SELF_FB", 77 }, + { "BLUE_MSG_BSP_FB_TO_SELF_PREMISE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_TO_SELF_PREMISE", 78 }, + { "BLUE_MSG_BSP_FB_UNVERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_UNVERIFIED", 79 }, + { "BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED", 80 }, + { "BLUE_MSG_BSP_FB_VERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_VERIFIED", 81 }, + { "BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED", 82 }, + { "BLUE_MSG_BSP_PREMISE_TO_SELF_PREMISE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_PREMISE_TO_SELF_PREMISE", 83 }, + { "BLUE_MSG_BSP_PREMISE_UNVERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_PREMISE_UNVERIFIED", 84 }, + { "BLUE_MSG_BSP_PREMISE_UNVERIFIED_TO_SELF_PREMISE_VERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_PREMISE_UNVERIFIED_TO_SELF_PREMISE_VERIFIED", 85 }, + { "BLUE_MSG_BSP_PREMISE_VERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_PREMISE_VERIFIED", 86 }, + { "BLUE_MSG_BSP_PREMISE_VERIFIED_TO_SELF_PREMISE_UNVERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_PREMISE_VERIFIED_TO_SELF_PREMISE_UNVERIFIED", 87 }, + { "BLUE_MSG_CONSUMER_TO_BSP_FB_UNVERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_CONSUMER_TO_BSP_FB_UNVERIFIED", 88 }, + { "BLUE_MSG_CONSUMER_TO_BSP_PREMISE_UNVERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_CONSUMER_TO_BSP_PREMISE_UNVERIFIED", 89 }, + { "BLUE_MSG_CONSUMER_TO_SELF_FB_UNVERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_CONSUMER_TO_SELF_FB_UNVERIFIED", 90 }, + { "BLUE_MSG_CONSUMER_TO_SELF_PREMISE_UNVERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_CONSUMER_TO_SELF_PREMISE_UNVERIFIED", 91 }, + { "BLUE_MSG_SELF_FB_TO_BSP_PREMISE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_FB_TO_BSP_PREMISE", 92 }, + { "BLUE_MSG_SELF_FB_TO_SELF_PREMISE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_FB_TO_SELF_PREMISE", 93 }, + { "BLUE_MSG_SELF_FB_UNVERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_FB_UNVERIFIED", 94 }, + { "BLUE_MSG_SELF_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED", 95 }, + { "BLUE_MSG_SELF_FB_VERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_FB_VERIFIED", 96 }, + { "BLUE_MSG_SELF_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED", 97 }, + { "BLUE_MSG_SELF_PREMISE_TO_BSP_PREMISE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_PREMISE_TO_BSP_PREMISE", 98 }, + { "BLUE_MSG_SELF_PREMISE_UNVERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_PREMISE_UNVERIFIED", 99 }, + { "BLUE_MSG_SELF_PREMISE_VERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_PREMISE_VERIFIED", 100 }, + { "BLUE_MSG_TO_BSP_FB", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_TO_BSP_FB", 101 }, + { "BLUE_MSG_TO_CONSUMER", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_TO_CONSUMER", 102 }, + { "BLUE_MSG_TO_SELF_FB", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_TO_SELF_FB", 103 }, + { "BLUE_MSG_UNVERIFIED_TO_BSP_FB_VERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_UNVERIFIED_TO_BSP_FB_VERIFIED", 104 }, + { "BLUE_MSG_UNVERIFIED_TO_BSP_PREMISE_VERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_UNVERIFIED_TO_BSP_PREMISE_VERIFIED", 105 }, + { "BLUE_MSG_UNVERIFIED_TO_SELF_FB_VERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_UNVERIFIED_TO_SELF_FB_VERIFIED", 106 }, + { "BLUE_MSG_UNVERIFIED_TO_VERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_UNVERIFIED_TO_VERIFIED", 107 }, + { "BLUE_MSG_VERIFIED_TO_BSP_FB_UNVERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_VERIFIED_TO_BSP_FB_UNVERIFIED", 108 }, + { "BLUE_MSG_VERIFIED_TO_BSP_PREMISE_UNVERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_VERIFIED_TO_BSP_PREMISE_UNVERIFIED", 109 }, + { "BLUE_MSG_VERIFIED_TO_SELF_FB_UNVERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_VERIFIED_TO_SELF_FB_UNVERIFIED", 110 }, + { "BLUE_MSG_VERIFIED_TO_UNVERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_VERIFIED_TO_UNVERIFIED", 111 }, + { "BLUE_MSG_BSP_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED", 112 }, + { "BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_FB_VERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_FB_VERIFIED", 113 }, + { "BLUE_MSG_BSP_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED", 114 }, + { "BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_FB_UNVERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_FB_UNVERIFIED", 115 }, + { "BLUE_MSG_SELF_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED", 116 }, + { "BLUE_MSG_SELF_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED", 117 }, + { "E2E_IDENTITY_UNAVAILABLE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__E2E_IDENTITY_UNAVAILABLE", 118 }, + { "GROUP_CREATING", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CREATING", 119 }, + { "GROUP_CREATE_FAILED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CREATE_FAILED", 120 }, + { "GROUP_BOUNCED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_BOUNCED", 121 }, + { "BLOCK_CONTACT", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BLOCK_CONTACT", 122 }, + { "EPHEMERAL_SETTING_NOT_APPLIED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__EPHEMERAL_SETTING_NOT_APPLIED", 123 }, + { "SYNC_FAILED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__SYNC_FAILED", 124 }, + { "SYNCING", "WA__WEB_MESSAGE_INFO__STUB_TYPE__SYNCING", 125 }, + { "BIZ_PRIVACY_MODE_INIT_FB", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_PRIVACY_MODE_INIT_FB", 126 }, + { "BIZ_PRIVACY_MODE_INIT_BSP", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_PRIVACY_MODE_INIT_BSP", 127 }, + { "BIZ_PRIVACY_MODE_TO_FB", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_PRIVACY_MODE_TO_FB", 128 }, + { "BIZ_PRIVACY_MODE_TO_BSP", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_PRIVACY_MODE_TO_BSP", 129 }, + { "DISAPPEARING_MODE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__DISAPPEARING_MODE", 130 }, + { "E2E_DEVICE_FETCH_FAILED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__E2E_DEVICE_FETCH_FAILED", 131 }, + { "ADMIN_REVOKE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__ADMIN_REVOKE", 132 }, + { "GROUP_INVITE_LINK_GROWTH_LOCKED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_INVITE_LINK_GROWTH_LOCKED", 133 }, + { "COMMUNITY_LINK_PARENT_GROUP", "WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_LINK_PARENT_GROUP", 134 }, + { "COMMUNITY_LINK_SIBLING_GROUP", "WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_LINK_SIBLING_GROUP", 135 }, + { "COMMUNITY_LINK_SUB_GROUP", "WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_LINK_SUB_GROUP", 136 }, + { "COMMUNITY_UNLINK_PARENT_GROUP", "WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_UNLINK_PARENT_GROUP", 137 }, + { "COMMUNITY_UNLINK_SIBLING_GROUP", "WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_UNLINK_SIBLING_GROUP", 138 }, + { "COMMUNITY_UNLINK_SUB_GROUP", "WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_UNLINK_SUB_GROUP", 139 }, + { "GROUP_PARTICIPANT_ACCEPT", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_ACCEPT", 140 }, + { "GROUP_PARTICIPANT_LINKED_GROUP_JOIN", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_LINKED_GROUP_JOIN", 141 }, + { "COMMUNITY_CREATE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_CREATE", 142 }, + { "EPHEMERAL_KEEP_IN_CHAT", "WA__WEB_MESSAGE_INFO__STUB_TYPE__EPHEMERAL_KEEP_IN_CHAT", 143 }, + { "GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST", 144 }, + { "GROUP_MEMBERSHIP_JOIN_APPROVAL_MODE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_MEMBERSHIP_JOIN_APPROVAL_MODE", 145 }, + { "INTEGRITY_UNLINK_PARENT_GROUP", "WA__WEB_MESSAGE_INFO__STUB_TYPE__INTEGRITY_UNLINK_PARENT_GROUP", 146 }, + { "COMMUNITY_PARTICIPANT_PROMOTE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_PARTICIPANT_PROMOTE", 147 }, + { "COMMUNITY_PARTICIPANT_DEMOTE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_PARTICIPANT_DEMOTE", 148 }, + { "COMMUNITY_PARENT_GROUP_DELETED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_PARENT_GROUP_DELETED", 149 }, +}; +static const ProtobufCIntRange wa__web_message_info__stub_type__value_ranges[] = { +{0, 0},{0, 150} +}; +static const ProtobufCEnumValueIndex wa__web_message_info__stub_type__enum_values_by_name[150] = +{ + { "ADMIN_REVOKE", 132 }, + { "BIZ_INTRO_BOTTOM", 63 }, + { "BIZ_INTRO_TOP", 62 }, + { "BIZ_MOVE_TO_CONSUMER_APP", 65 }, + { "BIZ_NAME_CHANGE", 64 }, + { "BIZ_PRIVACY_MODE_INIT_BSP", 127 }, + { "BIZ_PRIVACY_MODE_INIT_FB", 126 }, + { "BIZ_PRIVACY_MODE_TO_BSP", 129 }, + { "BIZ_PRIVACY_MODE_TO_FB", 128 }, + { "BIZ_TWO_TIER_MIGRATION_BOTTOM", 67 }, + { "BIZ_TWO_TIER_MIGRATION_TOP", 66 }, + { "BIZ_VERIFIED_TRANSITION_BOTTOM_TO_TOP", 61 }, + { "BIZ_VERIFIED_TRANSITION_TOP_TO_BOTTOM", 60 }, + { "BLOCK_CONTACT", 122 }, + { "BLUE_MSG_BSP_FB_TO_BSP_PREMISE", 76 }, + { "BLUE_MSG_BSP_FB_TO_SELF_FB", 77 }, + { "BLUE_MSG_BSP_FB_TO_SELF_PREMISE", 78 }, + { "BLUE_MSG_BSP_FB_UNVERIFIED", 79 }, + { "BLUE_MSG_BSP_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED", 112 }, + { "BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_FB_VERIFIED", 113 }, + { "BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED", 80 }, + { "BLUE_MSG_BSP_FB_VERIFIED", 81 }, + { "BLUE_MSG_BSP_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED", 114 }, + { "BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_FB_UNVERIFIED", 115 }, + { "BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED", 82 }, + { "BLUE_MSG_BSP_PREMISE_TO_SELF_PREMISE", 83 }, + { "BLUE_MSG_BSP_PREMISE_UNVERIFIED", 84 }, + { "BLUE_MSG_BSP_PREMISE_UNVERIFIED_TO_SELF_PREMISE_VERIFIED", 85 }, + { "BLUE_MSG_BSP_PREMISE_VERIFIED", 86 }, + { "BLUE_MSG_BSP_PREMISE_VERIFIED_TO_SELF_PREMISE_UNVERIFIED", 87 }, + { "BLUE_MSG_CONSUMER_TO_BSP_FB_UNVERIFIED", 88 }, + { "BLUE_MSG_CONSUMER_TO_BSP_PREMISE_UNVERIFIED", 89 }, + { "BLUE_MSG_CONSUMER_TO_SELF_FB_UNVERIFIED", 90 }, + { "BLUE_MSG_CONSUMER_TO_SELF_PREMISE_UNVERIFIED", 91 }, + { "BLUE_MSG_SELF_FB_TO_BSP_PREMISE", 92 }, + { "BLUE_MSG_SELF_FB_TO_SELF_PREMISE", 93 }, + { "BLUE_MSG_SELF_FB_UNVERIFIED", 94 }, + { "BLUE_MSG_SELF_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED", 116 }, + { "BLUE_MSG_SELF_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED", 95 }, + { "BLUE_MSG_SELF_FB_VERIFIED", 96 }, + { "BLUE_MSG_SELF_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED", 117 }, + { "BLUE_MSG_SELF_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED", 97 }, + { "BLUE_MSG_SELF_PREMISE_TO_BSP_PREMISE", 98 }, + { "BLUE_MSG_SELF_PREMISE_UNVERIFIED", 99 }, + { "BLUE_MSG_SELF_PREMISE_VERIFIED", 100 }, + { "BLUE_MSG_TO_BSP_FB", 101 }, + { "BLUE_MSG_TO_CONSUMER", 102 }, + { "BLUE_MSG_TO_SELF_FB", 103 }, + { "BLUE_MSG_UNVERIFIED_TO_BSP_FB_VERIFIED", 104 }, + { "BLUE_MSG_UNVERIFIED_TO_BSP_PREMISE_VERIFIED", 105 }, + { "BLUE_MSG_UNVERIFIED_TO_SELF_FB_VERIFIED", 106 }, + { "BLUE_MSG_UNVERIFIED_TO_VERIFIED", 107 }, + { "BLUE_MSG_VERIFIED_TO_BSP_FB_UNVERIFIED", 108 }, + { "BLUE_MSG_VERIFIED_TO_BSP_PREMISE_UNVERIFIED", 109 }, + { "BLUE_MSG_VERIFIED_TO_SELF_FB_UNVERIFIED", 110 }, + { "BLUE_MSG_VERIFIED_TO_UNVERIFIED", 111 }, + { "BROADCAST_ADD", 35 }, + { "BROADCAST_CREATE", 34 }, + { "BROADCAST_REMOVE", 36 }, + { "CALL_MISSED_GROUP_VIDEO", 46 }, + { "CALL_MISSED_GROUP_VOICE", 45 }, + { "CALL_MISSED_VIDEO", 41 }, + { "CALL_MISSED_VOICE", 40 }, + { "CHANGE_EPHEMERAL_SETTING", 72 }, + { "CIPHERTEXT", 2 }, + { "COMMUNITY_CREATE", 142 }, + { "COMMUNITY_LINK_PARENT_GROUP", 134 }, + { "COMMUNITY_LINK_SIBLING_GROUP", 135 }, + { "COMMUNITY_LINK_SUB_GROUP", 136 }, + { "COMMUNITY_PARENT_GROUP_DELETED", 149 }, + { "COMMUNITY_PARTICIPANT_DEMOTE", 148 }, + { "COMMUNITY_PARTICIPANT_PROMOTE", 147 }, + { "COMMUNITY_UNLINK_PARENT_GROUP", 137 }, + { "COMMUNITY_UNLINK_SIBLING_GROUP", 138 }, + { "COMMUNITY_UNLINK_SUB_GROUP", 139 }, + { "DISAPPEARING_MODE", 130 }, + { "E2E_DEVICE_CHANGED", 73 }, + { "E2E_DEVICE_FETCH_FAILED", 131 }, + { "E2E_ENCRYPTED", 39 }, + { "E2E_ENCRYPTED_NOW", 75 }, + { "E2E_IDENTITY_CHANGED", 38 }, + { "E2E_IDENTITY_UNAVAILABLE", 118 }, + { "EPHEMERAL_KEEP_IN_CHAT", 143 }, + { "EPHEMERAL_SETTING_NOT_APPLIED", 123 }, + { "FUTUREPROOF", 3 }, + { "GENERIC_NOTIFICATION", 37 }, + { "GROUP_ANNOUNCE_MODE_MESSAGE_BOUNCE", 44 }, + { "GROUP_BOUNCED", 121 }, + { "GROUP_CHANGE_ANNOUNCE", 26 }, + { "GROUP_CHANGE_DESCRIPTION", 24 }, + { "GROUP_CHANGE_ICON", 22 }, + { "GROUP_CHANGE_INVITE_LINK", 23 }, + { "GROUP_CHANGE_NO_FREQUENTLY_FORWARDED", 69 }, + { "GROUP_CHANGE_RESTRICT", 25 }, + { "GROUP_CHANGE_SUBJECT", 21 }, + { "GROUP_CREATE", 20 }, + { "GROUP_CREATE_FAILED", 120 }, + { "GROUP_CREATING", 119 }, + { "GROUP_DELETE", 43 }, + { "GROUP_INVITE_LINK_GROWTH_LOCKED", 133 }, + { "GROUP_MEMBERSHIP_JOIN_APPROVAL_MODE", 145 }, + { "GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST", 144 }, + { "GROUP_PARTICIPANT_ACCEPT", 140 }, + { "GROUP_PARTICIPANT_ADD", 27 }, + { "GROUP_PARTICIPANT_ADD_REQUEST_JOIN", 71 }, + { "GROUP_PARTICIPANT_CHANGE_NUMBER", 33 }, + { "GROUP_PARTICIPANT_DEMOTE", 30 }, + { "GROUP_PARTICIPANT_INVITE", 31 }, + { "GROUP_PARTICIPANT_LEAVE", 32 }, + { "GROUP_PARTICIPANT_LINKED_GROUP_JOIN", 141 }, + { "GROUP_PARTICIPANT_PROMOTE", 29 }, + { "GROUP_PARTICIPANT_REMOVE", 28 }, + { "GROUP_V4_ADD_INVITE_SENT", 70 }, + { "INDIVIDUAL_CHANGE_NUMBER", 42 }, + { "INTEGRITY_UNLINK_PARENT_GROUP", 146 }, + { "NON_VERIFIED_TRANSITION", 4 }, + { "OVERSIZED", 68 }, + { "PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER", 54 }, + { "PAYMENT_ACTION_REQUEST_CANCELLED", 59 }, + { "PAYMENT_ACTION_REQUEST_DECLINED", 57 }, + { "PAYMENT_ACTION_REQUEST_EXPIRED", 58 }, + { "PAYMENT_ACTION_SEND_PAYMENT_INVITATION", 56 }, + { "PAYMENT_ACTION_SEND_PAYMENT_REMINDER", 55 }, + { "PAYMENT_CIPHERTEXT", 47 }, + { "PAYMENT_FUTUREPROOF", 48 }, + { "PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP", 52 }, + { "PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP", 53 }, + { "PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED", 49 }, + { "PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED", 50 }, + { "PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED", 51 }, + { "REVOKE", 1 }, + { "SYNCING", 125 }, + { "SYNC_FAILED", 124 }, + { "UNKNOWN", 0 }, + { "UNVERIFIED_TRANSITION", 5 }, + { "VERIFIED_HIGH", 8 }, + { "VERIFIED_INITIAL_HIGH", 11 }, + { "VERIFIED_INITIAL_LOW", 10 }, + { "VERIFIED_INITIAL_UNKNOWN", 9 }, + { "VERIFIED_LOW_UNKNOWN", 7 }, + { "VERIFIED_TRANSITION", 6 }, + { "VERIFIED_TRANSITION_ANY_TO_HIGH", 13 }, + { "VERIFIED_TRANSITION_ANY_TO_NONE", 12 }, + { "VERIFIED_TRANSITION_HIGH_TO_LOW", 14 }, + { "VERIFIED_TRANSITION_HIGH_TO_UNKNOWN", 15 }, + { "VERIFIED_TRANSITION_LOW_TO_UNKNOWN", 17 }, + { "VERIFIED_TRANSITION_NONE_TO_LOW", 18 }, + { "VERIFIED_TRANSITION_NONE_TO_UNKNOWN", 19 }, + { "VERIFIED_TRANSITION_UNKNOWN_TO_LOW", 16 }, + { "VIEWED_ONCE", 74 }, +}; +const ProtobufCEnumDescriptor wa__web_message_info__stub_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.WebMessageInfo.StubType", + "StubType", + "Wa__WebMessageInfo__StubType", + "wa", + 150, + wa__web_message_info__stub_type__enum_values_by_number, + 150, + wa__web_message_info__stub_type__enum_values_by_name, + 1, + wa__web_message_info__stub_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__web_message_info__field_descriptors[43] = +{ + { + "key", + 1, + PROTOBUF_C_LABEL_REQUIRED, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__WebMessageInfo, key), + &wa__message_key__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "message", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__WebMessageInfo, message), + &wa__message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "messageTimestamp", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__WebMessageInfo, has_messagetimestamp), + offsetof(Wa__WebMessageInfo, messagetimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "status", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebMessageInfo, has_status), + offsetof(Wa__WebMessageInfo, status), + &wa__web_message_info__status__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "participant", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__WebMessageInfo, participant), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "messageC2STimestamp", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__WebMessageInfo, has_messagec2stimestamp), + offsetof(Wa__WebMessageInfo, messagec2stimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ignore", + 16, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__WebMessageInfo, has_ignore), + offsetof(Wa__WebMessageInfo, ignore), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "starred", + 17, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__WebMessageInfo, has_starred), + offsetof(Wa__WebMessageInfo, starred), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "broadcast", + 18, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__WebMessageInfo, has_broadcast), + offsetof(Wa__WebMessageInfo, broadcast), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pushName", + 19, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__WebMessageInfo, pushname), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaCiphertextSha256", + 20, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__WebMessageInfo, has_mediaciphertextsha256), + offsetof(Wa__WebMessageInfo, mediaciphertextsha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "multicast", + 21, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__WebMessageInfo, has_multicast), + offsetof(Wa__WebMessageInfo, multicast), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "urlText", + 22, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__WebMessageInfo, has_urltext), + offsetof(Wa__WebMessageInfo, urltext), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "urlNumber", + 23, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__WebMessageInfo, has_urlnumber), + offsetof(Wa__WebMessageInfo, urlnumber), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "messageStubType", + 24, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebMessageInfo, has_messagestubtype), + offsetof(Wa__WebMessageInfo, messagestubtype), + &wa__web_message_info__stub_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "clearMedia", + 25, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__WebMessageInfo, has_clearmedia), + offsetof(Wa__WebMessageInfo, clearmedia), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "messageStubParameters", + 26, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_STRING, + offsetof(Wa__WebMessageInfo, n_messagestubparameters), + offsetof(Wa__WebMessageInfo, messagestubparameters), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "duration", + 27, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__WebMessageInfo, has_duration), + offsetof(Wa__WebMessageInfo, duration), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "labels", + 28, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_STRING, + offsetof(Wa__WebMessageInfo, n_labels), + offsetof(Wa__WebMessageInfo, labels), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "paymentInfo", + 29, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__WebMessageInfo, paymentinfo), + &wa__payment_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "finalLiveLocation", + 30, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__WebMessageInfo, finallivelocation), + &wa__message__live_location_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "quotedPaymentInfo", + 31, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__WebMessageInfo, quotedpaymentinfo), + &wa__payment_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ephemeralStartTimestamp", + 32, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__WebMessageInfo, has_ephemeralstarttimestamp), + offsetof(Wa__WebMessageInfo, ephemeralstarttimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ephemeralDuration", + 33, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__WebMessageInfo, has_ephemeralduration), + offsetof(Wa__WebMessageInfo, ephemeralduration), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ephemeralOffToOn", + 34, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__WebMessageInfo, has_ephemeralofftoon), + offsetof(Wa__WebMessageInfo, ephemeralofftoon), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ephemeralOutOfSync", + 35, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__WebMessageInfo, has_ephemeraloutofsync), + offsetof(Wa__WebMessageInfo, ephemeraloutofsync), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "bizPrivacyStatus", + 36, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__WebMessageInfo, has_bizprivacystatus), + offsetof(Wa__WebMessageInfo, bizprivacystatus), + &wa__web_message_info__biz_privacy_status__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "verifiedBizName", + 37, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__WebMessageInfo, verifiedbizname), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaData", + 38, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__WebMessageInfo, mediadata), + &wa__media_data__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "photoChange", + 39, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__WebMessageInfo, photochange), + &wa__photo_change__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "userReceipt", + 40, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__WebMessageInfo, n_userreceipt), + offsetof(Wa__WebMessageInfo, userreceipt), + &wa__user_receipt__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "reactions", + 41, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__WebMessageInfo, n_reactions), + offsetof(Wa__WebMessageInfo, reactions), + &wa__reaction__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "quotedStickerData", + 42, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__WebMessageInfo, quotedstickerdata), + &wa__media_data__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "futureproofData", + 43, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__WebMessageInfo, has_futureproofdata), + offsetof(Wa__WebMessageInfo, futureproofdata), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "statusPsa", + 44, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__WebMessageInfo, statuspsa), + &wa__status_psa__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pollUpdates", + 45, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__WebMessageInfo, n_pollupdates), + offsetof(Wa__WebMessageInfo, pollupdates), + &wa__poll_update__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pollAdditionalMetadata", + 46, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__WebMessageInfo, polladditionalmetadata), + &wa__poll_additional_metadata__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "agentId", + 47, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__WebMessageInfo, agentid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "statusAlreadyViewed", + 48, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__WebMessageInfo, has_statusalreadyviewed), + offsetof(Wa__WebMessageInfo, statusalreadyviewed), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "messageSecret", + 49, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__WebMessageInfo, has_messagesecret), + offsetof(Wa__WebMessageInfo, messagesecret), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "keepInChat", + 50, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__WebMessageInfo, keepinchat), + &wa__keep_in_chat__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "originalSelfAuthorUserJidString", + 51, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__WebMessageInfo, originalselfauthoruserjidstring), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "revokeMessageTimestamp", + 52, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__WebMessageInfo, has_revokemessagetimestamp), + offsetof(Wa__WebMessageInfo, revokemessagetimestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__web_message_info__field_indices_by_name[] = { + 37, /* field[37] = agentId */ + 26, /* field[26] = bizPrivacyStatus */ + 8, /* field[8] = broadcast */ + 15, /* field[15] = clearMedia */ + 17, /* field[17] = duration */ + 23, /* field[23] = ephemeralDuration */ + 24, /* field[24] = ephemeralOffToOn */ + 25, /* field[25] = ephemeralOutOfSync */ + 22, /* field[22] = ephemeralStartTimestamp */ + 20, /* field[20] = finalLiveLocation */ + 33, /* field[33] = futureproofData */ + 6, /* field[6] = ignore */ + 40, /* field[40] = keepInChat */ + 0, /* field[0] = key */ + 18, /* field[18] = labels */ + 10, /* field[10] = mediaCiphertextSha256 */ + 28, /* field[28] = mediaData */ + 1, /* field[1] = message */ + 5, /* field[5] = messageC2STimestamp */ + 39, /* field[39] = messageSecret */ + 16, /* field[16] = messageStubParameters */ + 14, /* field[14] = messageStubType */ + 2, /* field[2] = messageTimestamp */ + 11, /* field[11] = multicast */ + 41, /* field[41] = originalSelfAuthorUserJidString */ + 4, /* field[4] = participant */ + 19, /* field[19] = paymentInfo */ + 29, /* field[29] = photoChange */ + 36, /* field[36] = pollAdditionalMetadata */ + 35, /* field[35] = pollUpdates */ + 9, /* field[9] = pushName */ + 21, /* field[21] = quotedPaymentInfo */ + 32, /* field[32] = quotedStickerData */ + 31, /* field[31] = reactions */ + 42, /* field[42] = revokeMessageTimestamp */ + 7, /* field[7] = starred */ + 3, /* field[3] = status */ + 38, /* field[38] = statusAlreadyViewed */ + 34, /* field[34] = statusPsa */ + 13, /* field[13] = urlNumber */ + 12, /* field[12] = urlText */ + 30, /* field[30] = userReceipt */ + 27, /* field[27] = verifiedBizName */ +}; +static const ProtobufCIntRange wa__web_message_info__number_ranges[2 + 1] = +{ + { 1, 0 }, + { 16, 6 }, + { 0, 43 } +}; +const ProtobufCMessageDescriptor wa__web_message_info__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.WebMessageInfo", + "WebMessageInfo", + "Wa__WebMessageInfo", + "wa", + sizeof(Wa__WebMessageInfo), + 43, + wa__web_message_info__field_descriptors, + wa__web_message_info__field_indices_by_name, + 2, wa__web_message_info__number_ranges, + (ProtobufCMessageInit) wa__web_message_info__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__web_notifications_info__field_descriptors[4] = +{ + { + "timestamp", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__WebNotificationsInfo, has_timestamp), + offsetof(Wa__WebNotificationsInfo, timestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "unreadChats", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__WebNotificationsInfo, has_unreadchats), + offsetof(Wa__WebNotificationsInfo, unreadchats), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "notifyMessageCount", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__WebNotificationsInfo, has_notifymessagecount), + offsetof(Wa__WebNotificationsInfo, notifymessagecount), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "notifyMessages", + 5, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__WebNotificationsInfo, n_notifymessages), + offsetof(Wa__WebNotificationsInfo, notifymessages), + &wa__web_message_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__web_notifications_info__field_indices_by_name[] = { + 2, /* field[2] = notifyMessageCount */ + 3, /* field[3] = notifyMessages */ + 0, /* field[0] = timestamp */ + 1, /* field[1] = unreadChats */ +}; +static const ProtobufCIntRange wa__web_notifications_info__number_ranges[1 + 1] = +{ + { 2, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__web_notifications_info__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.WebNotificationsInfo", + "WebNotificationsInfo", + "Wa__WebNotificationsInfo", + "wa", + sizeof(Wa__WebNotificationsInfo), + 4, + wa__web_notifications_info__field_descriptors, + wa__web_notifications_info__field_indices_by_name, + 1, wa__web_notifications_info__number_ranges, + (ProtobufCMessageInit) wa__web_notifications_info__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__keep_type__enum_values_by_number[3] = +{ + { "UNKNOWN", "WA__KEEP_TYPE__UNKNOWN", 0 }, + { "KEEP_FOR_ALL", "WA__KEEP_TYPE__KEEP_FOR_ALL", 1 }, + { "UNDO_KEEP_FOR_ALL", "WA__KEEP_TYPE__UNDO_KEEP_FOR_ALL", 2 }, +}; +static const ProtobufCIntRange wa__keep_type__value_ranges[] = { +{0, 0},{0, 3} +}; +static const ProtobufCEnumValueIndex wa__keep_type__enum_values_by_name[3] = +{ + { "KEEP_FOR_ALL", 1 }, + { "UNDO_KEEP_FOR_ALL", 2 }, + { "UNKNOWN", 0 }, +}; +const ProtobufCEnumDescriptor wa__keep_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.KeepType", + "KeepType", + "Wa__KeepType", + "wa", + 3, + wa__keep_type__enum_values_by_number, + 3, + wa__keep_type__enum_values_by_name, + 1, + wa__keep_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCEnumValue wa__media_visibility__enum_values_by_number[3] = +{ + { "DEFAULT", "WA__MEDIA_VISIBILITY__DEFAULT", 0 }, + { "OFF", "WA__MEDIA_VISIBILITY__OFF", 1 }, + { "ON", "WA__MEDIA_VISIBILITY__ON", 2 }, +}; +static const ProtobufCIntRange wa__media_visibility__value_ranges[] = { +{0, 0},{0, 3} +}; +static const ProtobufCEnumValueIndex wa__media_visibility__enum_values_by_name[3] = +{ + { "DEFAULT", 0 }, + { "OFF", 1 }, + { "ON", 2 }, +}; +const ProtobufCEnumDescriptor wa__media_visibility__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.MediaVisibility", + "MediaVisibility", + "Wa__MediaVisibility", + "wa", + 3, + wa__media_visibility__enum_values_by_number, + 3, + wa__media_visibility__enum_values_by_name, + 1, + wa__media_visibility__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; |
