UNPKG

sanka-baileyss

Version:

WhatsApp API Modification By Sanka_Vollerei

1,200 lines (1,199 loc) 1.28 MB
import * as $protobuf from "protobufjs"; import Long = require("long"); /** Namespace MdStorageMsgRowOpaqueData. */ export namespace MdStorageMsgRowOpaqueData { /** Properties of a MsgOpaqueData. */ interface IMsgOpaqueData { /** MsgOpaqueData body */ body?: (string|null); /** MsgOpaqueData caption */ caption?: (string|null); /** MsgOpaqueData lng */ lng?: (number|null); /** MsgOpaqueData isLive */ isLive?: (boolean|null); /** MsgOpaqueData lat */ lat?: (number|null); /** MsgOpaqueData paymentAmount1000 */ paymentAmount1000?: (number|null); /** MsgOpaqueData paymentNoteMsgBody */ paymentNoteMsgBody?: (string|null); /** MsgOpaqueData matchedText */ matchedText?: (string|null); /** MsgOpaqueData title */ title?: (string|null); /** MsgOpaqueData description */ description?: (string|null); /** MsgOpaqueData futureproofBuffer */ futureproofBuffer?: (Uint8Array|null); /** MsgOpaqueData clientUrl */ clientUrl?: (string|null); /** MsgOpaqueData loc */ loc?: (string|null); /** MsgOpaqueData pollName */ pollName?: (string|null); /** MsgOpaqueData pollOptions */ pollOptions?: (MdStorageMsgRowOpaqueData.MsgOpaqueData.IPollOption[]|null); /** MsgOpaqueData pollSelectableOptionsCount */ pollSelectableOptionsCount?: (number|null); /** MsgOpaqueData messageSecret */ messageSecret?: (Uint8Array|null); /** MsgOpaqueData originalSelfAuthor */ originalSelfAuthor?: (string|null); /** MsgOpaqueData senderTimestampMs */ senderTimestampMs?: (number|Long|null); /** MsgOpaqueData pollUpdateParentKey */ pollUpdateParentKey?: (string|null); /** MsgOpaqueData encPollVote */ encPollVote?: (E2E.Message.IPollEncValue|null); /** MsgOpaqueData isSentCagPollCreation */ isSentCagPollCreation?: (boolean|null); /** MsgOpaqueData pollContentType */ pollContentType?: (MdStorageMsgRowOpaqueData.MsgOpaqueData.PollContentType|null); /** MsgOpaqueData pollVotesSnapshot */ pollVotesSnapshot?: (MdStorageMsgRowOpaqueData.MsgOpaqueData.IPollVotesSnapshot|null); /** MsgOpaqueData encReactionTargetMessageKey */ encReactionTargetMessageKey?: (string|null); /** MsgOpaqueData encReactionEncPayload */ encReactionEncPayload?: (Uint8Array|null); /** MsgOpaqueData encReactionEncIv */ encReactionEncIv?: (Uint8Array|null); /** MsgOpaqueData botMessageSecret */ botMessageSecret?: (Uint8Array|null); /** MsgOpaqueData targetMessageKey */ targetMessageKey?: (string|null); /** MsgOpaqueData encPayload */ encPayload?: (Uint8Array|null); /** MsgOpaqueData encIv */ encIv?: (Uint8Array|null); /** MsgOpaqueData eventName */ eventName?: (string|null); /** MsgOpaqueData isEventCanceled */ isEventCanceled?: (boolean|null); /** MsgOpaqueData eventDescription */ eventDescription?: (string|null); /** MsgOpaqueData eventJoinLink */ eventJoinLink?: (string|null); /** MsgOpaqueData eventStartTime */ eventStartTime?: (number|Long|null); /** MsgOpaqueData eventLocation */ eventLocation?: (MdStorageMsgRowOpaqueData.MsgOpaqueData.IEventLocation|null); /** MsgOpaqueData eventEndTime */ eventEndTime?: (number|Long|null); /** MsgOpaqueData plainProtobufBytes */ plainProtobufBytes?: (Uint8Array|null); } /** Represents a MsgOpaqueData. */ class MsgOpaqueData implements IMsgOpaqueData { /** * Constructs a new MsgOpaqueData. * @param [properties] Properties to set */ constructor(properties?: MdStorageMsgRowOpaqueData.IMsgOpaqueData); /** MsgOpaqueData body. */ public body?: (string|null); /** MsgOpaqueData caption. */ public caption?: (string|null); /** MsgOpaqueData lng. */ public lng?: (number|null); /** MsgOpaqueData isLive. */ public isLive?: (boolean|null); /** MsgOpaqueData lat. */ public lat?: (number|null); /** MsgOpaqueData paymentAmount1000. */ public paymentAmount1000?: (number|null); /** MsgOpaqueData paymentNoteMsgBody. */ public paymentNoteMsgBody?: (string|null); /** MsgOpaqueData matchedText. */ public matchedText?: (string|null); /** MsgOpaqueData title. */ public title?: (string|null); /** MsgOpaqueData description. */ public description?: (string|null); /** MsgOpaqueData futureproofBuffer. */ public futureproofBuffer?: (Uint8Array|null); /** MsgOpaqueData clientUrl. */ public clientUrl?: (string|null); /** MsgOpaqueData loc. */ public loc?: (string|null); /** MsgOpaqueData pollName. */ public pollName?: (string|null); /** MsgOpaqueData pollOptions. */ public pollOptions: MdStorageMsgRowOpaqueData.MsgOpaqueData.IPollOption[]; /** MsgOpaqueData pollSelectableOptionsCount. */ public pollSelectableOptionsCount?: (number|null); /** MsgOpaqueData messageSecret. */ public messageSecret?: (Uint8Array|null); /** MsgOpaqueData originalSelfAuthor. */ public originalSelfAuthor?: (string|null); /** MsgOpaqueData senderTimestampMs. */ public senderTimestampMs?: (number|Long|null); /** MsgOpaqueData pollUpdateParentKey. */ public pollUpdateParentKey?: (string|null); /** MsgOpaqueData encPollVote. */ public encPollVote?: (E2E.Message.IPollEncValue|null); /** MsgOpaqueData isSentCagPollCreation. */ public isSentCagPollCreation?: (boolean|null); /** MsgOpaqueData pollContentType. */ public pollContentType?: (MdStorageMsgRowOpaqueData.MsgOpaqueData.PollContentType|null); /** MsgOpaqueData pollVotesSnapshot. */ public pollVotesSnapshot?: (MdStorageMsgRowOpaqueData.MsgOpaqueData.IPollVotesSnapshot|null); /** MsgOpaqueData encReactionTargetMessageKey. */ public encReactionTargetMessageKey?: (string|null); /** MsgOpaqueData encReactionEncPayload. */ public encReactionEncPayload?: (Uint8Array|null); /** MsgOpaqueData encReactionEncIv. */ public encReactionEncIv?: (Uint8Array|null); /** MsgOpaqueData botMessageSecret. */ public botMessageSecret?: (Uint8Array|null); /** MsgOpaqueData targetMessageKey. */ public targetMessageKey?: (string|null); /** MsgOpaqueData encPayload. */ public encPayload?: (Uint8Array|null); /** MsgOpaqueData encIv. */ public encIv?: (Uint8Array|null); /** MsgOpaqueData eventName. */ public eventName?: (string|null); /** MsgOpaqueData isEventCanceled. */ public isEventCanceled?: (boolean|null); /** MsgOpaqueData eventDescription. */ public eventDescription?: (string|null); /** MsgOpaqueData eventJoinLink. */ public eventJoinLink?: (string|null); /** MsgOpaqueData eventStartTime. */ public eventStartTime?: (number|Long|null); /** MsgOpaqueData eventLocation. */ public eventLocation?: (MdStorageMsgRowOpaqueData.MsgOpaqueData.IEventLocation|null); /** MsgOpaqueData eventEndTime. */ public eventEndTime?: (number|Long|null); /** MsgOpaqueData plainProtobufBytes. */ public plainProtobufBytes?: (Uint8Array|null); /** MsgOpaqueData _body. */ public _body?: "body"; /** MsgOpaqueData _caption. */ public _caption?: "caption"; /** MsgOpaqueData _lng. */ public _lng?: "lng"; /** MsgOpaqueData _isLive. */ public _isLive?: "isLive"; /** MsgOpaqueData _lat. */ public _lat?: "lat"; /** MsgOpaqueData _paymentAmount1000. */ public _paymentAmount1000?: "paymentAmount1000"; /** MsgOpaqueData _paymentNoteMsgBody. */ public _paymentNoteMsgBody?: "paymentNoteMsgBody"; /** MsgOpaqueData _matchedText. */ public _matchedText?: "matchedText"; /** MsgOpaqueData _title. */ public _title?: "title"; /** MsgOpaqueData _description. */ public _description?: "description"; /** MsgOpaqueData _futureproofBuffer. */ public _futureproofBuffer?: "futureproofBuffer"; /** MsgOpaqueData _clientUrl. */ public _clientUrl?: "clientUrl"; /** MsgOpaqueData _loc. */ public _loc?: "loc"; /** MsgOpaqueData _pollName. */ public _pollName?: "pollName"; /** MsgOpaqueData _pollSelectableOptionsCount. */ public _pollSelectableOptionsCount?: "pollSelectableOptionsCount"; /** MsgOpaqueData _messageSecret. */ public _messageSecret?: "messageSecret"; /** MsgOpaqueData _originalSelfAuthor. */ public _originalSelfAuthor?: "originalSelfAuthor"; /** MsgOpaqueData _senderTimestampMs. */ public _senderTimestampMs?: "senderTimestampMs"; /** MsgOpaqueData _pollUpdateParentKey. */ public _pollUpdateParentKey?: "pollUpdateParentKey"; /** MsgOpaqueData _encPollVote. */ public _encPollVote?: "encPollVote"; /** MsgOpaqueData _isSentCagPollCreation. */ public _isSentCagPollCreation?: "isSentCagPollCreation"; /** MsgOpaqueData _pollContentType. */ public _pollContentType?: "pollContentType"; /** MsgOpaqueData _pollVotesSnapshot. */ public _pollVotesSnapshot?: "pollVotesSnapshot"; /** MsgOpaqueData _encReactionTargetMessageKey. */ public _encReactionTargetMessageKey?: "encReactionTargetMessageKey"; /** MsgOpaqueData _encReactionEncPayload. */ public _encReactionEncPayload?: "encReactionEncPayload"; /** MsgOpaqueData _encReactionEncIv. */ public _encReactionEncIv?: "encReactionEncIv"; /** MsgOpaqueData _botMessageSecret. */ public _botMessageSecret?: "botMessageSecret"; /** MsgOpaqueData _targetMessageKey. */ public _targetMessageKey?: "targetMessageKey"; /** MsgOpaqueData _encPayload. */ public _encPayload?: "encPayload"; /** MsgOpaqueData _encIv. */ public _encIv?: "encIv"; /** MsgOpaqueData _eventName. */ public _eventName?: "eventName"; /** MsgOpaqueData _isEventCanceled. */ public _isEventCanceled?: "isEventCanceled"; /** MsgOpaqueData _eventDescription. */ public _eventDescription?: "eventDescription"; /** MsgOpaqueData _eventJoinLink. */ public _eventJoinLink?: "eventJoinLink"; /** MsgOpaqueData _eventStartTime. */ public _eventStartTime?: "eventStartTime"; /** MsgOpaqueData _eventLocation. */ public _eventLocation?: "eventLocation"; /** MsgOpaqueData _eventEndTime. */ public _eventEndTime?: "eventEndTime"; /** MsgOpaqueData _plainProtobufBytes. */ public _plainProtobufBytes?: "plainProtobufBytes"; /** * Creates a new MsgOpaqueData instance using the specified properties. * @param [properties] Properties to set * @returns MsgOpaqueData instance */ public static create(properties?: MdStorageMsgRowOpaqueData.IMsgOpaqueData): MdStorageMsgRowOpaqueData.MsgOpaqueData; /** * Encodes the specified MsgOpaqueData message. Does not implicitly {@link MdStorageMsgRowOpaqueData.MsgOpaqueData.verify|verify} messages. * @param message MsgOpaqueData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: MdStorageMsgRowOpaqueData.IMsgOpaqueData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgOpaqueData message, length delimited. Does not implicitly {@link MdStorageMsgRowOpaqueData.MsgOpaqueData.verify|verify} messages. * @param message MsgOpaqueData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: MdStorageMsgRowOpaqueData.IMsgOpaqueData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgOpaqueData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgOpaqueData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): MdStorageMsgRowOpaqueData.MsgOpaqueData; /** * Decodes a MsgOpaqueData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgOpaqueData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): MdStorageMsgRowOpaqueData.MsgOpaqueData; /** * Verifies a MsgOpaqueData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgOpaqueData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgOpaqueData */ public static fromObject(object: { [k: string]: any }): MdStorageMsgRowOpaqueData.MsgOpaqueData; /** * Creates a plain object from a MsgOpaqueData message. Also converts values to other types if specified. * @param message MsgOpaqueData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: MdStorageMsgRowOpaqueData.MsgOpaqueData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgOpaqueData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MsgOpaqueData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MsgOpaqueData { /** Properties of an EventLocation. */ interface IEventLocation { /** EventLocation degreesLatitude */ degreesLatitude?: (number|null); /** EventLocation degreesLongitude */ degreesLongitude?: (number|null); /** EventLocation name */ name?: (string|null); /** EventLocation address */ address?: (string|null); /** EventLocation url */ url?: (string|null); /** EventLocation jpegThumbnail */ jpegThumbnail?: (Uint8Array|null); } /** Represents an EventLocation. */ class EventLocation implements IEventLocation { /** * Constructs a new EventLocation. * @param [properties] Properties to set */ constructor(properties?: MdStorageMsgRowOpaqueData.MsgOpaqueData.IEventLocation); /** EventLocation degreesLatitude. */ public degreesLatitude?: (number|null); /** EventLocation degreesLongitude. */ public degreesLongitude?: (number|null); /** EventLocation name. */ public name?: (string|null); /** EventLocation address. */ public address?: (string|null); /** EventLocation url. */ public url?: (string|null); /** EventLocation jpegThumbnail. */ public jpegThumbnail?: (Uint8Array|null); /** EventLocation _degreesLatitude. */ public _degreesLatitude?: "degreesLatitude"; /** EventLocation _degreesLongitude. */ public _degreesLongitude?: "degreesLongitude"; /** EventLocation _name. */ public _name?: "name"; /** EventLocation _address. */ public _address?: "address"; /** EventLocation _url. */ public _url?: "url"; /** EventLocation _jpegThumbnail. */ public _jpegThumbnail?: "jpegThumbnail"; /** * Creates a new EventLocation instance using the specified properties. * @param [properties] Properties to set * @returns EventLocation instance */ public static create(properties?: MdStorageMsgRowOpaqueData.MsgOpaqueData.IEventLocation): MdStorageMsgRowOpaqueData.MsgOpaqueData.EventLocation; /** * Encodes the specified EventLocation message. Does not implicitly {@link MdStorageMsgRowOpaqueData.MsgOpaqueData.EventLocation.verify|verify} messages. * @param message EventLocation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: MdStorageMsgRowOpaqueData.MsgOpaqueData.IEventLocation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EventLocation message, length delimited. Does not implicitly {@link MdStorageMsgRowOpaqueData.MsgOpaqueData.EventLocation.verify|verify} messages. * @param message EventLocation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: MdStorageMsgRowOpaqueData.MsgOpaqueData.IEventLocation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EventLocation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EventLocation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): MdStorageMsgRowOpaqueData.MsgOpaqueData.EventLocation; /** * Decodes an EventLocation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EventLocation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): MdStorageMsgRowOpaqueData.MsgOpaqueData.EventLocation; /** * Verifies an EventLocation message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EventLocation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EventLocation */ public static fromObject(object: { [k: string]: any }): MdStorageMsgRowOpaqueData.MsgOpaqueData.EventLocation; /** * Creates a plain object from an EventLocation message. Also converts values to other types if specified. * @param message EventLocation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: MdStorageMsgRowOpaqueData.MsgOpaqueData.EventLocation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EventLocation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EventLocation * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** PollContentType enum. */ enum PollContentType { UNKNOWN = 0, TEXT = 1, IMAGE = 2 } /** Properties of a PollOption. */ interface IPollOption { /** PollOption name */ name?: (string|null); /** PollOption hash */ hash?: (string|null); } /** Represents a PollOption. */ class PollOption implements IPollOption { /** * Constructs a new PollOption. * @param [properties] Properties to set */ constructor(properties?: MdStorageMsgRowOpaqueData.MsgOpaqueData.IPollOption); /** PollOption name. */ public name?: (string|null); /** PollOption hash. */ public hash?: (string|null); /** PollOption _name. */ public _name?: "name"; /** PollOption _hash. */ public _hash?: "hash"; /** * Creates a new PollOption instance using the specified properties. * @param [properties] Properties to set * @returns PollOption instance */ public static create(properties?: MdStorageMsgRowOpaqueData.MsgOpaqueData.IPollOption): MdStorageMsgRowOpaqueData.MsgOpaqueData.PollOption; /** * Encodes the specified PollOption message. Does not implicitly {@link MdStorageMsgRowOpaqueData.MsgOpaqueData.PollOption.verify|verify} messages. * @param message PollOption message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: MdStorageMsgRowOpaqueData.MsgOpaqueData.IPollOption, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollOption message, length delimited. Does not implicitly {@link MdStorageMsgRowOpaqueData.MsgOpaqueData.PollOption.verify|verify} messages. * @param message PollOption message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: MdStorageMsgRowOpaqueData.MsgOpaqueData.IPollOption, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollOption message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollOption * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): MdStorageMsgRowOpaqueData.MsgOpaqueData.PollOption; /** * Decodes a PollOption message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollOption * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): MdStorageMsgRowOpaqueData.MsgOpaqueData.PollOption; /** * Verifies a PollOption message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollOption message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollOption */ public static fromObject(object: { [k: string]: any }): MdStorageMsgRowOpaqueData.MsgOpaqueData.PollOption; /** * Creates a plain object from a PollOption message. Also converts values to other types if specified. * @param message PollOption * @param [options] Conversion options * @returns Plain object */ public static toObject(message: MdStorageMsgRowOpaqueData.MsgOpaqueData.PollOption, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollOption to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollOption * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PollVoteSnapshot. */ interface IPollVoteSnapshot { /** PollVoteSnapshot option */ option?: (MdStorageMsgRowOpaqueData.MsgOpaqueData.IPollOption|null); /** PollVoteSnapshot optionVoteCount */ optionVoteCount?: (number|null); } /** Represents a PollVoteSnapshot. */ class PollVoteSnapshot implements IPollVoteSnapshot { /** * Constructs a new PollVoteSnapshot. * @param [properties] Properties to set */ constructor(properties?: MdStorageMsgRowOpaqueData.MsgOpaqueData.IPollVoteSnapshot); /** PollVoteSnapshot option. */ public option?: (MdStorageMsgRowOpaqueData.MsgOpaqueData.IPollOption|null); /** PollVoteSnapshot optionVoteCount. */ public optionVoteCount?: (number|null); /** PollVoteSnapshot _option. */ public _option?: "option"; /** PollVoteSnapshot _optionVoteCount. */ public _optionVoteCount?: "optionVoteCount"; /** * Creates a new PollVoteSnapshot instance using the specified properties. * @param [properties] Properties to set * @returns PollVoteSnapshot instance */ public static create(properties?: MdStorageMsgRowOpaqueData.MsgOpaqueData.IPollVoteSnapshot): MdStorageMsgRowOpaqueData.MsgOpaqueData.PollVoteSnapshot; /** * Encodes the specified PollVoteSnapshot message. Does not implicitly {@link MdStorageMsgRowOpaqueData.MsgOpaqueData.PollVoteSnapshot.verify|verify} messages. * @param message PollVoteSnapshot message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: MdStorageMsgRowOpaqueData.MsgOpaqueData.IPollVoteSnapshot, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollVoteSnapshot message, length delimited. Does not implicitly {@link MdStorageMsgRowOpaqueData.MsgOpaqueData.PollVoteSnapshot.verify|verify} messages. * @param message PollVoteSnapshot message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: MdStorageMsgRowOpaqueData.MsgOpaqueData.IPollVoteSnapshot, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollVoteSnapshot message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollVoteSnapshot * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): MdStorageMsgRowOpaqueData.MsgOpaqueData.PollVoteSnapshot; /** * Decodes a PollVoteSnapshot message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollVoteSnapshot * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): MdStorageMsgRowOpaqueData.MsgOpaqueData.PollVoteSnapshot; /** * Verifies a PollVoteSnapshot message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollVoteSnapshot message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollVoteSnapshot */ public static fromObject(object: { [k: string]: any }): MdStorageMsgRowOpaqueData.MsgOpaqueData.PollVoteSnapshot; /** * Creates a plain object from a PollVoteSnapshot message. Also converts values to other types if specified. * @param message PollVoteSnapshot * @param [options] Conversion options * @returns Plain object */ public static toObject(message: MdStorageMsgRowOpaqueData.MsgOpaqueData.PollVoteSnapshot, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollVoteSnapshot to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollVoteSnapshot * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PollVotesSnapshot. */ interface IPollVotesSnapshot { /** PollVotesSnapshot pollVotes */ pollVotes?: (MdStorageMsgRowOpaqueData.MsgOpaqueData.IPollVoteSnapshot[]|null); } /** Represents a PollVotesSnapshot. */ class PollVotesSnapshot implements IPollVotesSnapshot { /** * Constructs a new PollVotesSnapshot. * @param [properties] Properties to set */ constructor(properties?: MdStorageMsgRowOpaqueData.MsgOpaqueData.IPollVotesSnapshot); /** PollVotesSnapshot pollVotes. */ public pollVotes: MdStorageMsgRowOpaqueData.MsgOpaqueData.IPollVoteSnapshot[]; /** * Creates a new PollVotesSnapshot instance using the specified properties. * @param [properties] Properties to set * @returns PollVotesSnapshot instance */ public static create(properties?: MdStorageMsgRowOpaqueData.MsgOpaqueData.IPollVotesSnapshot): MdStorageMsgRowOpaqueData.MsgOpaqueData.PollVotesSnapshot; /** * Encodes the specified PollVotesSnapshot message. Does not implicitly {@link MdStorageMsgRowOpaqueData.MsgOpaqueData.PollVotesSnapshot.verify|verify} messages. * @param message PollVotesSnapshot message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: MdStorageMsgRowOpaqueData.MsgOpaqueData.IPollVotesSnapshot, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollVotesSnapshot message, length delimited. Does not implicitly {@link MdStorageMsgRowOpaqueData.MsgOpaqueData.PollVotesSnapshot.verify|verify} messages. * @param message PollVotesSnapshot message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: MdStorageMsgRowOpaqueData.MsgOpaqueData.IPollVotesSnapshot, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollVotesSnapshot message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollVotesSnapshot * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): MdStorageMsgRowOpaqueData.MsgOpaqueData.PollVotesSnapshot; /** * Decodes a PollVotesSnapshot message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollVotesSnapshot * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): MdStorageMsgRowOpaqueData.MsgOpaqueData.PollVotesSnapshot; /** * Verifies a PollVotesSnapshot message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollVotesSnapshot message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollVotesSnapshot */ public static fromObject(object: { [k: string]: any }): MdStorageMsgRowOpaqueData.MsgOpaqueData.PollVotesSnapshot; /** * Creates a plain object from a PollVotesSnapshot message. Also converts values to other types if specified. * @param message PollVotesSnapshot * @param [options] Conversion options * @returns Plain object */ public static toObject(message: MdStorageMsgRowOpaqueData.MsgOpaqueData.PollVotesSnapshot, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollVotesSnapshot to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollVotesSnapshot * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a PollEncValue. */ interface IPollEncValue { /** PollEncValue encPayload */ encPayload?: (Uint8Array|null); /** PollEncValue encIv */ encIv?: (Uint8Array|null); } /** Represents a PollEncValue. */ class PollEncValue implements IPollEncValue { /** * Constructs a new PollEncValue. * @param [properties] Properties to set */ constructor(properties?: MdStorageMsgRowOpaqueData.IPollEncValue); /** PollEncValue encPayload. */ public encPayload?: (Uint8Array|null); /** PollEncValue encIv. */ public encIv?: (Uint8Array|null); /** PollEncValue _encPayload. */ public _encPayload?: "encPayload"; /** PollEncValue _encIv. */ public _encIv?: "encIv"; /** * Creates a new PollEncValue instance using the specified properties. * @param [properties] Properties to set * @returns PollEncValue instance */ public static create(properties?: MdStorageMsgRowOpaqueData.IPollEncValue): MdStorageMsgRowOpaqueData.PollEncValue; /** * Encodes the specified PollEncValue message. Does not implicitly {@link MdStorageMsgRowOpaqueData.PollEncValue.verify|verify} messages. * @param message PollEncValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: MdStorageMsgRowOpaqueData.IPollEncValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollEncValue message, length delimited. Does not implicitly {@link MdStorageMsgRowOpaqueData.PollEncValue.verify|verify} messages. * @param message PollEncValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: MdStorageMsgRowOpaqueData.IPollEncValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollEncValue message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollEncValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): MdStorageMsgRowOpaqueData.PollEncValue; /** * Decodes a PollEncValue message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollEncValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): MdStorageMsgRowOpaqueData.PollEncValue; /** * Verifies a PollEncValue message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollEncValue message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollEncValue */ public static fromObject(object: { [k: string]: any }): MdStorageMsgRowOpaqueData.PollEncValue; /** * Creates a plain object from a PollEncValue message. Also converts values to other types if specified. * @param message PollEncValue * @param [options] Conversion options * @returns Plain object */ public static toObject(message: MdStorageMsgRowOpaqueData.PollEncValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollEncValue to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollEncValue * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MsgRowOpaqueData. */ interface IMsgRowOpaqueData { /** MsgRowOpaqueData currentMsg */ currentMsg?: (MdStorageMsgRowOpaqueData.IMsgOpaqueData|null); /** MsgRowOpaqueData quotedMsg */ quotedMsg?: (MdStorageMsgRowOpaqueData.IMsgOpaqueData|null); } /** Represents a MsgRowOpaqueData. */ class MsgRowOpaqueData implements IMsgRowOpaqueData { /** * Constructs a new MsgRowOpaqueData. * @param [properties] Properties to set */ constructor(properties?: MdStorageMsgRowOpaqueData.IMsgRowOpaqueData); /** MsgRowOpaqueData currentMsg. */ public currentMsg?: (MdStorageMsgRowOpaqueData.IMsgOpaqueData|null); /** MsgRowOpaqueData quotedMsg. */ public quotedMsg?: (MdStorageMsgRowOpaqueData.IMsgOpaqueData|null); /** MsgRowOpaqueData _currentMsg. */ public _currentMsg?: "currentMsg"; /** MsgRowOpaqueData _quotedMsg. */ public _quotedMsg?: "quotedMsg"; /** * Creates a new MsgRowOpaqueData instance using the specified properties. * @param [properties] Properties to set * @returns MsgRowOpaqueData instance */ public static create(properties?: MdStorageMsgRowOpaqueData.IMsgRowOpaqueData): MdStorageMsgRowOpaqueData.MsgRowOpaqueData; /** * Encodes the specified MsgRowOpaqueData message. Does not implicitly {@link MdStorageMsgRowOpaqueData.MsgRowOpaqueData.verify|verify} messages. * @param message MsgRowOpaqueData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: MdStorageMsgRowOpaqueData.IMsgRowOpaqueData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgRowOpaqueData message, length delimited. Does not implicitly {@link MdStorageMsgRowOpaqueData.MsgRowOpaqueData.verify|verify} messages. * @param message MsgRowOpaqueData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: MdStorageMsgRowOpaqueData.IMsgRowOpaqueData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgRowOpaqueData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgRowOpaqueData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): MdStorageMsgRowOpaqueData.MsgRowOpaqueData; /** * Decodes a MsgRowOpaqueData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgRowOpaqueData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): MdStorageMsgRowOpaqueData.MsgRowOpaqueData; /** * Verifies a MsgRowOpaqueData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgRowOpaqueData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgRowOpaqueData */ public static fromObject(object: { [k: string]: any }): MdStorageMsgRowOpaqueData.MsgRowOpaqueData; /** * Creates a plain object from a MsgRowOpaqueData message. Also converts values to other types if specified. * @param message MsgRowOpaqueData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: MdStorageMsgRowOpaqueData.MsgRowOpaqueData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgRowOpaqueData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MsgRowOpaqueData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Namespace E2E. */ export namespace E2E { /** Properties of a MemberLabel. */ interface IMemberLabel { /** MemberLabel label */ label?: (string|null); /** MemberLabel labelTimestamp */ labelTimestamp?: (number|Long|null); } /** Represents a MemberLabel. */ class MemberLabel implements IMemberLabel { /** * Constructs a new MemberLabel. * @param [properties] Properties to set */ constructor(properties?: E2E.IMemberLabel); /** MemberLabel label. */ public label?: (string|null); /** MemberLabel labelTimestamp. */ public labelTimestamp?: (number|Long|null); /** MemberLabel _label. */ public _label?: "label"; /** MemberLabel _labelTimestamp. */ public _labelTimestamp?: "labelTimestamp"; /** * Creates a new MemberLabel instance using the specified properties. * @param [properties] Properties to set * @returns MemberLabel instance */ public static create(properties?: E2E.IMemberLabel): E2E.MemberLabel; /** * Encodes the specified MemberLabel message. Does not implicitly {@link E2E.MemberLabel.verify|verify} messages. * @param message MemberLabel message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: E2E.IMemberLabel, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MemberLabel message, length delimited. Does not implicitly {@link E2E.MemberLabel.verify|verify} messages. * @param message MemberLabel message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: E2E.IMemberLabel, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MemberLabel message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MemberLabel * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): E2E.MemberLabel; /** * Decodes a MemberLabel message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MemberLabel * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): E2E.MemberLabel; /** * Verifies a MemberLabel message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MemberLabel message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MemberLabel */ public static fromObject(object: { [k: string]: any }): E2E.MemberLabel; /** * Creates a plain object from a MemberLabel message. Also converts values to other types if specified. * @param message MemberLabel * @param [options] Conversion options * @returns Plain object */ public static toObject(message: E2E.MemberLabel, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MemberLabel to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MemberLabel * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a AIQueryFanout. */ interface IAIQueryFanout { /** AIQueryFanout messageKey */ messageKey?: (Protocol.IMessageKey|null); /** AIQueryFanout message */ message?: (E2E.IMessage|null); /** AIQueryFanout timestamp */ timestamp?: (number|Long|null); } /** Represents a AIQueryFanout. */ class AIQueryFanout implements IAIQueryFanout { /** * Constructs a new AIQueryFanout. * @param [properties] Properties to set */ constructor(properties?: E2E.IAIQueryFanout); /** AIQueryFanout messageKey. */ public messageKey?: (Protocol.IMessageKey|null); /** AIQueryFanout message. */ public message?: (E2E.IMessage|null); /** AIQueryFanout timestamp. */ public timestamp?: (number|Long|null); /** AIQueryFanout _messageKey. */ public _messageKey?: "messageKey"; /** AIQueryFanout _message. */ public _message?: "message"; /** AIQueryFanout _timestamp. */ public _timestamp?: "timestamp"; /** * Creates a new AIQueryFanout instance using the specified properties. * @param [properties] Properties to set * @returns AIQueryFanout instance */ public static create(properties?: E2E.IAIQueryFanout): E2E.AIQueryFanout; /** * Encodes the specified AIQueryFanout message. Does not implicitly {@link E2E.AIQueryFanout.verify|verify} messages. * @param message AIQueryFanout message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: E2E.IAIQueryFanout, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIQueryFanout message, length delimited. Does not implicitly {@link E2E.AIQueryFanout.verify|verify} messages. * @param message AIQueryFanout message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: E2E.IAIQueryFanout, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIQueryFanout message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIQueryFanout * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): E2E.AIQueryFanout; /** * Decodes a AIQueryFanout message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIQueryFanout * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): E2E.AIQueryFanout; /** * Verifies a AIQueryFanout message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIQueryFanout message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIQueryFanout */ public static fromObject(object: { [k: string]: any }): E2E.AIQueryFanout; /** * Creates a plain object from a AIQueryFanout message. Also converts values to other types if specified. * @param message AIQueryFanout * @param [options] Conversion options * @returns Plain object */ public static toObject(message: E2E.AIQueryFanout, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIQueryFanout to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIQueryFanout * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UrlTrackingMap. */ interface IUrlTrackingMap { /** UrlTrackingMap urlTrackingMapElements */ urlTrackingMapElements?: (E2E.UrlTrackingMap.IUrlTrackingMapElement[]|null); } /** Represents an UrlTrackingMap. */ class UrlTrackingMap implements IUrlTrackingMap { /** * Constructs a new UrlTrackingMap. * @param [properties] Properties to set */ constructor(properties?: E2E.IUrlTrackingMap); /** UrlTrackingMap urlTrackingMapElements. */ public urlTrackingMapElements: E2E.UrlTrackingMap.IUrlTrackingMapElement[]; /** * Creates a new UrlTrackingMap instance using the specified properties. * @param [properties] Properties to set * @returns UrlTrackingMap instance */ public static create(properties?: E2E.IUrlTrackingMap): E2E.UrlTrackingMap; /** * Encodes the specified UrlTrackingMap message. Does not implicitly {@link E2E.UrlTrackingMap.verify|verify} messages. * @param message UrlTrackingMap message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: E2E.IUrlTrackingMap, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UrlTrackingMap message, length delimited. Does not implicitly {@link E2E.UrlTrackingMap.verify|verify} messages. * @param message UrlTrackingMap message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: E2E.IUrlTrackingMap, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UrlTrackingMap message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UrlTrackingMap * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): E2E.UrlTrackingMap; /** * Decodes an UrlTrackingMap message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UrlTrackingMap * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): E2E.UrlTrackingMap; /** * Verifies an UrlTrackingMap message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an UrlTrackingMap message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UrlTrackingMap */ public static fromObject(object: { [k: string]: any }): E2E.UrlTrackingMap; /** * Creates a plain object from an UrlTrackingMap message. Also converts values to other types if specified. * @param message UrlTrackingMap * @param [options] Conversion options * @returns Plain object */ public static toObject(message: E2E.UrlTrackingMap, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UrlTrackingMap to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UrlTrackingMap * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace UrlTrackingMap { /** Properties of an UrlTrackingMapElement. */ interface IUrlTrackingMapElement { /** UrlTrackingMapElement originalUrl */ originalUrl?: (string|null); /** UrlTrackingMapElement unconsentedUsersUrl */ unconsentedUsersUrl?: (string|null); /** UrlTrackingMapElement consentedUsersUrl */ consentedUsersUrl?: (string|null); /** UrlTrackingMapElement cardIndex */ cardIndex?: (number|null); } /** Represents an UrlTrackingMapElement. */ class UrlTrackingMapElement implements IUrlTrackingMapElement { /** * Constructs a new UrlTrackingMapElement. * @param [properties] Properties to set */ constructor(properties?: E2E.UrlTrackingMap.IUrlTrackingMapElement); /** UrlTrackingMapElement originalUrl. */ public originalUrl?: (string|null); /** UrlTrackingMapElement unconsentedUsersUrl. */ public unconsentedUsersUrl?: (string|null); /** UrlTrackingMapElement consentedUsersUrl. */ public consentedUsersUrl?: (string|null); /** UrlTrackingMapElement cardIndex. */ public cardIndex?: (number|null); /** UrlTrackingMapElement _originalUrl. */ public _originalUrl?: "originalUrl"; /** UrlTrackingMapElement _unconsentedUsersUrl. */ public _unconsentedUsersUrl?: "unconsentedUsersUrl"; /** UrlTrackingMapElement _consentedUsersUrl. */ public _consentedUsersUrl?: "consentedUsersUrl"; /** UrlTrackingMapElement _cardIndex. */ public _cardIndex?: "cardIndex"; /** * Creates a new UrlTrackingMapElement instance using the specified properties. * @param [properties] Properties to set * @returns UrlTrackingMapElement instance */ public static create(properties?: E2E.UrlTrackingMap.IUrlTrackingMapElement): E2E.UrlTrackingMap.UrlTrackingMapElement; /** * Encodes the specified UrlTrackingMapElement message. Does not implicitly {@link E2E.UrlTrackingMap.UrlTrackingMapElement.verify|verify} messages. * @param message UrlTrackingMapElement message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: E2E.UrlTrackingMap.IUrlTrackingMapElement, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UrlTrackingMapElement message, length delimited. Does not implicitly {@link E2E.UrlTrackingMap.UrlTrackingMapElement.verify|verify} messages.