dcodeindra-baileyspro 2.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +2534 -0
- package/WAProto/Adv/Adv.d.ts +518 -0
- package/WAProto/Adv/Adv.js +1734 -0
- package/WAProto/Adv/Adv.proto +36 -0
- package/WAProto/BotMetadata/BotMetadata.d.ts +5745 -0
- package/WAProto/BotMetadata/BotMetadata.js +16291 -0
- package/WAProto/BotMetadata/BotMetadata.proto +463 -0
- package/WAProto/Cert/Cert.d.ts +497 -0
- package/WAProto/Cert/Cert.js +1503 -0
- package/WAProto/Cert/Cert.proto +28 -0
- package/WAProto/ChatLockSettings/ChatLockSettings.d.ts +391 -0
- package/WAProto/ChatLockSettings/ChatLockSettings.js +1155 -0
- package/WAProto/ChatLockSettings/ChatLockSettings.proto +7 -0
- package/WAProto/CompanionReg/CompanionReg.d.ts +1055 -0
- package/WAProto/CompanionReg/CompanionReg.js +3532 -0
- package/WAProto/CompanionReg/CompanionReg.proto +89 -0
- package/WAProto/DeviceCapabilities/DeviceCapabilities.d.ts +187 -0
- package/WAProto/DeviceCapabilities/DeviceCapabilities.js +520 -0
- package/WAProto/DeviceCapabilities/DeviceCapabilities.proto +14 -0
- package/WAProto/E2E/E2E.d.ts +28417 -0
- package/WAProto/E2E/E2E.js +98438 -0
- package/WAProto/E2E/E2E.proto +2289 -0
- package/WAProto/Ephemeral/Ephemeral.d.ts +95 -0
- package/WAProto/Ephemeral/Ephemeral.js +269 -0
- package/WAProto/Ephemeral/Ephemeral.proto +6 -0
- package/WAProto/HistorySync/HistorySync.d.ts +40728 -0
- package/WAProto/HistorySync/HistorySync.js +142980 -0
- package/WAProto/HistorySync/HistorySync.proto +207 -0
- package/WAProto/LidMigrationSyncPayload/LidMigrationSyncPayload.d.ts +189 -0
- package/WAProto/LidMigrationSyncPayload/LidMigrationSyncPayload.js +585 -0
- package/WAProto/LidMigrationSyncPayload/LidMigrationSyncPayload.proto +11 -0
- package/WAProto/MdStorageChatRowOpaqueData/MdStorageChatRowOpaqueData.d.ts +461 -0
- package/WAProto/MdStorageChatRowOpaqueData/MdStorageChatRowOpaqueData.js +1559 -0
- package/WAProto/MdStorageChatRowOpaqueData/MdStorageChatRowOpaqueData.proto +37 -0
- package/WAProto/MdStorageMsgRowOpaqueData/MdStorageMsgRowOpaqueData.d.ts +29294 -0
- package/WAProto/MdStorageMsgRowOpaqueData/MdStorageMsgRowOpaqueData.js +101732 -0
- package/WAProto/MdStorageMsgRowOpaqueData/MdStorageMsgRowOpaqueData.proto +76 -0
- package/WAProto/MmsRetry/MmsRetry.d.ts +200 -0
- package/WAProto/MmsRetry/MmsRetry.js +586 -0
- package/WAProto/MmsRetry/MmsRetry.proto +17 -0
- package/WAProto/Protocol/Protocol.d.ts +218 -0
- package/WAProto/Protocol/Protocol.js +701 -0
- package/WAProto/Protocol/Protocol.proto +20 -0
- package/WAProto/Reporting/Reporting.d.ts +301 -0
- package/WAProto/Reporting/Reporting.js +989 -0
- package/WAProto/Reporting/Reporting.proto +19 -0
- package/WAProto/ServerSync/ServerSync.d.ts +1050 -0
- package/WAProto/ServerSync/ServerSync.js +3176 -0
- package/WAProto/ServerSync/ServerSync.proto +59 -0
- package/WAProto/SignalLocalStorageProtocol/SignalLocalStorageProtocol.d.ts +1507 -0
- package/WAProto/SignalLocalStorageProtocol/SignalLocalStorageProtocol.js +4756 -0
- package/WAProto/SignalLocalStorageProtocol/SignalLocalStorageProtocol.proto +88 -0
- package/WAProto/SignalWhisperTextProtocol/SignalWhisperTextProtocol.d.ts +617 -0
- package/WAProto/SignalWhisperTextProtocol/SignalWhisperTextProtocol.js +1940 -0
- package/WAProto/SignalWhisperTextProtocol/SignalWhisperTextProtocol.proto +38 -0
- package/WAProto/StatusAttributions/StatusAttributions.d.ts +636 -0
- package/WAProto/StatusAttributions/StatusAttributions.js +2037 -0
- package/WAProto/StatusAttributions/StatusAttributions.proto +61 -0
- package/WAProto/SyncAction/SyncAction.d.ts +7227 -0
- package/WAProto/SyncAction/SyncAction.js +22271 -0
- package/WAProto/SyncAction/SyncAction.proto +423 -0
- package/WAProto/UserPassword/UserPassword.d.ts +298 -0
- package/WAProto/UserPassword/UserPassword.js +898 -0
- package/WAProto/UserPassword/UserPassword.proto +27 -0
- package/WAProto/VnameCert/VnameCert.d.ts +658 -0
- package/WAProto/VnameCert/VnameCert.js +2225 -0
- package/WAProto/VnameCert/VnameCert.proto +60 -0
- package/WAProto/Wa6/Wa6.d.ts +1613 -0
- package/WAProto/Wa6/Wa6.js +6299 -0
- package/WAProto/Wa6/Wa6.proto +229 -0
- package/WAProto/Web/Web.d.ts +31718 -0
- package/WAProto/Web/Web.js +113402 -0
- package/WAProto/Web/Web.proto +545 -0
- package/WAProto/index.d.ts +49 -0
- package/WAProto/index.js +28 -0
- package/WASignalGroup/GroupProtocol.js +1771 -0
- package/WASignalGroup/ciphertext_message.js +10 -0
- package/WASignalGroup/group_cipher.js +103 -0
- package/WASignalGroup/group_session_builder.js +39 -0
- package/WASignalGroup/index.js +5 -0
- package/WASignalGroup/keyhelper.js +17 -0
- package/WASignalGroup/protobufs.js +2 -0
- package/WASignalGroup/queue_job.js +64 -0
- package/WASignalGroup/sender_chain_key.js +38 -0
- package/WASignalGroup/sender_key_distribution_message.js +68 -0
- package/WASignalGroup/sender_key_message.js +79 -0
- package/WASignalGroup/sender_key_name.js +59 -0
- package/WASignalGroup/sender_key_record.js +47 -0
- package/WASignalGroup/sender_key_state.js +110 -0
- package/WASignalGroup/sender_message_key.js +30 -0
- package/check-node-version.js +10 -0
- package/lib/Defaults/baileys-version.json +3 -0
- package/lib/Defaults/index.d.ts +51 -0
- package/lib/Defaults/index.js +108 -0
- package/lib/Defaults/phonenumber-mcc.json +223 -0
- package/lib/Signal/Group/ciphertext-message.d.ts +9 -0
- package/lib/Signal/Group/ciphertext-message.js +19 -0
- package/lib/Signal/Group/group-session-builder.d.ts +17 -0
- package/lib/Signal/Group/group-session-builder.js +72 -0
- package/lib/Signal/Group/group_cipher.d.ts +19 -0
- package/lib/Signal/Group/group_cipher.js +99 -0
- package/lib/Signal/Group/index.d.ts +11 -0
- package/lib/Signal/Group/index.js +61 -0
- package/lib/Signal/Group/keyhelper.d.ts +16 -0
- package/lib/Signal/Group/keyhelper.js +66 -0
- package/lib/Signal/Group/queue-job.d.ts +1 -0
- package/lib/Signal/Group/queue-job.js +64 -0
- package/lib/Signal/Group/sender-chain-key.d.ts +14 -0
- package/lib/Signal/Group/sender-chain-key.js +39 -0
- package/lib/Signal/Group/sender-key-distribution-message.d.ts +17 -0
- package/lib/Signal/Group/sender-key-distribution-message.js +71 -0
- package/lib/Signal/Group/sender-key-message.d.ts +19 -0
- package/lib/Signal/Group/sender-key-message.js +73 -0
- package/lib/Signal/Group/sender-key-name.d.ts +19 -0
- package/lib/Signal/Group/sender-key-name.js +59 -0
- package/lib/Signal/Group/sender-key-record.d.ts +32 -0
- package/lib/Signal/Group/sender-key-record.js +53 -0
- package/lib/Signal/Group/sender-key-record.ts +77 -0
- package/lib/Signal/Group/sender-key-state.d.ts +44 -0
- package/lib/Signal/Group/sender-key-state.js +104 -0
- package/lib/Signal/Group/sender-message-key.d.ts +11 -0
- package/lib/Signal/Group/sender-message-key.js +33 -0
- package/lib/Signal/libsignal.d.ts +3 -0
- package/lib/Signal/libsignal.js +153 -0
- package/lib/Socket/Client/index.d.ts +2 -0
- package/lib/Socket/Client/index.js +18 -0
- package/lib/Socket/Client/types.d.ts +15 -0
- package/lib/Socket/Client/types.js +14 -0
- package/lib/Socket/Client/websocket.d.ts +12 -0
- package/lib/Socket/Client/websocket.js +57 -0
- package/lib/Socket/business.d.ts +181 -0
- package/lib/Socket/business.js +259 -0
- package/lib/Socket/chats.d.ts +95 -0
- package/lib/Socket/chats.js +906 -0
- package/lib/Socket/community.d.ts +131 -0
- package/lib/Socket/community.js +369 -0
- package/lib/Socket/groups.d.ts +122 -0
- package/lib/Socket/groups.js +360 -0
- package/lib/Socket/index.d.ts +183 -0
- package/lib/Socket/index.js +10 -0
- package/lib/Socket/messages-recv.d.ts +170 -0
- package/lib/Socket/messages-recv.js +1074 -0
- package/lib/Socket/messages-send.d.ts +161 -0
- package/lib/Socket/messages-send.js +982 -0
- package/lib/Socket/newsletter.d.ts +140 -0
- package/lib/Socket/newsletter.js +242 -0
- package/lib/Socket/socket.d.ts +43 -0
- package/lib/Socket/socket.js +749 -0
- package/lib/Socket/usync.d.ts +36 -0
- package/lib/Socket/usync.js +71 -0
- package/lib/Store/index.d.ts +4 -0
- package/lib/Store/index.js +20 -0
- package/lib/Store/make-cache-manager-store.d.ts +13 -0
- package/lib/Store/make-cache-manager-store.js +77 -0
- package/lib/Store/make-in-memory-store.d.ts +117 -0
- package/lib/Store/make-in-memory-store.js +420 -0
- package/lib/Store/make-ordered-dictionary.d.ts +12 -0
- package/lib/Store/make-ordered-dictionary.js +83 -0
- package/lib/Store/object-repository.d.ts +10 -0
- package/lib/Store/object-repository.js +28 -0
- package/lib/Types/Auth.d.ts +103 -0
- package/lib/Types/Auth.js +2 -0
- package/lib/Types/Call.d.ts +13 -0
- package/lib/Types/Call.js +2 -0
- package/lib/Types/Chat.d.ts +115 -0
- package/lib/Types/Chat.js +6 -0
- package/lib/Types/Contact.d.ts +35 -0
- package/lib/Types/Contact.js +2 -0
- package/lib/Types/Events.d.ts +208 -0
- package/lib/Types/Events.js +2 -0
- package/lib/Types/GroupMetadata.d.ts +81 -0
- package/lib/Types/GroupMetadata.js +2 -0
- package/lib/Types/Label.d.ts +46 -0
- package/lib/Types/Label.js +28 -0
- package/lib/Types/LabelAssociation.d.ts +29 -0
- package/lib/Types/LabelAssociation.js +10 -0
- package/lib/Types/Message.d.ts +480 -0
- package/lib/Types/Message.js +9 -0
- package/lib/Types/MexUpdates.d.ts +9 -0
- package/lib/Types/MexUpdates.js +18 -0
- package/lib/Types/Newsletter.d.ts +92 -0
- package/lib/Types/Newsletter.js +33 -0
- package/lib/Types/Product.d.ts +78 -0
- package/lib/Types/Product.js +2 -0
- package/lib/Types/Signal.d.ts +57 -0
- package/lib/Types/Signal.js +2 -0
- package/lib/Types/Socket.d.ts +116 -0
- package/lib/Types/Socket.js +2 -0
- package/lib/Types/State.d.ts +27 -0
- package/lib/Types/State.js +2 -0
- package/lib/Types/USync.d.ts +25 -0
- package/lib/Types/USync.js +2 -0
- package/lib/Types/index.d.ts +70 -0
- package/lib/Types/index.js +42 -0
- package/lib/Utils/auth-utils.d.ts +18 -0
- package/lib/Utils/auth-utils.js +198 -0
- package/lib/Utils/baileys-event-stream.d.ts +16 -0
- package/lib/Utils/baileys-event-stream.js +64 -0
- package/lib/Utils/business.d.ts +22 -0
- package/lib/Utils/business.js +243 -0
- package/lib/Utils/chat-utils.d.ts +72 -0
- package/lib/Utils/chat-utils.js +762 -0
- package/lib/Utils/crypto.d.ts +40 -0
- package/lib/Utils/crypto.js +150 -0
- package/lib/Utils/decode-wa-message.d.ts +252 -0
- package/lib/Utils/decode-wa-message.js +232 -0
- package/lib/Utils/event-buffer.d.ts +35 -0
- package/lib/Utils/event-buffer.js +539 -0
- package/lib/Utils/generics.d.ts +96 -0
- package/lib/Utils/generics.js +553 -0
- package/lib/Utils/history.d.ts +29 -0
- package/lib/Utils/history.js +109 -0
- package/lib/Utils/index.d.ts +19 -0
- package/lib/Utils/index.js +35 -0
- package/lib/Utils/link-preview.d.ts +21 -0
- package/lib/Utils/link-preview.js +112 -0
- package/lib/Utils/logger.d.ts +11 -0
- package/lib/Utils/logger.js +7 -0
- package/lib/Utils/lt-hash.d.ts +12 -0
- package/lib/Utils/lt-hash.js +53 -0
- package/lib/Utils/make-mutex.d.ts +7 -0
- package/lib/Utils/make-mutex.js +45 -0
- package/lib/Utils/messages-media.d.ts +104 -0
- package/lib/Utils/messages-media.js +751 -0
- package/lib/Utils/messages.d.ts +80 -0
- package/lib/Utils/messages.js +1741 -0
- package/lib/Utils/noise-handler.d.ts +19 -0
- package/lib/Utils/noise-handler.js +150 -0
- package/lib/Utils/process-message.d.ts +41 -0
- package/lib/Utils/process-message.js +391 -0
- package/lib/Utils/signal.d.ts +33 -0
- package/lib/Utils/signal.js +154 -0
- package/lib/Utils/use-mongo-file-auth-state.d.ts +5 -0
- package/lib/Utils/use-mongo-file-auth-state.js +75 -0
- package/lib/Utils/use-multi-file-auth-state.d.ts +12 -0
- package/lib/Utils/use-multi-file-auth-state.js +123 -0
- package/lib/Utils/use-single-file-auth-state.d.ts +12 -0
- package/lib/Utils/use-single-file-auth-state.js +75 -0
- package/lib/Utils/validate-connection.d.ts +10 -0
- package/lib/Utils/validate-connection.js +174 -0
- package/lib/WABinary/constants.d.ts +27 -0
- package/lib/WABinary/constants.js +45 -0
- package/lib/WABinary/decode.d.ts +6 -0
- package/lib/WABinary/decode.js +255 -0
- package/lib/WABinary/encode.d.ts +2 -0
- package/lib/WABinary/encode.js +243 -0
- package/lib/WABinary/generic-utils.d.ts +16 -0
- package/lib/WABinary/generic-utils.js +125 -0
- package/lib/WABinary/index.d.ts +5 -0
- package/lib/WABinary/index.js +21 -0
- package/lib/WABinary/jid-utils.d.ts +34 -0
- package/lib/WABinary/jid-utils.js +73 -0
- package/lib/WABinary/types.d.ts +18 -0
- package/lib/WABinary/types.js +2 -0
- package/lib/WAM/BinaryInfo.d.ts +16 -0
- package/lib/WAM/BinaryInfo.js +14 -0
- package/lib/WAM/constants.d.ts +39 -0
- package/lib/WAM/constants.js +15362 -0
- package/lib/WAM/encode.d.ts +2 -0
- package/lib/WAM/encode.js +156 -0
- package/lib/WAM/index.d.ts +3 -0
- package/lib/WAM/index.js +19 -0
- package/lib/WAUSync/Protocols/USyncBotProfileProtocol.d.ts +25 -0
- package/lib/WAUSync/Protocols/USyncBotProfileProtocol.js +60 -0
- package/lib/WAUSync/Protocols/USyncContactProtocol.d.ts +9 -0
- package/lib/WAUSync/Protocols/USyncContactProtocol.js +32 -0
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.d.ts +22 -0
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +58 -0
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.d.ts +12 -0
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +31 -0
- package/lib/WAUSync/Protocols/USyncLIDProtocol.d.ts +8 -0
- package/lib/WAUSync/Protocols/USyncLIDProtocol.js +26 -0
- package/lib/WAUSync/Protocols/USyncStatusProtocol.d.ts +12 -0
- package/lib/WAUSync/Protocols/USyncStatusProtocol.js +42 -0
- package/lib/WAUSync/Protocols/index.d.ts +6 -0
- package/lib/WAUSync/Protocols/index.js +22 -0
- package/lib/WAUSync/USyncQuery.d.ts +28 -0
- package/lib/WAUSync/USyncQuery.js +88 -0
- package/lib/WAUSync/USyncUser.d.ts +12 -0
- package/lib/WAUSync/USyncUser.js +27 -0
- package/lib/WAUSync/index.d.ts +3 -0
- package/lib/WAUSync/index.js +19 -0
- package/lib/index.d.ts +13 -0
- package/lib/index.js +45 -0
- package/package.json +63 -0
|
@@ -0,0 +1,989 @@
|
|
|
1
|
+
/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/
|
|
2
|
+
"use strict";
|
|
3
|
+
var $protobuf = require("protobufjs/minimal");
|
|
4
|
+
// Common aliases
|
|
5
|
+
var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util;
|
|
6
|
+
// Exported root namespace
|
|
7
|
+
var $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {});
|
|
8
|
+
$root.Reporting = (function() {
|
|
9
|
+
/**
|
|
10
|
+
* Namespace Reporting.
|
|
11
|
+
* @exports Reporting
|
|
12
|
+
* @namespace
|
|
13
|
+
*/
|
|
14
|
+
var Reporting = {};
|
|
15
|
+
Reporting.Field = (function() {
|
|
16
|
+
/**
|
|
17
|
+
* Properties of a Field.
|
|
18
|
+
* @memberof Reporting
|
|
19
|
+
* @interface IField
|
|
20
|
+
* @property {number|null} [minVersion] Field minVersion
|
|
21
|
+
* @property {number|null} [maxVersion] Field maxVersion
|
|
22
|
+
* @property {number|null} [notReportableMinVersion] Field notReportableMinVersion
|
|
23
|
+
* @property {boolean|null} [isMessage] Field isMessage
|
|
24
|
+
* @property {Object.<string,Reporting.IField>|null} [subfield] Field subfield
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* Constructs a new Field.
|
|
28
|
+
* @memberof Reporting
|
|
29
|
+
* @classdesc Represents a Field.
|
|
30
|
+
* @implements IField
|
|
31
|
+
* @constructor
|
|
32
|
+
* @param {Reporting.IField=} [properties] Properties to set
|
|
33
|
+
*/
|
|
34
|
+
function Field(properties) {
|
|
35
|
+
this.subfield = {};
|
|
36
|
+
if (properties)
|
|
37
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
38
|
+
if (properties[keys[i]] != null)
|
|
39
|
+
this[keys[i]] = properties[keys[i]];
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Field minVersion.
|
|
43
|
+
* @member {number|null|undefined} minVersion
|
|
44
|
+
* @memberof Reporting.Field
|
|
45
|
+
* @instance
|
|
46
|
+
*/
|
|
47
|
+
Field.prototype.minVersion = null;
|
|
48
|
+
/**
|
|
49
|
+
* Field maxVersion.
|
|
50
|
+
* @member {number|null|undefined} maxVersion
|
|
51
|
+
* @memberof Reporting.Field
|
|
52
|
+
* @instance
|
|
53
|
+
*/
|
|
54
|
+
Field.prototype.maxVersion = null;
|
|
55
|
+
/**
|
|
56
|
+
* Field notReportableMinVersion.
|
|
57
|
+
* @member {number|null|undefined} notReportableMinVersion
|
|
58
|
+
* @memberof Reporting.Field
|
|
59
|
+
* @instance
|
|
60
|
+
*/
|
|
61
|
+
Field.prototype.notReportableMinVersion = null;
|
|
62
|
+
/**
|
|
63
|
+
* Field isMessage.
|
|
64
|
+
* @member {boolean|null|undefined} isMessage
|
|
65
|
+
* @memberof Reporting.Field
|
|
66
|
+
* @instance
|
|
67
|
+
*/
|
|
68
|
+
Field.prototype.isMessage = null;
|
|
69
|
+
/**
|
|
70
|
+
* Field subfield.
|
|
71
|
+
* @member {Object.<string,Reporting.IField>} subfield
|
|
72
|
+
* @memberof Reporting.Field
|
|
73
|
+
* @instance
|
|
74
|
+
*/
|
|
75
|
+
Field.prototype.subfield = $util.emptyObject;
|
|
76
|
+
// OneOf field names bound to virtual getters and setters
|
|
77
|
+
var $oneOfFields;
|
|
78
|
+
/**
|
|
79
|
+
* Field _minVersion.
|
|
80
|
+
* @member {"minVersion"|undefined} _minVersion
|
|
81
|
+
* @memberof Reporting.Field
|
|
82
|
+
* @instance
|
|
83
|
+
*/
|
|
84
|
+
Object.defineProperty(Field.prototype, "_minVersion", {
|
|
85
|
+
get: $util.oneOfGetter($oneOfFields = ["minVersion"]),
|
|
86
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
87
|
+
});
|
|
88
|
+
/**
|
|
89
|
+
* Field _maxVersion.
|
|
90
|
+
* @member {"maxVersion"|undefined} _maxVersion
|
|
91
|
+
* @memberof Reporting.Field
|
|
92
|
+
* @instance
|
|
93
|
+
*/
|
|
94
|
+
Object.defineProperty(Field.prototype, "_maxVersion", {
|
|
95
|
+
get: $util.oneOfGetter($oneOfFields = ["maxVersion"]),
|
|
96
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
97
|
+
});
|
|
98
|
+
/**
|
|
99
|
+
* Field _notReportableMinVersion.
|
|
100
|
+
* @member {"notReportableMinVersion"|undefined} _notReportableMinVersion
|
|
101
|
+
* @memberof Reporting.Field
|
|
102
|
+
* @instance
|
|
103
|
+
*/
|
|
104
|
+
Object.defineProperty(Field.prototype, "_notReportableMinVersion", {
|
|
105
|
+
get: $util.oneOfGetter($oneOfFields = ["notReportableMinVersion"]),
|
|
106
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
107
|
+
});
|
|
108
|
+
/**
|
|
109
|
+
* Field _isMessage.
|
|
110
|
+
* @member {"isMessage"|undefined} _isMessage
|
|
111
|
+
* @memberof Reporting.Field
|
|
112
|
+
* @instance
|
|
113
|
+
*/
|
|
114
|
+
Object.defineProperty(Field.prototype, "_isMessage", {
|
|
115
|
+
get: $util.oneOfGetter($oneOfFields = ["isMessage"]),
|
|
116
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
117
|
+
});
|
|
118
|
+
/**
|
|
119
|
+
* Creates a new Field instance using the specified properties.
|
|
120
|
+
* @function create
|
|
121
|
+
* @memberof Reporting.Field
|
|
122
|
+
* @static
|
|
123
|
+
* @param {Reporting.IField=} [properties] Properties to set
|
|
124
|
+
* @returns {Reporting.Field} Field instance
|
|
125
|
+
*/
|
|
126
|
+
Field.create = function create(properties) {
|
|
127
|
+
return new Field(properties);
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* Encodes the specified Field message. Does not implicitly {@link Reporting.Field.verify|verify} messages.
|
|
131
|
+
* @function encode
|
|
132
|
+
* @memberof Reporting.Field
|
|
133
|
+
* @static
|
|
134
|
+
* @param {Reporting.IField} message Field message or plain object to encode
|
|
135
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
136
|
+
* @returns {$protobuf.Writer} Writer
|
|
137
|
+
*/
|
|
138
|
+
Field.encode = function encode(message, writer) {
|
|
139
|
+
if (!writer)
|
|
140
|
+
writer = $Writer.create();
|
|
141
|
+
if (message.minVersion != null && Object.hasOwnProperty.call(message, "minVersion"))
|
|
142
|
+
writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.minVersion);
|
|
143
|
+
if (message.maxVersion != null && Object.hasOwnProperty.call(message, "maxVersion"))
|
|
144
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.maxVersion);
|
|
145
|
+
if (message.notReportableMinVersion != null && Object.hasOwnProperty.call(message, "notReportableMinVersion"))
|
|
146
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.notReportableMinVersion);
|
|
147
|
+
if (message.isMessage != null && Object.hasOwnProperty.call(message, "isMessage"))
|
|
148
|
+
writer.uint32(/* id 4, wireType 0 =*/32).bool(message.isMessage);
|
|
149
|
+
if (message.subfield != null && Object.hasOwnProperty.call(message, "subfield"))
|
|
150
|
+
for (var keys = Object.keys(message.subfield), i = 0; i < keys.length; ++i) {
|
|
151
|
+
writer.uint32(/* id 5, wireType 2 =*/42).fork().uint32(/* id 1, wireType 0 =*/8).uint32(keys[i]);
|
|
152
|
+
$root.Reporting.Field.encode(message.subfield[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
153
|
+
}
|
|
154
|
+
return writer;
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* Encodes the specified Field message, length delimited. Does not implicitly {@link Reporting.Field.verify|verify} messages.
|
|
158
|
+
* @function encodeDelimited
|
|
159
|
+
* @memberof Reporting.Field
|
|
160
|
+
* @static
|
|
161
|
+
* @param {Reporting.IField} message Field message or plain object to encode
|
|
162
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
163
|
+
* @returns {$protobuf.Writer} Writer
|
|
164
|
+
*/
|
|
165
|
+
Field.encodeDelimited = function encodeDelimited(message, writer) {
|
|
166
|
+
return this.encode(message, writer).ldelim();
|
|
167
|
+
};
|
|
168
|
+
/**
|
|
169
|
+
* Decodes a Field message from the specified reader or buffer.
|
|
170
|
+
* @function decode
|
|
171
|
+
* @memberof Reporting.Field
|
|
172
|
+
* @static
|
|
173
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
174
|
+
* @param {number} [length] Message length if known beforehand
|
|
175
|
+
* @returns {Reporting.Field} Field
|
|
176
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
177
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
178
|
+
*/
|
|
179
|
+
Field.decode = function decode(reader, length, error) {
|
|
180
|
+
if (!(reader instanceof $Reader))
|
|
181
|
+
reader = $Reader.create(reader);
|
|
182
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.Reporting.Field(), key, value;
|
|
183
|
+
while (reader.pos < end) {
|
|
184
|
+
var tag = reader.uint32();
|
|
185
|
+
if (tag === error)
|
|
186
|
+
break;
|
|
187
|
+
switch (tag >>> 3) {
|
|
188
|
+
case 1: {
|
|
189
|
+
message.minVersion = reader.uint32();
|
|
190
|
+
break;
|
|
191
|
+
}
|
|
192
|
+
case 2: {
|
|
193
|
+
message.maxVersion = reader.uint32();
|
|
194
|
+
break;
|
|
195
|
+
}
|
|
196
|
+
case 3: {
|
|
197
|
+
message.notReportableMinVersion = reader.uint32();
|
|
198
|
+
break;
|
|
199
|
+
}
|
|
200
|
+
case 4: {
|
|
201
|
+
message.isMessage = reader.bool();
|
|
202
|
+
break;
|
|
203
|
+
}
|
|
204
|
+
case 5: {
|
|
205
|
+
if (message.subfield === $util.emptyObject)
|
|
206
|
+
message.subfield = {};
|
|
207
|
+
var end2 = reader.uint32() + reader.pos;
|
|
208
|
+
key = 0;
|
|
209
|
+
value = null;
|
|
210
|
+
while (reader.pos < end2) {
|
|
211
|
+
var tag2 = reader.uint32();
|
|
212
|
+
switch (tag2 >>> 3) {
|
|
213
|
+
case 1:
|
|
214
|
+
key = reader.uint32();
|
|
215
|
+
break;
|
|
216
|
+
case 2:
|
|
217
|
+
value = $root.Reporting.Field.decode(reader, reader.uint32());
|
|
218
|
+
break;
|
|
219
|
+
default:
|
|
220
|
+
reader.skipType(tag2 & 7);
|
|
221
|
+
break;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
message.subfield[key] = value;
|
|
225
|
+
break;
|
|
226
|
+
}
|
|
227
|
+
default:
|
|
228
|
+
reader.skipType(tag & 7);
|
|
229
|
+
break;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
return message;
|
|
233
|
+
};
|
|
234
|
+
/**
|
|
235
|
+
* Decodes a Field message from the specified reader or buffer, length delimited.
|
|
236
|
+
* @function decodeDelimited
|
|
237
|
+
* @memberof Reporting.Field
|
|
238
|
+
* @static
|
|
239
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
240
|
+
* @returns {Reporting.Field} Field
|
|
241
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
242
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
243
|
+
*/
|
|
244
|
+
Field.decodeDelimited = function decodeDelimited(reader) {
|
|
245
|
+
if (!(reader instanceof $Reader))
|
|
246
|
+
reader = new $Reader(reader);
|
|
247
|
+
return this.decode(reader, reader.uint32());
|
|
248
|
+
};
|
|
249
|
+
/**
|
|
250
|
+
* Verifies a Field message.
|
|
251
|
+
* @function verify
|
|
252
|
+
* @memberof Reporting.Field
|
|
253
|
+
* @static
|
|
254
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
255
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
256
|
+
*/
|
|
257
|
+
Field.verify = function verify(message) {
|
|
258
|
+
if (typeof message !== "object" || message === null)
|
|
259
|
+
return "object expected";
|
|
260
|
+
var properties = {};
|
|
261
|
+
if (message.minVersion != null && message.hasOwnProperty("minVersion")) {
|
|
262
|
+
properties._minVersion = 1;
|
|
263
|
+
if (!$util.isInteger(message.minVersion))
|
|
264
|
+
return "minVersion: integer expected";
|
|
265
|
+
}
|
|
266
|
+
if (message.maxVersion != null && message.hasOwnProperty("maxVersion")) {
|
|
267
|
+
properties._maxVersion = 1;
|
|
268
|
+
if (!$util.isInteger(message.maxVersion))
|
|
269
|
+
return "maxVersion: integer expected";
|
|
270
|
+
}
|
|
271
|
+
if (message.notReportableMinVersion != null && message.hasOwnProperty("notReportableMinVersion")) {
|
|
272
|
+
properties._notReportableMinVersion = 1;
|
|
273
|
+
if (!$util.isInteger(message.notReportableMinVersion))
|
|
274
|
+
return "notReportableMinVersion: integer expected";
|
|
275
|
+
}
|
|
276
|
+
if (message.isMessage != null && message.hasOwnProperty("isMessage")) {
|
|
277
|
+
properties._isMessage = 1;
|
|
278
|
+
if (typeof message.isMessage !== "boolean")
|
|
279
|
+
return "isMessage: boolean expected";
|
|
280
|
+
}
|
|
281
|
+
if (message.subfield != null && message.hasOwnProperty("subfield")) {
|
|
282
|
+
if (!$util.isObject(message.subfield))
|
|
283
|
+
return "subfield: object expected";
|
|
284
|
+
var key = Object.keys(message.subfield);
|
|
285
|
+
for (var i = 0; i < key.length; ++i) {
|
|
286
|
+
if (!$util.key32Re.test(key[i]))
|
|
287
|
+
return "subfield: integer key{k:uint32} expected";
|
|
288
|
+
{
|
|
289
|
+
var error = $root.Reporting.Field.verify(message.subfield[key[i]]);
|
|
290
|
+
if (error)
|
|
291
|
+
return "subfield." + error;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
return null;
|
|
296
|
+
};
|
|
297
|
+
/**
|
|
298
|
+
* Creates a Field message from a plain object. Also converts values to their respective internal types.
|
|
299
|
+
* @function fromObject
|
|
300
|
+
* @memberof Reporting.Field
|
|
301
|
+
* @static
|
|
302
|
+
* @param {Object.<string,*>} object Plain object
|
|
303
|
+
* @returns {Reporting.Field} Field
|
|
304
|
+
*/
|
|
305
|
+
Field.fromObject = function fromObject(object) {
|
|
306
|
+
if (object instanceof $root.Reporting.Field)
|
|
307
|
+
return object;
|
|
308
|
+
var message = new $root.Reporting.Field();
|
|
309
|
+
if (object.minVersion != null)
|
|
310
|
+
message.minVersion = object.minVersion >>> 0;
|
|
311
|
+
if (object.maxVersion != null)
|
|
312
|
+
message.maxVersion = object.maxVersion >>> 0;
|
|
313
|
+
if (object.notReportableMinVersion != null)
|
|
314
|
+
message.notReportableMinVersion = object.notReportableMinVersion >>> 0;
|
|
315
|
+
if (object.isMessage != null)
|
|
316
|
+
message.isMessage = Boolean(object.isMessage);
|
|
317
|
+
if (object.subfield) {
|
|
318
|
+
if (typeof object.subfield !== "object")
|
|
319
|
+
throw TypeError(".Reporting.Field.subfield: object expected");
|
|
320
|
+
message.subfield = {};
|
|
321
|
+
for (var keys = Object.keys(object.subfield), i = 0; i < keys.length; ++i) {
|
|
322
|
+
if (typeof object.subfield[keys[i]] !== "object")
|
|
323
|
+
throw TypeError(".Reporting.Field.subfield: object expected");
|
|
324
|
+
message.subfield[keys[i]] = $root.Reporting.Field.fromObject(object.subfield[keys[i]]);
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
return message;
|
|
328
|
+
};
|
|
329
|
+
/**
|
|
330
|
+
* Creates a plain object from a Field message. Also converts values to other types if specified.
|
|
331
|
+
* @function toObject
|
|
332
|
+
* @memberof Reporting.Field
|
|
333
|
+
* @static
|
|
334
|
+
* @param {Reporting.Field} message Field
|
|
335
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
336
|
+
* @returns {Object.<string,*>} Plain object
|
|
337
|
+
*/
|
|
338
|
+
Field.toObject = function toObject(message, options) {
|
|
339
|
+
if (!options)
|
|
340
|
+
options = {};
|
|
341
|
+
var object = {};
|
|
342
|
+
if (options.objects || options.defaults)
|
|
343
|
+
object.subfield = {};
|
|
344
|
+
if (message.minVersion != null && message.hasOwnProperty("minVersion")) {
|
|
345
|
+
object.minVersion = message.minVersion;
|
|
346
|
+
if (options.oneofs)
|
|
347
|
+
object._minVersion = "minVersion";
|
|
348
|
+
}
|
|
349
|
+
if (message.maxVersion != null && message.hasOwnProperty("maxVersion")) {
|
|
350
|
+
object.maxVersion = message.maxVersion;
|
|
351
|
+
if (options.oneofs)
|
|
352
|
+
object._maxVersion = "maxVersion";
|
|
353
|
+
}
|
|
354
|
+
if (message.notReportableMinVersion != null && message.hasOwnProperty("notReportableMinVersion")) {
|
|
355
|
+
object.notReportableMinVersion = message.notReportableMinVersion;
|
|
356
|
+
if (options.oneofs)
|
|
357
|
+
object._notReportableMinVersion = "notReportableMinVersion";
|
|
358
|
+
}
|
|
359
|
+
if (message.isMessage != null && message.hasOwnProperty("isMessage")) {
|
|
360
|
+
object.isMessage = message.isMessage;
|
|
361
|
+
if (options.oneofs)
|
|
362
|
+
object._isMessage = "isMessage";
|
|
363
|
+
}
|
|
364
|
+
var keys2;
|
|
365
|
+
if (message.subfield && (keys2 = Object.keys(message.subfield)).length) {
|
|
366
|
+
object.subfield = {};
|
|
367
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
368
|
+
object.subfield[keys2[j]] = $root.Reporting.Field.toObject(message.subfield[keys2[j]], options);
|
|
369
|
+
}
|
|
370
|
+
return object;
|
|
371
|
+
};
|
|
372
|
+
/**
|
|
373
|
+
* Converts this Field to JSON.
|
|
374
|
+
* @function toJSON
|
|
375
|
+
* @memberof Reporting.Field
|
|
376
|
+
* @instance
|
|
377
|
+
* @returns {Object.<string,*>} JSON object
|
|
378
|
+
*/
|
|
379
|
+
Field.prototype.toJSON = function toJSON() {
|
|
380
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
381
|
+
};
|
|
382
|
+
/**
|
|
383
|
+
* Gets the default type url for Field
|
|
384
|
+
* @function getTypeUrl
|
|
385
|
+
* @memberof Reporting.Field
|
|
386
|
+
* @static
|
|
387
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
388
|
+
* @returns {string} The default type url
|
|
389
|
+
*/
|
|
390
|
+
Field.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
391
|
+
if (typeUrlPrefix === undefined) {
|
|
392
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
393
|
+
}
|
|
394
|
+
return typeUrlPrefix + "/Reporting.Field";
|
|
395
|
+
};
|
|
396
|
+
return Field;
|
|
397
|
+
})();
|
|
398
|
+
Reporting.Config = (function() {
|
|
399
|
+
/**
|
|
400
|
+
* Properties of a Config.
|
|
401
|
+
* @memberof Reporting
|
|
402
|
+
* @interface IConfig
|
|
403
|
+
* @property {Object.<string,Reporting.IField>|null} [field] Config field
|
|
404
|
+
* @property {number|null} [version] Config version
|
|
405
|
+
*/
|
|
406
|
+
/**
|
|
407
|
+
* Constructs a new Config.
|
|
408
|
+
* @memberof Reporting
|
|
409
|
+
* @classdesc Represents a Config.
|
|
410
|
+
* @implements IConfig
|
|
411
|
+
* @constructor
|
|
412
|
+
* @param {Reporting.IConfig=} [properties] Properties to set
|
|
413
|
+
*/
|
|
414
|
+
function Config(properties) {
|
|
415
|
+
this.field = {};
|
|
416
|
+
if (properties)
|
|
417
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
418
|
+
if (properties[keys[i]] != null)
|
|
419
|
+
this[keys[i]] = properties[keys[i]];
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
* Config field.
|
|
423
|
+
* @member {Object.<string,Reporting.IField>} field
|
|
424
|
+
* @memberof Reporting.Config
|
|
425
|
+
* @instance
|
|
426
|
+
*/
|
|
427
|
+
Config.prototype.field = $util.emptyObject;
|
|
428
|
+
/**
|
|
429
|
+
* Config version.
|
|
430
|
+
* @member {number|null|undefined} version
|
|
431
|
+
* @memberof Reporting.Config
|
|
432
|
+
* @instance
|
|
433
|
+
*/
|
|
434
|
+
Config.prototype.version = null;
|
|
435
|
+
// OneOf field names bound to virtual getters and setters
|
|
436
|
+
var $oneOfFields;
|
|
437
|
+
/**
|
|
438
|
+
* Config _version.
|
|
439
|
+
* @member {"version"|undefined} _version
|
|
440
|
+
* @memberof Reporting.Config
|
|
441
|
+
* @instance
|
|
442
|
+
*/
|
|
443
|
+
Object.defineProperty(Config.prototype, "_version", {
|
|
444
|
+
get: $util.oneOfGetter($oneOfFields = ["version"]),
|
|
445
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
446
|
+
});
|
|
447
|
+
/**
|
|
448
|
+
* Creates a new Config instance using the specified properties.
|
|
449
|
+
* @function create
|
|
450
|
+
* @memberof Reporting.Config
|
|
451
|
+
* @static
|
|
452
|
+
* @param {Reporting.IConfig=} [properties] Properties to set
|
|
453
|
+
* @returns {Reporting.Config} Config instance
|
|
454
|
+
*/
|
|
455
|
+
Config.create = function create(properties) {
|
|
456
|
+
return new Config(properties);
|
|
457
|
+
};
|
|
458
|
+
/**
|
|
459
|
+
* Encodes the specified Config message. Does not implicitly {@link Reporting.Config.verify|verify} messages.
|
|
460
|
+
* @function encode
|
|
461
|
+
* @memberof Reporting.Config
|
|
462
|
+
* @static
|
|
463
|
+
* @param {Reporting.IConfig} message Config message or plain object to encode
|
|
464
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
465
|
+
* @returns {$protobuf.Writer} Writer
|
|
466
|
+
*/
|
|
467
|
+
Config.encode = function encode(message, writer) {
|
|
468
|
+
if (!writer)
|
|
469
|
+
writer = $Writer.create();
|
|
470
|
+
if (message.field != null && Object.hasOwnProperty.call(message, "field"))
|
|
471
|
+
for (var keys = Object.keys(message.field), i = 0; i < keys.length; ++i) {
|
|
472
|
+
writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 0 =*/8).uint32(keys[i]);
|
|
473
|
+
$root.Reporting.Field.encode(message.field[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
474
|
+
}
|
|
475
|
+
if (message.version != null && Object.hasOwnProperty.call(message, "version"))
|
|
476
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.version);
|
|
477
|
+
return writer;
|
|
478
|
+
};
|
|
479
|
+
/**
|
|
480
|
+
* Encodes the specified Config message, length delimited. Does not implicitly {@link Reporting.Config.verify|verify} messages.
|
|
481
|
+
* @function encodeDelimited
|
|
482
|
+
* @memberof Reporting.Config
|
|
483
|
+
* @static
|
|
484
|
+
* @param {Reporting.IConfig} message Config message or plain object to encode
|
|
485
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
486
|
+
* @returns {$protobuf.Writer} Writer
|
|
487
|
+
*/
|
|
488
|
+
Config.encodeDelimited = function encodeDelimited(message, writer) {
|
|
489
|
+
return this.encode(message, writer).ldelim();
|
|
490
|
+
};
|
|
491
|
+
/**
|
|
492
|
+
* Decodes a Config message from the specified reader or buffer.
|
|
493
|
+
* @function decode
|
|
494
|
+
* @memberof Reporting.Config
|
|
495
|
+
* @static
|
|
496
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
497
|
+
* @param {number} [length] Message length if known beforehand
|
|
498
|
+
* @returns {Reporting.Config} Config
|
|
499
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
500
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
501
|
+
*/
|
|
502
|
+
Config.decode = function decode(reader, length, error) {
|
|
503
|
+
if (!(reader instanceof $Reader))
|
|
504
|
+
reader = $Reader.create(reader);
|
|
505
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.Reporting.Config(), key, value;
|
|
506
|
+
while (reader.pos < end) {
|
|
507
|
+
var tag = reader.uint32();
|
|
508
|
+
if (tag === error)
|
|
509
|
+
break;
|
|
510
|
+
switch (tag >>> 3) {
|
|
511
|
+
case 1: {
|
|
512
|
+
if (message.field === $util.emptyObject)
|
|
513
|
+
message.field = {};
|
|
514
|
+
var end2 = reader.uint32() + reader.pos;
|
|
515
|
+
key = 0;
|
|
516
|
+
value = null;
|
|
517
|
+
while (reader.pos < end2) {
|
|
518
|
+
var tag2 = reader.uint32();
|
|
519
|
+
switch (tag2 >>> 3) {
|
|
520
|
+
case 1:
|
|
521
|
+
key = reader.uint32();
|
|
522
|
+
break;
|
|
523
|
+
case 2:
|
|
524
|
+
value = $root.Reporting.Field.decode(reader, reader.uint32());
|
|
525
|
+
break;
|
|
526
|
+
default:
|
|
527
|
+
reader.skipType(tag2 & 7);
|
|
528
|
+
break;
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
message.field[key] = value;
|
|
532
|
+
break;
|
|
533
|
+
}
|
|
534
|
+
case 2: {
|
|
535
|
+
message.version = reader.uint32();
|
|
536
|
+
break;
|
|
537
|
+
}
|
|
538
|
+
default:
|
|
539
|
+
reader.skipType(tag & 7);
|
|
540
|
+
break;
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
return message;
|
|
544
|
+
};
|
|
545
|
+
/**
|
|
546
|
+
* Decodes a Config message from the specified reader or buffer, length delimited.
|
|
547
|
+
* @function decodeDelimited
|
|
548
|
+
* @memberof Reporting.Config
|
|
549
|
+
* @static
|
|
550
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
551
|
+
* @returns {Reporting.Config} Config
|
|
552
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
553
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
554
|
+
*/
|
|
555
|
+
Config.decodeDelimited = function decodeDelimited(reader) {
|
|
556
|
+
if (!(reader instanceof $Reader))
|
|
557
|
+
reader = new $Reader(reader);
|
|
558
|
+
return this.decode(reader, reader.uint32());
|
|
559
|
+
};
|
|
560
|
+
/**
|
|
561
|
+
* Verifies a Config message.
|
|
562
|
+
* @function verify
|
|
563
|
+
* @memberof Reporting.Config
|
|
564
|
+
* @static
|
|
565
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
566
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
567
|
+
*/
|
|
568
|
+
Config.verify = function verify(message) {
|
|
569
|
+
if (typeof message !== "object" || message === null)
|
|
570
|
+
return "object expected";
|
|
571
|
+
var properties = {};
|
|
572
|
+
if (message.field != null && message.hasOwnProperty("field")) {
|
|
573
|
+
if (!$util.isObject(message.field))
|
|
574
|
+
return "field: object expected";
|
|
575
|
+
var key = Object.keys(message.field);
|
|
576
|
+
for (var i = 0; i < key.length; ++i) {
|
|
577
|
+
if (!$util.key32Re.test(key[i]))
|
|
578
|
+
return "field: integer key{k:uint32} expected";
|
|
579
|
+
{
|
|
580
|
+
var error = $root.Reporting.Field.verify(message.field[key[i]]);
|
|
581
|
+
if (error)
|
|
582
|
+
return "field." + error;
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
if (message.version != null && message.hasOwnProperty("version")) {
|
|
587
|
+
properties._version = 1;
|
|
588
|
+
if (!$util.isInteger(message.version))
|
|
589
|
+
return "version: integer expected";
|
|
590
|
+
}
|
|
591
|
+
return null;
|
|
592
|
+
};
|
|
593
|
+
/**
|
|
594
|
+
* Creates a Config message from a plain object. Also converts values to their respective internal types.
|
|
595
|
+
* @function fromObject
|
|
596
|
+
* @memberof Reporting.Config
|
|
597
|
+
* @static
|
|
598
|
+
* @param {Object.<string,*>} object Plain object
|
|
599
|
+
* @returns {Reporting.Config} Config
|
|
600
|
+
*/
|
|
601
|
+
Config.fromObject = function fromObject(object) {
|
|
602
|
+
if (object instanceof $root.Reporting.Config)
|
|
603
|
+
return object;
|
|
604
|
+
var message = new $root.Reporting.Config();
|
|
605
|
+
if (object.field) {
|
|
606
|
+
if (typeof object.field !== "object")
|
|
607
|
+
throw TypeError(".Reporting.Config.field: object expected");
|
|
608
|
+
message.field = {};
|
|
609
|
+
for (var keys = Object.keys(object.field), i = 0; i < keys.length; ++i) {
|
|
610
|
+
if (typeof object.field[keys[i]] !== "object")
|
|
611
|
+
throw TypeError(".Reporting.Config.field: object expected");
|
|
612
|
+
message.field[keys[i]] = $root.Reporting.Field.fromObject(object.field[keys[i]]);
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
if (object.version != null)
|
|
616
|
+
message.version = object.version >>> 0;
|
|
617
|
+
return message;
|
|
618
|
+
};
|
|
619
|
+
/**
|
|
620
|
+
* Creates a plain object from a Config message. Also converts values to other types if specified.
|
|
621
|
+
* @function toObject
|
|
622
|
+
* @memberof Reporting.Config
|
|
623
|
+
* @static
|
|
624
|
+
* @param {Reporting.Config} message Config
|
|
625
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
626
|
+
* @returns {Object.<string,*>} Plain object
|
|
627
|
+
*/
|
|
628
|
+
Config.toObject = function toObject(message, options) {
|
|
629
|
+
if (!options)
|
|
630
|
+
options = {};
|
|
631
|
+
var object = {};
|
|
632
|
+
if (options.objects || options.defaults)
|
|
633
|
+
object.field = {};
|
|
634
|
+
var keys2;
|
|
635
|
+
if (message.field && (keys2 = Object.keys(message.field)).length) {
|
|
636
|
+
object.field = {};
|
|
637
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
638
|
+
object.field[keys2[j]] = $root.Reporting.Field.toObject(message.field[keys2[j]], options);
|
|
639
|
+
}
|
|
640
|
+
if (message.version != null && message.hasOwnProperty("version")) {
|
|
641
|
+
object.version = message.version;
|
|
642
|
+
if (options.oneofs)
|
|
643
|
+
object._version = "version";
|
|
644
|
+
}
|
|
645
|
+
return object;
|
|
646
|
+
};
|
|
647
|
+
/**
|
|
648
|
+
* Converts this Config to JSON.
|
|
649
|
+
* @function toJSON
|
|
650
|
+
* @memberof Reporting.Config
|
|
651
|
+
* @instance
|
|
652
|
+
* @returns {Object.<string,*>} JSON object
|
|
653
|
+
*/
|
|
654
|
+
Config.prototype.toJSON = function toJSON() {
|
|
655
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
656
|
+
};
|
|
657
|
+
/**
|
|
658
|
+
* Gets the default type url for Config
|
|
659
|
+
* @function getTypeUrl
|
|
660
|
+
* @memberof Reporting.Config
|
|
661
|
+
* @static
|
|
662
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
663
|
+
* @returns {string} The default type url
|
|
664
|
+
*/
|
|
665
|
+
Config.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
666
|
+
if (typeUrlPrefix === undefined) {
|
|
667
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
668
|
+
}
|
|
669
|
+
return typeUrlPrefix + "/Reporting.Config";
|
|
670
|
+
};
|
|
671
|
+
return Config;
|
|
672
|
+
})();
|
|
673
|
+
Reporting.Reportable = (function() {
|
|
674
|
+
/**
|
|
675
|
+
* Properties of a Reportable.
|
|
676
|
+
* @memberof Reporting
|
|
677
|
+
* @interface IReportable
|
|
678
|
+
* @property {number|null} [minVersion] Reportable minVersion
|
|
679
|
+
* @property {number|null} [maxVersion] Reportable maxVersion
|
|
680
|
+
* @property {number|null} [notReportableMinVersion] Reportable notReportableMinVersion
|
|
681
|
+
* @property {boolean|null} [never] Reportable never
|
|
682
|
+
*/
|
|
683
|
+
/**
|
|
684
|
+
* Constructs a new Reportable.
|
|
685
|
+
* @memberof Reporting
|
|
686
|
+
* @classdesc Represents a Reportable.
|
|
687
|
+
* @implements IReportable
|
|
688
|
+
* @constructor
|
|
689
|
+
* @param {Reporting.IReportable=} [properties] Properties to set
|
|
690
|
+
*/
|
|
691
|
+
function Reportable(properties) {
|
|
692
|
+
if (properties)
|
|
693
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
694
|
+
if (properties[keys[i]] != null)
|
|
695
|
+
this[keys[i]] = properties[keys[i]];
|
|
696
|
+
}
|
|
697
|
+
/**
|
|
698
|
+
* Reportable minVersion.
|
|
699
|
+
* @member {number|null|undefined} minVersion
|
|
700
|
+
* @memberof Reporting.Reportable
|
|
701
|
+
* @instance
|
|
702
|
+
*/
|
|
703
|
+
Reportable.prototype.minVersion = null;
|
|
704
|
+
/**
|
|
705
|
+
* Reportable maxVersion.
|
|
706
|
+
* @member {number|null|undefined} maxVersion
|
|
707
|
+
* @memberof Reporting.Reportable
|
|
708
|
+
* @instance
|
|
709
|
+
*/
|
|
710
|
+
Reportable.prototype.maxVersion = null;
|
|
711
|
+
/**
|
|
712
|
+
* Reportable notReportableMinVersion.
|
|
713
|
+
* @member {number|null|undefined} notReportableMinVersion
|
|
714
|
+
* @memberof Reporting.Reportable
|
|
715
|
+
* @instance
|
|
716
|
+
*/
|
|
717
|
+
Reportable.prototype.notReportableMinVersion = null;
|
|
718
|
+
/**
|
|
719
|
+
* Reportable never.
|
|
720
|
+
* @member {boolean|null|undefined} never
|
|
721
|
+
* @memberof Reporting.Reportable
|
|
722
|
+
* @instance
|
|
723
|
+
*/
|
|
724
|
+
Reportable.prototype.never = null;
|
|
725
|
+
// OneOf field names bound to virtual getters and setters
|
|
726
|
+
var $oneOfFields;
|
|
727
|
+
/**
|
|
728
|
+
* Reportable _minVersion.
|
|
729
|
+
* @member {"minVersion"|undefined} _minVersion
|
|
730
|
+
* @memberof Reporting.Reportable
|
|
731
|
+
* @instance
|
|
732
|
+
*/
|
|
733
|
+
Object.defineProperty(Reportable.prototype, "_minVersion", {
|
|
734
|
+
get: $util.oneOfGetter($oneOfFields = ["minVersion"]),
|
|
735
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
736
|
+
});
|
|
737
|
+
/**
|
|
738
|
+
* Reportable _maxVersion.
|
|
739
|
+
* @member {"maxVersion"|undefined} _maxVersion
|
|
740
|
+
* @memberof Reporting.Reportable
|
|
741
|
+
* @instance
|
|
742
|
+
*/
|
|
743
|
+
Object.defineProperty(Reportable.prototype, "_maxVersion", {
|
|
744
|
+
get: $util.oneOfGetter($oneOfFields = ["maxVersion"]),
|
|
745
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
746
|
+
});
|
|
747
|
+
/**
|
|
748
|
+
* Reportable _notReportableMinVersion.
|
|
749
|
+
* @member {"notReportableMinVersion"|undefined} _notReportableMinVersion
|
|
750
|
+
* @memberof Reporting.Reportable
|
|
751
|
+
* @instance
|
|
752
|
+
*/
|
|
753
|
+
Object.defineProperty(Reportable.prototype, "_notReportableMinVersion", {
|
|
754
|
+
get: $util.oneOfGetter($oneOfFields = ["notReportableMinVersion"]),
|
|
755
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
756
|
+
});
|
|
757
|
+
/**
|
|
758
|
+
* Reportable _never.
|
|
759
|
+
* @member {"never"|undefined} _never
|
|
760
|
+
* @memberof Reporting.Reportable
|
|
761
|
+
* @instance
|
|
762
|
+
*/
|
|
763
|
+
Object.defineProperty(Reportable.prototype, "_never", {
|
|
764
|
+
get: $util.oneOfGetter($oneOfFields = ["never"]),
|
|
765
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
766
|
+
});
|
|
767
|
+
/**
|
|
768
|
+
* Creates a new Reportable instance using the specified properties.
|
|
769
|
+
* @function create
|
|
770
|
+
* @memberof Reporting.Reportable
|
|
771
|
+
* @static
|
|
772
|
+
* @param {Reporting.IReportable=} [properties] Properties to set
|
|
773
|
+
* @returns {Reporting.Reportable} Reportable instance
|
|
774
|
+
*/
|
|
775
|
+
Reportable.create = function create(properties) {
|
|
776
|
+
return new Reportable(properties);
|
|
777
|
+
};
|
|
778
|
+
/**
|
|
779
|
+
* Encodes the specified Reportable message. Does not implicitly {@link Reporting.Reportable.verify|verify} messages.
|
|
780
|
+
* @function encode
|
|
781
|
+
* @memberof Reporting.Reportable
|
|
782
|
+
* @static
|
|
783
|
+
* @param {Reporting.IReportable} message Reportable message or plain object to encode
|
|
784
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
785
|
+
* @returns {$protobuf.Writer} Writer
|
|
786
|
+
*/
|
|
787
|
+
Reportable.encode = function encode(message, writer) {
|
|
788
|
+
if (!writer)
|
|
789
|
+
writer = $Writer.create();
|
|
790
|
+
if (message.minVersion != null && Object.hasOwnProperty.call(message, "minVersion"))
|
|
791
|
+
writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.minVersion);
|
|
792
|
+
if (message.maxVersion != null && Object.hasOwnProperty.call(message, "maxVersion"))
|
|
793
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.maxVersion);
|
|
794
|
+
if (message.notReportableMinVersion != null && Object.hasOwnProperty.call(message, "notReportableMinVersion"))
|
|
795
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.notReportableMinVersion);
|
|
796
|
+
if (message.never != null && Object.hasOwnProperty.call(message, "never"))
|
|
797
|
+
writer.uint32(/* id 4, wireType 0 =*/32).bool(message.never);
|
|
798
|
+
return writer;
|
|
799
|
+
};
|
|
800
|
+
/**
|
|
801
|
+
* Encodes the specified Reportable message, length delimited. Does not implicitly {@link Reporting.Reportable.verify|verify} messages.
|
|
802
|
+
* @function encodeDelimited
|
|
803
|
+
* @memberof Reporting.Reportable
|
|
804
|
+
* @static
|
|
805
|
+
* @param {Reporting.IReportable} message Reportable message or plain object to encode
|
|
806
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
807
|
+
* @returns {$protobuf.Writer} Writer
|
|
808
|
+
*/
|
|
809
|
+
Reportable.encodeDelimited = function encodeDelimited(message, writer) {
|
|
810
|
+
return this.encode(message, writer).ldelim();
|
|
811
|
+
};
|
|
812
|
+
/**
|
|
813
|
+
* Decodes a Reportable message from the specified reader or buffer.
|
|
814
|
+
* @function decode
|
|
815
|
+
* @memberof Reporting.Reportable
|
|
816
|
+
* @static
|
|
817
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
818
|
+
* @param {number} [length] Message length if known beforehand
|
|
819
|
+
* @returns {Reporting.Reportable} Reportable
|
|
820
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
821
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
822
|
+
*/
|
|
823
|
+
Reportable.decode = function decode(reader, length, error) {
|
|
824
|
+
if (!(reader instanceof $Reader))
|
|
825
|
+
reader = $Reader.create(reader);
|
|
826
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.Reporting.Reportable();
|
|
827
|
+
while (reader.pos < end) {
|
|
828
|
+
var tag = reader.uint32();
|
|
829
|
+
if (tag === error)
|
|
830
|
+
break;
|
|
831
|
+
switch (tag >>> 3) {
|
|
832
|
+
case 1: {
|
|
833
|
+
message.minVersion = reader.uint32();
|
|
834
|
+
break;
|
|
835
|
+
}
|
|
836
|
+
case 2: {
|
|
837
|
+
message.maxVersion = reader.uint32();
|
|
838
|
+
break;
|
|
839
|
+
}
|
|
840
|
+
case 3: {
|
|
841
|
+
message.notReportableMinVersion = reader.uint32();
|
|
842
|
+
break;
|
|
843
|
+
}
|
|
844
|
+
case 4: {
|
|
845
|
+
message.never = reader.bool();
|
|
846
|
+
break;
|
|
847
|
+
}
|
|
848
|
+
default:
|
|
849
|
+
reader.skipType(tag & 7);
|
|
850
|
+
break;
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
return message;
|
|
854
|
+
};
|
|
855
|
+
/**
|
|
856
|
+
* Decodes a Reportable message from the specified reader or buffer, length delimited.
|
|
857
|
+
* @function decodeDelimited
|
|
858
|
+
* @memberof Reporting.Reportable
|
|
859
|
+
* @static
|
|
860
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
861
|
+
* @returns {Reporting.Reportable} Reportable
|
|
862
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
863
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
864
|
+
*/
|
|
865
|
+
Reportable.decodeDelimited = function decodeDelimited(reader) {
|
|
866
|
+
if (!(reader instanceof $Reader))
|
|
867
|
+
reader = new $Reader(reader);
|
|
868
|
+
return this.decode(reader, reader.uint32());
|
|
869
|
+
};
|
|
870
|
+
/**
|
|
871
|
+
* Verifies a Reportable message.
|
|
872
|
+
* @function verify
|
|
873
|
+
* @memberof Reporting.Reportable
|
|
874
|
+
* @static
|
|
875
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
876
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
877
|
+
*/
|
|
878
|
+
Reportable.verify = function verify(message) {
|
|
879
|
+
if (typeof message !== "object" || message === null)
|
|
880
|
+
return "object expected";
|
|
881
|
+
var properties = {};
|
|
882
|
+
if (message.minVersion != null && message.hasOwnProperty("minVersion")) {
|
|
883
|
+
properties._minVersion = 1;
|
|
884
|
+
if (!$util.isInteger(message.minVersion))
|
|
885
|
+
return "minVersion: integer expected";
|
|
886
|
+
}
|
|
887
|
+
if (message.maxVersion != null && message.hasOwnProperty("maxVersion")) {
|
|
888
|
+
properties._maxVersion = 1;
|
|
889
|
+
if (!$util.isInteger(message.maxVersion))
|
|
890
|
+
return "maxVersion: integer expected";
|
|
891
|
+
}
|
|
892
|
+
if (message.notReportableMinVersion != null && message.hasOwnProperty("notReportableMinVersion")) {
|
|
893
|
+
properties._notReportableMinVersion = 1;
|
|
894
|
+
if (!$util.isInteger(message.notReportableMinVersion))
|
|
895
|
+
return "notReportableMinVersion: integer expected";
|
|
896
|
+
}
|
|
897
|
+
if (message.never != null && message.hasOwnProperty("never")) {
|
|
898
|
+
properties._never = 1;
|
|
899
|
+
if (typeof message.never !== "boolean")
|
|
900
|
+
return "never: boolean expected";
|
|
901
|
+
}
|
|
902
|
+
return null;
|
|
903
|
+
};
|
|
904
|
+
/**
|
|
905
|
+
* Creates a Reportable message from a plain object. Also converts values to their respective internal types.
|
|
906
|
+
* @function fromObject
|
|
907
|
+
* @memberof Reporting.Reportable
|
|
908
|
+
* @static
|
|
909
|
+
* @param {Object.<string,*>} object Plain object
|
|
910
|
+
* @returns {Reporting.Reportable} Reportable
|
|
911
|
+
*/
|
|
912
|
+
Reportable.fromObject = function fromObject(object) {
|
|
913
|
+
if (object instanceof $root.Reporting.Reportable)
|
|
914
|
+
return object;
|
|
915
|
+
var message = new $root.Reporting.Reportable();
|
|
916
|
+
if (object.minVersion != null)
|
|
917
|
+
message.minVersion = object.minVersion >>> 0;
|
|
918
|
+
if (object.maxVersion != null)
|
|
919
|
+
message.maxVersion = object.maxVersion >>> 0;
|
|
920
|
+
if (object.notReportableMinVersion != null)
|
|
921
|
+
message.notReportableMinVersion = object.notReportableMinVersion >>> 0;
|
|
922
|
+
if (object.never != null)
|
|
923
|
+
message.never = Boolean(object.never);
|
|
924
|
+
return message;
|
|
925
|
+
};
|
|
926
|
+
/**
|
|
927
|
+
* Creates a plain object from a Reportable message. Also converts values to other types if specified.
|
|
928
|
+
* @function toObject
|
|
929
|
+
* @memberof Reporting.Reportable
|
|
930
|
+
* @static
|
|
931
|
+
* @param {Reporting.Reportable} message Reportable
|
|
932
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
933
|
+
* @returns {Object.<string,*>} Plain object
|
|
934
|
+
*/
|
|
935
|
+
Reportable.toObject = function toObject(message, options) {
|
|
936
|
+
if (!options)
|
|
937
|
+
options = {};
|
|
938
|
+
var object = {};
|
|
939
|
+
if (message.minVersion != null && message.hasOwnProperty("minVersion")) {
|
|
940
|
+
object.minVersion = message.minVersion;
|
|
941
|
+
if (options.oneofs)
|
|
942
|
+
object._minVersion = "minVersion";
|
|
943
|
+
}
|
|
944
|
+
if (message.maxVersion != null && message.hasOwnProperty("maxVersion")) {
|
|
945
|
+
object.maxVersion = message.maxVersion;
|
|
946
|
+
if (options.oneofs)
|
|
947
|
+
object._maxVersion = "maxVersion";
|
|
948
|
+
}
|
|
949
|
+
if (message.notReportableMinVersion != null && message.hasOwnProperty("notReportableMinVersion")) {
|
|
950
|
+
object.notReportableMinVersion = message.notReportableMinVersion;
|
|
951
|
+
if (options.oneofs)
|
|
952
|
+
object._notReportableMinVersion = "notReportableMinVersion";
|
|
953
|
+
}
|
|
954
|
+
if (message.never != null && message.hasOwnProperty("never")) {
|
|
955
|
+
object.never = message.never;
|
|
956
|
+
if (options.oneofs)
|
|
957
|
+
object._never = "never";
|
|
958
|
+
}
|
|
959
|
+
return object;
|
|
960
|
+
};
|
|
961
|
+
/**
|
|
962
|
+
* Converts this Reportable to JSON.
|
|
963
|
+
* @function toJSON
|
|
964
|
+
* @memberof Reporting.Reportable
|
|
965
|
+
* @instance
|
|
966
|
+
* @returns {Object.<string,*>} JSON object
|
|
967
|
+
*/
|
|
968
|
+
Reportable.prototype.toJSON = function toJSON() {
|
|
969
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
970
|
+
};
|
|
971
|
+
/**
|
|
972
|
+
* Gets the default type url for Reportable
|
|
973
|
+
* @function getTypeUrl
|
|
974
|
+
* @memberof Reporting.Reportable
|
|
975
|
+
* @static
|
|
976
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
977
|
+
* @returns {string} The default type url
|
|
978
|
+
*/
|
|
979
|
+
Reportable.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
980
|
+
if (typeUrlPrefix === undefined) {
|
|
981
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
982
|
+
}
|
|
983
|
+
return typeUrlPrefix + "/Reporting.Reportable";
|
|
984
|
+
};
|
|
985
|
+
return Reportable;
|
|
986
|
+
})();
|
|
987
|
+
return Reporting;
|
|
988
|
+
})();
|
|
989
|
+
module.exports = $root;
|