From ee5abbbe44376f6b4ba0c373acbf1637ffab3891 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 24 Oct 2022 22:14:41 +0300 Subject: C++ cosmetics --- protocols/WhatsApp/src/appsync.cpp | 20 +- protocols/WhatsApp/src/iq.cpp | 34 +- protocols/WhatsApp/src/message.cpp | 12 +- protocols/WhatsApp/src/pmsg.pb-c.c | 27331 --------------------------------- protocols/WhatsApp/src/pmsg.pb-c.cpp | 27331 +++++++++++++++++++++++++++++++++ protocols/WhatsApp/src/pmsg.pb-c.h | 1122 +- protocols/WhatsApp/src/pmsg.proto.h | 24 +- protocols/WhatsApp/src/proto.h | 2 +- protocols/WhatsApp/src/server.cpp | 5 +- protocols/WhatsApp/src/signal.cpp | 2 +- protocols/WhatsApp/src/utils.cpp | 4 +- 11 files changed, 27831 insertions(+), 28056 deletions(-) delete mode 100644 protocols/WhatsApp/src/pmsg.pb-c.c create mode 100644 protocols/WhatsApp/src/pmsg.pb-c.cpp (limited to 'protocols/WhatsApp/src') diff --git a/protocols/WhatsApp/src/appsync.cpp b/protocols/WhatsApp/src/appsync.cpp index 0a03978289..8282317b4d 100644 --- a/protocols/WhatsApp/src/appsync.cpp +++ b/protocols/WhatsApp/src/appsync.cpp @@ -94,12 +94,12 @@ void WhatsAppProto::OnIqServerSync(const WANode &node) CMStringW wszSnapshotPath(GetTmpFileName("collection", pszName)); if (auto *pSnapshot = coll->getChild("snapshot")) { proto::ExternalBlobReference body(pSnapshot->content); - if (!body.directpath || !body.has_mediakey) { + if (!body->directpath || !body->has_mediakey) { debugLogA("Invalid snapshot data, skipping"); continue; } - MBinBuffer buf = DownloadEncryptedFile(directPath2url(body.directpath), body.mediakey, "App State"); + MBinBuffer buf = DownloadEncryptedFile(directPath2url(body->directpath), body->mediakey, "App State"); if (!buf.data()) { debugLogA("Invalid downloaded snapshot data, skipping"); continue; @@ -107,12 +107,12 @@ void WhatsAppProto::OnIqServerSync(const WANode &node) proto::SyncdSnapshot snapshot(buf); - dwVersion = snapshot.version->version; + dwVersion = snapshot->version->version; if (dwVersion > pCollection->version) { pCollection->hash.init(); debugLogA("%s: applying snapshot of version %d", pCollection->szName.get(), dwVersion); - for (int i=0; i < snapshot.n_records; i++) - ParsePatch(pCollection, snapshot.records[i], true); + for (int i=0; i < snapshot->n_records; i++) + ParsePatch(pCollection, snapshot->records[i], true); } else debugLogA("%s: skipping snapshot of version %d", pCollection->szName.get(), dwVersion); } @@ -121,11 +121,11 @@ void WhatsAppProto::OnIqServerSync(const WANode &node) for (auto &it : pPatchList->getChildren()) { proto::SyncdPatch patch(it->content); - dwVersion = patch.version->version; + dwVersion = patch->version->version; if (dwVersion > pCollection->version) { debugLogA("%s: applying patch of version %d", pCollection->szName.get(), dwVersion); - for (int i = 0; i < patch.n_mutations; i++) { - auto &jt = *patch.mutations[i]; + for (int i = 0; i < patch->n_mutations; i++) { + auto &jt = *patch->mutations[i]; ParsePatch(pCollection, jt.record, jt.operation == WA__SYNCD_MUTATION__SYNCD_OPERATION__SET); } } @@ -186,8 +186,8 @@ void WhatsAppProto::ParsePatch(WACollection *pColl, const Wa__SyncdRecord *rec, // debugLogA("Applying patch for %s{%d}: %s", pColl->szName.get(), data.version, data.Utf8DebugString().c_str()); if (bSet) { - JSONNode jsonRoot = JSONNode::parse((char*)data.index.data); - ApplyPatch(jsonRoot, data.value); + JSONNode jsonRoot = JSONNode::parse((char*)data->index.data); + ApplyPatch(jsonRoot, data->value); pColl->hash.add(macValue, 32); pColl->indexValueMap[index] = std::string((char*)macValue, 32); diff --git a/protocols/WhatsApp/src/iq.cpp b/protocols/WhatsApp/src/iq.cpp index 5b059d68e0..6b5384dc90 100644 --- a/protocols/WhatsApp/src/iq.cpp +++ b/protocols/WhatsApp/src/iq.cpp @@ -137,8 +137,8 @@ void WhatsAppProto::OnIqPairSuccess(const WANode &node) if (auto *pIdentity = pRoot->getChild("device-identity")) { proto::ADVSignedDeviceIdentityHMAC payload(pIdentity->content); - auto &hmac = payload.hmac; - auto &details = payload.details; + auto &hmac = payload->hmac; + auto &details = payload->details; { // check details signature using HMAC uint8_t signature[32]; @@ -151,9 +151,9 @@ void WhatsAppProto::OnIqPairSuccess(const WANode &node) proto::ADVSignedDeviceIdentity account(details); - auto &deviceDetails = account.details; - auto &accountSignature = account.accountsignature; - auto &accountSignatureKey = account.accountsignaturekey; + auto &deviceDetails = account->details; + auto &accountSignature = account->accountsignature; + auto &accountSignatureKey = account->accountsignaturekey; { MBinBuffer buf; buf.append("\x06\x00", 2); @@ -179,8 +179,8 @@ void WhatsAppProto::OnIqPairSuccess(const WANode &node) if (curve_calculate_signature(m_signalStore.CTX(), &result, &key, (BYTE *)buf.data(), buf.length()) != 0) throw "OnIqPairSuccess: cannot calculate account signature, exiting"; - account.devicesignature = proto::SetBinary(result->data, result->len); - account.has_devicesignature = true; + account->devicesignature = proto::SetBinary(result->data, result->len); + account->has_devicesignature = true; signal_buffer_free(result); } @@ -193,7 +193,7 @@ void WhatsAppProto::OnIqPairSuccess(const WANode &node) db_set_blob(0, m_szModuleName, "SignalIdentifierKey", key.data(), (int)key.length()); } - proto::CleanBinary(account.accountsignaturekey); account.has_accountsignaturekey = false; + proto::CleanBinary(account->accountsignaturekey); account->has_accountsignaturekey = false; MBinBuffer accountEnc(proto::Serialize(account)); proto::ADVDeviceIdentity deviceIdentity(deviceDetails); @@ -203,7 +203,7 @@ void WhatsAppProto::OnIqPairSuccess(const WANode &node) WANode *nodePair = reply.addChild("pair-device-sign"); WANode *nodeDeviceIdentity = nodePair->addChild("device-identity"); - nodeDeviceIdentity->addAttr("key-index", deviceIdentity.keyindex); + nodeDeviceIdentity->addAttr("key-index", deviceIdentity->keyindex); nodeDeviceIdentity->content.append(accountEnc.data(), accountEnc.length()); WSSendNode(reply); } @@ -263,9 +263,9 @@ LBL_Error: return; } - auto &static_ = msg.serverhello->static_; - auto &payload_ = msg.serverhello->payload; - auto &ephemeral_ = msg.serverhello->ephemeral; + auto &static_ = msg->serverhello->static_; + auto &payload_ = msg->serverhello->payload; + auto &ephemeral_ = msg->serverhello->ephemeral; m_noise->updateHash(ephemeral_.data, ephemeral_.len); m_noise->mixIntoKey(m_noise->ephemeral.priv.data(), ephemeral_.data); @@ -274,8 +274,8 @@ LBL_Error: m_noise->mixIntoKey(m_noise->ephemeral.priv.data(), decryptedStatic.data()); proto::CertChain cert(m_noise->decrypt(payload_.data, payload_.len)); - proto::CertChain__NoiseCertificate__Details details(cert.intermediate->details); - if (details.issuerserial != 0) { + proto::CertChain__NoiseCertificate__Details details(cert->intermediate->details); + if (details->issuerserial != 0) { debugLogA("Invalid certificate serial number, exiting"); goto LBL_Error; } @@ -309,7 +309,7 @@ LBL_Error: companion.platformtype = WA__DEVICE_PROPS__PLATFORM_TYPE__DESKTOP; companion.has_platformtype = true; companion.requirefullsync = false; companion.has_requirefullsync = true; - MBinBuffer buf(proto::Serialize((ProtobufCMessage*)&companion)); + MBinBuffer buf(proto::Serialize(&companion)); auto szRegId(encodeBigEndian(getDword(DBKEY_REG_ID))); auto szKeyId(encodeBigEndian(m_signalStore.preKey.keyid)); @@ -360,7 +360,7 @@ LBL_Error: node.useragent = &userAgent; node.webinfo = &webInfo; - MBinBuffer payload(proto::Serialize((ProtobufCMessage*)&node)); + MBinBuffer payload(proto::Serialize(&node)); MBinBuffer payloadEnc = m_noise->encrypt(payload.data(), payload.length()); Wa__HandshakeMessage__ClientFinish finish = WA__HANDSHAKE_MESSAGE__CLIENT_FINISH__INIT; @@ -369,7 +369,7 @@ LBL_Error: Wa__HandshakeMessage handshake = WA__HANDSHAKE_MESSAGE__INIT; handshake.clientfinish = &finish; - WSSend((ProtobufCMessage *)&handshake); + WSSend(handshake); m_noise->finish(); } diff --git a/protocols/WhatsApp/src/message.cpp b/protocols/WhatsApp/src/message.cpp index d1473f2057..2479ba0458 100644 --- a/protocols/WhatsApp/src/message.cpp +++ b/protocols/WhatsApp/src/message.cpp @@ -130,13 +130,13 @@ void WhatsAppProto::OnReceiveMessage(const WANode &node) iDecryptable++; proto::Message encMsg(msgBody.data(), msgBody.len()); - if (encMsg.devicesentmessage) - msg.message = encMsg.devicesentmessage->message; + if (encMsg->devicesentmessage) + msg.message = encMsg->devicesentmessage->message; else - msg.message = &encMsg; + msg.message = encMsg; - if (encMsg.senderkeydistributionmessage) - m_signalStore.processSenderKeyMessage(encMsg.senderkeydistributionmessage); + if (encMsg->senderkeydistributionmessage) + m_signalStore.processSenderKeyMessage(encMsg->senderkeydistributionmessage); ProcessMessage(type, msg); @@ -326,7 +326,7 @@ int WhatsAppProto::SendTextMessage(const char *jid, const char *pszMsg) Wa__Message msg = WA__MESSAGE__INIT; msg.devicesentmessage = &sentBody; - MBinBuffer encMsg(proto::Serialize((ProtobufCMessage*)&msg)); + MBinBuffer encMsg(proto::Serialize(&msg)); WANode payLoad("message"); payLoad << CHAR_PARAM("id", szMsgId) << CHAR_PARAM("type", "text") << CHAR_PARAM("to", jid); diff --git a/protocols/WhatsApp/src/pmsg.pb-c.c b/protocols/WhatsApp/src/pmsg.pb-c.c deleted file mode 100644 index 6169381a17..0000000000 --- a/protocols/WhatsApp/src/pmsg.pb-c.c +++ /dev/null @@ -1,27331 +0,0 @@ -/* 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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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->base.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] */ -}; 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] */ +}; diff --git a/protocols/WhatsApp/src/pmsg.pb-c.h b/protocols/WhatsApp/src/pmsg.pb-c.h index 9290779c09..13f0097e67 100644 --- a/protocols/WhatsApp/src/pmsg.pb-c.h +++ b/protocols/WhatsApp/src/pmsg.pb-c.h @@ -14,232 +14,230 @@ PROTOBUF_C__BEGIN_DECLS # error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. #endif - -typedef struct _Wa__ADVDeviceIdentity Wa__ADVDeviceIdentity; -typedef struct _Wa__ADVKeyIndexList Wa__ADVKeyIndexList; -typedef struct _Wa__ADVSignedDeviceIdentity Wa__ADVSignedDeviceIdentity; -typedef struct _Wa__ADVSignedDeviceIdentityHMAC Wa__ADVSignedDeviceIdentityHMAC; -typedef struct _Wa__ADVSignedKeyIndexList Wa__ADVSignedKeyIndexList; -typedef struct _Wa__ActionLink Wa__ActionLink; -typedef struct _Wa__AutoDownloadSettings Wa__AutoDownloadSettings; -typedef struct _Wa__BizAccountLinkInfo Wa__BizAccountLinkInfo; -typedef struct _Wa__BizAccountPayload Wa__BizAccountPayload; -typedef struct _Wa__BizIdentityInfo Wa__BizIdentityInfo; -typedef struct _Wa__CertChain Wa__CertChain; -typedef struct _Wa__CertChain__NoiseCertificate Wa__CertChain__NoiseCertificate; -typedef struct _Wa__CertChain__NoiseCertificate__Details Wa__CertChain__NoiseCertificate__Details; -typedef struct _Wa__Chain Wa__Chain; -typedef struct _Wa__ChainKey Wa__ChainKey; -typedef struct _Wa__ClientPayload Wa__ClientPayload; -typedef struct _Wa__ClientPayload__DNSSource Wa__ClientPayload__DNSSource; -typedef struct _Wa__ClientPayload__DevicePairingRegistrationData Wa__ClientPayload__DevicePairingRegistrationData; -typedef struct _Wa__ClientPayload__UserAgent Wa__ClientPayload__UserAgent; -typedef struct _Wa__ClientPayload__UserAgent__AppVersion Wa__ClientPayload__UserAgent__AppVersion; -typedef struct _Wa__ClientPayload__WebInfo Wa__ClientPayload__WebInfo; -typedef struct _Wa__ClientPayload__WebInfo__WebdPayload Wa__ClientPayload__WebInfo__WebdPayload; -typedef struct _Wa__ContextInfo Wa__ContextInfo; -typedef struct _Wa__ContextInfo__AdReplyInfo Wa__ContextInfo__AdReplyInfo; -typedef struct _Wa__ContextInfo__ExternalAdReplyInfo Wa__ContextInfo__ExternalAdReplyInfo; -typedef struct _Wa__Conversation Wa__Conversation; -typedef struct _Wa__DeviceListMetadata Wa__DeviceListMetadata; -typedef struct _Wa__DeviceProps Wa__DeviceProps; -typedef struct _Wa__DeviceProps__AppVersion Wa__DeviceProps__AppVersion; -typedef struct _Wa__DisappearingMode Wa__DisappearingMode; -typedef struct _Wa__EphemeralSetting Wa__EphemeralSetting; -typedef struct _Wa__ExitCode Wa__ExitCode; -typedef struct _Wa__ExternalBlobReference Wa__ExternalBlobReference; -typedef struct _Wa__GlobalSettings Wa__GlobalSettings; -typedef struct _Wa__GroupParticipant Wa__GroupParticipant; -typedef struct _Wa__HandshakeMessage Wa__HandshakeMessage; -typedef struct _Wa__HandshakeMessage__ClientFinish Wa__HandshakeMessage__ClientFinish; -typedef struct _Wa__HandshakeMessage__ClientHello Wa__HandshakeMessage__ClientHello; -typedef struct _Wa__HandshakeMessage__ServerHello Wa__HandshakeMessage__ServerHello; -typedef struct _Wa__HistorySync Wa__HistorySync; -typedef struct _Wa__HistorySyncMsg Wa__HistorySyncMsg; -typedef struct _Wa__HydratedTemplateButton Wa__HydratedTemplateButton; -typedef struct _Wa__HydratedTemplateButton__HydratedCallButton Wa__HydratedTemplateButton__HydratedCallButton; -typedef struct _Wa__HydratedTemplateButton__HydratedQuickReplyButton Wa__HydratedTemplateButton__HydratedQuickReplyButton; -typedef struct _Wa__HydratedTemplateButton__HydratedURLButton Wa__HydratedTemplateButton__HydratedURLButton; -typedef struct _Wa__IdentityKeyPairStructure Wa__IdentityKeyPairStructure; -typedef struct _Wa__InteractiveAnnotation Wa__InteractiveAnnotation; -typedef struct _Wa__KeepInChat Wa__KeepInChat; -typedef struct _Wa__KeyId Wa__KeyId; -typedef struct _Wa__LocalizedName Wa__LocalizedName; -typedef struct _Wa__Location Wa__Location; -typedef struct _Wa__MediaData Wa__MediaData; -typedef struct _Wa__MediaRetryNotification Wa__MediaRetryNotification; -typedef struct _Wa__Message Wa__Message; -typedef struct _Wa__Message__AppStateFatalExceptionNotification Wa__Message__AppStateFatalExceptionNotification; -typedef struct _Wa__Message__AppStateSyncKeyData Wa__Message__AppStateSyncKeyData; -typedef struct _Wa__Message__AppStateSyncKeyFingerprint Wa__Message__AppStateSyncKeyFingerprint; -typedef struct _Wa__Message__AppStateSyncKeyId Wa__Message__AppStateSyncKeyId; -typedef struct _Wa__Message__AppStateSyncKeyRequest Wa__Message__AppStateSyncKeyRequest; -typedef struct _Wa__Message__AppStateSyncKeyShare Wa__Message__AppStateSyncKeyShare; -typedef struct _Wa__Message__AppStateSyncKey Wa__Message__AppStateSyncKey; -typedef struct _Wa__Message__AudioMessage Wa__Message__AudioMessage; -typedef struct _Wa__Message__ButtonsMessage Wa__Message__ButtonsMessage; -typedef struct _Wa__Message__ButtonsMessage__Button Wa__Message__ButtonsMessage__Button; -typedef struct _Wa__Message__ButtonsMessage__Button__ButtonText Wa__Message__ButtonsMessage__Button__ButtonText; -typedef struct _Wa__Message__ButtonsMessage__Button__NativeFlowInfo Wa__Message__ButtonsMessage__Button__NativeFlowInfo; -typedef struct _Wa__Message__ButtonsResponseMessage Wa__Message__ButtonsResponseMessage; -typedef struct _Wa__Message__Call Wa__Message__Call; -typedef struct _Wa__Message__CancelPaymentRequestMessage Wa__Message__CancelPaymentRequestMessage; -typedef struct _Wa__Message__Chat Wa__Message__Chat; -typedef struct _Wa__Message__ContactMessage Wa__Message__ContactMessage; -typedef struct _Wa__Message__ContactsArrayMessage Wa__Message__ContactsArrayMessage; -typedef struct _Wa__Message__DeclinePaymentRequestMessage Wa__Message__DeclinePaymentRequestMessage; -typedef struct _Wa__Message__DeviceSentMessage Wa__Message__DeviceSentMessage; -typedef struct _Wa__Message__DocumentMessage Wa__Message__DocumentMessage; -typedef struct _Wa__Message__ExtendedTextMessage Wa__Message__ExtendedTextMessage; -typedef struct _Wa__Message__FutureProofMessage Wa__Message__FutureProofMessage; -typedef struct _Wa__Message__GroupInviteMessage Wa__Message__GroupInviteMessage; -typedef struct _Wa__Message__HighlyStructuredMessage Wa__Message__HighlyStructuredMessage; -typedef struct _Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter; -typedef struct _Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMCurrency Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMCurrency; -typedef struct _Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime; -typedef struct _Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent; -typedef struct _Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeUnixEpoch Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeUnixEpoch; -typedef struct _Wa__Message__HistorySyncNotification Wa__Message__HistorySyncNotification; -typedef struct _Wa__Message__ImageMessage Wa__Message__ImageMessage; -typedef struct _Wa__Message__InitialSecurityNotificationSettingSync Wa__Message__InitialSecurityNotificationSettingSync; -typedef struct _Wa__Message__InteractiveMessage Wa__Message__InteractiveMessage; -typedef struct _Wa__Message__InteractiveMessage__Body Wa__Message__InteractiveMessage__Body; -typedef struct _Wa__Message__InteractiveMessage__CollectionMessage Wa__Message__InteractiveMessage__CollectionMessage; -typedef struct _Wa__Message__InteractiveMessage__Footer Wa__Message__InteractiveMessage__Footer; -typedef struct _Wa__Message__InteractiveMessage__Header Wa__Message__InteractiveMessage__Header; -typedef struct _Wa__Message__InteractiveMessage__NativeFlowMessage Wa__Message__InteractiveMessage__NativeFlowMessage; -typedef struct _Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton; -typedef struct _Wa__Message__InteractiveMessage__ShopMessage Wa__Message__InteractiveMessage__ShopMessage; -typedef struct _Wa__Message__InteractiveResponseMessage Wa__Message__InteractiveResponseMessage; -typedef struct _Wa__Message__InteractiveResponseMessage__Body Wa__Message__InteractiveResponseMessage__Body; -typedef struct _Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage; -typedef struct _Wa__Message__InvoiceMessage Wa__Message__InvoiceMessage; -typedef struct _Wa__Message__KeepInChatMessage Wa__Message__KeepInChatMessage; -typedef struct _Wa__Message__ListMessage Wa__Message__ListMessage; -typedef struct _Wa__Message__ListMessage__ProductListHeaderImage Wa__Message__ListMessage__ProductListHeaderImage; -typedef struct _Wa__Message__ListMessage__ProductListInfo Wa__Message__ListMessage__ProductListInfo; -typedef struct _Wa__Message__ListMessage__ProductSection Wa__Message__ListMessage__ProductSection; -typedef struct _Wa__Message__ListMessage__Product Wa__Message__ListMessage__Product; -typedef struct _Wa__Message__ListMessage__Row Wa__Message__ListMessage__Row; -typedef struct _Wa__Message__ListMessage__Section Wa__Message__ListMessage__Section; -typedef struct _Wa__Message__ListResponseMessage Wa__Message__ListResponseMessage; -typedef struct _Wa__Message__ListResponseMessage__SingleSelectReply Wa__Message__ListResponseMessage__SingleSelectReply; -typedef struct _Wa__Message__LiveLocationMessage Wa__Message__LiveLocationMessage; -typedef struct _Wa__Message__LocationMessage Wa__Message__LocationMessage; -typedef struct _Wa__Message__OrderMessage Wa__Message__OrderMessage; -typedef struct _Wa__Message__PaymentInviteMessage Wa__Message__PaymentInviteMessage; -typedef struct _Wa__Message__PollCreationMessage Wa__Message__PollCreationMessage; -typedef struct _Wa__Message__PollCreationMessage__Option Wa__Message__PollCreationMessage__Option; -typedef struct _Wa__Message__PollEncValue Wa__Message__PollEncValue; -typedef struct _Wa__Message__PollUpdateMessageMetadata Wa__Message__PollUpdateMessageMetadata; -typedef struct _Wa__Message__PollUpdateMessage Wa__Message__PollUpdateMessage; -typedef struct _Wa__Message__PollVoteMessage Wa__Message__PollVoteMessage; -typedef struct _Wa__Message__ProductMessage Wa__Message__ProductMessage; -typedef struct _Wa__Message__ProductMessage__CatalogSnapshot Wa__Message__ProductMessage__CatalogSnapshot; -typedef struct _Wa__Message__ProductMessage__ProductSnapshot Wa__Message__ProductMessage__ProductSnapshot; -typedef struct _Wa__Message__ProtocolMessage Wa__Message__ProtocolMessage; -typedef struct _Wa__Message__ReactionMessage Wa__Message__ReactionMessage; -typedef struct _Wa__Message__RequestMediaUploadMessage Wa__Message__RequestMediaUploadMessage; -typedef struct _Wa__Message__RequestMediaUploadResponseMessage Wa__Message__RequestMediaUploadResponseMessage; -typedef struct _Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult; -typedef struct _Wa__Message__RequestPaymentMessage Wa__Message__RequestPaymentMessage; -typedef struct _Wa__Message__RequestPhoneNumberMessage Wa__Message__RequestPhoneNumberMessage; -typedef struct _Wa__Message__SendPaymentMessage Wa__Message__SendPaymentMessage; -typedef struct _Wa__Message__SenderKeyDistributionMessage Wa__Message__SenderKeyDistributionMessage; -typedef struct _Wa__Message__StickerMessage Wa__Message__StickerMessage; -typedef struct _Wa__Message__StickerSyncRMRMessage Wa__Message__StickerSyncRMRMessage; -typedef struct _Wa__Message__TemplateButtonReplyMessage Wa__Message__TemplateButtonReplyMessage; -typedef struct _Wa__Message__TemplateMessage Wa__Message__TemplateMessage; -typedef struct _Wa__Message__TemplateMessage__FourRowTemplate Wa__Message__TemplateMessage__FourRowTemplate; -typedef struct _Wa__Message__TemplateMessage__HydratedFourRowTemplate Wa__Message__TemplateMessage__HydratedFourRowTemplate; -typedef struct _Wa__Message__VideoMessage Wa__Message__VideoMessage; -typedef struct _Wa__MessageContextInfo Wa__MessageContextInfo; -typedef struct _Wa__MessageKey Wa__MessageKey; -typedef struct _Wa__Money Wa__Money; -typedef struct _Wa__MsgOpaqueData Wa__MsgOpaqueData; -typedef struct _Wa__MsgOpaqueData__PollOption Wa__MsgOpaqueData__PollOption; -typedef struct _Wa__MsgRowOpaqueData Wa__MsgRowOpaqueData; -typedef struct _Wa__NoiseCertificate Wa__NoiseCertificate; -typedef struct _Wa__NoiseCertificate__Details Wa__NoiseCertificate__Details; -typedef struct _Wa__NotificationMessageInfo Wa__NotificationMessageInfo; -typedef struct _Wa__PastParticipant Wa__PastParticipant; -typedef struct _Wa__PastParticipants Wa__PastParticipants; -typedef struct _Wa__PaymentBackground Wa__PaymentBackground; -typedef struct _Wa__PaymentBackground__MediaData Wa__PaymentBackground__MediaData; -typedef struct _Wa__PaymentInfo Wa__PaymentInfo; -typedef struct _Wa__PendingKeyExchange Wa__PendingKeyExchange; -typedef struct _Wa__PendingPreKey Wa__PendingPreKey; -typedef struct _Wa__PhotoChange Wa__PhotoChange; -typedef struct _Wa__Point Wa__Point; -typedef struct _Wa__PollAdditionalMetadata Wa__PollAdditionalMetadata; -typedef struct _Wa__PollEncValue Wa__PollEncValue; -typedef struct _Wa__PollUpdate Wa__PollUpdate; -typedef struct _Wa__PreKeyRecordStructure Wa__PreKeyRecordStructure; -typedef struct _Wa__Pushname Wa__Pushname; -typedef struct _Wa__Reaction Wa__Reaction; -typedef struct _Wa__RecentEmojiWeight Wa__RecentEmojiWeight; -typedef struct _Wa__RecordStructure Wa__RecordStructure; -typedef struct _Wa__SenderChainKey Wa__SenderChainKey; -typedef struct _Wa__SenderKeyRecordStructure Wa__SenderKeyRecordStructure; -typedef struct _Wa__SenderKeyStateStructure Wa__SenderKeyStateStructure; -typedef struct _Wa__SenderMessageKey Wa__SenderMessageKey; -typedef struct _Wa__SenderSigningKey Wa__SenderSigningKey; -typedef struct _Wa__ServerErrorReceipt Wa__ServerErrorReceipt; -typedef struct _Wa__SessionStructure Wa__SessionStructure; -typedef struct _Wa__SignedPreKeyRecordStructure Wa__SignedPreKeyRecordStructure; -typedef struct _Wa__StatusPSA Wa__StatusPSA; -typedef struct _Wa__StickerMetadata Wa__StickerMetadata; -typedef struct _Wa__SyncActionData Wa__SyncActionData; -typedef struct _Wa__SyncActionValue Wa__SyncActionValue; -typedef struct _Wa__SyncActionValue__AgentAction Wa__SyncActionValue__AgentAction; -typedef struct _Wa__SyncActionValue__AndroidUnsupportedActions Wa__SyncActionValue__AndroidUnsupportedActions; -typedef struct _Wa__SyncActionValue__ArchiveChatAction Wa__SyncActionValue__ArchiveChatAction; -typedef struct _Wa__SyncActionValue__ClearChatAction Wa__SyncActionValue__ClearChatAction; -typedef struct _Wa__SyncActionValue__ContactAction Wa__SyncActionValue__ContactAction; -typedef struct _Wa__SyncActionValue__DeleteChatAction Wa__SyncActionValue__DeleteChatAction; -typedef struct _Wa__SyncActionValue__DeleteMessageForMeAction Wa__SyncActionValue__DeleteMessageForMeAction; -typedef struct _Wa__SyncActionValue__KeyExpiration Wa__SyncActionValue__KeyExpiration; -typedef struct _Wa__SyncActionValue__LabelAssociationAction Wa__SyncActionValue__LabelAssociationAction; -typedef struct _Wa__SyncActionValue__LabelEditAction Wa__SyncActionValue__LabelEditAction; -typedef struct _Wa__SyncActionValue__LocaleSetting Wa__SyncActionValue__LocaleSetting; -typedef struct _Wa__SyncActionValue__MarkChatAsReadAction Wa__SyncActionValue__MarkChatAsReadAction; -typedef struct _Wa__SyncActionValue__MuteAction Wa__SyncActionValue__MuteAction; -typedef struct _Wa__SyncActionValue__NuxAction Wa__SyncActionValue__NuxAction; -typedef struct _Wa__SyncActionValue__PinAction Wa__SyncActionValue__PinAction; -typedef struct _Wa__SyncActionValue__PrimaryFeature Wa__SyncActionValue__PrimaryFeature; -typedef struct _Wa__SyncActionValue__PrimaryVersionAction Wa__SyncActionValue__PrimaryVersionAction; -typedef struct _Wa__SyncActionValue__PushNameSetting Wa__SyncActionValue__PushNameSetting; -typedef struct _Wa__SyncActionValue__QuickReplyAction Wa__SyncActionValue__QuickReplyAction; -typedef struct _Wa__SyncActionValue__RecentEmojiWeightsAction Wa__SyncActionValue__RecentEmojiWeightsAction; -typedef struct _Wa__SyncActionValue__SecurityNotificationSetting Wa__SyncActionValue__SecurityNotificationSetting; -typedef struct _Wa__SyncActionValue__StarAction Wa__SyncActionValue__StarAction; -typedef struct _Wa__SyncActionValue__StickerAction Wa__SyncActionValue__StickerAction; -typedef struct _Wa__SyncActionValue__SubscriptionAction Wa__SyncActionValue__SubscriptionAction; -typedef struct _Wa__SyncActionValue__SyncActionMessageRange Wa__SyncActionValue__SyncActionMessageRange; -typedef struct _Wa__SyncActionValue__SyncActionMessage Wa__SyncActionValue__SyncActionMessage; -typedef struct _Wa__SyncActionValue__TimeFormatAction Wa__SyncActionValue__TimeFormatAction; -typedef struct _Wa__SyncActionValue__UnarchiveChatsSetting Wa__SyncActionValue__UnarchiveChatsSetting; -typedef struct _Wa__SyncActionValue__UserStatusMuteAction Wa__SyncActionValue__UserStatusMuteAction; -typedef struct _Wa__SyncdIndex Wa__SyncdIndex; -typedef struct _Wa__SyncdMutation Wa__SyncdMutation; -typedef struct _Wa__SyncdMutations Wa__SyncdMutations; -typedef struct _Wa__SyncdPatch Wa__SyncdPatch; -typedef struct _Wa__SyncdRecord Wa__SyncdRecord; -typedef struct _Wa__SyncdSnapshot Wa__SyncdSnapshot; -typedef struct _Wa__SyncdValue Wa__SyncdValue; -typedef struct _Wa__SyncdVersion Wa__SyncdVersion; -typedef struct _Wa__TemplateButton Wa__TemplateButton; -typedef struct _Wa__TemplateButton__CallButton Wa__TemplateButton__CallButton; -typedef struct _Wa__TemplateButton__QuickReplyButton Wa__TemplateButton__QuickReplyButton; -typedef struct _Wa__TemplateButton__URLButton Wa__TemplateButton__URLButton; -typedef struct _Wa__UserReceipt Wa__UserReceipt; -typedef struct _Wa__VerifiedNameCertificate Wa__VerifiedNameCertificate; -typedef struct _Wa__VerifiedNameCertificate__Details Wa__VerifiedNameCertificate__Details; -typedef struct _Wa__WallpaperSettings Wa__WallpaperSettings; -typedef struct _Wa__WebFeatures Wa__WebFeatures; -typedef struct _Wa__WebMessageInfo Wa__WebMessageInfo; -typedef struct _Wa__WebNotificationsInfo Wa__WebNotificationsInfo; - +struct Wa__ADVDeviceIdentity; +struct Wa__ADVKeyIndexList; +struct Wa__ADVSignedDeviceIdentity; +struct Wa__ADVSignedDeviceIdentityHMAC; +struct Wa__ADVSignedKeyIndexList; +struct Wa__ActionLink; +struct Wa__AutoDownloadSettings; +struct Wa__BizAccountLinkInfo; +struct Wa__BizAccountPayload; +struct Wa__BizIdentityInfo; +struct Wa__CertChain; +struct Wa__CertChain__NoiseCertificate; +struct Wa__CertChain__NoiseCertificate__Details; +struct Wa__Chain; +struct Wa__ChainKey; +struct Wa__ClientPayload; +struct Wa__ClientPayload__DNSSource; +struct Wa__ClientPayload__DevicePairingRegistrationData; +struct Wa__ClientPayload__UserAgent; +struct Wa__ClientPayload__UserAgent__AppVersion; +struct Wa__ClientPayload__WebInfo; +struct Wa__ClientPayload__WebInfo__WebdPayload; +struct Wa__ContextInfo; +struct Wa__ContextInfo__AdReplyInfo; +struct Wa__ContextInfo__ExternalAdReplyInfo; +struct Wa__Conversation; +struct Wa__DeviceListMetadata; +struct Wa__DeviceProps; +struct Wa__DeviceProps__AppVersion; +struct Wa__DisappearingMode; +struct Wa__EphemeralSetting; +struct Wa__ExitCode; +struct Wa__ExternalBlobReference; +struct Wa__GlobalSettings; +struct Wa__GroupParticipant; +struct Wa__HandshakeMessage; +struct Wa__HandshakeMessage__ClientFinish; +struct Wa__HandshakeMessage__ClientHello; +struct Wa__HandshakeMessage__ServerHello; +struct Wa__HistorySync; +struct Wa__HistorySyncMsg; +struct Wa__HydratedTemplateButton; +struct Wa__HydratedTemplateButton__HydratedCallButton; +struct Wa__HydratedTemplateButton__HydratedQuickReplyButton; +struct Wa__HydratedTemplateButton__HydratedURLButton; +struct Wa__IdentityKeyPairStructure; +struct Wa__InteractiveAnnotation; +struct Wa__KeepInChat; +struct Wa__KeyId; +struct Wa__LocalizedName; +struct Wa__Location; +struct Wa__MediaData; +struct Wa__MediaRetryNotification; +struct Wa__Message; +struct Wa__Message__AppStateFatalExceptionNotification; +struct Wa__Message__AppStateSyncKeyData; +struct Wa__Message__AppStateSyncKeyFingerprint; +struct Wa__Message__AppStateSyncKeyId; +struct Wa__Message__AppStateSyncKeyRequest; +struct Wa__Message__AppStateSyncKeyShare; +struct Wa__Message__AppStateSyncKey; +struct Wa__Message__AudioMessage; +struct Wa__Message__ButtonsMessage; +struct Wa__Message__ButtonsMessage__Button; +struct Wa__Message__ButtonsMessage__Button__ButtonText; +struct Wa__Message__ButtonsMessage__Button__NativeFlowInfo; +struct Wa__Message__ButtonsResponseMessage; +struct Wa__Message__Call; +struct Wa__Message__CancelPaymentRequestMessage; +struct Wa__Message__Chat; +struct Wa__Message__ContactMessage; +struct Wa__Message__ContactsArrayMessage; +struct Wa__Message__DeclinePaymentRequestMessage; +struct Wa__Message__DeviceSentMessage; +struct Wa__Message__DocumentMessage; +struct Wa__Message__ExtendedTextMessage; +struct Wa__Message__FutureProofMessage; +struct Wa__Message__GroupInviteMessage; +struct Wa__Message__HighlyStructuredMessage; +struct Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter; +struct Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMCurrency; +struct Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime; +struct Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent; +struct Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeUnixEpoch; +struct Wa__Message__HistorySyncNotification; +struct Wa__Message__ImageMessage; +struct Wa__Message__InitialSecurityNotificationSettingSync; +struct Wa__Message__InteractiveMessage; +struct Wa__Message__InteractiveMessage__Body; +struct Wa__Message__InteractiveMessage__CollectionMessage; +struct Wa__Message__InteractiveMessage__Footer; +struct Wa__Message__InteractiveMessage__Header; +struct Wa__Message__InteractiveMessage__NativeFlowMessage; +struct Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton; +struct Wa__Message__InteractiveMessage__ShopMessage; +struct Wa__Message__InteractiveResponseMessage; +struct Wa__Message__InteractiveResponseMessage__Body; +struct Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage; +struct Wa__Message__InvoiceMessage; +struct Wa__Message__KeepInChatMessage; +struct Wa__Message__ListMessage; +struct Wa__Message__ListMessage__ProductListHeaderImage; +struct Wa__Message__ListMessage__ProductListInfo; +struct Wa__Message__ListMessage__ProductSection; +struct Wa__Message__ListMessage__Product; +struct Wa__Message__ListMessage__Row; +struct Wa__Message__ListMessage__Section; +struct Wa__Message__ListResponseMessage; +struct Wa__Message__ListResponseMessage__SingleSelectReply; +struct Wa__Message__LiveLocationMessage; +struct Wa__Message__LocationMessage; +struct Wa__Message__OrderMessage; +struct Wa__Message__PaymentInviteMessage; +struct Wa__Message__PollCreationMessage; +struct Wa__Message__PollCreationMessage__Option; +struct Wa__Message__PollEncValue; +struct Wa__Message__PollUpdateMessageMetadata; +struct Wa__Message__PollUpdateMessage; +struct Wa__Message__PollVoteMessage; +struct Wa__Message__ProductMessage; +struct Wa__Message__ProductMessage__CatalogSnapshot; +struct Wa__Message__ProductMessage__ProductSnapshot; +struct Wa__Message__ProtocolMessage; +struct Wa__Message__ReactionMessage; +struct Wa__Message__RequestMediaUploadMessage; +struct Wa__Message__RequestMediaUploadResponseMessage; +struct Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult; +struct Wa__Message__RequestPaymentMessage; +struct Wa__Message__RequestPhoneNumberMessage; +struct Wa__Message__SendPaymentMessage; +struct Wa__Message__SenderKeyDistributionMessage; +struct Wa__Message__StickerMessage; +struct Wa__Message__StickerSyncRMRMessage; +struct Wa__Message__TemplateButtonReplyMessage; +struct Wa__Message__TemplateMessage; +struct Wa__Message__TemplateMessage__FourRowTemplate; +struct Wa__Message__TemplateMessage__HydratedFourRowTemplate; +struct Wa__Message__VideoMessage; +struct Wa__MessageContextInfo; +struct Wa__MessageKey; +struct Wa__Money; +struct Wa__MsgOpaqueData; +struct Wa__MsgOpaqueData__PollOption; +struct Wa__MsgRowOpaqueData; +struct Wa__NoiseCertificate; +struct Wa__NoiseCertificate__Details; +struct Wa__NotificationMessageInfo; +struct Wa__PastParticipant; +struct Wa__PastParticipants; +struct Wa__PaymentBackground; +struct Wa__PaymentBackground__MediaData; +struct Wa__PaymentInfo; +struct Wa__PendingKeyExchange; +struct Wa__PendingPreKey; +struct Wa__PhotoChange; +struct Wa__Point; +struct Wa__PollAdditionalMetadata; +struct Wa__PollEncValue; +struct Wa__PollUpdate; +struct Wa__PreKeyRecordStructure; +struct Wa__Pushname; +struct Wa__Reaction; +struct Wa__RecentEmojiWeight; +struct Wa__RecordStructure; +struct Wa__SenderChainKey; +struct Wa__SenderKeyRecordStructure; +struct Wa__SenderKeyStateStructure; +struct Wa__SenderMessageKey; +struct Wa__SenderSigningKey; +struct Wa__ServerErrorReceipt; +struct Wa__SessionStructure; +struct Wa__SignedPreKeyRecordStructure; +struct Wa__StatusPSA; +struct Wa__StickerMetadata; +struct Wa__SyncActionData; +struct Wa__SyncActionValue; +struct Wa__SyncActionValue__AgentAction; +struct Wa__SyncActionValue__AndroidUnsupportedActions; +struct Wa__SyncActionValue__ArchiveChatAction; +struct Wa__SyncActionValue__ClearChatAction; +struct Wa__SyncActionValue__ContactAction; +struct Wa__SyncActionValue__DeleteChatAction; +struct Wa__SyncActionValue__DeleteMessageForMeAction; +struct Wa__SyncActionValue__KeyExpiration; +struct Wa__SyncActionValue__LabelAssociationAction; +struct Wa__SyncActionValue__LabelEditAction; +struct Wa__SyncActionValue__LocaleSetting; +struct Wa__SyncActionValue__MarkChatAsReadAction; +struct Wa__SyncActionValue__MuteAction; +struct Wa__SyncActionValue__NuxAction; +struct Wa__SyncActionValue__PinAction; +struct Wa__SyncActionValue__PrimaryFeature; +struct Wa__SyncActionValue__PrimaryVersionAction; +struct Wa__SyncActionValue__PushNameSetting; +struct Wa__SyncActionValue__QuickReplyAction; +struct Wa__SyncActionValue__RecentEmojiWeightsAction; +struct Wa__SyncActionValue__SecurityNotificationSetting; +struct Wa__SyncActionValue__StarAction; +struct Wa__SyncActionValue__StickerAction; +struct Wa__SyncActionValue__SubscriptionAction; +struct Wa__SyncActionValue__SyncActionMessageRange; +struct Wa__SyncActionValue__SyncActionMessage; +struct Wa__SyncActionValue__TimeFormatAction; +struct Wa__SyncActionValue__UnarchiveChatsSetting; +struct Wa__SyncActionValue__UserStatusMuteAction; +struct Wa__SyncdIndex; +struct Wa__SyncdMutation; +struct Wa__SyncdMutations; +struct Wa__SyncdPatch; +struct Wa__SyncdRecord; +struct Wa__SyncdSnapshot; +struct Wa__SyncdValue; +struct Wa__SyncdVersion; +struct Wa__TemplateButton; +struct Wa__TemplateButton__CallButton; +struct Wa__TemplateButton__QuickReplyButton; +struct Wa__TemplateButton__URLButton; +struct Wa__UserReceipt; +struct Wa__VerifiedNameCertificate; +struct Wa__VerifiedNameCertificate__Details; +struct Wa__WallpaperSettings; +struct Wa__WebFeatures; +struct Wa__WebMessageInfo; +struct Wa__WebNotificationsInfo; /* --- enums --- */ @@ -818,9 +816,8 @@ typedef enum _Wa__MediaVisibility { /* --- messages --- */ -struct _Wa__ADVDeviceIdentity +struct Wa__ADVDeviceIdentity : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_rawid; uint32_t rawid; protobuf_c_boolean has_timestamp; @@ -833,9 +830,8 @@ struct _Wa__ADVDeviceIdentity , 0, 0, 0, 0, 0, 0 } -struct _Wa__ADVKeyIndexList +struct Wa__ADVKeyIndexList : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_rawid; uint32_t rawid; protobuf_c_boolean has_timestamp; @@ -850,9 +846,8 @@ struct _Wa__ADVKeyIndexList , 0, 0, 0, 0, 0, 0, 0,NULL } -struct _Wa__ADVSignedDeviceIdentity +struct Wa__ADVSignedDeviceIdentity : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_details; ProtobufCBinaryData details; protobuf_c_boolean has_accountsignaturekey; @@ -867,9 +862,8 @@ struct _Wa__ADVSignedDeviceIdentity , 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL} } -struct _Wa__ADVSignedDeviceIdentityHMAC +struct Wa__ADVSignedDeviceIdentityHMAC : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_details; ProtobufCBinaryData details; protobuf_c_boolean has_hmac; @@ -880,9 +874,8 @@ struct _Wa__ADVSignedDeviceIdentityHMAC , 0, {0,NULL}, 0, {0,NULL} } -struct _Wa__ADVSignedKeyIndexList +struct Wa__ADVSignedKeyIndexList : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_details; ProtobufCBinaryData details; protobuf_c_boolean has_accountsignature; @@ -893,9 +886,8 @@ struct _Wa__ADVSignedKeyIndexList , 0, {0,NULL}, 0, {0,NULL} } -struct _Wa__ActionLink +struct Wa__ActionLink : public ProtobufCMessage { - ProtobufCMessage base; char *url; char *buttontitle; }; @@ -904,9 +896,8 @@ struct _Wa__ActionLink , NULL, NULL } -struct _Wa__AutoDownloadSettings +struct Wa__AutoDownloadSettings : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_downloadimages; protobuf_c_boolean downloadimages; protobuf_c_boolean has_downloadaudio; @@ -921,9 +912,8 @@ struct _Wa__AutoDownloadSettings , 0, 0, 0, 0, 0, 0, 0, 0 } -struct _Wa__BizAccountLinkInfo +struct Wa__BizAccountLinkInfo : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_whatsappbizacctfbid; uint64_t whatsappbizacctfbid; char *whatsappacctnumber; @@ -939,9 +929,8 @@ struct _Wa__BizAccountLinkInfo , 0, 0, NULL, 0, 0, 0, WA__BIZ_ACCOUNT_LINK_INFO__HOST_STORAGE_TYPE__ON_PREMISE, 0, WA__BIZ_ACCOUNT_LINK_INFO__ACCOUNT_TYPE__ENTERPRISE } -struct _Wa__BizAccountPayload +struct Wa__BizAccountPayload : public ProtobufCMessage { - ProtobufCMessage base; Wa__VerifiedNameCertificate *vnamecert; protobuf_c_boolean has_bizacctlinkinfo; ProtobufCBinaryData bizacctlinkinfo; @@ -951,9 +940,8 @@ struct _Wa__BizAccountPayload , NULL, 0, {0,NULL} } -struct _Wa__BizIdentityInfo +struct Wa__BizIdentityInfo : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_vlevel; Wa__BizIdentityInfo__VerifiedLevelValue vlevel; Wa__VerifiedNameCertificate *vnamecert; @@ -975,9 +963,8 @@ struct _Wa__BizIdentityInfo , 0, WA__BIZ_IDENTITY_INFO__VERIFIED_LEVEL_VALUE__UNKNOWN, NULL, 0, 0, 0, 0, 0, WA__BIZ_IDENTITY_INFO__HOST_STORAGE_TYPE__ON_PREMISE, 0, WA__BIZ_IDENTITY_INFO__ACTUAL_ACTORS_TYPE__SELF, 0, 0, 0, 0 } -struct _Wa__CertChain__NoiseCertificate__Details +struct Wa__CertChain__NoiseCertificate__Details : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_serial; uint32_t serial; protobuf_c_boolean has_issuerserial; @@ -994,9 +981,8 @@ struct _Wa__CertChain__NoiseCertificate__Details , 0, 0, 0, 0, 0, {0,NULL}, 0, 0, 0, 0 } -struct _Wa__CertChain__NoiseCertificate +struct Wa__CertChain__NoiseCertificate : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_details; ProtobufCBinaryData details; protobuf_c_boolean has_signature; @@ -1007,9 +993,8 @@ struct _Wa__CertChain__NoiseCertificate , 0, {0,NULL}, 0, {0,NULL} } -struct _Wa__CertChain +struct Wa__CertChain : public ProtobufCMessage { - ProtobufCMessage base; Wa__CertChain__NoiseCertificate *leaf; Wa__CertChain__NoiseCertificate *intermediate; }; @@ -1018,9 +1003,8 @@ struct _Wa__CertChain , NULL, NULL } -struct _Wa__Chain +struct Wa__Chain : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_senderratchetkey; ProtobufCBinaryData senderratchetkey; protobuf_c_boolean has_senderratchetkeyprivate; @@ -1034,9 +1018,8 @@ struct _Wa__Chain , 0, {0,NULL}, 0, {0,NULL}, NULL, 0,NULL } -struct _Wa__ChainKey +struct Wa__ChainKey : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_index; uint32_t index; protobuf_c_boolean has_key; @@ -1047,9 +1030,8 @@ struct _Wa__ChainKey , 0, 0, 0, {0,NULL} } -struct _Wa__ClientPayload__DNSSource +struct Wa__ClientPayload__DNSSource : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_dnsmethod; Wa__ClientPayload__DNSSource__DNSResolutionMethod dnsmethod; protobuf_c_boolean has_appcached; @@ -1060,9 +1042,8 @@ struct _Wa__ClientPayload__DNSSource , 0, WA__CLIENT_PAYLOAD__DNSSOURCE__DNSRESOLUTION_METHOD__SYSTEM, 0, 0 } -struct _Wa__ClientPayload__DevicePairingRegistrationData +struct Wa__ClientPayload__DevicePairingRegistrationData : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_eregid; ProtobufCBinaryData eregid; protobuf_c_boolean has_ekeytype; @@ -1085,9 +1066,8 @@ struct _Wa__ClientPayload__DevicePairingRegistrationData , 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL} } -struct _Wa__ClientPayload__UserAgent__AppVersion +struct Wa__ClientPayload__UserAgent__AppVersion : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_primary; uint32_t primary; protobuf_c_boolean has_secondary; @@ -1104,9 +1084,8 @@ struct _Wa__ClientPayload__UserAgent__AppVersion , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } -struct _Wa__ClientPayload__UserAgent +struct Wa__ClientPayload__UserAgent : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_platform; Wa__ClientPayload__UserAgent__Platform platform; Wa__ClientPayload__UserAgent__AppVersion *appversion; @@ -1128,9 +1107,8 @@ struct _Wa__ClientPayload__UserAgent , 0, WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__ANDROID, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, WA__CLIENT_PAYLOAD__USER_AGENT__RELEASE_CHANNEL__RELEASE, NULL, NULL, NULL } -struct _Wa__ClientPayload__WebInfo__WebdPayload +struct Wa__ClientPayload__WebInfo__WebdPayload : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_usesparticipantinkey; protobuf_c_boolean usesparticipantinkey; protobuf_c_boolean has_supportsstarredmessages; @@ -1158,9 +1136,8 @@ struct _Wa__ClientPayload__WebInfo__WebdPayload , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, {0,NULL} } -struct _Wa__ClientPayload__WebInfo +struct Wa__ClientPayload__WebInfo : public ProtobufCMessage { - ProtobufCMessage base; char *reftoken; char *version; Wa__ClientPayload__WebInfo__WebdPayload *webdpayload; @@ -1172,9 +1149,8 @@ struct _Wa__ClientPayload__WebInfo , NULL, NULL, NULL, 0, WA__CLIENT_PAYLOAD__WEB_INFO__WEB_SUB_PLATFORM__WEB_BROWSER } -struct _Wa__ClientPayload +struct Wa__ClientPayload : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_username; uint64_t username; protobuf_c_boolean has_passive; @@ -1224,9 +1200,8 @@ struct _Wa__ClientPayload , 0, 0, 0, 0, NULL, NULL, NULL, 0, 0, 0, 0, 0, WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_UNKNOWN, 0, WA__CLIENT_PAYLOAD__CONNECT_REASON__PUSH, 0,NULL, NULL, 0, 0, 0, 0, NULL, 0, WA__CLIENT_PAYLOAD__PRODUCT__WHATSAPP, 0, {0,NULL}, 0, {0,NULL}, 0, 0, 0, 0, 0, WA__CLIENT_PAYLOAD__IOSAPP_EXTENSION__SHARE_EXTENSION, 0, 0, 0, {0,NULL}, 0, 0, 0, {0,NULL} } -struct _Wa__ContextInfo__AdReplyInfo +struct Wa__ContextInfo__AdReplyInfo : public ProtobufCMessage { - ProtobufCMessage base; char *advertisername; protobuf_c_boolean has_mediatype; Wa__ContextInfo__AdReplyInfo__MediaType mediatype; @@ -1239,9 +1214,8 @@ struct _Wa__ContextInfo__AdReplyInfo , NULL, 0, WA__CONTEXT_INFO__AD_REPLY_INFO__MEDIA_TYPE__NONE, 0, {0,NULL}, NULL } -struct _Wa__ContextInfo__ExternalAdReplyInfo +struct Wa__ContextInfo__ExternalAdReplyInfo : public ProtobufCMessage { - ProtobufCMessage base; char *title; char *body; protobuf_c_boolean has_mediatype; @@ -1265,9 +1239,8 @@ struct _Wa__ContextInfo__ExternalAdReplyInfo , NULL, NULL, 0, WA__CONTEXT_INFO__EXTERNAL_AD_REPLY_INFO__MEDIA_TYPE__NONE, NULL, NULL, 0, {0,NULL}, NULL, NULL, NULL, 0, 0, 0, 0, 0, 0 } -struct _Wa__ContextInfo +struct Wa__ContextInfo : public ProtobufCMessage { - ProtobufCMessage base; char *stanzaid; char *participant; Wa__Message *quotedmessage; @@ -1306,9 +1279,8 @@ struct _Wa__ContextInfo , NULL, NULL, NULL, NULL, 0,NULL, NULL, 0, {0,NULL}, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, {0,NULL}, NULL, NULL, NULL, 0, 0, NULL, NULL, NULL, NULL } -struct _Wa__Conversation +struct Wa__Conversation : public ProtobufCMessage { - ProtobufCMessage base; char *id; size_t n_messages; Wa__HistorySyncMsg **messages; @@ -1383,9 +1355,8 @@ struct _Wa__Conversation , NULL, 0,NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, WA__CONVERSATION__END_OF_HISTORY_TRANSFER_TYPE__COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY, 0, 0, NULL, NULL, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 0,NULL, 0, {0,NULL}, 0, 0, 0, {0,NULL}, 0, 0, 0, 0, NULL, 0, WA__MEDIA_VISIBILITY__DEFAULT, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, 0, 0 } -struct _Wa__DeviceListMetadata +struct Wa__DeviceListMetadata : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_senderkeyhash; ProtobufCBinaryData senderkeyhash; protobuf_c_boolean has_sendertimestamp; @@ -1404,9 +1375,8 @@ struct _Wa__DeviceListMetadata , 0, {0,NULL}, 0, 0, 0,NULL, 0, {0,NULL}, 0, 0, 0,NULL } -struct _Wa__DeviceProps__AppVersion +struct Wa__DeviceProps__AppVersion : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_primary; uint32_t primary; protobuf_c_boolean has_secondary; @@ -1423,9 +1393,8 @@ struct _Wa__DeviceProps__AppVersion , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } -struct _Wa__DeviceProps +struct Wa__DeviceProps : public ProtobufCMessage { - ProtobufCMessage base; char *os; Wa__DeviceProps__AppVersion *version; protobuf_c_boolean has_platformtype; @@ -1438,9 +1407,8 @@ struct _Wa__DeviceProps , NULL, NULL, 0, WA__DEVICE_PROPS__PLATFORM_TYPE__UNKNOWN, 0, 0 } -struct _Wa__DisappearingMode +struct Wa__DisappearingMode : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_initiator; Wa__DisappearingMode__Initiator initiator; }; @@ -1449,9 +1417,8 @@ struct _Wa__DisappearingMode , 0, WA__DISAPPEARING_MODE__INITIATOR__CHANGED_IN_CHAT } -struct _Wa__EphemeralSetting +struct Wa__EphemeralSetting : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_duration; int32_t duration; protobuf_c_boolean has_timestamp; @@ -1462,9 +1429,8 @@ struct _Wa__EphemeralSetting , 0, 0, 0, 0 } -struct _Wa__ExitCode +struct Wa__ExitCode : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_code; uint64_t code; char *text; @@ -1474,9 +1440,8 @@ struct _Wa__ExitCode , 0, 0, NULL } -struct _Wa__ExternalBlobReference +struct Wa__ExternalBlobReference : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_mediakey; ProtobufCBinaryData mediakey; char *directpath; @@ -1493,9 +1458,8 @@ struct _Wa__ExternalBlobReference , 0, {0,NULL}, NULL, NULL, 0, 0, 0, {0,NULL}, 0, {0,NULL} } -struct _Wa__GlobalSettings +struct Wa__GlobalSettings : public ProtobufCMessage { - ProtobufCMessage base; Wa__WallpaperSettings *lightthemewallpaper; protobuf_c_boolean has_mediavisibility; Wa__MediaVisibility mediavisibility; @@ -1517,9 +1481,8 @@ struct _Wa__GlobalSettings , NULL, 0, WA__MEDIA_VISIBILITY__DEFAULT, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0 } -struct _Wa__GroupParticipant +struct Wa__GroupParticipant : public ProtobufCMessage { - ProtobufCMessage base; char *userjid; protobuf_c_boolean has_rank; Wa__GroupParticipant__Rank rank; @@ -1529,9 +1492,8 @@ struct _Wa__GroupParticipant , NULL, 0, WA__GROUP_PARTICIPANT__RANK__REGULAR } -struct _Wa__HandshakeMessage__ClientFinish +struct Wa__HandshakeMessage__ClientFinish : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_static_; ProtobufCBinaryData static_; protobuf_c_boolean has_payload; @@ -1542,9 +1504,8 @@ struct _Wa__HandshakeMessage__ClientFinish , 0, {0,NULL}, 0, {0,NULL} } -struct _Wa__HandshakeMessage__ClientHello +struct Wa__HandshakeMessage__ClientHello : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_ephemeral; ProtobufCBinaryData ephemeral; protobuf_c_boolean has_static_; @@ -1557,9 +1518,8 @@ struct _Wa__HandshakeMessage__ClientHello , 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL} } -struct _Wa__HandshakeMessage__ServerHello +struct Wa__HandshakeMessage__ServerHello : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_ephemeral; ProtobufCBinaryData ephemeral; protobuf_c_boolean has_static_; @@ -1572,9 +1532,8 @@ struct _Wa__HandshakeMessage__ServerHello , 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL} } -struct _Wa__HandshakeMessage +struct Wa__HandshakeMessage : public ProtobufCMessage { - ProtobufCMessage base; Wa__HandshakeMessage__ClientHello *clienthello; Wa__HandshakeMessage__ServerHello *serverhello; Wa__HandshakeMessage__ClientFinish *clientfinish; @@ -1584,9 +1543,8 @@ struct _Wa__HandshakeMessage , NULL, NULL, NULL } -struct _Wa__HistorySync +struct Wa__HistorySync : public ProtobufCMessage { - ProtobufCMessage base; Wa__HistorySync__HistorySyncType synctype; size_t n_conversations; Wa__Conversation **conversations; @@ -1613,9 +1571,8 @@ struct _Wa__HistorySync , WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__INITIAL_BOOTSTRAP, 0,NULL, 0,NULL, 0, 0, 0, 0, 0,NULL, NULL, 0, {0,NULL}, 0, 0, 0,NULL, 0,NULL } -struct _Wa__HistorySyncMsg +struct Wa__HistorySyncMsg : public ProtobufCMessage { - ProtobufCMessage base; Wa__WebMessageInfo *message; protobuf_c_boolean has_msgorderid; uint64_t msgorderid; @@ -1625,9 +1582,8 @@ struct _Wa__HistorySyncMsg , NULL, 0, 0 } -struct _Wa__HydratedTemplateButton__HydratedCallButton +struct Wa__HydratedTemplateButton__HydratedCallButton : public ProtobufCMessage { - ProtobufCMessage base; char *displaytext; char *phonenumber; }; @@ -1636,9 +1592,8 @@ struct _Wa__HydratedTemplateButton__HydratedCallButton , NULL, NULL } -struct _Wa__HydratedTemplateButton__HydratedQuickReplyButton +struct Wa__HydratedTemplateButton__HydratedQuickReplyButton : public ProtobufCMessage { - ProtobufCMessage base; char *displaytext; char *id; }; @@ -1647,9 +1602,8 @@ struct _Wa__HydratedTemplateButton__HydratedQuickReplyButton , NULL, NULL } -struct _Wa__HydratedTemplateButton__HydratedURLButton +struct Wa__HydratedTemplateButton__HydratedURLButton : public ProtobufCMessage { - ProtobufCMessage base; char *displaytext; char *url; }; @@ -1666,9 +1620,8 @@ typedef enum { PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__HYDRATED_TEMPLATE_BUTTON__HYDRATED_BUTTON) } Wa__HydratedTemplateButton__HydratedButtonCase; -struct _Wa__HydratedTemplateButton +struct Wa__HydratedTemplateButton : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_index; uint32_t index; Wa__HydratedTemplateButton__HydratedButtonCase hydrated_button_case; @@ -1683,9 +1636,8 @@ struct _Wa__HydratedTemplateButton , 0, 0, WA__HYDRATED_TEMPLATE_BUTTON__HYDRATED_BUTTON__NOT_SET, {0} } -struct _Wa__IdentityKeyPairStructure +struct Wa__IdentityKeyPairStructure : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_publickey; ProtobufCBinaryData publickey; protobuf_c_boolean has_privatekey; @@ -1702,9 +1654,8 @@ typedef enum { PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__INTERACTIVE_ANNOTATION__ACTION) } Wa__InteractiveAnnotation__ActionCase; -struct _Wa__InteractiveAnnotation +struct Wa__InteractiveAnnotation : public ProtobufCMessage { - ProtobufCMessage base; size_t n_polygonvertices; Wa__Point **polygonvertices; Wa__InteractiveAnnotation__ActionCase action_case; @@ -1717,9 +1668,8 @@ struct _Wa__InteractiveAnnotation , 0,NULL, WA__INTERACTIVE_ANNOTATION__ACTION__NOT_SET, {0} } -struct _Wa__KeepInChat +struct Wa__KeepInChat : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_keeptype; Wa__KeepType keeptype; protobuf_c_boolean has_servertimestamp; @@ -1732,9 +1682,8 @@ struct _Wa__KeepInChat , 0, WA__KEEP_TYPE__UNKNOWN, 0, 0, NULL, NULL } -struct _Wa__KeyId +struct Wa__KeyId : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_id; ProtobufCBinaryData id; }; @@ -1743,9 +1692,8 @@ struct _Wa__KeyId , 0, {0,NULL} } -struct _Wa__LocalizedName +struct Wa__LocalizedName : public ProtobufCMessage { - ProtobufCMessage base; char *lg; char *lc; char *verifiedname; @@ -1755,9 +1703,8 @@ struct _Wa__LocalizedName , NULL, NULL, NULL } -struct _Wa__Location +struct Wa__Location : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_degreeslatitude; double degreeslatitude; protobuf_c_boolean has_degreeslongitude; @@ -1769,9 +1716,8 @@ struct _Wa__Location , 0, 0, 0, 0, NULL } -struct _Wa__MediaData +struct Wa__MediaData : public ProtobufCMessage { - ProtobufCMessage base; char *localpath; }; #define WA__MEDIA_DATA__INIT \ @@ -1779,9 +1725,8 @@ struct _Wa__MediaData , NULL } -struct _Wa__MediaRetryNotification +struct Wa__MediaRetryNotification : public ProtobufCMessage { - ProtobufCMessage base; char *stanzaid; char *directpath; protobuf_c_boolean has_result; @@ -1792,9 +1737,8 @@ struct _Wa__MediaRetryNotification , NULL, NULL, 0, WA__MEDIA_RETRY_NOTIFICATION__RESULT_TYPE__GENERAL_ERROR } -struct _Wa__Message__AppStateFatalExceptionNotification +struct Wa__Message__AppStateFatalExceptionNotification : public ProtobufCMessage { - ProtobufCMessage base; size_t n_collectionnames; char **collectionnames; protobuf_c_boolean has_timestamp; @@ -1805,9 +1749,8 @@ struct _Wa__Message__AppStateFatalExceptionNotification , 0,NULL, 0, 0 } -struct _Wa__Message__AppStateSyncKeyData +struct Wa__Message__AppStateSyncKeyData : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_keydata; ProtobufCBinaryData keydata; Wa__Message__AppStateSyncKeyFingerprint *fingerprint; @@ -1819,9 +1762,8 @@ struct _Wa__Message__AppStateSyncKeyData , 0, {0,NULL}, NULL, 0, 0 } -struct _Wa__Message__AppStateSyncKeyFingerprint +struct Wa__Message__AppStateSyncKeyFingerprint : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_rawid; uint32_t rawid; protobuf_c_boolean has_currentindex; @@ -1834,9 +1776,8 @@ struct _Wa__Message__AppStateSyncKeyFingerprint , 0, 0, 0, 0, 0,NULL } -struct _Wa__Message__AppStateSyncKeyId +struct Wa__Message__AppStateSyncKeyId : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_keyid; ProtobufCBinaryData keyid; }; @@ -1845,9 +1786,8 @@ struct _Wa__Message__AppStateSyncKeyId , 0, {0,NULL} } -struct _Wa__Message__AppStateSyncKeyRequest +struct Wa__Message__AppStateSyncKeyRequest : public ProtobufCMessage { - ProtobufCMessage base; size_t n_keyids; Wa__Message__AppStateSyncKeyId **keyids; }; @@ -1856,9 +1796,8 @@ struct _Wa__Message__AppStateSyncKeyRequest , 0,NULL } -struct _Wa__Message__AppStateSyncKeyShare +struct Wa__Message__AppStateSyncKeyShare : public ProtobufCMessage { - ProtobufCMessage base; size_t n_keys; Wa__Message__AppStateSyncKey **keys; }; @@ -1867,9 +1806,8 @@ struct _Wa__Message__AppStateSyncKeyShare , 0,NULL } -struct _Wa__Message__AppStateSyncKey +struct Wa__Message__AppStateSyncKey : public ProtobufCMessage { - ProtobufCMessage base; Wa__Message__AppStateSyncKeyId *keyid; Wa__Message__AppStateSyncKeyData *keydata; }; @@ -1878,9 +1816,8 @@ struct _Wa__Message__AppStateSyncKey , NULL, NULL } -struct _Wa__Message__AudioMessage +struct Wa__Message__AudioMessage : public ProtobufCMessage { - ProtobufCMessage base; char *url; char *mimetype; protobuf_c_boolean has_filesha256; @@ -1909,9 +1846,8 @@ struct _Wa__Message__AudioMessage , NULL, NULL, 0, {0,NULL}, 0, 0, 0, 0, 0, 0, 0, {0,NULL}, 0, {0,NULL}, NULL, 0, 0, NULL, 0, {0,NULL}, 0, {0,NULL} } -struct _Wa__Message__ButtonsMessage__Button__ButtonText +struct Wa__Message__ButtonsMessage__Button__ButtonText : public ProtobufCMessage { - ProtobufCMessage base; char *displaytext; }; #define WA__MESSAGE__BUTTONS_MESSAGE__BUTTON__BUTTON_TEXT__INIT \ @@ -1919,9 +1855,8 @@ struct _Wa__Message__ButtonsMessage__Button__ButtonText , NULL } -struct _Wa__Message__ButtonsMessage__Button__NativeFlowInfo +struct Wa__Message__ButtonsMessage__Button__NativeFlowInfo : public ProtobufCMessage { - ProtobufCMessage base; char *name; char *paramsjson; }; @@ -1930,9 +1865,8 @@ struct _Wa__Message__ButtonsMessage__Button__NativeFlowInfo , NULL, NULL } -struct _Wa__Message__ButtonsMessage__Button +struct Wa__Message__ButtonsMessage__Button : public ProtobufCMessage { - ProtobufCMessage base; char *buttonid; Wa__Message__ButtonsMessage__Button__ButtonText *buttontext; protobuf_c_boolean has_type; @@ -1954,9 +1888,8 @@ typedef enum { PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__BUTTONS_MESSAGE__HEADER) } Wa__Message__ButtonsMessage__HeaderCase; -struct _Wa__Message__ButtonsMessage +struct Wa__Message__ButtonsMessage : public ProtobufCMessage { - ProtobufCMessage base; char *contenttext; char *footertext; Wa__ContextInfo *contextinfo; @@ -1984,9 +1917,8 @@ typedef enum { PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__BUTTONS_RESPONSE_MESSAGE__RESPONSE) } Wa__Message__ButtonsResponseMessage__ResponseCase; -struct _Wa__Message__ButtonsResponseMessage +struct Wa__Message__ButtonsResponseMessage : public ProtobufCMessage { - ProtobufCMessage base; char *selectedbuttonid; Wa__ContextInfo *contextinfo; protobuf_c_boolean has_type; @@ -2001,9 +1933,8 @@ struct _Wa__Message__ButtonsResponseMessage , NULL, NULL, 0, WA__MESSAGE__BUTTONS_RESPONSE_MESSAGE__TYPE__UNKNOWN, WA__MESSAGE__BUTTONS_RESPONSE_MESSAGE__RESPONSE__NOT_SET, {0} } -struct _Wa__Message__Call +struct Wa__Message__Call : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_callkey; ProtobufCBinaryData callkey; char *conversionsource; @@ -2017,9 +1948,8 @@ struct _Wa__Message__Call , 0, {0,NULL}, NULL, 0, {0,NULL}, 0, 0 } -struct _Wa__Message__CancelPaymentRequestMessage +struct Wa__Message__CancelPaymentRequestMessage : public ProtobufCMessage { - ProtobufCMessage base; Wa__MessageKey *key; }; #define WA__MESSAGE__CANCEL_PAYMENT_REQUEST_MESSAGE__INIT \ @@ -2027,9 +1957,8 @@ struct _Wa__Message__CancelPaymentRequestMessage , NULL } -struct _Wa__Message__Chat +struct Wa__Message__Chat : public ProtobufCMessage { - ProtobufCMessage base; char *displayname; char *id; }; @@ -2038,9 +1967,8 @@ struct _Wa__Message__Chat , NULL, NULL } -struct _Wa__Message__ContactMessage +struct Wa__Message__ContactMessage : public ProtobufCMessage { - ProtobufCMessage base; char *displayname; char *vcard; Wa__ContextInfo *contextinfo; @@ -2050,9 +1978,8 @@ struct _Wa__Message__ContactMessage , NULL, NULL, NULL } -struct _Wa__Message__ContactsArrayMessage +struct Wa__Message__ContactsArrayMessage : public ProtobufCMessage { - ProtobufCMessage base; char *displayname; size_t n_contacts; Wa__Message__ContactMessage **contacts; @@ -2063,9 +1990,8 @@ struct _Wa__Message__ContactsArrayMessage , NULL, 0,NULL, NULL } -struct _Wa__Message__DeclinePaymentRequestMessage +struct Wa__Message__DeclinePaymentRequestMessage : public ProtobufCMessage { - ProtobufCMessage base; Wa__MessageKey *key; }; #define WA__MESSAGE__DECLINE_PAYMENT_REQUEST_MESSAGE__INIT \ @@ -2073,9 +1999,8 @@ struct _Wa__Message__DeclinePaymentRequestMessage , NULL } -struct _Wa__Message__DeviceSentMessage +struct Wa__Message__DeviceSentMessage : public ProtobufCMessage { - ProtobufCMessage base; char *destinationjid; Wa__Message *message; char *phash; @@ -2085,9 +2010,8 @@ struct _Wa__Message__DeviceSentMessage , NULL, NULL, NULL } -struct _Wa__Message__DocumentMessage +struct Wa__Message__DocumentMessage : public ProtobufCMessage { - ProtobufCMessage base; char *url; char *mimetype; char *title; @@ -2126,9 +2050,8 @@ struct _Wa__Message__DocumentMessage , NULL, NULL, NULL, 0, {0,NULL}, 0, 0, 0, 0, 0, {0,NULL}, NULL, 0, {0,NULL}, NULL, 0, 0, 0, 0, NULL, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, NULL, 0, 0, 0, 0, NULL } -struct _Wa__Message__ExtendedTextMessage +struct Wa__Message__ExtendedTextMessage : public ProtobufCMessage { - ProtobufCMessage base; char *text; char *matchedtext; char *canonicalurl; @@ -2173,9 +2096,8 @@ struct _Wa__Message__ExtendedTextMessage , NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 0, WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__SANS_SERIF, 0, WA__MESSAGE__EXTENDED_TEXT_MESSAGE__PREVIEW_TYPE__NONE, 0, {0,NULL}, NULL, 0, 0, NULL, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, 0, 0, 0, 0, 0, 0, 0, WA__MESSAGE__EXTENDED_TEXT_MESSAGE__INVITE_LINK_GROUP_TYPE__DEFAULT, NULL, 0, {0,NULL}, 0, WA__MESSAGE__EXTENDED_TEXT_MESSAGE__INVITE_LINK_GROUP_TYPE__DEFAULT } -struct _Wa__Message__FutureProofMessage +struct Wa__Message__FutureProofMessage : public ProtobufCMessage { - ProtobufCMessage base; Wa__Message *message; }; #define WA__MESSAGE__FUTURE_PROOF_MESSAGE__INIT \ @@ -2183,9 +2105,8 @@ struct _Wa__Message__FutureProofMessage , NULL } -struct _Wa__Message__GroupInviteMessage +struct Wa__Message__GroupInviteMessage : public ProtobufCMessage { - ProtobufCMessage base; char *groupjid; char *invitecode; protobuf_c_boolean has_inviteexpiration; @@ -2203,9 +2124,8 @@ struct _Wa__Message__GroupInviteMessage , NULL, NULL, 0, 0, NULL, 0, {0,NULL}, NULL, NULL, 0, WA__MESSAGE__GROUP_INVITE_MESSAGE__GROUP_TYPE__DEFAULT } -struct _Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMCurrency +struct Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMCurrency : public ProtobufCMessage { - ProtobufCMessage base; char *currencycode; protobuf_c_boolean has_amount1000; int64_t amount1000; @@ -2215,9 +2135,8 @@ struct _Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMCurre , NULL, 0, 0 } -struct _Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent +struct Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_dayofweek; Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent__DayOfWeekType dayofweek; protobuf_c_boolean has_year; @@ -2238,9 +2157,8 @@ struct _Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateT , 0, WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__DAY_OF_WEEK_TYPE__MONDAY, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__CALENDAR_TYPE__GREGORIAN } -struct _Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeUnixEpoch +struct Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeUnixEpoch : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_timestamp; int64_t timestamp; }; @@ -2256,9 +2174,8 @@ typedef enum { PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__DATETIME_ONEOF) } Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__DatetimeOneofCase; -struct _Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime +struct Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime : public ProtobufCMessage { - ProtobufCMessage base; Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__DatetimeOneofCase datetime_oneof_case; union { Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent *component; @@ -2277,9 +2194,8 @@ typedef enum { PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__PARAM_ONEOF) } Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__ParamOneofCase; -struct _Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter +struct Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter : public ProtobufCMessage { - ProtobufCMessage base; char *default_; Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__ParamOneofCase param_oneof_case; union { @@ -2292,9 +2208,8 @@ struct _Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter , NULL, WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__PARAM_ONEOF__NOT_SET, {0} } -struct _Wa__Message__HighlyStructuredMessage +struct Wa__Message__HighlyStructuredMessage : public ProtobufCMessage { - ProtobufCMessage base; char *namespace_; char *elementname; size_t n_params; @@ -2312,9 +2227,8 @@ struct _Wa__Message__HighlyStructuredMessage , NULL, NULL, 0,NULL, NULL, NULL, 0,NULL, NULL, NULL, NULL } -struct _Wa__Message__HistorySyncNotification +struct Wa__Message__HistorySyncNotification : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_filesha256; ProtobufCBinaryData filesha256; protobuf_c_boolean has_filelength; @@ -2337,9 +2251,8 @@ struct _Wa__Message__HistorySyncNotification , 0, {0,NULL}, 0, 0, 0, {0,NULL}, 0, {0,NULL}, NULL, 0, WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE__INITIAL_BOOTSTRAP, 0, 0, NULL, 0, 0 } -struct _Wa__Message__ImageMessage +struct Wa__Message__ImageMessage : public ProtobufCMessage { - ProtobufCMessage base; char *url; char *mimetype; char *caption; @@ -2391,9 +2304,8 @@ struct _Wa__Message__ImageMessage , NULL, NULL, NULL, 0, {0,NULL}, 0, 0, 0, 0, 0, 0, 0, {0,NULL}, 0, {0,NULL}, 0,NULL, NULL, 0, 0, 0, {0,NULL}, NULL, 0, {0,NULL}, 0, 0, 0, 0, 0, {0,NULL}, 0,NULL, 0, {0,NULL}, 0, {0,NULL}, 0, 0, NULL, 0, {0,NULL}, 0, {0,NULL}, NULL } -struct _Wa__Message__InitialSecurityNotificationSettingSync +struct Wa__Message__InitialSecurityNotificationSettingSync : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_securitynotificationenabled; protobuf_c_boolean securitynotificationenabled; }; @@ -2402,9 +2314,8 @@ struct _Wa__Message__InitialSecurityNotificationSettingSync , 0, 0 } -struct _Wa__Message__InteractiveMessage__Body +struct Wa__Message__InteractiveMessage__Body : public ProtobufCMessage { - ProtobufCMessage base; char *text; }; #define WA__MESSAGE__INTERACTIVE_MESSAGE__BODY__INIT \ @@ -2412,9 +2323,8 @@ struct _Wa__Message__InteractiveMessage__Body , NULL } -struct _Wa__Message__InteractiveMessage__CollectionMessage +struct Wa__Message__InteractiveMessage__CollectionMessage : public ProtobufCMessage { - ProtobufCMessage base; char *bizjid; char *id; protobuf_c_boolean has_messageversion; @@ -2425,9 +2335,8 @@ struct _Wa__Message__InteractiveMessage__CollectionMessage , NULL, NULL, 0, 0 } -struct _Wa__Message__InteractiveMessage__Footer +struct Wa__Message__InteractiveMessage__Footer : public ProtobufCMessage { - ProtobufCMessage base; char *text; }; #define WA__MESSAGE__INTERACTIVE_MESSAGE__FOOTER__INIT \ @@ -2444,9 +2353,8 @@ typedef enum { PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__INTERACTIVE_MESSAGE__HEADER__MEDIA) } Wa__Message__InteractiveMessage__Header__MediaCase; -struct _Wa__Message__InteractiveMessage__Header +struct Wa__Message__InteractiveMessage__Header : public ProtobufCMessage { - ProtobufCMessage base; char *title; char *subtitle; protobuf_c_boolean has_hasmediaattachment; @@ -2464,9 +2372,8 @@ struct _Wa__Message__InteractiveMessage__Header , NULL, NULL, 0, 0, WA__MESSAGE__INTERACTIVE_MESSAGE__HEADER__MEDIA__NOT_SET, {0} } -struct _Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton +struct Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton : public ProtobufCMessage { - ProtobufCMessage base; char *name; char *buttonparamsjson; }; @@ -2475,9 +2382,8 @@ struct _Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton , NULL, NULL } -struct _Wa__Message__InteractiveMessage__NativeFlowMessage +struct Wa__Message__InteractiveMessage__NativeFlowMessage : public ProtobufCMessage { - ProtobufCMessage base; size_t n_buttons; Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton **buttons; char *messageparamsjson; @@ -2489,9 +2395,8 @@ struct _Wa__Message__InteractiveMessage__NativeFlowMessage , 0,NULL, NULL, 0, 0 } -struct _Wa__Message__InteractiveMessage__ShopMessage +struct Wa__Message__InteractiveMessage__ShopMessage : public ProtobufCMessage { - ProtobufCMessage base; char *id; protobuf_c_boolean has_surface; Wa__Message__InteractiveMessage__ShopMessage__Surface surface; @@ -2511,9 +2416,8 @@ typedef enum { PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__INTERACTIVE_MESSAGE__INTERACTIVE_MESSAGE) } Wa__Message__InteractiveMessage__InteractiveMessageCase; -struct _Wa__Message__InteractiveMessage +struct Wa__Message__InteractiveMessage : public ProtobufCMessage { - ProtobufCMessage base; Wa__Message__InteractiveMessage__Header *header; Wa__Message__InteractiveMessage__Body *body; Wa__Message__InteractiveMessage__Footer *footer; @@ -2530,9 +2434,8 @@ struct _Wa__Message__InteractiveMessage , NULL, NULL, NULL, NULL, WA__MESSAGE__INTERACTIVE_MESSAGE__INTERACTIVE_MESSAGE__NOT_SET, {0} } -struct _Wa__Message__InteractiveResponseMessage__Body +struct Wa__Message__InteractiveResponseMessage__Body : public ProtobufCMessage { - ProtobufCMessage base; char *text; }; #define WA__MESSAGE__INTERACTIVE_RESPONSE_MESSAGE__BODY__INIT \ @@ -2540,9 +2443,8 @@ struct _Wa__Message__InteractiveResponseMessage__Body , NULL } -struct _Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage +struct Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage : public ProtobufCMessage { - ProtobufCMessage base; char *name; char *paramsjson; protobuf_c_boolean has_version; @@ -2559,9 +2461,8 @@ typedef enum { PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__INTERACTIVE_RESPONSE_MESSAGE__INTERACTIVE_RESPONSE_MESSAGE) } Wa__Message__InteractiveResponseMessage__InteractiveResponseMessageCase; -struct _Wa__Message__InteractiveResponseMessage +struct Wa__Message__InteractiveResponseMessage : public ProtobufCMessage { - ProtobufCMessage base; Wa__Message__InteractiveResponseMessage__Body *body; Wa__ContextInfo *contextinfo; Wa__Message__InteractiveResponseMessage__InteractiveResponseMessageCase interactive_response_message_case; @@ -2574,9 +2475,8 @@ struct _Wa__Message__InteractiveResponseMessage , NULL, NULL, WA__MESSAGE__INTERACTIVE_RESPONSE_MESSAGE__INTERACTIVE_RESPONSE_MESSAGE__NOT_SET, {0} } -struct _Wa__Message__InvoiceMessage +struct Wa__Message__InvoiceMessage : public ProtobufCMessage { - ProtobufCMessage base; char *note; char *token; protobuf_c_boolean has_attachmenttype; @@ -2599,9 +2499,8 @@ struct _Wa__Message__InvoiceMessage , NULL, NULL, 0, WA__MESSAGE__INVOICE_MESSAGE__ATTACHMENT_TYPE__IMAGE, NULL, 0, {0,NULL}, 0, 0, 0, {0,NULL}, 0, {0,NULL}, NULL, 0, {0,NULL} } -struct _Wa__Message__KeepInChatMessage +struct Wa__Message__KeepInChatMessage : public ProtobufCMessage { - ProtobufCMessage base; Wa__MessageKey *key; protobuf_c_boolean has_keeptype; Wa__KeepType keeptype; @@ -2613,9 +2512,8 @@ struct _Wa__Message__KeepInChatMessage , NULL, 0, WA__KEEP_TYPE__UNKNOWN, 0, 0 } -struct _Wa__Message__ListMessage__ProductListHeaderImage +struct Wa__Message__ListMessage__ProductListHeaderImage : public ProtobufCMessage { - ProtobufCMessage base; char *productid; protobuf_c_boolean has_jpegthumbnail; ProtobufCBinaryData jpegthumbnail; @@ -2625,9 +2523,8 @@ struct _Wa__Message__ListMessage__ProductListHeaderImage , NULL, 0, {0,NULL} } -struct _Wa__Message__ListMessage__ProductListInfo +struct Wa__Message__ListMessage__ProductListInfo : public ProtobufCMessage { - ProtobufCMessage base; size_t n_productsections; Wa__Message__ListMessage__ProductSection **productsections; Wa__Message__ListMessage__ProductListHeaderImage *headerimage; @@ -2638,9 +2535,8 @@ struct _Wa__Message__ListMessage__ProductListInfo , 0,NULL, NULL, NULL } -struct _Wa__Message__ListMessage__ProductSection +struct Wa__Message__ListMessage__ProductSection : public ProtobufCMessage { - ProtobufCMessage base; char *title; size_t n_products; Wa__Message__ListMessage__Product **products; @@ -2650,9 +2546,8 @@ struct _Wa__Message__ListMessage__ProductSection , NULL, 0,NULL } -struct _Wa__Message__ListMessage__Product +struct Wa__Message__ListMessage__Product : public ProtobufCMessage { - ProtobufCMessage base; char *productid; }; #define WA__MESSAGE__LIST_MESSAGE__PRODUCT__INIT \ @@ -2660,9 +2555,8 @@ struct _Wa__Message__ListMessage__Product , NULL } -struct _Wa__Message__ListMessage__Row +struct Wa__Message__ListMessage__Row : public ProtobufCMessage { - ProtobufCMessage base; char *title; char *description; char *rowid; @@ -2672,9 +2566,8 @@ struct _Wa__Message__ListMessage__Row , NULL, NULL, NULL } -struct _Wa__Message__ListMessage__Section +struct Wa__Message__ListMessage__Section : public ProtobufCMessage { - ProtobufCMessage base; char *title; size_t n_rows; Wa__Message__ListMessage__Row **rows; @@ -2684,9 +2577,8 @@ struct _Wa__Message__ListMessage__Section , NULL, 0,NULL } -struct _Wa__Message__ListMessage +struct Wa__Message__ListMessage : public ProtobufCMessage { - ProtobufCMessage base; char *title; char *description; char *buttontext; @@ -2703,9 +2595,8 @@ struct _Wa__Message__ListMessage , NULL, NULL, NULL, 0, WA__MESSAGE__LIST_MESSAGE__LIST_TYPE__UNKNOWN, 0,NULL, NULL, NULL, NULL } -struct _Wa__Message__ListResponseMessage__SingleSelectReply +struct Wa__Message__ListResponseMessage__SingleSelectReply : public ProtobufCMessage { - ProtobufCMessage base; char *selectedrowid; }; #define WA__MESSAGE__LIST_RESPONSE_MESSAGE__SINGLE_SELECT_REPLY__INIT \ @@ -2713,9 +2604,8 @@ struct _Wa__Message__ListResponseMessage__SingleSelectReply , NULL } -struct _Wa__Message__ListResponseMessage +struct Wa__Message__ListResponseMessage : public ProtobufCMessage { - ProtobufCMessage base; char *title; protobuf_c_boolean has_listtype; Wa__Message__ListResponseMessage__ListType listtype; @@ -2728,9 +2618,8 @@ struct _Wa__Message__ListResponseMessage , NULL, 0, WA__MESSAGE__LIST_RESPONSE_MESSAGE__LIST_TYPE__UNKNOWN, NULL, NULL, NULL } -struct _Wa__Message__LiveLocationMessage +struct Wa__Message__LiveLocationMessage : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_degreeslatitude; double degreeslatitude; protobuf_c_boolean has_degreeslongitude; @@ -2755,9 +2644,8 @@ struct _Wa__Message__LiveLocationMessage , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 0, {0,NULL}, NULL } -struct _Wa__Message__LocationMessage +struct Wa__Message__LocationMessage : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_degreeslatitude; double degreeslatitude; protobuf_c_boolean has_degreeslongitude; @@ -2783,9 +2671,8 @@ struct _Wa__Message__LocationMessage , 0, 0, 0, 0, NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, {0,NULL}, NULL } -struct _Wa__Message__OrderMessage +struct Wa__Message__OrderMessage : public ProtobufCMessage { - ProtobufCMessage base; char *orderid; protobuf_c_boolean has_thumbnail; ProtobufCBinaryData thumbnail; @@ -2809,9 +2696,8 @@ struct _Wa__Message__OrderMessage , NULL, 0, {0,NULL}, 0, 0, 0, WA__MESSAGE__ORDER_MESSAGE__ORDER_STATUS__INQUIRY, 0, WA__MESSAGE__ORDER_MESSAGE__ORDER_SURFACE__CATALOG, NULL, NULL, NULL, NULL, 0, 0, NULL, NULL } -struct _Wa__Message__PaymentInviteMessage +struct Wa__Message__PaymentInviteMessage : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_servicetype; Wa__Message__PaymentInviteMessage__ServiceType servicetype; protobuf_c_boolean has_expirytimestamp; @@ -2822,9 +2708,8 @@ struct _Wa__Message__PaymentInviteMessage , 0, WA__MESSAGE__PAYMENT_INVITE_MESSAGE__SERVICE_TYPE__UNKNOWN, 0, 0 } -struct _Wa__Message__PollCreationMessage__Option +struct Wa__Message__PollCreationMessage__Option : public ProtobufCMessage { - ProtobufCMessage base; char *optionname; }; #define WA__MESSAGE__POLL_CREATION_MESSAGE__OPTION__INIT \ @@ -2832,9 +2717,8 @@ struct _Wa__Message__PollCreationMessage__Option , NULL } -struct _Wa__Message__PollCreationMessage +struct Wa__Message__PollCreationMessage : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_enckey; ProtobufCBinaryData enckey; char *name; @@ -2849,9 +2733,8 @@ struct _Wa__Message__PollCreationMessage , 0, {0,NULL}, NULL, 0,NULL, 0, 0, NULL } -struct _Wa__Message__PollEncValue +struct Wa__Message__PollEncValue : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_encpayload; ProtobufCBinaryData encpayload; protobuf_c_boolean has_enciv; @@ -2862,18 +2745,16 @@ struct _Wa__Message__PollEncValue , 0, {0,NULL}, 0, {0,NULL} } -struct _Wa__Message__PollUpdateMessageMetadata +struct Wa__Message__PollUpdateMessageMetadata : public ProtobufCMessage { - ProtobufCMessage base; }; #define WA__MESSAGE__POLL_UPDATE_MESSAGE_METADATA__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wa__message__poll_update_message_metadata__descriptor) \ } -struct _Wa__Message__PollUpdateMessage +struct Wa__Message__PollUpdateMessage : public ProtobufCMessage { - ProtobufCMessage base; Wa__MessageKey *pollcreationmessagekey; Wa__Message__PollEncValue *vote; Wa__Message__PollUpdateMessageMetadata *metadata; @@ -2885,9 +2766,8 @@ struct _Wa__Message__PollUpdateMessage , NULL, NULL, NULL, 0, 0 } -struct _Wa__Message__PollVoteMessage +struct Wa__Message__PollVoteMessage : public ProtobufCMessage { - ProtobufCMessage base; size_t n_selectedoptions; ProtobufCBinaryData *selectedoptions; }; @@ -2896,9 +2776,8 @@ struct _Wa__Message__PollVoteMessage , 0,NULL } -struct _Wa__Message__ProductMessage__CatalogSnapshot +struct Wa__Message__ProductMessage__CatalogSnapshot : public ProtobufCMessage { - ProtobufCMessage base; Wa__Message__ImageMessage *catalogimage; char *title; char *description; @@ -2908,9 +2787,8 @@ struct _Wa__Message__ProductMessage__CatalogSnapshot , NULL, NULL, NULL } -struct _Wa__Message__ProductMessage__ProductSnapshot +struct Wa__Message__ProductMessage__ProductSnapshot : public ProtobufCMessage { - ProtobufCMessage base; Wa__Message__ImageMessage *productimage; char *productid; char *title; @@ -2931,9 +2809,8 @@ struct _Wa__Message__ProductMessage__ProductSnapshot , NULL, NULL, NULL, NULL, NULL, 0, 0, NULL, NULL, 0, 0, NULL, 0, 0 } -struct _Wa__Message__ProductMessage +struct Wa__Message__ProductMessage : public ProtobufCMessage { - ProtobufCMessage base; Wa__Message__ProductMessage__ProductSnapshot *product; char *businessownerjid; Wa__Message__ProductMessage__CatalogSnapshot *catalog; @@ -2946,9 +2823,8 @@ struct _Wa__Message__ProductMessage , NULL, NULL, NULL, NULL, NULL, NULL } -struct _Wa__Message__ProtocolMessage +struct Wa__Message__ProtocolMessage : public ProtobufCMessage { - ProtobufCMessage base; Wa__MessageKey *key; protobuf_c_boolean has_type; Wa__Message__ProtocolMessage__Type type; @@ -2970,9 +2846,8 @@ struct _Wa__Message__ProtocolMessage , NULL, 0, WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__REVOKE, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL } -struct _Wa__Message__ReactionMessage +struct Wa__Message__ReactionMessage : public ProtobufCMessage { - ProtobufCMessage base; Wa__MessageKey *key; char *text; char *groupingkey; @@ -2984,9 +2859,8 @@ struct _Wa__Message__ReactionMessage , NULL, NULL, NULL, 0, 0 } -struct _Wa__Message__RequestMediaUploadMessage +struct Wa__Message__RequestMediaUploadMessage : public ProtobufCMessage { - ProtobufCMessage base; size_t n_filesha256; char **filesha256; protobuf_c_boolean has_rmrsource; @@ -2997,9 +2871,8 @@ struct _Wa__Message__RequestMediaUploadMessage , 0,NULL, 0, WA__MESSAGE__RMR_SOURCE__FAVORITE_STICKER } -struct _Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult +struct Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult : public ProtobufCMessage { - ProtobufCMessage base; char *filesha256; protobuf_c_boolean has_mediauploadresult; Wa__MediaRetryNotification__ResultType mediauploadresult; @@ -3010,9 +2883,8 @@ struct _Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResul , NULL, 0, WA__MEDIA_RETRY_NOTIFICATION__RESULT_TYPE__GENERAL_ERROR, NULL } -struct _Wa__Message__RequestMediaUploadResponseMessage +struct Wa__Message__RequestMediaUploadResponseMessage : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_rmrsource; Wa__Message__RmrSource rmrsource; char *stanzaid; @@ -3024,9 +2896,8 @@ struct _Wa__Message__RequestMediaUploadResponseMessage , 0, WA__MESSAGE__RMR_SOURCE__FAVORITE_STICKER, NULL, 0,NULL } -struct _Wa__Message__RequestPaymentMessage +struct Wa__Message__RequestPaymentMessage : public ProtobufCMessage { - ProtobufCMessage base; Wa__Message *notemessage; char *currencycodeiso4217; protobuf_c_boolean has_amount1000; @@ -3042,9 +2913,8 @@ struct _Wa__Message__RequestPaymentMessage , NULL, NULL, 0, 0, NULL, 0, 0, NULL, NULL } -struct _Wa__Message__RequestPhoneNumberMessage +struct Wa__Message__RequestPhoneNumberMessage : public ProtobufCMessage { - ProtobufCMessage base; Wa__ContextInfo *contextinfo; }; #define WA__MESSAGE__REQUEST_PHONE_NUMBER_MESSAGE__INIT \ @@ -3052,9 +2922,8 @@ struct _Wa__Message__RequestPhoneNumberMessage , NULL } -struct _Wa__Message__SendPaymentMessage +struct Wa__Message__SendPaymentMessage : public ProtobufCMessage { - ProtobufCMessage base; Wa__Message *notemessage; Wa__MessageKey *requestmessagekey; Wa__PaymentBackground *background; @@ -3064,9 +2933,8 @@ struct _Wa__Message__SendPaymentMessage , NULL, NULL, NULL } -struct _Wa__Message__SenderKeyDistributionMessage +struct Wa__Message__SenderKeyDistributionMessage : public ProtobufCMessage { - ProtobufCMessage base; char *groupid; protobuf_c_boolean has_axolotlsenderkeydistributionmessage; ProtobufCBinaryData axolotlsenderkeydistributionmessage; @@ -3076,9 +2944,8 @@ struct _Wa__Message__SenderKeyDistributionMessage , NULL, 0, {0,NULL} } -struct _Wa__Message__StickerMessage +struct Wa__Message__StickerMessage : public ProtobufCMessage { - ProtobufCMessage base; char *url; protobuf_c_boolean has_filesha256; ProtobufCBinaryData filesha256; @@ -3111,9 +2978,8 @@ struct _Wa__Message__StickerMessage , NULL, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, NULL, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 0, 0, 0, {0,NULL}, 0, 0, 0, {0,NULL}, NULL } -struct _Wa__Message__StickerSyncRMRMessage +struct Wa__Message__StickerSyncRMRMessage : public ProtobufCMessage { - ProtobufCMessage base; size_t n_filehash; char **filehash; char *rmrsource; @@ -3125,9 +2991,8 @@ struct _Wa__Message__StickerSyncRMRMessage , 0,NULL, NULL, 0, 0 } -struct _Wa__Message__TemplateButtonReplyMessage +struct Wa__Message__TemplateButtonReplyMessage : public ProtobufCMessage { - ProtobufCMessage base; char *selectedid; char *selecteddisplaytext; Wa__ContextInfo *contextinfo; @@ -3149,9 +3014,8 @@ typedef enum { PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__TEMPLATE_MESSAGE__FOUR_ROW_TEMPLATE__TITLE) } Wa__Message__TemplateMessage__FourRowTemplate__TitleCase; -struct _Wa__Message__TemplateMessage__FourRowTemplate +struct Wa__Message__TemplateMessage__FourRowTemplate : public ProtobufCMessage { - ProtobufCMessage base; Wa__Message__HighlyStructuredMessage *content; Wa__Message__HighlyStructuredMessage *footer; size_t n_buttons; @@ -3180,9 +3044,8 @@ typedef enum { PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__TEMPLATE_MESSAGE__HYDRATED_FOUR_ROW_TEMPLATE__TITLE) } Wa__Message__TemplateMessage__HydratedFourRowTemplate__TitleCase; -struct _Wa__Message__TemplateMessage__HydratedFourRowTemplate +struct Wa__Message__TemplateMessage__HydratedFourRowTemplate : public ProtobufCMessage { - ProtobufCMessage base; char *hydratedcontenttext; char *hydratedfootertext; size_t n_hydratedbuttons; @@ -3209,9 +3072,8 @@ typedef enum { PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__TEMPLATE_MESSAGE__FORMAT) } Wa__Message__TemplateMessage__FormatCase; -struct _Wa__Message__TemplateMessage +struct Wa__Message__TemplateMessage : public ProtobufCMessage { - ProtobufCMessage base; Wa__ContextInfo *contextinfo; Wa__Message__TemplateMessage__HydratedFourRowTemplate *hydratedtemplate; Wa__Message__TemplateMessage__FormatCase format_case; @@ -3225,9 +3087,8 @@ struct _Wa__Message__TemplateMessage , NULL, NULL, WA__MESSAGE__TEMPLATE_MESSAGE__FORMAT__NOT_SET, {0} } -struct _Wa__Message__VideoMessage +struct Wa__Message__VideoMessage : public ProtobufCMessage { - ProtobufCMessage base; char *url; char *mimetype; protobuf_c_boolean has_filesha256; @@ -3273,9 +3134,8 @@ struct _Wa__Message__VideoMessage , NULL, NULL, 0, {0,NULL}, 0, 0, 0, 0, 0, {0,NULL}, NULL, 0, 0, 0, 0, 0, 0, 0, {0,NULL}, 0,NULL, NULL, 0, 0, 0, {0,NULL}, NULL, 0, {0,NULL}, 0, WA__MESSAGE__VIDEO_MESSAGE__ATTRIBUTION__NONE, 0, 0, NULL, 0, {0,NULL}, 0, {0,NULL}, NULL } -struct _Wa__Message +struct Wa__Message : public ProtobufCMessage { - ProtobufCMessage base; char *conversation; Wa__Message__SenderKeyDistributionMessage *senderkeydistributionmessage; Wa__Message__ImageMessage *imagemessage; @@ -3328,9 +3188,8 @@ struct _Wa__Message , NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL } -struct _Wa__MessageContextInfo +struct Wa__MessageContextInfo : public ProtobufCMessage { - ProtobufCMessage base; Wa__DeviceListMetadata *devicelistmetadata; protobuf_c_boolean has_devicelistmetadataversion; int32_t devicelistmetadataversion; @@ -3344,9 +3203,8 @@ struct _Wa__MessageContextInfo , NULL, 0, 0, 0, {0,NULL}, 0, {0,NULL} } -struct _Wa__MessageKey +struct Wa__MessageKey : public ProtobufCMessage { - ProtobufCMessage base; char *remotejid; protobuf_c_boolean has_fromme; protobuf_c_boolean fromme; @@ -3358,9 +3216,8 @@ struct _Wa__MessageKey , NULL, 0, 0, NULL, NULL } -struct _Wa__Money +struct Wa__Money : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_value; int64_t value; protobuf_c_boolean has_offset; @@ -3372,9 +3229,8 @@ struct _Wa__Money , 0, 0, 0, 0, NULL } -struct _Wa__MsgOpaqueData__PollOption +struct Wa__MsgOpaqueData__PollOption : public ProtobufCMessage { - ProtobufCMessage base; char *name; }; #define WA__MSG_OPAQUE_DATA__POLL_OPTION__INIT \ @@ -3382,9 +3238,8 @@ struct _Wa__MsgOpaqueData__PollOption , NULL } -struct _Wa__MsgOpaqueData +struct Wa__MsgOpaqueData : public ProtobufCMessage { - ProtobufCMessage base; char *body; char *caption; protobuf_c_boolean has_lng; @@ -3421,9 +3276,8 @@ struct _Wa__MsgOpaqueData , NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, 0, {0,NULL}, NULL, NULL, NULL, 0,NULL, 0, 0, 0, {0,NULL}, 0, 0, NULL, NULL } -struct _Wa__MsgRowOpaqueData +struct Wa__MsgRowOpaqueData : public ProtobufCMessage { - ProtobufCMessage base; Wa__MsgOpaqueData *currentmsg; Wa__MsgOpaqueData *quotedmsg; }; @@ -3432,9 +3286,8 @@ struct _Wa__MsgRowOpaqueData , NULL, NULL } -struct _Wa__NoiseCertificate__Details +struct Wa__NoiseCertificate__Details : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_serial; uint32_t serial; char *issuer; @@ -3449,9 +3302,8 @@ struct _Wa__NoiseCertificate__Details , 0, 0, NULL, 0, 0, NULL, 0, {0,NULL} } -struct _Wa__NoiseCertificate +struct Wa__NoiseCertificate : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_details; ProtobufCBinaryData details; protobuf_c_boolean has_signature; @@ -3462,9 +3314,8 @@ struct _Wa__NoiseCertificate , 0, {0,NULL}, 0, {0,NULL} } -struct _Wa__NotificationMessageInfo +struct Wa__NotificationMessageInfo : public ProtobufCMessage { - ProtobufCMessage base; Wa__MessageKey *key; Wa__Message *message; protobuf_c_boolean has_messagetimestamp; @@ -3476,9 +3327,8 @@ struct _Wa__NotificationMessageInfo , NULL, NULL, 0, 0, NULL } -struct _Wa__PastParticipant +struct Wa__PastParticipant : public ProtobufCMessage { - ProtobufCMessage base; char *userjid; Wa__PastParticipant__LeaveReason leavereason; uint64_t leavets; @@ -3488,9 +3338,8 @@ struct _Wa__PastParticipant , NULL, WA__PAST_PARTICIPANT__LEAVE_REASON__LEFT, 0 } -struct _Wa__PastParticipants +struct Wa__PastParticipants : public ProtobufCMessage { - ProtobufCMessage base; char *groupjid; size_t n_pastparticipants; Wa__PastParticipant **pastparticipants; @@ -3500,9 +3349,8 @@ struct _Wa__PastParticipants , NULL, 0,NULL } -struct _Wa__PaymentBackground__MediaData +struct Wa__PaymentBackground__MediaData : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_mediakey; ProtobufCBinaryData mediakey; protobuf_c_boolean has_mediakeytimestamp; @@ -3518,9 +3366,8 @@ struct _Wa__PaymentBackground__MediaData , 0, {0,NULL}, 0, 0, 0, {0,NULL}, 0, {0,NULL}, NULL } -struct _Wa__PaymentBackground +struct Wa__PaymentBackground : public ProtobufCMessage { - ProtobufCMessage base; char *id; protobuf_c_boolean has_filelength; uint64_t filelength; @@ -3544,9 +3391,8 @@ struct _Wa__PaymentBackground , NULL, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 0, 0, NULL, 0, WA__PAYMENT_BACKGROUND__TYPE__UNKNOWN } -struct _Wa__PaymentInfo +struct Wa__PaymentInfo : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_currencydeprecated; Wa__PaymentInfo__Currency currencydeprecated; protobuf_c_boolean has_amount1000; @@ -3574,9 +3420,8 @@ struct _Wa__PaymentInfo , 0, WA__PAYMENT_INFO__CURRENCY__UNKNOWN_CURRENCY, 0, 0, NULL, 0, WA__PAYMENT_INFO__STATUS__UNKNOWN_STATUS, 0, 0, NULL, 0, 0, 0, 0, NULL, 0, WA__PAYMENT_INFO__TXN_STATUS__UNKNOWN, 0, 0, NULL, NULL } -struct _Wa__PendingKeyExchange +struct Wa__PendingKeyExchange : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_sequence; uint32_t sequence; protobuf_c_boolean has_localbasekey; @@ -3597,9 +3442,8 @@ struct _Wa__PendingKeyExchange , 0, 0, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL} } -struct _Wa__PendingPreKey +struct Wa__PendingPreKey : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_prekeyid; uint32_t prekeyid; protobuf_c_boolean has_signedprekeyid; @@ -3612,9 +3456,8 @@ struct _Wa__PendingPreKey , 0, 0, 0, 0, 0, {0,NULL} } -struct _Wa__PhotoChange +struct Wa__PhotoChange : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_oldphoto; ProtobufCBinaryData oldphoto; protobuf_c_boolean has_newphoto; @@ -3627,9 +3470,8 @@ struct _Wa__PhotoChange , 0, {0,NULL}, 0, {0,NULL}, 0, 0 } -struct _Wa__Point +struct Wa__Point : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_xdeprecated; int32_t xdeprecated; protobuf_c_boolean has_ydeprecated; @@ -3644,9 +3486,8 @@ struct _Wa__Point , 0, 0, 0, 0, 0, 0, 0, 0 } -struct _Wa__PollAdditionalMetadata +struct Wa__PollAdditionalMetadata : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_pollinvalidated; protobuf_c_boolean pollinvalidated; }; @@ -3655,9 +3496,8 @@ struct _Wa__PollAdditionalMetadata , 0, 0 } -struct _Wa__PollEncValue +struct Wa__PollEncValue : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_encpayload; ProtobufCBinaryData encpayload; protobuf_c_boolean has_enciv; @@ -3668,9 +3508,8 @@ struct _Wa__PollEncValue , 0, {0,NULL}, 0, {0,NULL} } -struct _Wa__PollUpdate +struct Wa__PollUpdate : public ProtobufCMessage { - ProtobufCMessage base; Wa__MessageKey *pollupdatemessagekey; Wa__Message__PollVoteMessage *vote; protobuf_c_boolean has_sendertimestampms; @@ -3681,9 +3520,8 @@ struct _Wa__PollUpdate , NULL, NULL, 0, 0 } -struct _Wa__PreKeyRecordStructure +struct Wa__PreKeyRecordStructure : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_id; uint32_t id; protobuf_c_boolean has_publickey; @@ -3696,9 +3534,8 @@ struct _Wa__PreKeyRecordStructure , 0, 0, 0, {0,NULL}, 0, {0,NULL} } -struct _Wa__Pushname +struct Wa__Pushname : public ProtobufCMessage { - ProtobufCMessage base; char *id; char *pushname; }; @@ -3707,9 +3544,8 @@ struct _Wa__Pushname , NULL, NULL } -struct _Wa__Reaction +struct Wa__Reaction : public ProtobufCMessage { - ProtobufCMessage base; Wa__MessageKey *key; char *text; char *groupingkey; @@ -3723,9 +3559,8 @@ struct _Wa__Reaction , NULL, NULL, NULL, 0, 0, 0, 0 } -struct _Wa__RecentEmojiWeight +struct Wa__RecentEmojiWeight : public ProtobufCMessage { - ProtobufCMessage base; char *emoji; protobuf_c_boolean has_weight; float weight; @@ -3735,9 +3570,8 @@ struct _Wa__RecentEmojiWeight , NULL, 0, 0 } -struct _Wa__RecordStructure +struct Wa__RecordStructure : public ProtobufCMessage { - ProtobufCMessage base; Wa__SessionStructure *currentsession; size_t n_previoussessions; Wa__SessionStructure **previoussessions; @@ -3747,9 +3581,8 @@ struct _Wa__RecordStructure , NULL, 0,NULL } -struct _Wa__SenderChainKey +struct Wa__SenderChainKey : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_iteration; uint32_t iteration; protobuf_c_boolean has_seed; @@ -3760,9 +3593,8 @@ struct _Wa__SenderChainKey , 0, 0, 0, {0,NULL} } -struct _Wa__SenderKeyRecordStructure +struct Wa__SenderKeyRecordStructure : public ProtobufCMessage { - ProtobufCMessage base; size_t n_senderkeystates; Wa__SenderKeyStateStructure **senderkeystates; }; @@ -3771,9 +3603,8 @@ struct _Wa__SenderKeyRecordStructure , 0,NULL } -struct _Wa__SenderKeyStateStructure +struct Wa__SenderKeyStateStructure : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_senderkeyid; uint32_t senderkeyid; Wa__SenderChainKey *senderchainkey; @@ -3786,9 +3617,8 @@ struct _Wa__SenderKeyStateStructure , 0, 0, NULL, NULL, 0,NULL } -struct _Wa__SenderMessageKey +struct Wa__SenderMessageKey : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_iteration; uint32_t iteration; protobuf_c_boolean has_seed; @@ -3799,9 +3629,8 @@ struct _Wa__SenderMessageKey , 0, 0, 0, {0,NULL} } -struct _Wa__SenderSigningKey +struct Wa__SenderSigningKey : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_public_; ProtobufCBinaryData public_; protobuf_c_boolean has_private_; @@ -3812,9 +3641,8 @@ struct _Wa__SenderSigningKey , 0, {0,NULL}, 0, {0,NULL} } -struct _Wa__ServerErrorReceipt +struct Wa__ServerErrorReceipt : public ProtobufCMessage { - ProtobufCMessage base; char *stanzaid; }; #define WA__SERVER_ERROR_RECEIPT__INIT \ @@ -3822,9 +3650,8 @@ struct _Wa__ServerErrorReceipt , NULL } -struct _Wa__SessionStructure +struct Wa__SessionStructure : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_sessionversion; uint32_t sessionversion; protobuf_c_boolean has_localidentitypublic; @@ -3854,9 +3681,8 @@ struct _Wa__SessionStructure , 0, 0, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, 0, 0, NULL, 0,NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, {0,NULL} } -struct _Wa__SignedPreKeyRecordStructure +struct Wa__SignedPreKeyRecordStructure : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_id; uint32_t id; protobuf_c_boolean has_publickey; @@ -3873,9 +3699,8 @@ struct _Wa__SignedPreKeyRecordStructure , 0, 0, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, 0, 0 } -struct _Wa__StatusPSA +struct Wa__StatusPSA : public ProtobufCMessage { - ProtobufCMessage base; uint64_t campaignid; protobuf_c_boolean has_campaignexpirationtimestamp; uint64_t campaignexpirationtimestamp; @@ -3885,9 +3710,8 @@ struct _Wa__StatusPSA , 0, 0, 0 } -struct _Wa__StickerMetadata +struct Wa__StickerMetadata : public ProtobufCMessage { - ProtobufCMessage base; char *url; protobuf_c_boolean has_filesha256; ProtobufCBinaryData filesha256; @@ -3911,9 +3735,8 @@ struct _Wa__StickerMetadata , NULL, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, NULL, 0, 0, 0, 0, NULL, 0, 0, 0, 0 } -struct _Wa__SyncActionData +struct Wa__SyncActionData : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_index; ProtobufCBinaryData index; Wa__SyncActionValue *value; @@ -3927,9 +3750,8 @@ struct _Wa__SyncActionData , 0, {0,NULL}, NULL, 0, {0,NULL}, 0, 0 } -struct _Wa__SyncActionValue__AgentAction +struct Wa__SyncActionValue__AgentAction : public ProtobufCMessage { - ProtobufCMessage base; char *name; protobuf_c_boolean has_deviceid; int32_t deviceid; @@ -3941,9 +3763,8 @@ struct _Wa__SyncActionValue__AgentAction , NULL, 0, 0, 0, 0 } -struct _Wa__SyncActionValue__AndroidUnsupportedActions +struct Wa__SyncActionValue__AndroidUnsupportedActions : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_allowed; protobuf_c_boolean allowed; }; @@ -3952,9 +3773,8 @@ struct _Wa__SyncActionValue__AndroidUnsupportedActions , 0, 0 } -struct _Wa__SyncActionValue__ArchiveChatAction +struct Wa__SyncActionValue__ArchiveChatAction : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_archived; protobuf_c_boolean archived; Wa__SyncActionValue__SyncActionMessageRange *messagerange; @@ -3964,9 +3784,8 @@ struct _Wa__SyncActionValue__ArchiveChatAction , 0, 0, NULL } -struct _Wa__SyncActionValue__ClearChatAction +struct Wa__SyncActionValue__ClearChatAction : public ProtobufCMessage { - ProtobufCMessage base; Wa__SyncActionValue__SyncActionMessageRange *messagerange; }; #define WA__SYNC_ACTION_VALUE__CLEAR_CHAT_ACTION__INIT \ @@ -3974,9 +3793,8 @@ struct _Wa__SyncActionValue__ClearChatAction , NULL } -struct _Wa__SyncActionValue__ContactAction +struct Wa__SyncActionValue__ContactAction : public ProtobufCMessage { - ProtobufCMessage base; char *fullname; char *firstname; }; @@ -3985,9 +3803,8 @@ struct _Wa__SyncActionValue__ContactAction , NULL, NULL } -struct _Wa__SyncActionValue__DeleteChatAction +struct Wa__SyncActionValue__DeleteChatAction : public ProtobufCMessage { - ProtobufCMessage base; Wa__SyncActionValue__SyncActionMessageRange *messagerange; }; #define WA__SYNC_ACTION_VALUE__DELETE_CHAT_ACTION__INIT \ @@ -3995,9 +3812,8 @@ struct _Wa__SyncActionValue__DeleteChatAction , NULL } -struct _Wa__SyncActionValue__DeleteMessageForMeAction +struct Wa__SyncActionValue__DeleteMessageForMeAction : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_deletemedia; protobuf_c_boolean deletemedia; protobuf_c_boolean has_messagetimestamp; @@ -4008,9 +3824,8 @@ struct _Wa__SyncActionValue__DeleteMessageForMeAction , 0, 0, 0, 0 } -struct _Wa__SyncActionValue__KeyExpiration +struct Wa__SyncActionValue__KeyExpiration : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_expiredkeyepoch; int32_t expiredkeyepoch; }; @@ -4019,9 +3834,8 @@ struct _Wa__SyncActionValue__KeyExpiration , 0, 0 } -struct _Wa__SyncActionValue__LabelAssociationAction +struct Wa__SyncActionValue__LabelAssociationAction : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_labeled; protobuf_c_boolean labeled; }; @@ -4030,9 +3844,8 @@ struct _Wa__SyncActionValue__LabelAssociationAction , 0, 0 } -struct _Wa__SyncActionValue__LabelEditAction +struct Wa__SyncActionValue__LabelEditAction : public ProtobufCMessage { - ProtobufCMessage base; char *name; protobuf_c_boolean has_color; int32_t color; @@ -4046,9 +3859,8 @@ struct _Wa__SyncActionValue__LabelEditAction , NULL, 0, 0, 0, 0, 0, 0 } -struct _Wa__SyncActionValue__LocaleSetting +struct Wa__SyncActionValue__LocaleSetting : public ProtobufCMessage { - ProtobufCMessage base; char *locale; }; #define WA__SYNC_ACTION_VALUE__LOCALE_SETTING__INIT \ @@ -4056,9 +3868,8 @@ struct _Wa__SyncActionValue__LocaleSetting , NULL } -struct _Wa__SyncActionValue__MarkChatAsReadAction +struct Wa__SyncActionValue__MarkChatAsReadAction : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_read; protobuf_c_boolean read; Wa__SyncActionValue__SyncActionMessageRange *messagerange; @@ -4068,9 +3879,8 @@ struct _Wa__SyncActionValue__MarkChatAsReadAction , 0, 0, NULL } -struct _Wa__SyncActionValue__MuteAction +struct Wa__SyncActionValue__MuteAction : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_muted; protobuf_c_boolean muted; protobuf_c_boolean has_muteendtimestamp; @@ -4081,9 +3891,8 @@ struct _Wa__SyncActionValue__MuteAction , 0, 0, 0, 0 } -struct _Wa__SyncActionValue__NuxAction +struct Wa__SyncActionValue__NuxAction : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_acknowledged; protobuf_c_boolean acknowledged; }; @@ -4092,9 +3901,8 @@ struct _Wa__SyncActionValue__NuxAction , 0, 0 } -struct _Wa__SyncActionValue__PinAction +struct Wa__SyncActionValue__PinAction : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_pinned; protobuf_c_boolean pinned; }; @@ -4103,9 +3911,8 @@ struct _Wa__SyncActionValue__PinAction , 0, 0 } -struct _Wa__SyncActionValue__PrimaryFeature +struct Wa__SyncActionValue__PrimaryFeature : public ProtobufCMessage { - ProtobufCMessage base; size_t n_flags; char **flags; }; @@ -4114,9 +3921,8 @@ struct _Wa__SyncActionValue__PrimaryFeature , 0,NULL } -struct _Wa__SyncActionValue__PrimaryVersionAction +struct Wa__SyncActionValue__PrimaryVersionAction : public ProtobufCMessage { - ProtobufCMessage base; char *version; }; #define WA__SYNC_ACTION_VALUE__PRIMARY_VERSION_ACTION__INIT \ @@ -4124,9 +3930,8 @@ struct _Wa__SyncActionValue__PrimaryVersionAction , NULL } -struct _Wa__SyncActionValue__PushNameSetting +struct Wa__SyncActionValue__PushNameSetting : public ProtobufCMessage { - ProtobufCMessage base; char *name; }; #define WA__SYNC_ACTION_VALUE__PUSH_NAME_SETTING__INIT \ @@ -4134,9 +3939,8 @@ struct _Wa__SyncActionValue__PushNameSetting , NULL } -struct _Wa__SyncActionValue__QuickReplyAction +struct Wa__SyncActionValue__QuickReplyAction : public ProtobufCMessage { - ProtobufCMessage base; char *shortcut; char *message; size_t n_keywords; @@ -4151,9 +3955,8 @@ struct _Wa__SyncActionValue__QuickReplyAction , NULL, NULL, 0,NULL, 0, 0, 0, 0 } -struct _Wa__SyncActionValue__RecentEmojiWeightsAction +struct Wa__SyncActionValue__RecentEmojiWeightsAction : public ProtobufCMessage { - ProtobufCMessage base; size_t n_weights; Wa__RecentEmojiWeight **weights; }; @@ -4162,9 +3965,8 @@ struct _Wa__SyncActionValue__RecentEmojiWeightsAction , 0,NULL } -struct _Wa__SyncActionValue__SecurityNotificationSetting +struct Wa__SyncActionValue__SecurityNotificationSetting : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_shownotification; protobuf_c_boolean shownotification; }; @@ -4173,9 +3975,8 @@ struct _Wa__SyncActionValue__SecurityNotificationSetting , 0, 0 } -struct _Wa__SyncActionValue__StarAction +struct Wa__SyncActionValue__StarAction : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_starred; protobuf_c_boolean starred; }; @@ -4184,9 +3985,8 @@ struct _Wa__SyncActionValue__StarAction , 0, 0 } -struct _Wa__SyncActionValue__StickerAction +struct Wa__SyncActionValue__StickerAction : public ProtobufCMessage { - ProtobufCMessage base; char *url; protobuf_c_boolean has_fileencsha256; ProtobufCBinaryData fileencsha256; @@ -4210,9 +4010,8 @@ struct _Wa__SyncActionValue__StickerAction , NULL, 0, {0,NULL}, 0, {0,NULL}, NULL, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 0, 0 } -struct _Wa__SyncActionValue__SubscriptionAction +struct Wa__SyncActionValue__SubscriptionAction : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_isdeactivated; protobuf_c_boolean isdeactivated; protobuf_c_boolean has_isautorenewing; @@ -4225,9 +4024,8 @@ struct _Wa__SyncActionValue__SubscriptionAction , 0, 0, 0, 0, 0, 0 } -struct _Wa__SyncActionValue__SyncActionMessageRange +struct Wa__SyncActionValue__SyncActionMessageRange : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_lastmessagetimestamp; int64_t lastmessagetimestamp; protobuf_c_boolean has_lastsystemmessagetimestamp; @@ -4240,9 +4038,8 @@ struct _Wa__SyncActionValue__SyncActionMessageRange , 0, 0, 0, 0, 0,NULL } -struct _Wa__SyncActionValue__SyncActionMessage +struct Wa__SyncActionValue__SyncActionMessage : public ProtobufCMessage { - ProtobufCMessage base; Wa__MessageKey *key; protobuf_c_boolean has_timestamp; int64_t timestamp; @@ -4252,9 +4049,8 @@ struct _Wa__SyncActionValue__SyncActionMessage , NULL, 0, 0 } -struct _Wa__SyncActionValue__TimeFormatAction +struct Wa__SyncActionValue__TimeFormatAction : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_istwentyfourhourformatenabled; protobuf_c_boolean istwentyfourhourformatenabled; }; @@ -4263,9 +4059,8 @@ struct _Wa__SyncActionValue__TimeFormatAction , 0, 0 } -struct _Wa__SyncActionValue__UnarchiveChatsSetting +struct Wa__SyncActionValue__UnarchiveChatsSetting : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_unarchivechats; protobuf_c_boolean unarchivechats; }; @@ -4274,9 +4069,8 @@ struct _Wa__SyncActionValue__UnarchiveChatsSetting , 0, 0 } -struct _Wa__SyncActionValue__UserStatusMuteAction +struct Wa__SyncActionValue__UserStatusMuteAction : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_muted; protobuf_c_boolean muted; }; @@ -4285,9 +4079,8 @@ struct _Wa__SyncActionValue__UserStatusMuteAction , 0, 0 } -struct _Wa__SyncActionValue +struct Wa__SyncActionValue : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_timestamp; int64_t timestamp; Wa__SyncActionValue__StarAction *staraction; @@ -4323,9 +4116,8 @@ struct _Wa__SyncActionValue , 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL } -struct _Wa__SyncdIndex +struct Wa__SyncdIndex : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_blob; ProtobufCBinaryData blob; }; @@ -4334,9 +4126,8 @@ struct _Wa__SyncdIndex , 0, {0,NULL} } -struct _Wa__SyncdMutation +struct Wa__SyncdMutation : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_operation; Wa__SyncdMutation__SyncdOperation operation; Wa__SyncdRecord *record; @@ -4346,9 +4137,8 @@ struct _Wa__SyncdMutation , 0, WA__SYNCD_MUTATION__SYNCD_OPERATION__SET, NULL } -struct _Wa__SyncdMutations +struct Wa__SyncdMutations : public ProtobufCMessage { - ProtobufCMessage base; size_t n_mutations; Wa__SyncdMutation **mutations; }; @@ -4357,9 +4147,8 @@ struct _Wa__SyncdMutations , 0,NULL } -struct _Wa__SyncdPatch +struct Wa__SyncdPatch : public ProtobufCMessage { - ProtobufCMessage base; Wa__SyncdVersion *version; size_t n_mutations; Wa__SyncdMutation **mutations; @@ -4378,9 +4167,8 @@ struct _Wa__SyncdPatch , NULL, 0,NULL, NULL, 0, {0,NULL}, 0, {0,NULL}, NULL, NULL, 0, 0 } -struct _Wa__SyncdRecord +struct Wa__SyncdRecord : public ProtobufCMessage { - ProtobufCMessage base; Wa__SyncdIndex *index; Wa__SyncdValue *value; Wa__KeyId *keyid; @@ -4390,9 +4178,8 @@ struct _Wa__SyncdRecord , NULL, NULL, NULL } -struct _Wa__SyncdSnapshot +struct Wa__SyncdSnapshot : public ProtobufCMessage { - ProtobufCMessage base; Wa__SyncdVersion *version; size_t n_records; Wa__SyncdRecord **records; @@ -4405,9 +4192,8 @@ struct _Wa__SyncdSnapshot , NULL, 0,NULL, 0, {0,NULL}, NULL } -struct _Wa__SyncdValue +struct Wa__SyncdValue : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_blob; ProtobufCBinaryData blob; }; @@ -4416,9 +4202,8 @@ struct _Wa__SyncdValue , 0, {0,NULL} } -struct _Wa__SyncdVersion +struct Wa__SyncdVersion : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_version; uint64_t version; }; @@ -4427,9 +4212,8 @@ struct _Wa__SyncdVersion , 0, 0 } -struct _Wa__TemplateButton__CallButton +struct Wa__TemplateButton__CallButton : public ProtobufCMessage { - ProtobufCMessage base; Wa__Message__HighlyStructuredMessage *displaytext; Wa__Message__HighlyStructuredMessage *phonenumber; }; @@ -4438,9 +4222,8 @@ struct _Wa__TemplateButton__CallButton , NULL, NULL } -struct _Wa__TemplateButton__QuickReplyButton +struct Wa__TemplateButton__QuickReplyButton : public ProtobufCMessage { - ProtobufCMessage base; Wa__Message__HighlyStructuredMessage *displaytext; char *id; }; @@ -4449,9 +4232,8 @@ struct _Wa__TemplateButton__QuickReplyButton , NULL, NULL } -struct _Wa__TemplateButton__URLButton +struct Wa__TemplateButton__URLButton : public ProtobufCMessage { - ProtobufCMessage base; Wa__Message__HighlyStructuredMessage *displaytext; Wa__Message__HighlyStructuredMessage *url; }; @@ -4468,9 +4250,8 @@ typedef enum { PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__TEMPLATE_BUTTON__BUTTON) } Wa__TemplateButton__ButtonCase; -struct _Wa__TemplateButton +struct Wa__TemplateButton : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_index; uint32_t index; Wa__TemplateButton__ButtonCase button_case; @@ -4485,9 +4266,8 @@ struct _Wa__TemplateButton , 0, 0, WA__TEMPLATE_BUTTON__BUTTON__NOT_SET, {0} } -struct _Wa__UserReceipt +struct Wa__UserReceipt : public ProtobufCMessage { - ProtobufCMessage base; char *userjid; protobuf_c_boolean has_receipttimestamp; int64_t receipttimestamp; @@ -4505,9 +4285,8 @@ struct _Wa__UserReceipt , NULL, 0, 0, 0, 0, 0, 0, 0,NULL, 0,NULL } -struct _Wa__VerifiedNameCertificate__Details +struct Wa__VerifiedNameCertificate__Details : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_serial; uint64_t serial; char *issuer; @@ -4522,9 +4301,8 @@ struct _Wa__VerifiedNameCertificate__Details , 0, 0, NULL, NULL, 0,NULL, 0, 0 } -struct _Wa__VerifiedNameCertificate +struct Wa__VerifiedNameCertificate : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_details; ProtobufCBinaryData details; protobuf_c_boolean has_signature; @@ -4537,9 +4315,8 @@ struct _Wa__VerifiedNameCertificate , 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL} } -struct _Wa__WallpaperSettings +struct Wa__WallpaperSettings : public ProtobufCMessage { - ProtobufCMessage base; char *filename; protobuf_c_boolean has_opacity; uint32_t opacity; @@ -4549,9 +4326,8 @@ struct _Wa__WallpaperSettings , NULL, 0, 0 } -struct _Wa__WebFeatures +struct Wa__WebFeatures : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_labelsdisplay; Wa__WebFeatures__Flag labelsdisplay; protobuf_c_boolean has_voipindividualoutgoing; @@ -4648,9 +4424,8 @@ struct _Wa__WebFeatures , 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED } -struct _Wa__WebMessageInfo +struct Wa__WebMessageInfo : public ProtobufCMessage { - ProtobufCMessage base; Wa__MessageKey *key; Wa__Message *message; protobuf_c_boolean has_messagetimestamp; @@ -4727,9 +4502,8 @@ struct _Wa__WebMessageInfo , NULL, NULL, 0, 0, 0, WA__WEB_MESSAGE_INFO__STATUS__ERROR, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, {0,NULL}, 0, 0, 0, 0, 0, 0, 0, WA__WEB_MESSAGE_INFO__STUB_TYPE__UNKNOWN, 0, 0, 0,NULL, 0, 0, 0,NULL, NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, WA__WEB_MESSAGE_INFO__BIZ_PRIVACY_STATUS__E2EE, NULL, NULL, NULL, 0,NULL, 0,NULL, NULL, 0, {0,NULL}, NULL, 0,NULL, NULL, NULL, 0, 0, 0, {0,NULL}, NULL, NULL, 0, 0 } -struct _Wa__WebNotificationsInfo +struct Wa__WebNotificationsInfo : public ProtobufCMessage { - ProtobufCMessage base; protobuf_c_boolean has_timestamp; uint64_t timestamp; protobuf_c_boolean has_unreadchats; diff --git a/protocols/WhatsApp/src/pmsg.proto.h b/protocols/WhatsApp/src/pmsg.proto.h index 90071480a5..1784124b12 100644 --- a/protocols/WhatsApp/src/pmsg.proto.h +++ b/protocols/WhatsApp/src/pmsg.proto.h @@ -3,27 +3,27 @@ namespace proto { #define PROTOBUF_PTR(T,D) \ - class T : public _Wa__##T { \ - T* p; \ + class T { \ + Wa__##T* p; \ public: \ - T(const MBinBuffer &buf) : p((T*)protobuf_c_message_unpack(&D, 0, buf.length(), buf.data())) {} \ - T(const ProtobufCBinaryData &data) : p((T*)protobuf_c_message_unpack(&D, 0, data.len, data.data)) {} \ - T(const uint8_t *pData, size_t len) : p((T*)protobuf_c_message_unpack(&D, 0, len, pData)) {} \ - ~T() { protobuf_c_message_free_unpacked((ProtobufCMessage*)p,0); } \ - operator T& () const { return *p; } \ - operator const ProtobufCMessage*() const { return (const ProtobufCMessage*)p; } \ + T(const MBinBuffer &buf) : p((Wa__##T*)protobuf_c_message_unpack(&D, 0, buf.length(), buf.data())) {} \ + T(const ProtobufCBinaryData &data) : p((Wa__##T*)protobuf_c_message_unpack(&D, 0, data.len, data.data)) {} \ + T(const uint8_t *pData, size_t len) : p((Wa__##T*)protobuf_c_message_unpack(&D, 0, len, pData)) {} \ + ~T() { protobuf_c_message_free_unpacked(p,0); } \ + Wa__##T* operator->() const { return p; } \ + operator Wa__##T*() const { return p; } \ }; - struct SyncActionValue : public _Wa__SyncActionValue + struct SyncActionValue : public Wa__SyncActionValue { }; - struct SyncdRecord : public _Wa__SyncdRecord + struct SyncdRecord : public Wa__SyncdRecord { }; - struct SenderKeyDistributionMessage : public _Wa__Message__SenderKeyDistributionMessage + struct SenderKeyDistributionMessage : public Wa__Message__SenderKeyDistributionMessage { }; - struct WebMessageInfo : public _Wa__WebMessageInfo + struct WebMessageInfo : public Wa__WebMessageInfo { }; PROTOBUF_PTR(ADVDeviceIdentity, wa__advdevice_identity__descriptor); diff --git a/protocols/WhatsApp/src/proto.h b/protocols/WhatsApp/src/proto.h index 247aedd924..965fbb7ce6 100644 --- a/protocols/WhatsApp/src/proto.h +++ b/protocols/WhatsApp/src/proto.h @@ -311,7 +311,7 @@ class WhatsAppProto : public PROTO void ProcessReceipt(MCONTACT hContact, const char *msgId, bool bRead); bool WSReadPacket(const WSHeader &hdr, MBinBuffer &buf); - int WSSend(const ProtobufCMessage *msg); + int WSSend(const ProtobufCMessage &msg); int WSSendNode(WANode &node, WA_PKT_HANDLER = nullptr); MBinBuffer DownloadEncryptedFile(const char *url, const ProtobufCBinaryData &mediaKeys, const char *pszType); diff --git a/protocols/WhatsApp/src/server.cpp b/protocols/WhatsApp/src/server.cpp index 61698c0e17..fa57b7c189 100644 --- a/protocols/WhatsApp/src/server.cpp +++ b/protocols/WhatsApp/src/server.cpp @@ -54,8 +54,9 @@ void WhatsAppProto::ServerThreadWorker() client.ephemeral = {m_noise->ephemeral.pub.length(), m_noise->ephemeral.pub.data()}; client.has_ephemeral = true; - Wa__HandshakeMessage msg; msg.clienthello = &client; - WSSend((ProtobufCMessage*)&msg); + Wa__HandshakeMessage msg = WA__HANDSHAKE_MESSAGE__INIT; + msg.clienthello = &client; + WSSend(msg); MBinBuffer netbuf; diff --git a/protocols/WhatsApp/src/signal.cpp b/protocols/WhatsApp/src/signal.cpp index 1c92fffdea..8207a7462d 100644 --- a/protocols/WhatsApp/src/signal.cpp +++ b/protocols/WhatsApp/src/signal.cpp @@ -540,7 +540,7 @@ MBinBuffer MSignalStore::encodeSignedIdentity(bool bIncludeSignatureKey) proto::ADVSignedDeviceIdentity identity(pProto->getBlob("WAAccount")); if (!bIncludeSignatureKey) - proto::CleanBinary(identity.accountsignaturekey), identity.has_accountsignaturekey = false; + proto::CleanBinary(identity->accountsignaturekey), identity->has_accountsignaturekey = false; return proto::Serialize(identity); } diff --git a/protocols/WhatsApp/src/utils.cpp b/protocols/WhatsApp/src/utils.cpp index a46afb65b3..592d509253 100644 --- a/protocols/WhatsApp/src/utils.cpp +++ b/protocols/WhatsApp/src/utils.cpp @@ -167,12 +167,12 @@ CMStringA WhatsAppProto::GenerateMessageId() ///////////////////////////////////////////////////////////////////////////////////////// // sends a piece of JSON to a server via a websocket, masked -int WhatsAppProto::WSSend(const ProtobufCMessage *msg) +int WhatsAppProto::WSSend(const ProtobufCMessage &msg) { if (m_hServerConn == nullptr) return -1; - MBinBuffer buf(proto::Serialize(msg)); + MBinBuffer buf(proto::Serialize(&msg)); Netlib_Dump(m_hServerConn, buf.data(), buf.length(), true, 0); MBinBuffer payload = m_noise->encodeFrame(buf.data(), buf.length()); -- cgit v1.2.3