From 5ca8d7b7ca64ae5de9819474529596f520adf671 Mon Sep 17 00:00:00 2001 From: Zachary Lee Date: Tue, 17 Oct 2023 13:09:48 -0400 Subject: [PATCH] remove old changes --- frontend/app/src/vendor/Segment.ts | 3 +- frontend/package.json | 2 +- frontend/src/lib/proto.d.ts | 15370 -------- frontend/src/lib/proto.js | 41148 ---------------------- streamlit-1.23.1.dev0-py39-none-any.whl | Bin 9561888 -> 0 bytes 5 files changed, 2 insertions(+), 56521 deletions(-) delete mode 100644 frontend/src/lib/proto.d.ts delete mode 100644 frontend/src/lib/proto.js delete mode 100644 streamlit-1.23.1.dev0-py39-none-any.whl diff --git a/frontend/app/src/vendor/Segment.ts b/frontend/app/src/vendor/Segment.ts index eb3e2273619a..9405ccf35466 100644 --- a/frontend/app/src/vendor/Segment.ts +++ b/frontend/app/src/vendor/Segment.ts @@ -95,8 +95,7 @@ export const initializeSegment = (): void => { // Load Analytics.js with your key, which will automatically // load the tools you've enabled for your account. Boosh! - // analytics.load("iCkMy7ymtJ9qYzQRXkQpnAJEq7D4NyMU") // Streamlit's segment key - analytics.load("uD5kfGR6CfLJvBu1gLDm1IrPWwlc4IRu") // Our segment key + analytics.load("iCkMy7ymtJ9qYzQRXkQpnAJEq7D4NyMU") } /* eslint-enable */ diff --git a/frontend/package.json b/frontend/package.json index 15770786293d..6f7109a4c48e 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "streamlit", - "version": "1.25.0.dev2", + "version": "1.25.0.dev1", "private": true, "workspaces": ["app", "lib"], "scripts": { diff --git a/frontend/src/lib/proto.d.ts b/frontend/src/lib/proto.d.ts deleted file mode 100644 index 8128fe55ad95..000000000000 --- a/frontend/src/lib/proto.d.ts +++ /dev/null @@ -1,15370 +0,0 @@ -/* eslint-disable */ - -import * as $protobuf from "protobufjs"; -import Long = require("long"); -/** Properties of an Alert. */ -export interface IAlert { - - /** Alert body */ - body?: (string|null); - - /** Alert format */ - format?: (Alert.Format|null); - - /** Alert icon */ - icon?: (string|null); -} - -/** Represents an Alert. */ -export class Alert implements IAlert { - - /** - * Constructs a new Alert. - * @param [properties] Properties to set - */ - constructor(properties?: IAlert); - - /** Alert body. */ - public body: string; - - /** Alert format. */ - public format: Alert.Format; - - /** Alert icon. */ - public icon: string; - - /** - * Creates a new Alert instance using the specified properties. - * @param [properties] Properties to set - * @returns Alert instance - */ - public static create(properties?: IAlert): Alert; - - /** - * Encodes the specified Alert message. Does not implicitly {@link Alert.verify|verify} messages. - * @param message Alert message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IAlert, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Alert message, length delimited. Does not implicitly {@link Alert.verify|verify} messages. - * @param message Alert message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IAlert, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an Alert message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Alert - * @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): Alert; - - /** - * Decodes an Alert message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Alert - * @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)): Alert; - - /** - * Verifies an Alert 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 Alert message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Alert - */ - public static fromObject(object: { [k: string]: any }): Alert; - - /** - * Creates a plain object from an Alert message. Also converts values to other types if specified. - * @param message Alert - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Alert, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Alert to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Alert - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -export namespace Alert { - - /** Format enum. */ - enum Format { - UNUSED = 0, - ERROR = 1, - WARNING = 2, - INFO = 3, - SUCCESS = 4 - } -} - -/** Properties of an AppPage. */ -export interface IAppPage { - - /** AppPage pageScriptHash */ - pageScriptHash?: (string|null); - - /** AppPage pageName */ - pageName?: (string|null); - - /** AppPage icon */ - icon?: (string|null); -} - -/** Represents an AppPage. */ -export class AppPage implements IAppPage { - - /** - * Constructs a new AppPage. - * @param [properties] Properties to set - */ - constructor(properties?: IAppPage); - - /** AppPage pageScriptHash. */ - public pageScriptHash: string; - - /** AppPage pageName. */ - public pageName: string; - - /** AppPage icon. */ - public icon: string; - - /** - * Creates a new AppPage instance using the specified properties. - * @param [properties] Properties to set - * @returns AppPage instance - */ - public static create(properties?: IAppPage): AppPage; - - /** - * Encodes the specified AppPage message. Does not implicitly {@link AppPage.verify|verify} messages. - * @param message AppPage message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IAppPage, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified AppPage message, length delimited. Does not implicitly {@link AppPage.verify|verify} messages. - * @param message AppPage message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IAppPage, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an AppPage message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns AppPage - * @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): AppPage; - - /** - * Decodes an AppPage message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns AppPage - * @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)): AppPage; - - /** - * Verifies an AppPage 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 AppPage message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns AppPage - */ - public static fromObject(object: { [k: string]: any }): AppPage; - - /** - * Creates a plain object from an AppPage message. Also converts values to other types if specified. - * @param message AppPage - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: AppPage, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this AppPage to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for AppPage - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of an Arrow. */ -export interface IArrow { - - /** Arrow data */ - data?: (Uint8Array|null); - - /** Arrow styler */ - styler?: (IStyler|null); - - /** Arrow width */ - width?: (number|null); - - /** Arrow height */ - height?: (number|null); - - /** Arrow useContainerWidth */ - useContainerWidth?: (boolean|null); - - /** Arrow id */ - id?: (string|null); - - /** Arrow columns */ - columns?: (string|null); - - /** Arrow editingMode */ - editingMode?: (Arrow.EditingMode|null); - - /** Arrow disabled */ - disabled?: (boolean|null); - - /** Arrow formId */ - formId?: (string|null); - - /** Arrow columnOrder */ - columnOrder?: (string[]|null); -} - -/** Represents an Arrow. */ -export class Arrow implements IArrow { - - /** - * Constructs a new Arrow. - * @param [properties] Properties to set - */ - constructor(properties?: IArrow); - - /** Arrow data. */ - public data: Uint8Array; - - /** Arrow styler. */ - public styler?: (IStyler|null); - - /** Arrow width. */ - public width: number; - - /** Arrow height. */ - public height: number; - - /** Arrow useContainerWidth. */ - public useContainerWidth: boolean; - - /** Arrow id. */ - public id: string; - - /** Arrow columns. */ - public columns: string; - - /** Arrow editingMode. */ - public editingMode: Arrow.EditingMode; - - /** Arrow disabled. */ - public disabled: boolean; - - /** Arrow formId. */ - public formId: string; - - /** Arrow columnOrder. */ - public columnOrder: string[]; - - /** - * Creates a new Arrow instance using the specified properties. - * @param [properties] Properties to set - * @returns Arrow instance - */ - public static create(properties?: IArrow): Arrow; - - /** - * Encodes the specified Arrow message. Does not implicitly {@link Arrow.verify|verify} messages. - * @param message Arrow message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IArrow, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Arrow message, length delimited. Does not implicitly {@link Arrow.verify|verify} messages. - * @param message Arrow message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IArrow, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an Arrow message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Arrow - * @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): Arrow; - - /** - * Decodes an Arrow message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Arrow - * @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)): Arrow; - - /** - * Verifies an Arrow 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 Arrow message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Arrow - */ - public static fromObject(object: { [k: string]: any }): Arrow; - - /** - * Creates a plain object from an Arrow message. Also converts values to other types if specified. - * @param message Arrow - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Arrow, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Arrow to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Arrow - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -export namespace Arrow { - - /** EditingMode enum. */ - enum EditingMode { - READ_ONLY = 0, - FIXED = 1, - DYNAMIC = 2 - } -} - -/** Properties of a Styler. */ -export interface IStyler { - - /** Styler uuid */ - uuid?: (string|null); - - /** Styler caption */ - caption?: (string|null); - - /** Styler styles */ - styles?: (string|null); - - /** Styler displayValues */ - displayValues?: (Uint8Array|null); -} - -/** Represents a Styler. */ -export class Styler implements IStyler { - - /** - * Constructs a new Styler. - * @param [properties] Properties to set - */ - constructor(properties?: IStyler); - - /** Styler uuid. */ - public uuid: string; - - /** Styler caption. */ - public caption: string; - - /** Styler styles. */ - public styles: string; - - /** Styler displayValues. */ - public displayValues: Uint8Array; - - /** - * Creates a new Styler instance using the specified properties. - * @param [properties] Properties to set - * @returns Styler instance - */ - public static create(properties?: IStyler): Styler; - - /** - * Encodes the specified Styler message. Does not implicitly {@link Styler.verify|verify} messages. - * @param message Styler message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IStyler, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Styler message, length delimited. Does not implicitly {@link Styler.verify|verify} messages. - * @param message Styler message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IStyler, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Styler message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Styler - * @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): Styler; - - /** - * Decodes a Styler message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Styler - * @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)): Styler; - - /** - * Verifies a Styler 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 Styler message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Styler - */ - public static fromObject(object: { [k: string]: any }): Styler; - - /** - * Creates a plain object from a Styler message. Also converts values to other types if specified. - * @param message Styler - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Styler, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Styler to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Styler - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of an ArrowNamedDataSet. */ -export interface IArrowNamedDataSet { - - /** ArrowNamedDataSet name */ - name?: (string|null); - - /** ArrowNamedDataSet hasName */ - hasName?: (boolean|null); - - /** ArrowNamedDataSet data */ - data?: (IArrow|null); -} - -/** Represents an ArrowNamedDataSet. */ -export class ArrowNamedDataSet implements IArrowNamedDataSet { - - /** - * Constructs a new ArrowNamedDataSet. - * @param [properties] Properties to set - */ - constructor(properties?: IArrowNamedDataSet); - - /** ArrowNamedDataSet name. */ - public name: string; - - /** ArrowNamedDataSet hasName. */ - public hasName: boolean; - - /** ArrowNamedDataSet data. */ - public data?: (IArrow|null); - - /** - * Creates a new ArrowNamedDataSet instance using the specified properties. - * @param [properties] Properties to set - * @returns ArrowNamedDataSet instance - */ - public static create(properties?: IArrowNamedDataSet): ArrowNamedDataSet; - - /** - * Encodes the specified ArrowNamedDataSet message. Does not implicitly {@link ArrowNamedDataSet.verify|verify} messages. - * @param message ArrowNamedDataSet message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IArrowNamedDataSet, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ArrowNamedDataSet message, length delimited. Does not implicitly {@link ArrowNamedDataSet.verify|verify} messages. - * @param message ArrowNamedDataSet message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IArrowNamedDataSet, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ArrowNamedDataSet message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ArrowNamedDataSet - * @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): ArrowNamedDataSet; - - /** - * Decodes an ArrowNamedDataSet message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ArrowNamedDataSet - * @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)): ArrowNamedDataSet; - - /** - * Verifies an ArrowNamedDataSet 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 ArrowNamedDataSet message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ArrowNamedDataSet - */ - public static fromObject(object: { [k: string]: any }): ArrowNamedDataSet; - - /** - * Creates a plain object from an ArrowNamedDataSet message. Also converts values to other types if specified. - * @param message ArrowNamedDataSet - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ArrowNamedDataSet, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ArrowNamedDataSet to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ArrowNamedDataSet - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of an ArrowVegaLiteChart. */ -export interface IArrowVegaLiteChart { - - /** ArrowVegaLiteChart spec */ - spec?: (string|null); - - /** ArrowVegaLiteChart data */ - data?: (IArrow|null); - - /** ArrowVegaLiteChart datasets */ - datasets?: (IArrowNamedDataSet[]|null); - - /** ArrowVegaLiteChart useContainerWidth */ - useContainerWidth?: (boolean|null); - - /** ArrowVegaLiteChart theme */ - theme?: (string|null); -} - -/** Represents an ArrowVegaLiteChart. */ -export class ArrowVegaLiteChart implements IArrowVegaLiteChart { - - /** - * Constructs a new ArrowVegaLiteChart. - * @param [properties] Properties to set - */ - constructor(properties?: IArrowVegaLiteChart); - - /** ArrowVegaLiteChart spec. */ - public spec: string; - - /** ArrowVegaLiteChart data. */ - public data?: (IArrow|null); - - /** ArrowVegaLiteChart datasets. */ - public datasets: IArrowNamedDataSet[]; - - /** ArrowVegaLiteChart useContainerWidth. */ - public useContainerWidth: boolean; - - /** ArrowVegaLiteChart theme. */ - public theme: string; - - /** - * Creates a new ArrowVegaLiteChart instance using the specified properties. - * @param [properties] Properties to set - * @returns ArrowVegaLiteChart instance - */ - public static create(properties?: IArrowVegaLiteChart): ArrowVegaLiteChart; - - /** - * Encodes the specified ArrowVegaLiteChart message. Does not implicitly {@link ArrowVegaLiteChart.verify|verify} messages. - * @param message ArrowVegaLiteChart message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IArrowVegaLiteChart, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ArrowVegaLiteChart message, length delimited. Does not implicitly {@link ArrowVegaLiteChart.verify|verify} messages. - * @param message ArrowVegaLiteChart message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IArrowVegaLiteChart, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ArrowVegaLiteChart message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ArrowVegaLiteChart - * @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): ArrowVegaLiteChart; - - /** - * Decodes an ArrowVegaLiteChart message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ArrowVegaLiteChart - * @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)): ArrowVegaLiteChart; - - /** - * Verifies an ArrowVegaLiteChart 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 ArrowVegaLiteChart message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ArrowVegaLiteChart - */ - public static fromObject(object: { [k: string]: any }): ArrowVegaLiteChart; - - /** - * Creates a plain object from an ArrowVegaLiteChart message. Also converts values to other types if specified. - * @param message ArrowVegaLiteChart - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ArrowVegaLiteChart, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ArrowVegaLiteChart to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ArrowVegaLiteChart - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of an Audio. */ -export interface IAudio { - - /** Audio url */ - url?: (string|null); - - /** Audio startTime */ - startTime?: (number|null); -} - -/** Represents an Audio. */ -export class Audio implements IAudio { - - /** - * Constructs a new Audio. - * @param [properties] Properties to set - */ - constructor(properties?: IAudio); - - /** Audio url. */ - public url: string; - - /** Audio startTime. */ - public startTime: number; - - /** - * Creates a new Audio instance using the specified properties. - * @param [properties] Properties to set - * @returns Audio instance - */ - public static create(properties?: IAudio): Audio; - - /** - * Encodes the specified Audio message. Does not implicitly {@link Audio.verify|verify} messages. - * @param message Audio message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IAudio, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Audio message, length delimited. Does not implicitly {@link Audio.verify|verify} messages. - * @param message Audio message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IAudio, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an Audio message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Audio - * @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): Audio; - - /** - * Decodes an Audio message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Audio - * @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)): Audio; - - /** - * Verifies an Audio 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 Audio message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Audio - */ - public static fromObject(object: { [k: string]: any }): Audio; - - /** - * Creates a plain object from an Audio message. Also converts values to other types if specified. - * @param message Audio - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Audio, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Audio to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Audio - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a BackMsg. */ -export interface IBackMsg { - - /** BackMsg clearCache */ - clearCache?: (boolean|null); - - /** BackMsg setRunOnSave */ - setRunOnSave?: (boolean|null); - - /** BackMsg stopScript */ - stopScript?: (boolean|null); - - /** BackMsg rerunScript */ - rerunScript?: (IClientState|null); - - /** BackMsg loadGitInfo */ - loadGitInfo?: (boolean|null); - - /** BackMsg debugDisconnectWebsocket */ - debugDisconnectWebsocket?: (boolean|null); - - /** BackMsg debugShutdownRuntime */ - debugShutdownRuntime?: (boolean|null); - - /** BackMsg debugLastBackmsgId */ - debugLastBackmsgId?: (string|null); -} - -/** Represents a BackMsg. */ -export class BackMsg implements IBackMsg { - - /** - * Constructs a new BackMsg. - * @param [properties] Properties to set - */ - constructor(properties?: IBackMsg); - - /** BackMsg clearCache. */ - public clearCache?: (boolean|null); - - /** BackMsg setRunOnSave. */ - public setRunOnSave?: (boolean|null); - - /** BackMsg stopScript. */ - public stopScript?: (boolean|null); - - /** BackMsg rerunScript. */ - public rerunScript?: (IClientState|null); - - /** BackMsg loadGitInfo. */ - public loadGitInfo?: (boolean|null); - - /** BackMsg debugDisconnectWebsocket. */ - public debugDisconnectWebsocket?: (boolean|null); - - /** BackMsg debugShutdownRuntime. */ - public debugShutdownRuntime?: (boolean|null); - - /** BackMsg debugLastBackmsgId. */ - public debugLastBackmsgId: string; - - /** BackMsg type. */ - public type?: ("clearCache"|"setRunOnSave"|"stopScript"|"rerunScript"|"loadGitInfo"|"debugDisconnectWebsocket"|"debugShutdownRuntime"); - - /** - * Creates a new BackMsg instance using the specified properties. - * @param [properties] Properties to set - * @returns BackMsg instance - */ - public static create(properties?: IBackMsg): BackMsg; - - /** - * Encodes the specified BackMsg message. Does not implicitly {@link BackMsg.verify|verify} messages. - * @param message BackMsg message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IBackMsg, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified BackMsg message, length delimited. Does not implicitly {@link BackMsg.verify|verify} messages. - * @param message BackMsg message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IBackMsg, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a BackMsg message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns BackMsg - * @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): BackMsg; - - /** - * Decodes a BackMsg message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns BackMsg - * @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)): BackMsg; - - /** - * Verifies a BackMsg 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 BackMsg message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns BackMsg - */ - public static fromObject(object: { [k: string]: any }): BackMsg; - - /** - * Creates a plain object from a BackMsg message. Also converts values to other types if specified. - * @param message BackMsg - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: BackMsg, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this BackMsg to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for BackMsg - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a Balloons. */ -export interface IBalloons { - - /** Balloons show */ - show?: (boolean|null); -} - -/** Represents a Balloons. */ -export class Balloons implements IBalloons { - - /** - * Constructs a new Balloons. - * @param [properties] Properties to set - */ - constructor(properties?: IBalloons); - - /** Balloons show. */ - public show: boolean; - - /** - * Creates a new Balloons instance using the specified properties. - * @param [properties] Properties to set - * @returns Balloons instance - */ - public static create(properties?: IBalloons): Balloons; - - /** - * Encodes the specified Balloons message. Does not implicitly {@link Balloons.verify|verify} messages. - * @param message Balloons message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IBalloons, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Balloons message, length delimited. Does not implicitly {@link Balloons.verify|verify} messages. - * @param message Balloons message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IBalloons, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Balloons message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Balloons - * @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): Balloons; - - /** - * Decodes a Balloons message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Balloons - * @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)): Balloons; - - /** - * Verifies a Balloons 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 Balloons message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Balloons - */ - public static fromObject(object: { [k: string]: any }): Balloons; - - /** - * Creates a plain object from a Balloons message. Also converts values to other types if specified. - * @param message Balloons - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Balloons, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Balloons to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Balloons - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a Block. */ -export interface IBlock { - - /** Block vertical */ - vertical?: (Block.IVertical|null); - - /** Block horizontal */ - horizontal?: (Block.IHorizontal|null); - - /** Block column */ - column?: (Block.IColumn|null); - - /** Block expandable */ - expandable?: (Block.IExpandable|null); - - /** Block form */ - form?: (Block.IForm|null); - - /** Block tabContainer */ - tabContainer?: (Block.ITabContainer|null); - - /** Block tab */ - tab?: (Block.ITab|null); - - /** Block allowEmpty */ - allowEmpty?: (boolean|null); -} - -/** Represents a Block. */ -export class Block implements IBlock { - - /** - * Constructs a new Block. - * @param [properties] Properties to set - */ - constructor(properties?: IBlock); - - /** Block vertical. */ - public vertical?: (Block.IVertical|null); - - /** Block horizontal. */ - public horizontal?: (Block.IHorizontal|null); - - /** Block column. */ - public column?: (Block.IColumn|null); - - /** Block expandable. */ - public expandable?: (Block.IExpandable|null); - - /** Block form. */ - public form?: (Block.IForm|null); - - /** Block tabContainer. */ - public tabContainer?: (Block.ITabContainer|null); - - /** Block tab. */ - public tab?: (Block.ITab|null); - - /** Block allowEmpty. */ - public allowEmpty: boolean; - - /** Block type. */ - public type?: ("vertical"|"horizontal"|"column"|"expandable"|"form"|"tabContainer"|"tab"); - - /** - * Creates a new Block instance using the specified properties. - * @param [properties] Properties to set - * @returns Block instance - */ - public static create(properties?: IBlock): Block; - - /** - * Encodes the specified Block message. Does not implicitly {@link Block.verify|verify} messages. - * @param message Block message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IBlock, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Block message, length delimited. Does not implicitly {@link Block.verify|verify} messages. - * @param message Block message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IBlock, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Block message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Block - * @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): Block; - - /** - * Decodes a Block message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Block - * @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)): Block; - - /** - * Verifies a Block 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 Block message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Block - */ - public static fromObject(object: { [k: string]: any }): Block; - - /** - * Creates a plain object from a Block message. Also converts values to other types if specified. - * @param message Block - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Block, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Block to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Block - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -export namespace Block { - - /** Properties of a Vertical. */ - interface IVertical { - } - - /** Represents a Vertical. */ - class Vertical implements IVertical { - - /** - * Constructs a new Vertical. - * @param [properties] Properties to set - */ - constructor(properties?: Block.IVertical); - - /** - * Creates a new Vertical instance using the specified properties. - * @param [properties] Properties to set - * @returns Vertical instance - */ - public static create(properties?: Block.IVertical): Block.Vertical; - - /** - * Encodes the specified Vertical message. Does not implicitly {@link Block.Vertical.verify|verify} messages. - * @param message Vertical message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: Block.IVertical, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Vertical message, length delimited. Does not implicitly {@link Block.Vertical.verify|verify} messages. - * @param message Vertical message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: Block.IVertical, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Vertical message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Vertical - * @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): Block.Vertical; - - /** - * Decodes a Vertical message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Vertical - * @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)): Block.Vertical; - - /** - * Verifies a Vertical 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 Vertical message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Vertical - */ - public static fromObject(object: { [k: string]: any }): Block.Vertical; - - /** - * Creates a plain object from a Vertical message. Also converts values to other types if specified. - * @param message Vertical - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Block.Vertical, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Vertical to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Vertical - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a Horizontal. */ - interface IHorizontal { - - /** Horizontal gap */ - gap?: (string|null); - } - - /** Represents a Horizontal. */ - class Horizontal implements IHorizontal { - - /** - * Constructs a new Horizontal. - * @param [properties] Properties to set - */ - constructor(properties?: Block.IHorizontal); - - /** Horizontal gap. */ - public gap: string; - - /** - * Creates a new Horizontal instance using the specified properties. - * @param [properties] Properties to set - * @returns Horizontal instance - */ - public static create(properties?: Block.IHorizontal): Block.Horizontal; - - /** - * Encodes the specified Horizontal message. Does not implicitly {@link Block.Horizontal.verify|verify} messages. - * @param message Horizontal message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: Block.IHorizontal, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Horizontal message, length delimited. Does not implicitly {@link Block.Horizontal.verify|verify} messages. - * @param message Horizontal message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: Block.IHorizontal, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Horizontal message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Horizontal - * @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): Block.Horizontal; - - /** - * Decodes a Horizontal message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Horizontal - * @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)): Block.Horizontal; - - /** - * Verifies a Horizontal 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 Horizontal message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Horizontal - */ - public static fromObject(object: { [k: string]: any }): Block.Horizontal; - - /** - * Creates a plain object from a Horizontal message. Also converts values to other types if specified. - * @param message Horizontal - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Block.Horizontal, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Horizontal to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Horizontal - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a Column. */ - interface IColumn { - - /** Column weight */ - weight?: (number|null); - - /** Column gap */ - gap?: (string|null); - } - - /** Represents a Column. */ - class Column implements IColumn { - - /** - * Constructs a new Column. - * @param [properties] Properties to set - */ - constructor(properties?: Block.IColumn); - - /** Column weight. */ - public weight: number; - - /** Column gap. */ - public gap: string; - - /** - * Creates a new Column instance using the specified properties. - * @param [properties] Properties to set - * @returns Column instance - */ - public static create(properties?: Block.IColumn): Block.Column; - - /** - * Encodes the specified Column message. Does not implicitly {@link Block.Column.verify|verify} messages. - * @param message Column message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: Block.IColumn, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Column message, length delimited. Does not implicitly {@link Block.Column.verify|verify} messages. - * @param message Column message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: Block.IColumn, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Column message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Column - * @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): Block.Column; - - /** - * Decodes a Column message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Column - * @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)): Block.Column; - - /** - * Verifies a Column 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 Column message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Column - */ - public static fromObject(object: { [k: string]: any }): Block.Column; - - /** - * Creates a plain object from a Column message. Also converts values to other types if specified. - * @param message Column - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Block.Column, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Column to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Column - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an Expandable. */ - interface IExpandable { - - /** Expandable label */ - label?: (string|null); - - /** Expandable expanded */ - expanded?: (boolean|null); - } - - /** Represents an Expandable. */ - class Expandable implements IExpandable { - - /** - * Constructs a new Expandable. - * @param [properties] Properties to set - */ - constructor(properties?: Block.IExpandable); - - /** Expandable label. */ - public label: string; - - /** Expandable expanded. */ - public expanded: boolean; - - /** - * Creates a new Expandable instance using the specified properties. - * @param [properties] Properties to set - * @returns Expandable instance - */ - public static create(properties?: Block.IExpandable): Block.Expandable; - - /** - * Encodes the specified Expandable message. Does not implicitly {@link Block.Expandable.verify|verify} messages. - * @param message Expandable message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: Block.IExpandable, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Expandable message, length delimited. Does not implicitly {@link Block.Expandable.verify|verify} messages. - * @param message Expandable message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: Block.IExpandable, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an Expandable message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Expandable - * @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): Block.Expandable; - - /** - * Decodes an Expandable message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Expandable - * @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)): Block.Expandable; - - /** - * Verifies an Expandable 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 Expandable message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Expandable - */ - public static fromObject(object: { [k: string]: any }): Block.Expandable; - - /** - * Creates a plain object from an Expandable message. Also converts values to other types if specified. - * @param message Expandable - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Block.Expandable, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Expandable to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Expandable - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a Form. */ - interface IForm { - - /** Form formId */ - formId?: (string|null); - - /** Form clearOnSubmit */ - clearOnSubmit?: (boolean|null); - } - - /** Represents a Form. */ - class Form implements IForm { - - /** - * Constructs a new Form. - * @param [properties] Properties to set - */ - constructor(properties?: Block.IForm); - - /** Form formId. */ - public formId: string; - - /** Form clearOnSubmit. */ - public clearOnSubmit: boolean; - - /** - * Creates a new Form instance using the specified properties. - * @param [properties] Properties to set - * @returns Form instance - */ - public static create(properties?: Block.IForm): Block.Form; - - /** - * Encodes the specified Form message. Does not implicitly {@link Block.Form.verify|verify} messages. - * @param message Form message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: Block.IForm, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Form message, length delimited. Does not implicitly {@link Block.Form.verify|verify} messages. - * @param message Form message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: Block.IForm, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Form message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Form - * @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): Block.Form; - - /** - * Decodes a Form message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Form - * @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)): Block.Form; - - /** - * Verifies a Form 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 Form message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Form - */ - public static fromObject(object: { [k: string]: any }): Block.Form; - - /** - * Creates a plain object from a Form message. Also converts values to other types if specified. - * @param message Form - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Block.Form, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Form to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Form - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a TabContainer. */ - interface ITabContainer { - } - - /** Represents a TabContainer. */ - class TabContainer implements ITabContainer { - - /** - * Constructs a new TabContainer. - * @param [properties] Properties to set - */ - constructor(properties?: Block.ITabContainer); - - /** - * Creates a new TabContainer instance using the specified properties. - * @param [properties] Properties to set - * @returns TabContainer instance - */ - public static create(properties?: Block.ITabContainer): Block.TabContainer; - - /** - * Encodes the specified TabContainer message. Does not implicitly {@link Block.TabContainer.verify|verify} messages. - * @param message TabContainer message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: Block.ITabContainer, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified TabContainer message, length delimited. Does not implicitly {@link Block.TabContainer.verify|verify} messages. - * @param message TabContainer message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: Block.ITabContainer, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a TabContainer message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns TabContainer - * @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): Block.TabContainer; - - /** - * Decodes a TabContainer message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns TabContainer - * @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)): Block.TabContainer; - - /** - * Verifies a TabContainer 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 TabContainer message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns TabContainer - */ - public static fromObject(object: { [k: string]: any }): Block.TabContainer; - - /** - * Creates a plain object from a TabContainer message. Also converts values to other types if specified. - * @param message TabContainer - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Block.TabContainer, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this TabContainer to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for TabContainer - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a Tab. */ - interface ITab { - - /** Tab label */ - label?: (string|null); - } - - /** Represents a Tab. */ - class Tab implements ITab { - - /** - * Constructs a new Tab. - * @param [properties] Properties to set - */ - constructor(properties?: Block.ITab); - - /** Tab label. */ - public label: string; - - /** - * Creates a new Tab instance using the specified properties. - * @param [properties] Properties to set - * @returns Tab instance - */ - public static create(properties?: Block.ITab): Block.Tab; - - /** - * Encodes the specified Tab message. Does not implicitly {@link Block.Tab.verify|verify} messages. - * @param message Tab message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: Block.ITab, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Tab message, length delimited. Does not implicitly {@link Block.Tab.verify|verify} messages. - * @param message Tab message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: Block.ITab, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Tab message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Tab - * @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): Block.Tab; - - /** - * Decodes a Tab message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Tab - * @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)): Block.Tab; - - /** - * Verifies a Tab 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 Tab message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Tab - */ - public static fromObject(object: { [k: string]: any }): Block.Tab; - - /** - * Creates a plain object from a Tab message. Also converts values to other types if specified. - * @param message Tab - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Block.Tab, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Tab to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Tab - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } -} - -/** Properties of a BokehChart. */ -export interface IBokehChart { - - /** BokehChart figure */ - figure?: (string|null); - - /** BokehChart useContainerWidth */ - useContainerWidth?: (boolean|null); - - /** BokehChart elementId */ - elementId?: (string|null); -} - -/** Represents a BokehChart. */ -export class BokehChart implements IBokehChart { - - /** - * Constructs a new BokehChart. - * @param [properties] Properties to set - */ - constructor(properties?: IBokehChart); - - /** BokehChart figure. */ - public figure: string; - - /** BokehChart useContainerWidth. */ - public useContainerWidth: boolean; - - /** BokehChart elementId. */ - public elementId: string; - - /** - * Creates a new BokehChart instance using the specified properties. - * @param [properties] Properties to set - * @returns BokehChart instance - */ - public static create(properties?: IBokehChart): BokehChart; - - /** - * Encodes the specified BokehChart message. Does not implicitly {@link BokehChart.verify|verify} messages. - * @param message BokehChart message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IBokehChart, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified BokehChart message, length delimited. Does not implicitly {@link BokehChart.verify|verify} messages. - * @param message BokehChart message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IBokehChart, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a BokehChart message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns BokehChart - * @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): BokehChart; - - /** - * Decodes a BokehChart message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns BokehChart - * @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)): BokehChart; - - /** - * Verifies a BokehChart 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 BokehChart message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns BokehChart - */ - public static fromObject(object: { [k: string]: any }): BokehChart; - - /** - * Creates a plain object from a BokehChart message. Also converts values to other types if specified. - * @param message BokehChart - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: BokehChart, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this BokehChart to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for BokehChart - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a Button. */ -export interface IButton { - - /** Button id */ - id?: (string|null); - - /** Button label */ - label?: (string|null); - - /** Button default */ - "default"?: (boolean|null); - - /** Button help */ - help?: (string|null); - - /** Button formId */ - formId?: (string|null); - - /** Button isFormSubmitter */ - isFormSubmitter?: (boolean|null); - - /** Button type */ - type?: (string|null); - - /** Button disabled */ - disabled?: (boolean|null); - - /** Button useContainerWidth */ - useContainerWidth?: (boolean|null); -} - -/** Represents a Button. */ -export class Button implements IButton { - - /** - * Constructs a new Button. - * @param [properties] Properties to set - */ - constructor(properties?: IButton); - - /** Button id. */ - public id: string; - - /** Button label. */ - public label: string; - - /** Button default. */ - public default: boolean; - - /** Button help. */ - public help: string; - - /** Button formId. */ - public formId: string; - - /** Button isFormSubmitter. */ - public isFormSubmitter: boolean; - - /** Button type. */ - public type: string; - - /** Button disabled. */ - public disabled: boolean; - - /** Button useContainerWidth. */ - public useContainerWidth: boolean; - - /** - * Creates a new Button instance using the specified properties. - * @param [properties] Properties to set - * @returns Button instance - */ - public static create(properties?: IButton): Button; - - /** - * Encodes the specified Button message. Does not implicitly {@link Button.verify|verify} messages. - * @param message Button message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IButton, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Button message, length delimited. Does not implicitly {@link Button.verify|verify} messages. - * @param message Button message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IButton, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Button message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Button - * @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): Button; - - /** - * Decodes a Button message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Button - * @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)): Button; - - /** - * Verifies a Button 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 Button message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Button - */ - public static fromObject(object: { [k: string]: any }): Button; - - /** - * Creates a plain object from a Button message. Also converts values to other types if specified. - * @param message Button - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Button, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Button to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Button - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a CameraInput. */ -export interface ICameraInput { - - /** CameraInput id */ - id?: (string|null); - - /** CameraInput label */ - label?: (string|null); - - /** CameraInput help */ - help?: (string|null); - - /** CameraInput formId */ - formId?: (string|null); - - /** CameraInput disabled */ - disabled?: (boolean|null); - - /** CameraInput labelVisibility */ - labelVisibility?: (ILabelVisibilityMessage|null); -} - -/** Represents a CameraInput. */ -export class CameraInput implements ICameraInput { - - /** - * Constructs a new CameraInput. - * @param [properties] Properties to set - */ - constructor(properties?: ICameraInput); - - /** CameraInput id. */ - public id: string; - - /** CameraInput label. */ - public label: string; - - /** CameraInput help. */ - public help: string; - - /** CameraInput formId. */ - public formId: string; - - /** CameraInput disabled. */ - public disabled: boolean; - - /** CameraInput labelVisibility. */ - public labelVisibility?: (ILabelVisibilityMessage|null); - - /** - * Creates a new CameraInput instance using the specified properties. - * @param [properties] Properties to set - * @returns CameraInput instance - */ - public static create(properties?: ICameraInput): CameraInput; - - /** - * Encodes the specified CameraInput message. Does not implicitly {@link CameraInput.verify|verify} messages. - * @param message CameraInput message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: ICameraInput, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified CameraInput message, length delimited. Does not implicitly {@link CameraInput.verify|verify} messages. - * @param message CameraInput message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: ICameraInput, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a CameraInput message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns CameraInput - * @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): CameraInput; - - /** - * Decodes a CameraInput message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns CameraInput - * @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)): CameraInput; - - /** - * Verifies a CameraInput 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 CameraInput message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns CameraInput - */ - public static fromObject(object: { [k: string]: any }): CameraInput; - - /** - * Creates a plain object from a CameraInput message. Also converts values to other types if specified. - * @param message CameraInput - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: CameraInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this CameraInput to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for CameraInput - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a Checkbox. */ -export interface ICheckbox { - - /** Checkbox id */ - id?: (string|null); - - /** Checkbox label */ - label?: (string|null); - - /** Checkbox default */ - "default"?: (boolean|null); - - /** Checkbox help */ - help?: (string|null); - - /** Checkbox formId */ - formId?: (string|null); - - /** Checkbox value */ - value?: (boolean|null); - - /** Checkbox setValue */ - setValue?: (boolean|null); - - /** Checkbox disabled */ - disabled?: (boolean|null); - - /** Checkbox labelVisibility */ - labelVisibility?: (ILabelVisibilityMessage|null); -} - -/** Represents a Checkbox. */ -export class Checkbox implements ICheckbox { - - /** - * Constructs a new Checkbox. - * @param [properties] Properties to set - */ - constructor(properties?: ICheckbox); - - /** Checkbox id. */ - public id: string; - - /** Checkbox label. */ - public label: string; - - /** Checkbox default. */ - public default: boolean; - - /** Checkbox help. */ - public help: string; - - /** Checkbox formId. */ - public formId: string; - - /** Checkbox value. */ - public value: boolean; - - /** Checkbox setValue. */ - public setValue: boolean; - - /** Checkbox disabled. */ - public disabled: boolean; - - /** Checkbox labelVisibility. */ - public labelVisibility?: (ILabelVisibilityMessage|null); - - /** - * Creates a new Checkbox instance using the specified properties. - * @param [properties] Properties to set - * @returns Checkbox instance - */ - public static create(properties?: ICheckbox): Checkbox; - - /** - * Encodes the specified Checkbox message. Does not implicitly {@link Checkbox.verify|verify} messages. - * @param message Checkbox message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: ICheckbox, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Checkbox message, length delimited. Does not implicitly {@link Checkbox.verify|verify} messages. - * @param message Checkbox message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: ICheckbox, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Checkbox message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Checkbox - * @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): Checkbox; - - /** - * Decodes a Checkbox message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Checkbox - * @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)): Checkbox; - - /** - * Verifies a Checkbox 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 Checkbox message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Checkbox - */ - public static fromObject(object: { [k: string]: any }): Checkbox; - - /** - * Creates a plain object from a Checkbox message. Also converts values to other types if specified. - * @param message Checkbox - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Checkbox, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Checkbox to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Checkbox - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ClientState. */ -export interface IClientState { - - /** ClientState queryString */ - queryString?: (string|null); - - /** ClientState widgetStates */ - widgetStates?: (IWidgetStates|null); - - /** ClientState pageScriptHash */ - pageScriptHash?: (string|null); - - /** ClientState pageName */ - pageName?: (string|null); -} - -/** Represents a ClientState. */ -export class ClientState implements IClientState { - - /** - * Constructs a new ClientState. - * @param [properties] Properties to set - */ - constructor(properties?: IClientState); - - /** ClientState queryString. */ - public queryString: string; - - /** ClientState widgetStates. */ - public widgetStates?: (IWidgetStates|null); - - /** ClientState pageScriptHash. */ - public pageScriptHash: string; - - /** ClientState pageName. */ - public pageName: string; - - /** - * Creates a new ClientState instance using the specified properties. - * @param [properties] Properties to set - * @returns ClientState instance - */ - public static create(properties?: IClientState): ClientState; - - /** - * Encodes the specified ClientState message. Does not implicitly {@link ClientState.verify|verify} messages. - * @param message ClientState message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IClientState, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ClientState message, length delimited. Does not implicitly {@link ClientState.verify|verify} messages. - * @param message ClientState message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IClientState, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ClientState message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ClientState - * @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): ClientState; - - /** - * Decodes a ClientState message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ClientState - * @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)): ClientState; - - /** - * Verifies a ClientState 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 ClientState message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ClientState - */ - public static fromObject(object: { [k: string]: any }): ClientState; - - /** - * Creates a plain object from a ClientState message. Also converts values to other types if specified. - * @param message ClientState - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ClientState, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ClientState to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ClientState - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a Code. */ -export interface ICode { - - /** Code codeText */ - codeText?: (string|null); - - /** Code language */ - language?: (string|null); - - /** Code showLineNumbers */ - showLineNumbers?: (boolean|null); -} - -/** Represents a Code. */ -export class Code implements ICode { - - /** - * Constructs a new Code. - * @param [properties] Properties to set - */ - constructor(properties?: ICode); - - /** Code codeText. */ - public codeText: string; - - /** Code language. */ - public language: string; - - /** Code showLineNumbers. */ - public showLineNumbers: boolean; - - /** - * Creates a new Code instance using the specified properties. - * @param [properties] Properties to set - * @returns Code instance - */ - public static create(properties?: ICode): Code; - - /** - * Encodes the specified Code message. Does not implicitly {@link Code.verify|verify} messages. - * @param message Code message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: ICode, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Code message, length delimited. Does not implicitly {@link Code.verify|verify} messages. - * @param message Code message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: ICode, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Code message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Code - * @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): Code; - - /** - * Decodes a Code message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Code - * @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)): Code; - - /** - * Verifies a Code 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 Code message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Code - */ - public static fromObject(object: { [k: string]: any }): Code; - - /** - * Creates a plain object from a Code message. Also converts values to other types if specified. - * @param message Code - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Code, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Code to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Code - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ColorPicker. */ -export interface IColorPicker { - - /** ColorPicker id */ - id?: (string|null); - - /** ColorPicker label */ - label?: (string|null); - - /** ColorPicker default */ - "default"?: (string|null); - - /** ColorPicker help */ - help?: (string|null); - - /** ColorPicker formId */ - formId?: (string|null); - - /** ColorPicker value */ - value?: (string|null); - - /** ColorPicker setValue */ - setValue?: (boolean|null); - - /** ColorPicker disabled */ - disabled?: (boolean|null); - - /** ColorPicker labelVisibility */ - labelVisibility?: (ILabelVisibilityMessage|null); -} - -/** Represents a ColorPicker. */ -export class ColorPicker implements IColorPicker { - - /** - * Constructs a new ColorPicker. - * @param [properties] Properties to set - */ - constructor(properties?: IColorPicker); - - /** ColorPicker id. */ - public id: string; - - /** ColorPicker label. */ - public label: string; - - /** ColorPicker default. */ - public default: string; - - /** ColorPicker help. */ - public help: string; - - /** ColorPicker formId. */ - public formId: string; - - /** ColorPicker value. */ - public value: string; - - /** ColorPicker setValue. */ - public setValue: boolean; - - /** ColorPicker disabled. */ - public disabled: boolean; - - /** ColorPicker labelVisibility. */ - public labelVisibility?: (ILabelVisibilityMessage|null); - - /** - * Creates a new ColorPicker instance using the specified properties. - * @param [properties] Properties to set - * @returns ColorPicker instance - */ - public static create(properties?: IColorPicker): ColorPicker; - - /** - * Encodes the specified ColorPicker message. Does not implicitly {@link ColorPicker.verify|verify} messages. - * @param message ColorPicker message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IColorPicker, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ColorPicker message, length delimited. Does not implicitly {@link ColorPicker.verify|verify} messages. - * @param message ColorPicker message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IColorPicker, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ColorPicker message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ColorPicker - * @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): ColorPicker; - - /** - * Decodes a ColorPicker message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ColorPicker - * @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)): ColorPicker; - - /** - * Verifies a ColorPicker 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 ColorPicker message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ColorPicker - */ - public static fromObject(object: { [k: string]: any }): ColorPicker; - - /** - * Creates a plain object from a ColorPicker message. Also converts values to other types if specified. - * @param message ColorPicker - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ColorPicker, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ColorPicker to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ColorPicker - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a StringArray. */ -export interface IStringArray { - - /** StringArray data */ - data?: (string[]|null); -} - -/** Represents a StringArray. */ -export class StringArray implements IStringArray { - - /** - * Constructs a new StringArray. - * @param [properties] Properties to set - */ - constructor(properties?: IStringArray); - - /** StringArray data. */ - public data: string[]; - - /** - * Creates a new StringArray instance using the specified properties. - * @param [properties] Properties to set - * @returns StringArray instance - */ - public static create(properties?: IStringArray): StringArray; - - /** - * Encodes the specified StringArray message. Does not implicitly {@link StringArray.verify|verify} messages. - * @param message StringArray message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IStringArray, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified StringArray message, length delimited. Does not implicitly {@link StringArray.verify|verify} messages. - * @param message StringArray message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IStringArray, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a StringArray message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns StringArray - * @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): StringArray; - - /** - * Decodes a StringArray message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns StringArray - * @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)): StringArray; - - /** - * Verifies a StringArray 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 StringArray message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns StringArray - */ - public static fromObject(object: { [k: string]: any }): StringArray; - - /** - * Creates a plain object from a StringArray message. Also converts values to other types if specified. - * @param message StringArray - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: StringArray, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this StringArray to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for StringArray - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a DoubleArray. */ -export interface IDoubleArray { - - /** DoubleArray data */ - data?: (number[]|null); -} - -/** Represents a DoubleArray. */ -export class DoubleArray implements IDoubleArray { - - /** - * Constructs a new DoubleArray. - * @param [properties] Properties to set - */ - constructor(properties?: IDoubleArray); - - /** DoubleArray data. */ - public data: number[]; - - /** - * Creates a new DoubleArray instance using the specified properties. - * @param [properties] Properties to set - * @returns DoubleArray instance - */ - public static create(properties?: IDoubleArray): DoubleArray; - - /** - * Encodes the specified DoubleArray message. Does not implicitly {@link DoubleArray.verify|verify} messages. - * @param message DoubleArray message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IDoubleArray, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified DoubleArray message, length delimited. Does not implicitly {@link DoubleArray.verify|verify} messages. - * @param message DoubleArray message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IDoubleArray, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a DoubleArray message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns DoubleArray - * @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): DoubleArray; - - /** - * Decodes a DoubleArray message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns DoubleArray - * @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)): DoubleArray; - - /** - * Verifies a DoubleArray 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 DoubleArray message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns DoubleArray - */ - public static fromObject(object: { [k: string]: any }): DoubleArray; - - /** - * Creates a plain object from a DoubleArray message. Also converts values to other types if specified. - * @param message DoubleArray - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: DoubleArray, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this DoubleArray to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for DoubleArray - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of an Int32Array. */ -export interface IInt32Array { - - /** Int32Array data */ - data?: (number[]|null); -} - -/** Represents an Int32Array. */ -export class Int32Array implements IInt32Array { - - /** - * Constructs a new Int32Array. - * @param [properties] Properties to set - */ - constructor(properties?: IInt32Array); - - /** Int32Array data. */ - public data: number[]; - - /** - * Creates a new Int32Array instance using the specified properties. - * @param [properties] Properties to set - * @returns Int32Array instance - */ - public static create(properties?: IInt32Array): Int32Array; - - /** - * Encodes the specified Int32Array message. Does not implicitly {@link Int32Array.verify|verify} messages. - * @param message Int32Array message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IInt32Array, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Int32Array message, length delimited. Does not implicitly {@link Int32Array.verify|verify} messages. - * @param message Int32Array message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IInt32Array, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an Int32Array message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Int32Array - * @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): Int32Array; - - /** - * Decodes an Int32Array message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Int32Array - * @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)): Int32Array; - - /** - * Verifies an Int32Array 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 Int32Array message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Int32Array - */ - public static fromObject(object: { [k: string]: any }): Int32Array; - - /** - * Creates a plain object from an Int32Array message. Also converts values to other types if specified. - * @param message Int32Array - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Int32Array, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Int32Array to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Int32Array - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of an Int64Array. */ -export interface IInt64Array { - - /** Int64Array data */ - data?: ((number|Long)[]|null); -} - -/** Represents an Int64Array. */ -export class Int64Array implements IInt64Array { - - /** - * Constructs a new Int64Array. - * @param [properties] Properties to set - */ - constructor(properties?: IInt64Array); - - /** Int64Array data. */ - public data: (number|Long)[]; - - /** - * Creates a new Int64Array instance using the specified properties. - * @param [properties] Properties to set - * @returns Int64Array instance - */ - public static create(properties?: IInt64Array): Int64Array; - - /** - * Encodes the specified Int64Array message. Does not implicitly {@link Int64Array.verify|verify} messages. - * @param message Int64Array message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IInt64Array, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Int64Array message, length delimited. Does not implicitly {@link Int64Array.verify|verify} messages. - * @param message Int64Array message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IInt64Array, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an Int64Array message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Int64Array - * @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): Int64Array; - - /** - * Decodes an Int64Array message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Int64Array - * @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)): Int64Array; - - /** - * Verifies an Int64Array 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 Int64Array message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Int64Array - */ - public static fromObject(object: { [k: string]: any }): Int64Array; - - /** - * Creates a plain object from an Int64Array message. Also converts values to other types if specified. - * @param message Int64Array - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Int64Array, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Int64Array to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Int64Array - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a SInt64Array. */ -export interface ISInt64Array { - - /** SInt64Array data */ - data?: ((number|Long)[]|null); -} - -/** Represents a SInt64Array. */ -export class SInt64Array implements ISInt64Array { - - /** - * Constructs a new SInt64Array. - * @param [properties] Properties to set - */ - constructor(properties?: ISInt64Array); - - /** SInt64Array data. */ - public data: (number|Long)[]; - - /** - * Creates a new SInt64Array instance using the specified properties. - * @param [properties] Properties to set - * @returns SInt64Array instance - */ - public static create(properties?: ISInt64Array): SInt64Array; - - /** - * Encodes the specified SInt64Array message. Does not implicitly {@link SInt64Array.verify|verify} messages. - * @param message SInt64Array message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: ISInt64Array, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SInt64Array message, length delimited. Does not implicitly {@link SInt64Array.verify|verify} messages. - * @param message SInt64Array message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: ISInt64Array, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SInt64Array message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SInt64Array - * @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): SInt64Array; - - /** - * Decodes a SInt64Array message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SInt64Array - * @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)): SInt64Array; - - /** - * Verifies a SInt64Array 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 SInt64Array message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SInt64Array - */ - public static fromObject(object: { [k: string]: any }): SInt64Array; - - /** - * Creates a plain object from a SInt64Array message. Also converts values to other types if specified. - * @param message SInt64Array - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: SInt64Array, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SInt64Array to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SInt64Array - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a UInt32Array. */ -export interface IUInt32Array { - - /** UInt32Array data */ - data?: (number[]|null); -} - -/** Represents a UInt32Array. */ -export class UInt32Array implements IUInt32Array { - - /** - * Constructs a new UInt32Array. - * @param [properties] Properties to set - */ - constructor(properties?: IUInt32Array); - - /** UInt32Array data. */ - public data: number[]; - - /** - * Creates a new UInt32Array instance using the specified properties. - * @param [properties] Properties to set - * @returns UInt32Array instance - */ - public static create(properties?: IUInt32Array): UInt32Array; - - /** - * Encodes the specified UInt32Array message. Does not implicitly {@link UInt32Array.verify|verify} messages. - * @param message UInt32Array message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IUInt32Array, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified UInt32Array message, length delimited. Does not implicitly {@link UInt32Array.verify|verify} messages. - * @param message UInt32Array message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IUInt32Array, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a UInt32Array message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns UInt32Array - * @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): UInt32Array; - - /** - * Decodes a UInt32Array message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns UInt32Array - * @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)): UInt32Array; - - /** - * Verifies a UInt32Array 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 UInt32Array message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns UInt32Array - */ - public static fromObject(object: { [k: string]: any }): UInt32Array; - - /** - * Creates a plain object from a UInt32Array message. Also converts values to other types if specified. - * @param message UInt32Array - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: UInt32Array, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this UInt32Array to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for UInt32Array - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of an UploadedFileInfo. */ -export interface IUploadedFileInfo { - - /** UploadedFileInfo id */ - id?: (number|Long|null); - - /** UploadedFileInfo name */ - name?: (string|null); - - /** UploadedFileInfo size */ - size?: (number|null); -} - -/** Represents an UploadedFileInfo. */ -export class UploadedFileInfo implements IUploadedFileInfo { - - /** - * Constructs a new UploadedFileInfo. - * @param [properties] Properties to set - */ - constructor(properties?: IUploadedFileInfo); - - /** UploadedFileInfo id. */ - public id: (number|Long); - - /** UploadedFileInfo name. */ - public name: string; - - /** UploadedFileInfo size. */ - public size: number; - - /** - * Creates a new UploadedFileInfo instance using the specified properties. - * @param [properties] Properties to set - * @returns UploadedFileInfo instance - */ - public static create(properties?: IUploadedFileInfo): UploadedFileInfo; - - /** - * Encodes the specified UploadedFileInfo message. Does not implicitly {@link UploadedFileInfo.verify|verify} messages. - * @param message UploadedFileInfo message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IUploadedFileInfo, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified UploadedFileInfo message, length delimited. Does not implicitly {@link UploadedFileInfo.verify|verify} messages. - * @param message UploadedFileInfo message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IUploadedFileInfo, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an UploadedFileInfo message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns UploadedFileInfo - * @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): UploadedFileInfo; - - /** - * Decodes an UploadedFileInfo message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns UploadedFileInfo - * @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)): UploadedFileInfo; - - /** - * Verifies an UploadedFileInfo 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 UploadedFileInfo message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns UploadedFileInfo - */ - public static fromObject(object: { [k: string]: any }): UploadedFileInfo; - - /** - * Creates a plain object from an UploadedFileInfo message. Also converts values to other types if specified. - * @param message UploadedFileInfo - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: UploadedFileInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this UploadedFileInfo to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for UploadedFileInfo - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a FileUploaderState. */ -export interface IFileUploaderState { - - /** FileUploaderState maxFileId */ - maxFileId?: (number|Long|null); - - /** FileUploaderState uploadedFileInfo */ - uploadedFileInfo?: (IUploadedFileInfo[]|null); -} - -/** Represents a FileUploaderState. */ -export class FileUploaderState implements IFileUploaderState { - - /** - * Constructs a new FileUploaderState. - * @param [properties] Properties to set - */ - constructor(properties?: IFileUploaderState); - - /** FileUploaderState maxFileId. */ - public maxFileId: (number|Long); - - /** FileUploaderState uploadedFileInfo. */ - public uploadedFileInfo: IUploadedFileInfo[]; - - /** - * Creates a new FileUploaderState instance using the specified properties. - * @param [properties] Properties to set - * @returns FileUploaderState instance - */ - public static create(properties?: IFileUploaderState): FileUploaderState; - - /** - * Encodes the specified FileUploaderState message. Does not implicitly {@link FileUploaderState.verify|verify} messages. - * @param message FileUploaderState message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IFileUploaderState, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified FileUploaderState message, length delimited. Does not implicitly {@link FileUploaderState.verify|verify} messages. - * @param message FileUploaderState message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IFileUploaderState, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a FileUploaderState message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns FileUploaderState - * @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): FileUploaderState; - - /** - * Decodes a FileUploaderState message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns FileUploaderState - * @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)): FileUploaderState; - - /** - * Verifies a FileUploaderState 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 FileUploaderState message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns FileUploaderState - */ - public static fromObject(object: { [k: string]: any }): FileUploaderState; - - /** - * Creates a plain object from a FileUploaderState message. Also converts values to other types if specified. - * @param message FileUploaderState - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: FileUploaderState, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this FileUploaderState to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for FileUploaderState - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ComponentInstance. */ -export interface IComponentInstance { - - /** ComponentInstance id */ - id?: (string|null); - - /** ComponentInstance jsonArgs */ - jsonArgs?: (string|null); - - /** ComponentInstance specialArgs */ - specialArgs?: (ISpecialArg[]|null); - - /** ComponentInstance componentName */ - componentName?: (string|null); - - /** ComponentInstance url */ - url?: (string|null); - - /** ComponentInstance formId */ - formId?: (string|null); -} - -/** Represents a ComponentInstance. */ -export class ComponentInstance implements IComponentInstance { - - /** - * Constructs a new ComponentInstance. - * @param [properties] Properties to set - */ - constructor(properties?: IComponentInstance); - - /** ComponentInstance id. */ - public id: string; - - /** ComponentInstance jsonArgs. */ - public jsonArgs: string; - - /** ComponentInstance specialArgs. */ - public specialArgs: ISpecialArg[]; - - /** ComponentInstance componentName. */ - public componentName: string; - - /** ComponentInstance url. */ - public url: string; - - /** ComponentInstance formId. */ - public formId: string; - - /** - * Creates a new ComponentInstance instance using the specified properties. - * @param [properties] Properties to set - * @returns ComponentInstance instance - */ - public static create(properties?: IComponentInstance): ComponentInstance; - - /** - * Encodes the specified ComponentInstance message. Does not implicitly {@link ComponentInstance.verify|verify} messages. - * @param message ComponentInstance message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IComponentInstance, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ComponentInstance message, length delimited. Does not implicitly {@link ComponentInstance.verify|verify} messages. - * @param message ComponentInstance message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IComponentInstance, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ComponentInstance message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ComponentInstance - * @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): ComponentInstance; - - /** - * Decodes a ComponentInstance message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ComponentInstance - * @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)): ComponentInstance; - - /** - * Verifies a ComponentInstance 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 ComponentInstance message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ComponentInstance - */ - public static fromObject(object: { [k: string]: any }): ComponentInstance; - - /** - * Creates a plain object from a ComponentInstance message. Also converts values to other types if specified. - * @param message ComponentInstance - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ComponentInstance, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ComponentInstance to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ComponentInstance - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a SpecialArg. */ -export interface ISpecialArg { - - /** SpecialArg key */ - key?: (string|null); - - /** SpecialArg arrowDataframe */ - arrowDataframe?: (IArrowDataframe|null); - - /** SpecialArg bytes */ - bytes?: (Uint8Array|null); -} - -/** Represents a SpecialArg. */ -export class SpecialArg implements ISpecialArg { - - /** - * Constructs a new SpecialArg. - * @param [properties] Properties to set - */ - constructor(properties?: ISpecialArg); - - /** SpecialArg key. */ - public key: string; - - /** SpecialArg arrowDataframe. */ - public arrowDataframe?: (IArrowDataframe|null); - - /** SpecialArg bytes. */ - public bytes?: (Uint8Array|null); - - /** SpecialArg value. */ - public value?: ("arrowDataframe"|"bytes"); - - /** - * Creates a new SpecialArg instance using the specified properties. - * @param [properties] Properties to set - * @returns SpecialArg instance - */ - public static create(properties?: ISpecialArg): SpecialArg; - - /** - * Encodes the specified SpecialArg message. Does not implicitly {@link SpecialArg.verify|verify} messages. - * @param message SpecialArg message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: ISpecialArg, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SpecialArg message, length delimited. Does not implicitly {@link SpecialArg.verify|verify} messages. - * @param message SpecialArg message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: ISpecialArg, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SpecialArg message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SpecialArg - * @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): SpecialArg; - - /** - * Decodes a SpecialArg message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SpecialArg - * @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)): SpecialArg; - - /** - * Verifies a SpecialArg 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 SpecialArg message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SpecialArg - */ - public static fromObject(object: { [k: string]: any }): SpecialArg; - - /** - * Creates a plain object from a SpecialArg message. Also converts values to other types if specified. - * @param message SpecialArg - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: SpecialArg, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SpecialArg to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SpecialArg - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of an ArrowDataframe. */ -export interface IArrowDataframe { - - /** ArrowDataframe data */ - data?: (IArrowTable|null); - - /** ArrowDataframe height */ - height?: (number|null); - - /** ArrowDataframe width */ - width?: (number|null); -} - -/** Represents an ArrowDataframe. */ -export class ArrowDataframe implements IArrowDataframe { - - /** - * Constructs a new ArrowDataframe. - * @param [properties] Properties to set - */ - constructor(properties?: IArrowDataframe); - - /** ArrowDataframe data. */ - public data?: (IArrowTable|null); - - /** ArrowDataframe height. */ - public height: number; - - /** ArrowDataframe width. */ - public width: number; - - /** - * Creates a new ArrowDataframe instance using the specified properties. - * @param [properties] Properties to set - * @returns ArrowDataframe instance - */ - public static create(properties?: IArrowDataframe): ArrowDataframe; - - /** - * Encodes the specified ArrowDataframe message. Does not implicitly {@link ArrowDataframe.verify|verify} messages. - * @param message ArrowDataframe message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IArrowDataframe, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ArrowDataframe message, length delimited. Does not implicitly {@link ArrowDataframe.verify|verify} messages. - * @param message ArrowDataframe message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IArrowDataframe, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ArrowDataframe message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ArrowDataframe - * @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): ArrowDataframe; - - /** - * Decodes an ArrowDataframe message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ArrowDataframe - * @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)): ArrowDataframe; - - /** - * Verifies an ArrowDataframe 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 ArrowDataframe message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ArrowDataframe - */ - public static fromObject(object: { [k: string]: any }): ArrowDataframe; - - /** - * Creates a plain object from an ArrowDataframe message. Also converts values to other types if specified. - * @param message ArrowDataframe - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ArrowDataframe, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ArrowDataframe to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ArrowDataframe - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of an ArrowTable. */ -export interface IArrowTable { - - /** ArrowTable data */ - data?: (Uint8Array|null); - - /** ArrowTable index */ - index?: (Uint8Array|null); - - /** ArrowTable columns */ - columns?: (Uint8Array|null); - - /** ArrowTable styler */ - styler?: (IArrowTableStyler|null); -} - -/** Represents an ArrowTable. */ -export class ArrowTable implements IArrowTable { - - /** - * Constructs a new ArrowTable. - * @param [properties] Properties to set - */ - constructor(properties?: IArrowTable); - - /** ArrowTable data. */ - public data: Uint8Array; - - /** ArrowTable index. */ - public index: Uint8Array; - - /** ArrowTable columns. */ - public columns: Uint8Array; - - /** ArrowTable styler. */ - public styler?: (IArrowTableStyler|null); - - /** - * Creates a new ArrowTable instance using the specified properties. - * @param [properties] Properties to set - * @returns ArrowTable instance - */ - public static create(properties?: IArrowTable): ArrowTable; - - /** - * Encodes the specified ArrowTable message. Does not implicitly {@link ArrowTable.verify|verify} messages. - * @param message ArrowTable message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IArrowTable, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ArrowTable message, length delimited. Does not implicitly {@link ArrowTable.verify|verify} messages. - * @param message ArrowTable message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IArrowTable, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ArrowTable message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ArrowTable - * @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): ArrowTable; - - /** - * Decodes an ArrowTable message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ArrowTable - * @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)): ArrowTable; - - /** - * Verifies an ArrowTable 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 ArrowTable message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ArrowTable - */ - public static fromObject(object: { [k: string]: any }): ArrowTable; - - /** - * Creates a plain object from an ArrowTable message. Also converts values to other types if specified. - * @param message ArrowTable - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ArrowTable, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ArrowTable to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ArrowTable - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of an ArrowTableStyler. */ -export interface IArrowTableStyler { - - /** ArrowTableStyler uuid */ - uuid?: (string|null); - - /** ArrowTableStyler caption */ - caption?: (string|null); - - /** ArrowTableStyler styles */ - styles?: (string|null); - - /** ArrowTableStyler displayValues */ - displayValues?: (Uint8Array|null); -} - -/** Represents an ArrowTableStyler. */ -export class ArrowTableStyler implements IArrowTableStyler { - - /** - * Constructs a new ArrowTableStyler. - * @param [properties] Properties to set - */ - constructor(properties?: IArrowTableStyler); - - /** ArrowTableStyler uuid. */ - public uuid: string; - - /** ArrowTableStyler caption. */ - public caption: string; - - /** ArrowTableStyler styles. */ - public styles: string; - - /** ArrowTableStyler displayValues. */ - public displayValues: Uint8Array; - - /** - * Creates a new ArrowTableStyler instance using the specified properties. - * @param [properties] Properties to set - * @returns ArrowTableStyler instance - */ - public static create(properties?: IArrowTableStyler): ArrowTableStyler; - - /** - * Encodes the specified ArrowTableStyler message. Does not implicitly {@link ArrowTableStyler.verify|verify} messages. - * @param message ArrowTableStyler message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IArrowTableStyler, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ArrowTableStyler message, length delimited. Does not implicitly {@link ArrowTableStyler.verify|verify} messages. - * @param message ArrowTableStyler message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IArrowTableStyler, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ArrowTableStyler message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ArrowTableStyler - * @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): ArrowTableStyler; - - /** - * Decodes an ArrowTableStyler message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ArrowTableStyler - * @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)): ArrowTableStyler; - - /** - * Verifies an ArrowTableStyler 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 ArrowTableStyler message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ArrowTableStyler - */ - public static fromObject(object: { [k: string]: any }): ArrowTableStyler; - - /** - * Creates a plain object from an ArrowTableStyler message. Also converts values to other types if specified. - * @param message ArrowTableStyler - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ArrowTableStyler, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ArrowTableStyler to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ArrowTableStyler - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a DataFrame. */ -export interface IDataFrame { - - /** DataFrame data */ - data?: (ITable|null); - - /** DataFrame index */ - index?: (IIndex|null); - - /** DataFrame columns */ - columns?: (IIndex|null); - - /** DataFrame style */ - style?: (ITableStyle|null); -} - -/** Represents a DataFrame. */ -export class DataFrame implements IDataFrame { - - /** - * Constructs a new DataFrame. - * @param [properties] Properties to set - */ - constructor(properties?: IDataFrame); - - /** DataFrame data. */ - public data?: (ITable|null); - - /** DataFrame index. */ - public index?: (IIndex|null); - - /** DataFrame columns. */ - public columns?: (IIndex|null); - - /** DataFrame style. */ - public style?: (ITableStyle|null); - - /** - * Creates a new DataFrame instance using the specified properties. - * @param [properties] Properties to set - * @returns DataFrame instance - */ - public static create(properties?: IDataFrame): DataFrame; - - /** - * Encodes the specified DataFrame message. Does not implicitly {@link DataFrame.verify|verify} messages. - * @param message DataFrame message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IDataFrame, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified DataFrame message, length delimited. Does not implicitly {@link DataFrame.verify|verify} messages. - * @param message DataFrame message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IDataFrame, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a DataFrame message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns DataFrame - * @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): DataFrame; - - /** - * Decodes a DataFrame message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns DataFrame - * @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)): DataFrame; - - /** - * Verifies a DataFrame 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 DataFrame message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns DataFrame - */ - public static fromObject(object: { [k: string]: any }): DataFrame; - - /** - * Creates a plain object from a DataFrame message. Also converts values to other types if specified. - * @param message DataFrame - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: DataFrame, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this DataFrame to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for DataFrame - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of an Index. */ -export interface IIndex { - - /** Index plainIndex */ - plainIndex?: (IPlainIndex|null); - - /** Index rangeIndex */ - rangeIndex?: (IRangeIndex|null); - - /** Index multiIndex */ - multiIndex?: (IMultiIndex|null); - - /** Index datetimeIndex */ - datetimeIndex?: (IDatetimeIndex|null); - - /** Index timedeltaIndex */ - timedeltaIndex?: (ITimedeltaIndex|null); - - /** Index int_64Index */ - int_64Index?: (IInt64Index|null); - - /** Index float_64Index */ - float_64Index?: (IFloat64Index|null); -} - -/** Represents an Index. */ -export class Index implements IIndex { - - /** - * Constructs a new Index. - * @param [properties] Properties to set - */ - constructor(properties?: IIndex); - - /** Index plainIndex. */ - public plainIndex?: (IPlainIndex|null); - - /** Index rangeIndex. */ - public rangeIndex?: (IRangeIndex|null); - - /** Index multiIndex. */ - public multiIndex?: (IMultiIndex|null); - - /** Index datetimeIndex. */ - public datetimeIndex?: (IDatetimeIndex|null); - - /** Index timedeltaIndex. */ - public timedeltaIndex?: (ITimedeltaIndex|null); - - /** Index int_64Index. */ - public int_64Index?: (IInt64Index|null); - - /** Index float_64Index. */ - public float_64Index?: (IFloat64Index|null); - - /** Index type. */ - public type?: ("plainIndex"|"rangeIndex"|"multiIndex"|"datetimeIndex"|"timedeltaIndex"|"int_64Index"|"float_64Index"); - - /** - * Creates a new Index instance using the specified properties. - * @param [properties] Properties to set - * @returns Index instance - */ - public static create(properties?: IIndex): Index; - - /** - * Encodes the specified Index message. Does not implicitly {@link Index.verify|verify} messages. - * @param message Index message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IIndex, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Index message, length delimited. Does not implicitly {@link Index.verify|verify} messages. - * @param message Index message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IIndex, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an Index message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Index - * @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): Index; - - /** - * Decodes an Index message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Index - * @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)): Index; - - /** - * Verifies an Index 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 Index message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Index - */ - public static fromObject(object: { [k: string]: any }): Index; - - /** - * Creates a plain object from an Index message. Also converts values to other types if specified. - * @param message Index - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Index, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Index to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Index - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a PlainIndex. */ -export interface IPlainIndex { - - /** PlainIndex data */ - data?: (IAnyArray|null); -} - -/** Represents a PlainIndex. */ -export class PlainIndex implements IPlainIndex { - - /** - * Constructs a new PlainIndex. - * @param [properties] Properties to set - */ - constructor(properties?: IPlainIndex); - - /** PlainIndex data. */ - public data?: (IAnyArray|null); - - /** - * Creates a new PlainIndex instance using the specified properties. - * @param [properties] Properties to set - * @returns PlainIndex instance - */ - public static create(properties?: IPlainIndex): PlainIndex; - - /** - * Encodes the specified PlainIndex message. Does not implicitly {@link PlainIndex.verify|verify} messages. - * @param message PlainIndex message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IPlainIndex, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified PlainIndex message, length delimited. Does not implicitly {@link PlainIndex.verify|verify} messages. - * @param message PlainIndex message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IPlainIndex, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a PlainIndex message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns PlainIndex - * @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): PlainIndex; - - /** - * Decodes a PlainIndex message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns PlainIndex - * @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)): PlainIndex; - - /** - * Verifies a PlainIndex 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 PlainIndex message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns PlainIndex - */ - public static fromObject(object: { [k: string]: any }): PlainIndex; - - /** - * Creates a plain object from a PlainIndex message. Also converts values to other types if specified. - * @param message PlainIndex - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: PlainIndex, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this PlainIndex to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for PlainIndex - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a RangeIndex. */ -export interface IRangeIndex { - - /** RangeIndex start */ - start?: (number|Long|null); - - /** RangeIndex stop */ - stop?: (number|Long|null); -} - -/** Represents a RangeIndex. */ -export class RangeIndex implements IRangeIndex { - - /** - * Constructs a new RangeIndex. - * @param [properties] Properties to set - */ - constructor(properties?: IRangeIndex); - - /** RangeIndex start. */ - public start: (number|Long); - - /** RangeIndex stop. */ - public stop: (number|Long); - - /** - * Creates a new RangeIndex instance using the specified properties. - * @param [properties] Properties to set - * @returns RangeIndex instance - */ - public static create(properties?: IRangeIndex): RangeIndex; - - /** - * Encodes the specified RangeIndex message. Does not implicitly {@link RangeIndex.verify|verify} messages. - * @param message RangeIndex message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IRangeIndex, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RangeIndex message, length delimited. Does not implicitly {@link RangeIndex.verify|verify} messages. - * @param message RangeIndex message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IRangeIndex, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RangeIndex message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RangeIndex - * @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): RangeIndex; - - /** - * Decodes a RangeIndex message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RangeIndex - * @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)): RangeIndex; - - /** - * Verifies a RangeIndex 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 RangeIndex message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RangeIndex - */ - public static fromObject(object: { [k: string]: any }): RangeIndex; - - /** - * Creates a plain object from a RangeIndex message. Also converts values to other types if specified. - * @param message RangeIndex - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: RangeIndex, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RangeIndex to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RangeIndex - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a MultiIndex. */ -export interface IMultiIndex { - - /** MultiIndex levels */ - levels?: (IIndex[]|null); - - /** MultiIndex labels */ - labels?: (IInt32Array[]|null); -} - -/** Represents a MultiIndex. */ -export class MultiIndex implements IMultiIndex { - - /** - * Constructs a new MultiIndex. - * @param [properties] Properties to set - */ - constructor(properties?: IMultiIndex); - - /** MultiIndex levels. */ - public levels: IIndex[]; - - /** MultiIndex labels. */ - public labels: IInt32Array[]; - - /** - * Creates a new MultiIndex instance using the specified properties. - * @param [properties] Properties to set - * @returns MultiIndex instance - */ - public static create(properties?: IMultiIndex): MultiIndex; - - /** - * Encodes the specified MultiIndex message. Does not implicitly {@link MultiIndex.verify|verify} messages. - * @param message MultiIndex message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IMultiIndex, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MultiIndex message, length delimited. Does not implicitly {@link MultiIndex.verify|verify} messages. - * @param message MultiIndex message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IMultiIndex, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MultiIndex message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MultiIndex - * @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): MultiIndex; - - /** - * Decodes a MultiIndex message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MultiIndex - * @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)): MultiIndex; - - /** - * Verifies a MultiIndex 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 MultiIndex message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MultiIndex - */ - public static fromObject(object: { [k: string]: any }): MultiIndex; - - /** - * Creates a plain object from a MultiIndex message. Also converts values to other types if specified. - * @param message MultiIndex - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: MultiIndex, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MultiIndex to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MultiIndex - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a DatetimeIndex. */ -export interface IDatetimeIndex { - - /** DatetimeIndex data */ - data?: (IStringArray|null); -} - -/** Represents a DatetimeIndex. */ -export class DatetimeIndex implements IDatetimeIndex { - - /** - * Constructs a new DatetimeIndex. - * @param [properties] Properties to set - */ - constructor(properties?: IDatetimeIndex); - - /** DatetimeIndex data. */ - public data?: (IStringArray|null); - - /** - * Creates a new DatetimeIndex instance using the specified properties. - * @param [properties] Properties to set - * @returns DatetimeIndex instance - */ - public static create(properties?: IDatetimeIndex): DatetimeIndex; - - /** - * Encodes the specified DatetimeIndex message. Does not implicitly {@link DatetimeIndex.verify|verify} messages. - * @param message DatetimeIndex message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IDatetimeIndex, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified DatetimeIndex message, length delimited. Does not implicitly {@link DatetimeIndex.verify|verify} messages. - * @param message DatetimeIndex message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IDatetimeIndex, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a DatetimeIndex message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns DatetimeIndex - * @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): DatetimeIndex; - - /** - * Decodes a DatetimeIndex message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns DatetimeIndex - * @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)): DatetimeIndex; - - /** - * Verifies a DatetimeIndex 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 DatetimeIndex message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns DatetimeIndex - */ - public static fromObject(object: { [k: string]: any }): DatetimeIndex; - - /** - * Creates a plain object from a DatetimeIndex message. Also converts values to other types if specified. - * @param message DatetimeIndex - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: DatetimeIndex, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this DatetimeIndex to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for DatetimeIndex - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a TimedeltaIndex. */ -export interface ITimedeltaIndex { - - /** TimedeltaIndex data */ - data?: (IInt64Array|null); -} - -/** Represents a TimedeltaIndex. */ -export class TimedeltaIndex implements ITimedeltaIndex { - - /** - * Constructs a new TimedeltaIndex. - * @param [properties] Properties to set - */ - constructor(properties?: ITimedeltaIndex); - - /** TimedeltaIndex data. */ - public data?: (IInt64Array|null); - - /** - * Creates a new TimedeltaIndex instance using the specified properties. - * @param [properties] Properties to set - * @returns TimedeltaIndex instance - */ - public static create(properties?: ITimedeltaIndex): TimedeltaIndex; - - /** - * Encodes the specified TimedeltaIndex message. Does not implicitly {@link TimedeltaIndex.verify|verify} messages. - * @param message TimedeltaIndex message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: ITimedeltaIndex, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified TimedeltaIndex message, length delimited. Does not implicitly {@link TimedeltaIndex.verify|verify} messages. - * @param message TimedeltaIndex message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: ITimedeltaIndex, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a TimedeltaIndex message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns TimedeltaIndex - * @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): TimedeltaIndex; - - /** - * Decodes a TimedeltaIndex message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns TimedeltaIndex - * @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)): TimedeltaIndex; - - /** - * Verifies a TimedeltaIndex 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 TimedeltaIndex message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns TimedeltaIndex - */ - public static fromObject(object: { [k: string]: any }): TimedeltaIndex; - - /** - * Creates a plain object from a TimedeltaIndex message. Also converts values to other types if specified. - * @param message TimedeltaIndex - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: TimedeltaIndex, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this TimedeltaIndex to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for TimedeltaIndex - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of an Int64Index. */ -export interface IInt64Index { - - /** Int64Index data */ - data?: (IInt64Array|null); -} - -/** Represents an Int64Index. */ -export class Int64Index implements IInt64Index { - - /** - * Constructs a new Int64Index. - * @param [properties] Properties to set - */ - constructor(properties?: IInt64Index); - - /** Int64Index data. */ - public data?: (IInt64Array|null); - - /** - * Creates a new Int64Index instance using the specified properties. - * @param [properties] Properties to set - * @returns Int64Index instance - */ - public static create(properties?: IInt64Index): Int64Index; - - /** - * Encodes the specified Int64Index message. Does not implicitly {@link Int64Index.verify|verify} messages. - * @param message Int64Index message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IInt64Index, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Int64Index message, length delimited. Does not implicitly {@link Int64Index.verify|verify} messages. - * @param message Int64Index message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IInt64Index, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an Int64Index message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Int64Index - * @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): Int64Index; - - /** - * Decodes an Int64Index message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Int64Index - * @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)): Int64Index; - - /** - * Verifies an Int64Index 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 Int64Index message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Int64Index - */ - public static fromObject(object: { [k: string]: any }): Int64Index; - - /** - * Creates a plain object from an Int64Index message. Also converts values to other types if specified. - * @param message Int64Index - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Int64Index, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Int64Index to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Int64Index - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a Float64Index. */ -export interface IFloat64Index { - - /** Float64Index data */ - data?: (IDoubleArray|null); -} - -/** Represents a Float64Index. */ -export class Float64Index implements IFloat64Index { - - /** - * Constructs a new Float64Index. - * @param [properties] Properties to set - */ - constructor(properties?: IFloat64Index); - - /** Float64Index data. */ - public data?: (IDoubleArray|null); - - /** - * Creates a new Float64Index instance using the specified properties. - * @param [properties] Properties to set - * @returns Float64Index instance - */ - public static create(properties?: IFloat64Index): Float64Index; - - /** - * Encodes the specified Float64Index message. Does not implicitly {@link Float64Index.verify|verify} messages. - * @param message Float64Index message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IFloat64Index, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Float64Index message, length delimited. Does not implicitly {@link Float64Index.verify|verify} messages. - * @param message Float64Index message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IFloat64Index, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Float64Index message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Float64Index - * @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): Float64Index; - - /** - * Decodes a Float64Index message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Float64Index - * @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)): Float64Index; - - /** - * Verifies a Float64Index 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 Float64Index message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Float64Index - */ - public static fromObject(object: { [k: string]: any }): Float64Index; - - /** - * Creates a plain object from a Float64Index message. Also converts values to other types if specified. - * @param message Float64Index - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Float64Index, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Float64Index to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Float64Index - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a CSSStyle. */ -export interface ICSSStyle { - - /** CSSStyle property */ - property?: (string|null); - - /** CSSStyle value */ - value?: (string|null); -} - -/** Represents a CSSStyle. */ -export class CSSStyle implements ICSSStyle { - - /** - * Constructs a new CSSStyle. - * @param [properties] Properties to set - */ - constructor(properties?: ICSSStyle); - - /** CSSStyle property. */ - public property: string; - - /** CSSStyle value. */ - public value: string; - - /** - * Creates a new CSSStyle instance using the specified properties. - * @param [properties] Properties to set - * @returns CSSStyle instance - */ - public static create(properties?: ICSSStyle): CSSStyle; - - /** - * Encodes the specified CSSStyle message. Does not implicitly {@link CSSStyle.verify|verify} messages. - * @param message CSSStyle message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: ICSSStyle, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified CSSStyle message, length delimited. Does not implicitly {@link CSSStyle.verify|verify} messages. - * @param message CSSStyle message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: ICSSStyle, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a CSSStyle message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns CSSStyle - * @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): CSSStyle; - - /** - * Decodes a CSSStyle message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns CSSStyle - * @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)): CSSStyle; - - /** - * Verifies a CSSStyle 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 CSSStyle message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns CSSStyle - */ - public static fromObject(object: { [k: string]: any }): CSSStyle; - - /** - * Creates a plain object from a CSSStyle message. Also converts values to other types if specified. - * @param message CSSStyle - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: CSSStyle, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this CSSStyle to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for CSSStyle - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a CellStyle. */ -export interface ICellStyle { - - /** CellStyle css */ - css?: (ICSSStyle[]|null); - - /** CellStyle displayValue */ - displayValue?: (string|null); - - /** CellStyle hasDisplayValue */ - hasDisplayValue?: (boolean|null); -} - -/** Represents a CellStyle. */ -export class CellStyle implements ICellStyle { - - /** - * Constructs a new CellStyle. - * @param [properties] Properties to set - */ - constructor(properties?: ICellStyle); - - /** CellStyle css. */ - public css: ICSSStyle[]; - - /** CellStyle displayValue. */ - public displayValue: string; - - /** CellStyle hasDisplayValue. */ - public hasDisplayValue: boolean; - - /** - * Creates a new CellStyle instance using the specified properties. - * @param [properties] Properties to set - * @returns CellStyle instance - */ - public static create(properties?: ICellStyle): CellStyle; - - /** - * Encodes the specified CellStyle message. Does not implicitly {@link CellStyle.verify|verify} messages. - * @param message CellStyle message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: ICellStyle, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified CellStyle message, length delimited. Does not implicitly {@link CellStyle.verify|verify} messages. - * @param message CellStyle message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: ICellStyle, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a CellStyle message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns CellStyle - * @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): CellStyle; - - /** - * Decodes a CellStyle message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns CellStyle - * @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)): CellStyle; - - /** - * Verifies a CellStyle 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 CellStyle message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns CellStyle - */ - public static fromObject(object: { [k: string]: any }): CellStyle; - - /** - * Creates a plain object from a CellStyle message. Also converts values to other types if specified. - * @param message CellStyle - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: CellStyle, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this CellStyle to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for CellStyle - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a CellStyleArray. */ -export interface ICellStyleArray { - - /** CellStyleArray styles */ - styles?: (ICellStyle[]|null); -} - -/** Represents a CellStyleArray. */ -export class CellStyleArray implements ICellStyleArray { - - /** - * Constructs a new CellStyleArray. - * @param [properties] Properties to set - */ - constructor(properties?: ICellStyleArray); - - /** CellStyleArray styles. */ - public styles: ICellStyle[]; - - /** - * Creates a new CellStyleArray instance using the specified properties. - * @param [properties] Properties to set - * @returns CellStyleArray instance - */ - public static create(properties?: ICellStyleArray): CellStyleArray; - - /** - * Encodes the specified CellStyleArray message. Does not implicitly {@link CellStyleArray.verify|verify} messages. - * @param message CellStyleArray message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: ICellStyleArray, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified CellStyleArray message, length delimited. Does not implicitly {@link CellStyleArray.verify|verify} messages. - * @param message CellStyleArray message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: ICellStyleArray, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a CellStyleArray message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns CellStyleArray - * @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): CellStyleArray; - - /** - * Decodes a CellStyleArray message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns CellStyleArray - * @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)): CellStyleArray; - - /** - * Verifies a CellStyleArray 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 CellStyleArray message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns CellStyleArray - */ - public static fromObject(object: { [k: string]: any }): CellStyleArray; - - /** - * Creates a plain object from a CellStyleArray message. Also converts values to other types if specified. - * @param message CellStyleArray - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: CellStyleArray, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this CellStyleArray to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for CellStyleArray - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of an AnyArray. */ -export interface IAnyArray { - - /** AnyArray strings */ - strings?: (IStringArray|null); - - /** AnyArray doubles */ - doubles?: (IDoubleArray|null); - - /** AnyArray int64s */ - int64s?: (IInt64Array|null); - - /** AnyArray datetimes */ - datetimes?: (IStringArray|null); - - /** AnyArray timedeltas */ - timedeltas?: (IInt64Array|null); -} - -/** Represents an AnyArray. */ -export class AnyArray implements IAnyArray { - - /** - * Constructs a new AnyArray. - * @param [properties] Properties to set - */ - constructor(properties?: IAnyArray); - - /** AnyArray strings. */ - public strings?: (IStringArray|null); - - /** AnyArray doubles. */ - public doubles?: (IDoubleArray|null); - - /** AnyArray int64s. */ - public int64s?: (IInt64Array|null); - - /** AnyArray datetimes. */ - public datetimes?: (IStringArray|null); - - /** AnyArray timedeltas. */ - public timedeltas?: (IInt64Array|null); - - /** AnyArray type. */ - public type?: ("strings"|"doubles"|"int64s"|"datetimes"|"timedeltas"); - - /** - * Creates a new AnyArray instance using the specified properties. - * @param [properties] Properties to set - * @returns AnyArray instance - */ - public static create(properties?: IAnyArray): AnyArray; - - /** - * Encodes the specified AnyArray message. Does not implicitly {@link AnyArray.verify|verify} messages. - * @param message AnyArray message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IAnyArray, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified AnyArray message, length delimited. Does not implicitly {@link AnyArray.verify|verify} messages. - * @param message AnyArray message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IAnyArray, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an AnyArray message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns AnyArray - * @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): AnyArray; - - /** - * Decodes an AnyArray message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns AnyArray - * @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)): AnyArray; - - /** - * Verifies an AnyArray 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 AnyArray message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns AnyArray - */ - public static fromObject(object: { [k: string]: any }): AnyArray; - - /** - * Creates a plain object from an AnyArray message. Also converts values to other types if specified. - * @param message AnyArray - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: AnyArray, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this AnyArray to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for AnyArray - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a Table. */ -export interface ITable { - - /** Table cols */ - cols?: (IAnyArray[]|null); -} - -/** Represents a Table. */ -export class Table implements ITable { - - /** - * Constructs a new Table. - * @param [properties] Properties to set - */ - constructor(properties?: ITable); - - /** Table cols. */ - public cols: IAnyArray[]; - - /** - * Creates a new Table instance using the specified properties. - * @param [properties] Properties to set - * @returns Table instance - */ - public static create(properties?: ITable): Table; - - /** - * Encodes the specified Table message. Does not implicitly {@link Table.verify|verify} messages. - * @param message Table message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: ITable, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Table message, length delimited. Does not implicitly {@link Table.verify|verify} messages. - * @param message Table message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: ITable, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Table message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Table - * @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): Table; - - /** - * Decodes a Table message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Table - * @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)): Table; - - /** - * Verifies a Table 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 Table message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Table - */ - public static fromObject(object: { [k: string]: any }): Table; - - /** - * Creates a plain object from a Table message. Also converts values to other types if specified. - * @param message Table - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Table, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Table to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Table - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a TableStyle. */ -export interface ITableStyle { - - /** TableStyle cols */ - cols?: (ICellStyleArray[]|null); -} - -/** Represents a TableStyle. */ -export class TableStyle implements ITableStyle { - - /** - * Constructs a new TableStyle. - * @param [properties] Properties to set - */ - constructor(properties?: ITableStyle); - - /** TableStyle cols. */ - public cols: ICellStyleArray[]; - - /** - * Creates a new TableStyle instance using the specified properties. - * @param [properties] Properties to set - * @returns TableStyle instance - */ - public static create(properties?: ITableStyle): TableStyle; - - /** - * Encodes the specified TableStyle message. Does not implicitly {@link TableStyle.verify|verify} messages. - * @param message TableStyle message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: ITableStyle, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified TableStyle message, length delimited. Does not implicitly {@link TableStyle.verify|verify} messages. - * @param message TableStyle message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: ITableStyle, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a TableStyle message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns TableStyle - * @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): TableStyle; - - /** - * Decodes a TableStyle message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns TableStyle - * @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)): TableStyle; - - /** - * Verifies a TableStyle 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 TableStyle message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns TableStyle - */ - public static fromObject(object: { [k: string]: any }): TableStyle; - - /** - * Creates a plain object from a TableStyle message. Also converts values to other types if specified. - * @param message TableStyle - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: TableStyle, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this TableStyle to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for TableStyle - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a DateInput. */ -export interface IDateInput { - - /** DateInput id */ - id?: (string|null); - - /** DateInput label */ - label?: (string|null); - - /** DateInput default */ - "default"?: (string[]|null); - - /** DateInput min */ - min?: (string|null); - - /** DateInput max */ - max?: (string|null); - - /** DateInput isRange */ - isRange?: (boolean|null); - - /** DateInput help */ - help?: (string|null); - - /** DateInput formId */ - formId?: (string|null); - - /** DateInput value */ - value?: (string[]|null); - - /** DateInput setValue */ - setValue?: (boolean|null); - - /** DateInput disabled */ - disabled?: (boolean|null); - - /** DateInput labelVisibility */ - labelVisibility?: (ILabelVisibilityMessage|null); -} - -/** Represents a DateInput. */ -export class DateInput implements IDateInput { - - /** - * Constructs a new DateInput. - * @param [properties] Properties to set - */ - constructor(properties?: IDateInput); - - /** DateInput id. */ - public id: string; - - /** DateInput label. */ - public label: string; - - /** DateInput default. */ - public default: string[]; - - /** DateInput min. */ - public min: string; - - /** DateInput max. */ - public max: string; - - /** DateInput isRange. */ - public isRange: boolean; - - /** DateInput help. */ - public help: string; - - /** DateInput formId. */ - public formId: string; - - /** DateInput value. */ - public value: string[]; - - /** DateInput setValue. */ - public setValue: boolean; - - /** DateInput disabled. */ - public disabled: boolean; - - /** DateInput labelVisibility. */ - public labelVisibility?: (ILabelVisibilityMessage|null); - - /** - * Creates a new DateInput instance using the specified properties. - * @param [properties] Properties to set - * @returns DateInput instance - */ - public static create(properties?: IDateInput): DateInput; - - /** - * Encodes the specified DateInput message. Does not implicitly {@link DateInput.verify|verify} messages. - * @param message DateInput message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IDateInput, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified DateInput message, length delimited. Does not implicitly {@link DateInput.verify|verify} messages. - * @param message DateInput message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IDateInput, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a DateInput message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns DateInput - * @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): DateInput; - - /** - * Decodes a DateInput message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns DateInput - * @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)): DateInput; - - /** - * Verifies a DateInput 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 DateInput message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns DateInput - */ - public static fromObject(object: { [k: string]: any }): DateInput; - - /** - * Creates a plain object from a DateInput message. Also converts values to other types if specified. - * @param message DateInput - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: DateInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this DateInput to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for DateInput - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a DeckGlJsonChart. */ -export interface IDeckGlJsonChart { - - /** DeckGlJsonChart json */ - json?: (string|null); - - /** DeckGlJsonChart tooltip */ - tooltip?: (string|null); - - /** DeckGlJsonChart useContainerWidth */ - useContainerWidth?: (boolean|null); -} - -/** Represents a DeckGlJsonChart. */ -export class DeckGlJsonChart implements IDeckGlJsonChart { - - /** - * Constructs a new DeckGlJsonChart. - * @param [properties] Properties to set - */ - constructor(properties?: IDeckGlJsonChart); - - /** DeckGlJsonChart json. */ - public json: string; - - /** DeckGlJsonChart tooltip. */ - public tooltip: string; - - /** DeckGlJsonChart useContainerWidth. */ - public useContainerWidth: boolean; - - /** - * Creates a new DeckGlJsonChart instance using the specified properties. - * @param [properties] Properties to set - * @returns DeckGlJsonChart instance - */ - public static create(properties?: IDeckGlJsonChart): DeckGlJsonChart; - - /** - * Encodes the specified DeckGlJsonChart message. Does not implicitly {@link DeckGlJsonChart.verify|verify} messages. - * @param message DeckGlJsonChart message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IDeckGlJsonChart, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified DeckGlJsonChart message, length delimited. Does not implicitly {@link DeckGlJsonChart.verify|verify} messages. - * @param message DeckGlJsonChart message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IDeckGlJsonChart, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a DeckGlJsonChart message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns DeckGlJsonChart - * @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): DeckGlJsonChart; - - /** - * Decodes a DeckGlJsonChart message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns DeckGlJsonChart - * @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)): DeckGlJsonChart; - - /** - * Verifies a DeckGlJsonChart 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 DeckGlJsonChart message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns DeckGlJsonChart - */ - public static fromObject(object: { [k: string]: any }): DeckGlJsonChart; - - /** - * Creates a plain object from a DeckGlJsonChart message. Also converts values to other types if specified. - * @param message DeckGlJsonChart - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: DeckGlJsonChart, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this DeckGlJsonChart to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for DeckGlJsonChart - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a Delta. */ -export interface IDelta { - - /** Delta newElement */ - newElement?: (IElement|null); - - /** Delta addBlock */ - addBlock?: (IBlock|null); - - /** Delta addRows */ - addRows?: (INamedDataSet|null); - - /** Delta arrowAddRows */ - arrowAddRows?: (IArrowNamedDataSet|null); -} - -/** Represents a Delta. */ -export class Delta implements IDelta { - - /** - * Constructs a new Delta. - * @param [properties] Properties to set - */ - constructor(properties?: IDelta); - - /** Delta newElement. */ - public newElement?: (IElement|null); - - /** Delta addBlock. */ - public addBlock?: (IBlock|null); - - /** Delta addRows. */ - public addRows?: (INamedDataSet|null); - - /** Delta arrowAddRows. */ - public arrowAddRows?: (IArrowNamedDataSet|null); - - /** Delta type. */ - public type?: ("newElement"|"addBlock"|"addRows"|"arrowAddRows"); - - /** - * Creates a new Delta instance using the specified properties. - * @param [properties] Properties to set - * @returns Delta instance - */ - public static create(properties?: IDelta): Delta; - - /** - * Encodes the specified Delta message. Does not implicitly {@link Delta.verify|verify} messages. - * @param message Delta message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IDelta, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Delta message, length delimited. Does not implicitly {@link Delta.verify|verify} messages. - * @param message Delta message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IDelta, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Delta message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Delta - * @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): Delta; - - /** - * Decodes a Delta message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Delta - * @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)): Delta; - - /** - * Verifies a Delta 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 Delta message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Delta - */ - public static fromObject(object: { [k: string]: any }): Delta; - - /** - * Creates a plain object from a Delta message. Also converts values to other types if specified. - * @param message Delta - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Delta, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Delta to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Delta - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a DocString. */ -export interface IDocString { - - /** DocString docString */ - docString?: (string|null); - - /** DocString type */ - type?: (string|null); - - /** DocString name */ - name?: (string|null); - - /** DocString value */ - value?: (string|null); - - /** DocString members */ - members?: (IMember[]|null); -} - -/** Represents a DocString. */ -export class DocString implements IDocString { - - /** - * Constructs a new DocString. - * @param [properties] Properties to set - */ - constructor(properties?: IDocString); - - /** DocString docString. */ - public docString: string; - - /** DocString type. */ - public type: string; - - /** DocString name. */ - public name: string; - - /** DocString value. */ - public value: string; - - /** DocString members. */ - public members: IMember[]; - - /** - * Creates a new DocString instance using the specified properties. - * @param [properties] Properties to set - * @returns DocString instance - */ - public static create(properties?: IDocString): DocString; - - /** - * Encodes the specified DocString message. Does not implicitly {@link DocString.verify|verify} messages. - * @param message DocString message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IDocString, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified DocString message, length delimited. Does not implicitly {@link DocString.verify|verify} messages. - * @param message DocString message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IDocString, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a DocString message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns DocString - * @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): DocString; - - /** - * Decodes a DocString message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns DocString - * @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)): DocString; - - /** - * Verifies a DocString 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 DocString message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns DocString - */ - public static fromObject(object: { [k: string]: any }): DocString; - - /** - * Creates a plain object from a DocString message. Also converts values to other types if specified. - * @param message DocString - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: DocString, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this DocString to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for DocString - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a Member. */ -export interface IMember { - - /** Member name */ - name?: (string|null); - - /** Member type */ - type?: (string|null); - - /** Member value */ - value?: (string|null); - - /** Member docString */ - docString?: (string|null); -} - -/** Represents a Member. */ -export class Member implements IMember { - - /** - * Constructs a new Member. - * @param [properties] Properties to set - */ - constructor(properties?: IMember); - - /** Member name. */ - public name: string; - - /** Member type. */ - public type: string; - - /** Member value. */ - public value?: (string|null); - - /** Member docString. */ - public docString?: (string|null); - - /** Member contents. */ - public contents?: ("value"|"docString"); - - /** - * Creates a new Member instance using the specified properties. - * @param [properties] Properties to set - * @returns Member instance - */ - public static create(properties?: IMember): Member; - - /** - * Encodes the specified Member message. Does not implicitly {@link Member.verify|verify} messages. - * @param message Member message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IMember, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Member message, length delimited. Does not implicitly {@link Member.verify|verify} messages. - * @param message Member message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IMember, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Member message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Member - * @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): Member; - - /** - * Decodes a Member message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Member - * @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)): Member; - - /** - * Verifies a Member 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 Member message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Member - */ - public static fromObject(object: { [k: string]: any }): Member; - - /** - * Creates a plain object from a Member message. Also converts values to other types if specified. - * @param message Member - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Member, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Member to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Member - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a DownloadButton. */ -export interface IDownloadButton { - - /** DownloadButton id */ - id?: (string|null); - - /** DownloadButton label */ - label?: (string|null); - - /** DownloadButton default */ - "default"?: (boolean|null); - - /** DownloadButton help */ - help?: (string|null); - - /** DownloadButton formId */ - formId?: (string|null); - - /** DownloadButton url */ - url?: (string|null); - - /** DownloadButton disabled */ - disabled?: (boolean|null); - - /** DownloadButton useContainerWidth */ - useContainerWidth?: (boolean|null); -} - -/** Represents a DownloadButton. */ -export class DownloadButton implements IDownloadButton { - - /** - * Constructs a new DownloadButton. - * @param [properties] Properties to set - */ - constructor(properties?: IDownloadButton); - - /** DownloadButton id. */ - public id: string; - - /** DownloadButton label. */ - public label: string; - - /** DownloadButton default. */ - public default: boolean; - - /** DownloadButton help. */ - public help: string; - - /** DownloadButton formId. */ - public formId: string; - - /** DownloadButton url. */ - public url: string; - - /** DownloadButton disabled. */ - public disabled: boolean; - - /** DownloadButton useContainerWidth. */ - public useContainerWidth: boolean; - - /** - * Creates a new DownloadButton instance using the specified properties. - * @param [properties] Properties to set - * @returns DownloadButton instance - */ - public static create(properties?: IDownloadButton): DownloadButton; - - /** - * Encodes the specified DownloadButton message. Does not implicitly {@link DownloadButton.verify|verify} messages. - * @param message DownloadButton message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IDownloadButton, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified DownloadButton message, length delimited. Does not implicitly {@link DownloadButton.verify|verify} messages. - * @param message DownloadButton message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IDownloadButton, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a DownloadButton message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns DownloadButton - * @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): DownloadButton; - - /** - * Decodes a DownloadButton message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns DownloadButton - * @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)): DownloadButton; - - /** - * Verifies a DownloadButton 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 DownloadButton message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns DownloadButton - */ - public static fromObject(object: { [k: string]: any }): DownloadButton; - - /** - * Creates a plain object from a DownloadButton message. Also converts values to other types if specified. - * @param message DownloadButton - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: DownloadButton, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this DownloadButton to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for DownloadButton - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of an Element. */ -export interface IElement { - - /** Element alert */ - alert?: (IAlert|null); - - /** Element arrowDataFrame */ - arrowDataFrame?: (IArrow|null); - - /** Element arrowTable */ - arrowTable?: (IArrow|null); - - /** Element arrowVegaLiteChart */ - arrowVegaLiteChart?: (IArrowVegaLiteChart|null); - - /** Element audio */ - audio?: (IAudio|null); - - /** Element balloons */ - balloons?: (IBalloons|null); - - /** Element bokehChart */ - bokehChart?: (IBokehChart|null); - - /** Element button */ - button?: (IButton|null); - - /** Element downloadButton */ - downloadButton?: (IDownloadButton|null); - - /** Element cameraInput */ - cameraInput?: (ICameraInput|null); - - /** Element checkbox */ - checkbox?: (ICheckbox|null); - - /** Element colorPicker */ - colorPicker?: (IColorPicker|null); - - /** Element componentInstance */ - componentInstance?: (IComponentInstance|null); - - /** Element dataFrame */ - dataFrame?: (IDataFrame|null); - - /** Element table */ - table?: (IDataFrame|null); - - /** Element dateInput */ - dateInput?: (IDateInput|null); - - /** Element deckGlJsonChart */ - deckGlJsonChart?: (IDeckGlJsonChart|null); - - /** Element docString */ - docString?: (IDocString|null); - - /** Element empty */ - empty?: (IEmpty|null); - - /** Element exception */ - exception?: (IException|null); - - /** Element favicon */ - favicon?: (IFavicon|null); - - /** Element fileUploader */ - fileUploader?: (IFileUploader|null); - - /** Element graphvizChart */ - graphvizChart?: (IGraphVizChart|null); - - /** Element iframe */ - iframe?: (IIFrame|null); - - /** Element imgs */ - imgs?: (IImageList|null); - - /** Element json */ - json?: (IJson|null); - - /** Element markdown */ - markdown?: (IMarkdown|null); - - /** Element metric */ - metric?: (IMetric|null); - - /** Element multiselect */ - multiselect?: (IMultiSelect|null); - - /** Element numberInput */ - numberInput?: (INumberInput|null); - - /** Element plotlyChart */ - plotlyChart?: (IPlotlyChart|null); - - /** Element progress */ - progress?: (IProgress|null); - - /** Element radio */ - radio?: (IRadio|null); - - /** Element selectbox */ - selectbox?: (ISelectbox|null); - - /** Element slider */ - slider?: (ISlider|null); - - /** Element snow */ - snow?: (ISnow|null); - - /** Element spinner */ - spinner?: (ISpinner|null); - - /** Element text */ - text?: (IText|null); - - /** Element textArea */ - textArea?: (ITextArea|null); - - /** Element textInput */ - textInput?: (ITextInput|null); - - /** Element timeInput */ - timeInput?: (ITimeInput|null); - - /** Element vegaLiteChart */ - vegaLiteChart?: (IVegaLiteChart|null); - - /** Element video */ - video?: (IVideo|null); - - /** Element heading */ - heading?: (IHeading|null); - - /** Element code */ - code?: (ICode|null); -} - -/** Represents an Element. */ -export class Element implements IElement { - - /** - * Constructs a new Element. - * @param [properties] Properties to set - */ - constructor(properties?: IElement); - - /** Element alert. */ - public alert?: (IAlert|null); - - /** Element arrowDataFrame. */ - public arrowDataFrame?: (IArrow|null); - - /** Element arrowTable. */ - public arrowTable?: (IArrow|null); - - /** Element arrowVegaLiteChart. */ - public arrowVegaLiteChart?: (IArrowVegaLiteChart|null); - - /** Element audio. */ - public audio?: (IAudio|null); - - /** Element balloons. */ - public balloons?: (IBalloons|null); - - /** Element bokehChart. */ - public bokehChart?: (IBokehChart|null); - - /** Element button. */ - public button?: (IButton|null); - - /** Element downloadButton. */ - public downloadButton?: (IDownloadButton|null); - - /** Element cameraInput. */ - public cameraInput?: (ICameraInput|null); - - /** Element checkbox. */ - public checkbox?: (ICheckbox|null); - - /** Element colorPicker. */ - public colorPicker?: (IColorPicker|null); - - /** Element componentInstance. */ - public componentInstance?: (IComponentInstance|null); - - /** Element dataFrame. */ - public dataFrame?: (IDataFrame|null); - - /** Element table. */ - public table?: (IDataFrame|null); - - /** Element dateInput. */ - public dateInput?: (IDateInput|null); - - /** Element deckGlJsonChart. */ - public deckGlJsonChart?: (IDeckGlJsonChart|null); - - /** Element docString. */ - public docString?: (IDocString|null); - - /** Element empty. */ - public empty?: (IEmpty|null); - - /** Element exception. */ - public exception?: (IException|null); - - /** Element favicon. */ - public favicon?: (IFavicon|null); - - /** Element fileUploader. */ - public fileUploader?: (IFileUploader|null); - - /** Element graphvizChart. */ - public graphvizChart?: (IGraphVizChart|null); - - /** Element iframe. */ - public iframe?: (IIFrame|null); - - /** Element imgs. */ - public imgs?: (IImageList|null); - - /** Element json. */ - public json?: (IJson|null); - - /** Element markdown. */ - public markdown?: (IMarkdown|null); - - /** Element metric. */ - public metric?: (IMetric|null); - - /** Element multiselect. */ - public multiselect?: (IMultiSelect|null); - - /** Element numberInput. */ - public numberInput?: (INumberInput|null); - - /** Element plotlyChart. */ - public plotlyChart?: (IPlotlyChart|null); - - /** Element progress. */ - public progress?: (IProgress|null); - - /** Element radio. */ - public radio?: (IRadio|null); - - /** Element selectbox. */ - public selectbox?: (ISelectbox|null); - - /** Element slider. */ - public slider?: (ISlider|null); - - /** Element snow. */ - public snow?: (ISnow|null); - - /** Element spinner. */ - public spinner?: (ISpinner|null); - - /** Element text. */ - public text?: (IText|null); - - /** Element textArea. */ - public textArea?: (ITextArea|null); - - /** Element textInput. */ - public textInput?: (ITextInput|null); - - /** Element timeInput. */ - public timeInput?: (ITimeInput|null); - - /** Element vegaLiteChart. */ - public vegaLiteChart?: (IVegaLiteChart|null); - - /** Element video. */ - public video?: (IVideo|null); - - /** Element heading. */ - public heading?: (IHeading|null); - - /** Element code. */ - public code?: (ICode|null); - - /** Element type. */ - public type?: ("alert"|"arrowDataFrame"|"arrowTable"|"arrowVegaLiteChart"|"audio"|"balloons"|"bokehChart"|"button"|"downloadButton"|"cameraInput"|"checkbox"|"colorPicker"|"componentInstance"|"dataFrame"|"table"|"dateInput"|"deckGlJsonChart"|"docString"|"empty"|"exception"|"favicon"|"fileUploader"|"graphvizChart"|"iframe"|"imgs"|"json"|"markdown"|"metric"|"multiselect"|"numberInput"|"plotlyChart"|"progress"|"radio"|"selectbox"|"slider"|"snow"|"spinner"|"text"|"textArea"|"textInput"|"timeInput"|"vegaLiteChart"|"video"|"heading"|"code"); - - /** - * Creates a new Element instance using the specified properties. - * @param [properties] Properties to set - * @returns Element instance - */ - public static create(properties?: IElement): Element; - - /** - * Encodes the specified Element message. Does not implicitly {@link Element.verify|verify} messages. - * @param message Element message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IElement, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Element message, length delimited. Does not implicitly {@link Element.verify|verify} messages. - * @param message Element message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IElement, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an Element message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Element - * @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): Element; - - /** - * Decodes an Element message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Element - * @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)): Element; - - /** - * Verifies an Element 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 Element message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Element - */ - public static fromObject(object: { [k: string]: any }): Element; - - /** - * Creates a plain object from an Element message. Also converts values to other types if specified. - * @param message Element - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Element, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Element to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Element - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of an Empty. */ -export interface IEmpty { -} - -/** Represents an Empty. */ -export class Empty implements IEmpty { - - /** - * Constructs a new Empty. - * @param [properties] Properties to set - */ - constructor(properties?: IEmpty); - - /** - * Creates a new Empty instance using the specified properties. - * @param [properties] Properties to set - * @returns Empty instance - */ - public static create(properties?: IEmpty): Empty; - - /** - * Encodes the specified Empty message. Does not implicitly {@link Empty.verify|verify} messages. - * @param message Empty message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IEmpty, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Empty message, length delimited. Does not implicitly {@link Empty.verify|verify} messages. - * @param message Empty message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IEmpty, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an Empty message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Empty - * @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): Empty; - - /** - * Decodes an Empty message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Empty - * @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)): Empty; - - /** - * Verifies an Empty 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 Empty message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Empty - */ - public static fromObject(object: { [k: string]: any }): Empty; - - /** - * Creates a plain object from an Empty message. Also converts values to other types if specified. - * @param message Empty - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Empty, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Empty to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Empty - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of an Exception. */ -export interface IException { - - /** Exception type */ - type?: (string|null); - - /** Exception message */ - message?: (string|null); - - /** Exception messageIsMarkdown */ - messageIsMarkdown?: (boolean|null); - - /** Exception stackTrace */ - stackTrace?: (string[]|null); - - /** Exception isWarning */ - isWarning?: (boolean|null); -} - -/** Represents an Exception. */ -export class Exception implements IException { - - /** - * Constructs a new Exception. - * @param [properties] Properties to set - */ - constructor(properties?: IException); - - /** Exception type. */ - public type: string; - - /** Exception message. */ - public message: string; - - /** Exception messageIsMarkdown. */ - public messageIsMarkdown: boolean; - - /** Exception stackTrace. */ - public stackTrace: string[]; - - /** Exception isWarning. */ - public isWarning: boolean; - - /** - * Creates a new Exception instance using the specified properties. - * @param [properties] Properties to set - * @returns Exception instance - */ - public static create(properties?: IException): Exception; - - /** - * Encodes the specified Exception message. Does not implicitly {@link Exception.verify|verify} messages. - * @param message Exception message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IException, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Exception message, length delimited. Does not implicitly {@link Exception.verify|verify} messages. - * @param message Exception message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IException, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an Exception message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Exception - * @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): Exception; - - /** - * Decodes an Exception message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Exception - * @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)): Exception; - - /** - * Verifies an Exception 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 Exception message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Exception - */ - public static fromObject(object: { [k: string]: any }): Exception; - - /** - * Creates a plain object from an Exception message. Also converts values to other types if specified. - * @param message Exception - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Exception, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Exception to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Exception - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a Favicon. */ -export interface IFavicon { - - /** Favicon url */ - url?: (string|null); -} - -/** Represents a Favicon. */ -export class Favicon implements IFavicon { - - /** - * Constructs a new Favicon. - * @param [properties] Properties to set - */ - constructor(properties?: IFavicon); - - /** Favicon url. */ - public url: string; - - /** - * Creates a new Favicon instance using the specified properties. - * @param [properties] Properties to set - * @returns Favicon instance - */ - public static create(properties?: IFavicon): Favicon; - - /** - * Encodes the specified Favicon message. Does not implicitly {@link Favicon.verify|verify} messages. - * @param message Favicon message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IFavicon, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Favicon message, length delimited. Does not implicitly {@link Favicon.verify|verify} messages. - * @param message Favicon message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IFavicon, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Favicon message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Favicon - * @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): Favicon; - - /** - * Decodes a Favicon message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Favicon - * @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)): Favicon; - - /** - * Verifies a Favicon 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 Favicon message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Favicon - */ - public static fromObject(object: { [k: string]: any }): Favicon; - - /** - * Creates a plain object from a Favicon message. Also converts values to other types if specified. - * @param message Favicon - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Favicon, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Favicon to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Favicon - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a FileUploader. */ -export interface IFileUploader { - - /** FileUploader id */ - id?: (string|null); - - /** FileUploader label */ - label?: (string|null); - - /** FileUploader type */ - type?: (string[]|null); - - /** FileUploader maxUploadSizeMb */ - maxUploadSizeMb?: (number|null); - - /** FileUploader multipleFiles */ - multipleFiles?: (boolean|null); - - /** FileUploader help */ - help?: (string|null); - - /** FileUploader formId */ - formId?: (string|null); - - /** FileUploader disabled */ - disabled?: (boolean|null); - - /** FileUploader labelVisibility */ - labelVisibility?: (ILabelVisibilityMessage|null); -} - -/** Represents a FileUploader. */ -export class FileUploader implements IFileUploader { - - /** - * Constructs a new FileUploader. - * @param [properties] Properties to set - */ - constructor(properties?: IFileUploader); - - /** FileUploader id. */ - public id: string; - - /** FileUploader label. */ - public label: string; - - /** FileUploader type. */ - public type: string[]; - - /** FileUploader maxUploadSizeMb. */ - public maxUploadSizeMb: number; - - /** FileUploader multipleFiles. */ - public multipleFiles: boolean; - - /** FileUploader help. */ - public help: string; - - /** FileUploader formId. */ - public formId: string; - - /** FileUploader disabled. */ - public disabled: boolean; - - /** FileUploader labelVisibility. */ - public labelVisibility?: (ILabelVisibilityMessage|null); - - /** - * Creates a new FileUploader instance using the specified properties. - * @param [properties] Properties to set - * @returns FileUploader instance - */ - public static create(properties?: IFileUploader): FileUploader; - - /** - * Encodes the specified FileUploader message. Does not implicitly {@link FileUploader.verify|verify} messages. - * @param message FileUploader message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IFileUploader, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified FileUploader message, length delimited. Does not implicitly {@link FileUploader.verify|verify} messages. - * @param message FileUploader message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IFileUploader, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a FileUploader message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns FileUploader - * @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): FileUploader; - - /** - * Decodes a FileUploader message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns FileUploader - * @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)): FileUploader; - - /** - * Verifies a FileUploader 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 FileUploader message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns FileUploader - */ - public static fromObject(object: { [k: string]: any }): FileUploader; - - /** - * Creates a plain object from a FileUploader message. Also converts values to other types if specified. - * @param message FileUploader - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: FileUploader, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this FileUploader to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for FileUploader - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a ForwardMsg. */ -export interface IForwardMsg { - - /** ForwardMsg hash */ - hash?: (string|null); - - /** ForwardMsg metadata */ - metadata?: (IForwardMsgMetadata|null); - - /** ForwardMsg newSession */ - newSession?: (INewSession|null); - - /** ForwardMsg delta */ - delta?: (IDelta|null); - - /** ForwardMsg pageInfoChanged */ - pageInfoChanged?: (IPageInfo|null); - - /** ForwardMsg pageConfigChanged */ - pageConfigChanged?: (IPageConfig|null); - - /** ForwardMsg scriptFinished */ - scriptFinished?: (ForwardMsg.ScriptFinishedStatus|null); - - /** ForwardMsg gitInfoChanged */ - gitInfoChanged?: (IGitInfo|null); - - /** ForwardMsg pageProfile */ - pageProfile?: (IPageProfile|null); - - /** ForwardMsg sessionStatusChanged */ - sessionStatusChanged?: (ISessionStatus|null); - - /** ForwardMsg sessionEvent */ - sessionEvent?: (ISessionEvent|null); - - /** ForwardMsg pageNotFound */ - pageNotFound?: (IPageNotFound|null); - - /** ForwardMsg pagesChanged */ - pagesChanged?: (IPagesChanged|null); - - /** ForwardMsg refHash */ - refHash?: (string|null); - - /** ForwardMsg debugLastBackmsgId */ - debugLastBackmsgId?: (string|null); -} - -/** Represents a ForwardMsg. */ -export class ForwardMsg implements IForwardMsg { - - /** - * Constructs a new ForwardMsg. - * @param [properties] Properties to set - */ - constructor(properties?: IForwardMsg); - - /** ForwardMsg hash. */ - public hash: string; - - /** ForwardMsg metadata. */ - public metadata?: (IForwardMsgMetadata|null); - - /** ForwardMsg newSession. */ - public newSession?: (INewSession|null); - - /** ForwardMsg delta. */ - public delta?: (IDelta|null); - - /** ForwardMsg pageInfoChanged. */ - public pageInfoChanged?: (IPageInfo|null); - - /** ForwardMsg pageConfigChanged. */ - public pageConfigChanged?: (IPageConfig|null); - - /** ForwardMsg scriptFinished. */ - public scriptFinished?: (ForwardMsg.ScriptFinishedStatus|null); - - /** ForwardMsg gitInfoChanged. */ - public gitInfoChanged?: (IGitInfo|null); - - /** ForwardMsg pageProfile. */ - public pageProfile?: (IPageProfile|null); - - /** ForwardMsg sessionStatusChanged. */ - public sessionStatusChanged?: (ISessionStatus|null); - - /** ForwardMsg sessionEvent. */ - public sessionEvent?: (ISessionEvent|null); - - /** ForwardMsg pageNotFound. */ - public pageNotFound?: (IPageNotFound|null); - - /** ForwardMsg pagesChanged. */ - public pagesChanged?: (IPagesChanged|null); - - /** ForwardMsg refHash. */ - public refHash?: (string|null); - - /** ForwardMsg debugLastBackmsgId. */ - public debugLastBackmsgId: string; - - /** ForwardMsg type. */ - public type?: ("newSession"|"delta"|"pageInfoChanged"|"pageConfigChanged"|"scriptFinished"|"gitInfoChanged"|"pageProfile"|"sessionStatusChanged"|"sessionEvent"|"pageNotFound"|"pagesChanged"|"refHash"); - - /** - * Creates a new ForwardMsg instance using the specified properties. - * @param [properties] Properties to set - * @returns ForwardMsg instance - */ - public static create(properties?: IForwardMsg): ForwardMsg; - - /** - * Encodes the specified ForwardMsg message. Does not implicitly {@link ForwardMsg.verify|verify} messages. - * @param message ForwardMsg message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IForwardMsg, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ForwardMsg message, length delimited. Does not implicitly {@link ForwardMsg.verify|verify} messages. - * @param message ForwardMsg message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IForwardMsg, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ForwardMsg message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ForwardMsg - * @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): ForwardMsg; - - /** - * Decodes a ForwardMsg message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ForwardMsg - * @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)): ForwardMsg; - - /** - * Verifies a ForwardMsg 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 ForwardMsg message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ForwardMsg - */ - public static fromObject(object: { [k: string]: any }): ForwardMsg; - - /** - * Creates a plain object from a ForwardMsg message. Also converts values to other types if specified. - * @param message ForwardMsg - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ForwardMsg, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ForwardMsg to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ForwardMsg - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -export namespace ForwardMsg { - - /** ScriptFinishedStatus enum. */ - enum ScriptFinishedStatus { - FINISHED_SUCCESSFULLY = 0, - FINISHED_WITH_COMPILE_ERROR = 1, - FINISHED_EARLY_FOR_RERUN = 2 - } -} - -/** Properties of a ForwardMsgMetadata. */ -export interface IForwardMsgMetadata { - - /** ForwardMsgMetadata cacheable */ - cacheable?: (boolean|null); - - /** ForwardMsgMetadata deltaPath */ - deltaPath?: (number[]|null); - - /** ForwardMsgMetadata elementDimensionSpec */ - elementDimensionSpec?: (IElementDimensionSpec|null); -} - -/** Represents a ForwardMsgMetadata. */ -export class ForwardMsgMetadata implements IForwardMsgMetadata { - - /** - * Constructs a new ForwardMsgMetadata. - * @param [properties] Properties to set - */ - constructor(properties?: IForwardMsgMetadata); - - /** ForwardMsgMetadata cacheable. */ - public cacheable: boolean; - - /** ForwardMsgMetadata deltaPath. */ - public deltaPath: number[]; - - /** ForwardMsgMetadata elementDimensionSpec. */ - public elementDimensionSpec?: (IElementDimensionSpec|null); - - /** - * Creates a new ForwardMsgMetadata instance using the specified properties. - * @param [properties] Properties to set - * @returns ForwardMsgMetadata instance - */ - public static create(properties?: IForwardMsgMetadata): ForwardMsgMetadata; - - /** - * Encodes the specified ForwardMsgMetadata message. Does not implicitly {@link ForwardMsgMetadata.verify|verify} messages. - * @param message ForwardMsgMetadata message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IForwardMsgMetadata, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ForwardMsgMetadata message, length delimited. Does not implicitly {@link ForwardMsgMetadata.verify|verify} messages. - * @param message ForwardMsgMetadata message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IForwardMsgMetadata, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ForwardMsgMetadata message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ForwardMsgMetadata - * @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): ForwardMsgMetadata; - - /** - * Decodes a ForwardMsgMetadata message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ForwardMsgMetadata - * @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)): ForwardMsgMetadata; - - /** - * Verifies a ForwardMsgMetadata 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 ForwardMsgMetadata message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ForwardMsgMetadata - */ - public static fromObject(object: { [k: string]: any }): ForwardMsgMetadata; - - /** - * Creates a plain object from a ForwardMsgMetadata message. Also converts values to other types if specified. - * @param message ForwardMsgMetadata - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ForwardMsgMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ForwardMsgMetadata to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ForwardMsgMetadata - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of an ElementDimensionSpec. */ -export interface IElementDimensionSpec { - - /** ElementDimensionSpec width */ - width?: (number|null); - - /** ElementDimensionSpec height */ - height?: (number|null); -} - -/** Represents an ElementDimensionSpec. */ -export class ElementDimensionSpec implements IElementDimensionSpec { - - /** - * Constructs a new ElementDimensionSpec. - * @param [properties] Properties to set - */ - constructor(properties?: IElementDimensionSpec); - - /** ElementDimensionSpec width. */ - public width: number; - - /** ElementDimensionSpec height. */ - public height: number; - - /** - * Creates a new ElementDimensionSpec instance using the specified properties. - * @param [properties] Properties to set - * @returns ElementDimensionSpec instance - */ - public static create(properties?: IElementDimensionSpec): ElementDimensionSpec; - - /** - * Encodes the specified ElementDimensionSpec message. Does not implicitly {@link ElementDimensionSpec.verify|verify} messages. - * @param message ElementDimensionSpec message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IElementDimensionSpec, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ElementDimensionSpec message, length delimited. Does not implicitly {@link ElementDimensionSpec.verify|verify} messages. - * @param message ElementDimensionSpec message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IElementDimensionSpec, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ElementDimensionSpec message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ElementDimensionSpec - * @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): ElementDimensionSpec; - - /** - * Decodes an ElementDimensionSpec message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ElementDimensionSpec - * @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)): ElementDimensionSpec; - - /** - * Verifies an ElementDimensionSpec 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 ElementDimensionSpec message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ElementDimensionSpec - */ - public static fromObject(object: { [k: string]: any }): ElementDimensionSpec; - - /** - * Creates a plain object from an ElementDimensionSpec message. Also converts values to other types if specified. - * @param message ElementDimensionSpec - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ElementDimensionSpec, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ElementDimensionSpec to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ElementDimensionSpec - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a GitInfo. */ -export interface IGitInfo { - - /** GitInfo repository */ - repository?: (string|null); - - /** GitInfo branch */ - branch?: (string|null); - - /** GitInfo module */ - module?: (string|null); - - /** GitInfo untrackedFiles */ - untrackedFiles?: (string[]|null); - - /** GitInfo uncommittedFiles */ - uncommittedFiles?: (string[]|null); - - /** GitInfo state */ - state?: (GitInfo.GitStates|null); -} - -/** Represents a GitInfo. */ -export class GitInfo implements IGitInfo { - - /** - * Constructs a new GitInfo. - * @param [properties] Properties to set - */ - constructor(properties?: IGitInfo); - - /** GitInfo repository. */ - public repository: string; - - /** GitInfo branch. */ - public branch: string; - - /** GitInfo module. */ - public module: string; - - /** GitInfo untrackedFiles. */ - public untrackedFiles: string[]; - - /** GitInfo uncommittedFiles. */ - public uncommittedFiles: string[]; - - /** GitInfo state. */ - public state: GitInfo.GitStates; - - /** - * Creates a new GitInfo instance using the specified properties. - * @param [properties] Properties to set - * @returns GitInfo instance - */ - public static create(properties?: IGitInfo): GitInfo; - - /** - * Encodes the specified GitInfo message. Does not implicitly {@link GitInfo.verify|verify} messages. - * @param message GitInfo message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IGitInfo, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GitInfo message, length delimited. Does not implicitly {@link GitInfo.verify|verify} messages. - * @param message GitInfo message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IGitInfo, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GitInfo message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GitInfo - * @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): GitInfo; - - /** - * Decodes a GitInfo message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GitInfo - * @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)): GitInfo; - - /** - * Verifies a GitInfo 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 GitInfo message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GitInfo - */ - public static fromObject(object: { [k: string]: any }): GitInfo; - - /** - * Creates a plain object from a GitInfo message. Also converts values to other types if specified. - * @param message GitInfo - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: GitInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GitInfo to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GitInfo - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -export namespace GitInfo { - - /** GitStates enum. */ - enum GitStates { - DEFAULT = 0, - HEAD_DETACHED = 1, - AHEAD_OF_REMOTE = 2 - } -} - -/** Properties of a GraphVizChart. */ -export interface IGraphVizChart { - - /** GraphVizChart spec */ - spec?: (string|null); - - /** GraphVizChart useContainerWidth */ - useContainerWidth?: (boolean|null); - - /** GraphVizChart elementId */ - elementId?: (string|null); -} - -/** Represents a GraphVizChart. */ -export class GraphVizChart implements IGraphVizChart { - - /** - * Constructs a new GraphVizChart. - * @param [properties] Properties to set - */ - constructor(properties?: IGraphVizChart); - - /** GraphVizChart spec. */ - public spec: string; - - /** GraphVizChart useContainerWidth. */ - public useContainerWidth: boolean; - - /** GraphVizChart elementId. */ - public elementId: string; - - /** - * Creates a new GraphVizChart instance using the specified properties. - * @param [properties] Properties to set - * @returns GraphVizChart instance - */ - public static create(properties?: IGraphVizChart): GraphVizChart; - - /** - * Encodes the specified GraphVizChart message. Does not implicitly {@link GraphVizChart.verify|verify} messages. - * @param message GraphVizChart message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IGraphVizChart, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GraphVizChart message, length delimited. Does not implicitly {@link GraphVizChart.verify|verify} messages. - * @param message GraphVizChart message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IGraphVizChart, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GraphVizChart message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GraphVizChart - * @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): GraphVizChart; - - /** - * Decodes a GraphVizChart message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GraphVizChart - * @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)): GraphVizChart; - - /** - * Verifies a GraphVizChart 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 GraphVizChart message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GraphVizChart - */ - public static fromObject(object: { [k: string]: any }): GraphVizChart; - - /** - * Creates a plain object from a GraphVizChart message. Also converts values to other types if specified. - * @param message GraphVizChart - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: GraphVizChart, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GraphVizChart to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GraphVizChart - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a Heading. */ -export interface IHeading { - - /** Heading tag */ - tag?: (string|null); - - /** Heading anchor */ - anchor?: (string|null); - - /** Heading body */ - body?: (string|null); - - /** Heading help */ - help?: (string|null); - - /** Heading hideAnchor */ - hideAnchor?: (boolean|null); -} - -/** Represents a Heading. */ -export class Heading implements IHeading { - - /** - * Constructs a new Heading. - * @param [properties] Properties to set - */ - constructor(properties?: IHeading); - - /** Heading tag. */ - public tag: string; - - /** Heading anchor. */ - public anchor: string; - - /** Heading body. */ - public body: string; - - /** Heading help. */ - public help: string; - - /** Heading hideAnchor. */ - public hideAnchor: boolean; - - /** - * Creates a new Heading instance using the specified properties. - * @param [properties] Properties to set - * @returns Heading instance - */ - public static create(properties?: IHeading): Heading; - - /** - * Encodes the specified Heading message. Does not implicitly {@link Heading.verify|verify} messages. - * @param message Heading message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IHeading, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Heading message, length delimited. Does not implicitly {@link Heading.verify|verify} messages. - * @param message Heading message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IHeading, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Heading message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Heading - * @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): Heading; - - /** - * Decodes a Heading message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Heading - * @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)): Heading; - - /** - * Verifies a Heading 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 Heading message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Heading - */ - public static fromObject(object: { [k: string]: any }): Heading; - - /** - * Creates a plain object from a Heading message. Also converts values to other types if specified. - * @param message Heading - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Heading, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Heading to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Heading - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a IFrame. */ -export interface IIFrame { - - /** IFrame src */ - src?: (string|null); - - /** IFrame srcdoc */ - srcdoc?: (string|null); - - /** IFrame width */ - width?: (number|null); - - /** IFrame hasWidth */ - hasWidth?: (boolean|null); - - /** IFrame height */ - height?: (number|null); - - /** IFrame scrolling */ - scrolling?: (boolean|null); -} - -/** Represents a IFrame. */ -export class IFrame implements IIFrame { - - /** - * Constructs a new IFrame. - * @param [properties] Properties to set - */ - constructor(properties?: IIFrame); - - /** IFrame src. */ - public src?: (string|null); - - /** IFrame srcdoc. */ - public srcdoc?: (string|null); - - /** IFrame width. */ - public width: number; - - /** IFrame hasWidth. */ - public hasWidth: boolean; - - /** IFrame height. */ - public height: number; - - /** IFrame scrolling. */ - public scrolling: boolean; - - /** IFrame type. */ - public type?: ("src"|"srcdoc"); - - /** - * Creates a new IFrame instance using the specified properties. - * @param [properties] Properties to set - * @returns IFrame instance - */ - public static create(properties?: IIFrame): IFrame; - - /** - * Encodes the specified IFrame message. Does not implicitly {@link IFrame.verify|verify} messages. - * @param message IFrame message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IIFrame, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified IFrame message, length delimited. Does not implicitly {@link IFrame.verify|verify} messages. - * @param message IFrame message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IIFrame, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a IFrame message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns IFrame - * @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): IFrame; - - /** - * Decodes a IFrame message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns IFrame - * @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)): IFrame; - - /** - * Verifies a IFrame 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 IFrame message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns IFrame - */ - public static fromObject(object: { [k: string]: any }): IFrame; - - /** - * Creates a plain object from a IFrame message. Also converts values to other types if specified. - * @param message IFrame - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: IFrame, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this IFrame to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for IFrame - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of an Image. */ -export interface IImage { - - /** Image markup */ - markup?: (string|null); - - /** Image url */ - url?: (string|null); - - /** Image caption */ - caption?: (string|null); -} - -/** Represents an Image. */ -export class Image implements IImage { - - /** - * Constructs a new Image. - * @param [properties] Properties to set - */ - constructor(properties?: IImage); - - /** Image markup. */ - public markup: string; - - /** Image url. */ - public url: string; - - /** Image caption. */ - public caption: string; - - /** - * Creates a new Image instance using the specified properties. - * @param [properties] Properties to set - * @returns Image instance - */ - public static create(properties?: IImage): Image; - - /** - * Encodes the specified Image message. Does not implicitly {@link Image.verify|verify} messages. - * @param message Image message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IImage, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Image message, length delimited. Does not implicitly {@link Image.verify|verify} messages. - * @param message Image message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IImage, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an Image message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Image - * @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): Image; - - /** - * Decodes an Image message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Image - * @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)): Image; - - /** - * Verifies an Image 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 Image message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Image - */ - public static fromObject(object: { [k: string]: any }): Image; - - /** - * Creates a plain object from an Image message. Also converts values to other types if specified. - * @param message Image - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Image, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Image to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Image - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of an ImageList. */ -export interface IImageList { - - /** ImageList imgs */ - imgs?: (IImage[]|null); - - /** ImageList width */ - width?: (number|null); -} - -/** Represents an ImageList. */ -export class ImageList implements IImageList { - - /** - * Constructs a new ImageList. - * @param [properties] Properties to set - */ - constructor(properties?: IImageList); - - /** ImageList imgs. */ - public imgs: IImage[]; - - /** ImageList width. */ - public width: number; - - /** - * Creates a new ImageList instance using the specified properties. - * @param [properties] Properties to set - * @returns ImageList instance - */ - public static create(properties?: IImageList): ImageList; - - /** - * Encodes the specified ImageList message. Does not implicitly {@link ImageList.verify|verify} messages. - * @param message ImageList message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IImageList, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ImageList message, length delimited. Does not implicitly {@link ImageList.verify|verify} messages. - * @param message ImageList message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IImageList, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ImageList message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ImageList - * @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): ImageList; - - /** - * Decodes an ImageList message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ImageList - * @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)): ImageList; - - /** - * Verifies an ImageList 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 ImageList message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ImageList - */ - public static fromObject(object: { [k: string]: any }): ImageList; - - /** - * Creates a plain object from an ImageList message. Also converts values to other types if specified. - * @param message ImageList - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: ImageList, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ImageList to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ImageList - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a Json. */ -export interface IJson { - - /** Json body */ - body?: (string|null); - - /** Json expanded */ - expanded?: (boolean|null); -} - -/** Represents a Json. */ -export class Json implements IJson { - - /** - * Constructs a new Json. - * @param [properties] Properties to set - */ - constructor(properties?: IJson); - - /** Json body. */ - public body: string; - - /** Json expanded. */ - public expanded: boolean; - - /** - * Creates a new Json instance using the specified properties. - * @param [properties] Properties to set - * @returns Json instance - */ - public static create(properties?: IJson): Json; - - /** - * Encodes the specified Json message. Does not implicitly {@link Json.verify|verify} messages. - * @param message Json message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IJson, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Json message, length delimited. Does not implicitly {@link Json.verify|verify} messages. - * @param message Json message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IJson, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Json message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Json - * @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): Json; - - /** - * Decodes a Json message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Json - * @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)): Json; - - /** - * Verifies a Json 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 Json message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Json - */ - public static fromObject(object: { [k: string]: any }): Json; - - /** - * Creates a plain object from a Json message. Also converts values to other types if specified. - * @param message Json - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Json, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Json to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Json - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a LabelVisibilityMessage. */ -export interface ILabelVisibilityMessage { - - /** LabelVisibilityMessage value */ - value?: (LabelVisibilityMessage.LabelVisibilityOptions|null); -} - -/** Represents a LabelVisibilityMessage. */ -export class LabelVisibilityMessage implements ILabelVisibilityMessage { - - /** - * Constructs a new LabelVisibilityMessage. - * @param [properties] Properties to set - */ - constructor(properties?: ILabelVisibilityMessage); - - /** LabelVisibilityMessage value. */ - public value: LabelVisibilityMessage.LabelVisibilityOptions; - - /** - * Creates a new LabelVisibilityMessage instance using the specified properties. - * @param [properties] Properties to set - * @returns LabelVisibilityMessage instance - */ - public static create(properties?: ILabelVisibilityMessage): LabelVisibilityMessage; - - /** - * Encodes the specified LabelVisibilityMessage message. Does not implicitly {@link LabelVisibilityMessage.verify|verify} messages. - * @param message LabelVisibilityMessage message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: ILabelVisibilityMessage, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified LabelVisibilityMessage message, length delimited. Does not implicitly {@link LabelVisibilityMessage.verify|verify} messages. - * @param message LabelVisibilityMessage message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: ILabelVisibilityMessage, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a LabelVisibilityMessage message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns LabelVisibilityMessage - * @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): LabelVisibilityMessage; - - /** - * Decodes a LabelVisibilityMessage message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns LabelVisibilityMessage - * @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)): LabelVisibilityMessage; - - /** - * Verifies a LabelVisibilityMessage 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 LabelVisibilityMessage message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns LabelVisibilityMessage - */ - public static fromObject(object: { [k: string]: any }): LabelVisibilityMessage; - - /** - * Creates a plain object from a LabelVisibilityMessage message. Also converts values to other types if specified. - * @param message LabelVisibilityMessage - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: LabelVisibilityMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this LabelVisibilityMessage to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for LabelVisibilityMessage - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -export namespace LabelVisibilityMessage { - - /** LabelVisibilityOptions enum. */ - enum LabelVisibilityOptions { - VISIBLE = 0, - HIDDEN = 1, - COLLAPSED = 2 - } -} - -/** Properties of a Markdown. */ -export interface IMarkdown { - - /** Markdown body */ - body?: (string|null); - - /** Markdown allowHtml */ - allowHtml?: (boolean|null); - - /** Markdown isCaption */ - isCaption?: (boolean|null); - - /** Markdown elementType */ - elementType?: (Markdown.Type|null); - - /** Markdown help */ - help?: (string|null); -} - -/** Represents a Markdown. */ -export class Markdown implements IMarkdown { - - /** - * Constructs a new Markdown. - * @param [properties] Properties to set - */ - constructor(properties?: IMarkdown); - - /** Markdown body. */ - public body: string; - - /** Markdown allowHtml. */ - public allowHtml: boolean; - - /** Markdown isCaption. */ - public isCaption: boolean; - - /** Markdown elementType. */ - public elementType: Markdown.Type; - - /** Markdown help. */ - public help: string; - - /** - * Creates a new Markdown instance using the specified properties. - * @param [properties] Properties to set - * @returns Markdown instance - */ - public static create(properties?: IMarkdown): Markdown; - - /** - * Encodes the specified Markdown message. Does not implicitly {@link Markdown.verify|verify} messages. - * @param message Markdown message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IMarkdown, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Markdown message, length delimited. Does not implicitly {@link Markdown.verify|verify} messages. - * @param message Markdown message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IMarkdown, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Markdown message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Markdown - * @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): Markdown; - - /** - * Decodes a Markdown message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Markdown - * @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)): Markdown; - - /** - * Verifies a Markdown 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 Markdown message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Markdown - */ - public static fromObject(object: { [k: string]: any }): Markdown; - - /** - * Creates a plain object from a Markdown message. Also converts values to other types if specified. - * @param message Markdown - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Markdown, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Markdown to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Markdown - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -export namespace Markdown { - - /** Type enum. */ - enum Type { - UNSPECIFIED = 0, - NATIVE = 1, - CAPTION = 2, - CODE = 3, - LATEX = 4, - DIVIDER = 5 - } -} - -/** Properties of a Metric. */ -export interface IMetric { - - /** Metric label */ - label?: (string|null); - - /** Metric body */ - body?: (string|null); - - /** Metric delta */ - delta?: (string|null); - - /** Metric direction */ - direction?: (Metric.MetricDirection|null); - - /** Metric color */ - color?: (Metric.MetricColor|null); - - /** Metric help */ - help?: (string|null); - - /** Metric labelVisibility */ - labelVisibility?: (ILabelVisibilityMessage|null); -} - -/** Represents a Metric. */ -export class Metric implements IMetric { - - /** - * Constructs a new Metric. - * @param [properties] Properties to set - */ - constructor(properties?: IMetric); - - /** Metric label. */ - public label: string; - - /** Metric body. */ - public body: string; - - /** Metric delta. */ - public delta: string; - - /** Metric direction. */ - public direction: Metric.MetricDirection; - - /** Metric color. */ - public color: Metric.MetricColor; - - /** Metric help. */ - public help: string; - - /** Metric labelVisibility. */ - public labelVisibility?: (ILabelVisibilityMessage|null); - - /** - * Creates a new Metric instance using the specified properties. - * @param [properties] Properties to set - * @returns Metric instance - */ - public static create(properties?: IMetric): Metric; - - /** - * Encodes the specified Metric message. Does not implicitly {@link Metric.verify|verify} messages. - * @param message Metric message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IMetric, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Metric message, length delimited. Does not implicitly {@link Metric.verify|verify} messages. - * @param message Metric message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IMetric, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Metric message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Metric - * @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): Metric; - - /** - * Decodes a Metric message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Metric - * @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)): Metric; - - /** - * Verifies a Metric 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 Metric message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Metric - */ - public static fromObject(object: { [k: string]: any }): Metric; - - /** - * Creates a plain object from a Metric message. Also converts values to other types if specified. - * @param message Metric - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Metric, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Metric to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Metric - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -export namespace Metric { - - /** MetricColor enum. */ - enum MetricColor { - RED = 0, - GREEN = 1, - GRAY = 2 - } - - /** MetricDirection enum. */ - enum MetricDirection { - DOWN = 0, - UP = 1, - NONE = 2 - } -} - -/** Properties of a MultiSelect. */ -export interface IMultiSelect { - - /** MultiSelect id */ - id?: (string|null); - - /** MultiSelect label */ - label?: (string|null); - - /** MultiSelect default */ - "default"?: (number[]|null); - - /** MultiSelect options */ - options?: (string[]|null); - - /** MultiSelect help */ - help?: (string|null); - - /** MultiSelect formId */ - formId?: (string|null); - - /** MultiSelect value */ - value?: (number[]|null); - - /** MultiSelect setValue */ - setValue?: (boolean|null); - - /** MultiSelect disabled */ - disabled?: (boolean|null); - - /** MultiSelect labelVisibility */ - labelVisibility?: (ILabelVisibilityMessage|null); - - /** MultiSelect maxSelections */ - maxSelections?: (number|null); -} - -/** Represents a MultiSelect. */ -export class MultiSelect implements IMultiSelect { - - /** - * Constructs a new MultiSelect. - * @param [properties] Properties to set - */ - constructor(properties?: IMultiSelect); - - /** MultiSelect id. */ - public id: string; - - /** MultiSelect label. */ - public label: string; - - /** MultiSelect default. */ - public default: number[]; - - /** MultiSelect options. */ - public options: string[]; - - /** MultiSelect help. */ - public help: string; - - /** MultiSelect formId. */ - public formId: string; - - /** MultiSelect value. */ - public value: number[]; - - /** MultiSelect setValue. */ - public setValue: boolean; - - /** MultiSelect disabled. */ - public disabled: boolean; - - /** MultiSelect labelVisibility. */ - public labelVisibility?: (ILabelVisibilityMessage|null); - - /** MultiSelect maxSelections. */ - public maxSelections: number; - - /** - * Creates a new MultiSelect instance using the specified properties. - * @param [properties] Properties to set - * @returns MultiSelect instance - */ - public static create(properties?: IMultiSelect): MultiSelect; - - /** - * Encodes the specified MultiSelect message. Does not implicitly {@link MultiSelect.verify|verify} messages. - * @param message MultiSelect message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IMultiSelect, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MultiSelect message, length delimited. Does not implicitly {@link MultiSelect.verify|verify} messages. - * @param message MultiSelect message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IMultiSelect, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MultiSelect message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MultiSelect - * @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): MultiSelect; - - /** - * Decodes a MultiSelect message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MultiSelect - * @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)): MultiSelect; - - /** - * Verifies a MultiSelect 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 MultiSelect message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MultiSelect - */ - public static fromObject(object: { [k: string]: any }): MultiSelect; - - /** - * Creates a plain object from a MultiSelect message. Also converts values to other types if specified. - * @param message MultiSelect - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: MultiSelect, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MultiSelect to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MultiSelect - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a NamedDataSet. */ -export interface INamedDataSet { - - /** NamedDataSet name */ - name?: (string|null); - - /** NamedDataSet hasName */ - hasName?: (boolean|null); - - /** NamedDataSet data */ - data?: (IDataFrame|null); -} - -/** Represents a NamedDataSet. */ -export class NamedDataSet implements INamedDataSet { - - /** - * Constructs a new NamedDataSet. - * @param [properties] Properties to set - */ - constructor(properties?: INamedDataSet); - - /** NamedDataSet name. */ - public name: string; - - /** NamedDataSet hasName. */ - public hasName: boolean; - - /** NamedDataSet data. */ - public data?: (IDataFrame|null); - - /** - * Creates a new NamedDataSet instance using the specified properties. - * @param [properties] Properties to set - * @returns NamedDataSet instance - */ - public static create(properties?: INamedDataSet): NamedDataSet; - - /** - * Encodes the specified NamedDataSet message. Does not implicitly {@link NamedDataSet.verify|verify} messages. - * @param message NamedDataSet message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: INamedDataSet, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified NamedDataSet message, length delimited. Does not implicitly {@link NamedDataSet.verify|verify} messages. - * @param message NamedDataSet message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: INamedDataSet, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a NamedDataSet message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns NamedDataSet - * @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): NamedDataSet; - - /** - * Decodes a NamedDataSet message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns NamedDataSet - * @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)): NamedDataSet; - - /** - * Verifies a NamedDataSet 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 NamedDataSet message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns NamedDataSet - */ - public static fromObject(object: { [k: string]: any }): NamedDataSet; - - /** - * Creates a plain object from a NamedDataSet message. Also converts values to other types if specified. - * @param message NamedDataSet - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: NamedDataSet, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this NamedDataSet to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for NamedDataSet - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a NewSession. */ -export interface INewSession { - - /** NewSession initialize */ - initialize?: (IInitialize|null); - - /** NewSession scriptRunId */ - scriptRunId?: (string|null); - - /** NewSession name */ - name?: (string|null); - - /** NewSession mainScriptPath */ - mainScriptPath?: (string|null); - - /** NewSession config */ - config?: (IConfig|null); - - /** NewSession customTheme */ - customTheme?: (ICustomThemeConfig|null); - - /** NewSession appPages */ - appPages?: (IAppPage[]|null); - - /** NewSession pageScriptHash */ - pageScriptHash?: (string|null); -} - -/** Represents a NewSession. */ -export class NewSession implements INewSession { - - /** - * Constructs a new NewSession. - * @param [properties] Properties to set - */ - constructor(properties?: INewSession); - - /** NewSession initialize. */ - public initialize?: (IInitialize|null); - - /** NewSession scriptRunId. */ - public scriptRunId: string; - - /** NewSession name. */ - public name: string; - - /** NewSession mainScriptPath. */ - public mainScriptPath: string; - - /** NewSession config. */ - public config?: (IConfig|null); - - /** NewSession customTheme. */ - public customTheme?: (ICustomThemeConfig|null); - - /** NewSession appPages. */ - public appPages: IAppPage[]; - - /** NewSession pageScriptHash. */ - public pageScriptHash: string; - - /** - * Creates a new NewSession instance using the specified properties. - * @param [properties] Properties to set - * @returns NewSession instance - */ - public static create(properties?: INewSession): NewSession; - - /** - * Encodes the specified NewSession message. Does not implicitly {@link NewSession.verify|verify} messages. - * @param message NewSession message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: INewSession, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified NewSession message, length delimited. Does not implicitly {@link NewSession.verify|verify} messages. - * @param message NewSession message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: INewSession, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a NewSession message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns NewSession - * @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): NewSession; - - /** - * Decodes a NewSession message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns NewSession - * @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)): NewSession; - - /** - * Verifies a NewSession 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 NewSession message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns NewSession - */ - public static fromObject(object: { [k: string]: any }): NewSession; - - /** - * Creates a plain object from a NewSession message. Also converts values to other types if specified. - * @param message NewSession - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: NewSession, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this NewSession to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for NewSession - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of an Initialize. */ -export interface IInitialize { - - /** Initialize userInfo */ - userInfo?: (IUserInfo|null); - - /** Initialize environmentInfo */ - environmentInfo?: (IEnvironmentInfo|null); - - /** Initialize sessionStatus */ - sessionStatus?: (ISessionStatus|null); - - /** Initialize commandLine */ - commandLine?: (string|null); - - /** Initialize sessionId */ - sessionId?: (string|null); -} - -/** Represents an Initialize. */ -export class Initialize implements IInitialize { - - /** - * Constructs a new Initialize. - * @param [properties] Properties to set - */ - constructor(properties?: IInitialize); - - /** Initialize userInfo. */ - public userInfo?: (IUserInfo|null); - - /** Initialize environmentInfo. */ - public environmentInfo?: (IEnvironmentInfo|null); - - /** Initialize sessionStatus. */ - public sessionStatus?: (ISessionStatus|null); - - /** Initialize commandLine. */ - public commandLine: string; - - /** Initialize sessionId. */ - public sessionId: string; - - /** - * Creates a new Initialize instance using the specified properties. - * @param [properties] Properties to set - * @returns Initialize instance - */ - public static create(properties?: IInitialize): Initialize; - - /** - * Encodes the specified Initialize message. Does not implicitly {@link Initialize.verify|verify} messages. - * @param message Initialize message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IInitialize, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Initialize message, length delimited. Does not implicitly {@link Initialize.verify|verify} messages. - * @param message Initialize message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IInitialize, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an Initialize message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Initialize - * @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): Initialize; - - /** - * Decodes an Initialize message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Initialize - * @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)): Initialize; - - /** - * Verifies an Initialize 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 Initialize message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Initialize - */ - public static fromObject(object: { [k: string]: any }): Initialize; - - /** - * Creates a plain object from an Initialize message. Also converts values to other types if specified. - * @param message Initialize - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Initialize, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Initialize to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Initialize - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a Config. */ -export interface IConfig { - - /** Config gatherUsageStats */ - gatherUsageStats?: (boolean|null); - - /** Config maxCachedMessageAge */ - maxCachedMessageAge?: (number|null); - - /** Config mapboxToken */ - mapboxToken?: (string|null); - - /** Config allowRunOnSave */ - allowRunOnSave?: (boolean|null); - - /** Config hideTopBar */ - hideTopBar?: (boolean|null); - - /** Config hideSidebarNav */ - hideSidebarNav?: (boolean|null); - - /** Config toolbarMode */ - toolbarMode?: (Config.ToolbarMode|null); -} - -/** Represents a Config. */ -export class Config implements IConfig { - - /** - * Constructs a new Config. - * @param [properties] Properties to set - */ - constructor(properties?: IConfig); - - /** Config gatherUsageStats. */ - public gatherUsageStats: boolean; - - /** Config maxCachedMessageAge. */ - public maxCachedMessageAge: number; - - /** Config mapboxToken. */ - public mapboxToken: string; - - /** Config allowRunOnSave. */ - public allowRunOnSave: boolean; - - /** Config hideTopBar. */ - public hideTopBar: boolean; - - /** Config hideSidebarNav. */ - public hideSidebarNav: boolean; - - /** Config toolbarMode. */ - public toolbarMode: Config.ToolbarMode; - - /** - * Creates a new Config instance using the specified properties. - * @param [properties] Properties to set - * @returns Config instance - */ - public static create(properties?: IConfig): Config; - - /** - * Encodes the specified Config message. Does not implicitly {@link Config.verify|verify} messages. - * @param message Config message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IConfig, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Config message, length delimited. Does not implicitly {@link Config.verify|verify} messages. - * @param message Config message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IConfig, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Config message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Config - * @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): Config; - - /** - * Decodes a Config message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Config - * @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)): Config; - - /** - * Verifies a Config 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 Config message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Config - */ - public static fromObject(object: { [k: string]: any }): Config; - - /** - * Creates a plain object from a Config message. Also converts values to other types if specified. - * @param message Config - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Config, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Config to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Config - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -export namespace Config { - - /** ToolbarMode enum. */ - enum ToolbarMode { - AUTO = 0, - DEVELOPER = 1, - VIEWER = 2, - MINIMAL = 3 - } -} - -/** Properties of a CustomThemeConfig. */ -export interface ICustomThemeConfig { - - /** CustomThemeConfig primaryColor */ - primaryColor?: (string|null); - - /** CustomThemeConfig secondaryBackgroundColor */ - secondaryBackgroundColor?: (string|null); - - /** CustomThemeConfig backgroundColor */ - backgroundColor?: (string|null); - - /** CustomThemeConfig textColor */ - textColor?: (string|null); - - /** CustomThemeConfig font */ - font?: (CustomThemeConfig.FontFamily|null); - - /** CustomThemeConfig base */ - base?: (CustomThemeConfig.BaseTheme|null); - - /** CustomThemeConfig widgetBackgroundColor */ - widgetBackgroundColor?: (string|null); - - /** CustomThemeConfig widgetBorderColor */ - widgetBorderColor?: (string|null); - - /** CustomThemeConfig radii */ - radii?: (IRadii|null); - - /** CustomThemeConfig bodyFont */ - bodyFont?: (string|null); - - /** CustomThemeConfig codeFont */ - codeFont?: (string|null); - - /** CustomThemeConfig fontFaces */ - fontFaces?: (IFontFace[]|null); - - /** CustomThemeConfig fontSizes */ - fontSizes?: (IFontSizes|null); -} - -/** Represents a CustomThemeConfig. */ -export class CustomThemeConfig implements ICustomThemeConfig { - - /** - * Constructs a new CustomThemeConfig. - * @param [properties] Properties to set - */ - constructor(properties?: ICustomThemeConfig); - - /** CustomThemeConfig primaryColor. */ - public primaryColor: string; - - /** CustomThemeConfig secondaryBackgroundColor. */ - public secondaryBackgroundColor: string; - - /** CustomThemeConfig backgroundColor. */ - public backgroundColor: string; - - /** CustomThemeConfig textColor. */ - public textColor: string; - - /** CustomThemeConfig font. */ - public font: CustomThemeConfig.FontFamily; - - /** CustomThemeConfig base. */ - public base: CustomThemeConfig.BaseTheme; - - /** CustomThemeConfig widgetBackgroundColor. */ - public widgetBackgroundColor: string; - - /** CustomThemeConfig widgetBorderColor. */ - public widgetBorderColor: string; - - /** CustomThemeConfig radii. */ - public radii?: (IRadii|null); - - /** CustomThemeConfig bodyFont. */ - public bodyFont: string; - - /** CustomThemeConfig codeFont. */ - public codeFont: string; - - /** CustomThemeConfig fontFaces. */ - public fontFaces: IFontFace[]; - - /** CustomThemeConfig fontSizes. */ - public fontSizes?: (IFontSizes|null); - - /** - * Creates a new CustomThemeConfig instance using the specified properties. - * @param [properties] Properties to set - * @returns CustomThemeConfig instance - */ - public static create(properties?: ICustomThemeConfig): CustomThemeConfig; - - /** - * Encodes the specified CustomThemeConfig message. Does not implicitly {@link CustomThemeConfig.verify|verify} messages. - * @param message CustomThemeConfig message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: ICustomThemeConfig, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified CustomThemeConfig message, length delimited. Does not implicitly {@link CustomThemeConfig.verify|verify} messages. - * @param message CustomThemeConfig message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: ICustomThemeConfig, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a CustomThemeConfig message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns CustomThemeConfig - * @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): CustomThemeConfig; - - /** - * Decodes a CustomThemeConfig message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns CustomThemeConfig - * @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)): CustomThemeConfig; - - /** - * Verifies a CustomThemeConfig 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 CustomThemeConfig message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns CustomThemeConfig - */ - public static fromObject(object: { [k: string]: any }): CustomThemeConfig; - - /** - * Creates a plain object from a CustomThemeConfig message. Also converts values to other types if specified. - * @param message CustomThemeConfig - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: CustomThemeConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this CustomThemeConfig to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for CustomThemeConfig - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -export namespace CustomThemeConfig { - - /** BaseTheme enum. */ - enum BaseTheme { - LIGHT = 0, - DARK = 1 - } - - /** FontFamily enum. */ - enum FontFamily { - SANS_SERIF = 0, - SERIF = 1, - MONOSPACE = 2 - } -} - -/** Properties of a FontFace. */ -export interface IFontFace { - - /** FontFace url */ - url?: (string|null); - - /** FontFace family */ - family?: (string|null); - - /** FontFace weight */ - weight?: (number|null); - - /** FontFace style */ - style?: (string|null); -} - -/** Represents a FontFace. */ -export class FontFace implements IFontFace { - - /** - * Constructs a new FontFace. - * @param [properties] Properties to set - */ - constructor(properties?: IFontFace); - - /** FontFace url. */ - public url: string; - - /** FontFace family. */ - public family: string; - - /** FontFace weight. */ - public weight: number; - - /** FontFace style. */ - public style: string; - - /** - * Creates a new FontFace instance using the specified properties. - * @param [properties] Properties to set - * @returns FontFace instance - */ - public static create(properties?: IFontFace): FontFace; - - /** - * Encodes the specified FontFace message. Does not implicitly {@link FontFace.verify|verify} messages. - * @param message FontFace message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IFontFace, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified FontFace message, length delimited. Does not implicitly {@link FontFace.verify|verify} messages. - * @param message FontFace message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IFontFace, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a FontFace message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns FontFace - * @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): FontFace; - - /** - * Decodes a FontFace message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns FontFace - * @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)): FontFace; - - /** - * Verifies a FontFace 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 FontFace message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns FontFace - */ - public static fromObject(object: { [k: string]: any }): FontFace; - - /** - * Creates a plain object from a FontFace message. Also converts values to other types if specified. - * @param message FontFace - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: FontFace, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this FontFace to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for FontFace - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a Radii. */ -export interface IRadii { - - /** Radii baseWidgetRadius */ - baseWidgetRadius?: (number|null); - - /** Radii checkboxRadius */ - checkboxRadius?: (number|null); -} - -/** Represents a Radii. */ -export class Radii implements IRadii { - - /** - * Constructs a new Radii. - * @param [properties] Properties to set - */ - constructor(properties?: IRadii); - - /** Radii baseWidgetRadius. */ - public baseWidgetRadius: number; - - /** Radii checkboxRadius. */ - public checkboxRadius: number; - - /** - * Creates a new Radii instance using the specified properties. - * @param [properties] Properties to set - * @returns Radii instance - */ - public static create(properties?: IRadii): Radii; - - /** - * Encodes the specified Radii message. Does not implicitly {@link Radii.verify|verify} messages. - * @param message Radii message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IRadii, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Radii message, length delimited. Does not implicitly {@link Radii.verify|verify} messages. - * @param message Radii message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IRadii, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Radii message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Radii - * @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): Radii; - - /** - * Decodes a Radii message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Radii - * @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)): Radii; - - /** - * Verifies a Radii 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 Radii message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Radii - */ - public static fromObject(object: { [k: string]: any }): Radii; - - /** - * Creates a plain object from a Radii message. Also converts values to other types if specified. - * @param message Radii - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Radii, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Radii to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Radii - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a FontSizes. */ -export interface IFontSizes { - - /** FontSizes tinyFontSize */ - tinyFontSize?: (number|null); - - /** FontSizes smallFontSize */ - smallFontSize?: (number|null); - - /** FontSizes baseFontSize */ - baseFontSize?: (number|null); -} - -/** Represents a FontSizes. */ -export class FontSizes implements IFontSizes { - - /** - * Constructs a new FontSizes. - * @param [properties] Properties to set - */ - constructor(properties?: IFontSizes); - - /** FontSizes tinyFontSize. */ - public tinyFontSize: number; - - /** FontSizes smallFontSize. */ - public smallFontSize: number; - - /** FontSizes baseFontSize. */ - public baseFontSize: number; - - /** - * Creates a new FontSizes instance using the specified properties. - * @param [properties] Properties to set - * @returns FontSizes instance - */ - public static create(properties?: IFontSizes): FontSizes; - - /** - * Encodes the specified FontSizes message. Does not implicitly {@link FontSizes.verify|verify} messages. - * @param message FontSizes message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IFontSizes, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified FontSizes message, length delimited. Does not implicitly {@link FontSizes.verify|verify} messages. - * @param message FontSizes message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IFontSizes, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a FontSizes message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns FontSizes - * @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): FontSizes; - - /** - * Decodes a FontSizes message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns FontSizes - * @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)): FontSizes; - - /** - * Verifies a FontSizes 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 FontSizes message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns FontSizes - */ - public static fromObject(object: { [k: string]: any }): FontSizes; - - /** - * Creates a plain object from a FontSizes message. Also converts values to other types if specified. - * @param message FontSizes - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: FontSizes, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this FontSizes to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for FontSizes - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a UserInfo. */ -export interface IUserInfo { - - /** UserInfo installationId */ - installationId?: (string|null); - - /** UserInfo installationIdV3 */ - installationIdV3?: (string|null); -} - -/** Represents a UserInfo. */ -export class UserInfo implements IUserInfo { - - /** - * Constructs a new UserInfo. - * @param [properties] Properties to set - */ - constructor(properties?: IUserInfo); - - /** UserInfo installationId. */ - public installationId: string; - - /** UserInfo installationIdV3. */ - public installationIdV3: string; - - /** - * Creates a new UserInfo instance using the specified properties. - * @param [properties] Properties to set - * @returns UserInfo instance - */ - public static create(properties?: IUserInfo): UserInfo; - - /** - * Encodes the specified UserInfo message. Does not implicitly {@link UserInfo.verify|verify} messages. - * @param message UserInfo message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IUserInfo, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified UserInfo message, length delimited. Does not implicitly {@link UserInfo.verify|verify} messages. - * @param message UserInfo message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IUserInfo, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a UserInfo message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns UserInfo - * @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): UserInfo; - - /** - * Decodes a UserInfo message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns UserInfo - * @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)): UserInfo; - - /** - * Verifies a UserInfo 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 UserInfo message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns UserInfo - */ - public static fromObject(object: { [k: string]: any }): UserInfo; - - /** - * Creates a plain object from a UserInfo message. Also converts values to other types if specified. - * @param message UserInfo - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: UserInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this UserInfo to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for UserInfo - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of an EnvironmentInfo. */ -export interface IEnvironmentInfo { - - /** EnvironmentInfo streamlitVersion */ - streamlitVersion?: (string|null); - - /** EnvironmentInfo pythonVersion */ - pythonVersion?: (string|null); -} - -/** Represents an EnvironmentInfo. */ -export class EnvironmentInfo implements IEnvironmentInfo { - - /** - * Constructs a new EnvironmentInfo. - * @param [properties] Properties to set - */ - constructor(properties?: IEnvironmentInfo); - - /** EnvironmentInfo streamlitVersion. */ - public streamlitVersion: string; - - /** EnvironmentInfo pythonVersion. */ - public pythonVersion: string; - - /** - * Creates a new EnvironmentInfo instance using the specified properties. - * @param [properties] Properties to set - * @returns EnvironmentInfo instance - */ - public static create(properties?: IEnvironmentInfo): EnvironmentInfo; - - /** - * Encodes the specified EnvironmentInfo message. Does not implicitly {@link EnvironmentInfo.verify|verify} messages. - * @param message EnvironmentInfo message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IEnvironmentInfo, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified EnvironmentInfo message, length delimited. Does not implicitly {@link EnvironmentInfo.verify|verify} messages. - * @param message EnvironmentInfo message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IEnvironmentInfo, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an EnvironmentInfo message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns EnvironmentInfo - * @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): EnvironmentInfo; - - /** - * Decodes an EnvironmentInfo message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns EnvironmentInfo - * @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)): EnvironmentInfo; - - /** - * Verifies an EnvironmentInfo 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 EnvironmentInfo message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns EnvironmentInfo - */ - public static fromObject(object: { [k: string]: any }): EnvironmentInfo; - - /** - * Creates a plain object from an EnvironmentInfo message. Also converts values to other types if specified. - * @param message EnvironmentInfo - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: EnvironmentInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this EnvironmentInfo to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for EnvironmentInfo - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a NumberInput. */ -export interface INumberInput { - - /** NumberInput id */ - id?: (string|null); - - /** NumberInput label */ - label?: (string|null); - - /** NumberInput formId */ - formId?: (string|null); - - /** NumberInput format */ - format?: (string|null); - - /** NumberInput hasMin */ - hasMin?: (boolean|null); - - /** NumberInput hasMax */ - hasMax?: (boolean|null); - - /** NumberInput dataType */ - dataType?: (NumberInput.DataType|null); - - /** NumberInput default */ - "default"?: (number|null); - - /** NumberInput step */ - step?: (number|null); - - /** NumberInput min */ - min?: (number|null); - - /** NumberInput max */ - max?: (number|null); - - /** NumberInput help */ - help?: (string|null); - - /** NumberInput value */ - value?: (number|null); - - /** NumberInput setValue */ - setValue?: (boolean|null); - - /** NumberInput disabled */ - disabled?: (boolean|null); - - /** NumberInput labelVisibility */ - labelVisibility?: (ILabelVisibilityMessage|null); -} - -/** Represents a NumberInput. */ -export class NumberInput implements INumberInput { - - /** - * Constructs a new NumberInput. - * @param [properties] Properties to set - */ - constructor(properties?: INumberInput); - - /** NumberInput id. */ - public id: string; - - /** NumberInput label. */ - public label: string; - - /** NumberInput formId. */ - public formId: string; - - /** NumberInput format. */ - public format: string; - - /** NumberInput hasMin. */ - public hasMin: boolean; - - /** NumberInput hasMax. */ - public hasMax: boolean; - - /** NumberInput dataType. */ - public dataType: NumberInput.DataType; - - /** NumberInput default. */ - public default: number; - - /** NumberInput step. */ - public step: number; - - /** NumberInput min. */ - public min: number; - - /** NumberInput max. */ - public max: number; - - /** NumberInput help. */ - public help: string; - - /** NumberInput value. */ - public value: number; - - /** NumberInput setValue. */ - public setValue: boolean; - - /** NumberInput disabled. */ - public disabled: boolean; - - /** NumberInput labelVisibility. */ - public labelVisibility?: (ILabelVisibilityMessage|null); - - /** - * Creates a new NumberInput instance using the specified properties. - * @param [properties] Properties to set - * @returns NumberInput instance - */ - public static create(properties?: INumberInput): NumberInput; - - /** - * Encodes the specified NumberInput message. Does not implicitly {@link NumberInput.verify|verify} messages. - * @param message NumberInput message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: INumberInput, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified NumberInput message, length delimited. Does not implicitly {@link NumberInput.verify|verify} messages. - * @param message NumberInput message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: INumberInput, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a NumberInput message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns NumberInput - * @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): NumberInput; - - /** - * Decodes a NumberInput message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns NumberInput - * @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)): NumberInput; - - /** - * Verifies a NumberInput 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 NumberInput message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns NumberInput - */ - public static fromObject(object: { [k: string]: any }): NumberInput; - - /** - * Creates a plain object from a NumberInput message. Also converts values to other types if specified. - * @param message NumberInput - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: NumberInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this NumberInput to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for NumberInput - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -export namespace NumberInput { - - /** DataType enum. */ - enum DataType { - INT = 0, - FLOAT = 1 - } -} - -/** Properties of a PageConfig. */ -export interface IPageConfig { - - /** PageConfig title */ - title?: (string|null); - - /** PageConfig favicon */ - favicon?: (string|null); - - /** PageConfig layout */ - layout?: (PageConfig.Layout|null); - - /** PageConfig initialSidebarState */ - initialSidebarState?: (PageConfig.SidebarState|null); - - /** PageConfig menuItems */ - menuItems?: (PageConfig.IMenuItems|null); -} - -/** Represents a PageConfig. */ -export class PageConfig implements IPageConfig { - - /** - * Constructs a new PageConfig. - * @param [properties] Properties to set - */ - constructor(properties?: IPageConfig); - - /** PageConfig title. */ - public title: string; - - /** PageConfig favicon. */ - public favicon: string; - - /** PageConfig layout. */ - public layout: PageConfig.Layout; - - /** PageConfig initialSidebarState. */ - public initialSidebarState: PageConfig.SidebarState; - - /** PageConfig menuItems. */ - public menuItems?: (PageConfig.IMenuItems|null); - - /** - * Creates a new PageConfig instance using the specified properties. - * @param [properties] Properties to set - * @returns PageConfig instance - */ - public static create(properties?: IPageConfig): PageConfig; - - /** - * Encodes the specified PageConfig message. Does not implicitly {@link PageConfig.verify|verify} messages. - * @param message PageConfig message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IPageConfig, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified PageConfig message, length delimited. Does not implicitly {@link PageConfig.verify|verify} messages. - * @param message PageConfig message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IPageConfig, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a PageConfig message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns PageConfig - * @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): PageConfig; - - /** - * Decodes a PageConfig message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns PageConfig - * @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)): PageConfig; - - /** - * Verifies a PageConfig 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 PageConfig message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns PageConfig - */ - public static fromObject(object: { [k: string]: any }): PageConfig; - - /** - * Creates a plain object from a PageConfig message. Also converts values to other types if specified. - * @param message PageConfig - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: PageConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this PageConfig to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for PageConfig - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -export namespace PageConfig { - - /** Properties of a MenuItems. */ - interface IMenuItems { - - /** MenuItems getHelpUrl */ - getHelpUrl?: (string|null); - - /** MenuItems hideGetHelp */ - hideGetHelp?: (boolean|null); - - /** MenuItems reportABugUrl */ - reportABugUrl?: (string|null); - - /** MenuItems hideReportABug */ - hideReportABug?: (boolean|null); - - /** MenuItems aboutSectionMd */ - aboutSectionMd?: (string|null); - } - - /** Represents a MenuItems. */ - class MenuItems implements IMenuItems { - - /** - * Constructs a new MenuItems. - * @param [properties] Properties to set - */ - constructor(properties?: PageConfig.IMenuItems); - - /** MenuItems getHelpUrl. */ - public getHelpUrl: string; - - /** MenuItems hideGetHelp. */ - public hideGetHelp: boolean; - - /** MenuItems reportABugUrl. */ - public reportABugUrl: string; - - /** MenuItems hideReportABug. */ - public hideReportABug: boolean; - - /** MenuItems aboutSectionMd. */ - public aboutSectionMd: string; - - /** - * Creates a new MenuItems instance using the specified properties. - * @param [properties] Properties to set - * @returns MenuItems instance - */ - public static create(properties?: PageConfig.IMenuItems): PageConfig.MenuItems; - - /** - * Encodes the specified MenuItems message. Does not implicitly {@link PageConfig.MenuItems.verify|verify} messages. - * @param message MenuItems message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: PageConfig.IMenuItems, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MenuItems message, length delimited. Does not implicitly {@link PageConfig.MenuItems.verify|verify} messages. - * @param message MenuItems message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: PageConfig.IMenuItems, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MenuItems message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MenuItems - * @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): PageConfig.MenuItems; - - /** - * Decodes a MenuItems message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MenuItems - * @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)): PageConfig.MenuItems; - - /** - * Verifies a MenuItems 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 MenuItems message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MenuItems - */ - public static fromObject(object: { [k: string]: any }): PageConfig.MenuItems; - - /** - * Creates a plain object from a MenuItems message. Also converts values to other types if specified. - * @param message MenuItems - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: PageConfig.MenuItems, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MenuItems to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MenuItems - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Layout enum. */ - enum Layout { - CENTERED = 0, - WIDE = 1 - } - - /** SidebarState enum. */ - enum SidebarState { - AUTO = 0, - EXPANDED = 1, - COLLAPSED = 2 - } -} - -/** Properties of a PageInfo. */ -export interface IPageInfo { - - /** PageInfo queryString */ - queryString?: (string|null); -} - -/** Represents a PageInfo. */ -export class PageInfo implements IPageInfo { - - /** - * Constructs a new PageInfo. - * @param [properties] Properties to set - */ - constructor(properties?: IPageInfo); - - /** PageInfo queryString. */ - public queryString: string; - - /** - * Creates a new PageInfo instance using the specified properties. - * @param [properties] Properties to set - * @returns PageInfo instance - */ - public static create(properties?: IPageInfo): PageInfo; - - /** - * Encodes the specified PageInfo message. Does not implicitly {@link PageInfo.verify|verify} messages. - * @param message PageInfo message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IPageInfo, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified PageInfo message, length delimited. Does not implicitly {@link PageInfo.verify|verify} messages. - * @param message PageInfo message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IPageInfo, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a PageInfo message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns PageInfo - * @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): PageInfo; - - /** - * Decodes a PageInfo message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns PageInfo - * @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)): PageInfo; - - /** - * Verifies a PageInfo 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 PageInfo message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns PageInfo - */ - public static fromObject(object: { [k: string]: any }): PageInfo; - - /** - * Creates a plain object from a PageInfo message. Also converts values to other types if specified. - * @param message PageInfo - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: PageInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this PageInfo to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for PageInfo - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a PageNotFound. */ -export interface IPageNotFound { - - /** PageNotFound pageName */ - pageName?: (string|null); -} - -/** Represents a PageNotFound. */ -export class PageNotFound implements IPageNotFound { - - /** - * Constructs a new PageNotFound. - * @param [properties] Properties to set - */ - constructor(properties?: IPageNotFound); - - /** PageNotFound pageName. */ - public pageName: string; - - /** - * Creates a new PageNotFound instance using the specified properties. - * @param [properties] Properties to set - * @returns PageNotFound instance - */ - public static create(properties?: IPageNotFound): PageNotFound; - - /** - * Encodes the specified PageNotFound message. Does not implicitly {@link PageNotFound.verify|verify} messages. - * @param message PageNotFound message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IPageNotFound, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified PageNotFound message, length delimited. Does not implicitly {@link PageNotFound.verify|verify} messages. - * @param message PageNotFound message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IPageNotFound, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a PageNotFound message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns PageNotFound - * @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): PageNotFound; - - /** - * Decodes a PageNotFound message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns PageNotFound - * @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)): PageNotFound; - - /** - * Verifies a PageNotFound 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 PageNotFound message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns PageNotFound - */ - public static fromObject(object: { [k: string]: any }): PageNotFound; - - /** - * Creates a plain object from a PageNotFound message. Also converts values to other types if specified. - * @param message PageNotFound - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: PageNotFound, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this PageNotFound to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for PageNotFound - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a PageProfile. */ -export interface IPageProfile { - - /** PageProfile commands */ - commands?: (ICommand[]|null); - - /** PageProfile execTime */ - execTime?: (number|Long|null); - - /** PageProfile prepTime */ - prepTime?: (number|Long|null); - - /** PageProfile config */ - config?: (string[]|null); - - /** PageProfile uncaughtException */ - uncaughtException?: (string|null); - - /** PageProfile attributions */ - attributions?: (string[]|null); - - /** PageProfile os */ - os?: (string|null); - - /** PageProfile timezone */ - timezone?: (string|null); - - /** PageProfile headless */ - headless?: (boolean|null); -} - -/** Represents a PageProfile. */ -export class PageProfile implements IPageProfile { - - /** - * Constructs a new PageProfile. - * @param [properties] Properties to set - */ - constructor(properties?: IPageProfile); - - /** PageProfile commands. */ - public commands: ICommand[]; - - /** PageProfile execTime. */ - public execTime: (number|Long); - - /** PageProfile prepTime. */ - public prepTime: (number|Long); - - /** PageProfile config. */ - public config: string[]; - - /** PageProfile uncaughtException. */ - public uncaughtException: string; - - /** PageProfile attributions. */ - public attributions: string[]; - - /** PageProfile os. */ - public os: string; - - /** PageProfile timezone. */ - public timezone: string; - - /** PageProfile headless. */ - public headless: boolean; - - /** - * Creates a new PageProfile instance using the specified properties. - * @param [properties] Properties to set - * @returns PageProfile instance - */ - public static create(properties?: IPageProfile): PageProfile; - - /** - * Encodes the specified PageProfile message. Does not implicitly {@link PageProfile.verify|verify} messages. - * @param message PageProfile message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IPageProfile, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified PageProfile message, length delimited. Does not implicitly {@link PageProfile.verify|verify} messages. - * @param message PageProfile message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IPageProfile, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a PageProfile message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns PageProfile - * @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): PageProfile; - - /** - * Decodes a PageProfile message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns PageProfile - * @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)): PageProfile; - - /** - * Verifies a PageProfile 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 PageProfile message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns PageProfile - */ - public static fromObject(object: { [k: string]: any }): PageProfile; - - /** - * Creates a plain object from a PageProfile message. Also converts values to other types if specified. - * @param message PageProfile - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: PageProfile, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this PageProfile to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for PageProfile - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of an Argument. */ -export interface IArgument { - - /** Argument k */ - k?: (string|null); - - /** Argument t */ - t?: (string|null); - - /** Argument m */ - m?: (string|null); - - /** Argument p */ - p?: (number|null); -} - -/** Represents an Argument. */ -export class Argument implements IArgument { - - /** - * Constructs a new Argument. - * @param [properties] Properties to set - */ - constructor(properties?: IArgument); - - /** Argument k. */ - public k: string; - - /** Argument t. */ - public t: string; - - /** Argument m. */ - public m: string; - - /** Argument p. */ - public p: number; - - /** - * Creates a new Argument instance using the specified properties. - * @param [properties] Properties to set - * @returns Argument instance - */ - public static create(properties?: IArgument): Argument; - - /** - * Encodes the specified Argument message. Does not implicitly {@link Argument.verify|verify} messages. - * @param message Argument message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IArgument, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Argument message, length delimited. Does not implicitly {@link Argument.verify|verify} messages. - * @param message Argument message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IArgument, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an Argument message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Argument - * @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): Argument; - - /** - * Decodes an Argument message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Argument - * @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)): Argument; - - /** - * Verifies an Argument 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 Argument message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Argument - */ - public static fromObject(object: { [k: string]: any }): Argument; - - /** - * Creates a plain object from an Argument message. Also converts values to other types if specified. - * @param message Argument - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Argument, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Argument to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Argument - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a Command. */ -export interface ICommand { - - /** Command name */ - name?: (string|null); - - /** Command args */ - args?: (IArgument[]|null); - - /** Command time */ - time?: (number|Long|null); -} - -/** Represents a Command. */ -export class Command implements ICommand { - - /** - * Constructs a new Command. - * @param [properties] Properties to set - */ - constructor(properties?: ICommand); - - /** Command name. */ - public name: string; - - /** Command args. */ - public args: IArgument[]; - - /** Command time. */ - public time: (number|Long); - - /** - * Creates a new Command instance using the specified properties. - * @param [properties] Properties to set - * @returns Command instance - */ - public static create(properties?: ICommand): Command; - - /** - * Encodes the specified Command message. Does not implicitly {@link Command.verify|verify} messages. - * @param message Command message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: ICommand, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Command message, length delimited. Does not implicitly {@link Command.verify|verify} messages. - * @param message Command message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: ICommand, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Command message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Command - * @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): Command; - - /** - * Decodes a Command message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Command - * @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)): Command; - - /** - * Verifies a Command 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 Command message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Command - */ - public static fromObject(object: { [k: string]: any }): Command; - - /** - * Creates a plain object from a Command message. Also converts values to other types if specified. - * @param message Command - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Command, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Command to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Command - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a PagesChanged. */ -export interface IPagesChanged { - - /** PagesChanged appPages */ - appPages?: (IAppPage[]|null); -} - -/** Represents a PagesChanged. */ -export class PagesChanged implements IPagesChanged { - - /** - * Constructs a new PagesChanged. - * @param [properties] Properties to set - */ - constructor(properties?: IPagesChanged); - - /** PagesChanged appPages. */ - public appPages: IAppPage[]; - - /** - * Creates a new PagesChanged instance using the specified properties. - * @param [properties] Properties to set - * @returns PagesChanged instance - */ - public static create(properties?: IPagesChanged): PagesChanged; - - /** - * Encodes the specified PagesChanged message. Does not implicitly {@link PagesChanged.verify|verify} messages. - * @param message PagesChanged message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IPagesChanged, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified PagesChanged message, length delimited. Does not implicitly {@link PagesChanged.verify|verify} messages. - * @param message PagesChanged message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IPagesChanged, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a PagesChanged message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns PagesChanged - * @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): PagesChanged; - - /** - * Decodes a PagesChanged message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns PagesChanged - * @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)): PagesChanged; - - /** - * Verifies a PagesChanged 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 PagesChanged message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns PagesChanged - */ - public static fromObject(object: { [k: string]: any }): PagesChanged; - - /** - * Creates a plain object from a PagesChanged message. Also converts values to other types if specified. - * @param message PagesChanged - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: PagesChanged, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this PagesChanged to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for PagesChanged - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a PlotlyChart. */ -export interface IPlotlyChart { - - /** PlotlyChart url */ - url?: (string|null); - - /** PlotlyChart figure */ - figure?: (IFigure|null); - - /** PlotlyChart useContainerWidth */ - useContainerWidth?: (boolean|null); - - /** PlotlyChart theme */ - theme?: (string|null); -} - -/** Represents a PlotlyChart. */ -export class PlotlyChart implements IPlotlyChart { - - /** - * Constructs a new PlotlyChart. - * @param [properties] Properties to set - */ - constructor(properties?: IPlotlyChart); - - /** PlotlyChart url. */ - public url?: (string|null); - - /** PlotlyChart figure. */ - public figure?: (IFigure|null); - - /** PlotlyChart useContainerWidth. */ - public useContainerWidth: boolean; - - /** PlotlyChart theme. */ - public theme: string; - - /** PlotlyChart chart. */ - public chart?: ("url"|"figure"); - - /** - * Creates a new PlotlyChart instance using the specified properties. - * @param [properties] Properties to set - * @returns PlotlyChart instance - */ - public static create(properties?: IPlotlyChart): PlotlyChart; - - /** - * Encodes the specified PlotlyChart message. Does not implicitly {@link PlotlyChart.verify|verify} messages. - * @param message PlotlyChart message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IPlotlyChart, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified PlotlyChart message, length delimited. Does not implicitly {@link PlotlyChart.verify|verify} messages. - * @param message PlotlyChart message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IPlotlyChart, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a PlotlyChart message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns PlotlyChart - * @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): PlotlyChart; - - /** - * Decodes a PlotlyChart message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns PlotlyChart - * @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)): PlotlyChart; - - /** - * Verifies a PlotlyChart 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 PlotlyChart message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns PlotlyChart - */ - public static fromObject(object: { [k: string]: any }): PlotlyChart; - - /** - * Creates a plain object from a PlotlyChart message. Also converts values to other types if specified. - * @param message PlotlyChart - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: PlotlyChart, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this PlotlyChart to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for PlotlyChart - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a Figure. */ -export interface IFigure { - - /** Figure spec */ - spec?: (string|null); - - /** Figure config */ - config?: (string|null); -} - -/** Represents a Figure. */ -export class Figure implements IFigure { - - /** - * Constructs a new Figure. - * @param [properties] Properties to set - */ - constructor(properties?: IFigure); - - /** Figure spec. */ - public spec: string; - - /** Figure config. */ - public config: string; - - /** - * Creates a new Figure instance using the specified properties. - * @param [properties] Properties to set - * @returns Figure instance - */ - public static create(properties?: IFigure): Figure; - - /** - * Encodes the specified Figure message. Does not implicitly {@link Figure.verify|verify} messages. - * @param message Figure message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IFigure, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Figure message, length delimited. Does not implicitly {@link Figure.verify|verify} messages. - * @param message Figure message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IFigure, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Figure message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Figure - * @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): Figure; - - /** - * Decodes a Figure message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Figure - * @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)): Figure; - - /** - * Verifies a Figure 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 Figure message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Figure - */ - public static fromObject(object: { [k: string]: any }): Figure; - - /** - * Creates a plain object from a Figure message. Also converts values to other types if specified. - * @param message Figure - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Figure, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Figure to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Figure - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a Progress. */ -export interface IProgress { - - /** Progress value */ - value?: (number|null); - - /** Progress text */ - text?: (string|null); -} - -/** Represents a Progress. */ -export class Progress implements IProgress { - - /** - * Constructs a new Progress. - * @param [properties] Properties to set - */ - constructor(properties?: IProgress); - - /** Progress value. */ - public value: number; - - /** Progress text. */ - public text: string; - - /** - * Creates a new Progress instance using the specified properties. - * @param [properties] Properties to set - * @returns Progress instance - */ - public static create(properties?: IProgress): Progress; - - /** - * Encodes the specified Progress message. Does not implicitly {@link Progress.verify|verify} messages. - * @param message Progress message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IProgress, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Progress message, length delimited. Does not implicitly {@link Progress.verify|verify} messages. - * @param message Progress message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IProgress, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Progress message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Progress - * @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): Progress; - - /** - * Decodes a Progress message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Progress - * @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)): Progress; - - /** - * Verifies a Progress 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 Progress message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Progress - */ - public static fromObject(object: { [k: string]: any }): Progress; - - /** - * Creates a plain object from a Progress message. Also converts values to other types if specified. - * @param message Progress - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Progress, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Progress to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Progress - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Properties of a Radio. */ -export interface IRadio { - - /** Radio id */ - id?: (string|null); - - /** Radio label */ - label?: (string|null); - - /** Radio default */ - "default"?: (number|null); - - /** Radio options */ - options?: (string[]|null); - - /** Radio help */ - help?: (string|null); - - /** Radio formId */ - formId?: (string|null); - - /** Radio value */ - value?: (number|null); - - /** Radio setValue */ - setValue?: (boolean|null); - - /** Radio disabled */ - disabled?: (boolean|null); - - /** Radio horizontal */ - horizontal?: (boolean|null); - - /** Radio labelVisibility */ - labelVisibility?: (ILabelVisibilityMessage|null); -} - -/** Represents a Radio. */ -export class Radio implements IRadio { - - /** - * Constructs a new Radio. - * @param [properties] Properties to set - */ - constructor(properties?: IRadio); - - /** Radio id. */ - public id: string; - - /** Radio label. */ - public label: string; - - /** Radio default. */ - public default: number; - - /** Radio options. */ - public options: string[]; - - /** Radio help. */ - public help: string; - - /** Radio formId. */ - public formId: string; - - /** Radio value. */ - public value: number; - - /** Radio setValue. */ - public setValue: boolean; - - /** Radio disabled. */ - public disabled: boolean; - - /** Radio horizontal. */ - public horizontal: boolean; - - /** Radio labelVisibility. */ - public labelVisibility?: (ILabelVisibilityMessage|null); - - /** - * Creates a new Radio instance using the specified properties. - * @param [properties] Properties to set - * @returns Radio instance - */ - public static create(properties?: IRadio): Radio; - - /** - * Encodes the specified Radio message. Does not implicitly {@link Radio.verify|verify} messages. - * @param message Radio message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IRadio, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Radio message, length delimited. Does not implicitly {@link Radio.verify|verify} messages. - * @param message Radio message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IRadio, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Radio message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Radio - * @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): Radio; - - /** - * Decodes a Radio message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Radio - * @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)): Radio; - - /** - * Verifies a Radio 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 Radio message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Radio - */ - public static fromObject(object: { [k: string]: any }): Radio; - - /** - * Creates a plain object from a Radio message. Also converts values to other types if specified. - * @param message Radio - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Radio, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Radio to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Radio - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** RootContainer enum. */ -export enum RootContainer { - MAIN = 0, - SIDEBAR = 1 -} - -/** Represents a Selectbox. */ -export class Selectbox implements ISelectbox { - - /** - * Constructs a new Selectbox. - * @param [properties] Properties to set - */ - constructor(properties?: ISelectbox); - - /** Selectbox id. */ - public id: string; - - /** Selectbox label. */ - public label: string; - - /** Selectbox default. */ - public default: number; - - /** Selectbox options. */ - public options: string[]; - - /** Selectbox help. */ - public help: string; - - /** Selectbox formId. */ - public formId: string; - - /** Selectbox value. */ - public value: number; - - /** Selectbox setValue. */ - public setValue: boolean; - - /** Selectbox disabled. */ - public disabled: boolean; - - /** Selectbox labelVisibility. */ - public labelVisibility?: (ILabelVisibilityMessage|null); - - /** - * Creates a new Selectbox instance using the specified properties. - * @param [properties] Properties to set - * @returns Selectbox instance - */ - public static create(properties?: ISelectbox): Selectbox; - - /** - * Encodes the specified Selectbox message. Does not implicitly {@link Selectbox.verify|verify} messages. - * @param message Selectbox message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: ISelectbox, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Selectbox message, length delimited. Does not implicitly {@link Selectbox.verify|verify} messages. - * @param message Selectbox message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: ISelectbox, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Selectbox message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Selectbox - * @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): Selectbox; - - /** - * Decodes a Selectbox message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Selectbox - * @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)): Selectbox; - - /** - * Verifies a Selectbox 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 Selectbox message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Selectbox - */ - public static fromObject(object: { [k: string]: any }): Selectbox; - - /** - * Creates a plain object from a Selectbox message. Also converts values to other types if specified. - * @param message Selectbox - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Selectbox, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Selectbox to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Selectbox - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Represents a SessionEvent. */ -export class SessionEvent implements ISessionEvent { - - /** - * Constructs a new SessionEvent. - * @param [properties] Properties to set - */ - constructor(properties?: ISessionEvent); - - /** SessionEvent scriptChangedOnDisk. */ - public scriptChangedOnDisk?: (boolean|null); - - /** SessionEvent scriptWasManuallyStopped. */ - public scriptWasManuallyStopped?: (boolean|null); - - /** SessionEvent scriptCompilationException. */ - public scriptCompilationException?: (IException|null); - - /** SessionEvent type. */ - public type?: ("scriptChangedOnDisk"|"scriptWasManuallyStopped"|"scriptCompilationException"); - - /** - * Creates a new SessionEvent instance using the specified properties. - * @param [properties] Properties to set - * @returns SessionEvent instance - */ - public static create(properties?: ISessionEvent): SessionEvent; - - /** - * Encodes the specified SessionEvent message. Does not implicitly {@link SessionEvent.verify|verify} messages. - * @param message SessionEvent message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: ISessionEvent, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SessionEvent message, length delimited. Does not implicitly {@link SessionEvent.verify|verify} messages. - * @param message SessionEvent message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: ISessionEvent, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SessionEvent message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SessionEvent - * @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): SessionEvent; - - /** - * Decodes a SessionEvent message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SessionEvent - * @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)): SessionEvent; - - /** - * Verifies a SessionEvent 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 SessionEvent message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SessionEvent - */ - public static fromObject(object: { [k: string]: any }): SessionEvent; - - /** - * Creates a plain object from a SessionEvent message. Also converts values to other types if specified. - * @param message SessionEvent - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: SessionEvent, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SessionEvent to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SessionEvent - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Represents a SessionStatus. */ -export class SessionStatus implements ISessionStatus { - - /** - * Constructs a new SessionStatus. - * @param [properties] Properties to set - */ - constructor(properties?: ISessionStatus); - - /** SessionStatus runOnSave. */ - public runOnSave: boolean; - - /** SessionStatus scriptIsRunning. */ - public scriptIsRunning: boolean; - - /** - * Creates a new SessionStatus instance using the specified properties. - * @param [properties] Properties to set - * @returns SessionStatus instance - */ - public static create(properties?: ISessionStatus): SessionStatus; - - /** - * Encodes the specified SessionStatus message. Does not implicitly {@link SessionStatus.verify|verify} messages. - * @param message SessionStatus message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: ISessionStatus, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SessionStatus message, length delimited. Does not implicitly {@link SessionStatus.verify|verify} messages. - * @param message SessionStatus message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: ISessionStatus, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SessionStatus message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SessionStatus - * @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): SessionStatus; - - /** - * Decodes a SessionStatus message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SessionStatus - * @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)): SessionStatus; - - /** - * Verifies a SessionStatus 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 SessionStatus message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SessionStatus - */ - public static fromObject(object: { [k: string]: any }): SessionStatus; - - /** - * Creates a plain object from a SessionStatus message. Also converts values to other types if specified. - * @param message SessionStatus - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: SessionStatus, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SessionStatus to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SessionStatus - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Represents a Slider. */ -export class Slider implements ISlider { - - /** - * Constructs a new Slider. - * @param [properties] Properties to set - */ - constructor(properties?: ISlider); - - /** Slider id. */ - public id: string; - - /** Slider formId. */ - public formId: string; - - /** Slider label. */ - public label: string; - - /** Slider format. */ - public format: string; - - /** Slider dataType. */ - public dataType: Slider.DataType; - - /** Slider default. */ - public default: number[]; - - /** Slider min. */ - public min: number; - - /** Slider max. */ - public max: number; - - /** Slider step. */ - public step: number; - - /** Slider value. */ - public value: number[]; - - /** Slider setValue. */ - public setValue: boolean; - - /** Slider options. */ - public options: string[]; - - /** Slider help. */ - public help: string; - - /** Slider disabled. */ - public disabled: boolean; - - /** Slider labelVisibility. */ - public labelVisibility?: (ILabelVisibilityMessage|null); - - /** Slider type. */ - public type: Slider.Type; - - /** - * Creates a new Slider instance using the specified properties. - * @param [properties] Properties to set - * @returns Slider instance - */ - public static create(properties?: ISlider): Slider; - - /** - * Encodes the specified Slider message. Does not implicitly {@link Slider.verify|verify} messages. - * @param message Slider message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: ISlider, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Slider message, length delimited. Does not implicitly {@link Slider.verify|verify} messages. - * @param message Slider message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: ISlider, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Slider message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Slider - * @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): Slider; - - /** - * Decodes a Slider message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Slider - * @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)): Slider; - - /** - * Verifies a Slider 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 Slider message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Slider - */ - public static fromObject(object: { [k: string]: any }): Slider; - - /** - * Creates a plain object from a Slider message. Also converts values to other types if specified. - * @param message Slider - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Slider, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Slider to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Slider - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -export namespace Slider { - - /** DataType enum. */ - enum DataType { - INT = 0, - FLOAT = 1, - DATETIME = 2, - DATE = 3, - TIME = 4 - } - - /** Type enum. */ - enum Type { - UNSPECIFIED = 0, - SLIDER = 1, - SELECT_SLIDER = 2 - } -} - -/** Represents a Snow. */ -export class Snow implements ISnow { - - /** - * Constructs a new Snow. - * @param [properties] Properties to set - */ - constructor(properties?: ISnow); - - /** Snow show. */ - public show: boolean; - - /** - * Creates a new Snow instance using the specified properties. - * @param [properties] Properties to set - * @returns Snow instance - */ - public static create(properties?: ISnow): Snow; - - /** - * Encodes the specified Snow message. Does not implicitly {@link Snow.verify|verify} messages. - * @param message Snow message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: ISnow, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Snow message, length delimited. Does not implicitly {@link Snow.verify|verify} messages. - * @param message Snow message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: ISnow, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Snow message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Snow - * @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): Snow; - - /** - * Decodes a Snow message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Snow - * @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)): Snow; - - /** - * Verifies a Snow 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 Snow message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Snow - */ - public static fromObject(object: { [k: string]: any }): Snow; - - /** - * Creates a plain object from a Snow message. Also converts values to other types if specified. - * @param message Snow - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Snow, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Snow to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Snow - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Represents a Spinner. */ -export class Spinner implements ISpinner { - - /** - * Constructs a new Spinner. - * @param [properties] Properties to set - */ - constructor(properties?: ISpinner); - - /** Spinner text. */ - public text: string; - - /** - * Creates a new Spinner instance using the specified properties. - * @param [properties] Properties to set - * @returns Spinner instance - */ - public static create(properties?: ISpinner): Spinner; - - /** - * Encodes the specified Spinner message. Does not implicitly {@link Spinner.verify|verify} messages. - * @param message Spinner message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: ISpinner, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Spinner message, length delimited. Does not implicitly {@link Spinner.verify|verify} messages. - * @param message Spinner message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: ISpinner, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Spinner message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Spinner - * @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): Spinner; - - /** - * Decodes a Spinner message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Spinner - * @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)): Spinner; - - /** - * Verifies a Spinner 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 Spinner message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Spinner - */ - public static fromObject(object: { [k: string]: any }): Spinner; - - /** - * Creates a plain object from a Spinner message. Also converts values to other types if specified. - * @param message Spinner - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Spinner, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Spinner to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Spinner - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Represents a Text. */ -export class Text implements IText { - - /** - * Constructs a new Text. - * @param [properties] Properties to set - */ - constructor(properties?: IText); - - /** Text body. */ - public body: string; - - /** Text help. */ - public help: string; - - /** - * Creates a new Text instance using the specified properties. - * @param [properties] Properties to set - * @returns Text instance - */ - public static create(properties?: IText): Text; - - /** - * Encodes the specified Text message. Does not implicitly {@link Text.verify|verify} messages. - * @param message Text message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IText, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Text message, length delimited. Does not implicitly {@link Text.verify|verify} messages. - * @param message Text message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IText, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Text message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Text - * @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): Text; - - /** - * Decodes a Text message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Text - * @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)): Text; - - /** - * Verifies a Text 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 Text message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Text - */ - public static fromObject(object: { [k: string]: any }): Text; - - /** - * Creates a plain object from a Text message. Also converts values to other types if specified. - * @param message Text - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Text, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Text to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Text - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Represents a TextArea. */ -export class TextArea implements ITextArea { - - /** - * Constructs a new TextArea. - * @param [properties] Properties to set - */ - constructor(properties?: ITextArea); - - /** TextArea id. */ - public id: string; - - /** TextArea label. */ - public label: string; - - /** TextArea default. */ - public default: string; - - /** TextArea height. */ - public height: number; - - /** TextArea maxChars. */ - public maxChars: number; - - /** TextArea help. */ - public help: string; - - /** TextArea formId. */ - public formId: string; - - /** TextArea value. */ - public value: string; - - /** TextArea setValue. */ - public setValue: boolean; - - /** TextArea placeholder. */ - public placeholder: string; - - /** TextArea disabled. */ - public disabled: boolean; - - /** TextArea labelVisibility. */ - public labelVisibility?: (ILabelVisibilityMessage|null); - - /** - * Creates a new TextArea instance using the specified properties. - * @param [properties] Properties to set - * @returns TextArea instance - */ - public static create(properties?: ITextArea): TextArea; - - /** - * Encodes the specified TextArea message. Does not implicitly {@link TextArea.verify|verify} messages. - * @param message TextArea message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: ITextArea, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified TextArea message, length delimited. Does not implicitly {@link TextArea.verify|verify} messages. - * @param message TextArea message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: ITextArea, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a TextArea message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns TextArea - * @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): TextArea; - - /** - * Decodes a TextArea message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns TextArea - * @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)): TextArea; - - /** - * Verifies a TextArea 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 TextArea message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns TextArea - */ - public static fromObject(object: { [k: string]: any }): TextArea; - - /** - * Creates a plain object from a TextArea message. Also converts values to other types if specified. - * @param message TextArea - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: TextArea, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this TextArea to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for TextArea - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Represents a TextInput. */ -export class TextInput implements ITextInput { - - /** - * Constructs a new TextInput. - * @param [properties] Properties to set - */ - constructor(properties?: ITextInput); - - /** TextInput id. */ - public id: string; - - /** TextInput label. */ - public label: string; - - /** TextInput default. */ - public default: string; - - /** TextInput type. */ - public type: TextInput.Type; - - /** TextInput maxChars. */ - public maxChars: number; - - /** TextInput help. */ - public help: string; - - /** TextInput formId. */ - public formId: string; - - /** TextInput value. */ - public value: string; - - /** TextInput setValue. */ - public setValue: boolean; - - /** TextInput autocomplete. */ - public autocomplete: string; - - /** TextInput placeholder. */ - public placeholder: string; - - /** TextInput disabled. */ - public disabled: boolean; - - /** TextInput labelVisibility. */ - public labelVisibility?: (ILabelVisibilityMessage|null); - - /** - * Creates a new TextInput instance using the specified properties. - * @param [properties] Properties to set - * @returns TextInput instance - */ - public static create(properties?: ITextInput): TextInput; - - /** - * Encodes the specified TextInput message. Does not implicitly {@link TextInput.verify|verify} messages. - * @param message TextInput message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: ITextInput, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified TextInput message, length delimited. Does not implicitly {@link TextInput.verify|verify} messages. - * @param message TextInput message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: ITextInput, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a TextInput message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns TextInput - * @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): TextInput; - - /** - * Decodes a TextInput message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns TextInput - * @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)): TextInput; - - /** - * Verifies a TextInput 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 TextInput message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns TextInput - */ - public static fromObject(object: { [k: string]: any }): TextInput; - - /** - * Creates a plain object from a TextInput message. Also converts values to other types if specified. - * @param message TextInput - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: TextInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this TextInput to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for TextInput - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -export namespace TextInput { - - /** Type enum. */ - enum Type { - DEFAULT = 0, - PASSWORD = 1 - } -} - -/** Represents a TimeInput. */ -export class TimeInput implements ITimeInput { - - /** - * Constructs a new TimeInput. - * @param [properties] Properties to set - */ - constructor(properties?: ITimeInput); - - /** TimeInput id. */ - public id: string; - - /** TimeInput label. */ - public label: string; - - /** TimeInput default. */ - public default: string; - - /** TimeInput help. */ - public help: string; - - /** TimeInput formId. */ - public formId: string; - - /** TimeInput value. */ - public value: string; - - /** TimeInput setValue. */ - public setValue: boolean; - - /** TimeInput disabled. */ - public disabled: boolean; - - /** TimeInput labelVisibility. */ - public labelVisibility?: (ILabelVisibilityMessage|null); - - /** TimeInput step. */ - public step: (number|Long); - - /** - * Creates a new TimeInput instance using the specified properties. - * @param [properties] Properties to set - * @returns TimeInput instance - */ - public static create(properties?: ITimeInput): TimeInput; - - /** - * Encodes the specified TimeInput message. Does not implicitly {@link TimeInput.verify|verify} messages. - * @param message TimeInput message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: ITimeInput, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified TimeInput message, length delimited. Does not implicitly {@link TimeInput.verify|verify} messages. - * @param message TimeInput message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: ITimeInput, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a TimeInput message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns TimeInput - * @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): TimeInput; - - /** - * Decodes a TimeInput message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns TimeInput - * @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)): TimeInput; - - /** - * Verifies a TimeInput 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 TimeInput message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns TimeInput - */ - public static fromObject(object: { [k: string]: any }): TimeInput; - - /** - * Creates a plain object from a TimeInput message. Also converts values to other types if specified. - * @param message TimeInput - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: TimeInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this TimeInput to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for TimeInput - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Represents a VegaLiteChart. */ -export class VegaLiteChart implements IVegaLiteChart { - - /** - * Constructs a new VegaLiteChart. - * @param [properties] Properties to set - */ - constructor(properties?: IVegaLiteChart); - - /** VegaLiteChart spec. */ - public spec: string; - - /** VegaLiteChart data. */ - public data?: (IDataFrame|null); - - /** VegaLiteChart datasets. */ - public datasets: INamedDataSet[]; - - /** VegaLiteChart useContainerWidth. */ - public useContainerWidth: boolean; - - /** - * Creates a new VegaLiteChart instance using the specified properties. - * @param [properties] Properties to set - * @returns VegaLiteChart instance - */ - public static create(properties?: IVegaLiteChart): VegaLiteChart; - - /** - * Encodes the specified VegaLiteChart message. Does not implicitly {@link VegaLiteChart.verify|verify} messages. - * @param message VegaLiteChart message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IVegaLiteChart, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified VegaLiteChart message, length delimited. Does not implicitly {@link VegaLiteChart.verify|verify} messages. - * @param message VegaLiteChart message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IVegaLiteChart, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a VegaLiteChart message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns VegaLiteChart - * @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): VegaLiteChart; - - /** - * Decodes a VegaLiteChart message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns VegaLiteChart - * @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)): VegaLiteChart; - - /** - * Verifies a VegaLiteChart 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 VegaLiteChart message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns VegaLiteChart - */ - public static fromObject(object: { [k: string]: any }): VegaLiteChart; - - /** - * Creates a plain object from a VegaLiteChart message. Also converts values to other types if specified. - * @param message VegaLiteChart - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: VegaLiteChart, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this VegaLiteChart to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for VegaLiteChart - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Represents a Video. */ -export class Video implements IVideo { - - /** - * Constructs a new Video. - * @param [properties] Properties to set - */ - constructor(properties?: IVideo); - - /** Video url. */ - public url: string; - - /** Video startTime. */ - public startTime: number; - - /** Video type. */ - public type: Video.Type; - - /** - * Creates a new Video instance using the specified properties. - * @param [properties] Properties to set - * @returns Video instance - */ - public static create(properties?: IVideo): Video; - - /** - * Encodes the specified Video message. Does not implicitly {@link Video.verify|verify} messages. - * @param message Video message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IVideo, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Video message, length delimited. Does not implicitly {@link Video.verify|verify} messages. - * @param message Video message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IVideo, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Video message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Video - * @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): Video; - - /** - * Decodes a Video message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Video - * @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)): Video; - - /** - * Verifies a Video 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 Video message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Video - */ - public static fromObject(object: { [k: string]: any }): Video; - - /** - * Creates a plain object from a Video message. Also converts values to other types if specified. - * @param message Video - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: Video, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Video to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Video - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -export namespace Video { - - /** Type enum. */ - enum Type { - UNUSED = 0, - NATIVE = 1, - YOUTUBE_IFRAME = 2 - } -} - -/** Represents a WidgetStates. */ -export class WidgetStates implements IWidgetStates { - - /** - * Constructs a new WidgetStates. - * @param [properties] Properties to set - */ - constructor(properties?: IWidgetStates); - - /** WidgetStates widgets. */ - public widgets: IWidgetState[]; - - /** - * Creates a new WidgetStates instance using the specified properties. - * @param [properties] Properties to set - * @returns WidgetStates instance - */ - public static create(properties?: IWidgetStates): WidgetStates; - - /** - * Encodes the specified WidgetStates message. Does not implicitly {@link WidgetStates.verify|verify} messages. - * @param message WidgetStates message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IWidgetStates, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified WidgetStates message, length delimited. Does not implicitly {@link WidgetStates.verify|verify} messages. - * @param message WidgetStates message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IWidgetStates, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a WidgetStates message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns WidgetStates - * @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): WidgetStates; - - /** - * Decodes a WidgetStates message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns WidgetStates - * @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)): WidgetStates; - - /** - * Verifies a WidgetStates 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 WidgetStates message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns WidgetStates - */ - public static fromObject(object: { [k: string]: any }): WidgetStates; - - /** - * Creates a plain object from a WidgetStates message. Also converts values to other types if specified. - * @param message WidgetStates - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: WidgetStates, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this WidgetStates to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for WidgetStates - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Represents a WidgetState. */ -export class WidgetState implements IWidgetState { - - /** - * Constructs a new WidgetState. - * @param [properties] Properties to set - */ - constructor(properties?: IWidgetState); - - /** WidgetState id. */ - public id: string; - - /** WidgetState triggerValue. */ - public triggerValue?: (boolean|null); - - /** WidgetState boolValue. */ - public boolValue?: (boolean|null); - - /** WidgetState doubleValue. */ - public doubleValue?: (number|null); - - /** WidgetState intValue. */ - public intValue?: (number|Long|null); - - /** WidgetState stringValue. */ - public stringValue?: (string|null); - - /** WidgetState doubleArrayValue. */ - public doubleArrayValue?: (IDoubleArray|null); - - /** WidgetState intArrayValue. */ - public intArrayValue?: (ISInt64Array|null); - - /** WidgetState stringArrayValue. */ - public stringArrayValue?: (IStringArray|null); - - /** WidgetState jsonValue. */ - public jsonValue?: (string|null); - - /** WidgetState arrowValue. */ - public arrowValue?: (IArrowTable|null); - - /** WidgetState bytesValue. */ - public bytesValue?: (Uint8Array|null); - - /** WidgetState fileUploaderStateValue. */ - public fileUploaderStateValue?: (IFileUploaderState|null); - - /** WidgetState value. */ - public value?: ("triggerValue"|"boolValue"|"doubleValue"|"intValue"|"stringValue"|"doubleArrayValue"|"intArrayValue"|"stringArrayValue"|"jsonValue"|"arrowValue"|"bytesValue"|"fileUploaderStateValue"); - - /** - * Creates a new WidgetState instance using the specified properties. - * @param [properties] Properties to set - * @returns WidgetState instance - */ - public static create(properties?: IWidgetState): WidgetState; - - /** - * Encodes the specified WidgetState message. Does not implicitly {@link WidgetState.verify|verify} messages. - * @param message WidgetState message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IWidgetState, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified WidgetState message, length delimited. Does not implicitly {@link WidgetState.verify|verify} messages. - * @param message WidgetState message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IWidgetState, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a WidgetState message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns WidgetState - * @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): WidgetState; - - /** - * Decodes a WidgetState message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns WidgetState - * @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)): WidgetState; - - /** - * Verifies a WidgetState 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 WidgetState message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns WidgetState - */ - public static fromObject(object: { [k: string]: any }): WidgetState; - - /** - * Creates a plain object from a WidgetState message. Also converts values to other types if specified. - * @param message WidgetState - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: WidgetState, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this WidgetState to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for WidgetState - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Namespace openmetrics. */ -export namespace openmetrics { - - /** Properties of a MetricSet. */ - interface IMetricSet { - - /** MetricSet metricFamilies */ - metricFamilies?: (openmetrics.IMetricFamily[]|null); - } - - /** Represents a MetricSet. */ - class MetricSet implements IMetricSet { - - /** - * Constructs a new MetricSet. - * @param [properties] Properties to set - */ - constructor(properties?: openmetrics.IMetricSet); - - /** MetricSet metricFamilies. */ - public metricFamilies: openmetrics.IMetricFamily[]; - - /** - * Creates a new MetricSet instance using the specified properties. - * @param [properties] Properties to set - * @returns MetricSet instance - */ - public static create(properties?: openmetrics.IMetricSet): openmetrics.MetricSet; - - /** - * Encodes the specified MetricSet message. Does not implicitly {@link openmetrics.MetricSet.verify|verify} messages. - * @param message MetricSet message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: openmetrics.IMetricSet, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MetricSet message, length delimited. Does not implicitly {@link openmetrics.MetricSet.verify|verify} messages. - * @param message MetricSet message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: openmetrics.IMetricSet, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MetricSet message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MetricSet - * @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): openmetrics.MetricSet; - - /** - * Decodes a MetricSet message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MetricSet - * @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)): openmetrics.MetricSet; - - /** - * Verifies a MetricSet 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 MetricSet message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MetricSet - */ - public static fromObject(object: { [k: string]: any }): openmetrics.MetricSet; - - /** - * Creates a plain object from a MetricSet message. Also converts values to other types if specified. - * @param message MetricSet - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: openmetrics.MetricSet, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MetricSet to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MetricSet - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a MetricFamily. */ - interface IMetricFamily { - - /** MetricFamily name */ - name?: (string|null); - - /** MetricFamily type */ - type?: (openmetrics.MetricType|null); - - /** MetricFamily unit */ - unit?: (string|null); - - /** MetricFamily help */ - help?: (string|null); - - /** MetricFamily metrics */ - metrics?: (openmetrics.IMetric[]|null); - } - - /** Represents a MetricFamily. */ - class MetricFamily implements IMetricFamily { - - /** - * Constructs a new MetricFamily. - * @param [properties] Properties to set - */ - constructor(properties?: openmetrics.IMetricFamily); - - /** MetricFamily name. */ - public name: string; - - /** MetricFamily type. */ - public type: openmetrics.MetricType; - - /** MetricFamily unit. */ - public unit: string; - - /** MetricFamily help. */ - public help: string; - - /** MetricFamily metrics. */ - public metrics: openmetrics.IMetric[]; - - /** - * Creates a new MetricFamily instance using the specified properties. - * @param [properties] Properties to set - * @returns MetricFamily instance - */ - public static create(properties?: openmetrics.IMetricFamily): openmetrics.MetricFamily; - - /** - * Encodes the specified MetricFamily message. Does not implicitly {@link openmetrics.MetricFamily.verify|verify} messages. - * @param message MetricFamily message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: openmetrics.IMetricFamily, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MetricFamily message, length delimited. Does not implicitly {@link openmetrics.MetricFamily.verify|verify} messages. - * @param message MetricFamily message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: openmetrics.IMetricFamily, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MetricFamily message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MetricFamily - * @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): openmetrics.MetricFamily; - - /** - * Decodes a MetricFamily message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MetricFamily - * @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)): openmetrics.MetricFamily; - - /** - * Verifies a MetricFamily 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 MetricFamily message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MetricFamily - */ - public static fromObject(object: { [k: string]: any }): openmetrics.MetricFamily; - - /** - * Creates a plain object from a MetricFamily message. Also converts values to other types if specified. - * @param message MetricFamily - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: openmetrics.MetricFamily, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MetricFamily to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MetricFamily - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** MetricType enum. */ - enum MetricType { - UNKNOWN = 0, - GAUGE = 1, - COUNTER = 2, - STATE_SET = 3, - INFO = 4, - HISTOGRAM = 5, - GAUGE_HISTOGRAM = 6, - SUMMARY = 7 - } - - /** Properties of a Metric. */ - interface IMetric { - - /** Metric labels */ - labels?: (openmetrics.ILabel[]|null); - - /** Metric metricPoints */ - metricPoints?: (openmetrics.IMetricPoint[]|null); - } - - /** Represents a Metric. */ - class Metric implements IMetric { - - /** - * Constructs a new Metric. - * @param [properties] Properties to set - */ - constructor(properties?: openmetrics.IMetric); - - /** Metric labels. */ - public labels: openmetrics.ILabel[]; - - /** Metric metricPoints. */ - public metricPoints: openmetrics.IMetricPoint[]; - - /** - * Creates a new Metric instance using the specified properties. - * @param [properties] Properties to set - * @returns Metric instance - */ - public static create(properties?: openmetrics.IMetric): openmetrics.Metric; - - /** - * Encodes the specified Metric message. Does not implicitly {@link openmetrics.Metric.verify|verify} messages. - * @param message Metric message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: openmetrics.IMetric, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Metric message, length delimited. Does not implicitly {@link openmetrics.Metric.verify|verify} messages. - * @param message Metric message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: openmetrics.IMetric, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Metric message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Metric - * @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): openmetrics.Metric; - - /** - * Decodes a Metric message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Metric - * @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)): openmetrics.Metric; - - /** - * Verifies a Metric 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 Metric message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Metric - */ - public static fromObject(object: { [k: string]: any }): openmetrics.Metric; - - /** - * Creates a plain object from a Metric message. Also converts values to other types if specified. - * @param message Metric - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: openmetrics.Metric, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Metric to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Metric - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a Label. */ - interface ILabel { - - /** Label name */ - name?: (string|null); - - /** Label value */ - value?: (string|null); - } - - /** Represents a Label. */ - class Label implements ILabel { - - /** - * Constructs a new Label. - * @param [properties] Properties to set - */ - constructor(properties?: openmetrics.ILabel); - - /** Label name. */ - public name: string; - - /** Label value. */ - public value: string; - - /** - * Creates a new Label instance using the specified properties. - * @param [properties] Properties to set - * @returns Label instance - */ - public static create(properties?: openmetrics.ILabel): openmetrics.Label; - - /** - * Encodes the specified Label message. Does not implicitly {@link openmetrics.Label.verify|verify} messages. - * @param message Label message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: openmetrics.ILabel, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Label message, length delimited. Does not implicitly {@link openmetrics.Label.verify|verify} messages. - * @param message Label message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: openmetrics.ILabel, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Label message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Label - * @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): openmetrics.Label; - - /** - * Decodes a Label message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Label - * @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)): openmetrics.Label; - - /** - * Verifies a Label 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 Label message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Label - */ - public static fromObject(object: { [k: string]: any }): openmetrics.Label; - - /** - * Creates a plain object from a Label message. Also converts values to other types if specified. - * @param message Label - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: openmetrics.Label, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Label to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Label - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a MetricPoint. */ - interface IMetricPoint { - - /** MetricPoint unknownValue */ - unknownValue?: (openmetrics.IUnknownValue|null); - - /** MetricPoint gaugeValue */ - gaugeValue?: (openmetrics.IGaugeValue|null); - - /** MetricPoint counterValue */ - counterValue?: (openmetrics.ICounterValue|null); - - /** MetricPoint histogramValue */ - histogramValue?: (openmetrics.IHistogramValue|null); - - /** MetricPoint stateSetValue */ - stateSetValue?: (openmetrics.IStateSetValue|null); - - /** MetricPoint infoValue */ - infoValue?: (openmetrics.IInfoValue|null); - - /** MetricPoint summaryValue */ - summaryValue?: (openmetrics.ISummaryValue|null); - - /** MetricPoint timestamp */ - timestamp?: (google.protobuf.ITimestamp|null); - } - - /** Represents a MetricPoint. */ - class MetricPoint implements IMetricPoint { - - /** - * Constructs a new MetricPoint. - * @param [properties] Properties to set - */ - constructor(properties?: openmetrics.IMetricPoint); - - /** MetricPoint unknownValue. */ - public unknownValue?: (openmetrics.IUnknownValue|null); - - /** MetricPoint gaugeValue. */ - public gaugeValue?: (openmetrics.IGaugeValue|null); - - /** MetricPoint counterValue. */ - public counterValue?: (openmetrics.ICounterValue|null); - - /** MetricPoint histogramValue. */ - public histogramValue?: (openmetrics.IHistogramValue|null); - - /** MetricPoint stateSetValue. */ - public stateSetValue?: (openmetrics.IStateSetValue|null); - - /** MetricPoint infoValue. */ - public infoValue?: (openmetrics.IInfoValue|null); - - /** MetricPoint summaryValue. */ - public summaryValue?: (openmetrics.ISummaryValue|null); - - /** MetricPoint timestamp. */ - public timestamp?: (google.protobuf.ITimestamp|null); - - /** MetricPoint value. */ - public value?: ("unknownValue"|"gaugeValue"|"counterValue"|"histogramValue"|"stateSetValue"|"infoValue"|"summaryValue"); - - /** - * Creates a new MetricPoint instance using the specified properties. - * @param [properties] Properties to set - * @returns MetricPoint instance - */ - public static create(properties?: openmetrics.IMetricPoint): openmetrics.MetricPoint; - - /** - * Encodes the specified MetricPoint message. Does not implicitly {@link openmetrics.MetricPoint.verify|verify} messages. - * @param message MetricPoint message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: openmetrics.IMetricPoint, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MetricPoint message, length delimited. Does not implicitly {@link openmetrics.MetricPoint.verify|verify} messages. - * @param message MetricPoint message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: openmetrics.IMetricPoint, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MetricPoint message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MetricPoint - * @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): openmetrics.MetricPoint; - - /** - * Decodes a MetricPoint message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MetricPoint - * @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)): openmetrics.MetricPoint; - - /** - * Verifies a MetricPoint 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 MetricPoint message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MetricPoint - */ - public static fromObject(object: { [k: string]: any }): openmetrics.MetricPoint; - - /** - * Creates a plain object from a MetricPoint message. Also converts values to other types if specified. - * @param message MetricPoint - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: openmetrics.MetricPoint, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MetricPoint to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MetricPoint - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an UnknownValue. */ - interface IUnknownValue { - - /** UnknownValue doubleValue */ - doubleValue?: (number|null); - - /** UnknownValue intValue */ - intValue?: (number|Long|null); - } - - /** Represents an UnknownValue. */ - class UnknownValue implements IUnknownValue { - - /** - * Constructs a new UnknownValue. - * @param [properties] Properties to set - */ - constructor(properties?: openmetrics.IUnknownValue); - - /** UnknownValue doubleValue. */ - public doubleValue?: (number|null); - - /** UnknownValue intValue. */ - public intValue?: (number|Long|null); - - /** UnknownValue value. */ - public value?: ("doubleValue"|"intValue"); - - /** - * Creates a new UnknownValue instance using the specified properties. - * @param [properties] Properties to set - * @returns UnknownValue instance - */ - public static create(properties?: openmetrics.IUnknownValue): openmetrics.UnknownValue; - - /** - * Encodes the specified UnknownValue message. Does not implicitly {@link openmetrics.UnknownValue.verify|verify} messages. - * @param message UnknownValue message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: openmetrics.IUnknownValue, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified UnknownValue message, length delimited. Does not implicitly {@link openmetrics.UnknownValue.verify|verify} messages. - * @param message UnknownValue message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: openmetrics.IUnknownValue, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an UnknownValue message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns UnknownValue - * @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): openmetrics.UnknownValue; - - /** - * Decodes an UnknownValue message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns UnknownValue - * @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)): openmetrics.UnknownValue; - - /** - * Verifies an UnknownValue 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 UnknownValue message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns UnknownValue - */ - public static fromObject(object: { [k: string]: any }): openmetrics.UnknownValue; - - /** - * Creates a plain object from an UnknownValue message. Also converts values to other types if specified. - * @param message UnknownValue - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: openmetrics.UnknownValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this UnknownValue to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for UnknownValue - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GaugeValue. */ - interface IGaugeValue { - - /** GaugeValue doubleValue */ - doubleValue?: (number|null); - - /** GaugeValue intValue */ - intValue?: (number|Long|null); - } - - /** Represents a GaugeValue. */ - class GaugeValue implements IGaugeValue { - - /** - * Constructs a new GaugeValue. - * @param [properties] Properties to set - */ - constructor(properties?: openmetrics.IGaugeValue); - - /** GaugeValue doubleValue. */ - public doubleValue?: (number|null); - - /** GaugeValue intValue. */ - public intValue?: (number|Long|null); - - /** GaugeValue value. */ - public value?: ("doubleValue"|"intValue"); - - /** - * Creates a new GaugeValue instance using the specified properties. - * @param [properties] Properties to set - * @returns GaugeValue instance - */ - public static create(properties?: openmetrics.IGaugeValue): openmetrics.GaugeValue; - - /** - * Encodes the specified GaugeValue message. Does not implicitly {@link openmetrics.GaugeValue.verify|verify} messages. - * @param message GaugeValue message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: openmetrics.IGaugeValue, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GaugeValue message, length delimited. Does not implicitly {@link openmetrics.GaugeValue.verify|verify} messages. - * @param message GaugeValue message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: openmetrics.IGaugeValue, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GaugeValue message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GaugeValue - * @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): openmetrics.GaugeValue; - - /** - * Decodes a GaugeValue message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GaugeValue - * @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)): openmetrics.GaugeValue; - - /** - * Verifies a GaugeValue 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 GaugeValue message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GaugeValue - */ - public static fromObject(object: { [k: string]: any }): openmetrics.GaugeValue; - - /** - * Creates a plain object from a GaugeValue message. Also converts values to other types if specified. - * @param message GaugeValue - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: openmetrics.GaugeValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GaugeValue to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GaugeValue - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a CounterValue. */ - interface ICounterValue { - - /** CounterValue doubleValue */ - doubleValue?: (number|null); - - /** CounterValue intValue */ - intValue?: (number|Long|null); - - /** CounterValue created */ - created?: (google.protobuf.ITimestamp|null); - - /** CounterValue exemplar */ - exemplar?: (openmetrics.IExemplar|null); - } - - /** Represents a CounterValue. */ - class CounterValue implements ICounterValue { - - /** - * Constructs a new CounterValue. - * @param [properties] Properties to set - */ - constructor(properties?: openmetrics.ICounterValue); - - /** CounterValue doubleValue. */ - public doubleValue?: (number|null); - - /** CounterValue intValue. */ - public intValue?: (number|Long|null); - - /** CounterValue created. */ - public created?: (google.protobuf.ITimestamp|null); - - /** CounterValue exemplar. */ - public exemplar?: (openmetrics.IExemplar|null); - - /** CounterValue total. */ - public total?: ("doubleValue"|"intValue"); - - /** - * Creates a new CounterValue instance using the specified properties. - * @param [properties] Properties to set - * @returns CounterValue instance - */ - public static create(properties?: openmetrics.ICounterValue): openmetrics.CounterValue; - - /** - * Encodes the specified CounterValue message. Does not implicitly {@link openmetrics.CounterValue.verify|verify} messages. - * @param message CounterValue message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: openmetrics.ICounterValue, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified CounterValue message, length delimited. Does not implicitly {@link openmetrics.CounterValue.verify|verify} messages. - * @param message CounterValue message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: openmetrics.ICounterValue, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a CounterValue message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns CounterValue - * @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): openmetrics.CounterValue; - - /** - * Decodes a CounterValue message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns CounterValue - * @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)): openmetrics.CounterValue; - - /** - * Verifies a CounterValue 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 CounterValue message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns CounterValue - */ - public static fromObject(object: { [k: string]: any }): openmetrics.CounterValue; - - /** - * Creates a plain object from a CounterValue message. Also converts values to other types if specified. - * @param message CounterValue - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: openmetrics.CounterValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this CounterValue to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for CounterValue - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a HistogramValue. */ - interface IHistogramValue { - - /** HistogramValue doubleValue */ - doubleValue?: (number|null); - - /** HistogramValue intValue */ - intValue?: (number|Long|null); - - /** HistogramValue count */ - count?: (number|Long|null); - - /** HistogramValue created */ - created?: (google.protobuf.ITimestamp|null); - - /** HistogramValue buckets */ - buckets?: (openmetrics.HistogramValue.IBucket[]|null); - } - - /** Represents a HistogramValue. */ - class HistogramValue implements IHistogramValue { - - /** - * Constructs a new HistogramValue. - * @param [properties] Properties to set - */ - constructor(properties?: openmetrics.IHistogramValue); - - /** HistogramValue doubleValue. */ - public doubleValue?: (number|null); - - /** HistogramValue intValue. */ - public intValue?: (number|Long|null); - - /** HistogramValue count. */ - public count: (number|Long); - - /** HistogramValue created. */ - public created?: (google.protobuf.ITimestamp|null); - - /** HistogramValue buckets. */ - public buckets: openmetrics.HistogramValue.IBucket[]; - - /** HistogramValue sum. */ - public sum?: ("doubleValue"|"intValue"); - - /** - * Creates a new HistogramValue instance using the specified properties. - * @param [properties] Properties to set - * @returns HistogramValue instance - */ - public static create(properties?: openmetrics.IHistogramValue): openmetrics.HistogramValue; - - /** - * Encodes the specified HistogramValue message. Does not implicitly {@link openmetrics.HistogramValue.verify|verify} messages. - * @param message HistogramValue message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: openmetrics.IHistogramValue, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified HistogramValue message, length delimited. Does not implicitly {@link openmetrics.HistogramValue.verify|verify} messages. - * @param message HistogramValue message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: openmetrics.IHistogramValue, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a HistogramValue message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns HistogramValue - * @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): openmetrics.HistogramValue; - - /** - * Decodes a HistogramValue message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns HistogramValue - * @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)): openmetrics.HistogramValue; - - /** - * Verifies a HistogramValue 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 HistogramValue message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns HistogramValue - */ - public static fromObject(object: { [k: string]: any }): openmetrics.HistogramValue; - - /** - * Creates a plain object from a HistogramValue message. Also converts values to other types if specified. - * @param message HistogramValue - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: openmetrics.HistogramValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this HistogramValue to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for HistogramValue - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace HistogramValue { - - /** Properties of a Bucket. */ - interface IBucket { - - /** Bucket count */ - count?: (number|Long|null); - - /** Bucket upperBound */ - upperBound?: (number|null); - - /** Bucket exemplar */ - exemplar?: (openmetrics.IExemplar|null); - } - - /** Represents a Bucket. */ - class Bucket implements IBucket { - - /** - * Constructs a new Bucket. - * @param [properties] Properties to set - */ - constructor(properties?: openmetrics.HistogramValue.IBucket); - - /** Bucket count. */ - public count: (number|Long); - - /** Bucket upperBound. */ - public upperBound: number; - - /** Bucket exemplar. */ - public exemplar?: (openmetrics.IExemplar|null); - - /** - * Creates a new Bucket instance using the specified properties. - * @param [properties] Properties to set - * @returns Bucket instance - */ - public static create(properties?: openmetrics.HistogramValue.IBucket): openmetrics.HistogramValue.Bucket; - - /** - * Encodes the specified Bucket message. Does not implicitly {@link openmetrics.HistogramValue.Bucket.verify|verify} messages. - * @param message Bucket message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: openmetrics.HistogramValue.IBucket, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Bucket message, length delimited. Does not implicitly {@link openmetrics.HistogramValue.Bucket.verify|verify} messages. - * @param message Bucket message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: openmetrics.HistogramValue.IBucket, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Bucket message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Bucket - * @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): openmetrics.HistogramValue.Bucket; - - /** - * Decodes a Bucket message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Bucket - * @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)): openmetrics.HistogramValue.Bucket; - - /** - * Verifies a Bucket 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 Bucket message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Bucket - */ - public static fromObject(object: { [k: string]: any }): openmetrics.HistogramValue.Bucket; - - /** - * Creates a plain object from a Bucket message. Also converts values to other types if specified. - * @param message Bucket - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: openmetrics.HistogramValue.Bucket, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Bucket to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Bucket - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - } - - /** Properties of an Exemplar. */ - interface IExemplar { - - /** Exemplar value */ - value?: (number|null); - - /** Exemplar timestamp */ - timestamp?: (google.protobuf.ITimestamp|null); - - /** Exemplar label */ - label?: (openmetrics.ILabel[]|null); - } - - /** Represents an Exemplar. */ - class Exemplar implements IExemplar { - - /** - * Constructs a new Exemplar. - * @param [properties] Properties to set - */ - constructor(properties?: openmetrics.IExemplar); - - /** Exemplar value. */ - public value: number; - - /** Exemplar timestamp. */ - public timestamp?: (google.protobuf.ITimestamp|null); - - /** Exemplar label. */ - public label: openmetrics.ILabel[]; - - /** - * Creates a new Exemplar instance using the specified properties. - * @param [properties] Properties to set - * @returns Exemplar instance - */ - public static create(properties?: openmetrics.IExemplar): openmetrics.Exemplar; - - /** - * Encodes the specified Exemplar message. Does not implicitly {@link openmetrics.Exemplar.verify|verify} messages. - * @param message Exemplar message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: openmetrics.IExemplar, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Exemplar message, length delimited. Does not implicitly {@link openmetrics.Exemplar.verify|verify} messages. - * @param message Exemplar message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: openmetrics.IExemplar, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an Exemplar message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Exemplar - * @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): openmetrics.Exemplar; - - /** - * Decodes an Exemplar message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Exemplar - * @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)): openmetrics.Exemplar; - - /** - * Verifies an Exemplar 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 Exemplar message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Exemplar - */ - public static fromObject(object: { [k: string]: any }): openmetrics.Exemplar; - - /** - * Creates a plain object from an Exemplar message. Also converts values to other types if specified. - * @param message Exemplar - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: openmetrics.Exemplar, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Exemplar to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Exemplar - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a StateSetValue. */ - interface IStateSetValue { - - /** StateSetValue states */ - states?: (openmetrics.StateSetValue.IState[]|null); - } - - /** Represents a StateSetValue. */ - class StateSetValue implements IStateSetValue { - - /** - * Constructs a new StateSetValue. - * @param [properties] Properties to set - */ - constructor(properties?: openmetrics.IStateSetValue); - - /** StateSetValue states. */ - public states: openmetrics.StateSetValue.IState[]; - - /** - * Creates a new StateSetValue instance using the specified properties. - * @param [properties] Properties to set - * @returns StateSetValue instance - */ - public static create(properties?: openmetrics.IStateSetValue): openmetrics.StateSetValue; - - /** - * Encodes the specified StateSetValue message. Does not implicitly {@link openmetrics.StateSetValue.verify|verify} messages. - * @param message StateSetValue message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: openmetrics.IStateSetValue, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified StateSetValue message, length delimited. Does not implicitly {@link openmetrics.StateSetValue.verify|verify} messages. - * @param message StateSetValue message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: openmetrics.IStateSetValue, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a StateSetValue message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns StateSetValue - * @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): openmetrics.StateSetValue; - - /** - * Decodes a StateSetValue message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns StateSetValue - * @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)): openmetrics.StateSetValue; - - /** - * Verifies a StateSetValue 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 StateSetValue message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns StateSetValue - */ - public static fromObject(object: { [k: string]: any }): openmetrics.StateSetValue; - - /** - * Creates a plain object from a StateSetValue message. Also converts values to other types if specified. - * @param message StateSetValue - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: openmetrics.StateSetValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this StateSetValue to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for StateSetValue - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace StateSetValue { - - /** Properties of a State. */ - interface IState { - - /** State enabled */ - enabled?: (boolean|null); - - /** State name */ - name?: (string|null); - } - - /** Represents a State. */ - class State implements IState { - - /** - * Constructs a new State. - * @param [properties] Properties to set - */ - constructor(properties?: openmetrics.StateSetValue.IState); - - /** State enabled. */ - public enabled: boolean; - - /** State name. */ - public name: string; - - /** - * Creates a new State instance using the specified properties. - * @param [properties] Properties to set - * @returns State instance - */ - public static create(properties?: openmetrics.StateSetValue.IState): openmetrics.StateSetValue.State; - - /** - * Encodes the specified State message. Does not implicitly {@link openmetrics.StateSetValue.State.verify|verify} messages. - * @param message State message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: openmetrics.StateSetValue.IState, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified State message, length delimited. Does not implicitly {@link openmetrics.StateSetValue.State.verify|verify} messages. - * @param message State message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: openmetrics.StateSetValue.IState, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a State message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns State - * @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): openmetrics.StateSetValue.State; - - /** - * Decodes a State message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns State - * @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)): openmetrics.StateSetValue.State; - - /** - * Verifies a State 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 State message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns State - */ - public static fromObject(object: { [k: string]: any }): openmetrics.StateSetValue.State; - - /** - * Creates a plain object from a State message. Also converts values to other types if specified. - * @param message State - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: openmetrics.StateSetValue.State, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this State to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for State - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - } - - /** Properties of an InfoValue. */ - interface IInfoValue { - - /** InfoValue info */ - info?: (openmetrics.ILabel[]|null); - } - - /** Represents an InfoValue. */ - class InfoValue implements IInfoValue { - - /** - * Constructs a new InfoValue. - * @param [properties] Properties to set - */ - constructor(properties?: openmetrics.IInfoValue); - - /** InfoValue info. */ - public info: openmetrics.ILabel[]; - - /** - * Creates a new InfoValue instance using the specified properties. - * @param [properties] Properties to set - * @returns InfoValue instance - */ - public static create(properties?: openmetrics.IInfoValue): openmetrics.InfoValue; - - /** - * Encodes the specified InfoValue message. Does not implicitly {@link openmetrics.InfoValue.verify|verify} messages. - * @param message InfoValue message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: openmetrics.IInfoValue, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified InfoValue message, length delimited. Does not implicitly {@link openmetrics.InfoValue.verify|verify} messages. - * @param message InfoValue message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: openmetrics.IInfoValue, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an InfoValue message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns InfoValue - * @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): openmetrics.InfoValue; - - /** - * Decodes an InfoValue message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns InfoValue - * @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)): openmetrics.InfoValue; - - /** - * Verifies an InfoValue 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 InfoValue message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns InfoValue - */ - public static fromObject(object: { [k: string]: any }): openmetrics.InfoValue; - - /** - * Creates a plain object from an InfoValue message. Also converts values to other types if specified. - * @param message InfoValue - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: openmetrics.InfoValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this InfoValue to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for InfoValue - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a SummaryValue. */ - interface ISummaryValue { - - /** SummaryValue doubleValue */ - doubleValue?: (number|null); - - /** SummaryValue intValue */ - intValue?: (number|Long|null); - - /** SummaryValue count */ - count?: (number|Long|null); - - /** SummaryValue created */ - created?: (google.protobuf.ITimestamp|null); - - /** SummaryValue quantile */ - quantile?: (openmetrics.SummaryValue.IQuantile[]|null); - } - - /** Represents a SummaryValue. */ - class SummaryValue implements ISummaryValue { - - /** - * Constructs a new SummaryValue. - * @param [properties] Properties to set - */ - constructor(properties?: openmetrics.ISummaryValue); - - /** SummaryValue doubleValue. */ - public doubleValue?: (number|null); - - /** SummaryValue intValue. */ - public intValue?: (number|Long|null); - - /** SummaryValue count. */ - public count: (number|Long); - - /** SummaryValue created. */ - public created?: (google.protobuf.ITimestamp|null); - - /** SummaryValue quantile. */ - public quantile: openmetrics.SummaryValue.IQuantile[]; - - /** SummaryValue sum. */ - public sum?: ("doubleValue"|"intValue"); - - /** - * Creates a new SummaryValue instance using the specified properties. - * @param [properties] Properties to set - * @returns SummaryValue instance - */ - public static create(properties?: openmetrics.ISummaryValue): openmetrics.SummaryValue; - - /** - * Encodes the specified SummaryValue message. Does not implicitly {@link openmetrics.SummaryValue.verify|verify} messages. - * @param message SummaryValue message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: openmetrics.ISummaryValue, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SummaryValue message, length delimited. Does not implicitly {@link openmetrics.SummaryValue.verify|verify} messages. - * @param message SummaryValue message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: openmetrics.ISummaryValue, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SummaryValue message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SummaryValue - * @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): openmetrics.SummaryValue; - - /** - * Decodes a SummaryValue message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SummaryValue - * @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)): openmetrics.SummaryValue; - - /** - * Verifies a SummaryValue 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 SummaryValue message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SummaryValue - */ - public static fromObject(object: { [k: string]: any }): openmetrics.SummaryValue; - - /** - * Creates a plain object from a SummaryValue message. Also converts values to other types if specified. - * @param message SummaryValue - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: openmetrics.SummaryValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SummaryValue to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SummaryValue - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace SummaryValue { - - /** Properties of a Quantile. */ - interface IQuantile { - - /** Quantile quantile */ - quantile?: (number|null); - - /** Quantile value */ - value?: (number|null); - } - - /** Represents a Quantile. */ - class Quantile implements IQuantile { - - /** - * Constructs a new Quantile. - * @param [properties] Properties to set - */ - constructor(properties?: openmetrics.SummaryValue.IQuantile); - - /** Quantile quantile. */ - public quantile: number; - - /** Quantile value. */ - public value: number; - - /** - * Creates a new Quantile instance using the specified properties. - * @param [properties] Properties to set - * @returns Quantile instance - */ - public static create(properties?: openmetrics.SummaryValue.IQuantile): openmetrics.SummaryValue.Quantile; - - /** - * Encodes the specified Quantile message. Does not implicitly {@link openmetrics.SummaryValue.Quantile.verify|verify} messages. - * @param message Quantile message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: openmetrics.SummaryValue.IQuantile, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Quantile message, length delimited. Does not implicitly {@link openmetrics.SummaryValue.Quantile.verify|verify} messages. - * @param message Quantile message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: openmetrics.SummaryValue.IQuantile, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Quantile message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Quantile - * @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): openmetrics.SummaryValue.Quantile; - - /** - * Decodes a Quantile message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Quantile - * @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)): openmetrics.SummaryValue.Quantile; - - /** - * Verifies a Quantile 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 Quantile message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Quantile - */ - public static fromObject(object: { [k: string]: any }): openmetrics.SummaryValue.Quantile; - - /** - * Creates a plain object from a Quantile message. Also converts values to other types if specified. - * @param message Quantile - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: openmetrics.SummaryValue.Quantile, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Quantile to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Quantile - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - } -} - -/** Namespace google. */ -export namespace google { - - /** Namespace protobuf. */ - namespace protobuf { - - /** Properties of a Timestamp. */ - interface ITimestamp { - - /** Timestamp seconds */ - seconds?: (number|Long|null); - - /** Timestamp nanos */ - nanos?: (number|null); - } - - /** Represents a Timestamp. */ - class Timestamp implements ITimestamp { - - /** - * Constructs a new Timestamp. - * @param [properties] Properties to set - */ - constructor(properties?: google.protobuf.ITimestamp); - - /** Timestamp seconds. */ - public seconds: (number|Long); - - /** Timestamp nanos. */ - public nanos: number; - - /** - * Creates a new Timestamp instance using the specified properties. - * @param [properties] Properties to set - * @returns Timestamp instance - */ - public static create(properties?: google.protobuf.ITimestamp): google.protobuf.Timestamp; - - /** - * Encodes the specified Timestamp message. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages. - * @param message Timestamp message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Timestamp message, length delimited. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages. - * @param message Timestamp message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Timestamp message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Timestamp - * @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): google.protobuf.Timestamp; - - /** - * Decodes a Timestamp message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Timestamp - * @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)): google.protobuf.Timestamp; - - /** - * Verifies a Timestamp 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 Timestamp message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Timestamp - */ - public static fromObject(object: { [k: string]: any }): google.protobuf.Timestamp; - - /** - * Creates a plain object from a Timestamp message. Also converts values to other types if specified. - * @param message Timestamp - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.protobuf.Timestamp, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Timestamp to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Timestamp - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - } -} diff --git a/frontend/src/lib/proto.js b/frontend/src/lib/proto.js deleted file mode 100644 index cc1035da7e67..000000000000 --- a/frontend/src/lib/proto.js +++ /dev/null @@ -1,41148 +0,0 @@ -/* eslint-disable */ - -/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/ -import * as $protobuf from "protobufjs/minimal"; - -// Common aliases -const $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util; - -// Exported root namespace -const $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {}); - -export const Alert = $root.Alert = (() => { - - /** - * Properties of an Alert. - * @exports IAlert - * @interface IAlert - * @property {string|null} [body] Alert body - * @property {Alert.Format|null} [format] Alert format - * @property {string|null} [icon] Alert icon - */ - - /** - * Constructs a new Alert. - * @exports Alert - * @classdesc Represents an Alert. - * @implements IAlert - * @constructor - * @param {IAlert=} [properties] Properties to set - */ - function Alert(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Alert body. - * @member {string} body - * @memberof Alert - * @instance - */ - Alert.prototype.body = ""; - - /** - * Alert format. - * @member {Alert.Format} format - * @memberof Alert - * @instance - */ - Alert.prototype.format = 0; - - /** - * Alert icon. - * @member {string} icon - * @memberof Alert - * @instance - */ - Alert.prototype.icon = ""; - - /** - * Creates a new Alert instance using the specified properties. - * @function create - * @memberof Alert - * @static - * @param {IAlert=} [properties] Properties to set - * @returns {Alert} Alert instance - */ - Alert.create = function create(properties) { - return new Alert(properties); - }; - - /** - * Encodes the specified Alert message. Does not implicitly {@link Alert.verify|verify} messages. - * @function encode - * @memberof Alert - * @static - * @param {IAlert} message Alert message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Alert.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.body != null && Object.hasOwnProperty.call(message, "body")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.body); - if (message.format != null && Object.hasOwnProperty.call(message, "format")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.format); - if (message.icon != null && Object.hasOwnProperty.call(message, "icon")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.icon); - return writer; - }; - - /** - * Encodes the specified Alert message, length delimited. Does not implicitly {@link Alert.verify|verify} messages. - * @function encodeDelimited - * @memberof Alert - * @static - * @param {IAlert} message Alert message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Alert.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an Alert message from the specified reader or buffer. - * @function decode - * @memberof Alert - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Alert} Alert - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Alert.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Alert(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.body = reader.string(); - break; - } - case 2: { - message.format = reader.int32(); - break; - } - case 3: { - message.icon = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an Alert message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Alert - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Alert} Alert - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Alert.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an Alert message. - * @function verify - * @memberof Alert - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Alert.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.body != null && message.hasOwnProperty("body")) - if (!$util.isString(message.body)) - return "body: string expected"; - if (message.format != null && message.hasOwnProperty("format")) - switch (message.format) { - default: - return "format: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.icon != null && message.hasOwnProperty("icon")) - if (!$util.isString(message.icon)) - return "icon: string expected"; - return null; - }; - - /** - * Creates an Alert message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Alert - * @static - * @param {Object.} object Plain object - * @returns {Alert} Alert - */ - Alert.fromObject = function fromObject(object) { - if (object instanceof $root.Alert) - return object; - let message = new $root.Alert(); - if (object.body != null) - message.body = String(object.body); - switch (object.format) { - default: - if (typeof object.format === "number") { - message.format = object.format; - break; - } - break; - case "UNUSED": - case 0: - message.format = 0; - break; - case "ERROR": - case 1: - message.format = 1; - break; - case "WARNING": - case 2: - message.format = 2; - break; - case "INFO": - case 3: - message.format = 3; - break; - case "SUCCESS": - case 4: - message.format = 4; - break; - } - if (object.icon != null) - message.icon = String(object.icon); - return message; - }; - - /** - * Creates a plain object from an Alert message. Also converts values to other types if specified. - * @function toObject - * @memberof Alert - * @static - * @param {Alert} message Alert - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Alert.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.body = ""; - object.format = options.enums === String ? "UNUSED" : 0; - object.icon = ""; - } - if (message.body != null && message.hasOwnProperty("body")) - object.body = message.body; - if (message.format != null && message.hasOwnProperty("format")) - object.format = options.enums === String ? $root.Alert.Format[message.format] === undefined ? message.format : $root.Alert.Format[message.format] : message.format; - if (message.icon != null && message.hasOwnProperty("icon")) - object.icon = message.icon; - return object; - }; - - /** - * Converts this Alert to JSON. - * @function toJSON - * @memberof Alert - * @instance - * @returns {Object.} JSON object - */ - Alert.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Alert - * @function getTypeUrl - * @memberof Alert - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Alert.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Alert"; - }; - - /** - * Format enum. - * @name Alert.Format - * @enum {number} - * @property {number} UNUSED=0 UNUSED value - * @property {number} ERROR=1 ERROR value - * @property {number} WARNING=2 WARNING value - * @property {number} INFO=3 INFO value - * @property {number} SUCCESS=4 SUCCESS value - */ - Alert.Format = (function() { - const valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "UNUSED"] = 0; - values[valuesById[1] = "ERROR"] = 1; - values[valuesById[2] = "WARNING"] = 2; - values[valuesById[3] = "INFO"] = 3; - values[valuesById[4] = "SUCCESS"] = 4; - return values; - })(); - - return Alert; -})(); - -export const AppPage = $root.AppPage = (() => { - - /** - * Properties of an AppPage. - * @exports IAppPage - * @interface IAppPage - * @property {string|null} [pageScriptHash] AppPage pageScriptHash - * @property {string|null} [pageName] AppPage pageName - * @property {string|null} [icon] AppPage icon - */ - - /** - * Constructs a new AppPage. - * @exports AppPage - * @classdesc Represents an AppPage. - * @implements IAppPage - * @constructor - * @param {IAppPage=} [properties] Properties to set - */ - function AppPage(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * AppPage pageScriptHash. - * @member {string} pageScriptHash - * @memberof AppPage - * @instance - */ - AppPage.prototype.pageScriptHash = ""; - - /** - * AppPage pageName. - * @member {string} pageName - * @memberof AppPage - * @instance - */ - AppPage.prototype.pageName = ""; - - /** - * AppPage icon. - * @member {string} icon - * @memberof AppPage - * @instance - */ - AppPage.prototype.icon = ""; - - /** - * Creates a new AppPage instance using the specified properties. - * @function create - * @memberof AppPage - * @static - * @param {IAppPage=} [properties] Properties to set - * @returns {AppPage} AppPage instance - */ - AppPage.create = function create(properties) { - return new AppPage(properties); - }; - - /** - * Encodes the specified AppPage message. Does not implicitly {@link AppPage.verify|verify} messages. - * @function encode - * @memberof AppPage - * @static - * @param {IAppPage} message AppPage message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - AppPage.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.pageScriptHash != null && Object.hasOwnProperty.call(message, "pageScriptHash")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.pageScriptHash); - if (message.pageName != null && Object.hasOwnProperty.call(message, "pageName")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.pageName); - if (message.icon != null && Object.hasOwnProperty.call(message, "icon")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.icon); - return writer; - }; - - /** - * Encodes the specified AppPage message, length delimited. Does not implicitly {@link AppPage.verify|verify} messages. - * @function encodeDelimited - * @memberof AppPage - * @static - * @param {IAppPage} message AppPage message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - AppPage.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an AppPage message from the specified reader or buffer. - * @function decode - * @memberof AppPage - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {AppPage} AppPage - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - AppPage.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.AppPage(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.pageScriptHash = reader.string(); - break; - } - case 2: { - message.pageName = reader.string(); - break; - } - case 3: { - message.icon = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an AppPage message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof AppPage - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {AppPage} AppPage - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - AppPage.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an AppPage message. - * @function verify - * @memberof AppPage - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - AppPage.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.pageScriptHash != null && message.hasOwnProperty("pageScriptHash")) - if (!$util.isString(message.pageScriptHash)) - return "pageScriptHash: string expected"; - if (message.pageName != null && message.hasOwnProperty("pageName")) - if (!$util.isString(message.pageName)) - return "pageName: string expected"; - if (message.icon != null && message.hasOwnProperty("icon")) - if (!$util.isString(message.icon)) - return "icon: string expected"; - return null; - }; - - /** - * Creates an AppPage message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof AppPage - * @static - * @param {Object.} object Plain object - * @returns {AppPage} AppPage - */ - AppPage.fromObject = function fromObject(object) { - if (object instanceof $root.AppPage) - return object; - let message = new $root.AppPage(); - if (object.pageScriptHash != null) - message.pageScriptHash = String(object.pageScriptHash); - if (object.pageName != null) - message.pageName = String(object.pageName); - if (object.icon != null) - message.icon = String(object.icon); - return message; - }; - - /** - * Creates a plain object from an AppPage message. Also converts values to other types if specified. - * @function toObject - * @memberof AppPage - * @static - * @param {AppPage} message AppPage - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - AppPage.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.pageScriptHash = ""; - object.pageName = ""; - object.icon = ""; - } - if (message.pageScriptHash != null && message.hasOwnProperty("pageScriptHash")) - object.pageScriptHash = message.pageScriptHash; - if (message.pageName != null && message.hasOwnProperty("pageName")) - object.pageName = message.pageName; - if (message.icon != null && message.hasOwnProperty("icon")) - object.icon = message.icon; - return object; - }; - - /** - * Converts this AppPage to JSON. - * @function toJSON - * @memberof AppPage - * @instance - * @returns {Object.} JSON object - */ - AppPage.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for AppPage - * @function getTypeUrl - * @memberof AppPage - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - AppPage.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/AppPage"; - }; - - return AppPage; -})(); - -export const Arrow = $root.Arrow = (() => { - - /** - * Properties of an Arrow. - * @exports IArrow - * @interface IArrow - * @property {Uint8Array|null} [data] Arrow data - * @property {IStyler|null} [styler] Arrow styler - * @property {number|null} [width] Arrow width - * @property {number|null} [height] Arrow height - * @property {boolean|null} [useContainerWidth] Arrow useContainerWidth - * @property {string|null} [id] Arrow id - * @property {string|null} [columns] Arrow columns - * @property {Arrow.EditingMode|null} [editingMode] Arrow editingMode - * @property {boolean|null} [disabled] Arrow disabled - * @property {string|null} [formId] Arrow formId - * @property {Array.|null} [columnOrder] Arrow columnOrder - */ - - /** - * Constructs a new Arrow. - * @exports Arrow - * @classdesc Represents an Arrow. - * @implements IArrow - * @constructor - * @param {IArrow=} [properties] Properties to set - */ - function Arrow(properties) { - this.columnOrder = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Arrow data. - * @member {Uint8Array} data - * @memberof Arrow - * @instance - */ - Arrow.prototype.data = $util.newBuffer([]); - - /** - * Arrow styler. - * @member {IStyler|null|undefined} styler - * @memberof Arrow - * @instance - */ - Arrow.prototype.styler = null; - - /** - * Arrow width. - * @member {number} width - * @memberof Arrow - * @instance - */ - Arrow.prototype.width = 0; - - /** - * Arrow height. - * @member {number} height - * @memberof Arrow - * @instance - */ - Arrow.prototype.height = 0; - - /** - * Arrow useContainerWidth. - * @member {boolean} useContainerWidth - * @memberof Arrow - * @instance - */ - Arrow.prototype.useContainerWidth = false; - - /** - * Arrow id. - * @member {string} id - * @memberof Arrow - * @instance - */ - Arrow.prototype.id = ""; - - /** - * Arrow columns. - * @member {string} columns - * @memberof Arrow - * @instance - */ - Arrow.prototype.columns = ""; - - /** - * Arrow editingMode. - * @member {Arrow.EditingMode} editingMode - * @memberof Arrow - * @instance - */ - Arrow.prototype.editingMode = 0; - - /** - * Arrow disabled. - * @member {boolean} disabled - * @memberof Arrow - * @instance - */ - Arrow.prototype.disabled = false; - - /** - * Arrow formId. - * @member {string} formId - * @memberof Arrow - * @instance - */ - Arrow.prototype.formId = ""; - - /** - * Arrow columnOrder. - * @member {Array.} columnOrder - * @memberof Arrow - * @instance - */ - Arrow.prototype.columnOrder = $util.emptyArray; - - /** - * Creates a new Arrow instance using the specified properties. - * @function create - * @memberof Arrow - * @static - * @param {IArrow=} [properties] Properties to set - * @returns {Arrow} Arrow instance - */ - Arrow.create = function create(properties) { - return new Arrow(properties); - }; - - /** - * Encodes the specified Arrow message. Does not implicitly {@link Arrow.verify|verify} messages. - * @function encode - * @memberof Arrow - * @static - * @param {IArrow} message Arrow message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Arrow.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.data != null && Object.hasOwnProperty.call(message, "data")) - writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.data); - if (message.styler != null && Object.hasOwnProperty.call(message, "styler")) - $root.Styler.encode(message.styler, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.width != null && Object.hasOwnProperty.call(message, "width")) - writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.width); - if (message.height != null && Object.hasOwnProperty.call(message, "height")) - writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.height); - if (message.useContainerWidth != null && Object.hasOwnProperty.call(message, "useContainerWidth")) - writer.uint32(/* id 5, wireType 0 =*/40).bool(message.useContainerWidth); - if (message.id != null && Object.hasOwnProperty.call(message, "id")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.id); - if (message.columns != null && Object.hasOwnProperty.call(message, "columns")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.columns); - if (message.editingMode != null && Object.hasOwnProperty.call(message, "editingMode")) - writer.uint32(/* id 8, wireType 0 =*/64).int32(message.editingMode); - if (message.disabled != null && Object.hasOwnProperty.call(message, "disabled")) - writer.uint32(/* id 9, wireType 0 =*/72).bool(message.disabled); - if (message.formId != null && Object.hasOwnProperty.call(message, "formId")) - writer.uint32(/* id 10, wireType 2 =*/82).string(message.formId); - if (message.columnOrder != null && message.columnOrder.length) - for (let i = 0; i < message.columnOrder.length; ++i) - writer.uint32(/* id 11, wireType 2 =*/90).string(message.columnOrder[i]); - return writer; - }; - - /** - * Encodes the specified Arrow message, length delimited. Does not implicitly {@link Arrow.verify|verify} messages. - * @function encodeDelimited - * @memberof Arrow - * @static - * @param {IArrow} message Arrow message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Arrow.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an Arrow message from the specified reader or buffer. - * @function decode - * @memberof Arrow - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Arrow} Arrow - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Arrow.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Arrow(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.data = reader.bytes(); - break; - } - case 2: { - message.styler = $root.Styler.decode(reader, reader.uint32()); - break; - } - case 3: { - message.width = reader.uint32(); - break; - } - case 4: { - message.height = reader.uint32(); - break; - } - case 5: { - message.useContainerWidth = reader.bool(); - break; - } - case 6: { - message.id = reader.string(); - break; - } - case 7: { - message.columns = reader.string(); - break; - } - case 8: { - message.editingMode = reader.int32(); - break; - } - case 9: { - message.disabled = reader.bool(); - break; - } - case 10: { - message.formId = reader.string(); - break; - } - case 11: { - if (!(message.columnOrder && message.columnOrder.length)) - message.columnOrder = []; - message.columnOrder.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an Arrow message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Arrow - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Arrow} Arrow - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Arrow.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an Arrow message. - * @function verify - * @memberof Arrow - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Arrow.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.data != null && message.hasOwnProperty("data")) - if (!(message.data && typeof message.data.length === "number" || $util.isString(message.data))) - return "data: buffer expected"; - if (message.styler != null && message.hasOwnProperty("styler")) { - let error = $root.Styler.verify(message.styler); - if (error) - return "styler." + error; - } - if (message.width != null && message.hasOwnProperty("width")) - if (!$util.isInteger(message.width)) - return "width: integer expected"; - if (message.height != null && message.hasOwnProperty("height")) - if (!$util.isInteger(message.height)) - return "height: integer expected"; - if (message.useContainerWidth != null && message.hasOwnProperty("useContainerWidth")) - if (typeof message.useContainerWidth !== "boolean") - return "useContainerWidth: boolean expected"; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isString(message.id)) - return "id: string expected"; - if (message.columns != null && message.hasOwnProperty("columns")) - if (!$util.isString(message.columns)) - return "columns: string expected"; - if (message.editingMode != null && message.hasOwnProperty("editingMode")) - switch (message.editingMode) { - default: - return "editingMode: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.disabled != null && message.hasOwnProperty("disabled")) - if (typeof message.disabled !== "boolean") - return "disabled: boolean expected"; - if (message.formId != null && message.hasOwnProperty("formId")) - if (!$util.isString(message.formId)) - return "formId: string expected"; - if (message.columnOrder != null && message.hasOwnProperty("columnOrder")) { - if (!Array.isArray(message.columnOrder)) - return "columnOrder: array expected"; - for (let i = 0; i < message.columnOrder.length; ++i) - if (!$util.isString(message.columnOrder[i])) - return "columnOrder: string[] expected"; - } - return null; - }; - - /** - * Creates an Arrow message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Arrow - * @static - * @param {Object.} object Plain object - * @returns {Arrow} Arrow - */ - Arrow.fromObject = function fromObject(object) { - if (object instanceof $root.Arrow) - return object; - let message = new $root.Arrow(); - if (object.data != null) - if (typeof object.data === "string") - $util.base64.decode(object.data, message.data = $util.newBuffer($util.base64.length(object.data)), 0); - else if (object.data.length >= 0) - message.data = object.data; - if (object.styler != null) { - if (typeof object.styler !== "object") - throw TypeError(".Arrow.styler: object expected"); - message.styler = $root.Styler.fromObject(object.styler); - } - if (object.width != null) - message.width = object.width >>> 0; - if (object.height != null) - message.height = object.height >>> 0; - if (object.useContainerWidth != null) - message.useContainerWidth = Boolean(object.useContainerWidth); - if (object.id != null) - message.id = String(object.id); - if (object.columns != null) - message.columns = String(object.columns); - switch (object.editingMode) { - default: - if (typeof object.editingMode === "number") { - message.editingMode = object.editingMode; - break; - } - break; - case "READ_ONLY": - case 0: - message.editingMode = 0; - break; - case "FIXED": - case 1: - message.editingMode = 1; - break; - case "DYNAMIC": - case 2: - message.editingMode = 2; - break; - } - if (object.disabled != null) - message.disabled = Boolean(object.disabled); - if (object.formId != null) - message.formId = String(object.formId); - if (object.columnOrder) { - if (!Array.isArray(object.columnOrder)) - throw TypeError(".Arrow.columnOrder: array expected"); - message.columnOrder = []; - for (let i = 0; i < object.columnOrder.length; ++i) - message.columnOrder[i] = String(object.columnOrder[i]); - } - return message; - }; - - /** - * Creates a plain object from an Arrow message. Also converts values to other types if specified. - * @function toObject - * @memberof Arrow - * @static - * @param {Arrow} message Arrow - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Arrow.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.columnOrder = []; - if (options.defaults) { - if (options.bytes === String) - object.data = ""; - else { - object.data = []; - if (options.bytes !== Array) - object.data = $util.newBuffer(object.data); - } - object.styler = null; - object.width = 0; - object.height = 0; - object.useContainerWidth = false; - object.id = ""; - object.columns = ""; - object.editingMode = options.enums === String ? "READ_ONLY" : 0; - object.disabled = false; - object.formId = ""; - } - if (message.data != null && message.hasOwnProperty("data")) - object.data = options.bytes === String ? $util.base64.encode(message.data, 0, message.data.length) : options.bytes === Array ? Array.prototype.slice.call(message.data) : message.data; - if (message.styler != null && message.hasOwnProperty("styler")) - object.styler = $root.Styler.toObject(message.styler, options); - if (message.width != null && message.hasOwnProperty("width")) - object.width = message.width; - if (message.height != null && message.hasOwnProperty("height")) - object.height = message.height; - if (message.useContainerWidth != null && message.hasOwnProperty("useContainerWidth")) - object.useContainerWidth = message.useContainerWidth; - if (message.id != null && message.hasOwnProperty("id")) - object.id = message.id; - if (message.columns != null && message.hasOwnProperty("columns")) - object.columns = message.columns; - if (message.editingMode != null && message.hasOwnProperty("editingMode")) - object.editingMode = options.enums === String ? $root.Arrow.EditingMode[message.editingMode] === undefined ? message.editingMode : $root.Arrow.EditingMode[message.editingMode] : message.editingMode; - if (message.disabled != null && message.hasOwnProperty("disabled")) - object.disabled = message.disabled; - if (message.formId != null && message.hasOwnProperty("formId")) - object.formId = message.formId; - if (message.columnOrder && message.columnOrder.length) { - object.columnOrder = []; - for (let j = 0; j < message.columnOrder.length; ++j) - object.columnOrder[j] = message.columnOrder[j]; - } - return object; - }; - - /** - * Converts this Arrow to JSON. - * @function toJSON - * @memberof Arrow - * @instance - * @returns {Object.} JSON object - */ - Arrow.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Arrow - * @function getTypeUrl - * @memberof Arrow - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Arrow.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Arrow"; - }; - - /** - * EditingMode enum. - * @name Arrow.EditingMode - * @enum {number} - * @property {number} READ_ONLY=0 READ_ONLY value - * @property {number} FIXED=1 FIXED value - * @property {number} DYNAMIC=2 DYNAMIC value - */ - Arrow.EditingMode = (function() { - const valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "READ_ONLY"] = 0; - values[valuesById[1] = "FIXED"] = 1; - values[valuesById[2] = "DYNAMIC"] = 2; - return values; - })(); - - return Arrow; -})(); - -export const Styler = $root.Styler = (() => { - - /** - * Properties of a Styler. - * @exports IStyler - * @interface IStyler - * @property {string|null} [uuid] Styler uuid - * @property {string|null} [caption] Styler caption - * @property {string|null} [styles] Styler styles - * @property {Uint8Array|null} [displayValues] Styler displayValues - */ - - /** - * Constructs a new Styler. - * @exports Styler - * @classdesc Represents a Styler. - * @implements IStyler - * @constructor - * @param {IStyler=} [properties] Properties to set - */ - function Styler(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Styler uuid. - * @member {string} uuid - * @memberof Styler - * @instance - */ - Styler.prototype.uuid = ""; - - /** - * Styler caption. - * @member {string} caption - * @memberof Styler - * @instance - */ - Styler.prototype.caption = ""; - - /** - * Styler styles. - * @member {string} styles - * @memberof Styler - * @instance - */ - Styler.prototype.styles = ""; - - /** - * Styler displayValues. - * @member {Uint8Array} displayValues - * @memberof Styler - * @instance - */ - Styler.prototype.displayValues = $util.newBuffer([]); - - /** - * Creates a new Styler instance using the specified properties. - * @function create - * @memberof Styler - * @static - * @param {IStyler=} [properties] Properties to set - * @returns {Styler} Styler instance - */ - Styler.create = function create(properties) { - return new Styler(properties); - }; - - /** - * Encodes the specified Styler message. Does not implicitly {@link Styler.verify|verify} messages. - * @function encode - * @memberof Styler - * @static - * @param {IStyler} message Styler message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Styler.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.uuid); - if (message.caption != null && Object.hasOwnProperty.call(message, "caption")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.caption); - if (message.styles != null && Object.hasOwnProperty.call(message, "styles")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.styles); - if (message.displayValues != null && Object.hasOwnProperty.call(message, "displayValues")) - writer.uint32(/* id 4, wireType 2 =*/34).bytes(message.displayValues); - return writer; - }; - - /** - * Encodes the specified Styler message, length delimited. Does not implicitly {@link Styler.verify|verify} messages. - * @function encodeDelimited - * @memberof Styler - * @static - * @param {IStyler} message Styler message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Styler.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Styler message from the specified reader or buffer. - * @function decode - * @memberof Styler - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Styler} Styler - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Styler.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Styler(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.uuid = reader.string(); - break; - } - case 2: { - message.caption = reader.string(); - break; - } - case 3: { - message.styles = reader.string(); - break; - } - case 4: { - message.displayValues = reader.bytes(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Styler message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Styler - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Styler} Styler - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Styler.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Styler message. - * @function verify - * @memberof Styler - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Styler.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.uuid != null && message.hasOwnProperty("uuid")) - if (!$util.isString(message.uuid)) - return "uuid: string expected"; - if (message.caption != null && message.hasOwnProperty("caption")) - if (!$util.isString(message.caption)) - return "caption: string expected"; - if (message.styles != null && message.hasOwnProperty("styles")) - if (!$util.isString(message.styles)) - return "styles: string expected"; - if (message.displayValues != null && message.hasOwnProperty("displayValues")) - if (!(message.displayValues && typeof message.displayValues.length === "number" || $util.isString(message.displayValues))) - return "displayValues: buffer expected"; - return null; - }; - - /** - * Creates a Styler message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Styler - * @static - * @param {Object.} object Plain object - * @returns {Styler} Styler - */ - Styler.fromObject = function fromObject(object) { - if (object instanceof $root.Styler) - return object; - let message = new $root.Styler(); - if (object.uuid != null) - message.uuid = String(object.uuid); - if (object.caption != null) - message.caption = String(object.caption); - if (object.styles != null) - message.styles = String(object.styles); - if (object.displayValues != null) - if (typeof object.displayValues === "string") - $util.base64.decode(object.displayValues, message.displayValues = $util.newBuffer($util.base64.length(object.displayValues)), 0); - else if (object.displayValues.length >= 0) - message.displayValues = object.displayValues; - return message; - }; - - /** - * Creates a plain object from a Styler message. Also converts values to other types if specified. - * @function toObject - * @memberof Styler - * @static - * @param {Styler} message Styler - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Styler.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.uuid = ""; - object.caption = ""; - object.styles = ""; - if (options.bytes === String) - object.displayValues = ""; - else { - object.displayValues = []; - if (options.bytes !== Array) - object.displayValues = $util.newBuffer(object.displayValues); - } - } - if (message.uuid != null && message.hasOwnProperty("uuid")) - object.uuid = message.uuid; - if (message.caption != null && message.hasOwnProperty("caption")) - object.caption = message.caption; - if (message.styles != null && message.hasOwnProperty("styles")) - object.styles = message.styles; - if (message.displayValues != null && message.hasOwnProperty("displayValues")) - object.displayValues = options.bytes === String ? $util.base64.encode(message.displayValues, 0, message.displayValues.length) : options.bytes === Array ? Array.prototype.slice.call(message.displayValues) : message.displayValues; - return object; - }; - - /** - * Converts this Styler to JSON. - * @function toJSON - * @memberof Styler - * @instance - * @returns {Object.} JSON object - */ - Styler.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Styler - * @function getTypeUrl - * @memberof Styler - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Styler.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Styler"; - }; - - return Styler; -})(); - -export const ArrowNamedDataSet = $root.ArrowNamedDataSet = (() => { - - /** - * Properties of an ArrowNamedDataSet. - * @exports IArrowNamedDataSet - * @interface IArrowNamedDataSet - * @property {string|null} [name] ArrowNamedDataSet name - * @property {boolean|null} [hasName] ArrowNamedDataSet hasName - * @property {IArrow|null} [data] ArrowNamedDataSet data - */ - - /** - * Constructs a new ArrowNamedDataSet. - * @exports ArrowNamedDataSet - * @classdesc Represents an ArrowNamedDataSet. - * @implements IArrowNamedDataSet - * @constructor - * @param {IArrowNamedDataSet=} [properties] Properties to set - */ - function ArrowNamedDataSet(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ArrowNamedDataSet name. - * @member {string} name - * @memberof ArrowNamedDataSet - * @instance - */ - ArrowNamedDataSet.prototype.name = ""; - - /** - * ArrowNamedDataSet hasName. - * @member {boolean} hasName - * @memberof ArrowNamedDataSet - * @instance - */ - ArrowNamedDataSet.prototype.hasName = false; - - /** - * ArrowNamedDataSet data. - * @member {IArrow|null|undefined} data - * @memberof ArrowNamedDataSet - * @instance - */ - ArrowNamedDataSet.prototype.data = null; - - /** - * Creates a new ArrowNamedDataSet instance using the specified properties. - * @function create - * @memberof ArrowNamedDataSet - * @static - * @param {IArrowNamedDataSet=} [properties] Properties to set - * @returns {ArrowNamedDataSet} ArrowNamedDataSet instance - */ - ArrowNamedDataSet.create = function create(properties) { - return new ArrowNamedDataSet(properties); - }; - - /** - * Encodes the specified ArrowNamedDataSet message. Does not implicitly {@link ArrowNamedDataSet.verify|verify} messages. - * @function encode - * @memberof ArrowNamedDataSet - * @static - * @param {IArrowNamedDataSet} message ArrowNamedDataSet message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ArrowNamedDataSet.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); - if (message.data != null && Object.hasOwnProperty.call(message, "data")) - $root.Arrow.encode(message.data, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.hasName != null && Object.hasOwnProperty.call(message, "hasName")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.hasName); - return writer; - }; - - /** - * Encodes the specified ArrowNamedDataSet message, length delimited. Does not implicitly {@link ArrowNamedDataSet.verify|verify} messages. - * @function encodeDelimited - * @memberof ArrowNamedDataSet - * @static - * @param {IArrowNamedDataSet} message ArrowNamedDataSet message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ArrowNamedDataSet.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an ArrowNamedDataSet message from the specified reader or buffer. - * @function decode - * @memberof ArrowNamedDataSet - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ArrowNamedDataSet} ArrowNamedDataSet - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ArrowNamedDataSet.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.ArrowNamedDataSet(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.name = reader.string(); - break; - } - case 3: { - message.hasName = reader.bool(); - break; - } - case 2: { - message.data = $root.Arrow.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an ArrowNamedDataSet message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ArrowNamedDataSet - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ArrowNamedDataSet} ArrowNamedDataSet - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ArrowNamedDataSet.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an ArrowNamedDataSet message. - * @function verify - * @memberof ArrowNamedDataSet - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ArrowNamedDataSet.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.hasName != null && message.hasOwnProperty("hasName")) - if (typeof message.hasName !== "boolean") - return "hasName: boolean expected"; - if (message.data != null && message.hasOwnProperty("data")) { - let error = $root.Arrow.verify(message.data); - if (error) - return "data." + error; - } - return null; - }; - - /** - * Creates an ArrowNamedDataSet message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ArrowNamedDataSet - * @static - * @param {Object.} object Plain object - * @returns {ArrowNamedDataSet} ArrowNamedDataSet - */ - ArrowNamedDataSet.fromObject = function fromObject(object) { - if (object instanceof $root.ArrowNamedDataSet) - return object; - let message = new $root.ArrowNamedDataSet(); - if (object.name != null) - message.name = String(object.name); - if (object.hasName != null) - message.hasName = Boolean(object.hasName); - if (object.data != null) { - if (typeof object.data !== "object") - throw TypeError(".ArrowNamedDataSet.data: object expected"); - message.data = $root.Arrow.fromObject(object.data); - } - return message; - }; - - /** - * Creates a plain object from an ArrowNamedDataSet message. Also converts values to other types if specified. - * @function toObject - * @memberof ArrowNamedDataSet - * @static - * @param {ArrowNamedDataSet} message ArrowNamedDataSet - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ArrowNamedDataSet.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.name = ""; - object.data = null; - object.hasName = false; - } - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; - if (message.data != null && message.hasOwnProperty("data")) - object.data = $root.Arrow.toObject(message.data, options); - if (message.hasName != null && message.hasOwnProperty("hasName")) - object.hasName = message.hasName; - return object; - }; - - /** - * Converts this ArrowNamedDataSet to JSON. - * @function toJSON - * @memberof ArrowNamedDataSet - * @instance - * @returns {Object.} JSON object - */ - ArrowNamedDataSet.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ArrowNamedDataSet - * @function getTypeUrl - * @memberof ArrowNamedDataSet - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ArrowNamedDataSet.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ArrowNamedDataSet"; - }; - - return ArrowNamedDataSet; -})(); - -export const ArrowVegaLiteChart = $root.ArrowVegaLiteChart = (() => { - - /** - * Properties of an ArrowVegaLiteChart. - * @exports IArrowVegaLiteChart - * @interface IArrowVegaLiteChart - * @property {string|null} [spec] ArrowVegaLiteChart spec - * @property {IArrow|null} [data] ArrowVegaLiteChart data - * @property {Array.|null} [datasets] ArrowVegaLiteChart datasets - * @property {boolean|null} [useContainerWidth] ArrowVegaLiteChart useContainerWidth - * @property {string|null} [theme] ArrowVegaLiteChart theme - */ - - /** - * Constructs a new ArrowVegaLiteChart. - * @exports ArrowVegaLiteChart - * @classdesc Represents an ArrowVegaLiteChart. - * @implements IArrowVegaLiteChart - * @constructor - * @param {IArrowVegaLiteChart=} [properties] Properties to set - */ - function ArrowVegaLiteChart(properties) { - this.datasets = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ArrowVegaLiteChart spec. - * @member {string} spec - * @memberof ArrowVegaLiteChart - * @instance - */ - ArrowVegaLiteChart.prototype.spec = ""; - - /** - * ArrowVegaLiteChart data. - * @member {IArrow|null|undefined} data - * @memberof ArrowVegaLiteChart - * @instance - */ - ArrowVegaLiteChart.prototype.data = null; - - /** - * ArrowVegaLiteChart datasets. - * @member {Array.} datasets - * @memberof ArrowVegaLiteChart - * @instance - */ - ArrowVegaLiteChart.prototype.datasets = $util.emptyArray; - - /** - * ArrowVegaLiteChart useContainerWidth. - * @member {boolean} useContainerWidth - * @memberof ArrowVegaLiteChart - * @instance - */ - ArrowVegaLiteChart.prototype.useContainerWidth = false; - - /** - * ArrowVegaLiteChart theme. - * @member {string} theme - * @memberof ArrowVegaLiteChart - * @instance - */ - ArrowVegaLiteChart.prototype.theme = ""; - - /** - * Creates a new ArrowVegaLiteChart instance using the specified properties. - * @function create - * @memberof ArrowVegaLiteChart - * @static - * @param {IArrowVegaLiteChart=} [properties] Properties to set - * @returns {ArrowVegaLiteChart} ArrowVegaLiteChart instance - */ - ArrowVegaLiteChart.create = function create(properties) { - return new ArrowVegaLiteChart(properties); - }; - - /** - * Encodes the specified ArrowVegaLiteChart message. Does not implicitly {@link ArrowVegaLiteChart.verify|verify} messages. - * @function encode - * @memberof ArrowVegaLiteChart - * @static - * @param {IArrowVegaLiteChart} message ArrowVegaLiteChart message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ArrowVegaLiteChart.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.spec != null && Object.hasOwnProperty.call(message, "spec")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.spec); - if (message.data != null && Object.hasOwnProperty.call(message, "data")) - $root.Arrow.encode(message.data, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.datasets != null && message.datasets.length) - for (let i = 0; i < message.datasets.length; ++i) - $root.ArrowNamedDataSet.encode(message.datasets[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.useContainerWidth != null && Object.hasOwnProperty.call(message, "useContainerWidth")) - writer.uint32(/* id 5, wireType 0 =*/40).bool(message.useContainerWidth); - if (message.theme != null && Object.hasOwnProperty.call(message, "theme")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.theme); - return writer; - }; - - /** - * Encodes the specified ArrowVegaLiteChart message, length delimited. Does not implicitly {@link ArrowVegaLiteChart.verify|verify} messages. - * @function encodeDelimited - * @memberof ArrowVegaLiteChart - * @static - * @param {IArrowVegaLiteChart} message ArrowVegaLiteChart message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ArrowVegaLiteChart.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an ArrowVegaLiteChart message from the specified reader or buffer. - * @function decode - * @memberof ArrowVegaLiteChart - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ArrowVegaLiteChart} ArrowVegaLiteChart - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ArrowVegaLiteChart.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.ArrowVegaLiteChart(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.spec = reader.string(); - break; - } - case 2: { - message.data = $root.Arrow.decode(reader, reader.uint32()); - break; - } - case 4: { - if (!(message.datasets && message.datasets.length)) - message.datasets = []; - message.datasets.push($root.ArrowNamedDataSet.decode(reader, reader.uint32())); - break; - } - case 5: { - message.useContainerWidth = reader.bool(); - break; - } - case 6: { - message.theme = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an ArrowVegaLiteChart message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ArrowVegaLiteChart - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ArrowVegaLiteChart} ArrowVegaLiteChart - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ArrowVegaLiteChart.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an ArrowVegaLiteChart message. - * @function verify - * @memberof ArrowVegaLiteChart - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ArrowVegaLiteChart.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.spec != null && message.hasOwnProperty("spec")) - if (!$util.isString(message.spec)) - return "spec: string expected"; - if (message.data != null && message.hasOwnProperty("data")) { - let error = $root.Arrow.verify(message.data); - if (error) - return "data." + error; - } - if (message.datasets != null && message.hasOwnProperty("datasets")) { - if (!Array.isArray(message.datasets)) - return "datasets: array expected"; - for (let i = 0; i < message.datasets.length; ++i) { - let error = $root.ArrowNamedDataSet.verify(message.datasets[i]); - if (error) - return "datasets." + error; - } - } - if (message.useContainerWidth != null && message.hasOwnProperty("useContainerWidth")) - if (typeof message.useContainerWidth !== "boolean") - return "useContainerWidth: boolean expected"; - if (message.theme != null && message.hasOwnProperty("theme")) - if (!$util.isString(message.theme)) - return "theme: string expected"; - return null; - }; - - /** - * Creates an ArrowVegaLiteChart message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ArrowVegaLiteChart - * @static - * @param {Object.} object Plain object - * @returns {ArrowVegaLiteChart} ArrowVegaLiteChart - */ - ArrowVegaLiteChart.fromObject = function fromObject(object) { - if (object instanceof $root.ArrowVegaLiteChart) - return object; - let message = new $root.ArrowVegaLiteChart(); - if (object.spec != null) - message.spec = String(object.spec); - if (object.data != null) { - if (typeof object.data !== "object") - throw TypeError(".ArrowVegaLiteChart.data: object expected"); - message.data = $root.Arrow.fromObject(object.data); - } - if (object.datasets) { - if (!Array.isArray(object.datasets)) - throw TypeError(".ArrowVegaLiteChart.datasets: array expected"); - message.datasets = []; - for (let i = 0; i < object.datasets.length; ++i) { - if (typeof object.datasets[i] !== "object") - throw TypeError(".ArrowVegaLiteChart.datasets: object expected"); - message.datasets[i] = $root.ArrowNamedDataSet.fromObject(object.datasets[i]); - } - } - if (object.useContainerWidth != null) - message.useContainerWidth = Boolean(object.useContainerWidth); - if (object.theme != null) - message.theme = String(object.theme); - return message; - }; - - /** - * Creates a plain object from an ArrowVegaLiteChart message. Also converts values to other types if specified. - * @function toObject - * @memberof ArrowVegaLiteChart - * @static - * @param {ArrowVegaLiteChart} message ArrowVegaLiteChart - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ArrowVegaLiteChart.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.datasets = []; - if (options.defaults) { - object.spec = ""; - object.data = null; - object.useContainerWidth = false; - object.theme = ""; - } - if (message.spec != null && message.hasOwnProperty("spec")) - object.spec = message.spec; - if (message.data != null && message.hasOwnProperty("data")) - object.data = $root.Arrow.toObject(message.data, options); - if (message.datasets && message.datasets.length) { - object.datasets = []; - for (let j = 0; j < message.datasets.length; ++j) - object.datasets[j] = $root.ArrowNamedDataSet.toObject(message.datasets[j], options); - } - if (message.useContainerWidth != null && message.hasOwnProperty("useContainerWidth")) - object.useContainerWidth = message.useContainerWidth; - if (message.theme != null && message.hasOwnProperty("theme")) - object.theme = message.theme; - return object; - }; - - /** - * Converts this ArrowVegaLiteChart to JSON. - * @function toJSON - * @memberof ArrowVegaLiteChart - * @instance - * @returns {Object.} JSON object - */ - ArrowVegaLiteChart.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ArrowVegaLiteChart - * @function getTypeUrl - * @memberof ArrowVegaLiteChart - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ArrowVegaLiteChart.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ArrowVegaLiteChart"; - }; - - return ArrowVegaLiteChart; -})(); - -export const Audio = $root.Audio = (() => { - - /** - * Properties of an Audio. - * @exports IAudio - * @interface IAudio - * @property {string|null} [url] Audio url - * @property {number|null} [startTime] Audio startTime - */ - - /** - * Constructs a new Audio. - * @exports Audio - * @classdesc Represents an Audio. - * @implements IAudio - * @constructor - * @param {IAudio=} [properties] Properties to set - */ - function Audio(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Audio url. - * @member {string} url - * @memberof Audio - * @instance - */ - Audio.prototype.url = ""; - - /** - * Audio startTime. - * @member {number} startTime - * @memberof Audio - * @instance - */ - Audio.prototype.startTime = 0; - - /** - * Creates a new Audio instance using the specified properties. - * @function create - * @memberof Audio - * @static - * @param {IAudio=} [properties] Properties to set - * @returns {Audio} Audio instance - */ - Audio.create = function create(properties) { - return new Audio(properties); - }; - - /** - * Encodes the specified Audio message. Does not implicitly {@link Audio.verify|verify} messages. - * @function encode - * @memberof Audio - * @static - * @param {IAudio} message Audio message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Audio.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.startTime != null && Object.hasOwnProperty.call(message, "startTime")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.startTime); - if (message.url != null && Object.hasOwnProperty.call(message, "url")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.url); - return writer; - }; - - /** - * Encodes the specified Audio message, length delimited. Does not implicitly {@link Audio.verify|verify} messages. - * @function encodeDelimited - * @memberof Audio - * @static - * @param {IAudio} message Audio message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Audio.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an Audio message from the specified reader or buffer. - * @function decode - * @memberof Audio - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Audio} Audio - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Audio.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Audio(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 5: { - message.url = reader.string(); - break; - } - case 3: { - message.startTime = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an Audio message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Audio - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Audio} Audio - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Audio.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an Audio message. - * @function verify - * @memberof Audio - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Audio.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.url != null && message.hasOwnProperty("url")) - if (!$util.isString(message.url)) - return "url: string expected"; - if (message.startTime != null && message.hasOwnProperty("startTime")) - if (!$util.isInteger(message.startTime)) - return "startTime: integer expected"; - return null; - }; - - /** - * Creates an Audio message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Audio - * @static - * @param {Object.} object Plain object - * @returns {Audio} Audio - */ - Audio.fromObject = function fromObject(object) { - if (object instanceof $root.Audio) - return object; - let message = new $root.Audio(); - if (object.url != null) - message.url = String(object.url); - if (object.startTime != null) - message.startTime = object.startTime | 0; - return message; - }; - - /** - * Creates a plain object from an Audio message. Also converts values to other types if specified. - * @function toObject - * @memberof Audio - * @static - * @param {Audio} message Audio - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Audio.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.startTime = 0; - object.url = ""; - } - if (message.startTime != null && message.hasOwnProperty("startTime")) - object.startTime = message.startTime; - if (message.url != null && message.hasOwnProperty("url")) - object.url = message.url; - return object; - }; - - /** - * Converts this Audio to JSON. - * @function toJSON - * @memberof Audio - * @instance - * @returns {Object.} JSON object - */ - Audio.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Audio - * @function getTypeUrl - * @memberof Audio - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Audio.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Audio"; - }; - - return Audio; -})(); - -export const BackMsg = $root.BackMsg = (() => { - - /** - * Properties of a BackMsg. - * @exports IBackMsg - * @interface IBackMsg - * @property {boolean|null} [clearCache] BackMsg clearCache - * @property {boolean|null} [setRunOnSave] BackMsg setRunOnSave - * @property {boolean|null} [stopScript] BackMsg stopScript - * @property {IClientState|null} [rerunScript] BackMsg rerunScript - * @property {boolean|null} [loadGitInfo] BackMsg loadGitInfo - * @property {boolean|null} [debugDisconnectWebsocket] BackMsg debugDisconnectWebsocket - * @property {boolean|null} [debugShutdownRuntime] BackMsg debugShutdownRuntime - * @property {string|null} [debugLastBackmsgId] BackMsg debugLastBackmsgId - */ - - /** - * Constructs a new BackMsg. - * @exports BackMsg - * @classdesc Represents a BackMsg. - * @implements IBackMsg - * @constructor - * @param {IBackMsg=} [properties] Properties to set - */ - function BackMsg(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * BackMsg clearCache. - * @member {boolean|null|undefined} clearCache - * @memberof BackMsg - * @instance - */ - BackMsg.prototype.clearCache = null; - - /** - * BackMsg setRunOnSave. - * @member {boolean|null|undefined} setRunOnSave - * @memberof BackMsg - * @instance - */ - BackMsg.prototype.setRunOnSave = null; - - /** - * BackMsg stopScript. - * @member {boolean|null|undefined} stopScript - * @memberof BackMsg - * @instance - */ - BackMsg.prototype.stopScript = null; - - /** - * BackMsg rerunScript. - * @member {IClientState|null|undefined} rerunScript - * @memberof BackMsg - * @instance - */ - BackMsg.prototype.rerunScript = null; - - /** - * BackMsg loadGitInfo. - * @member {boolean|null|undefined} loadGitInfo - * @memberof BackMsg - * @instance - */ - BackMsg.prototype.loadGitInfo = null; - - /** - * BackMsg debugDisconnectWebsocket. - * @member {boolean|null|undefined} debugDisconnectWebsocket - * @memberof BackMsg - * @instance - */ - BackMsg.prototype.debugDisconnectWebsocket = null; - - /** - * BackMsg debugShutdownRuntime. - * @member {boolean|null|undefined} debugShutdownRuntime - * @memberof BackMsg - * @instance - */ - BackMsg.prototype.debugShutdownRuntime = null; - - /** - * BackMsg debugLastBackmsgId. - * @member {string} debugLastBackmsgId - * @memberof BackMsg - * @instance - */ - BackMsg.prototype.debugLastBackmsgId = ""; - - // OneOf field names bound to virtual getters and setters - let $oneOfFields; - - /** - * BackMsg type. - * @member {"clearCache"|"setRunOnSave"|"stopScript"|"rerunScript"|"loadGitInfo"|"debugDisconnectWebsocket"|"debugShutdownRuntime"|undefined} type - * @memberof BackMsg - * @instance - */ - Object.defineProperty(BackMsg.prototype, "type", { - get: $util.oneOfGetter($oneOfFields = ["clearCache", "setRunOnSave", "stopScript", "rerunScript", "loadGitInfo", "debugDisconnectWebsocket", "debugShutdownRuntime"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new BackMsg instance using the specified properties. - * @function create - * @memberof BackMsg - * @static - * @param {IBackMsg=} [properties] Properties to set - * @returns {BackMsg} BackMsg instance - */ - BackMsg.create = function create(properties) { - return new BackMsg(properties); - }; - - /** - * Encodes the specified BackMsg message. Does not implicitly {@link BackMsg.verify|verify} messages. - * @function encode - * @memberof BackMsg - * @static - * @param {IBackMsg} message BackMsg message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - BackMsg.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.clearCache != null && Object.hasOwnProperty.call(message, "clearCache")) - writer.uint32(/* id 5, wireType 0 =*/40).bool(message.clearCache); - if (message.setRunOnSave != null && Object.hasOwnProperty.call(message, "setRunOnSave")) - writer.uint32(/* id 6, wireType 0 =*/48).bool(message.setRunOnSave); - if (message.stopScript != null && Object.hasOwnProperty.call(message, "stopScript")) - writer.uint32(/* id 7, wireType 0 =*/56).bool(message.stopScript); - if (message.rerunScript != null && Object.hasOwnProperty.call(message, "rerunScript")) - $root.ClientState.encode(message.rerunScript, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); - if (message.loadGitInfo != null && Object.hasOwnProperty.call(message, "loadGitInfo")) - writer.uint32(/* id 12, wireType 0 =*/96).bool(message.loadGitInfo); - if (message.debugLastBackmsgId != null && Object.hasOwnProperty.call(message, "debugLastBackmsgId")) - writer.uint32(/* id 13, wireType 2 =*/106).string(message.debugLastBackmsgId); - if (message.debugDisconnectWebsocket != null && Object.hasOwnProperty.call(message, "debugDisconnectWebsocket")) - writer.uint32(/* id 14, wireType 0 =*/112).bool(message.debugDisconnectWebsocket); - if (message.debugShutdownRuntime != null && Object.hasOwnProperty.call(message, "debugShutdownRuntime")) - writer.uint32(/* id 15, wireType 0 =*/120).bool(message.debugShutdownRuntime); - return writer; - }; - - /** - * Encodes the specified BackMsg message, length delimited. Does not implicitly {@link BackMsg.verify|verify} messages. - * @function encodeDelimited - * @memberof BackMsg - * @static - * @param {IBackMsg} message BackMsg message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - BackMsg.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a BackMsg message from the specified reader or buffer. - * @function decode - * @memberof BackMsg - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {BackMsg} BackMsg - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - BackMsg.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.BackMsg(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 5: { - message.clearCache = reader.bool(); - break; - } - case 6: { - message.setRunOnSave = reader.bool(); - break; - } - case 7: { - message.stopScript = reader.bool(); - break; - } - case 11: { - message.rerunScript = $root.ClientState.decode(reader, reader.uint32()); - break; - } - case 12: { - message.loadGitInfo = reader.bool(); - break; - } - case 14: { - message.debugDisconnectWebsocket = reader.bool(); - break; - } - case 15: { - message.debugShutdownRuntime = reader.bool(); - break; - } - case 13: { - message.debugLastBackmsgId = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a BackMsg message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof BackMsg - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {BackMsg} BackMsg - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - BackMsg.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a BackMsg message. - * @function verify - * @memberof BackMsg - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - BackMsg.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - let properties = {}; - if (message.clearCache != null && message.hasOwnProperty("clearCache")) { - properties.type = 1; - if (typeof message.clearCache !== "boolean") - return "clearCache: boolean expected"; - } - if (message.setRunOnSave != null && message.hasOwnProperty("setRunOnSave")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - if (typeof message.setRunOnSave !== "boolean") - return "setRunOnSave: boolean expected"; - } - if (message.stopScript != null && message.hasOwnProperty("stopScript")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - if (typeof message.stopScript !== "boolean") - return "stopScript: boolean expected"; - } - if (message.rerunScript != null && message.hasOwnProperty("rerunScript")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.ClientState.verify(message.rerunScript); - if (error) - return "rerunScript." + error; - } - } - if (message.loadGitInfo != null && message.hasOwnProperty("loadGitInfo")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - if (typeof message.loadGitInfo !== "boolean") - return "loadGitInfo: boolean expected"; - } - if (message.debugDisconnectWebsocket != null && message.hasOwnProperty("debugDisconnectWebsocket")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - if (typeof message.debugDisconnectWebsocket !== "boolean") - return "debugDisconnectWebsocket: boolean expected"; - } - if (message.debugShutdownRuntime != null && message.hasOwnProperty("debugShutdownRuntime")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - if (typeof message.debugShutdownRuntime !== "boolean") - return "debugShutdownRuntime: boolean expected"; - } - if (message.debugLastBackmsgId != null && message.hasOwnProperty("debugLastBackmsgId")) - if (!$util.isString(message.debugLastBackmsgId)) - return "debugLastBackmsgId: string expected"; - return null; - }; - - /** - * Creates a BackMsg message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof BackMsg - * @static - * @param {Object.} object Plain object - * @returns {BackMsg} BackMsg - */ - BackMsg.fromObject = function fromObject(object) { - if (object instanceof $root.BackMsg) - return object; - let message = new $root.BackMsg(); - if (object.clearCache != null) - message.clearCache = Boolean(object.clearCache); - if (object.setRunOnSave != null) - message.setRunOnSave = Boolean(object.setRunOnSave); - if (object.stopScript != null) - message.stopScript = Boolean(object.stopScript); - if (object.rerunScript != null) { - if (typeof object.rerunScript !== "object") - throw TypeError(".BackMsg.rerunScript: object expected"); - message.rerunScript = $root.ClientState.fromObject(object.rerunScript); - } - if (object.loadGitInfo != null) - message.loadGitInfo = Boolean(object.loadGitInfo); - if (object.debugDisconnectWebsocket != null) - message.debugDisconnectWebsocket = Boolean(object.debugDisconnectWebsocket); - if (object.debugShutdownRuntime != null) - message.debugShutdownRuntime = Boolean(object.debugShutdownRuntime); - if (object.debugLastBackmsgId != null) - message.debugLastBackmsgId = String(object.debugLastBackmsgId); - return message; - }; - - /** - * Creates a plain object from a BackMsg message. Also converts values to other types if specified. - * @function toObject - * @memberof BackMsg - * @static - * @param {BackMsg} message BackMsg - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - BackMsg.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) - object.debugLastBackmsgId = ""; - if (message.clearCache != null && message.hasOwnProperty("clearCache")) { - object.clearCache = message.clearCache; - if (options.oneofs) - object.type = "clearCache"; - } - if (message.setRunOnSave != null && message.hasOwnProperty("setRunOnSave")) { - object.setRunOnSave = message.setRunOnSave; - if (options.oneofs) - object.type = "setRunOnSave"; - } - if (message.stopScript != null && message.hasOwnProperty("stopScript")) { - object.stopScript = message.stopScript; - if (options.oneofs) - object.type = "stopScript"; - } - if (message.rerunScript != null && message.hasOwnProperty("rerunScript")) { - object.rerunScript = $root.ClientState.toObject(message.rerunScript, options); - if (options.oneofs) - object.type = "rerunScript"; - } - if (message.loadGitInfo != null && message.hasOwnProperty("loadGitInfo")) { - object.loadGitInfo = message.loadGitInfo; - if (options.oneofs) - object.type = "loadGitInfo"; - } - if (message.debugLastBackmsgId != null && message.hasOwnProperty("debugLastBackmsgId")) - object.debugLastBackmsgId = message.debugLastBackmsgId; - if (message.debugDisconnectWebsocket != null && message.hasOwnProperty("debugDisconnectWebsocket")) { - object.debugDisconnectWebsocket = message.debugDisconnectWebsocket; - if (options.oneofs) - object.type = "debugDisconnectWebsocket"; - } - if (message.debugShutdownRuntime != null && message.hasOwnProperty("debugShutdownRuntime")) { - object.debugShutdownRuntime = message.debugShutdownRuntime; - if (options.oneofs) - object.type = "debugShutdownRuntime"; - } - return object; - }; - - /** - * Converts this BackMsg to JSON. - * @function toJSON - * @memberof BackMsg - * @instance - * @returns {Object.} JSON object - */ - BackMsg.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for BackMsg - * @function getTypeUrl - * @memberof BackMsg - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - BackMsg.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/BackMsg"; - }; - - return BackMsg; -})(); - -export const Balloons = $root.Balloons = (() => { - - /** - * Properties of a Balloons. - * @exports IBalloons - * @interface IBalloons - * @property {boolean|null} [show] Balloons show - */ - - /** - * Constructs a new Balloons. - * @exports Balloons - * @classdesc Represents a Balloons. - * @implements IBalloons - * @constructor - * @param {IBalloons=} [properties] Properties to set - */ - function Balloons(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Balloons show. - * @member {boolean} show - * @memberof Balloons - * @instance - */ - Balloons.prototype.show = false; - - /** - * Creates a new Balloons instance using the specified properties. - * @function create - * @memberof Balloons - * @static - * @param {IBalloons=} [properties] Properties to set - * @returns {Balloons} Balloons instance - */ - Balloons.create = function create(properties) { - return new Balloons(properties); - }; - - /** - * Encodes the specified Balloons message. Does not implicitly {@link Balloons.verify|verify} messages. - * @function encode - * @memberof Balloons - * @static - * @param {IBalloons} message Balloons message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Balloons.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.show != null && Object.hasOwnProperty.call(message, "show")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.show); - return writer; - }; - - /** - * Encodes the specified Balloons message, length delimited. Does not implicitly {@link Balloons.verify|verify} messages. - * @function encodeDelimited - * @memberof Balloons - * @static - * @param {IBalloons} message Balloons message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Balloons.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Balloons message from the specified reader or buffer. - * @function decode - * @memberof Balloons - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Balloons} Balloons - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Balloons.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Balloons(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 3: { - message.show = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Balloons message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Balloons - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Balloons} Balloons - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Balloons.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Balloons message. - * @function verify - * @memberof Balloons - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Balloons.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.show != null && message.hasOwnProperty("show")) - if (typeof message.show !== "boolean") - return "show: boolean expected"; - return null; - }; - - /** - * Creates a Balloons message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Balloons - * @static - * @param {Object.} object Plain object - * @returns {Balloons} Balloons - */ - Balloons.fromObject = function fromObject(object) { - if (object instanceof $root.Balloons) - return object; - let message = new $root.Balloons(); - if (object.show != null) - message.show = Boolean(object.show); - return message; - }; - - /** - * Creates a plain object from a Balloons message. Also converts values to other types if specified. - * @function toObject - * @memberof Balloons - * @static - * @param {Balloons} message Balloons - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Balloons.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) - object.show = false; - if (message.show != null && message.hasOwnProperty("show")) - object.show = message.show; - return object; - }; - - /** - * Converts this Balloons to JSON. - * @function toJSON - * @memberof Balloons - * @instance - * @returns {Object.} JSON object - */ - Balloons.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Balloons - * @function getTypeUrl - * @memberof Balloons - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Balloons.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Balloons"; - }; - - return Balloons; -})(); - -export const Block = $root.Block = (() => { - - /** - * Properties of a Block. - * @exports IBlock - * @interface IBlock - * @property {Block.IVertical|null} [vertical] Block vertical - * @property {Block.IHorizontal|null} [horizontal] Block horizontal - * @property {Block.IColumn|null} [column] Block column - * @property {Block.IExpandable|null} [expandable] Block expandable - * @property {Block.IForm|null} [form] Block form - * @property {Block.ITabContainer|null} [tabContainer] Block tabContainer - * @property {Block.ITab|null} [tab] Block tab - * @property {boolean|null} [allowEmpty] Block allowEmpty - */ - - /** - * Constructs a new Block. - * @exports Block - * @classdesc Represents a Block. - * @implements IBlock - * @constructor - * @param {IBlock=} [properties] Properties to set - */ - function Block(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Block vertical. - * @member {Block.IVertical|null|undefined} vertical - * @memberof Block - * @instance - */ - Block.prototype.vertical = null; - - /** - * Block horizontal. - * @member {Block.IHorizontal|null|undefined} horizontal - * @memberof Block - * @instance - */ - Block.prototype.horizontal = null; - - /** - * Block column. - * @member {Block.IColumn|null|undefined} column - * @memberof Block - * @instance - */ - Block.prototype.column = null; - - /** - * Block expandable. - * @member {Block.IExpandable|null|undefined} expandable - * @memberof Block - * @instance - */ - Block.prototype.expandable = null; - - /** - * Block form. - * @member {Block.IForm|null|undefined} form - * @memberof Block - * @instance - */ - Block.prototype.form = null; - - /** - * Block tabContainer. - * @member {Block.ITabContainer|null|undefined} tabContainer - * @memberof Block - * @instance - */ - Block.prototype.tabContainer = null; - - /** - * Block tab. - * @member {Block.ITab|null|undefined} tab - * @memberof Block - * @instance - */ - Block.prototype.tab = null; - - /** - * Block allowEmpty. - * @member {boolean} allowEmpty - * @memberof Block - * @instance - */ - Block.prototype.allowEmpty = false; - - // OneOf field names bound to virtual getters and setters - let $oneOfFields; - - /** - * Block type. - * @member {"vertical"|"horizontal"|"column"|"expandable"|"form"|"tabContainer"|"tab"|undefined} type - * @memberof Block - * @instance - */ - Object.defineProperty(Block.prototype, "type", { - get: $util.oneOfGetter($oneOfFields = ["vertical", "horizontal", "column", "expandable", "form", "tabContainer", "tab"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new Block instance using the specified properties. - * @function create - * @memberof Block - * @static - * @param {IBlock=} [properties] Properties to set - * @returns {Block} Block instance - */ - Block.create = function create(properties) { - return new Block(properties); - }; - - /** - * Encodes the specified Block message. Does not implicitly {@link Block.verify|verify} messages. - * @function encode - * @memberof Block - * @static - * @param {IBlock} message Block message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Block.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.vertical != null && Object.hasOwnProperty.call(message, "vertical")) - $root.Block.Vertical.encode(message.vertical, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.horizontal != null && Object.hasOwnProperty.call(message, "horizontal")) - $root.Block.Horizontal.encode(message.horizontal, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.column != null && Object.hasOwnProperty.call(message, "column")) - $root.Block.Column.encode(message.column, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.expandable != null && Object.hasOwnProperty.call(message, "expandable")) - $root.Block.Expandable.encode(message.expandable, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.form != null && Object.hasOwnProperty.call(message, "form")) - $root.Block.Form.encode(message.form, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.tabContainer != null && Object.hasOwnProperty.call(message, "tabContainer")) - $root.Block.TabContainer.encode(message.tabContainer, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.tab != null && Object.hasOwnProperty.call(message, "tab")) - $root.Block.Tab.encode(message.tab, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.allowEmpty != null && Object.hasOwnProperty.call(message, "allowEmpty")) - writer.uint32(/* id 8, wireType 0 =*/64).bool(message.allowEmpty); - return writer; - }; - - /** - * Encodes the specified Block message, length delimited. Does not implicitly {@link Block.verify|verify} messages. - * @function encodeDelimited - * @memberof Block - * @static - * @param {IBlock} message Block message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Block.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Block message from the specified reader or buffer. - * @function decode - * @memberof Block - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Block} Block - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Block.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Block(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.vertical = $root.Block.Vertical.decode(reader, reader.uint32()); - break; - } - case 2: { - message.horizontal = $root.Block.Horizontal.decode(reader, reader.uint32()); - break; - } - case 3: { - message.column = $root.Block.Column.decode(reader, reader.uint32()); - break; - } - case 4: { - message.expandable = $root.Block.Expandable.decode(reader, reader.uint32()); - break; - } - case 5: { - message.form = $root.Block.Form.decode(reader, reader.uint32()); - break; - } - case 6: { - message.tabContainer = $root.Block.TabContainer.decode(reader, reader.uint32()); - break; - } - case 7: { - message.tab = $root.Block.Tab.decode(reader, reader.uint32()); - break; - } - case 8: { - message.allowEmpty = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Block message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Block - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Block} Block - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Block.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Block message. - * @function verify - * @memberof Block - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Block.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - let properties = {}; - if (message.vertical != null && message.hasOwnProperty("vertical")) { - properties.type = 1; - { - let error = $root.Block.Vertical.verify(message.vertical); - if (error) - return "vertical." + error; - } - } - if (message.horizontal != null && message.hasOwnProperty("horizontal")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Block.Horizontal.verify(message.horizontal); - if (error) - return "horizontal." + error; - } - } - if (message.column != null && message.hasOwnProperty("column")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Block.Column.verify(message.column); - if (error) - return "column." + error; - } - } - if (message.expandable != null && message.hasOwnProperty("expandable")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Block.Expandable.verify(message.expandable); - if (error) - return "expandable." + error; - } - } - if (message.form != null && message.hasOwnProperty("form")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Block.Form.verify(message.form); - if (error) - return "form." + error; - } - } - if (message.tabContainer != null && message.hasOwnProperty("tabContainer")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Block.TabContainer.verify(message.tabContainer); - if (error) - return "tabContainer." + error; - } - } - if (message.tab != null && message.hasOwnProperty("tab")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Block.Tab.verify(message.tab); - if (error) - return "tab." + error; - } - } - if (message.allowEmpty != null && message.hasOwnProperty("allowEmpty")) - if (typeof message.allowEmpty !== "boolean") - return "allowEmpty: boolean expected"; - return null; - }; - - /** - * Creates a Block message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Block - * @static - * @param {Object.} object Plain object - * @returns {Block} Block - */ - Block.fromObject = function fromObject(object) { - if (object instanceof $root.Block) - return object; - let message = new $root.Block(); - if (object.vertical != null) { - if (typeof object.vertical !== "object") - throw TypeError(".Block.vertical: object expected"); - message.vertical = $root.Block.Vertical.fromObject(object.vertical); - } - if (object.horizontal != null) { - if (typeof object.horizontal !== "object") - throw TypeError(".Block.horizontal: object expected"); - message.horizontal = $root.Block.Horizontal.fromObject(object.horizontal); - } - if (object.column != null) { - if (typeof object.column !== "object") - throw TypeError(".Block.column: object expected"); - message.column = $root.Block.Column.fromObject(object.column); - } - if (object.expandable != null) { - if (typeof object.expandable !== "object") - throw TypeError(".Block.expandable: object expected"); - message.expandable = $root.Block.Expandable.fromObject(object.expandable); - } - if (object.form != null) { - if (typeof object.form !== "object") - throw TypeError(".Block.form: object expected"); - message.form = $root.Block.Form.fromObject(object.form); - } - if (object.tabContainer != null) { - if (typeof object.tabContainer !== "object") - throw TypeError(".Block.tabContainer: object expected"); - message.tabContainer = $root.Block.TabContainer.fromObject(object.tabContainer); - } - if (object.tab != null) { - if (typeof object.tab !== "object") - throw TypeError(".Block.tab: object expected"); - message.tab = $root.Block.Tab.fromObject(object.tab); - } - if (object.allowEmpty != null) - message.allowEmpty = Boolean(object.allowEmpty); - return message; - }; - - /** - * Creates a plain object from a Block message. Also converts values to other types if specified. - * @function toObject - * @memberof Block - * @static - * @param {Block} message Block - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Block.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) - object.allowEmpty = false; - if (message.vertical != null && message.hasOwnProperty("vertical")) { - object.vertical = $root.Block.Vertical.toObject(message.vertical, options); - if (options.oneofs) - object.type = "vertical"; - } - if (message.horizontal != null && message.hasOwnProperty("horizontal")) { - object.horizontal = $root.Block.Horizontal.toObject(message.horizontal, options); - if (options.oneofs) - object.type = "horizontal"; - } - if (message.column != null && message.hasOwnProperty("column")) { - object.column = $root.Block.Column.toObject(message.column, options); - if (options.oneofs) - object.type = "column"; - } - if (message.expandable != null && message.hasOwnProperty("expandable")) { - object.expandable = $root.Block.Expandable.toObject(message.expandable, options); - if (options.oneofs) - object.type = "expandable"; - } - if (message.form != null && message.hasOwnProperty("form")) { - object.form = $root.Block.Form.toObject(message.form, options); - if (options.oneofs) - object.type = "form"; - } - if (message.tabContainer != null && message.hasOwnProperty("tabContainer")) { - object.tabContainer = $root.Block.TabContainer.toObject(message.tabContainer, options); - if (options.oneofs) - object.type = "tabContainer"; - } - if (message.tab != null && message.hasOwnProperty("tab")) { - object.tab = $root.Block.Tab.toObject(message.tab, options); - if (options.oneofs) - object.type = "tab"; - } - if (message.allowEmpty != null && message.hasOwnProperty("allowEmpty")) - object.allowEmpty = message.allowEmpty; - return object; - }; - - /** - * Converts this Block to JSON. - * @function toJSON - * @memberof Block - * @instance - * @returns {Object.} JSON object - */ - Block.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Block - * @function getTypeUrl - * @memberof Block - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Block.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Block"; - }; - - Block.Vertical = (function() { - - /** - * Properties of a Vertical. - * @memberof Block - * @interface IVertical - */ - - /** - * Constructs a new Vertical. - * @memberof Block - * @classdesc Represents a Vertical. - * @implements IVertical - * @constructor - * @param {Block.IVertical=} [properties] Properties to set - */ - function Vertical(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Creates a new Vertical instance using the specified properties. - * @function create - * @memberof Block.Vertical - * @static - * @param {Block.IVertical=} [properties] Properties to set - * @returns {Block.Vertical} Vertical instance - */ - Vertical.create = function create(properties) { - return new Vertical(properties); - }; - - /** - * Encodes the specified Vertical message. Does not implicitly {@link Block.Vertical.verify|verify} messages. - * @function encode - * @memberof Block.Vertical - * @static - * @param {Block.IVertical} message Vertical message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Vertical.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - return writer; - }; - - /** - * Encodes the specified Vertical message, length delimited. Does not implicitly {@link Block.Vertical.verify|verify} messages. - * @function encodeDelimited - * @memberof Block.Vertical - * @static - * @param {Block.IVertical} message Vertical message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Vertical.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Vertical message from the specified reader or buffer. - * @function decode - * @memberof Block.Vertical - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Block.Vertical} Vertical - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Vertical.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Block.Vertical(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Vertical message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Block.Vertical - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Block.Vertical} Vertical - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Vertical.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Vertical message. - * @function verify - * @memberof Block.Vertical - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Vertical.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - return null; - }; - - /** - * Creates a Vertical message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Block.Vertical - * @static - * @param {Object.} object Plain object - * @returns {Block.Vertical} Vertical - */ - Vertical.fromObject = function fromObject(object) { - if (object instanceof $root.Block.Vertical) - return object; - return new $root.Block.Vertical(); - }; - - /** - * Creates a plain object from a Vertical message. Also converts values to other types if specified. - * @function toObject - * @memberof Block.Vertical - * @static - * @param {Block.Vertical} message Vertical - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Vertical.toObject = function toObject() { - return {}; - }; - - /** - * Converts this Vertical to JSON. - * @function toJSON - * @memberof Block.Vertical - * @instance - * @returns {Object.} JSON object - */ - Vertical.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Vertical - * @function getTypeUrl - * @memberof Block.Vertical - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Vertical.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Block.Vertical"; - }; - - return Vertical; - })(); - - Block.Horizontal = (function() { - - /** - * Properties of a Horizontal. - * @memberof Block - * @interface IHorizontal - * @property {string|null} [gap] Horizontal gap - */ - - /** - * Constructs a new Horizontal. - * @memberof Block - * @classdesc Represents a Horizontal. - * @implements IHorizontal - * @constructor - * @param {Block.IHorizontal=} [properties] Properties to set - */ - function Horizontal(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Horizontal gap. - * @member {string} gap - * @memberof Block.Horizontal - * @instance - */ - Horizontal.prototype.gap = ""; - - /** - * Creates a new Horizontal instance using the specified properties. - * @function create - * @memberof Block.Horizontal - * @static - * @param {Block.IHorizontal=} [properties] Properties to set - * @returns {Block.Horizontal} Horizontal instance - */ - Horizontal.create = function create(properties) { - return new Horizontal(properties); - }; - - /** - * Encodes the specified Horizontal message. Does not implicitly {@link Block.Horizontal.verify|verify} messages. - * @function encode - * @memberof Block.Horizontal - * @static - * @param {Block.IHorizontal} message Horizontal message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Horizontal.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.gap != null && Object.hasOwnProperty.call(message, "gap")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.gap); - return writer; - }; - - /** - * Encodes the specified Horizontal message, length delimited. Does not implicitly {@link Block.Horizontal.verify|verify} messages. - * @function encodeDelimited - * @memberof Block.Horizontal - * @static - * @param {Block.IHorizontal} message Horizontal message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Horizontal.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Horizontal message from the specified reader or buffer. - * @function decode - * @memberof Block.Horizontal - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Block.Horizontal} Horizontal - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Horizontal.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Block.Horizontal(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.gap = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Horizontal message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Block.Horizontal - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Block.Horizontal} Horizontal - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Horizontal.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Horizontal message. - * @function verify - * @memberof Block.Horizontal - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Horizontal.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.gap != null && message.hasOwnProperty("gap")) - if (!$util.isString(message.gap)) - return "gap: string expected"; - return null; - }; - - /** - * Creates a Horizontal message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Block.Horizontal - * @static - * @param {Object.} object Plain object - * @returns {Block.Horizontal} Horizontal - */ - Horizontal.fromObject = function fromObject(object) { - if (object instanceof $root.Block.Horizontal) - return object; - let message = new $root.Block.Horizontal(); - if (object.gap != null) - message.gap = String(object.gap); - return message; - }; - - /** - * Creates a plain object from a Horizontal message. Also converts values to other types if specified. - * @function toObject - * @memberof Block.Horizontal - * @static - * @param {Block.Horizontal} message Horizontal - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Horizontal.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) - object.gap = ""; - if (message.gap != null && message.hasOwnProperty("gap")) - object.gap = message.gap; - return object; - }; - - /** - * Converts this Horizontal to JSON. - * @function toJSON - * @memberof Block.Horizontal - * @instance - * @returns {Object.} JSON object - */ - Horizontal.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Horizontal - * @function getTypeUrl - * @memberof Block.Horizontal - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Horizontal.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Block.Horizontal"; - }; - - return Horizontal; - })(); - - Block.Column = (function() { - - /** - * Properties of a Column. - * @memberof Block - * @interface IColumn - * @property {number|null} [weight] Column weight - * @property {string|null} [gap] Column gap - */ - - /** - * Constructs a new Column. - * @memberof Block - * @classdesc Represents a Column. - * @implements IColumn - * @constructor - * @param {Block.IColumn=} [properties] Properties to set - */ - function Column(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Column weight. - * @member {number} weight - * @memberof Block.Column - * @instance - */ - Column.prototype.weight = 0; - - /** - * Column gap. - * @member {string} gap - * @memberof Block.Column - * @instance - */ - Column.prototype.gap = ""; - - /** - * Creates a new Column instance using the specified properties. - * @function create - * @memberof Block.Column - * @static - * @param {Block.IColumn=} [properties] Properties to set - * @returns {Block.Column} Column instance - */ - Column.create = function create(properties) { - return new Column(properties); - }; - - /** - * Encodes the specified Column message. Does not implicitly {@link Block.Column.verify|verify} messages. - * @function encode - * @memberof Block.Column - * @static - * @param {Block.IColumn} message Column message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Column.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.weight != null && Object.hasOwnProperty.call(message, "weight")) - writer.uint32(/* id 1, wireType 1 =*/9).double(message.weight); - if (message.gap != null && Object.hasOwnProperty.call(message, "gap")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.gap); - return writer; - }; - - /** - * Encodes the specified Column message, length delimited. Does not implicitly {@link Block.Column.verify|verify} messages. - * @function encodeDelimited - * @memberof Block.Column - * @static - * @param {Block.IColumn} message Column message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Column.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Column message from the specified reader or buffer. - * @function decode - * @memberof Block.Column - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Block.Column} Column - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Column.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Block.Column(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.weight = reader.double(); - break; - } - case 2: { - message.gap = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Column message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Block.Column - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Block.Column} Column - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Column.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Column message. - * @function verify - * @memberof Block.Column - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Column.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.weight != null && message.hasOwnProperty("weight")) - if (typeof message.weight !== "number") - return "weight: number expected"; - if (message.gap != null && message.hasOwnProperty("gap")) - if (!$util.isString(message.gap)) - return "gap: string expected"; - return null; - }; - - /** - * Creates a Column message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Block.Column - * @static - * @param {Object.} object Plain object - * @returns {Block.Column} Column - */ - Column.fromObject = function fromObject(object) { - if (object instanceof $root.Block.Column) - return object; - let message = new $root.Block.Column(); - if (object.weight != null) - message.weight = Number(object.weight); - if (object.gap != null) - message.gap = String(object.gap); - return message; - }; - - /** - * Creates a plain object from a Column message. Also converts values to other types if specified. - * @function toObject - * @memberof Block.Column - * @static - * @param {Block.Column} message Column - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Column.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.weight = 0; - object.gap = ""; - } - if (message.weight != null && message.hasOwnProperty("weight")) - object.weight = options.json && !isFinite(message.weight) ? String(message.weight) : message.weight; - if (message.gap != null && message.hasOwnProperty("gap")) - object.gap = message.gap; - return object; - }; - - /** - * Converts this Column to JSON. - * @function toJSON - * @memberof Block.Column - * @instance - * @returns {Object.} JSON object - */ - Column.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Column - * @function getTypeUrl - * @memberof Block.Column - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Column.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Block.Column"; - }; - - return Column; - })(); - - Block.Expandable = (function() { - - /** - * Properties of an Expandable. - * @memberof Block - * @interface IExpandable - * @property {string|null} [label] Expandable label - * @property {boolean|null} [expanded] Expandable expanded - */ - - /** - * Constructs a new Expandable. - * @memberof Block - * @classdesc Represents an Expandable. - * @implements IExpandable - * @constructor - * @param {Block.IExpandable=} [properties] Properties to set - */ - function Expandable(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Expandable label. - * @member {string} label - * @memberof Block.Expandable - * @instance - */ - Expandable.prototype.label = ""; - - /** - * Expandable expanded. - * @member {boolean} expanded - * @memberof Block.Expandable - * @instance - */ - Expandable.prototype.expanded = false; - - /** - * Creates a new Expandable instance using the specified properties. - * @function create - * @memberof Block.Expandable - * @static - * @param {Block.IExpandable=} [properties] Properties to set - * @returns {Block.Expandable} Expandable instance - */ - Expandable.create = function create(properties) { - return new Expandable(properties); - }; - - /** - * Encodes the specified Expandable message. Does not implicitly {@link Block.Expandable.verify|verify} messages. - * @function encode - * @memberof Block.Expandable - * @static - * @param {Block.IExpandable} message Expandable message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Expandable.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.label != null && Object.hasOwnProperty.call(message, "label")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.label); - if (message.expanded != null && Object.hasOwnProperty.call(message, "expanded")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.expanded); - return writer; - }; - - /** - * Encodes the specified Expandable message, length delimited. Does not implicitly {@link Block.Expandable.verify|verify} messages. - * @function encodeDelimited - * @memberof Block.Expandable - * @static - * @param {Block.IExpandable} message Expandable message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Expandable.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an Expandable message from the specified reader or buffer. - * @function decode - * @memberof Block.Expandable - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Block.Expandable} Expandable - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Expandable.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Block.Expandable(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.label = reader.string(); - break; - } - case 2: { - message.expanded = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an Expandable message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Block.Expandable - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Block.Expandable} Expandable - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Expandable.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an Expandable message. - * @function verify - * @memberof Block.Expandable - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Expandable.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.label != null && message.hasOwnProperty("label")) - if (!$util.isString(message.label)) - return "label: string expected"; - if (message.expanded != null && message.hasOwnProperty("expanded")) - if (typeof message.expanded !== "boolean") - return "expanded: boolean expected"; - return null; - }; - - /** - * Creates an Expandable message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Block.Expandable - * @static - * @param {Object.} object Plain object - * @returns {Block.Expandable} Expandable - */ - Expandable.fromObject = function fromObject(object) { - if (object instanceof $root.Block.Expandable) - return object; - let message = new $root.Block.Expandable(); - if (object.label != null) - message.label = String(object.label); - if (object.expanded != null) - message.expanded = Boolean(object.expanded); - return message; - }; - - /** - * Creates a plain object from an Expandable message. Also converts values to other types if specified. - * @function toObject - * @memberof Block.Expandable - * @static - * @param {Block.Expandable} message Expandable - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Expandable.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.label = ""; - object.expanded = false; - } - if (message.label != null && message.hasOwnProperty("label")) - object.label = message.label; - if (message.expanded != null && message.hasOwnProperty("expanded")) - object.expanded = message.expanded; - return object; - }; - - /** - * Converts this Expandable to JSON. - * @function toJSON - * @memberof Block.Expandable - * @instance - * @returns {Object.} JSON object - */ - Expandable.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Expandable - * @function getTypeUrl - * @memberof Block.Expandable - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Expandable.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Block.Expandable"; - }; - - return Expandable; - })(); - - Block.Form = (function() { - - /** - * Properties of a Form. - * @memberof Block - * @interface IForm - * @property {string|null} [formId] Form formId - * @property {boolean|null} [clearOnSubmit] Form clearOnSubmit - */ - - /** - * Constructs a new Form. - * @memberof Block - * @classdesc Represents a Form. - * @implements IForm - * @constructor - * @param {Block.IForm=} [properties] Properties to set - */ - function Form(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Form formId. - * @member {string} formId - * @memberof Block.Form - * @instance - */ - Form.prototype.formId = ""; - - /** - * Form clearOnSubmit. - * @member {boolean} clearOnSubmit - * @memberof Block.Form - * @instance - */ - Form.prototype.clearOnSubmit = false; - - /** - * Creates a new Form instance using the specified properties. - * @function create - * @memberof Block.Form - * @static - * @param {Block.IForm=} [properties] Properties to set - * @returns {Block.Form} Form instance - */ - Form.create = function create(properties) { - return new Form(properties); - }; - - /** - * Encodes the specified Form message. Does not implicitly {@link Block.Form.verify|verify} messages. - * @function encode - * @memberof Block.Form - * @static - * @param {Block.IForm} message Form message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Form.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.formId != null && Object.hasOwnProperty.call(message, "formId")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.formId); - if (message.clearOnSubmit != null && Object.hasOwnProperty.call(message, "clearOnSubmit")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.clearOnSubmit); - return writer; - }; - - /** - * Encodes the specified Form message, length delimited. Does not implicitly {@link Block.Form.verify|verify} messages. - * @function encodeDelimited - * @memberof Block.Form - * @static - * @param {Block.IForm} message Form message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Form.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Form message from the specified reader or buffer. - * @function decode - * @memberof Block.Form - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Block.Form} Form - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Form.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Block.Form(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.formId = reader.string(); - break; - } - case 2: { - message.clearOnSubmit = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Form message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Block.Form - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Block.Form} Form - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Form.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Form message. - * @function verify - * @memberof Block.Form - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Form.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.formId != null && message.hasOwnProperty("formId")) - if (!$util.isString(message.formId)) - return "formId: string expected"; - if (message.clearOnSubmit != null && message.hasOwnProperty("clearOnSubmit")) - if (typeof message.clearOnSubmit !== "boolean") - return "clearOnSubmit: boolean expected"; - return null; - }; - - /** - * Creates a Form message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Block.Form - * @static - * @param {Object.} object Plain object - * @returns {Block.Form} Form - */ - Form.fromObject = function fromObject(object) { - if (object instanceof $root.Block.Form) - return object; - let message = new $root.Block.Form(); - if (object.formId != null) - message.formId = String(object.formId); - if (object.clearOnSubmit != null) - message.clearOnSubmit = Boolean(object.clearOnSubmit); - return message; - }; - - /** - * Creates a plain object from a Form message. Also converts values to other types if specified. - * @function toObject - * @memberof Block.Form - * @static - * @param {Block.Form} message Form - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Form.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.formId = ""; - object.clearOnSubmit = false; - } - if (message.formId != null && message.hasOwnProperty("formId")) - object.formId = message.formId; - if (message.clearOnSubmit != null && message.hasOwnProperty("clearOnSubmit")) - object.clearOnSubmit = message.clearOnSubmit; - return object; - }; - - /** - * Converts this Form to JSON. - * @function toJSON - * @memberof Block.Form - * @instance - * @returns {Object.} JSON object - */ - Form.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Form - * @function getTypeUrl - * @memberof Block.Form - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Form.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Block.Form"; - }; - - return Form; - })(); - - Block.TabContainer = (function() { - - /** - * Properties of a TabContainer. - * @memberof Block - * @interface ITabContainer - */ - - /** - * Constructs a new TabContainer. - * @memberof Block - * @classdesc Represents a TabContainer. - * @implements ITabContainer - * @constructor - * @param {Block.ITabContainer=} [properties] Properties to set - */ - function TabContainer(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Creates a new TabContainer instance using the specified properties. - * @function create - * @memberof Block.TabContainer - * @static - * @param {Block.ITabContainer=} [properties] Properties to set - * @returns {Block.TabContainer} TabContainer instance - */ - TabContainer.create = function create(properties) { - return new TabContainer(properties); - }; - - /** - * Encodes the specified TabContainer message. Does not implicitly {@link Block.TabContainer.verify|verify} messages. - * @function encode - * @memberof Block.TabContainer - * @static - * @param {Block.ITabContainer} message TabContainer message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - TabContainer.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - return writer; - }; - - /** - * Encodes the specified TabContainer message, length delimited. Does not implicitly {@link Block.TabContainer.verify|verify} messages. - * @function encodeDelimited - * @memberof Block.TabContainer - * @static - * @param {Block.ITabContainer} message TabContainer message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - TabContainer.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a TabContainer message from the specified reader or buffer. - * @function decode - * @memberof Block.TabContainer - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Block.TabContainer} TabContainer - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - TabContainer.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Block.TabContainer(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a TabContainer message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Block.TabContainer - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Block.TabContainer} TabContainer - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - TabContainer.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a TabContainer message. - * @function verify - * @memberof Block.TabContainer - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - TabContainer.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - return null; - }; - - /** - * Creates a TabContainer message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Block.TabContainer - * @static - * @param {Object.} object Plain object - * @returns {Block.TabContainer} TabContainer - */ - TabContainer.fromObject = function fromObject(object) { - if (object instanceof $root.Block.TabContainer) - return object; - return new $root.Block.TabContainer(); - }; - - /** - * Creates a plain object from a TabContainer message. Also converts values to other types if specified. - * @function toObject - * @memberof Block.TabContainer - * @static - * @param {Block.TabContainer} message TabContainer - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - TabContainer.toObject = function toObject() { - return {}; - }; - - /** - * Converts this TabContainer to JSON. - * @function toJSON - * @memberof Block.TabContainer - * @instance - * @returns {Object.} JSON object - */ - TabContainer.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for TabContainer - * @function getTypeUrl - * @memberof Block.TabContainer - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - TabContainer.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Block.TabContainer"; - }; - - return TabContainer; - })(); - - Block.Tab = (function() { - - /** - * Properties of a Tab. - * @memberof Block - * @interface ITab - * @property {string|null} [label] Tab label - */ - - /** - * Constructs a new Tab. - * @memberof Block - * @classdesc Represents a Tab. - * @implements ITab - * @constructor - * @param {Block.ITab=} [properties] Properties to set - */ - function Tab(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Tab label. - * @member {string} label - * @memberof Block.Tab - * @instance - */ - Tab.prototype.label = ""; - - /** - * Creates a new Tab instance using the specified properties. - * @function create - * @memberof Block.Tab - * @static - * @param {Block.ITab=} [properties] Properties to set - * @returns {Block.Tab} Tab instance - */ - Tab.create = function create(properties) { - return new Tab(properties); - }; - - /** - * Encodes the specified Tab message. Does not implicitly {@link Block.Tab.verify|verify} messages. - * @function encode - * @memberof Block.Tab - * @static - * @param {Block.ITab} message Tab message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Tab.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.label != null && Object.hasOwnProperty.call(message, "label")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.label); - return writer; - }; - - /** - * Encodes the specified Tab message, length delimited. Does not implicitly {@link Block.Tab.verify|verify} messages. - * @function encodeDelimited - * @memberof Block.Tab - * @static - * @param {Block.ITab} message Tab message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Tab.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Tab message from the specified reader or buffer. - * @function decode - * @memberof Block.Tab - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Block.Tab} Tab - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Tab.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Block.Tab(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.label = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Tab message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Block.Tab - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Block.Tab} Tab - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Tab.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Tab message. - * @function verify - * @memberof Block.Tab - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Tab.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.label != null && message.hasOwnProperty("label")) - if (!$util.isString(message.label)) - return "label: string expected"; - return null; - }; - - /** - * Creates a Tab message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Block.Tab - * @static - * @param {Object.} object Plain object - * @returns {Block.Tab} Tab - */ - Tab.fromObject = function fromObject(object) { - if (object instanceof $root.Block.Tab) - return object; - let message = new $root.Block.Tab(); - if (object.label != null) - message.label = String(object.label); - return message; - }; - - /** - * Creates a plain object from a Tab message. Also converts values to other types if specified. - * @function toObject - * @memberof Block.Tab - * @static - * @param {Block.Tab} message Tab - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Tab.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) - object.label = ""; - if (message.label != null && message.hasOwnProperty("label")) - object.label = message.label; - return object; - }; - - /** - * Converts this Tab to JSON. - * @function toJSON - * @memberof Block.Tab - * @instance - * @returns {Object.} JSON object - */ - Tab.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Tab - * @function getTypeUrl - * @memberof Block.Tab - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Tab.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Block.Tab"; - }; - - return Tab; - })(); - - return Block; -})(); - -export const BokehChart = $root.BokehChart = (() => { - - /** - * Properties of a BokehChart. - * @exports IBokehChart - * @interface IBokehChart - * @property {string|null} [figure] BokehChart figure - * @property {boolean|null} [useContainerWidth] BokehChart useContainerWidth - * @property {string|null} [elementId] BokehChart elementId - */ - - /** - * Constructs a new BokehChart. - * @exports BokehChart - * @classdesc Represents a BokehChart. - * @implements IBokehChart - * @constructor - * @param {IBokehChart=} [properties] Properties to set - */ - function BokehChart(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * BokehChart figure. - * @member {string} figure - * @memberof BokehChart - * @instance - */ - BokehChart.prototype.figure = ""; - - /** - * BokehChart useContainerWidth. - * @member {boolean} useContainerWidth - * @memberof BokehChart - * @instance - */ - BokehChart.prototype.useContainerWidth = false; - - /** - * BokehChart elementId. - * @member {string} elementId - * @memberof BokehChart - * @instance - */ - BokehChart.prototype.elementId = ""; - - /** - * Creates a new BokehChart instance using the specified properties. - * @function create - * @memberof BokehChart - * @static - * @param {IBokehChart=} [properties] Properties to set - * @returns {BokehChart} BokehChart instance - */ - BokehChart.create = function create(properties) { - return new BokehChart(properties); - }; - - /** - * Encodes the specified BokehChart message. Does not implicitly {@link BokehChart.verify|verify} messages. - * @function encode - * @memberof BokehChart - * @static - * @param {IBokehChart} message BokehChart message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - BokehChart.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.figure != null && Object.hasOwnProperty.call(message, "figure")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.figure); - if (message.useContainerWidth != null && Object.hasOwnProperty.call(message, "useContainerWidth")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.useContainerWidth); - if (message.elementId != null && Object.hasOwnProperty.call(message, "elementId")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.elementId); - return writer; - }; - - /** - * Encodes the specified BokehChart message, length delimited. Does not implicitly {@link BokehChart.verify|verify} messages. - * @function encodeDelimited - * @memberof BokehChart - * @static - * @param {IBokehChart} message BokehChart message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - BokehChart.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a BokehChart message from the specified reader or buffer. - * @function decode - * @memberof BokehChart - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {BokehChart} BokehChart - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - BokehChart.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.BokehChart(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.figure = reader.string(); - break; - } - case 2: { - message.useContainerWidth = reader.bool(); - break; - } - case 3: { - message.elementId = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a BokehChart message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof BokehChart - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {BokehChart} BokehChart - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - BokehChart.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a BokehChart message. - * @function verify - * @memberof BokehChart - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - BokehChart.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.figure != null && message.hasOwnProperty("figure")) - if (!$util.isString(message.figure)) - return "figure: string expected"; - if (message.useContainerWidth != null && message.hasOwnProperty("useContainerWidth")) - if (typeof message.useContainerWidth !== "boolean") - return "useContainerWidth: boolean expected"; - if (message.elementId != null && message.hasOwnProperty("elementId")) - if (!$util.isString(message.elementId)) - return "elementId: string expected"; - return null; - }; - - /** - * Creates a BokehChart message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof BokehChart - * @static - * @param {Object.} object Plain object - * @returns {BokehChart} BokehChart - */ - BokehChart.fromObject = function fromObject(object) { - if (object instanceof $root.BokehChart) - return object; - let message = new $root.BokehChart(); - if (object.figure != null) - message.figure = String(object.figure); - if (object.useContainerWidth != null) - message.useContainerWidth = Boolean(object.useContainerWidth); - if (object.elementId != null) - message.elementId = String(object.elementId); - return message; - }; - - /** - * Creates a plain object from a BokehChart message. Also converts values to other types if specified. - * @function toObject - * @memberof BokehChart - * @static - * @param {BokehChart} message BokehChart - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - BokehChart.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.figure = ""; - object.useContainerWidth = false; - object.elementId = ""; - } - if (message.figure != null && message.hasOwnProperty("figure")) - object.figure = message.figure; - if (message.useContainerWidth != null && message.hasOwnProperty("useContainerWidth")) - object.useContainerWidth = message.useContainerWidth; - if (message.elementId != null && message.hasOwnProperty("elementId")) - object.elementId = message.elementId; - return object; - }; - - /** - * Converts this BokehChart to JSON. - * @function toJSON - * @memberof BokehChart - * @instance - * @returns {Object.} JSON object - */ - BokehChart.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for BokehChart - * @function getTypeUrl - * @memberof BokehChart - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - BokehChart.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/BokehChart"; - }; - - return BokehChart; -})(); - -export const Button = $root.Button = (() => { - - /** - * Properties of a Button. - * @exports IButton - * @interface IButton - * @property {string|null} [id] Button id - * @property {string|null} [label] Button label - * @property {boolean|null} ["default"] Button default - * @property {string|null} [help] Button help - * @property {string|null} [formId] Button formId - * @property {boolean|null} [isFormSubmitter] Button isFormSubmitter - * @property {string|null} [type] Button type - * @property {boolean|null} [disabled] Button disabled - * @property {boolean|null} [useContainerWidth] Button useContainerWidth - */ - - /** - * Constructs a new Button. - * @exports Button - * @classdesc Represents a Button. - * @implements IButton - * @constructor - * @param {IButton=} [properties] Properties to set - */ - function Button(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Button id. - * @member {string} id - * @memberof Button - * @instance - */ - Button.prototype.id = ""; - - /** - * Button label. - * @member {string} label - * @memberof Button - * @instance - */ - Button.prototype.label = ""; - - /** - * Button default. - * @member {boolean} default - * @memberof Button - * @instance - */ - Button.prototype["default"] = false; - - /** - * Button help. - * @member {string} help - * @memberof Button - * @instance - */ - Button.prototype.help = ""; - - /** - * Button formId. - * @member {string} formId - * @memberof Button - * @instance - */ - Button.prototype.formId = ""; - - /** - * Button isFormSubmitter. - * @member {boolean} isFormSubmitter - * @memberof Button - * @instance - */ - Button.prototype.isFormSubmitter = false; - - /** - * Button type. - * @member {string} type - * @memberof Button - * @instance - */ - Button.prototype.type = ""; - - /** - * Button disabled. - * @member {boolean} disabled - * @memberof Button - * @instance - */ - Button.prototype.disabled = false; - - /** - * Button useContainerWidth. - * @member {boolean} useContainerWidth - * @memberof Button - * @instance - */ - Button.prototype.useContainerWidth = false; - - /** - * Creates a new Button instance using the specified properties. - * @function create - * @memberof Button - * @static - * @param {IButton=} [properties] Properties to set - * @returns {Button} Button instance - */ - Button.create = function create(properties) { - return new Button(properties); - }; - - /** - * Encodes the specified Button message. Does not implicitly {@link Button.verify|verify} messages. - * @function encode - * @memberof Button - * @static - * @param {IButton} message Button message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Button.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.id != null && Object.hasOwnProperty.call(message, "id")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); - if (message.label != null && Object.hasOwnProperty.call(message, "label")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.label); - if (message["default"] != null && Object.hasOwnProperty.call(message, "default")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message["default"]); - if (message.help != null && Object.hasOwnProperty.call(message, "help")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.help); - if (message.formId != null && Object.hasOwnProperty.call(message, "formId")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.formId); - if (message.isFormSubmitter != null && Object.hasOwnProperty.call(message, "isFormSubmitter")) - writer.uint32(/* id 6, wireType 0 =*/48).bool(message.isFormSubmitter); - if (message.type != null && Object.hasOwnProperty.call(message, "type")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.type); - if (message.disabled != null && Object.hasOwnProperty.call(message, "disabled")) - writer.uint32(/* id 8, wireType 0 =*/64).bool(message.disabled); - if (message.useContainerWidth != null && Object.hasOwnProperty.call(message, "useContainerWidth")) - writer.uint32(/* id 9, wireType 0 =*/72).bool(message.useContainerWidth); - return writer; - }; - - /** - * Encodes the specified Button message, length delimited. Does not implicitly {@link Button.verify|verify} messages. - * @function encodeDelimited - * @memberof Button - * @static - * @param {IButton} message Button message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Button.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Button message from the specified reader or buffer. - * @function decode - * @memberof Button - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Button} Button - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Button.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Button(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.id = reader.string(); - break; - } - case 2: { - message.label = reader.string(); - break; - } - case 3: { - message["default"] = reader.bool(); - break; - } - case 4: { - message.help = reader.string(); - break; - } - case 5: { - message.formId = reader.string(); - break; - } - case 6: { - message.isFormSubmitter = reader.bool(); - break; - } - case 7: { - message.type = reader.string(); - break; - } - case 8: { - message.disabled = reader.bool(); - break; - } - case 9: { - message.useContainerWidth = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Button message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Button - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Button} Button - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Button.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Button message. - * @function verify - * @memberof Button - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Button.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isString(message.id)) - return "id: string expected"; - if (message.label != null && message.hasOwnProperty("label")) - if (!$util.isString(message.label)) - return "label: string expected"; - if (message["default"] != null && message.hasOwnProperty("default")) - if (typeof message["default"] !== "boolean") - return "default: boolean expected"; - if (message.help != null && message.hasOwnProperty("help")) - if (!$util.isString(message.help)) - return "help: string expected"; - if (message.formId != null && message.hasOwnProperty("formId")) - if (!$util.isString(message.formId)) - return "formId: string expected"; - if (message.isFormSubmitter != null && message.hasOwnProperty("isFormSubmitter")) - if (typeof message.isFormSubmitter !== "boolean") - return "isFormSubmitter: boolean expected"; - if (message.type != null && message.hasOwnProperty("type")) - if (!$util.isString(message.type)) - return "type: string expected"; - if (message.disabled != null && message.hasOwnProperty("disabled")) - if (typeof message.disabled !== "boolean") - return "disabled: boolean expected"; - if (message.useContainerWidth != null && message.hasOwnProperty("useContainerWidth")) - if (typeof message.useContainerWidth !== "boolean") - return "useContainerWidth: boolean expected"; - return null; - }; - - /** - * Creates a Button message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Button - * @static - * @param {Object.} object Plain object - * @returns {Button} Button - */ - Button.fromObject = function fromObject(object) { - if (object instanceof $root.Button) - return object; - let message = new $root.Button(); - if (object.id != null) - message.id = String(object.id); - if (object.label != null) - message.label = String(object.label); - if (object["default"] != null) - message["default"] = Boolean(object["default"]); - if (object.help != null) - message.help = String(object.help); - if (object.formId != null) - message.formId = String(object.formId); - if (object.isFormSubmitter != null) - message.isFormSubmitter = Boolean(object.isFormSubmitter); - if (object.type != null) - message.type = String(object.type); - if (object.disabled != null) - message.disabled = Boolean(object.disabled); - if (object.useContainerWidth != null) - message.useContainerWidth = Boolean(object.useContainerWidth); - return message; - }; - - /** - * Creates a plain object from a Button message. Also converts values to other types if specified. - * @function toObject - * @memberof Button - * @static - * @param {Button} message Button - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Button.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.id = ""; - object.label = ""; - object["default"] = false; - object.help = ""; - object.formId = ""; - object.isFormSubmitter = false; - object.type = ""; - object.disabled = false; - object.useContainerWidth = false; - } - if (message.id != null && message.hasOwnProperty("id")) - object.id = message.id; - if (message.label != null && message.hasOwnProperty("label")) - object.label = message.label; - if (message["default"] != null && message.hasOwnProperty("default")) - object["default"] = message["default"]; - if (message.help != null && message.hasOwnProperty("help")) - object.help = message.help; - if (message.formId != null && message.hasOwnProperty("formId")) - object.formId = message.formId; - if (message.isFormSubmitter != null && message.hasOwnProperty("isFormSubmitter")) - object.isFormSubmitter = message.isFormSubmitter; - if (message.type != null && message.hasOwnProperty("type")) - object.type = message.type; - if (message.disabled != null && message.hasOwnProperty("disabled")) - object.disabled = message.disabled; - if (message.useContainerWidth != null && message.hasOwnProperty("useContainerWidth")) - object.useContainerWidth = message.useContainerWidth; - return object; - }; - - /** - * Converts this Button to JSON. - * @function toJSON - * @memberof Button - * @instance - * @returns {Object.} JSON object - */ - Button.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Button - * @function getTypeUrl - * @memberof Button - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Button.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Button"; - }; - - return Button; -})(); - -export const CameraInput = $root.CameraInput = (() => { - - /** - * Properties of a CameraInput. - * @exports ICameraInput - * @interface ICameraInput - * @property {string|null} [id] CameraInput id - * @property {string|null} [label] CameraInput label - * @property {string|null} [help] CameraInput help - * @property {string|null} [formId] CameraInput formId - * @property {boolean|null} [disabled] CameraInput disabled - * @property {ILabelVisibilityMessage|null} [labelVisibility] CameraInput labelVisibility - */ - - /** - * Constructs a new CameraInput. - * @exports CameraInput - * @classdesc Represents a CameraInput. - * @implements ICameraInput - * @constructor - * @param {ICameraInput=} [properties] Properties to set - */ - function CameraInput(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * CameraInput id. - * @member {string} id - * @memberof CameraInput - * @instance - */ - CameraInput.prototype.id = ""; - - /** - * CameraInput label. - * @member {string} label - * @memberof CameraInput - * @instance - */ - CameraInput.prototype.label = ""; - - /** - * CameraInput help. - * @member {string} help - * @memberof CameraInput - * @instance - */ - CameraInput.prototype.help = ""; - - /** - * CameraInput formId. - * @member {string} formId - * @memberof CameraInput - * @instance - */ - CameraInput.prototype.formId = ""; - - /** - * CameraInput disabled. - * @member {boolean} disabled - * @memberof CameraInput - * @instance - */ - CameraInput.prototype.disabled = false; - - /** - * CameraInput labelVisibility. - * @member {ILabelVisibilityMessage|null|undefined} labelVisibility - * @memberof CameraInput - * @instance - */ - CameraInput.prototype.labelVisibility = null; - - /** - * Creates a new CameraInput instance using the specified properties. - * @function create - * @memberof CameraInput - * @static - * @param {ICameraInput=} [properties] Properties to set - * @returns {CameraInput} CameraInput instance - */ - CameraInput.create = function create(properties) { - return new CameraInput(properties); - }; - - /** - * Encodes the specified CameraInput message. Does not implicitly {@link CameraInput.verify|verify} messages. - * @function encode - * @memberof CameraInput - * @static - * @param {ICameraInput} message CameraInput message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - CameraInput.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.id != null && Object.hasOwnProperty.call(message, "id")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); - if (message.label != null && Object.hasOwnProperty.call(message, "label")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.label); - if (message.help != null && Object.hasOwnProperty.call(message, "help")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.help); - if (message.formId != null && Object.hasOwnProperty.call(message, "formId")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.formId); - if (message.disabled != null && Object.hasOwnProperty.call(message, "disabled")) - writer.uint32(/* id 5, wireType 0 =*/40).bool(message.disabled); - if (message.labelVisibility != null && Object.hasOwnProperty.call(message, "labelVisibility")) - $root.LabelVisibilityMessage.encode(message.labelVisibility, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified CameraInput message, length delimited. Does not implicitly {@link CameraInput.verify|verify} messages. - * @function encodeDelimited - * @memberof CameraInput - * @static - * @param {ICameraInput} message CameraInput message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - CameraInput.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a CameraInput message from the specified reader or buffer. - * @function decode - * @memberof CameraInput - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {CameraInput} CameraInput - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - CameraInput.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.CameraInput(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.id = reader.string(); - break; - } - case 2: { - message.label = reader.string(); - break; - } - case 3: { - message.help = reader.string(); - break; - } - case 4: { - message.formId = reader.string(); - break; - } - case 5: { - message.disabled = reader.bool(); - break; - } - case 6: { - message.labelVisibility = $root.LabelVisibilityMessage.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a CameraInput message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof CameraInput - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {CameraInput} CameraInput - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - CameraInput.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a CameraInput message. - * @function verify - * @memberof CameraInput - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - CameraInput.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isString(message.id)) - return "id: string expected"; - if (message.label != null && message.hasOwnProperty("label")) - if (!$util.isString(message.label)) - return "label: string expected"; - if (message.help != null && message.hasOwnProperty("help")) - if (!$util.isString(message.help)) - return "help: string expected"; - if (message.formId != null && message.hasOwnProperty("formId")) - if (!$util.isString(message.formId)) - return "formId: string expected"; - if (message.disabled != null && message.hasOwnProperty("disabled")) - if (typeof message.disabled !== "boolean") - return "disabled: boolean expected"; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) { - let error = $root.LabelVisibilityMessage.verify(message.labelVisibility); - if (error) - return "labelVisibility." + error; - } - return null; - }; - - /** - * Creates a CameraInput message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof CameraInput - * @static - * @param {Object.} object Plain object - * @returns {CameraInput} CameraInput - */ - CameraInput.fromObject = function fromObject(object) { - if (object instanceof $root.CameraInput) - return object; - let message = new $root.CameraInput(); - if (object.id != null) - message.id = String(object.id); - if (object.label != null) - message.label = String(object.label); - if (object.help != null) - message.help = String(object.help); - if (object.formId != null) - message.formId = String(object.formId); - if (object.disabled != null) - message.disabled = Boolean(object.disabled); - if (object.labelVisibility != null) { - if (typeof object.labelVisibility !== "object") - throw TypeError(".CameraInput.labelVisibility: object expected"); - message.labelVisibility = $root.LabelVisibilityMessage.fromObject(object.labelVisibility); - } - return message; - }; - - /** - * Creates a plain object from a CameraInput message. Also converts values to other types if specified. - * @function toObject - * @memberof CameraInput - * @static - * @param {CameraInput} message CameraInput - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - CameraInput.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.id = ""; - object.label = ""; - object.help = ""; - object.formId = ""; - object.disabled = false; - object.labelVisibility = null; - } - if (message.id != null && message.hasOwnProperty("id")) - object.id = message.id; - if (message.label != null && message.hasOwnProperty("label")) - object.label = message.label; - if (message.help != null && message.hasOwnProperty("help")) - object.help = message.help; - if (message.formId != null && message.hasOwnProperty("formId")) - object.formId = message.formId; - if (message.disabled != null && message.hasOwnProperty("disabled")) - object.disabled = message.disabled; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) - object.labelVisibility = $root.LabelVisibilityMessage.toObject(message.labelVisibility, options); - return object; - }; - - /** - * Converts this CameraInput to JSON. - * @function toJSON - * @memberof CameraInput - * @instance - * @returns {Object.} JSON object - */ - CameraInput.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for CameraInput - * @function getTypeUrl - * @memberof CameraInput - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - CameraInput.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/CameraInput"; - }; - - return CameraInput; -})(); - -export const Checkbox = $root.Checkbox = (() => { - - /** - * Properties of a Checkbox. - * @exports ICheckbox - * @interface ICheckbox - * @property {string|null} [id] Checkbox id - * @property {string|null} [label] Checkbox label - * @property {boolean|null} ["default"] Checkbox default - * @property {string|null} [help] Checkbox help - * @property {string|null} [formId] Checkbox formId - * @property {boolean|null} [value] Checkbox value - * @property {boolean|null} [setValue] Checkbox setValue - * @property {boolean|null} [disabled] Checkbox disabled - * @property {ILabelVisibilityMessage|null} [labelVisibility] Checkbox labelVisibility - */ - - /** - * Constructs a new Checkbox. - * @exports Checkbox - * @classdesc Represents a Checkbox. - * @implements ICheckbox - * @constructor - * @param {ICheckbox=} [properties] Properties to set - */ - function Checkbox(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Checkbox id. - * @member {string} id - * @memberof Checkbox - * @instance - */ - Checkbox.prototype.id = ""; - - /** - * Checkbox label. - * @member {string} label - * @memberof Checkbox - * @instance - */ - Checkbox.prototype.label = ""; - - /** - * Checkbox default. - * @member {boolean} default - * @memberof Checkbox - * @instance - */ - Checkbox.prototype["default"] = false; - - /** - * Checkbox help. - * @member {string} help - * @memberof Checkbox - * @instance - */ - Checkbox.prototype.help = ""; - - /** - * Checkbox formId. - * @member {string} formId - * @memberof Checkbox - * @instance - */ - Checkbox.prototype.formId = ""; - - /** - * Checkbox value. - * @member {boolean} value - * @memberof Checkbox - * @instance - */ - Checkbox.prototype.value = false; - - /** - * Checkbox setValue. - * @member {boolean} setValue - * @memberof Checkbox - * @instance - */ - Checkbox.prototype.setValue = false; - - /** - * Checkbox disabled. - * @member {boolean} disabled - * @memberof Checkbox - * @instance - */ - Checkbox.prototype.disabled = false; - - /** - * Checkbox labelVisibility. - * @member {ILabelVisibilityMessage|null|undefined} labelVisibility - * @memberof Checkbox - * @instance - */ - Checkbox.prototype.labelVisibility = null; - - /** - * Creates a new Checkbox instance using the specified properties. - * @function create - * @memberof Checkbox - * @static - * @param {ICheckbox=} [properties] Properties to set - * @returns {Checkbox} Checkbox instance - */ - Checkbox.create = function create(properties) { - return new Checkbox(properties); - }; - - /** - * Encodes the specified Checkbox message. Does not implicitly {@link Checkbox.verify|verify} messages. - * @function encode - * @memberof Checkbox - * @static - * @param {ICheckbox} message Checkbox message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Checkbox.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.id != null && Object.hasOwnProperty.call(message, "id")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); - if (message.label != null && Object.hasOwnProperty.call(message, "label")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.label); - if (message["default"] != null && Object.hasOwnProperty.call(message, "default")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message["default"]); - if (message.help != null && Object.hasOwnProperty.call(message, "help")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.help); - if (message.formId != null && Object.hasOwnProperty.call(message, "formId")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.formId); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - writer.uint32(/* id 6, wireType 0 =*/48).bool(message.value); - if (message.setValue != null && Object.hasOwnProperty.call(message, "setValue")) - writer.uint32(/* id 7, wireType 0 =*/56).bool(message.setValue); - if (message.disabled != null && Object.hasOwnProperty.call(message, "disabled")) - writer.uint32(/* id 8, wireType 0 =*/64).bool(message.disabled); - if (message.labelVisibility != null && Object.hasOwnProperty.call(message, "labelVisibility")) - $root.LabelVisibilityMessage.encode(message.labelVisibility, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified Checkbox message, length delimited. Does not implicitly {@link Checkbox.verify|verify} messages. - * @function encodeDelimited - * @memberof Checkbox - * @static - * @param {ICheckbox} message Checkbox message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Checkbox.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Checkbox message from the specified reader or buffer. - * @function decode - * @memberof Checkbox - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Checkbox} Checkbox - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Checkbox.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Checkbox(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.id = reader.string(); - break; - } - case 2: { - message.label = reader.string(); - break; - } - case 3: { - message["default"] = reader.bool(); - break; - } - case 4: { - message.help = reader.string(); - break; - } - case 5: { - message.formId = reader.string(); - break; - } - case 6: { - message.value = reader.bool(); - break; - } - case 7: { - message.setValue = reader.bool(); - break; - } - case 8: { - message.disabled = reader.bool(); - break; - } - case 9: { - message.labelVisibility = $root.LabelVisibilityMessage.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Checkbox message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Checkbox - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Checkbox} Checkbox - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Checkbox.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Checkbox message. - * @function verify - * @memberof Checkbox - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Checkbox.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isString(message.id)) - return "id: string expected"; - if (message.label != null && message.hasOwnProperty("label")) - if (!$util.isString(message.label)) - return "label: string expected"; - if (message["default"] != null && message.hasOwnProperty("default")) - if (typeof message["default"] !== "boolean") - return "default: boolean expected"; - if (message.help != null && message.hasOwnProperty("help")) - if (!$util.isString(message.help)) - return "help: string expected"; - if (message.formId != null && message.hasOwnProperty("formId")) - if (!$util.isString(message.formId)) - return "formId: string expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (typeof message.value !== "boolean") - return "value: boolean expected"; - if (message.setValue != null && message.hasOwnProperty("setValue")) - if (typeof message.setValue !== "boolean") - return "setValue: boolean expected"; - if (message.disabled != null && message.hasOwnProperty("disabled")) - if (typeof message.disabled !== "boolean") - return "disabled: boolean expected"; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) { - let error = $root.LabelVisibilityMessage.verify(message.labelVisibility); - if (error) - return "labelVisibility." + error; - } - return null; - }; - - /** - * Creates a Checkbox message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Checkbox - * @static - * @param {Object.} object Plain object - * @returns {Checkbox} Checkbox - */ - Checkbox.fromObject = function fromObject(object) { - if (object instanceof $root.Checkbox) - return object; - let message = new $root.Checkbox(); - if (object.id != null) - message.id = String(object.id); - if (object.label != null) - message.label = String(object.label); - if (object["default"] != null) - message["default"] = Boolean(object["default"]); - if (object.help != null) - message.help = String(object.help); - if (object.formId != null) - message.formId = String(object.formId); - if (object.value != null) - message.value = Boolean(object.value); - if (object.setValue != null) - message.setValue = Boolean(object.setValue); - if (object.disabled != null) - message.disabled = Boolean(object.disabled); - if (object.labelVisibility != null) { - if (typeof object.labelVisibility !== "object") - throw TypeError(".Checkbox.labelVisibility: object expected"); - message.labelVisibility = $root.LabelVisibilityMessage.fromObject(object.labelVisibility); - } - return message; - }; - - /** - * Creates a plain object from a Checkbox message. Also converts values to other types if specified. - * @function toObject - * @memberof Checkbox - * @static - * @param {Checkbox} message Checkbox - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Checkbox.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.id = ""; - object.label = ""; - object["default"] = false; - object.help = ""; - object.formId = ""; - object.value = false; - object.setValue = false; - object.disabled = false; - object.labelVisibility = null; - } - if (message.id != null && message.hasOwnProperty("id")) - object.id = message.id; - if (message.label != null && message.hasOwnProperty("label")) - object.label = message.label; - if (message["default"] != null && message.hasOwnProperty("default")) - object["default"] = message["default"]; - if (message.help != null && message.hasOwnProperty("help")) - object.help = message.help; - if (message.formId != null && message.hasOwnProperty("formId")) - object.formId = message.formId; - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - if (message.setValue != null && message.hasOwnProperty("setValue")) - object.setValue = message.setValue; - if (message.disabled != null && message.hasOwnProperty("disabled")) - object.disabled = message.disabled; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) - object.labelVisibility = $root.LabelVisibilityMessage.toObject(message.labelVisibility, options); - return object; - }; - - /** - * Converts this Checkbox to JSON. - * @function toJSON - * @memberof Checkbox - * @instance - * @returns {Object.} JSON object - */ - Checkbox.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Checkbox - * @function getTypeUrl - * @memberof Checkbox - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Checkbox.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Checkbox"; - }; - - return Checkbox; -})(); - -export const ClientState = $root.ClientState = (() => { - - /** - * Properties of a ClientState. - * @exports IClientState - * @interface IClientState - * @property {string|null} [queryString] ClientState queryString - * @property {IWidgetStates|null} [widgetStates] ClientState widgetStates - * @property {string|null} [pageScriptHash] ClientState pageScriptHash - * @property {string|null} [pageName] ClientState pageName - */ - - /** - * Constructs a new ClientState. - * @exports ClientState - * @classdesc Represents a ClientState. - * @implements IClientState - * @constructor - * @param {IClientState=} [properties] Properties to set - */ - function ClientState(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ClientState queryString. - * @member {string} queryString - * @memberof ClientState - * @instance - */ - ClientState.prototype.queryString = ""; - - /** - * ClientState widgetStates. - * @member {IWidgetStates|null|undefined} widgetStates - * @memberof ClientState - * @instance - */ - ClientState.prototype.widgetStates = null; - - /** - * ClientState pageScriptHash. - * @member {string} pageScriptHash - * @memberof ClientState - * @instance - */ - ClientState.prototype.pageScriptHash = ""; - - /** - * ClientState pageName. - * @member {string} pageName - * @memberof ClientState - * @instance - */ - ClientState.prototype.pageName = ""; - - /** - * Creates a new ClientState instance using the specified properties. - * @function create - * @memberof ClientState - * @static - * @param {IClientState=} [properties] Properties to set - * @returns {ClientState} ClientState instance - */ - ClientState.create = function create(properties) { - return new ClientState(properties); - }; - - /** - * Encodes the specified ClientState message. Does not implicitly {@link ClientState.verify|verify} messages. - * @function encode - * @memberof ClientState - * @static - * @param {IClientState} message ClientState message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ClientState.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.queryString != null && Object.hasOwnProperty.call(message, "queryString")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.queryString); - if (message.widgetStates != null && Object.hasOwnProperty.call(message, "widgetStates")) - $root.WidgetStates.encode(message.widgetStates, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.pageScriptHash != null && Object.hasOwnProperty.call(message, "pageScriptHash")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.pageScriptHash); - if (message.pageName != null && Object.hasOwnProperty.call(message, "pageName")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.pageName); - return writer; - }; - - /** - * Encodes the specified ClientState message, length delimited. Does not implicitly {@link ClientState.verify|verify} messages. - * @function encodeDelimited - * @memberof ClientState - * @static - * @param {IClientState} message ClientState message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ClientState.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ClientState message from the specified reader or buffer. - * @function decode - * @memberof ClientState - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ClientState} ClientState - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ClientState.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.ClientState(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.queryString = reader.string(); - break; - } - case 2: { - message.widgetStates = $root.WidgetStates.decode(reader, reader.uint32()); - break; - } - case 3: { - message.pageScriptHash = reader.string(); - break; - } - case 4: { - message.pageName = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ClientState message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ClientState - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ClientState} ClientState - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ClientState.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ClientState message. - * @function verify - * @memberof ClientState - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ClientState.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.queryString != null && message.hasOwnProperty("queryString")) - if (!$util.isString(message.queryString)) - return "queryString: string expected"; - if (message.widgetStates != null && message.hasOwnProperty("widgetStates")) { - let error = $root.WidgetStates.verify(message.widgetStates); - if (error) - return "widgetStates." + error; - } - if (message.pageScriptHash != null && message.hasOwnProperty("pageScriptHash")) - if (!$util.isString(message.pageScriptHash)) - return "pageScriptHash: string expected"; - if (message.pageName != null && message.hasOwnProperty("pageName")) - if (!$util.isString(message.pageName)) - return "pageName: string expected"; - return null; - }; - - /** - * Creates a ClientState message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ClientState - * @static - * @param {Object.} object Plain object - * @returns {ClientState} ClientState - */ - ClientState.fromObject = function fromObject(object) { - if (object instanceof $root.ClientState) - return object; - let message = new $root.ClientState(); - if (object.queryString != null) - message.queryString = String(object.queryString); - if (object.widgetStates != null) { - if (typeof object.widgetStates !== "object") - throw TypeError(".ClientState.widgetStates: object expected"); - message.widgetStates = $root.WidgetStates.fromObject(object.widgetStates); - } - if (object.pageScriptHash != null) - message.pageScriptHash = String(object.pageScriptHash); - if (object.pageName != null) - message.pageName = String(object.pageName); - return message; - }; - - /** - * Creates a plain object from a ClientState message. Also converts values to other types if specified. - * @function toObject - * @memberof ClientState - * @static - * @param {ClientState} message ClientState - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ClientState.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.queryString = ""; - object.widgetStates = null; - object.pageScriptHash = ""; - object.pageName = ""; - } - if (message.queryString != null && message.hasOwnProperty("queryString")) - object.queryString = message.queryString; - if (message.widgetStates != null && message.hasOwnProperty("widgetStates")) - object.widgetStates = $root.WidgetStates.toObject(message.widgetStates, options); - if (message.pageScriptHash != null && message.hasOwnProperty("pageScriptHash")) - object.pageScriptHash = message.pageScriptHash; - if (message.pageName != null && message.hasOwnProperty("pageName")) - object.pageName = message.pageName; - return object; - }; - - /** - * Converts this ClientState to JSON. - * @function toJSON - * @memberof ClientState - * @instance - * @returns {Object.} JSON object - */ - ClientState.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ClientState - * @function getTypeUrl - * @memberof ClientState - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ClientState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ClientState"; - }; - - return ClientState; -})(); - -export const Code = $root.Code = (() => { - - /** - * Properties of a Code. - * @exports ICode - * @interface ICode - * @property {string|null} [codeText] Code codeText - * @property {string|null} [language] Code language - * @property {boolean|null} [showLineNumbers] Code showLineNumbers - */ - - /** - * Constructs a new Code. - * @exports Code - * @classdesc Represents a Code. - * @implements ICode - * @constructor - * @param {ICode=} [properties] Properties to set - */ - function Code(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Code codeText. - * @member {string} codeText - * @memberof Code - * @instance - */ - Code.prototype.codeText = ""; - - /** - * Code language. - * @member {string} language - * @memberof Code - * @instance - */ - Code.prototype.language = ""; - - /** - * Code showLineNumbers. - * @member {boolean} showLineNumbers - * @memberof Code - * @instance - */ - Code.prototype.showLineNumbers = false; - - /** - * Creates a new Code instance using the specified properties. - * @function create - * @memberof Code - * @static - * @param {ICode=} [properties] Properties to set - * @returns {Code} Code instance - */ - Code.create = function create(properties) { - return new Code(properties); - }; - - /** - * Encodes the specified Code message. Does not implicitly {@link Code.verify|verify} messages. - * @function encode - * @memberof Code - * @static - * @param {ICode} message Code message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Code.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.codeText != null && Object.hasOwnProperty.call(message, "codeText")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.codeText); - if (message.language != null && Object.hasOwnProperty.call(message, "language")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.language); - if (message.showLineNumbers != null && Object.hasOwnProperty.call(message, "showLineNumbers")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.showLineNumbers); - return writer; - }; - - /** - * Encodes the specified Code message, length delimited. Does not implicitly {@link Code.verify|verify} messages. - * @function encodeDelimited - * @memberof Code - * @static - * @param {ICode} message Code message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Code.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Code message from the specified reader or buffer. - * @function decode - * @memberof Code - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Code} Code - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Code.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Code(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.codeText = reader.string(); - break; - } - case 2: { - message.language = reader.string(); - break; - } - case 3: { - message.showLineNumbers = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Code message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Code - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Code} Code - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Code.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Code message. - * @function verify - * @memberof Code - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Code.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.codeText != null && message.hasOwnProperty("codeText")) - if (!$util.isString(message.codeText)) - return "codeText: string expected"; - if (message.language != null && message.hasOwnProperty("language")) - if (!$util.isString(message.language)) - return "language: string expected"; - if (message.showLineNumbers != null && message.hasOwnProperty("showLineNumbers")) - if (typeof message.showLineNumbers !== "boolean") - return "showLineNumbers: boolean expected"; - return null; - }; - - /** - * Creates a Code message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Code - * @static - * @param {Object.} object Plain object - * @returns {Code} Code - */ - Code.fromObject = function fromObject(object) { - if (object instanceof $root.Code) - return object; - let message = new $root.Code(); - if (object.codeText != null) - message.codeText = String(object.codeText); - if (object.language != null) - message.language = String(object.language); - if (object.showLineNumbers != null) - message.showLineNumbers = Boolean(object.showLineNumbers); - return message; - }; - - /** - * Creates a plain object from a Code message. Also converts values to other types if specified. - * @function toObject - * @memberof Code - * @static - * @param {Code} message Code - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Code.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.codeText = ""; - object.language = ""; - object.showLineNumbers = false; - } - if (message.codeText != null && message.hasOwnProperty("codeText")) - object.codeText = message.codeText; - if (message.language != null && message.hasOwnProperty("language")) - object.language = message.language; - if (message.showLineNumbers != null && message.hasOwnProperty("showLineNumbers")) - object.showLineNumbers = message.showLineNumbers; - return object; - }; - - /** - * Converts this Code to JSON. - * @function toJSON - * @memberof Code - * @instance - * @returns {Object.} JSON object - */ - Code.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Code - * @function getTypeUrl - * @memberof Code - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Code.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Code"; - }; - - return Code; -})(); - -export const ColorPicker = $root.ColorPicker = (() => { - - /** - * Properties of a ColorPicker. - * @exports IColorPicker - * @interface IColorPicker - * @property {string|null} [id] ColorPicker id - * @property {string|null} [label] ColorPicker label - * @property {string|null} ["default"] ColorPicker default - * @property {string|null} [help] ColorPicker help - * @property {string|null} [formId] ColorPicker formId - * @property {string|null} [value] ColorPicker value - * @property {boolean|null} [setValue] ColorPicker setValue - * @property {boolean|null} [disabled] ColorPicker disabled - * @property {ILabelVisibilityMessage|null} [labelVisibility] ColorPicker labelVisibility - */ - - /** - * Constructs a new ColorPicker. - * @exports ColorPicker - * @classdesc Represents a ColorPicker. - * @implements IColorPicker - * @constructor - * @param {IColorPicker=} [properties] Properties to set - */ - function ColorPicker(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ColorPicker id. - * @member {string} id - * @memberof ColorPicker - * @instance - */ - ColorPicker.prototype.id = ""; - - /** - * ColorPicker label. - * @member {string} label - * @memberof ColorPicker - * @instance - */ - ColorPicker.prototype.label = ""; - - /** - * ColorPicker default. - * @member {string} default - * @memberof ColorPicker - * @instance - */ - ColorPicker.prototype["default"] = ""; - - /** - * ColorPicker help. - * @member {string} help - * @memberof ColorPicker - * @instance - */ - ColorPicker.prototype.help = ""; - - /** - * ColorPicker formId. - * @member {string} formId - * @memberof ColorPicker - * @instance - */ - ColorPicker.prototype.formId = ""; - - /** - * ColorPicker value. - * @member {string} value - * @memberof ColorPicker - * @instance - */ - ColorPicker.prototype.value = ""; - - /** - * ColorPicker setValue. - * @member {boolean} setValue - * @memberof ColorPicker - * @instance - */ - ColorPicker.prototype.setValue = false; - - /** - * ColorPicker disabled. - * @member {boolean} disabled - * @memberof ColorPicker - * @instance - */ - ColorPicker.prototype.disabled = false; - - /** - * ColorPicker labelVisibility. - * @member {ILabelVisibilityMessage|null|undefined} labelVisibility - * @memberof ColorPicker - * @instance - */ - ColorPicker.prototype.labelVisibility = null; - - /** - * Creates a new ColorPicker instance using the specified properties. - * @function create - * @memberof ColorPicker - * @static - * @param {IColorPicker=} [properties] Properties to set - * @returns {ColorPicker} ColorPicker instance - */ - ColorPicker.create = function create(properties) { - return new ColorPicker(properties); - }; - - /** - * Encodes the specified ColorPicker message. Does not implicitly {@link ColorPicker.verify|verify} messages. - * @function encode - * @memberof ColorPicker - * @static - * @param {IColorPicker} message ColorPicker message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ColorPicker.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.id != null && Object.hasOwnProperty.call(message, "id")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); - if (message.label != null && Object.hasOwnProperty.call(message, "label")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.label); - if (message["default"] != null && Object.hasOwnProperty.call(message, "default")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message["default"]); - if (message.help != null && Object.hasOwnProperty.call(message, "help")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.help); - if (message.formId != null && Object.hasOwnProperty.call(message, "formId")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.formId); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.value); - if (message.setValue != null && Object.hasOwnProperty.call(message, "setValue")) - writer.uint32(/* id 7, wireType 0 =*/56).bool(message.setValue); - if (message.disabled != null && Object.hasOwnProperty.call(message, "disabled")) - writer.uint32(/* id 8, wireType 0 =*/64).bool(message.disabled); - if (message.labelVisibility != null && Object.hasOwnProperty.call(message, "labelVisibility")) - $root.LabelVisibilityMessage.encode(message.labelVisibility, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified ColorPicker message, length delimited. Does not implicitly {@link ColorPicker.verify|verify} messages. - * @function encodeDelimited - * @memberof ColorPicker - * @static - * @param {IColorPicker} message ColorPicker message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ColorPicker.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ColorPicker message from the specified reader or buffer. - * @function decode - * @memberof ColorPicker - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ColorPicker} ColorPicker - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ColorPicker.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.ColorPicker(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.id = reader.string(); - break; - } - case 2: { - message.label = reader.string(); - break; - } - case 3: { - message["default"] = reader.string(); - break; - } - case 4: { - message.help = reader.string(); - break; - } - case 5: { - message.formId = reader.string(); - break; - } - case 6: { - message.value = reader.string(); - break; - } - case 7: { - message.setValue = reader.bool(); - break; - } - case 8: { - message.disabled = reader.bool(); - break; - } - case 9: { - message.labelVisibility = $root.LabelVisibilityMessage.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ColorPicker message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ColorPicker - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ColorPicker} ColorPicker - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ColorPicker.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ColorPicker message. - * @function verify - * @memberof ColorPicker - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ColorPicker.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isString(message.id)) - return "id: string expected"; - if (message.label != null && message.hasOwnProperty("label")) - if (!$util.isString(message.label)) - return "label: string expected"; - if (message["default"] != null && message.hasOwnProperty("default")) - if (!$util.isString(message["default"])) - return "default: string expected"; - if (message.help != null && message.hasOwnProperty("help")) - if (!$util.isString(message.help)) - return "help: string expected"; - if (message.formId != null && message.hasOwnProperty("formId")) - if (!$util.isString(message.formId)) - return "formId: string expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (!$util.isString(message.value)) - return "value: string expected"; - if (message.setValue != null && message.hasOwnProperty("setValue")) - if (typeof message.setValue !== "boolean") - return "setValue: boolean expected"; - if (message.disabled != null && message.hasOwnProperty("disabled")) - if (typeof message.disabled !== "boolean") - return "disabled: boolean expected"; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) { - let error = $root.LabelVisibilityMessage.verify(message.labelVisibility); - if (error) - return "labelVisibility." + error; - } - return null; - }; - - /** - * Creates a ColorPicker message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ColorPicker - * @static - * @param {Object.} object Plain object - * @returns {ColorPicker} ColorPicker - */ - ColorPicker.fromObject = function fromObject(object) { - if (object instanceof $root.ColorPicker) - return object; - let message = new $root.ColorPicker(); - if (object.id != null) - message.id = String(object.id); - if (object.label != null) - message.label = String(object.label); - if (object["default"] != null) - message["default"] = String(object["default"]); - if (object.help != null) - message.help = String(object.help); - if (object.formId != null) - message.formId = String(object.formId); - if (object.value != null) - message.value = String(object.value); - if (object.setValue != null) - message.setValue = Boolean(object.setValue); - if (object.disabled != null) - message.disabled = Boolean(object.disabled); - if (object.labelVisibility != null) { - if (typeof object.labelVisibility !== "object") - throw TypeError(".ColorPicker.labelVisibility: object expected"); - message.labelVisibility = $root.LabelVisibilityMessage.fromObject(object.labelVisibility); - } - return message; - }; - - /** - * Creates a plain object from a ColorPicker message. Also converts values to other types if specified. - * @function toObject - * @memberof ColorPicker - * @static - * @param {ColorPicker} message ColorPicker - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ColorPicker.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.id = ""; - object.label = ""; - object["default"] = ""; - object.help = ""; - object.formId = ""; - object.value = ""; - object.setValue = false; - object.disabled = false; - object.labelVisibility = null; - } - if (message.id != null && message.hasOwnProperty("id")) - object.id = message.id; - if (message.label != null && message.hasOwnProperty("label")) - object.label = message.label; - if (message["default"] != null && message.hasOwnProperty("default")) - object["default"] = message["default"]; - if (message.help != null && message.hasOwnProperty("help")) - object.help = message.help; - if (message.formId != null && message.hasOwnProperty("formId")) - object.formId = message.formId; - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - if (message.setValue != null && message.hasOwnProperty("setValue")) - object.setValue = message.setValue; - if (message.disabled != null && message.hasOwnProperty("disabled")) - object.disabled = message.disabled; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) - object.labelVisibility = $root.LabelVisibilityMessage.toObject(message.labelVisibility, options); - return object; - }; - - /** - * Converts this ColorPicker to JSON. - * @function toJSON - * @memberof ColorPicker - * @instance - * @returns {Object.} JSON object - */ - ColorPicker.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ColorPicker - * @function getTypeUrl - * @memberof ColorPicker - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ColorPicker.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ColorPicker"; - }; - - return ColorPicker; -})(); - -export const StringArray = $root.StringArray = (() => { - - /** - * Properties of a StringArray. - * @exports IStringArray - * @interface IStringArray - * @property {Array.|null} [data] StringArray data - */ - - /** - * Constructs a new StringArray. - * @exports StringArray - * @classdesc Represents a StringArray. - * @implements IStringArray - * @constructor - * @param {IStringArray=} [properties] Properties to set - */ - function StringArray(properties) { - this.data = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * StringArray data. - * @member {Array.} data - * @memberof StringArray - * @instance - */ - StringArray.prototype.data = $util.emptyArray; - - /** - * Creates a new StringArray instance using the specified properties. - * @function create - * @memberof StringArray - * @static - * @param {IStringArray=} [properties] Properties to set - * @returns {StringArray} StringArray instance - */ - StringArray.create = function create(properties) { - return new StringArray(properties); - }; - - /** - * Encodes the specified StringArray message. Does not implicitly {@link StringArray.verify|verify} messages. - * @function encode - * @memberof StringArray - * @static - * @param {IStringArray} message StringArray message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - StringArray.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.data != null && message.data.length) - for (let i = 0; i < message.data.length; ++i) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.data[i]); - return writer; - }; - - /** - * Encodes the specified StringArray message, length delimited. Does not implicitly {@link StringArray.verify|verify} messages. - * @function encodeDelimited - * @memberof StringArray - * @static - * @param {IStringArray} message StringArray message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - StringArray.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a StringArray message from the specified reader or buffer. - * @function decode - * @memberof StringArray - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {StringArray} StringArray - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - StringArray.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.StringArray(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message.data && message.data.length)) - message.data = []; - message.data.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a StringArray message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof StringArray - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {StringArray} StringArray - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - StringArray.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a StringArray message. - * @function verify - * @memberof StringArray - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - StringArray.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.data != null && message.hasOwnProperty("data")) { - if (!Array.isArray(message.data)) - return "data: array expected"; - for (let i = 0; i < message.data.length; ++i) - if (!$util.isString(message.data[i])) - return "data: string[] expected"; - } - return null; - }; - - /** - * Creates a StringArray message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof StringArray - * @static - * @param {Object.} object Plain object - * @returns {StringArray} StringArray - */ - StringArray.fromObject = function fromObject(object) { - if (object instanceof $root.StringArray) - return object; - let message = new $root.StringArray(); - if (object.data) { - if (!Array.isArray(object.data)) - throw TypeError(".StringArray.data: array expected"); - message.data = []; - for (let i = 0; i < object.data.length; ++i) - message.data[i] = String(object.data[i]); - } - return message; - }; - - /** - * Creates a plain object from a StringArray message. Also converts values to other types if specified. - * @function toObject - * @memberof StringArray - * @static - * @param {StringArray} message StringArray - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - StringArray.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.data = []; - if (message.data && message.data.length) { - object.data = []; - for (let j = 0; j < message.data.length; ++j) - object.data[j] = message.data[j]; - } - return object; - }; - - /** - * Converts this StringArray to JSON. - * @function toJSON - * @memberof StringArray - * @instance - * @returns {Object.} JSON object - */ - StringArray.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for StringArray - * @function getTypeUrl - * @memberof StringArray - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - StringArray.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/StringArray"; - }; - - return StringArray; -})(); - -export const DoubleArray = $root.DoubleArray = (() => { - - /** - * Properties of a DoubleArray. - * @exports IDoubleArray - * @interface IDoubleArray - * @property {Array.|null} [data] DoubleArray data - */ - - /** - * Constructs a new DoubleArray. - * @exports DoubleArray - * @classdesc Represents a DoubleArray. - * @implements IDoubleArray - * @constructor - * @param {IDoubleArray=} [properties] Properties to set - */ - function DoubleArray(properties) { - this.data = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * DoubleArray data. - * @member {Array.} data - * @memberof DoubleArray - * @instance - */ - DoubleArray.prototype.data = $util.emptyArray; - - /** - * Creates a new DoubleArray instance using the specified properties. - * @function create - * @memberof DoubleArray - * @static - * @param {IDoubleArray=} [properties] Properties to set - * @returns {DoubleArray} DoubleArray instance - */ - DoubleArray.create = function create(properties) { - return new DoubleArray(properties); - }; - - /** - * Encodes the specified DoubleArray message. Does not implicitly {@link DoubleArray.verify|verify} messages. - * @function encode - * @memberof DoubleArray - * @static - * @param {IDoubleArray} message DoubleArray message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - DoubleArray.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.data != null && message.data.length) { - writer.uint32(/* id 1, wireType 2 =*/10).fork(); - for (let i = 0; i < message.data.length; ++i) - writer.double(message.data[i]); - writer.ldelim(); - } - return writer; - }; - - /** - * Encodes the specified DoubleArray message, length delimited. Does not implicitly {@link DoubleArray.verify|verify} messages. - * @function encodeDelimited - * @memberof DoubleArray - * @static - * @param {IDoubleArray} message DoubleArray message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - DoubleArray.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a DoubleArray message from the specified reader or buffer. - * @function decode - * @memberof DoubleArray - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {DoubleArray} DoubleArray - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - DoubleArray.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.DoubleArray(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message.data && message.data.length)) - message.data = []; - if ((tag & 7) === 2) { - let end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) - message.data.push(reader.double()); - } else - message.data.push(reader.double()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a DoubleArray message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof DoubleArray - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {DoubleArray} DoubleArray - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - DoubleArray.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a DoubleArray message. - * @function verify - * @memberof DoubleArray - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - DoubleArray.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.data != null && message.hasOwnProperty("data")) { - if (!Array.isArray(message.data)) - return "data: array expected"; - for (let i = 0; i < message.data.length; ++i) - if (typeof message.data[i] !== "number") - return "data: number[] expected"; - } - return null; - }; - - /** - * Creates a DoubleArray message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof DoubleArray - * @static - * @param {Object.} object Plain object - * @returns {DoubleArray} DoubleArray - */ - DoubleArray.fromObject = function fromObject(object) { - if (object instanceof $root.DoubleArray) - return object; - let message = new $root.DoubleArray(); - if (object.data) { - if (!Array.isArray(object.data)) - throw TypeError(".DoubleArray.data: array expected"); - message.data = []; - for (let i = 0; i < object.data.length; ++i) - message.data[i] = Number(object.data[i]); - } - return message; - }; - - /** - * Creates a plain object from a DoubleArray message. Also converts values to other types if specified. - * @function toObject - * @memberof DoubleArray - * @static - * @param {DoubleArray} message DoubleArray - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - DoubleArray.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.data = []; - if (message.data && message.data.length) { - object.data = []; - for (let j = 0; j < message.data.length; ++j) - object.data[j] = options.json && !isFinite(message.data[j]) ? String(message.data[j]) : message.data[j]; - } - return object; - }; - - /** - * Converts this DoubleArray to JSON. - * @function toJSON - * @memberof DoubleArray - * @instance - * @returns {Object.} JSON object - */ - DoubleArray.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for DoubleArray - * @function getTypeUrl - * @memberof DoubleArray - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - DoubleArray.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/DoubleArray"; - }; - - return DoubleArray; -})(); - -export const Int32Array = $root.Int32Array = (() => { - - /** - * Properties of an Int32Array. - * @exports IInt32Array - * @interface IInt32Array - * @property {Array.|null} [data] Int32Array data - */ - - /** - * Constructs a new Int32Array. - * @exports Int32Array - * @classdesc Represents an Int32Array. - * @implements IInt32Array - * @constructor - * @param {IInt32Array=} [properties] Properties to set - */ - function Int32Array(properties) { - this.data = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Int32Array data. - * @member {Array.} data - * @memberof Int32Array - * @instance - */ - Int32Array.prototype.data = $util.emptyArray; - - /** - * Creates a new Int32Array instance using the specified properties. - * @function create - * @memberof Int32Array - * @static - * @param {IInt32Array=} [properties] Properties to set - * @returns {Int32Array} Int32Array instance - */ - Int32Array.create = function create(properties) { - return new Int32Array(properties); - }; - - /** - * Encodes the specified Int32Array message. Does not implicitly {@link Int32Array.verify|verify} messages. - * @function encode - * @memberof Int32Array - * @static - * @param {IInt32Array} message Int32Array message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Int32Array.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.data != null && message.data.length) { - writer.uint32(/* id 1, wireType 2 =*/10).fork(); - for (let i = 0; i < message.data.length; ++i) - writer.int32(message.data[i]); - writer.ldelim(); - } - return writer; - }; - - /** - * Encodes the specified Int32Array message, length delimited. Does not implicitly {@link Int32Array.verify|verify} messages. - * @function encodeDelimited - * @memberof Int32Array - * @static - * @param {IInt32Array} message Int32Array message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Int32Array.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an Int32Array message from the specified reader or buffer. - * @function decode - * @memberof Int32Array - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Int32Array} Int32Array - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Int32Array.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Int32Array(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message.data && message.data.length)) - message.data = []; - if ((tag & 7) === 2) { - let end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) - message.data.push(reader.int32()); - } else - message.data.push(reader.int32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an Int32Array message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Int32Array - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Int32Array} Int32Array - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Int32Array.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an Int32Array message. - * @function verify - * @memberof Int32Array - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Int32Array.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.data != null && message.hasOwnProperty("data")) { - if (!Array.isArray(message.data)) - return "data: array expected"; - for (let i = 0; i < message.data.length; ++i) - if (!$util.isInteger(message.data[i])) - return "data: integer[] expected"; - } - return null; - }; - - /** - * Creates an Int32Array message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Int32Array - * @static - * @param {Object.} object Plain object - * @returns {Int32Array} Int32Array - */ - Int32Array.fromObject = function fromObject(object) { - if (object instanceof $root.Int32Array) - return object; - let message = new $root.Int32Array(); - if (object.data) { - if (!Array.isArray(object.data)) - throw TypeError(".Int32Array.data: array expected"); - message.data = []; - for (let i = 0; i < object.data.length; ++i) - message.data[i] = object.data[i] | 0; - } - return message; - }; - - /** - * Creates a plain object from an Int32Array message. Also converts values to other types if specified. - * @function toObject - * @memberof Int32Array - * @static - * @param {Int32Array} message Int32Array - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Int32Array.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.data = []; - if (message.data && message.data.length) { - object.data = []; - for (let j = 0; j < message.data.length; ++j) - object.data[j] = message.data[j]; - } - return object; - }; - - /** - * Converts this Int32Array to JSON. - * @function toJSON - * @memberof Int32Array - * @instance - * @returns {Object.} JSON object - */ - Int32Array.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Int32Array - * @function getTypeUrl - * @memberof Int32Array - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Int32Array.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Int32Array"; - }; - - return Int32Array; -})(); - -export const Int64Array = $root.Int64Array = (() => { - - /** - * Properties of an Int64Array. - * @exports IInt64Array - * @interface IInt64Array - * @property {Array.|null} [data] Int64Array data - */ - - /** - * Constructs a new Int64Array. - * @exports Int64Array - * @classdesc Represents an Int64Array. - * @implements IInt64Array - * @constructor - * @param {IInt64Array=} [properties] Properties to set - */ - function Int64Array(properties) { - this.data = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Int64Array data. - * @member {Array.} data - * @memberof Int64Array - * @instance - */ - Int64Array.prototype.data = $util.emptyArray; - - /** - * Creates a new Int64Array instance using the specified properties. - * @function create - * @memberof Int64Array - * @static - * @param {IInt64Array=} [properties] Properties to set - * @returns {Int64Array} Int64Array instance - */ - Int64Array.create = function create(properties) { - return new Int64Array(properties); - }; - - /** - * Encodes the specified Int64Array message. Does not implicitly {@link Int64Array.verify|verify} messages. - * @function encode - * @memberof Int64Array - * @static - * @param {IInt64Array} message Int64Array message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Int64Array.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.data != null && message.data.length) { - writer.uint32(/* id 1, wireType 2 =*/10).fork(); - for (let i = 0; i < message.data.length; ++i) - writer.int64(message.data[i]); - writer.ldelim(); - } - return writer; - }; - - /** - * Encodes the specified Int64Array message, length delimited. Does not implicitly {@link Int64Array.verify|verify} messages. - * @function encodeDelimited - * @memberof Int64Array - * @static - * @param {IInt64Array} message Int64Array message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Int64Array.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an Int64Array message from the specified reader or buffer. - * @function decode - * @memberof Int64Array - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Int64Array} Int64Array - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Int64Array.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Int64Array(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message.data && message.data.length)) - message.data = []; - if ((tag & 7) === 2) { - let end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) - message.data.push(reader.int64()); - } else - message.data.push(reader.int64()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an Int64Array message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Int64Array - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Int64Array} Int64Array - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Int64Array.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an Int64Array message. - * @function verify - * @memberof Int64Array - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Int64Array.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.data != null && message.hasOwnProperty("data")) { - if (!Array.isArray(message.data)) - return "data: array expected"; - for (let i = 0; i < message.data.length; ++i) - if (!$util.isInteger(message.data[i]) && !(message.data[i] && $util.isInteger(message.data[i].low) && $util.isInteger(message.data[i].high))) - return "data: integer|Long[] expected"; - } - return null; - }; - - /** - * Creates an Int64Array message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Int64Array - * @static - * @param {Object.} object Plain object - * @returns {Int64Array} Int64Array - */ - Int64Array.fromObject = function fromObject(object) { - if (object instanceof $root.Int64Array) - return object; - let message = new $root.Int64Array(); - if (object.data) { - if (!Array.isArray(object.data)) - throw TypeError(".Int64Array.data: array expected"); - message.data = []; - for (let i = 0; i < object.data.length; ++i) - if ($util.Long) - (message.data[i] = $util.Long.fromValue(object.data[i])).unsigned = false; - else if (typeof object.data[i] === "string") - message.data[i] = parseInt(object.data[i], 10); - else if (typeof object.data[i] === "number") - message.data[i] = object.data[i]; - else if (typeof object.data[i] === "object") - message.data[i] = new $util.LongBits(object.data[i].low >>> 0, object.data[i].high >>> 0).toNumber(); - } - return message; - }; - - /** - * Creates a plain object from an Int64Array message. Also converts values to other types if specified. - * @function toObject - * @memberof Int64Array - * @static - * @param {Int64Array} message Int64Array - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Int64Array.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.data = []; - if (message.data && message.data.length) { - object.data = []; - for (let j = 0; j < message.data.length; ++j) - if (typeof message.data[j] === "number") - object.data[j] = options.longs === String ? String(message.data[j]) : message.data[j]; - else - object.data[j] = options.longs === String ? $util.Long.prototype.toString.call(message.data[j]) : options.longs === Number ? new $util.LongBits(message.data[j].low >>> 0, message.data[j].high >>> 0).toNumber() : message.data[j]; - } - return object; - }; - - /** - * Converts this Int64Array to JSON. - * @function toJSON - * @memberof Int64Array - * @instance - * @returns {Object.} JSON object - */ - Int64Array.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Int64Array - * @function getTypeUrl - * @memberof Int64Array - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Int64Array.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Int64Array"; - }; - - return Int64Array; -})(); - -export const SInt64Array = $root.SInt64Array = (() => { - - /** - * Properties of a SInt64Array. - * @exports ISInt64Array - * @interface ISInt64Array - * @property {Array.|null} [data] SInt64Array data - */ - - /** - * Constructs a new SInt64Array. - * @exports SInt64Array - * @classdesc Represents a SInt64Array. - * @implements ISInt64Array - * @constructor - * @param {ISInt64Array=} [properties] Properties to set - */ - function SInt64Array(properties) { - this.data = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * SInt64Array data. - * @member {Array.} data - * @memberof SInt64Array - * @instance - */ - SInt64Array.prototype.data = $util.emptyArray; - - /** - * Creates a new SInt64Array instance using the specified properties. - * @function create - * @memberof SInt64Array - * @static - * @param {ISInt64Array=} [properties] Properties to set - * @returns {SInt64Array} SInt64Array instance - */ - SInt64Array.create = function create(properties) { - return new SInt64Array(properties); - }; - - /** - * Encodes the specified SInt64Array message. Does not implicitly {@link SInt64Array.verify|verify} messages. - * @function encode - * @memberof SInt64Array - * @static - * @param {ISInt64Array} message SInt64Array message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SInt64Array.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.data != null && message.data.length) { - writer.uint32(/* id 1, wireType 2 =*/10).fork(); - for (let i = 0; i < message.data.length; ++i) - writer.sint64(message.data[i]); - writer.ldelim(); - } - return writer; - }; - - /** - * Encodes the specified SInt64Array message, length delimited. Does not implicitly {@link SInt64Array.verify|verify} messages. - * @function encodeDelimited - * @memberof SInt64Array - * @static - * @param {ISInt64Array} message SInt64Array message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SInt64Array.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a SInt64Array message from the specified reader or buffer. - * @function decode - * @memberof SInt64Array - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {SInt64Array} SInt64Array - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SInt64Array.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.SInt64Array(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message.data && message.data.length)) - message.data = []; - if ((tag & 7) === 2) { - let end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) - message.data.push(reader.sint64()); - } else - message.data.push(reader.sint64()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a SInt64Array message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof SInt64Array - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {SInt64Array} SInt64Array - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SInt64Array.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a SInt64Array message. - * @function verify - * @memberof SInt64Array - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - SInt64Array.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.data != null && message.hasOwnProperty("data")) { - if (!Array.isArray(message.data)) - return "data: array expected"; - for (let i = 0; i < message.data.length; ++i) - if (!$util.isInteger(message.data[i]) && !(message.data[i] && $util.isInteger(message.data[i].low) && $util.isInteger(message.data[i].high))) - return "data: integer|Long[] expected"; - } - return null; - }; - - /** - * Creates a SInt64Array message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof SInt64Array - * @static - * @param {Object.} object Plain object - * @returns {SInt64Array} SInt64Array - */ - SInt64Array.fromObject = function fromObject(object) { - if (object instanceof $root.SInt64Array) - return object; - let message = new $root.SInt64Array(); - if (object.data) { - if (!Array.isArray(object.data)) - throw TypeError(".SInt64Array.data: array expected"); - message.data = []; - for (let i = 0; i < object.data.length; ++i) - if ($util.Long) - (message.data[i] = $util.Long.fromValue(object.data[i])).unsigned = false; - else if (typeof object.data[i] === "string") - message.data[i] = parseInt(object.data[i], 10); - else if (typeof object.data[i] === "number") - message.data[i] = object.data[i]; - else if (typeof object.data[i] === "object") - message.data[i] = new $util.LongBits(object.data[i].low >>> 0, object.data[i].high >>> 0).toNumber(); - } - return message; - }; - - /** - * Creates a plain object from a SInt64Array message. Also converts values to other types if specified. - * @function toObject - * @memberof SInt64Array - * @static - * @param {SInt64Array} message SInt64Array - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - SInt64Array.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.data = []; - if (message.data && message.data.length) { - object.data = []; - for (let j = 0; j < message.data.length; ++j) - if (typeof message.data[j] === "number") - object.data[j] = options.longs === String ? String(message.data[j]) : message.data[j]; - else - object.data[j] = options.longs === String ? $util.Long.prototype.toString.call(message.data[j]) : options.longs === Number ? new $util.LongBits(message.data[j].low >>> 0, message.data[j].high >>> 0).toNumber() : message.data[j]; - } - return object; - }; - - /** - * Converts this SInt64Array to JSON. - * @function toJSON - * @memberof SInt64Array - * @instance - * @returns {Object.} JSON object - */ - SInt64Array.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for SInt64Array - * @function getTypeUrl - * @memberof SInt64Array - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - SInt64Array.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/SInt64Array"; - }; - - return SInt64Array; -})(); - -export const UInt32Array = $root.UInt32Array = (() => { - - /** - * Properties of a UInt32Array. - * @exports IUInt32Array - * @interface IUInt32Array - * @property {Array.|null} [data] UInt32Array data - */ - - /** - * Constructs a new UInt32Array. - * @exports UInt32Array - * @classdesc Represents a UInt32Array. - * @implements IUInt32Array - * @constructor - * @param {IUInt32Array=} [properties] Properties to set - */ - function UInt32Array(properties) { - this.data = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * UInt32Array data. - * @member {Array.} data - * @memberof UInt32Array - * @instance - */ - UInt32Array.prototype.data = $util.emptyArray; - - /** - * Creates a new UInt32Array instance using the specified properties. - * @function create - * @memberof UInt32Array - * @static - * @param {IUInt32Array=} [properties] Properties to set - * @returns {UInt32Array} UInt32Array instance - */ - UInt32Array.create = function create(properties) { - return new UInt32Array(properties); - }; - - /** - * Encodes the specified UInt32Array message. Does not implicitly {@link UInt32Array.verify|verify} messages. - * @function encode - * @memberof UInt32Array - * @static - * @param {IUInt32Array} message UInt32Array message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - UInt32Array.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.data != null && message.data.length) { - writer.uint32(/* id 1, wireType 2 =*/10).fork(); - for (let i = 0; i < message.data.length; ++i) - writer.uint32(message.data[i]); - writer.ldelim(); - } - return writer; - }; - - /** - * Encodes the specified UInt32Array message, length delimited. Does not implicitly {@link UInt32Array.verify|verify} messages. - * @function encodeDelimited - * @memberof UInt32Array - * @static - * @param {IUInt32Array} message UInt32Array message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - UInt32Array.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a UInt32Array message from the specified reader or buffer. - * @function decode - * @memberof UInt32Array - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {UInt32Array} UInt32Array - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - UInt32Array.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.UInt32Array(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message.data && message.data.length)) - message.data = []; - if ((tag & 7) === 2) { - let end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) - message.data.push(reader.uint32()); - } else - message.data.push(reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a UInt32Array message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof UInt32Array - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {UInt32Array} UInt32Array - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - UInt32Array.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a UInt32Array message. - * @function verify - * @memberof UInt32Array - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - UInt32Array.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.data != null && message.hasOwnProperty("data")) { - if (!Array.isArray(message.data)) - return "data: array expected"; - for (let i = 0; i < message.data.length; ++i) - if (!$util.isInteger(message.data[i])) - return "data: integer[] expected"; - } - return null; - }; - - /** - * Creates a UInt32Array message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof UInt32Array - * @static - * @param {Object.} object Plain object - * @returns {UInt32Array} UInt32Array - */ - UInt32Array.fromObject = function fromObject(object) { - if (object instanceof $root.UInt32Array) - return object; - let message = new $root.UInt32Array(); - if (object.data) { - if (!Array.isArray(object.data)) - throw TypeError(".UInt32Array.data: array expected"); - message.data = []; - for (let i = 0; i < object.data.length; ++i) - message.data[i] = object.data[i] >>> 0; - } - return message; - }; - - /** - * Creates a plain object from a UInt32Array message. Also converts values to other types if specified. - * @function toObject - * @memberof UInt32Array - * @static - * @param {UInt32Array} message UInt32Array - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - UInt32Array.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.data = []; - if (message.data && message.data.length) { - object.data = []; - for (let j = 0; j < message.data.length; ++j) - object.data[j] = message.data[j]; - } - return object; - }; - - /** - * Converts this UInt32Array to JSON. - * @function toJSON - * @memberof UInt32Array - * @instance - * @returns {Object.} JSON object - */ - UInt32Array.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for UInt32Array - * @function getTypeUrl - * @memberof UInt32Array - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - UInt32Array.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/UInt32Array"; - }; - - return UInt32Array; -})(); - -export const UploadedFileInfo = $root.UploadedFileInfo = (() => { - - /** - * Properties of an UploadedFileInfo. - * @exports IUploadedFileInfo - * @interface IUploadedFileInfo - * @property {number|Long|null} [id] UploadedFileInfo id - * @property {string|null} [name] UploadedFileInfo name - * @property {number|null} [size] UploadedFileInfo size - */ - - /** - * Constructs a new UploadedFileInfo. - * @exports UploadedFileInfo - * @classdesc Represents an UploadedFileInfo. - * @implements IUploadedFileInfo - * @constructor - * @param {IUploadedFileInfo=} [properties] Properties to set - */ - function UploadedFileInfo(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * UploadedFileInfo id. - * @member {number|Long} id - * @memberof UploadedFileInfo - * @instance - */ - UploadedFileInfo.prototype.id = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - - /** - * UploadedFileInfo name. - * @member {string} name - * @memberof UploadedFileInfo - * @instance - */ - UploadedFileInfo.prototype.name = ""; - - /** - * UploadedFileInfo size. - * @member {number} size - * @memberof UploadedFileInfo - * @instance - */ - UploadedFileInfo.prototype.size = 0; - - /** - * Creates a new UploadedFileInfo instance using the specified properties. - * @function create - * @memberof UploadedFileInfo - * @static - * @param {IUploadedFileInfo=} [properties] Properties to set - * @returns {UploadedFileInfo} UploadedFileInfo instance - */ - UploadedFileInfo.create = function create(properties) { - return new UploadedFileInfo(properties); - }; - - /** - * Encodes the specified UploadedFileInfo message. Does not implicitly {@link UploadedFileInfo.verify|verify} messages. - * @function encode - * @memberof UploadedFileInfo - * @static - * @param {IUploadedFileInfo} message UploadedFileInfo message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - UploadedFileInfo.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.id != null && Object.hasOwnProperty.call(message, "id")) - writer.uint32(/* id 1, wireType 0 =*/8).sint64(message.id); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.name); - if (message.size != null && Object.hasOwnProperty.call(message, "size")) - writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.size); - return writer; - }; - - /** - * Encodes the specified UploadedFileInfo message, length delimited. Does not implicitly {@link UploadedFileInfo.verify|verify} messages. - * @function encodeDelimited - * @memberof UploadedFileInfo - * @static - * @param {IUploadedFileInfo} message UploadedFileInfo message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - UploadedFileInfo.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an UploadedFileInfo message from the specified reader or buffer. - * @function decode - * @memberof UploadedFileInfo - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {UploadedFileInfo} UploadedFileInfo - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - UploadedFileInfo.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.UploadedFileInfo(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.id = reader.sint64(); - break; - } - case 2: { - message.name = reader.string(); - break; - } - case 3: { - message.size = reader.uint32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an UploadedFileInfo message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof UploadedFileInfo - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {UploadedFileInfo} UploadedFileInfo - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - UploadedFileInfo.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an UploadedFileInfo message. - * @function verify - * @memberof UploadedFileInfo - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - UploadedFileInfo.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isInteger(message.id) && !(message.id && $util.isInteger(message.id.low) && $util.isInteger(message.id.high))) - return "id: integer|Long expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.size != null && message.hasOwnProperty("size")) - if (!$util.isInteger(message.size)) - return "size: integer expected"; - return null; - }; - - /** - * Creates an UploadedFileInfo message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof UploadedFileInfo - * @static - * @param {Object.} object Plain object - * @returns {UploadedFileInfo} UploadedFileInfo - */ - UploadedFileInfo.fromObject = function fromObject(object) { - if (object instanceof $root.UploadedFileInfo) - return object; - let message = new $root.UploadedFileInfo(); - if (object.id != null) - if ($util.Long) - (message.id = $util.Long.fromValue(object.id)).unsigned = false; - else if (typeof object.id === "string") - message.id = parseInt(object.id, 10); - else if (typeof object.id === "number") - message.id = object.id; - else if (typeof object.id === "object") - message.id = new $util.LongBits(object.id.low >>> 0, object.id.high >>> 0).toNumber(); - if (object.name != null) - message.name = String(object.name); - if (object.size != null) - message.size = object.size >>> 0; - return message; - }; - - /** - * Creates a plain object from an UploadedFileInfo message. Also converts values to other types if specified. - * @function toObject - * @memberof UploadedFileInfo - * @static - * @param {UploadedFileInfo} message UploadedFileInfo - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - UploadedFileInfo.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - if ($util.Long) { - let long = new $util.Long(0, 0, false); - object.id = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; - } else - object.id = options.longs === String ? "0" : 0; - object.name = ""; - object.size = 0; - } - if (message.id != null && message.hasOwnProperty("id")) - if (typeof message.id === "number") - object.id = options.longs === String ? String(message.id) : message.id; - else - object.id = options.longs === String ? $util.Long.prototype.toString.call(message.id) : options.longs === Number ? new $util.LongBits(message.id.low >>> 0, message.id.high >>> 0).toNumber() : message.id; - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; - if (message.size != null && message.hasOwnProperty("size")) - object.size = message.size; - return object; - }; - - /** - * Converts this UploadedFileInfo to JSON. - * @function toJSON - * @memberof UploadedFileInfo - * @instance - * @returns {Object.} JSON object - */ - UploadedFileInfo.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for UploadedFileInfo - * @function getTypeUrl - * @memberof UploadedFileInfo - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - UploadedFileInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/UploadedFileInfo"; - }; - - return UploadedFileInfo; -})(); - -export const FileUploaderState = $root.FileUploaderState = (() => { - - /** - * Properties of a FileUploaderState. - * @exports IFileUploaderState - * @interface IFileUploaderState - * @property {number|Long|null} [maxFileId] FileUploaderState maxFileId - * @property {Array.|null} [uploadedFileInfo] FileUploaderState uploadedFileInfo - */ - - /** - * Constructs a new FileUploaderState. - * @exports FileUploaderState - * @classdesc Represents a FileUploaderState. - * @implements IFileUploaderState - * @constructor - * @param {IFileUploaderState=} [properties] Properties to set - */ - function FileUploaderState(properties) { - this.uploadedFileInfo = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * FileUploaderState maxFileId. - * @member {number|Long} maxFileId - * @memberof FileUploaderState - * @instance - */ - FileUploaderState.prototype.maxFileId = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - - /** - * FileUploaderState uploadedFileInfo. - * @member {Array.} uploadedFileInfo - * @memberof FileUploaderState - * @instance - */ - FileUploaderState.prototype.uploadedFileInfo = $util.emptyArray; - - /** - * Creates a new FileUploaderState instance using the specified properties. - * @function create - * @memberof FileUploaderState - * @static - * @param {IFileUploaderState=} [properties] Properties to set - * @returns {FileUploaderState} FileUploaderState instance - */ - FileUploaderState.create = function create(properties) { - return new FileUploaderState(properties); - }; - - /** - * Encodes the specified FileUploaderState message. Does not implicitly {@link FileUploaderState.verify|verify} messages. - * @function encode - * @memberof FileUploaderState - * @static - * @param {IFileUploaderState} message FileUploaderState message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FileUploaderState.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.maxFileId != null && Object.hasOwnProperty.call(message, "maxFileId")) - writer.uint32(/* id 1, wireType 0 =*/8).sint64(message.maxFileId); - if (message.uploadedFileInfo != null && message.uploadedFileInfo.length) - for (let i = 0; i < message.uploadedFileInfo.length; ++i) - $root.UploadedFileInfo.encode(message.uploadedFileInfo[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified FileUploaderState message, length delimited. Does not implicitly {@link FileUploaderState.verify|verify} messages. - * @function encodeDelimited - * @memberof FileUploaderState - * @static - * @param {IFileUploaderState} message FileUploaderState message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FileUploaderState.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a FileUploaderState message from the specified reader or buffer. - * @function decode - * @memberof FileUploaderState - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {FileUploaderState} FileUploaderState - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FileUploaderState.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.FileUploaderState(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.maxFileId = reader.sint64(); - break; - } - case 2: { - if (!(message.uploadedFileInfo && message.uploadedFileInfo.length)) - message.uploadedFileInfo = []; - message.uploadedFileInfo.push($root.UploadedFileInfo.decode(reader, reader.uint32())); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a FileUploaderState message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof FileUploaderState - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {FileUploaderState} FileUploaderState - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FileUploaderState.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a FileUploaderState message. - * @function verify - * @memberof FileUploaderState - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - FileUploaderState.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.maxFileId != null && message.hasOwnProperty("maxFileId")) - if (!$util.isInteger(message.maxFileId) && !(message.maxFileId && $util.isInteger(message.maxFileId.low) && $util.isInteger(message.maxFileId.high))) - return "maxFileId: integer|Long expected"; - if (message.uploadedFileInfo != null && message.hasOwnProperty("uploadedFileInfo")) { - if (!Array.isArray(message.uploadedFileInfo)) - return "uploadedFileInfo: array expected"; - for (let i = 0; i < message.uploadedFileInfo.length; ++i) { - let error = $root.UploadedFileInfo.verify(message.uploadedFileInfo[i]); - if (error) - return "uploadedFileInfo." + error; - } - } - return null; - }; - - /** - * Creates a FileUploaderState message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof FileUploaderState - * @static - * @param {Object.} object Plain object - * @returns {FileUploaderState} FileUploaderState - */ - FileUploaderState.fromObject = function fromObject(object) { - if (object instanceof $root.FileUploaderState) - return object; - let message = new $root.FileUploaderState(); - if (object.maxFileId != null) - if ($util.Long) - (message.maxFileId = $util.Long.fromValue(object.maxFileId)).unsigned = false; - else if (typeof object.maxFileId === "string") - message.maxFileId = parseInt(object.maxFileId, 10); - else if (typeof object.maxFileId === "number") - message.maxFileId = object.maxFileId; - else if (typeof object.maxFileId === "object") - message.maxFileId = new $util.LongBits(object.maxFileId.low >>> 0, object.maxFileId.high >>> 0).toNumber(); - if (object.uploadedFileInfo) { - if (!Array.isArray(object.uploadedFileInfo)) - throw TypeError(".FileUploaderState.uploadedFileInfo: array expected"); - message.uploadedFileInfo = []; - for (let i = 0; i < object.uploadedFileInfo.length; ++i) { - if (typeof object.uploadedFileInfo[i] !== "object") - throw TypeError(".FileUploaderState.uploadedFileInfo: object expected"); - message.uploadedFileInfo[i] = $root.UploadedFileInfo.fromObject(object.uploadedFileInfo[i]); - } - } - return message; - }; - - /** - * Creates a plain object from a FileUploaderState message. Also converts values to other types if specified. - * @function toObject - * @memberof FileUploaderState - * @static - * @param {FileUploaderState} message FileUploaderState - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - FileUploaderState.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.uploadedFileInfo = []; - if (options.defaults) - if ($util.Long) { - let long = new $util.Long(0, 0, false); - object.maxFileId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; - } else - object.maxFileId = options.longs === String ? "0" : 0; - if (message.maxFileId != null && message.hasOwnProperty("maxFileId")) - if (typeof message.maxFileId === "number") - object.maxFileId = options.longs === String ? String(message.maxFileId) : message.maxFileId; - else - object.maxFileId = options.longs === String ? $util.Long.prototype.toString.call(message.maxFileId) : options.longs === Number ? new $util.LongBits(message.maxFileId.low >>> 0, message.maxFileId.high >>> 0).toNumber() : message.maxFileId; - if (message.uploadedFileInfo && message.uploadedFileInfo.length) { - object.uploadedFileInfo = []; - for (let j = 0; j < message.uploadedFileInfo.length; ++j) - object.uploadedFileInfo[j] = $root.UploadedFileInfo.toObject(message.uploadedFileInfo[j], options); - } - return object; - }; - - /** - * Converts this FileUploaderState to JSON. - * @function toJSON - * @memberof FileUploaderState - * @instance - * @returns {Object.} JSON object - */ - FileUploaderState.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for FileUploaderState - * @function getTypeUrl - * @memberof FileUploaderState - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - FileUploaderState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/FileUploaderState"; - }; - - return FileUploaderState; -})(); - -export const ComponentInstance = $root.ComponentInstance = (() => { - - /** - * Properties of a ComponentInstance. - * @exports IComponentInstance - * @interface IComponentInstance - * @property {string|null} [id] ComponentInstance id - * @property {string|null} [jsonArgs] ComponentInstance jsonArgs - * @property {Array.|null} [specialArgs] ComponentInstance specialArgs - * @property {string|null} [componentName] ComponentInstance componentName - * @property {string|null} [url] ComponentInstance url - * @property {string|null} [formId] ComponentInstance formId - */ - - /** - * Constructs a new ComponentInstance. - * @exports ComponentInstance - * @classdesc Represents a ComponentInstance. - * @implements IComponentInstance - * @constructor - * @param {IComponentInstance=} [properties] Properties to set - */ - function ComponentInstance(properties) { - this.specialArgs = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ComponentInstance id. - * @member {string} id - * @memberof ComponentInstance - * @instance - */ - ComponentInstance.prototype.id = ""; - - /** - * ComponentInstance jsonArgs. - * @member {string} jsonArgs - * @memberof ComponentInstance - * @instance - */ - ComponentInstance.prototype.jsonArgs = ""; - - /** - * ComponentInstance specialArgs. - * @member {Array.} specialArgs - * @memberof ComponentInstance - * @instance - */ - ComponentInstance.prototype.specialArgs = $util.emptyArray; - - /** - * ComponentInstance componentName. - * @member {string} componentName - * @memberof ComponentInstance - * @instance - */ - ComponentInstance.prototype.componentName = ""; - - /** - * ComponentInstance url. - * @member {string} url - * @memberof ComponentInstance - * @instance - */ - ComponentInstance.prototype.url = ""; - - /** - * ComponentInstance formId. - * @member {string} formId - * @memberof ComponentInstance - * @instance - */ - ComponentInstance.prototype.formId = ""; - - /** - * Creates a new ComponentInstance instance using the specified properties. - * @function create - * @memberof ComponentInstance - * @static - * @param {IComponentInstance=} [properties] Properties to set - * @returns {ComponentInstance} ComponentInstance instance - */ - ComponentInstance.create = function create(properties) { - return new ComponentInstance(properties); - }; - - /** - * Encodes the specified ComponentInstance message. Does not implicitly {@link ComponentInstance.verify|verify} messages. - * @function encode - * @memberof ComponentInstance - * @static - * @param {IComponentInstance} message ComponentInstance message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ComponentInstance.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.id != null && Object.hasOwnProperty.call(message, "id")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); - if (message.jsonArgs != null && Object.hasOwnProperty.call(message, "jsonArgs")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.jsonArgs); - if (message.specialArgs != null && message.specialArgs.length) - for (let i = 0; i < message.specialArgs.length; ++i) - $root.SpecialArg.encode(message.specialArgs[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.componentName != null && Object.hasOwnProperty.call(message, "componentName")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.componentName); - if (message.url != null && Object.hasOwnProperty.call(message, "url")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.url); - if (message.formId != null && Object.hasOwnProperty.call(message, "formId")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.formId); - return writer; - }; - - /** - * Encodes the specified ComponentInstance message, length delimited. Does not implicitly {@link ComponentInstance.verify|verify} messages. - * @function encodeDelimited - * @memberof ComponentInstance - * @static - * @param {IComponentInstance} message ComponentInstance message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ComponentInstance.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ComponentInstance message from the specified reader or buffer. - * @function decode - * @memberof ComponentInstance - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ComponentInstance} ComponentInstance - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ComponentInstance.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.ComponentInstance(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.id = reader.string(); - break; - } - case 2: { - message.jsonArgs = reader.string(); - break; - } - case 3: { - if (!(message.specialArgs && message.specialArgs.length)) - message.specialArgs = []; - message.specialArgs.push($root.SpecialArg.decode(reader, reader.uint32())); - break; - } - case 4: { - message.componentName = reader.string(); - break; - } - case 5: { - message.url = reader.string(); - break; - } - case 6: { - message.formId = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ComponentInstance message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ComponentInstance - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ComponentInstance} ComponentInstance - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ComponentInstance.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ComponentInstance message. - * @function verify - * @memberof ComponentInstance - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ComponentInstance.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isString(message.id)) - return "id: string expected"; - if (message.jsonArgs != null && message.hasOwnProperty("jsonArgs")) - if (!$util.isString(message.jsonArgs)) - return "jsonArgs: string expected"; - if (message.specialArgs != null && message.hasOwnProperty("specialArgs")) { - if (!Array.isArray(message.specialArgs)) - return "specialArgs: array expected"; - for (let i = 0; i < message.specialArgs.length; ++i) { - let error = $root.SpecialArg.verify(message.specialArgs[i]); - if (error) - return "specialArgs." + error; - } - } - if (message.componentName != null && message.hasOwnProperty("componentName")) - if (!$util.isString(message.componentName)) - return "componentName: string expected"; - if (message.url != null && message.hasOwnProperty("url")) - if (!$util.isString(message.url)) - return "url: string expected"; - if (message.formId != null && message.hasOwnProperty("formId")) - if (!$util.isString(message.formId)) - return "formId: string expected"; - return null; - }; - - /** - * Creates a ComponentInstance message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ComponentInstance - * @static - * @param {Object.} object Plain object - * @returns {ComponentInstance} ComponentInstance - */ - ComponentInstance.fromObject = function fromObject(object) { - if (object instanceof $root.ComponentInstance) - return object; - let message = new $root.ComponentInstance(); - if (object.id != null) - message.id = String(object.id); - if (object.jsonArgs != null) - message.jsonArgs = String(object.jsonArgs); - if (object.specialArgs) { - if (!Array.isArray(object.specialArgs)) - throw TypeError(".ComponentInstance.specialArgs: array expected"); - message.specialArgs = []; - for (let i = 0; i < object.specialArgs.length; ++i) { - if (typeof object.specialArgs[i] !== "object") - throw TypeError(".ComponentInstance.specialArgs: object expected"); - message.specialArgs[i] = $root.SpecialArg.fromObject(object.specialArgs[i]); - } - } - if (object.componentName != null) - message.componentName = String(object.componentName); - if (object.url != null) - message.url = String(object.url); - if (object.formId != null) - message.formId = String(object.formId); - return message; - }; - - /** - * Creates a plain object from a ComponentInstance message. Also converts values to other types if specified. - * @function toObject - * @memberof ComponentInstance - * @static - * @param {ComponentInstance} message ComponentInstance - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ComponentInstance.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.specialArgs = []; - if (options.defaults) { - object.id = ""; - object.jsonArgs = ""; - object.componentName = ""; - object.url = ""; - object.formId = ""; - } - if (message.id != null && message.hasOwnProperty("id")) - object.id = message.id; - if (message.jsonArgs != null && message.hasOwnProperty("jsonArgs")) - object.jsonArgs = message.jsonArgs; - if (message.specialArgs && message.specialArgs.length) { - object.specialArgs = []; - for (let j = 0; j < message.specialArgs.length; ++j) - object.specialArgs[j] = $root.SpecialArg.toObject(message.specialArgs[j], options); - } - if (message.componentName != null && message.hasOwnProperty("componentName")) - object.componentName = message.componentName; - if (message.url != null && message.hasOwnProperty("url")) - object.url = message.url; - if (message.formId != null && message.hasOwnProperty("formId")) - object.formId = message.formId; - return object; - }; - - /** - * Converts this ComponentInstance to JSON. - * @function toJSON - * @memberof ComponentInstance - * @instance - * @returns {Object.} JSON object - */ - ComponentInstance.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ComponentInstance - * @function getTypeUrl - * @memberof ComponentInstance - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ComponentInstance.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ComponentInstance"; - }; - - return ComponentInstance; -})(); - -export const SpecialArg = $root.SpecialArg = (() => { - - /** - * Properties of a SpecialArg. - * @exports ISpecialArg - * @interface ISpecialArg - * @property {string|null} [key] SpecialArg key - * @property {IArrowDataframe|null} [arrowDataframe] SpecialArg arrowDataframe - * @property {Uint8Array|null} [bytes] SpecialArg bytes - */ - - /** - * Constructs a new SpecialArg. - * @exports SpecialArg - * @classdesc Represents a SpecialArg. - * @implements ISpecialArg - * @constructor - * @param {ISpecialArg=} [properties] Properties to set - */ - function SpecialArg(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * SpecialArg key. - * @member {string} key - * @memberof SpecialArg - * @instance - */ - SpecialArg.prototype.key = ""; - - /** - * SpecialArg arrowDataframe. - * @member {IArrowDataframe|null|undefined} arrowDataframe - * @memberof SpecialArg - * @instance - */ - SpecialArg.prototype.arrowDataframe = null; - - /** - * SpecialArg bytes. - * @member {Uint8Array|null|undefined} bytes - * @memberof SpecialArg - * @instance - */ - SpecialArg.prototype.bytes = null; - - // OneOf field names bound to virtual getters and setters - let $oneOfFields; - - /** - * SpecialArg value. - * @member {"arrowDataframe"|"bytes"|undefined} value - * @memberof SpecialArg - * @instance - */ - Object.defineProperty(SpecialArg.prototype, "value", { - get: $util.oneOfGetter($oneOfFields = ["arrowDataframe", "bytes"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new SpecialArg instance using the specified properties. - * @function create - * @memberof SpecialArg - * @static - * @param {ISpecialArg=} [properties] Properties to set - * @returns {SpecialArg} SpecialArg instance - */ - SpecialArg.create = function create(properties) { - return new SpecialArg(properties); - }; - - /** - * Encodes the specified SpecialArg message. Does not implicitly {@link SpecialArg.verify|verify} messages. - * @function encode - * @memberof SpecialArg - * @static - * @param {ISpecialArg} message SpecialArg message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SpecialArg.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.key != null && Object.hasOwnProperty.call(message, "key")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.key); - if (message.arrowDataframe != null && Object.hasOwnProperty.call(message, "arrowDataframe")) - $root.ArrowDataframe.encode(message.arrowDataframe, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.bytes != null && Object.hasOwnProperty.call(message, "bytes")) - writer.uint32(/* id 3, wireType 2 =*/26).bytes(message.bytes); - return writer; - }; - - /** - * Encodes the specified SpecialArg message, length delimited. Does not implicitly {@link SpecialArg.verify|verify} messages. - * @function encodeDelimited - * @memberof SpecialArg - * @static - * @param {ISpecialArg} message SpecialArg message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SpecialArg.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a SpecialArg message from the specified reader or buffer. - * @function decode - * @memberof SpecialArg - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {SpecialArg} SpecialArg - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SpecialArg.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.SpecialArg(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.key = reader.string(); - break; - } - case 2: { - message.arrowDataframe = $root.ArrowDataframe.decode(reader, reader.uint32()); - break; - } - case 3: { - message.bytes = reader.bytes(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a SpecialArg message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof SpecialArg - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {SpecialArg} SpecialArg - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SpecialArg.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a SpecialArg message. - * @function verify - * @memberof SpecialArg - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - SpecialArg.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - let properties = {}; - if (message.key != null && message.hasOwnProperty("key")) - if (!$util.isString(message.key)) - return "key: string expected"; - if (message.arrowDataframe != null && message.hasOwnProperty("arrowDataframe")) { - properties.value = 1; - { - let error = $root.ArrowDataframe.verify(message.arrowDataframe); - if (error) - return "arrowDataframe." + error; - } - } - if (message.bytes != null && message.hasOwnProperty("bytes")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - if (!(message.bytes && typeof message.bytes.length === "number" || $util.isString(message.bytes))) - return "bytes: buffer expected"; - } - return null; - }; - - /** - * Creates a SpecialArg message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof SpecialArg - * @static - * @param {Object.} object Plain object - * @returns {SpecialArg} SpecialArg - */ - SpecialArg.fromObject = function fromObject(object) { - if (object instanceof $root.SpecialArg) - return object; - let message = new $root.SpecialArg(); - if (object.key != null) - message.key = String(object.key); - if (object.arrowDataframe != null) { - if (typeof object.arrowDataframe !== "object") - throw TypeError(".SpecialArg.arrowDataframe: object expected"); - message.arrowDataframe = $root.ArrowDataframe.fromObject(object.arrowDataframe); - } - if (object.bytes != null) - if (typeof object.bytes === "string") - $util.base64.decode(object.bytes, message.bytes = $util.newBuffer($util.base64.length(object.bytes)), 0); - else if (object.bytes.length >= 0) - message.bytes = object.bytes; - return message; - }; - - /** - * Creates a plain object from a SpecialArg message. Also converts values to other types if specified. - * @function toObject - * @memberof SpecialArg - * @static - * @param {SpecialArg} message SpecialArg - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - SpecialArg.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) - object.key = ""; - if (message.key != null && message.hasOwnProperty("key")) - object.key = message.key; - if (message.arrowDataframe != null && message.hasOwnProperty("arrowDataframe")) { - object.arrowDataframe = $root.ArrowDataframe.toObject(message.arrowDataframe, options); - if (options.oneofs) - object.value = "arrowDataframe"; - } - if (message.bytes != null && message.hasOwnProperty("bytes")) { - object.bytes = options.bytes === String ? $util.base64.encode(message.bytes, 0, message.bytes.length) : options.bytes === Array ? Array.prototype.slice.call(message.bytes) : message.bytes; - if (options.oneofs) - object.value = "bytes"; - } - return object; - }; - - /** - * Converts this SpecialArg to JSON. - * @function toJSON - * @memberof SpecialArg - * @instance - * @returns {Object.} JSON object - */ - SpecialArg.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for SpecialArg - * @function getTypeUrl - * @memberof SpecialArg - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - SpecialArg.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/SpecialArg"; - }; - - return SpecialArg; -})(); - -export const ArrowDataframe = $root.ArrowDataframe = (() => { - - /** - * Properties of an ArrowDataframe. - * @exports IArrowDataframe - * @interface IArrowDataframe - * @property {IArrowTable|null} [data] ArrowDataframe data - * @property {number|null} [height] ArrowDataframe height - * @property {number|null} [width] ArrowDataframe width - */ - - /** - * Constructs a new ArrowDataframe. - * @exports ArrowDataframe - * @classdesc Represents an ArrowDataframe. - * @implements IArrowDataframe - * @constructor - * @param {IArrowDataframe=} [properties] Properties to set - */ - function ArrowDataframe(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ArrowDataframe data. - * @member {IArrowTable|null|undefined} data - * @memberof ArrowDataframe - * @instance - */ - ArrowDataframe.prototype.data = null; - - /** - * ArrowDataframe height. - * @member {number} height - * @memberof ArrowDataframe - * @instance - */ - ArrowDataframe.prototype.height = 0; - - /** - * ArrowDataframe width. - * @member {number} width - * @memberof ArrowDataframe - * @instance - */ - ArrowDataframe.prototype.width = 0; - - /** - * Creates a new ArrowDataframe instance using the specified properties. - * @function create - * @memberof ArrowDataframe - * @static - * @param {IArrowDataframe=} [properties] Properties to set - * @returns {ArrowDataframe} ArrowDataframe instance - */ - ArrowDataframe.create = function create(properties) { - return new ArrowDataframe(properties); - }; - - /** - * Encodes the specified ArrowDataframe message. Does not implicitly {@link ArrowDataframe.verify|verify} messages. - * @function encode - * @memberof ArrowDataframe - * @static - * @param {IArrowDataframe} message ArrowDataframe message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ArrowDataframe.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.data != null && Object.hasOwnProperty.call(message, "data")) - $root.ArrowTable.encode(message.data, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.height != null && Object.hasOwnProperty.call(message, "height")) - writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.height); - if (message.width != null && Object.hasOwnProperty.call(message, "width")) - writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.width); - return writer; - }; - - /** - * Encodes the specified ArrowDataframe message, length delimited. Does not implicitly {@link ArrowDataframe.verify|verify} messages. - * @function encodeDelimited - * @memberof ArrowDataframe - * @static - * @param {IArrowDataframe} message ArrowDataframe message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ArrowDataframe.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an ArrowDataframe message from the specified reader or buffer. - * @function decode - * @memberof ArrowDataframe - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ArrowDataframe} ArrowDataframe - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ArrowDataframe.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.ArrowDataframe(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.data = $root.ArrowTable.decode(reader, reader.uint32()); - break; - } - case 2: { - message.height = reader.uint32(); - break; - } - case 3: { - message.width = reader.uint32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an ArrowDataframe message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ArrowDataframe - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ArrowDataframe} ArrowDataframe - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ArrowDataframe.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an ArrowDataframe message. - * @function verify - * @memberof ArrowDataframe - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ArrowDataframe.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.data != null && message.hasOwnProperty("data")) { - let error = $root.ArrowTable.verify(message.data); - if (error) - return "data." + error; - } - if (message.height != null && message.hasOwnProperty("height")) - if (!$util.isInteger(message.height)) - return "height: integer expected"; - if (message.width != null && message.hasOwnProperty("width")) - if (!$util.isInteger(message.width)) - return "width: integer expected"; - return null; - }; - - /** - * Creates an ArrowDataframe message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ArrowDataframe - * @static - * @param {Object.} object Plain object - * @returns {ArrowDataframe} ArrowDataframe - */ - ArrowDataframe.fromObject = function fromObject(object) { - if (object instanceof $root.ArrowDataframe) - return object; - let message = new $root.ArrowDataframe(); - if (object.data != null) { - if (typeof object.data !== "object") - throw TypeError(".ArrowDataframe.data: object expected"); - message.data = $root.ArrowTable.fromObject(object.data); - } - if (object.height != null) - message.height = object.height >>> 0; - if (object.width != null) - message.width = object.width >>> 0; - return message; - }; - - /** - * Creates a plain object from an ArrowDataframe message. Also converts values to other types if specified. - * @function toObject - * @memberof ArrowDataframe - * @static - * @param {ArrowDataframe} message ArrowDataframe - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ArrowDataframe.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.data = null; - object.height = 0; - object.width = 0; - } - if (message.data != null && message.hasOwnProperty("data")) - object.data = $root.ArrowTable.toObject(message.data, options); - if (message.height != null && message.hasOwnProperty("height")) - object.height = message.height; - if (message.width != null && message.hasOwnProperty("width")) - object.width = message.width; - return object; - }; - - /** - * Converts this ArrowDataframe to JSON. - * @function toJSON - * @memberof ArrowDataframe - * @instance - * @returns {Object.} JSON object - */ - ArrowDataframe.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ArrowDataframe - * @function getTypeUrl - * @memberof ArrowDataframe - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ArrowDataframe.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ArrowDataframe"; - }; - - return ArrowDataframe; -})(); - -export const ArrowTable = $root.ArrowTable = (() => { - - /** - * Properties of an ArrowTable. - * @exports IArrowTable - * @interface IArrowTable - * @property {Uint8Array|null} [data] ArrowTable data - * @property {Uint8Array|null} [index] ArrowTable index - * @property {Uint8Array|null} [columns] ArrowTable columns - * @property {IArrowTableStyler|null} [styler] ArrowTable styler - */ - - /** - * Constructs a new ArrowTable. - * @exports ArrowTable - * @classdesc Represents an ArrowTable. - * @implements IArrowTable - * @constructor - * @param {IArrowTable=} [properties] Properties to set - */ - function ArrowTable(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ArrowTable data. - * @member {Uint8Array} data - * @memberof ArrowTable - * @instance - */ - ArrowTable.prototype.data = $util.newBuffer([]); - - /** - * ArrowTable index. - * @member {Uint8Array} index - * @memberof ArrowTable - * @instance - */ - ArrowTable.prototype.index = $util.newBuffer([]); - - /** - * ArrowTable columns. - * @member {Uint8Array} columns - * @memberof ArrowTable - * @instance - */ - ArrowTable.prototype.columns = $util.newBuffer([]); - - /** - * ArrowTable styler. - * @member {IArrowTableStyler|null|undefined} styler - * @memberof ArrowTable - * @instance - */ - ArrowTable.prototype.styler = null; - - /** - * Creates a new ArrowTable instance using the specified properties. - * @function create - * @memberof ArrowTable - * @static - * @param {IArrowTable=} [properties] Properties to set - * @returns {ArrowTable} ArrowTable instance - */ - ArrowTable.create = function create(properties) { - return new ArrowTable(properties); - }; - - /** - * Encodes the specified ArrowTable message. Does not implicitly {@link ArrowTable.verify|verify} messages. - * @function encode - * @memberof ArrowTable - * @static - * @param {IArrowTable} message ArrowTable message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ArrowTable.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.data != null && Object.hasOwnProperty.call(message, "data")) - writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.data); - if (message.index != null && Object.hasOwnProperty.call(message, "index")) - writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.index); - if (message.columns != null && Object.hasOwnProperty.call(message, "columns")) - writer.uint32(/* id 3, wireType 2 =*/26).bytes(message.columns); - if (message.styler != null && Object.hasOwnProperty.call(message, "styler")) - $root.ArrowTableStyler.encode(message.styler, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified ArrowTable message, length delimited. Does not implicitly {@link ArrowTable.verify|verify} messages. - * @function encodeDelimited - * @memberof ArrowTable - * @static - * @param {IArrowTable} message ArrowTable message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ArrowTable.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an ArrowTable message from the specified reader or buffer. - * @function decode - * @memberof ArrowTable - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ArrowTable} ArrowTable - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ArrowTable.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.ArrowTable(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.data = reader.bytes(); - break; - } - case 2: { - message.index = reader.bytes(); - break; - } - case 3: { - message.columns = reader.bytes(); - break; - } - case 5: { - message.styler = $root.ArrowTableStyler.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an ArrowTable message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ArrowTable - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ArrowTable} ArrowTable - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ArrowTable.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an ArrowTable message. - * @function verify - * @memberof ArrowTable - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ArrowTable.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.data != null && message.hasOwnProperty("data")) - if (!(message.data && typeof message.data.length === "number" || $util.isString(message.data))) - return "data: buffer expected"; - if (message.index != null && message.hasOwnProperty("index")) - if (!(message.index && typeof message.index.length === "number" || $util.isString(message.index))) - return "index: buffer expected"; - if (message.columns != null && message.hasOwnProperty("columns")) - if (!(message.columns && typeof message.columns.length === "number" || $util.isString(message.columns))) - return "columns: buffer expected"; - if (message.styler != null && message.hasOwnProperty("styler")) { - let error = $root.ArrowTableStyler.verify(message.styler); - if (error) - return "styler." + error; - } - return null; - }; - - /** - * Creates an ArrowTable message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ArrowTable - * @static - * @param {Object.} object Plain object - * @returns {ArrowTable} ArrowTable - */ - ArrowTable.fromObject = function fromObject(object) { - if (object instanceof $root.ArrowTable) - return object; - let message = new $root.ArrowTable(); - if (object.data != null) - if (typeof object.data === "string") - $util.base64.decode(object.data, message.data = $util.newBuffer($util.base64.length(object.data)), 0); - else if (object.data.length >= 0) - message.data = object.data; - if (object.index != null) - if (typeof object.index === "string") - $util.base64.decode(object.index, message.index = $util.newBuffer($util.base64.length(object.index)), 0); - else if (object.index.length >= 0) - message.index = object.index; - if (object.columns != null) - if (typeof object.columns === "string") - $util.base64.decode(object.columns, message.columns = $util.newBuffer($util.base64.length(object.columns)), 0); - else if (object.columns.length >= 0) - message.columns = object.columns; - if (object.styler != null) { - if (typeof object.styler !== "object") - throw TypeError(".ArrowTable.styler: object expected"); - message.styler = $root.ArrowTableStyler.fromObject(object.styler); - } - return message; - }; - - /** - * Creates a plain object from an ArrowTable message. Also converts values to other types if specified. - * @function toObject - * @memberof ArrowTable - * @static - * @param {ArrowTable} message ArrowTable - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ArrowTable.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - if (options.bytes === String) - object.data = ""; - else { - object.data = []; - if (options.bytes !== Array) - object.data = $util.newBuffer(object.data); - } - if (options.bytes === String) - object.index = ""; - else { - object.index = []; - if (options.bytes !== Array) - object.index = $util.newBuffer(object.index); - } - if (options.bytes === String) - object.columns = ""; - else { - object.columns = []; - if (options.bytes !== Array) - object.columns = $util.newBuffer(object.columns); - } - object.styler = null; - } - if (message.data != null && message.hasOwnProperty("data")) - object.data = options.bytes === String ? $util.base64.encode(message.data, 0, message.data.length) : options.bytes === Array ? Array.prototype.slice.call(message.data) : message.data; - if (message.index != null && message.hasOwnProperty("index")) - object.index = options.bytes === String ? $util.base64.encode(message.index, 0, message.index.length) : options.bytes === Array ? Array.prototype.slice.call(message.index) : message.index; - if (message.columns != null && message.hasOwnProperty("columns")) - object.columns = options.bytes === String ? $util.base64.encode(message.columns, 0, message.columns.length) : options.bytes === Array ? Array.prototype.slice.call(message.columns) : message.columns; - if (message.styler != null && message.hasOwnProperty("styler")) - object.styler = $root.ArrowTableStyler.toObject(message.styler, options); - return object; - }; - - /** - * Converts this ArrowTable to JSON. - * @function toJSON - * @memberof ArrowTable - * @instance - * @returns {Object.} JSON object - */ - ArrowTable.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ArrowTable - * @function getTypeUrl - * @memberof ArrowTable - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ArrowTable.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ArrowTable"; - }; - - return ArrowTable; -})(); - -export const ArrowTableStyler = $root.ArrowTableStyler = (() => { - - /** - * Properties of an ArrowTableStyler. - * @exports IArrowTableStyler - * @interface IArrowTableStyler - * @property {string|null} [uuid] ArrowTableStyler uuid - * @property {string|null} [caption] ArrowTableStyler caption - * @property {string|null} [styles] ArrowTableStyler styles - * @property {Uint8Array|null} [displayValues] ArrowTableStyler displayValues - */ - - /** - * Constructs a new ArrowTableStyler. - * @exports ArrowTableStyler - * @classdesc Represents an ArrowTableStyler. - * @implements IArrowTableStyler - * @constructor - * @param {IArrowTableStyler=} [properties] Properties to set - */ - function ArrowTableStyler(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ArrowTableStyler uuid. - * @member {string} uuid - * @memberof ArrowTableStyler - * @instance - */ - ArrowTableStyler.prototype.uuid = ""; - - /** - * ArrowTableStyler caption. - * @member {string} caption - * @memberof ArrowTableStyler - * @instance - */ - ArrowTableStyler.prototype.caption = ""; - - /** - * ArrowTableStyler styles. - * @member {string} styles - * @memberof ArrowTableStyler - * @instance - */ - ArrowTableStyler.prototype.styles = ""; - - /** - * ArrowTableStyler displayValues. - * @member {Uint8Array} displayValues - * @memberof ArrowTableStyler - * @instance - */ - ArrowTableStyler.prototype.displayValues = $util.newBuffer([]); - - /** - * Creates a new ArrowTableStyler instance using the specified properties. - * @function create - * @memberof ArrowTableStyler - * @static - * @param {IArrowTableStyler=} [properties] Properties to set - * @returns {ArrowTableStyler} ArrowTableStyler instance - */ - ArrowTableStyler.create = function create(properties) { - return new ArrowTableStyler(properties); - }; - - /** - * Encodes the specified ArrowTableStyler message. Does not implicitly {@link ArrowTableStyler.verify|verify} messages. - * @function encode - * @memberof ArrowTableStyler - * @static - * @param {IArrowTableStyler} message ArrowTableStyler message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ArrowTableStyler.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.uuid != null && Object.hasOwnProperty.call(message, "uuid")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.uuid); - if (message.caption != null && Object.hasOwnProperty.call(message, "caption")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.caption); - if (message.styles != null && Object.hasOwnProperty.call(message, "styles")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.styles); - if (message.displayValues != null && Object.hasOwnProperty.call(message, "displayValues")) - writer.uint32(/* id 4, wireType 2 =*/34).bytes(message.displayValues); - return writer; - }; - - /** - * Encodes the specified ArrowTableStyler message, length delimited. Does not implicitly {@link ArrowTableStyler.verify|verify} messages. - * @function encodeDelimited - * @memberof ArrowTableStyler - * @static - * @param {IArrowTableStyler} message ArrowTableStyler message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ArrowTableStyler.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an ArrowTableStyler message from the specified reader or buffer. - * @function decode - * @memberof ArrowTableStyler - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ArrowTableStyler} ArrowTableStyler - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ArrowTableStyler.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.ArrowTableStyler(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.uuid = reader.string(); - break; - } - case 2: { - message.caption = reader.string(); - break; - } - case 3: { - message.styles = reader.string(); - break; - } - case 4: { - message.displayValues = reader.bytes(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an ArrowTableStyler message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ArrowTableStyler - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ArrowTableStyler} ArrowTableStyler - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ArrowTableStyler.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an ArrowTableStyler message. - * @function verify - * @memberof ArrowTableStyler - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ArrowTableStyler.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.uuid != null && message.hasOwnProperty("uuid")) - if (!$util.isString(message.uuid)) - return "uuid: string expected"; - if (message.caption != null && message.hasOwnProperty("caption")) - if (!$util.isString(message.caption)) - return "caption: string expected"; - if (message.styles != null && message.hasOwnProperty("styles")) - if (!$util.isString(message.styles)) - return "styles: string expected"; - if (message.displayValues != null && message.hasOwnProperty("displayValues")) - if (!(message.displayValues && typeof message.displayValues.length === "number" || $util.isString(message.displayValues))) - return "displayValues: buffer expected"; - return null; - }; - - /** - * Creates an ArrowTableStyler message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ArrowTableStyler - * @static - * @param {Object.} object Plain object - * @returns {ArrowTableStyler} ArrowTableStyler - */ - ArrowTableStyler.fromObject = function fromObject(object) { - if (object instanceof $root.ArrowTableStyler) - return object; - let message = new $root.ArrowTableStyler(); - if (object.uuid != null) - message.uuid = String(object.uuid); - if (object.caption != null) - message.caption = String(object.caption); - if (object.styles != null) - message.styles = String(object.styles); - if (object.displayValues != null) - if (typeof object.displayValues === "string") - $util.base64.decode(object.displayValues, message.displayValues = $util.newBuffer($util.base64.length(object.displayValues)), 0); - else if (object.displayValues.length >= 0) - message.displayValues = object.displayValues; - return message; - }; - - /** - * Creates a plain object from an ArrowTableStyler message. Also converts values to other types if specified. - * @function toObject - * @memberof ArrowTableStyler - * @static - * @param {ArrowTableStyler} message ArrowTableStyler - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ArrowTableStyler.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.uuid = ""; - object.caption = ""; - object.styles = ""; - if (options.bytes === String) - object.displayValues = ""; - else { - object.displayValues = []; - if (options.bytes !== Array) - object.displayValues = $util.newBuffer(object.displayValues); - } - } - if (message.uuid != null && message.hasOwnProperty("uuid")) - object.uuid = message.uuid; - if (message.caption != null && message.hasOwnProperty("caption")) - object.caption = message.caption; - if (message.styles != null && message.hasOwnProperty("styles")) - object.styles = message.styles; - if (message.displayValues != null && message.hasOwnProperty("displayValues")) - object.displayValues = options.bytes === String ? $util.base64.encode(message.displayValues, 0, message.displayValues.length) : options.bytes === Array ? Array.prototype.slice.call(message.displayValues) : message.displayValues; - return object; - }; - - /** - * Converts this ArrowTableStyler to JSON. - * @function toJSON - * @memberof ArrowTableStyler - * @instance - * @returns {Object.} JSON object - */ - ArrowTableStyler.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ArrowTableStyler - * @function getTypeUrl - * @memberof ArrowTableStyler - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ArrowTableStyler.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ArrowTableStyler"; - }; - - return ArrowTableStyler; -})(); - -export const DataFrame = $root.DataFrame = (() => { - - /** - * Properties of a DataFrame. - * @exports IDataFrame - * @interface IDataFrame - * @property {ITable|null} [data] DataFrame data - * @property {IIndex|null} [index] DataFrame index - * @property {IIndex|null} [columns] DataFrame columns - * @property {ITableStyle|null} [style] DataFrame style - */ - - /** - * Constructs a new DataFrame. - * @exports DataFrame - * @classdesc Represents a DataFrame. - * @implements IDataFrame - * @constructor - * @param {IDataFrame=} [properties] Properties to set - */ - function DataFrame(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * DataFrame data. - * @member {ITable|null|undefined} data - * @memberof DataFrame - * @instance - */ - DataFrame.prototype.data = null; - - /** - * DataFrame index. - * @member {IIndex|null|undefined} index - * @memberof DataFrame - * @instance - */ - DataFrame.prototype.index = null; - - /** - * DataFrame columns. - * @member {IIndex|null|undefined} columns - * @memberof DataFrame - * @instance - */ - DataFrame.prototype.columns = null; - - /** - * DataFrame style. - * @member {ITableStyle|null|undefined} style - * @memberof DataFrame - * @instance - */ - DataFrame.prototype.style = null; - - /** - * Creates a new DataFrame instance using the specified properties. - * @function create - * @memberof DataFrame - * @static - * @param {IDataFrame=} [properties] Properties to set - * @returns {DataFrame} DataFrame instance - */ - DataFrame.create = function create(properties) { - return new DataFrame(properties); - }; - - /** - * Encodes the specified DataFrame message. Does not implicitly {@link DataFrame.verify|verify} messages. - * @function encode - * @memberof DataFrame - * @static - * @param {IDataFrame} message DataFrame message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - DataFrame.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.data != null && Object.hasOwnProperty.call(message, "data")) - $root.Table.encode(message.data, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.index != null && Object.hasOwnProperty.call(message, "index")) - $root.Index.encode(message.index, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.columns != null && Object.hasOwnProperty.call(message, "columns")) - $root.Index.encode(message.columns, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.style != null && Object.hasOwnProperty.call(message, "style")) - $root.TableStyle.encode(message.style, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified DataFrame message, length delimited. Does not implicitly {@link DataFrame.verify|verify} messages. - * @function encodeDelimited - * @memberof DataFrame - * @static - * @param {IDataFrame} message DataFrame message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - DataFrame.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a DataFrame message from the specified reader or buffer. - * @function decode - * @memberof DataFrame - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {DataFrame} DataFrame - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - DataFrame.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.DataFrame(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.data = $root.Table.decode(reader, reader.uint32()); - break; - } - case 2: { - message.index = $root.Index.decode(reader, reader.uint32()); - break; - } - case 3: { - message.columns = $root.Index.decode(reader, reader.uint32()); - break; - } - case 4: { - message.style = $root.TableStyle.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a DataFrame message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof DataFrame - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {DataFrame} DataFrame - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - DataFrame.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a DataFrame message. - * @function verify - * @memberof DataFrame - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - DataFrame.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.data != null && message.hasOwnProperty("data")) { - let error = $root.Table.verify(message.data); - if (error) - return "data." + error; - } - if (message.index != null && message.hasOwnProperty("index")) { - let error = $root.Index.verify(message.index); - if (error) - return "index." + error; - } - if (message.columns != null && message.hasOwnProperty("columns")) { - let error = $root.Index.verify(message.columns); - if (error) - return "columns." + error; - } - if (message.style != null && message.hasOwnProperty("style")) { - let error = $root.TableStyle.verify(message.style); - if (error) - return "style." + error; - } - return null; - }; - - /** - * Creates a DataFrame message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof DataFrame - * @static - * @param {Object.} object Plain object - * @returns {DataFrame} DataFrame - */ - DataFrame.fromObject = function fromObject(object) { - if (object instanceof $root.DataFrame) - return object; - let message = new $root.DataFrame(); - if (object.data != null) { - if (typeof object.data !== "object") - throw TypeError(".DataFrame.data: object expected"); - message.data = $root.Table.fromObject(object.data); - } - if (object.index != null) { - if (typeof object.index !== "object") - throw TypeError(".DataFrame.index: object expected"); - message.index = $root.Index.fromObject(object.index); - } - if (object.columns != null) { - if (typeof object.columns !== "object") - throw TypeError(".DataFrame.columns: object expected"); - message.columns = $root.Index.fromObject(object.columns); - } - if (object.style != null) { - if (typeof object.style !== "object") - throw TypeError(".DataFrame.style: object expected"); - message.style = $root.TableStyle.fromObject(object.style); - } - return message; - }; - - /** - * Creates a plain object from a DataFrame message. Also converts values to other types if specified. - * @function toObject - * @memberof DataFrame - * @static - * @param {DataFrame} message DataFrame - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - DataFrame.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.data = null; - object.index = null; - object.columns = null; - object.style = null; - } - if (message.data != null && message.hasOwnProperty("data")) - object.data = $root.Table.toObject(message.data, options); - if (message.index != null && message.hasOwnProperty("index")) - object.index = $root.Index.toObject(message.index, options); - if (message.columns != null && message.hasOwnProperty("columns")) - object.columns = $root.Index.toObject(message.columns, options); - if (message.style != null && message.hasOwnProperty("style")) - object.style = $root.TableStyle.toObject(message.style, options); - return object; - }; - - /** - * Converts this DataFrame to JSON. - * @function toJSON - * @memberof DataFrame - * @instance - * @returns {Object.} JSON object - */ - DataFrame.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for DataFrame - * @function getTypeUrl - * @memberof DataFrame - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - DataFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/DataFrame"; - }; - - return DataFrame; -})(); - -export const Index = $root.Index = (() => { - - /** - * Properties of an Index. - * @exports IIndex - * @interface IIndex - * @property {IPlainIndex|null} [plainIndex] Index plainIndex - * @property {IRangeIndex|null} [rangeIndex] Index rangeIndex - * @property {IMultiIndex|null} [multiIndex] Index multiIndex - * @property {IDatetimeIndex|null} [datetimeIndex] Index datetimeIndex - * @property {ITimedeltaIndex|null} [timedeltaIndex] Index timedeltaIndex - * @property {IInt64Index|null} [int_64Index] Index int_64Index - * @property {IFloat64Index|null} [float_64Index] Index float_64Index - */ - - /** - * Constructs a new Index. - * @exports Index - * @classdesc Represents an Index. - * @implements IIndex - * @constructor - * @param {IIndex=} [properties] Properties to set - */ - function Index(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Index plainIndex. - * @member {IPlainIndex|null|undefined} plainIndex - * @memberof Index - * @instance - */ - Index.prototype.plainIndex = null; - - /** - * Index rangeIndex. - * @member {IRangeIndex|null|undefined} rangeIndex - * @memberof Index - * @instance - */ - Index.prototype.rangeIndex = null; - - /** - * Index multiIndex. - * @member {IMultiIndex|null|undefined} multiIndex - * @memberof Index - * @instance - */ - Index.prototype.multiIndex = null; - - /** - * Index datetimeIndex. - * @member {IDatetimeIndex|null|undefined} datetimeIndex - * @memberof Index - * @instance - */ - Index.prototype.datetimeIndex = null; - - /** - * Index timedeltaIndex. - * @member {ITimedeltaIndex|null|undefined} timedeltaIndex - * @memberof Index - * @instance - */ - Index.prototype.timedeltaIndex = null; - - /** - * Index int_64Index. - * @member {IInt64Index|null|undefined} int_64Index - * @memberof Index - * @instance - */ - Index.prototype.int_64Index = null; - - /** - * Index float_64Index. - * @member {IFloat64Index|null|undefined} float_64Index - * @memberof Index - * @instance - */ - Index.prototype.float_64Index = null; - - // OneOf field names bound to virtual getters and setters - let $oneOfFields; - - /** - * Index type. - * @member {"plainIndex"|"rangeIndex"|"multiIndex"|"datetimeIndex"|"timedeltaIndex"|"int_64Index"|"float_64Index"|undefined} type - * @memberof Index - * @instance - */ - Object.defineProperty(Index.prototype, "type", { - get: $util.oneOfGetter($oneOfFields = ["plainIndex", "rangeIndex", "multiIndex", "datetimeIndex", "timedeltaIndex", "int_64Index", "float_64Index"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new Index instance using the specified properties. - * @function create - * @memberof Index - * @static - * @param {IIndex=} [properties] Properties to set - * @returns {Index} Index instance - */ - Index.create = function create(properties) { - return new Index(properties); - }; - - /** - * Encodes the specified Index message. Does not implicitly {@link Index.verify|verify} messages. - * @function encode - * @memberof Index - * @static - * @param {IIndex} message Index message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Index.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.plainIndex != null && Object.hasOwnProperty.call(message, "plainIndex")) - $root.PlainIndex.encode(message.plainIndex, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.rangeIndex != null && Object.hasOwnProperty.call(message, "rangeIndex")) - $root.RangeIndex.encode(message.rangeIndex, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.multiIndex != null && Object.hasOwnProperty.call(message, "multiIndex")) - $root.MultiIndex.encode(message.multiIndex, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.datetimeIndex != null && Object.hasOwnProperty.call(message, "datetimeIndex")) - $root.DatetimeIndex.encode(message.datetimeIndex, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.timedeltaIndex != null && Object.hasOwnProperty.call(message, "timedeltaIndex")) - $root.TimedeltaIndex.encode(message.timedeltaIndex, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.int_64Index != null && Object.hasOwnProperty.call(message, "int_64Index")) - $root.Int64Index.encode(message.int_64Index, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); - if (message.float_64Index != null && Object.hasOwnProperty.call(message, "float_64Index")) - $root.Float64Index.encode(message.float_64Index, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified Index message, length delimited. Does not implicitly {@link Index.verify|verify} messages. - * @function encodeDelimited - * @memberof Index - * @static - * @param {IIndex} message Index message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Index.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an Index message from the specified reader or buffer. - * @function decode - * @memberof Index - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Index} Index - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Index.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Index(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.plainIndex = $root.PlainIndex.decode(reader, reader.uint32()); - break; - } - case 2: { - message.rangeIndex = $root.RangeIndex.decode(reader, reader.uint32()); - break; - } - case 4: { - message.multiIndex = $root.MultiIndex.decode(reader, reader.uint32()); - break; - } - case 6: { - message.datetimeIndex = $root.DatetimeIndex.decode(reader, reader.uint32()); - break; - } - case 7: { - message.timedeltaIndex = $root.TimedeltaIndex.decode(reader, reader.uint32()); - break; - } - case 9: { - message.int_64Index = $root.Int64Index.decode(reader, reader.uint32()); - break; - } - case 11: { - message.float_64Index = $root.Float64Index.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an Index message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Index - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Index} Index - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Index.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an Index message. - * @function verify - * @memberof Index - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Index.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - let properties = {}; - if (message.plainIndex != null && message.hasOwnProperty("plainIndex")) { - properties.type = 1; - { - let error = $root.PlainIndex.verify(message.plainIndex); - if (error) - return "plainIndex." + error; - } - } - if (message.rangeIndex != null && message.hasOwnProperty("rangeIndex")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.RangeIndex.verify(message.rangeIndex); - if (error) - return "rangeIndex." + error; - } - } - if (message.multiIndex != null && message.hasOwnProperty("multiIndex")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.MultiIndex.verify(message.multiIndex); - if (error) - return "multiIndex." + error; - } - } - if (message.datetimeIndex != null && message.hasOwnProperty("datetimeIndex")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.DatetimeIndex.verify(message.datetimeIndex); - if (error) - return "datetimeIndex." + error; - } - } - if (message.timedeltaIndex != null && message.hasOwnProperty("timedeltaIndex")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.TimedeltaIndex.verify(message.timedeltaIndex); - if (error) - return "timedeltaIndex." + error; - } - } - if (message.int_64Index != null && message.hasOwnProperty("int_64Index")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Int64Index.verify(message.int_64Index); - if (error) - return "int_64Index." + error; - } - } - if (message.float_64Index != null && message.hasOwnProperty("float_64Index")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Float64Index.verify(message.float_64Index); - if (error) - return "float_64Index." + error; - } - } - return null; - }; - - /** - * Creates an Index message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Index - * @static - * @param {Object.} object Plain object - * @returns {Index} Index - */ - Index.fromObject = function fromObject(object) { - if (object instanceof $root.Index) - return object; - let message = new $root.Index(); - if (object.plainIndex != null) { - if (typeof object.plainIndex !== "object") - throw TypeError(".Index.plainIndex: object expected"); - message.plainIndex = $root.PlainIndex.fromObject(object.plainIndex); - } - if (object.rangeIndex != null) { - if (typeof object.rangeIndex !== "object") - throw TypeError(".Index.rangeIndex: object expected"); - message.rangeIndex = $root.RangeIndex.fromObject(object.rangeIndex); - } - if (object.multiIndex != null) { - if (typeof object.multiIndex !== "object") - throw TypeError(".Index.multiIndex: object expected"); - message.multiIndex = $root.MultiIndex.fromObject(object.multiIndex); - } - if (object.datetimeIndex != null) { - if (typeof object.datetimeIndex !== "object") - throw TypeError(".Index.datetimeIndex: object expected"); - message.datetimeIndex = $root.DatetimeIndex.fromObject(object.datetimeIndex); - } - if (object.timedeltaIndex != null) { - if (typeof object.timedeltaIndex !== "object") - throw TypeError(".Index.timedeltaIndex: object expected"); - message.timedeltaIndex = $root.TimedeltaIndex.fromObject(object.timedeltaIndex); - } - if (object.int_64Index != null) { - if (typeof object.int_64Index !== "object") - throw TypeError(".Index.int_64Index: object expected"); - message.int_64Index = $root.Int64Index.fromObject(object.int_64Index); - } - if (object.float_64Index != null) { - if (typeof object.float_64Index !== "object") - throw TypeError(".Index.float_64Index: object expected"); - message.float_64Index = $root.Float64Index.fromObject(object.float_64Index); - } - return message; - }; - - /** - * Creates a plain object from an Index message. Also converts values to other types if specified. - * @function toObject - * @memberof Index - * @static - * @param {Index} message Index - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Index.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (message.plainIndex != null && message.hasOwnProperty("plainIndex")) { - object.plainIndex = $root.PlainIndex.toObject(message.plainIndex, options); - if (options.oneofs) - object.type = "plainIndex"; - } - if (message.rangeIndex != null && message.hasOwnProperty("rangeIndex")) { - object.rangeIndex = $root.RangeIndex.toObject(message.rangeIndex, options); - if (options.oneofs) - object.type = "rangeIndex"; - } - if (message.multiIndex != null && message.hasOwnProperty("multiIndex")) { - object.multiIndex = $root.MultiIndex.toObject(message.multiIndex, options); - if (options.oneofs) - object.type = "multiIndex"; - } - if (message.datetimeIndex != null && message.hasOwnProperty("datetimeIndex")) { - object.datetimeIndex = $root.DatetimeIndex.toObject(message.datetimeIndex, options); - if (options.oneofs) - object.type = "datetimeIndex"; - } - if (message.timedeltaIndex != null && message.hasOwnProperty("timedeltaIndex")) { - object.timedeltaIndex = $root.TimedeltaIndex.toObject(message.timedeltaIndex, options); - if (options.oneofs) - object.type = "timedeltaIndex"; - } - if (message.int_64Index != null && message.hasOwnProperty("int_64Index")) { - object.int_64Index = $root.Int64Index.toObject(message.int_64Index, options); - if (options.oneofs) - object.type = "int_64Index"; - } - if (message.float_64Index != null && message.hasOwnProperty("float_64Index")) { - object.float_64Index = $root.Float64Index.toObject(message.float_64Index, options); - if (options.oneofs) - object.type = "float_64Index"; - } - return object; - }; - - /** - * Converts this Index to JSON. - * @function toJSON - * @memberof Index - * @instance - * @returns {Object.} JSON object - */ - Index.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Index - * @function getTypeUrl - * @memberof Index - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Index.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Index"; - }; - - return Index; -})(); - -export const PlainIndex = $root.PlainIndex = (() => { - - /** - * Properties of a PlainIndex. - * @exports IPlainIndex - * @interface IPlainIndex - * @property {IAnyArray|null} [data] PlainIndex data - */ - - /** - * Constructs a new PlainIndex. - * @exports PlainIndex - * @classdesc Represents a PlainIndex. - * @implements IPlainIndex - * @constructor - * @param {IPlainIndex=} [properties] Properties to set - */ - function PlainIndex(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * PlainIndex data. - * @member {IAnyArray|null|undefined} data - * @memberof PlainIndex - * @instance - */ - PlainIndex.prototype.data = null; - - /** - * Creates a new PlainIndex instance using the specified properties. - * @function create - * @memberof PlainIndex - * @static - * @param {IPlainIndex=} [properties] Properties to set - * @returns {PlainIndex} PlainIndex instance - */ - PlainIndex.create = function create(properties) { - return new PlainIndex(properties); - }; - - /** - * Encodes the specified PlainIndex message. Does not implicitly {@link PlainIndex.verify|verify} messages. - * @function encode - * @memberof PlainIndex - * @static - * @param {IPlainIndex} message PlainIndex message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - PlainIndex.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.data != null && Object.hasOwnProperty.call(message, "data")) - $root.AnyArray.encode(message.data, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified PlainIndex message, length delimited. Does not implicitly {@link PlainIndex.verify|verify} messages. - * @function encodeDelimited - * @memberof PlainIndex - * @static - * @param {IPlainIndex} message PlainIndex message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - PlainIndex.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a PlainIndex message from the specified reader or buffer. - * @function decode - * @memberof PlainIndex - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {PlainIndex} PlainIndex - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - PlainIndex.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.PlainIndex(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.data = $root.AnyArray.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a PlainIndex message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof PlainIndex - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {PlainIndex} PlainIndex - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - PlainIndex.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a PlainIndex message. - * @function verify - * @memberof PlainIndex - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - PlainIndex.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.data != null && message.hasOwnProperty("data")) { - let error = $root.AnyArray.verify(message.data); - if (error) - return "data." + error; - } - return null; - }; - - /** - * Creates a PlainIndex message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof PlainIndex - * @static - * @param {Object.} object Plain object - * @returns {PlainIndex} PlainIndex - */ - PlainIndex.fromObject = function fromObject(object) { - if (object instanceof $root.PlainIndex) - return object; - let message = new $root.PlainIndex(); - if (object.data != null) { - if (typeof object.data !== "object") - throw TypeError(".PlainIndex.data: object expected"); - message.data = $root.AnyArray.fromObject(object.data); - } - return message; - }; - - /** - * Creates a plain object from a PlainIndex message. Also converts values to other types if specified. - * @function toObject - * @memberof PlainIndex - * @static - * @param {PlainIndex} message PlainIndex - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - PlainIndex.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) - object.data = null; - if (message.data != null && message.hasOwnProperty("data")) - object.data = $root.AnyArray.toObject(message.data, options); - return object; - }; - - /** - * Converts this PlainIndex to JSON. - * @function toJSON - * @memberof PlainIndex - * @instance - * @returns {Object.} JSON object - */ - PlainIndex.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for PlainIndex - * @function getTypeUrl - * @memberof PlainIndex - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - PlainIndex.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/PlainIndex"; - }; - - return PlainIndex; -})(); - -export const RangeIndex = $root.RangeIndex = (() => { - - /** - * Properties of a RangeIndex. - * @exports IRangeIndex - * @interface IRangeIndex - * @property {number|Long|null} [start] RangeIndex start - * @property {number|Long|null} [stop] RangeIndex stop - */ - - /** - * Constructs a new RangeIndex. - * @exports RangeIndex - * @classdesc Represents a RangeIndex. - * @implements IRangeIndex - * @constructor - * @param {IRangeIndex=} [properties] Properties to set - */ - function RangeIndex(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * RangeIndex start. - * @member {number|Long} start - * @memberof RangeIndex - * @instance - */ - RangeIndex.prototype.start = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - - /** - * RangeIndex stop. - * @member {number|Long} stop - * @memberof RangeIndex - * @instance - */ - RangeIndex.prototype.stop = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - - /** - * Creates a new RangeIndex instance using the specified properties. - * @function create - * @memberof RangeIndex - * @static - * @param {IRangeIndex=} [properties] Properties to set - * @returns {RangeIndex} RangeIndex instance - */ - RangeIndex.create = function create(properties) { - return new RangeIndex(properties); - }; - - /** - * Encodes the specified RangeIndex message. Does not implicitly {@link RangeIndex.verify|verify} messages. - * @function encode - * @memberof RangeIndex - * @static - * @param {IRangeIndex} message RangeIndex message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - RangeIndex.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.start != null && Object.hasOwnProperty.call(message, "start")) - writer.uint32(/* id 1, wireType 0 =*/8).int64(message.start); - if (message.stop != null && Object.hasOwnProperty.call(message, "stop")) - writer.uint32(/* id 2, wireType 0 =*/16).int64(message.stop); - return writer; - }; - - /** - * Encodes the specified RangeIndex message, length delimited. Does not implicitly {@link RangeIndex.verify|verify} messages. - * @function encodeDelimited - * @memberof RangeIndex - * @static - * @param {IRangeIndex} message RangeIndex message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - RangeIndex.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a RangeIndex message from the specified reader or buffer. - * @function decode - * @memberof RangeIndex - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {RangeIndex} RangeIndex - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - RangeIndex.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.RangeIndex(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.start = reader.int64(); - break; - } - case 2: { - message.stop = reader.int64(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a RangeIndex message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof RangeIndex - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {RangeIndex} RangeIndex - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - RangeIndex.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a RangeIndex message. - * @function verify - * @memberof RangeIndex - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - RangeIndex.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.start != null && message.hasOwnProperty("start")) - if (!$util.isInteger(message.start) && !(message.start && $util.isInteger(message.start.low) && $util.isInteger(message.start.high))) - return "start: integer|Long expected"; - if (message.stop != null && message.hasOwnProperty("stop")) - if (!$util.isInteger(message.stop) && !(message.stop && $util.isInteger(message.stop.low) && $util.isInteger(message.stop.high))) - return "stop: integer|Long expected"; - return null; - }; - - /** - * Creates a RangeIndex message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof RangeIndex - * @static - * @param {Object.} object Plain object - * @returns {RangeIndex} RangeIndex - */ - RangeIndex.fromObject = function fromObject(object) { - if (object instanceof $root.RangeIndex) - return object; - let message = new $root.RangeIndex(); - if (object.start != null) - if ($util.Long) - (message.start = $util.Long.fromValue(object.start)).unsigned = false; - else if (typeof object.start === "string") - message.start = parseInt(object.start, 10); - else if (typeof object.start === "number") - message.start = object.start; - else if (typeof object.start === "object") - message.start = new $util.LongBits(object.start.low >>> 0, object.start.high >>> 0).toNumber(); - if (object.stop != null) - if ($util.Long) - (message.stop = $util.Long.fromValue(object.stop)).unsigned = false; - else if (typeof object.stop === "string") - message.stop = parseInt(object.stop, 10); - else if (typeof object.stop === "number") - message.stop = object.stop; - else if (typeof object.stop === "object") - message.stop = new $util.LongBits(object.stop.low >>> 0, object.stop.high >>> 0).toNumber(); - return message; - }; - - /** - * Creates a plain object from a RangeIndex message. Also converts values to other types if specified. - * @function toObject - * @memberof RangeIndex - * @static - * @param {RangeIndex} message RangeIndex - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - RangeIndex.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - if ($util.Long) { - let long = new $util.Long(0, 0, false); - object.start = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; - } else - object.start = options.longs === String ? "0" : 0; - if ($util.Long) { - let long = new $util.Long(0, 0, false); - object.stop = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; - } else - object.stop = options.longs === String ? "0" : 0; - } - if (message.start != null && message.hasOwnProperty("start")) - if (typeof message.start === "number") - object.start = options.longs === String ? String(message.start) : message.start; - else - object.start = options.longs === String ? $util.Long.prototype.toString.call(message.start) : options.longs === Number ? new $util.LongBits(message.start.low >>> 0, message.start.high >>> 0).toNumber() : message.start; - if (message.stop != null && message.hasOwnProperty("stop")) - if (typeof message.stop === "number") - object.stop = options.longs === String ? String(message.stop) : message.stop; - else - object.stop = options.longs === String ? $util.Long.prototype.toString.call(message.stop) : options.longs === Number ? new $util.LongBits(message.stop.low >>> 0, message.stop.high >>> 0).toNumber() : message.stop; - return object; - }; - - /** - * Converts this RangeIndex to JSON. - * @function toJSON - * @memberof RangeIndex - * @instance - * @returns {Object.} JSON object - */ - RangeIndex.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for RangeIndex - * @function getTypeUrl - * @memberof RangeIndex - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - RangeIndex.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/RangeIndex"; - }; - - return RangeIndex; -})(); - -export const MultiIndex = $root.MultiIndex = (() => { - - /** - * Properties of a MultiIndex. - * @exports IMultiIndex - * @interface IMultiIndex - * @property {Array.|null} [levels] MultiIndex levels - * @property {Array.|null} [labels] MultiIndex labels - */ - - /** - * Constructs a new MultiIndex. - * @exports MultiIndex - * @classdesc Represents a MultiIndex. - * @implements IMultiIndex - * @constructor - * @param {IMultiIndex=} [properties] Properties to set - */ - function MultiIndex(properties) { - this.levels = []; - this.labels = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * MultiIndex levels. - * @member {Array.} levels - * @memberof MultiIndex - * @instance - */ - MultiIndex.prototype.levels = $util.emptyArray; - - /** - * MultiIndex labels. - * @member {Array.} labels - * @memberof MultiIndex - * @instance - */ - MultiIndex.prototype.labels = $util.emptyArray; - - /** - * Creates a new MultiIndex instance using the specified properties. - * @function create - * @memberof MultiIndex - * @static - * @param {IMultiIndex=} [properties] Properties to set - * @returns {MultiIndex} MultiIndex instance - */ - MultiIndex.create = function create(properties) { - return new MultiIndex(properties); - }; - - /** - * Encodes the specified MultiIndex message. Does not implicitly {@link MultiIndex.verify|verify} messages. - * @function encode - * @memberof MultiIndex - * @static - * @param {IMultiIndex} message MultiIndex message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - MultiIndex.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.levels != null && message.levels.length) - for (let i = 0; i < message.levels.length; ++i) - $root.Index.encode(message.levels[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.labels != null && message.labels.length) - for (let i = 0; i < message.labels.length; ++i) - $root.Int32Array.encode(message.labels[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified MultiIndex message, length delimited. Does not implicitly {@link MultiIndex.verify|verify} messages. - * @function encodeDelimited - * @memberof MultiIndex - * @static - * @param {IMultiIndex} message MultiIndex message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - MultiIndex.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a MultiIndex message from the specified reader or buffer. - * @function decode - * @memberof MultiIndex - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {MultiIndex} MultiIndex - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - MultiIndex.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.MultiIndex(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message.levels && message.levels.length)) - message.levels = []; - message.levels.push($root.Index.decode(reader, reader.uint32())); - break; - } - case 2: { - if (!(message.labels && message.labels.length)) - message.labels = []; - message.labels.push($root.Int32Array.decode(reader, reader.uint32())); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a MultiIndex message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof MultiIndex - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {MultiIndex} MultiIndex - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - MultiIndex.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a MultiIndex message. - * @function verify - * @memberof MultiIndex - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - MultiIndex.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.levels != null && message.hasOwnProperty("levels")) { - if (!Array.isArray(message.levels)) - return "levels: array expected"; - for (let i = 0; i < message.levels.length; ++i) { - let error = $root.Index.verify(message.levels[i]); - if (error) - return "levels." + error; - } - } - if (message.labels != null && message.hasOwnProperty("labels")) { - if (!Array.isArray(message.labels)) - return "labels: array expected"; - for (let i = 0; i < message.labels.length; ++i) { - let error = $root.Int32Array.verify(message.labels[i]); - if (error) - return "labels." + error; - } - } - return null; - }; - - /** - * Creates a MultiIndex message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof MultiIndex - * @static - * @param {Object.} object Plain object - * @returns {MultiIndex} MultiIndex - */ - MultiIndex.fromObject = function fromObject(object) { - if (object instanceof $root.MultiIndex) - return object; - let message = new $root.MultiIndex(); - if (object.levels) { - if (!Array.isArray(object.levels)) - throw TypeError(".MultiIndex.levels: array expected"); - message.levels = []; - for (let i = 0; i < object.levels.length; ++i) { - if (typeof object.levels[i] !== "object") - throw TypeError(".MultiIndex.levels: object expected"); - message.levels[i] = $root.Index.fromObject(object.levels[i]); - } - } - if (object.labels) { - if (!Array.isArray(object.labels)) - throw TypeError(".MultiIndex.labels: array expected"); - message.labels = []; - for (let i = 0; i < object.labels.length; ++i) { - if (typeof object.labels[i] !== "object") - throw TypeError(".MultiIndex.labels: object expected"); - message.labels[i] = $root.Int32Array.fromObject(object.labels[i]); - } - } - return message; - }; - - /** - * Creates a plain object from a MultiIndex message. Also converts values to other types if specified. - * @function toObject - * @memberof MultiIndex - * @static - * @param {MultiIndex} message MultiIndex - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - MultiIndex.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) { - object.levels = []; - object.labels = []; - } - if (message.levels && message.levels.length) { - object.levels = []; - for (let j = 0; j < message.levels.length; ++j) - object.levels[j] = $root.Index.toObject(message.levels[j], options); - } - if (message.labels && message.labels.length) { - object.labels = []; - for (let j = 0; j < message.labels.length; ++j) - object.labels[j] = $root.Int32Array.toObject(message.labels[j], options); - } - return object; - }; - - /** - * Converts this MultiIndex to JSON. - * @function toJSON - * @memberof MultiIndex - * @instance - * @returns {Object.} JSON object - */ - MultiIndex.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for MultiIndex - * @function getTypeUrl - * @memberof MultiIndex - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - MultiIndex.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/MultiIndex"; - }; - - return MultiIndex; -})(); - -export const DatetimeIndex = $root.DatetimeIndex = (() => { - - /** - * Properties of a DatetimeIndex. - * @exports IDatetimeIndex - * @interface IDatetimeIndex - * @property {IStringArray|null} [data] DatetimeIndex data - */ - - /** - * Constructs a new DatetimeIndex. - * @exports DatetimeIndex - * @classdesc Represents a DatetimeIndex. - * @implements IDatetimeIndex - * @constructor - * @param {IDatetimeIndex=} [properties] Properties to set - */ - function DatetimeIndex(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * DatetimeIndex data. - * @member {IStringArray|null|undefined} data - * @memberof DatetimeIndex - * @instance - */ - DatetimeIndex.prototype.data = null; - - /** - * Creates a new DatetimeIndex instance using the specified properties. - * @function create - * @memberof DatetimeIndex - * @static - * @param {IDatetimeIndex=} [properties] Properties to set - * @returns {DatetimeIndex} DatetimeIndex instance - */ - DatetimeIndex.create = function create(properties) { - return new DatetimeIndex(properties); - }; - - /** - * Encodes the specified DatetimeIndex message. Does not implicitly {@link DatetimeIndex.verify|verify} messages. - * @function encode - * @memberof DatetimeIndex - * @static - * @param {IDatetimeIndex} message DatetimeIndex message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - DatetimeIndex.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.data != null && Object.hasOwnProperty.call(message, "data")) - $root.StringArray.encode(message.data, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified DatetimeIndex message, length delimited. Does not implicitly {@link DatetimeIndex.verify|verify} messages. - * @function encodeDelimited - * @memberof DatetimeIndex - * @static - * @param {IDatetimeIndex} message DatetimeIndex message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - DatetimeIndex.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a DatetimeIndex message from the specified reader or buffer. - * @function decode - * @memberof DatetimeIndex - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {DatetimeIndex} DatetimeIndex - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - DatetimeIndex.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.DatetimeIndex(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.data = $root.StringArray.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a DatetimeIndex message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof DatetimeIndex - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {DatetimeIndex} DatetimeIndex - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - DatetimeIndex.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a DatetimeIndex message. - * @function verify - * @memberof DatetimeIndex - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - DatetimeIndex.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.data != null && message.hasOwnProperty("data")) { - let error = $root.StringArray.verify(message.data); - if (error) - return "data." + error; - } - return null; - }; - - /** - * Creates a DatetimeIndex message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof DatetimeIndex - * @static - * @param {Object.} object Plain object - * @returns {DatetimeIndex} DatetimeIndex - */ - DatetimeIndex.fromObject = function fromObject(object) { - if (object instanceof $root.DatetimeIndex) - return object; - let message = new $root.DatetimeIndex(); - if (object.data != null) { - if (typeof object.data !== "object") - throw TypeError(".DatetimeIndex.data: object expected"); - message.data = $root.StringArray.fromObject(object.data); - } - return message; - }; - - /** - * Creates a plain object from a DatetimeIndex message. Also converts values to other types if specified. - * @function toObject - * @memberof DatetimeIndex - * @static - * @param {DatetimeIndex} message DatetimeIndex - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - DatetimeIndex.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) - object.data = null; - if (message.data != null && message.hasOwnProperty("data")) - object.data = $root.StringArray.toObject(message.data, options); - return object; - }; - - /** - * Converts this DatetimeIndex to JSON. - * @function toJSON - * @memberof DatetimeIndex - * @instance - * @returns {Object.} JSON object - */ - DatetimeIndex.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for DatetimeIndex - * @function getTypeUrl - * @memberof DatetimeIndex - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - DatetimeIndex.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/DatetimeIndex"; - }; - - return DatetimeIndex; -})(); - -export const TimedeltaIndex = $root.TimedeltaIndex = (() => { - - /** - * Properties of a TimedeltaIndex. - * @exports ITimedeltaIndex - * @interface ITimedeltaIndex - * @property {IInt64Array|null} [data] TimedeltaIndex data - */ - - /** - * Constructs a new TimedeltaIndex. - * @exports TimedeltaIndex - * @classdesc Represents a TimedeltaIndex. - * @implements ITimedeltaIndex - * @constructor - * @param {ITimedeltaIndex=} [properties] Properties to set - */ - function TimedeltaIndex(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * TimedeltaIndex data. - * @member {IInt64Array|null|undefined} data - * @memberof TimedeltaIndex - * @instance - */ - TimedeltaIndex.prototype.data = null; - - /** - * Creates a new TimedeltaIndex instance using the specified properties. - * @function create - * @memberof TimedeltaIndex - * @static - * @param {ITimedeltaIndex=} [properties] Properties to set - * @returns {TimedeltaIndex} TimedeltaIndex instance - */ - TimedeltaIndex.create = function create(properties) { - return new TimedeltaIndex(properties); - }; - - /** - * Encodes the specified TimedeltaIndex message. Does not implicitly {@link TimedeltaIndex.verify|verify} messages. - * @function encode - * @memberof TimedeltaIndex - * @static - * @param {ITimedeltaIndex} message TimedeltaIndex message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - TimedeltaIndex.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.data != null && Object.hasOwnProperty.call(message, "data")) - $root.Int64Array.encode(message.data, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified TimedeltaIndex message, length delimited. Does not implicitly {@link TimedeltaIndex.verify|verify} messages. - * @function encodeDelimited - * @memberof TimedeltaIndex - * @static - * @param {ITimedeltaIndex} message TimedeltaIndex message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - TimedeltaIndex.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a TimedeltaIndex message from the specified reader or buffer. - * @function decode - * @memberof TimedeltaIndex - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {TimedeltaIndex} TimedeltaIndex - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - TimedeltaIndex.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.TimedeltaIndex(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.data = $root.Int64Array.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a TimedeltaIndex message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof TimedeltaIndex - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {TimedeltaIndex} TimedeltaIndex - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - TimedeltaIndex.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a TimedeltaIndex message. - * @function verify - * @memberof TimedeltaIndex - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - TimedeltaIndex.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.data != null && message.hasOwnProperty("data")) { - let error = $root.Int64Array.verify(message.data); - if (error) - return "data." + error; - } - return null; - }; - - /** - * Creates a TimedeltaIndex message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof TimedeltaIndex - * @static - * @param {Object.} object Plain object - * @returns {TimedeltaIndex} TimedeltaIndex - */ - TimedeltaIndex.fromObject = function fromObject(object) { - if (object instanceof $root.TimedeltaIndex) - return object; - let message = new $root.TimedeltaIndex(); - if (object.data != null) { - if (typeof object.data !== "object") - throw TypeError(".TimedeltaIndex.data: object expected"); - message.data = $root.Int64Array.fromObject(object.data); - } - return message; - }; - - /** - * Creates a plain object from a TimedeltaIndex message. Also converts values to other types if specified. - * @function toObject - * @memberof TimedeltaIndex - * @static - * @param {TimedeltaIndex} message TimedeltaIndex - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - TimedeltaIndex.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) - object.data = null; - if (message.data != null && message.hasOwnProperty("data")) - object.data = $root.Int64Array.toObject(message.data, options); - return object; - }; - - /** - * Converts this TimedeltaIndex to JSON. - * @function toJSON - * @memberof TimedeltaIndex - * @instance - * @returns {Object.} JSON object - */ - TimedeltaIndex.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for TimedeltaIndex - * @function getTypeUrl - * @memberof TimedeltaIndex - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - TimedeltaIndex.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/TimedeltaIndex"; - }; - - return TimedeltaIndex; -})(); - -export const Int64Index = $root.Int64Index = (() => { - - /** - * Properties of an Int64Index. - * @exports IInt64Index - * @interface IInt64Index - * @property {IInt64Array|null} [data] Int64Index data - */ - - /** - * Constructs a new Int64Index. - * @exports Int64Index - * @classdesc Represents an Int64Index. - * @implements IInt64Index - * @constructor - * @param {IInt64Index=} [properties] Properties to set - */ - function Int64Index(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Int64Index data. - * @member {IInt64Array|null|undefined} data - * @memberof Int64Index - * @instance - */ - Int64Index.prototype.data = null; - - /** - * Creates a new Int64Index instance using the specified properties. - * @function create - * @memberof Int64Index - * @static - * @param {IInt64Index=} [properties] Properties to set - * @returns {Int64Index} Int64Index instance - */ - Int64Index.create = function create(properties) { - return new Int64Index(properties); - }; - - /** - * Encodes the specified Int64Index message. Does not implicitly {@link Int64Index.verify|verify} messages. - * @function encode - * @memberof Int64Index - * @static - * @param {IInt64Index} message Int64Index message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Int64Index.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.data != null && Object.hasOwnProperty.call(message, "data")) - $root.Int64Array.encode(message.data, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified Int64Index message, length delimited. Does not implicitly {@link Int64Index.verify|verify} messages. - * @function encodeDelimited - * @memberof Int64Index - * @static - * @param {IInt64Index} message Int64Index message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Int64Index.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an Int64Index message from the specified reader or buffer. - * @function decode - * @memberof Int64Index - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Int64Index} Int64Index - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Int64Index.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Int64Index(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.data = $root.Int64Array.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an Int64Index message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Int64Index - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Int64Index} Int64Index - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Int64Index.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an Int64Index message. - * @function verify - * @memberof Int64Index - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Int64Index.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.data != null && message.hasOwnProperty("data")) { - let error = $root.Int64Array.verify(message.data); - if (error) - return "data." + error; - } - return null; - }; - - /** - * Creates an Int64Index message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Int64Index - * @static - * @param {Object.} object Plain object - * @returns {Int64Index} Int64Index - */ - Int64Index.fromObject = function fromObject(object) { - if (object instanceof $root.Int64Index) - return object; - let message = new $root.Int64Index(); - if (object.data != null) { - if (typeof object.data !== "object") - throw TypeError(".Int64Index.data: object expected"); - message.data = $root.Int64Array.fromObject(object.data); - } - return message; - }; - - /** - * Creates a plain object from an Int64Index message. Also converts values to other types if specified. - * @function toObject - * @memberof Int64Index - * @static - * @param {Int64Index} message Int64Index - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Int64Index.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) - object.data = null; - if (message.data != null && message.hasOwnProperty("data")) - object.data = $root.Int64Array.toObject(message.data, options); - return object; - }; - - /** - * Converts this Int64Index to JSON. - * @function toJSON - * @memberof Int64Index - * @instance - * @returns {Object.} JSON object - */ - Int64Index.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Int64Index - * @function getTypeUrl - * @memberof Int64Index - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Int64Index.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Int64Index"; - }; - - return Int64Index; -})(); - -export const Float64Index = $root.Float64Index = (() => { - - /** - * Properties of a Float64Index. - * @exports IFloat64Index - * @interface IFloat64Index - * @property {IDoubleArray|null} [data] Float64Index data - */ - - /** - * Constructs a new Float64Index. - * @exports Float64Index - * @classdesc Represents a Float64Index. - * @implements IFloat64Index - * @constructor - * @param {IFloat64Index=} [properties] Properties to set - */ - function Float64Index(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Float64Index data. - * @member {IDoubleArray|null|undefined} data - * @memberof Float64Index - * @instance - */ - Float64Index.prototype.data = null; - - /** - * Creates a new Float64Index instance using the specified properties. - * @function create - * @memberof Float64Index - * @static - * @param {IFloat64Index=} [properties] Properties to set - * @returns {Float64Index} Float64Index instance - */ - Float64Index.create = function create(properties) { - return new Float64Index(properties); - }; - - /** - * Encodes the specified Float64Index message. Does not implicitly {@link Float64Index.verify|verify} messages. - * @function encode - * @memberof Float64Index - * @static - * @param {IFloat64Index} message Float64Index message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Float64Index.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.data != null && Object.hasOwnProperty.call(message, "data")) - $root.DoubleArray.encode(message.data, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified Float64Index message, length delimited. Does not implicitly {@link Float64Index.verify|verify} messages. - * @function encodeDelimited - * @memberof Float64Index - * @static - * @param {IFloat64Index} message Float64Index message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Float64Index.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Float64Index message from the specified reader or buffer. - * @function decode - * @memberof Float64Index - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Float64Index} Float64Index - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Float64Index.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Float64Index(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.data = $root.DoubleArray.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Float64Index message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Float64Index - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Float64Index} Float64Index - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Float64Index.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Float64Index message. - * @function verify - * @memberof Float64Index - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Float64Index.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.data != null && message.hasOwnProperty("data")) { - let error = $root.DoubleArray.verify(message.data); - if (error) - return "data." + error; - } - return null; - }; - - /** - * Creates a Float64Index message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Float64Index - * @static - * @param {Object.} object Plain object - * @returns {Float64Index} Float64Index - */ - Float64Index.fromObject = function fromObject(object) { - if (object instanceof $root.Float64Index) - return object; - let message = new $root.Float64Index(); - if (object.data != null) { - if (typeof object.data !== "object") - throw TypeError(".Float64Index.data: object expected"); - message.data = $root.DoubleArray.fromObject(object.data); - } - return message; - }; - - /** - * Creates a plain object from a Float64Index message. Also converts values to other types if specified. - * @function toObject - * @memberof Float64Index - * @static - * @param {Float64Index} message Float64Index - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Float64Index.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) - object.data = null; - if (message.data != null && message.hasOwnProperty("data")) - object.data = $root.DoubleArray.toObject(message.data, options); - return object; - }; - - /** - * Converts this Float64Index to JSON. - * @function toJSON - * @memberof Float64Index - * @instance - * @returns {Object.} JSON object - */ - Float64Index.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Float64Index - * @function getTypeUrl - * @memberof Float64Index - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Float64Index.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Float64Index"; - }; - - return Float64Index; -})(); - -export const CSSStyle = $root.CSSStyle = (() => { - - /** - * Properties of a CSSStyle. - * @exports ICSSStyle - * @interface ICSSStyle - * @property {string|null} [property] CSSStyle property - * @property {string|null} [value] CSSStyle value - */ - - /** - * Constructs a new CSSStyle. - * @exports CSSStyle - * @classdesc Represents a CSSStyle. - * @implements ICSSStyle - * @constructor - * @param {ICSSStyle=} [properties] Properties to set - */ - function CSSStyle(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * CSSStyle property. - * @member {string} property - * @memberof CSSStyle - * @instance - */ - CSSStyle.prototype.property = ""; - - /** - * CSSStyle value. - * @member {string} value - * @memberof CSSStyle - * @instance - */ - CSSStyle.prototype.value = ""; - - /** - * Creates a new CSSStyle instance using the specified properties. - * @function create - * @memberof CSSStyle - * @static - * @param {ICSSStyle=} [properties] Properties to set - * @returns {CSSStyle} CSSStyle instance - */ - CSSStyle.create = function create(properties) { - return new CSSStyle(properties); - }; - - /** - * Encodes the specified CSSStyle message. Does not implicitly {@link CSSStyle.verify|verify} messages. - * @function encode - * @memberof CSSStyle - * @static - * @param {ICSSStyle} message CSSStyle message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - CSSStyle.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.property != null && Object.hasOwnProperty.call(message, "property")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.property); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.value); - return writer; - }; - - /** - * Encodes the specified CSSStyle message, length delimited. Does not implicitly {@link CSSStyle.verify|verify} messages. - * @function encodeDelimited - * @memberof CSSStyle - * @static - * @param {ICSSStyle} message CSSStyle message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - CSSStyle.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a CSSStyle message from the specified reader or buffer. - * @function decode - * @memberof CSSStyle - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {CSSStyle} CSSStyle - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - CSSStyle.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.CSSStyle(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.property = reader.string(); - break; - } - case 2: { - message.value = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a CSSStyle message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof CSSStyle - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {CSSStyle} CSSStyle - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - CSSStyle.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a CSSStyle message. - * @function verify - * @memberof CSSStyle - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - CSSStyle.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.property != null && message.hasOwnProperty("property")) - if (!$util.isString(message.property)) - return "property: string expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (!$util.isString(message.value)) - return "value: string expected"; - return null; - }; - - /** - * Creates a CSSStyle message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof CSSStyle - * @static - * @param {Object.} object Plain object - * @returns {CSSStyle} CSSStyle - */ - CSSStyle.fromObject = function fromObject(object) { - if (object instanceof $root.CSSStyle) - return object; - let message = new $root.CSSStyle(); - if (object.property != null) - message.property = String(object.property); - if (object.value != null) - message.value = String(object.value); - return message; - }; - - /** - * Creates a plain object from a CSSStyle message. Also converts values to other types if specified. - * @function toObject - * @memberof CSSStyle - * @static - * @param {CSSStyle} message CSSStyle - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - CSSStyle.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.property = ""; - object.value = ""; - } - if (message.property != null && message.hasOwnProperty("property")) - object.property = message.property; - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - return object; - }; - - /** - * Converts this CSSStyle to JSON. - * @function toJSON - * @memberof CSSStyle - * @instance - * @returns {Object.} JSON object - */ - CSSStyle.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for CSSStyle - * @function getTypeUrl - * @memberof CSSStyle - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - CSSStyle.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/CSSStyle"; - }; - - return CSSStyle; -})(); - -export const CellStyle = $root.CellStyle = (() => { - - /** - * Properties of a CellStyle. - * @exports ICellStyle - * @interface ICellStyle - * @property {Array.|null} [css] CellStyle css - * @property {string|null} [displayValue] CellStyle displayValue - * @property {boolean|null} [hasDisplayValue] CellStyle hasDisplayValue - */ - - /** - * Constructs a new CellStyle. - * @exports CellStyle - * @classdesc Represents a CellStyle. - * @implements ICellStyle - * @constructor - * @param {ICellStyle=} [properties] Properties to set - */ - function CellStyle(properties) { - this.css = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * CellStyle css. - * @member {Array.} css - * @memberof CellStyle - * @instance - */ - CellStyle.prototype.css = $util.emptyArray; - - /** - * CellStyle displayValue. - * @member {string} displayValue - * @memberof CellStyle - * @instance - */ - CellStyle.prototype.displayValue = ""; - - /** - * CellStyle hasDisplayValue. - * @member {boolean} hasDisplayValue - * @memberof CellStyle - * @instance - */ - CellStyle.prototype.hasDisplayValue = false; - - /** - * Creates a new CellStyle instance using the specified properties. - * @function create - * @memberof CellStyle - * @static - * @param {ICellStyle=} [properties] Properties to set - * @returns {CellStyle} CellStyle instance - */ - CellStyle.create = function create(properties) { - return new CellStyle(properties); - }; - - /** - * Encodes the specified CellStyle message. Does not implicitly {@link CellStyle.verify|verify} messages. - * @function encode - * @memberof CellStyle - * @static - * @param {ICellStyle} message CellStyle message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - CellStyle.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.css != null && message.css.length) - for (let i = 0; i < message.css.length; ++i) - $root.CSSStyle.encode(message.css[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.displayValue != null && Object.hasOwnProperty.call(message, "displayValue")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.displayValue); - if (message.hasDisplayValue != null && Object.hasOwnProperty.call(message, "hasDisplayValue")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.hasDisplayValue); - return writer; - }; - - /** - * Encodes the specified CellStyle message, length delimited. Does not implicitly {@link CellStyle.verify|verify} messages. - * @function encodeDelimited - * @memberof CellStyle - * @static - * @param {ICellStyle} message CellStyle message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - CellStyle.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a CellStyle message from the specified reader or buffer. - * @function decode - * @memberof CellStyle - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {CellStyle} CellStyle - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - CellStyle.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.CellStyle(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message.css && message.css.length)) - message.css = []; - message.css.push($root.CSSStyle.decode(reader, reader.uint32())); - break; - } - case 2: { - message.displayValue = reader.string(); - break; - } - case 3: { - message.hasDisplayValue = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a CellStyle message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof CellStyle - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {CellStyle} CellStyle - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - CellStyle.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a CellStyle message. - * @function verify - * @memberof CellStyle - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - CellStyle.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.css != null && message.hasOwnProperty("css")) { - if (!Array.isArray(message.css)) - return "css: array expected"; - for (let i = 0; i < message.css.length; ++i) { - let error = $root.CSSStyle.verify(message.css[i]); - if (error) - return "css." + error; - } - } - if (message.displayValue != null && message.hasOwnProperty("displayValue")) - if (!$util.isString(message.displayValue)) - return "displayValue: string expected"; - if (message.hasDisplayValue != null && message.hasOwnProperty("hasDisplayValue")) - if (typeof message.hasDisplayValue !== "boolean") - return "hasDisplayValue: boolean expected"; - return null; - }; - - /** - * Creates a CellStyle message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof CellStyle - * @static - * @param {Object.} object Plain object - * @returns {CellStyle} CellStyle - */ - CellStyle.fromObject = function fromObject(object) { - if (object instanceof $root.CellStyle) - return object; - let message = new $root.CellStyle(); - if (object.css) { - if (!Array.isArray(object.css)) - throw TypeError(".CellStyle.css: array expected"); - message.css = []; - for (let i = 0; i < object.css.length; ++i) { - if (typeof object.css[i] !== "object") - throw TypeError(".CellStyle.css: object expected"); - message.css[i] = $root.CSSStyle.fromObject(object.css[i]); - } - } - if (object.displayValue != null) - message.displayValue = String(object.displayValue); - if (object.hasDisplayValue != null) - message.hasDisplayValue = Boolean(object.hasDisplayValue); - return message; - }; - - /** - * Creates a plain object from a CellStyle message. Also converts values to other types if specified. - * @function toObject - * @memberof CellStyle - * @static - * @param {CellStyle} message CellStyle - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - CellStyle.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.css = []; - if (options.defaults) { - object.displayValue = ""; - object.hasDisplayValue = false; - } - if (message.css && message.css.length) { - object.css = []; - for (let j = 0; j < message.css.length; ++j) - object.css[j] = $root.CSSStyle.toObject(message.css[j], options); - } - if (message.displayValue != null && message.hasOwnProperty("displayValue")) - object.displayValue = message.displayValue; - if (message.hasDisplayValue != null && message.hasOwnProperty("hasDisplayValue")) - object.hasDisplayValue = message.hasDisplayValue; - return object; - }; - - /** - * Converts this CellStyle to JSON. - * @function toJSON - * @memberof CellStyle - * @instance - * @returns {Object.} JSON object - */ - CellStyle.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for CellStyle - * @function getTypeUrl - * @memberof CellStyle - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - CellStyle.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/CellStyle"; - }; - - return CellStyle; -})(); - -export const CellStyleArray = $root.CellStyleArray = (() => { - - /** - * Properties of a CellStyleArray. - * @exports ICellStyleArray - * @interface ICellStyleArray - * @property {Array.|null} [styles] CellStyleArray styles - */ - - /** - * Constructs a new CellStyleArray. - * @exports CellStyleArray - * @classdesc Represents a CellStyleArray. - * @implements ICellStyleArray - * @constructor - * @param {ICellStyleArray=} [properties] Properties to set - */ - function CellStyleArray(properties) { - this.styles = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * CellStyleArray styles. - * @member {Array.} styles - * @memberof CellStyleArray - * @instance - */ - CellStyleArray.prototype.styles = $util.emptyArray; - - /** - * Creates a new CellStyleArray instance using the specified properties. - * @function create - * @memberof CellStyleArray - * @static - * @param {ICellStyleArray=} [properties] Properties to set - * @returns {CellStyleArray} CellStyleArray instance - */ - CellStyleArray.create = function create(properties) { - return new CellStyleArray(properties); - }; - - /** - * Encodes the specified CellStyleArray message. Does not implicitly {@link CellStyleArray.verify|verify} messages. - * @function encode - * @memberof CellStyleArray - * @static - * @param {ICellStyleArray} message CellStyleArray message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - CellStyleArray.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.styles != null && message.styles.length) - for (let i = 0; i < message.styles.length; ++i) - $root.CellStyle.encode(message.styles[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified CellStyleArray message, length delimited. Does not implicitly {@link CellStyleArray.verify|verify} messages. - * @function encodeDelimited - * @memberof CellStyleArray - * @static - * @param {ICellStyleArray} message CellStyleArray message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - CellStyleArray.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a CellStyleArray message from the specified reader or buffer. - * @function decode - * @memberof CellStyleArray - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {CellStyleArray} CellStyleArray - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - CellStyleArray.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.CellStyleArray(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message.styles && message.styles.length)) - message.styles = []; - message.styles.push($root.CellStyle.decode(reader, reader.uint32())); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a CellStyleArray message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof CellStyleArray - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {CellStyleArray} CellStyleArray - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - CellStyleArray.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a CellStyleArray message. - * @function verify - * @memberof CellStyleArray - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - CellStyleArray.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.styles != null && message.hasOwnProperty("styles")) { - if (!Array.isArray(message.styles)) - return "styles: array expected"; - for (let i = 0; i < message.styles.length; ++i) { - let error = $root.CellStyle.verify(message.styles[i]); - if (error) - return "styles." + error; - } - } - return null; - }; - - /** - * Creates a CellStyleArray message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof CellStyleArray - * @static - * @param {Object.} object Plain object - * @returns {CellStyleArray} CellStyleArray - */ - CellStyleArray.fromObject = function fromObject(object) { - if (object instanceof $root.CellStyleArray) - return object; - let message = new $root.CellStyleArray(); - if (object.styles) { - if (!Array.isArray(object.styles)) - throw TypeError(".CellStyleArray.styles: array expected"); - message.styles = []; - for (let i = 0; i < object.styles.length; ++i) { - if (typeof object.styles[i] !== "object") - throw TypeError(".CellStyleArray.styles: object expected"); - message.styles[i] = $root.CellStyle.fromObject(object.styles[i]); - } - } - return message; - }; - - /** - * Creates a plain object from a CellStyleArray message. Also converts values to other types if specified. - * @function toObject - * @memberof CellStyleArray - * @static - * @param {CellStyleArray} message CellStyleArray - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - CellStyleArray.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.styles = []; - if (message.styles && message.styles.length) { - object.styles = []; - for (let j = 0; j < message.styles.length; ++j) - object.styles[j] = $root.CellStyle.toObject(message.styles[j], options); - } - return object; - }; - - /** - * Converts this CellStyleArray to JSON. - * @function toJSON - * @memberof CellStyleArray - * @instance - * @returns {Object.} JSON object - */ - CellStyleArray.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for CellStyleArray - * @function getTypeUrl - * @memberof CellStyleArray - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - CellStyleArray.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/CellStyleArray"; - }; - - return CellStyleArray; -})(); - -export const AnyArray = $root.AnyArray = (() => { - - /** - * Properties of an AnyArray. - * @exports IAnyArray - * @interface IAnyArray - * @property {IStringArray|null} [strings] AnyArray strings - * @property {IDoubleArray|null} [doubles] AnyArray doubles - * @property {IInt64Array|null} [int64s] AnyArray int64s - * @property {IStringArray|null} [datetimes] AnyArray datetimes - * @property {IInt64Array|null} [timedeltas] AnyArray timedeltas - */ - - /** - * Constructs a new AnyArray. - * @exports AnyArray - * @classdesc Represents an AnyArray. - * @implements IAnyArray - * @constructor - * @param {IAnyArray=} [properties] Properties to set - */ - function AnyArray(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * AnyArray strings. - * @member {IStringArray|null|undefined} strings - * @memberof AnyArray - * @instance - */ - AnyArray.prototype.strings = null; - - /** - * AnyArray doubles. - * @member {IDoubleArray|null|undefined} doubles - * @memberof AnyArray - * @instance - */ - AnyArray.prototype.doubles = null; - - /** - * AnyArray int64s. - * @member {IInt64Array|null|undefined} int64s - * @memberof AnyArray - * @instance - */ - AnyArray.prototype.int64s = null; - - /** - * AnyArray datetimes. - * @member {IStringArray|null|undefined} datetimes - * @memberof AnyArray - * @instance - */ - AnyArray.prototype.datetimes = null; - - /** - * AnyArray timedeltas. - * @member {IInt64Array|null|undefined} timedeltas - * @memberof AnyArray - * @instance - */ - AnyArray.prototype.timedeltas = null; - - // OneOf field names bound to virtual getters and setters - let $oneOfFields; - - /** - * AnyArray type. - * @member {"strings"|"doubles"|"int64s"|"datetimes"|"timedeltas"|undefined} type - * @memberof AnyArray - * @instance - */ - Object.defineProperty(AnyArray.prototype, "type", { - get: $util.oneOfGetter($oneOfFields = ["strings", "doubles", "int64s", "datetimes", "timedeltas"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new AnyArray instance using the specified properties. - * @function create - * @memberof AnyArray - * @static - * @param {IAnyArray=} [properties] Properties to set - * @returns {AnyArray} AnyArray instance - */ - AnyArray.create = function create(properties) { - return new AnyArray(properties); - }; - - /** - * Encodes the specified AnyArray message. Does not implicitly {@link AnyArray.verify|verify} messages. - * @function encode - * @memberof AnyArray - * @static - * @param {IAnyArray} message AnyArray message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - AnyArray.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.strings != null && Object.hasOwnProperty.call(message, "strings")) - $root.StringArray.encode(message.strings, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.doubles != null && Object.hasOwnProperty.call(message, "doubles")) - $root.DoubleArray.encode(message.doubles, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.int64s != null && Object.hasOwnProperty.call(message, "int64s")) - $root.Int64Array.encode(message.int64s, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.datetimes != null && Object.hasOwnProperty.call(message, "datetimes")) - $root.StringArray.encode(message.datetimes, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.timedeltas != null && Object.hasOwnProperty.call(message, "timedeltas")) - $root.Int64Array.encode(message.timedeltas, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified AnyArray message, length delimited. Does not implicitly {@link AnyArray.verify|verify} messages. - * @function encodeDelimited - * @memberof AnyArray - * @static - * @param {IAnyArray} message AnyArray message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - AnyArray.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an AnyArray message from the specified reader or buffer. - * @function decode - * @memberof AnyArray - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {AnyArray} AnyArray - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - AnyArray.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.AnyArray(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.strings = $root.StringArray.decode(reader, reader.uint32()); - break; - } - case 2: { - message.doubles = $root.DoubleArray.decode(reader, reader.uint32()); - break; - } - case 3: { - message.int64s = $root.Int64Array.decode(reader, reader.uint32()); - break; - } - case 4: { - message.datetimes = $root.StringArray.decode(reader, reader.uint32()); - break; - } - case 5: { - message.timedeltas = $root.Int64Array.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an AnyArray message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof AnyArray - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {AnyArray} AnyArray - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - AnyArray.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an AnyArray message. - * @function verify - * @memberof AnyArray - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - AnyArray.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - let properties = {}; - if (message.strings != null && message.hasOwnProperty("strings")) { - properties.type = 1; - { - let error = $root.StringArray.verify(message.strings); - if (error) - return "strings." + error; - } - } - if (message.doubles != null && message.hasOwnProperty("doubles")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.DoubleArray.verify(message.doubles); - if (error) - return "doubles." + error; - } - } - if (message.int64s != null && message.hasOwnProperty("int64s")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Int64Array.verify(message.int64s); - if (error) - return "int64s." + error; - } - } - if (message.datetimes != null && message.hasOwnProperty("datetimes")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.StringArray.verify(message.datetimes); - if (error) - return "datetimes." + error; - } - } - if (message.timedeltas != null && message.hasOwnProperty("timedeltas")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Int64Array.verify(message.timedeltas); - if (error) - return "timedeltas." + error; - } - } - return null; - }; - - /** - * Creates an AnyArray message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof AnyArray - * @static - * @param {Object.} object Plain object - * @returns {AnyArray} AnyArray - */ - AnyArray.fromObject = function fromObject(object) { - if (object instanceof $root.AnyArray) - return object; - let message = new $root.AnyArray(); - if (object.strings != null) { - if (typeof object.strings !== "object") - throw TypeError(".AnyArray.strings: object expected"); - message.strings = $root.StringArray.fromObject(object.strings); - } - if (object.doubles != null) { - if (typeof object.doubles !== "object") - throw TypeError(".AnyArray.doubles: object expected"); - message.doubles = $root.DoubleArray.fromObject(object.doubles); - } - if (object.int64s != null) { - if (typeof object.int64s !== "object") - throw TypeError(".AnyArray.int64s: object expected"); - message.int64s = $root.Int64Array.fromObject(object.int64s); - } - if (object.datetimes != null) { - if (typeof object.datetimes !== "object") - throw TypeError(".AnyArray.datetimes: object expected"); - message.datetimes = $root.StringArray.fromObject(object.datetimes); - } - if (object.timedeltas != null) { - if (typeof object.timedeltas !== "object") - throw TypeError(".AnyArray.timedeltas: object expected"); - message.timedeltas = $root.Int64Array.fromObject(object.timedeltas); - } - return message; - }; - - /** - * Creates a plain object from an AnyArray message. Also converts values to other types if specified. - * @function toObject - * @memberof AnyArray - * @static - * @param {AnyArray} message AnyArray - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - AnyArray.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (message.strings != null && message.hasOwnProperty("strings")) { - object.strings = $root.StringArray.toObject(message.strings, options); - if (options.oneofs) - object.type = "strings"; - } - if (message.doubles != null && message.hasOwnProperty("doubles")) { - object.doubles = $root.DoubleArray.toObject(message.doubles, options); - if (options.oneofs) - object.type = "doubles"; - } - if (message.int64s != null && message.hasOwnProperty("int64s")) { - object.int64s = $root.Int64Array.toObject(message.int64s, options); - if (options.oneofs) - object.type = "int64s"; - } - if (message.datetimes != null && message.hasOwnProperty("datetimes")) { - object.datetimes = $root.StringArray.toObject(message.datetimes, options); - if (options.oneofs) - object.type = "datetimes"; - } - if (message.timedeltas != null && message.hasOwnProperty("timedeltas")) { - object.timedeltas = $root.Int64Array.toObject(message.timedeltas, options); - if (options.oneofs) - object.type = "timedeltas"; - } - return object; - }; - - /** - * Converts this AnyArray to JSON. - * @function toJSON - * @memberof AnyArray - * @instance - * @returns {Object.} JSON object - */ - AnyArray.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for AnyArray - * @function getTypeUrl - * @memberof AnyArray - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - AnyArray.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/AnyArray"; - }; - - return AnyArray; -})(); - -export const Table = $root.Table = (() => { - - /** - * Properties of a Table. - * @exports ITable - * @interface ITable - * @property {Array.|null} [cols] Table cols - */ - - /** - * Constructs a new Table. - * @exports Table - * @classdesc Represents a Table. - * @implements ITable - * @constructor - * @param {ITable=} [properties] Properties to set - */ - function Table(properties) { - this.cols = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Table cols. - * @member {Array.} cols - * @memberof Table - * @instance - */ - Table.prototype.cols = $util.emptyArray; - - /** - * Creates a new Table instance using the specified properties. - * @function create - * @memberof Table - * @static - * @param {ITable=} [properties] Properties to set - * @returns {Table} Table instance - */ - Table.create = function create(properties) { - return new Table(properties); - }; - - /** - * Encodes the specified Table message. Does not implicitly {@link Table.verify|verify} messages. - * @function encode - * @memberof Table - * @static - * @param {ITable} message Table message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Table.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.cols != null && message.cols.length) - for (let i = 0; i < message.cols.length; ++i) - $root.AnyArray.encode(message.cols[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified Table message, length delimited. Does not implicitly {@link Table.verify|verify} messages. - * @function encodeDelimited - * @memberof Table - * @static - * @param {ITable} message Table message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Table.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Table message from the specified reader or buffer. - * @function decode - * @memberof Table - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Table} Table - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Table.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Table(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message.cols && message.cols.length)) - message.cols = []; - message.cols.push($root.AnyArray.decode(reader, reader.uint32())); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Table message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Table - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Table} Table - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Table.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Table message. - * @function verify - * @memberof Table - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Table.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.cols != null && message.hasOwnProperty("cols")) { - if (!Array.isArray(message.cols)) - return "cols: array expected"; - for (let i = 0; i < message.cols.length; ++i) { - let error = $root.AnyArray.verify(message.cols[i]); - if (error) - return "cols." + error; - } - } - return null; - }; - - /** - * Creates a Table message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Table - * @static - * @param {Object.} object Plain object - * @returns {Table} Table - */ - Table.fromObject = function fromObject(object) { - if (object instanceof $root.Table) - return object; - let message = new $root.Table(); - if (object.cols) { - if (!Array.isArray(object.cols)) - throw TypeError(".Table.cols: array expected"); - message.cols = []; - for (let i = 0; i < object.cols.length; ++i) { - if (typeof object.cols[i] !== "object") - throw TypeError(".Table.cols: object expected"); - message.cols[i] = $root.AnyArray.fromObject(object.cols[i]); - } - } - return message; - }; - - /** - * Creates a plain object from a Table message. Also converts values to other types if specified. - * @function toObject - * @memberof Table - * @static - * @param {Table} message Table - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Table.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.cols = []; - if (message.cols && message.cols.length) { - object.cols = []; - for (let j = 0; j < message.cols.length; ++j) - object.cols[j] = $root.AnyArray.toObject(message.cols[j], options); - } - return object; - }; - - /** - * Converts this Table to JSON. - * @function toJSON - * @memberof Table - * @instance - * @returns {Object.} JSON object - */ - Table.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Table - * @function getTypeUrl - * @memberof Table - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Table.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Table"; - }; - - return Table; -})(); - -export const TableStyle = $root.TableStyle = (() => { - - /** - * Properties of a TableStyle. - * @exports ITableStyle - * @interface ITableStyle - * @property {Array.|null} [cols] TableStyle cols - */ - - /** - * Constructs a new TableStyle. - * @exports TableStyle - * @classdesc Represents a TableStyle. - * @implements ITableStyle - * @constructor - * @param {ITableStyle=} [properties] Properties to set - */ - function TableStyle(properties) { - this.cols = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * TableStyle cols. - * @member {Array.} cols - * @memberof TableStyle - * @instance - */ - TableStyle.prototype.cols = $util.emptyArray; - - /** - * Creates a new TableStyle instance using the specified properties. - * @function create - * @memberof TableStyle - * @static - * @param {ITableStyle=} [properties] Properties to set - * @returns {TableStyle} TableStyle instance - */ - TableStyle.create = function create(properties) { - return new TableStyle(properties); - }; - - /** - * Encodes the specified TableStyle message. Does not implicitly {@link TableStyle.verify|verify} messages. - * @function encode - * @memberof TableStyle - * @static - * @param {ITableStyle} message TableStyle message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - TableStyle.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.cols != null && message.cols.length) - for (let i = 0; i < message.cols.length; ++i) - $root.CellStyleArray.encode(message.cols[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified TableStyle message, length delimited. Does not implicitly {@link TableStyle.verify|verify} messages. - * @function encodeDelimited - * @memberof TableStyle - * @static - * @param {ITableStyle} message TableStyle message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - TableStyle.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a TableStyle message from the specified reader or buffer. - * @function decode - * @memberof TableStyle - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {TableStyle} TableStyle - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - TableStyle.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.TableStyle(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message.cols && message.cols.length)) - message.cols = []; - message.cols.push($root.CellStyleArray.decode(reader, reader.uint32())); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a TableStyle message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof TableStyle - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {TableStyle} TableStyle - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - TableStyle.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a TableStyle message. - * @function verify - * @memberof TableStyle - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - TableStyle.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.cols != null && message.hasOwnProperty("cols")) { - if (!Array.isArray(message.cols)) - return "cols: array expected"; - for (let i = 0; i < message.cols.length; ++i) { - let error = $root.CellStyleArray.verify(message.cols[i]); - if (error) - return "cols." + error; - } - } - return null; - }; - - /** - * Creates a TableStyle message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof TableStyle - * @static - * @param {Object.} object Plain object - * @returns {TableStyle} TableStyle - */ - TableStyle.fromObject = function fromObject(object) { - if (object instanceof $root.TableStyle) - return object; - let message = new $root.TableStyle(); - if (object.cols) { - if (!Array.isArray(object.cols)) - throw TypeError(".TableStyle.cols: array expected"); - message.cols = []; - for (let i = 0; i < object.cols.length; ++i) { - if (typeof object.cols[i] !== "object") - throw TypeError(".TableStyle.cols: object expected"); - message.cols[i] = $root.CellStyleArray.fromObject(object.cols[i]); - } - } - return message; - }; - - /** - * Creates a plain object from a TableStyle message. Also converts values to other types if specified. - * @function toObject - * @memberof TableStyle - * @static - * @param {TableStyle} message TableStyle - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - TableStyle.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.cols = []; - if (message.cols && message.cols.length) { - object.cols = []; - for (let j = 0; j < message.cols.length; ++j) - object.cols[j] = $root.CellStyleArray.toObject(message.cols[j], options); - } - return object; - }; - - /** - * Converts this TableStyle to JSON. - * @function toJSON - * @memberof TableStyle - * @instance - * @returns {Object.} JSON object - */ - TableStyle.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for TableStyle - * @function getTypeUrl - * @memberof TableStyle - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - TableStyle.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/TableStyle"; - }; - - return TableStyle; -})(); - -export const DateInput = $root.DateInput = (() => { - - /** - * Properties of a DateInput. - * @exports IDateInput - * @interface IDateInput - * @property {string|null} [id] DateInput id - * @property {string|null} [label] DateInput label - * @property {Array.|null} ["default"] DateInput default - * @property {string|null} [min] DateInput min - * @property {string|null} [max] DateInput max - * @property {boolean|null} [isRange] DateInput isRange - * @property {string|null} [help] DateInput help - * @property {string|null} [formId] DateInput formId - * @property {Array.|null} [value] DateInput value - * @property {boolean|null} [setValue] DateInput setValue - * @property {boolean|null} [disabled] DateInput disabled - * @property {ILabelVisibilityMessage|null} [labelVisibility] DateInput labelVisibility - */ - - /** - * Constructs a new DateInput. - * @exports DateInput - * @classdesc Represents a DateInput. - * @implements IDateInput - * @constructor - * @param {IDateInput=} [properties] Properties to set - */ - function DateInput(properties) { - this["default"] = []; - this.value = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * DateInput id. - * @member {string} id - * @memberof DateInput - * @instance - */ - DateInput.prototype.id = ""; - - /** - * DateInput label. - * @member {string} label - * @memberof DateInput - * @instance - */ - DateInput.prototype.label = ""; - - /** - * DateInput default. - * @member {Array.} default - * @memberof DateInput - * @instance - */ - DateInput.prototype["default"] = $util.emptyArray; - - /** - * DateInput min. - * @member {string} min - * @memberof DateInput - * @instance - */ - DateInput.prototype.min = ""; - - /** - * DateInput max. - * @member {string} max - * @memberof DateInput - * @instance - */ - DateInput.prototype.max = ""; - - /** - * DateInput isRange. - * @member {boolean} isRange - * @memberof DateInput - * @instance - */ - DateInput.prototype.isRange = false; - - /** - * DateInput help. - * @member {string} help - * @memberof DateInput - * @instance - */ - DateInput.prototype.help = ""; - - /** - * DateInput formId. - * @member {string} formId - * @memberof DateInput - * @instance - */ - DateInput.prototype.formId = ""; - - /** - * DateInput value. - * @member {Array.} value - * @memberof DateInput - * @instance - */ - DateInput.prototype.value = $util.emptyArray; - - /** - * DateInput setValue. - * @member {boolean} setValue - * @memberof DateInput - * @instance - */ - DateInput.prototype.setValue = false; - - /** - * DateInput disabled. - * @member {boolean} disabled - * @memberof DateInput - * @instance - */ - DateInput.prototype.disabled = false; - - /** - * DateInput labelVisibility. - * @member {ILabelVisibilityMessage|null|undefined} labelVisibility - * @memberof DateInput - * @instance - */ - DateInput.prototype.labelVisibility = null; - - /** - * Creates a new DateInput instance using the specified properties. - * @function create - * @memberof DateInput - * @static - * @param {IDateInput=} [properties] Properties to set - * @returns {DateInput} DateInput instance - */ - DateInput.create = function create(properties) { - return new DateInput(properties); - }; - - /** - * Encodes the specified DateInput message. Does not implicitly {@link DateInput.verify|verify} messages. - * @function encode - * @memberof DateInput - * @static - * @param {IDateInput} message DateInput message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - DateInput.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.id != null && Object.hasOwnProperty.call(message, "id")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); - if (message.label != null && Object.hasOwnProperty.call(message, "label")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.label); - if (message["default"] != null && message["default"].length) - for (let i = 0; i < message["default"].length; ++i) - writer.uint32(/* id 3, wireType 2 =*/26).string(message["default"][i]); - if (message.min != null && Object.hasOwnProperty.call(message, "min")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.min); - if (message.max != null && Object.hasOwnProperty.call(message, "max")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.max); - if (message.isRange != null && Object.hasOwnProperty.call(message, "isRange")) - writer.uint32(/* id 6, wireType 0 =*/48).bool(message.isRange); - if (message.help != null && Object.hasOwnProperty.call(message, "help")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.help); - if (message.formId != null && Object.hasOwnProperty.call(message, "formId")) - writer.uint32(/* id 8, wireType 2 =*/66).string(message.formId); - if (message.value != null && message.value.length) - for (let i = 0; i < message.value.length; ++i) - writer.uint32(/* id 9, wireType 2 =*/74).string(message.value[i]); - if (message.setValue != null && Object.hasOwnProperty.call(message, "setValue")) - writer.uint32(/* id 10, wireType 0 =*/80).bool(message.setValue); - if (message.disabled != null && Object.hasOwnProperty.call(message, "disabled")) - writer.uint32(/* id 11, wireType 0 =*/88).bool(message.disabled); - if (message.labelVisibility != null && Object.hasOwnProperty.call(message, "labelVisibility")) - $root.LabelVisibilityMessage.encode(message.labelVisibility, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified DateInput message, length delimited. Does not implicitly {@link DateInput.verify|verify} messages. - * @function encodeDelimited - * @memberof DateInput - * @static - * @param {IDateInput} message DateInput message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - DateInput.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a DateInput message from the specified reader or buffer. - * @function decode - * @memberof DateInput - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {DateInput} DateInput - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - DateInput.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.DateInput(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.id = reader.string(); - break; - } - case 2: { - message.label = reader.string(); - break; - } - case 3: { - if (!(message["default"] && message["default"].length)) - message["default"] = []; - message["default"].push(reader.string()); - break; - } - case 4: { - message.min = reader.string(); - break; - } - case 5: { - message.max = reader.string(); - break; - } - case 6: { - message.isRange = reader.bool(); - break; - } - case 7: { - message.help = reader.string(); - break; - } - case 8: { - message.formId = reader.string(); - break; - } - case 9: { - if (!(message.value && message.value.length)) - message.value = []; - message.value.push(reader.string()); - break; - } - case 10: { - message.setValue = reader.bool(); - break; - } - case 11: { - message.disabled = reader.bool(); - break; - } - case 12: { - message.labelVisibility = $root.LabelVisibilityMessage.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a DateInput message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof DateInput - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {DateInput} DateInput - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - DateInput.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a DateInput message. - * @function verify - * @memberof DateInput - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - DateInput.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isString(message.id)) - return "id: string expected"; - if (message.label != null && message.hasOwnProperty("label")) - if (!$util.isString(message.label)) - return "label: string expected"; - if (message["default"] != null && message.hasOwnProperty("default")) { - if (!Array.isArray(message["default"])) - return "default: array expected"; - for (let i = 0; i < message["default"].length; ++i) - if (!$util.isString(message["default"][i])) - return "default: string[] expected"; - } - if (message.min != null && message.hasOwnProperty("min")) - if (!$util.isString(message.min)) - return "min: string expected"; - if (message.max != null && message.hasOwnProperty("max")) - if (!$util.isString(message.max)) - return "max: string expected"; - if (message.isRange != null && message.hasOwnProperty("isRange")) - if (typeof message.isRange !== "boolean") - return "isRange: boolean expected"; - if (message.help != null && message.hasOwnProperty("help")) - if (!$util.isString(message.help)) - return "help: string expected"; - if (message.formId != null && message.hasOwnProperty("formId")) - if (!$util.isString(message.formId)) - return "formId: string expected"; - if (message.value != null && message.hasOwnProperty("value")) { - if (!Array.isArray(message.value)) - return "value: array expected"; - for (let i = 0; i < message.value.length; ++i) - if (!$util.isString(message.value[i])) - return "value: string[] expected"; - } - if (message.setValue != null && message.hasOwnProperty("setValue")) - if (typeof message.setValue !== "boolean") - return "setValue: boolean expected"; - if (message.disabled != null && message.hasOwnProperty("disabled")) - if (typeof message.disabled !== "boolean") - return "disabled: boolean expected"; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) { - let error = $root.LabelVisibilityMessage.verify(message.labelVisibility); - if (error) - return "labelVisibility." + error; - } - return null; - }; - - /** - * Creates a DateInput message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof DateInput - * @static - * @param {Object.} object Plain object - * @returns {DateInput} DateInput - */ - DateInput.fromObject = function fromObject(object) { - if (object instanceof $root.DateInput) - return object; - let message = new $root.DateInput(); - if (object.id != null) - message.id = String(object.id); - if (object.label != null) - message.label = String(object.label); - if (object["default"]) { - if (!Array.isArray(object["default"])) - throw TypeError(".DateInput.default: array expected"); - message["default"] = []; - for (let i = 0; i < object["default"].length; ++i) - message["default"][i] = String(object["default"][i]); - } - if (object.min != null) - message.min = String(object.min); - if (object.max != null) - message.max = String(object.max); - if (object.isRange != null) - message.isRange = Boolean(object.isRange); - if (object.help != null) - message.help = String(object.help); - if (object.formId != null) - message.formId = String(object.formId); - if (object.value) { - if (!Array.isArray(object.value)) - throw TypeError(".DateInput.value: array expected"); - message.value = []; - for (let i = 0; i < object.value.length; ++i) - message.value[i] = String(object.value[i]); - } - if (object.setValue != null) - message.setValue = Boolean(object.setValue); - if (object.disabled != null) - message.disabled = Boolean(object.disabled); - if (object.labelVisibility != null) { - if (typeof object.labelVisibility !== "object") - throw TypeError(".DateInput.labelVisibility: object expected"); - message.labelVisibility = $root.LabelVisibilityMessage.fromObject(object.labelVisibility); - } - return message; - }; - - /** - * Creates a plain object from a DateInput message. Also converts values to other types if specified. - * @function toObject - * @memberof DateInput - * @static - * @param {DateInput} message DateInput - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - DateInput.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) { - object["default"] = []; - object.value = []; - } - if (options.defaults) { - object.id = ""; - object.label = ""; - object.min = ""; - object.max = ""; - object.isRange = false; - object.help = ""; - object.formId = ""; - object.setValue = false; - object.disabled = false; - object.labelVisibility = null; - } - if (message.id != null && message.hasOwnProperty("id")) - object.id = message.id; - if (message.label != null && message.hasOwnProperty("label")) - object.label = message.label; - if (message["default"] && message["default"].length) { - object["default"] = []; - for (let j = 0; j < message["default"].length; ++j) - object["default"][j] = message["default"][j]; - } - if (message.min != null && message.hasOwnProperty("min")) - object.min = message.min; - if (message.max != null && message.hasOwnProperty("max")) - object.max = message.max; - if (message.isRange != null && message.hasOwnProperty("isRange")) - object.isRange = message.isRange; - if (message.help != null && message.hasOwnProperty("help")) - object.help = message.help; - if (message.formId != null && message.hasOwnProperty("formId")) - object.formId = message.formId; - if (message.value && message.value.length) { - object.value = []; - for (let j = 0; j < message.value.length; ++j) - object.value[j] = message.value[j]; - } - if (message.setValue != null && message.hasOwnProperty("setValue")) - object.setValue = message.setValue; - if (message.disabled != null && message.hasOwnProperty("disabled")) - object.disabled = message.disabled; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) - object.labelVisibility = $root.LabelVisibilityMessage.toObject(message.labelVisibility, options); - return object; - }; - - /** - * Converts this DateInput to JSON. - * @function toJSON - * @memberof DateInput - * @instance - * @returns {Object.} JSON object - */ - DateInput.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for DateInput - * @function getTypeUrl - * @memberof DateInput - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - DateInput.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/DateInput"; - }; - - return DateInput; -})(); - -export const DeckGlJsonChart = $root.DeckGlJsonChart = (() => { - - /** - * Properties of a DeckGlJsonChart. - * @exports IDeckGlJsonChart - * @interface IDeckGlJsonChart - * @property {string|null} [json] DeckGlJsonChart json - * @property {string|null} [tooltip] DeckGlJsonChart tooltip - * @property {boolean|null} [useContainerWidth] DeckGlJsonChart useContainerWidth - */ - - /** - * Constructs a new DeckGlJsonChart. - * @exports DeckGlJsonChart - * @classdesc Represents a DeckGlJsonChart. - * @implements IDeckGlJsonChart - * @constructor - * @param {IDeckGlJsonChart=} [properties] Properties to set - */ - function DeckGlJsonChart(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * DeckGlJsonChart json. - * @member {string} json - * @memberof DeckGlJsonChart - * @instance - */ - DeckGlJsonChart.prototype.json = ""; - - /** - * DeckGlJsonChart tooltip. - * @member {string} tooltip - * @memberof DeckGlJsonChart - * @instance - */ - DeckGlJsonChart.prototype.tooltip = ""; - - /** - * DeckGlJsonChart useContainerWidth. - * @member {boolean} useContainerWidth - * @memberof DeckGlJsonChart - * @instance - */ - DeckGlJsonChart.prototype.useContainerWidth = false; - - /** - * Creates a new DeckGlJsonChart instance using the specified properties. - * @function create - * @memberof DeckGlJsonChart - * @static - * @param {IDeckGlJsonChart=} [properties] Properties to set - * @returns {DeckGlJsonChart} DeckGlJsonChart instance - */ - DeckGlJsonChart.create = function create(properties) { - return new DeckGlJsonChart(properties); - }; - - /** - * Encodes the specified DeckGlJsonChart message. Does not implicitly {@link DeckGlJsonChart.verify|verify} messages. - * @function encode - * @memberof DeckGlJsonChart - * @static - * @param {IDeckGlJsonChart} message DeckGlJsonChart message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - DeckGlJsonChart.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.json != null && Object.hasOwnProperty.call(message, "json")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.json); - if (message.tooltip != null && Object.hasOwnProperty.call(message, "tooltip")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.tooltip); - if (message.useContainerWidth != null && Object.hasOwnProperty.call(message, "useContainerWidth")) - writer.uint32(/* id 4, wireType 0 =*/32).bool(message.useContainerWidth); - return writer; - }; - - /** - * Encodes the specified DeckGlJsonChart message, length delimited. Does not implicitly {@link DeckGlJsonChart.verify|verify} messages. - * @function encodeDelimited - * @memberof DeckGlJsonChart - * @static - * @param {IDeckGlJsonChart} message DeckGlJsonChart message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - DeckGlJsonChart.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a DeckGlJsonChart message from the specified reader or buffer. - * @function decode - * @memberof DeckGlJsonChart - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {DeckGlJsonChart} DeckGlJsonChart - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - DeckGlJsonChart.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.DeckGlJsonChart(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.json = reader.string(); - break; - } - case 2: { - message.tooltip = reader.string(); - break; - } - case 4: { - message.useContainerWidth = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a DeckGlJsonChart message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof DeckGlJsonChart - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {DeckGlJsonChart} DeckGlJsonChart - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - DeckGlJsonChart.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a DeckGlJsonChart message. - * @function verify - * @memberof DeckGlJsonChart - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - DeckGlJsonChart.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.json != null && message.hasOwnProperty("json")) - if (!$util.isString(message.json)) - return "json: string expected"; - if (message.tooltip != null && message.hasOwnProperty("tooltip")) - if (!$util.isString(message.tooltip)) - return "tooltip: string expected"; - if (message.useContainerWidth != null && message.hasOwnProperty("useContainerWidth")) - if (typeof message.useContainerWidth !== "boolean") - return "useContainerWidth: boolean expected"; - return null; - }; - - /** - * Creates a DeckGlJsonChart message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof DeckGlJsonChart - * @static - * @param {Object.} object Plain object - * @returns {DeckGlJsonChart} DeckGlJsonChart - */ - DeckGlJsonChart.fromObject = function fromObject(object) { - if (object instanceof $root.DeckGlJsonChart) - return object; - let message = new $root.DeckGlJsonChart(); - if (object.json != null) - message.json = String(object.json); - if (object.tooltip != null) - message.tooltip = String(object.tooltip); - if (object.useContainerWidth != null) - message.useContainerWidth = Boolean(object.useContainerWidth); - return message; - }; - - /** - * Creates a plain object from a DeckGlJsonChart message. Also converts values to other types if specified. - * @function toObject - * @memberof DeckGlJsonChart - * @static - * @param {DeckGlJsonChart} message DeckGlJsonChart - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - DeckGlJsonChart.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.json = ""; - object.tooltip = ""; - object.useContainerWidth = false; - } - if (message.json != null && message.hasOwnProperty("json")) - object.json = message.json; - if (message.tooltip != null && message.hasOwnProperty("tooltip")) - object.tooltip = message.tooltip; - if (message.useContainerWidth != null && message.hasOwnProperty("useContainerWidth")) - object.useContainerWidth = message.useContainerWidth; - return object; - }; - - /** - * Converts this DeckGlJsonChart to JSON. - * @function toJSON - * @memberof DeckGlJsonChart - * @instance - * @returns {Object.} JSON object - */ - DeckGlJsonChart.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for DeckGlJsonChart - * @function getTypeUrl - * @memberof DeckGlJsonChart - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - DeckGlJsonChart.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/DeckGlJsonChart"; - }; - - return DeckGlJsonChart; -})(); - -export const Delta = $root.Delta = (() => { - - /** - * Properties of a Delta. - * @exports IDelta - * @interface IDelta - * @property {IElement|null} [newElement] Delta newElement - * @property {IBlock|null} [addBlock] Delta addBlock - * @property {INamedDataSet|null} [addRows] Delta addRows - * @property {IArrowNamedDataSet|null} [arrowAddRows] Delta arrowAddRows - */ - - /** - * Constructs a new Delta. - * @exports Delta - * @classdesc Represents a Delta. - * @implements IDelta - * @constructor - * @param {IDelta=} [properties] Properties to set - */ - function Delta(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Delta newElement. - * @member {IElement|null|undefined} newElement - * @memberof Delta - * @instance - */ - Delta.prototype.newElement = null; - - /** - * Delta addBlock. - * @member {IBlock|null|undefined} addBlock - * @memberof Delta - * @instance - */ - Delta.prototype.addBlock = null; - - /** - * Delta addRows. - * @member {INamedDataSet|null|undefined} addRows - * @memberof Delta - * @instance - */ - Delta.prototype.addRows = null; - - /** - * Delta arrowAddRows. - * @member {IArrowNamedDataSet|null|undefined} arrowAddRows - * @memberof Delta - * @instance - */ - Delta.prototype.arrowAddRows = null; - - // OneOf field names bound to virtual getters and setters - let $oneOfFields; - - /** - * Delta type. - * @member {"newElement"|"addBlock"|"addRows"|"arrowAddRows"|undefined} type - * @memberof Delta - * @instance - */ - Object.defineProperty(Delta.prototype, "type", { - get: $util.oneOfGetter($oneOfFields = ["newElement", "addBlock", "addRows", "arrowAddRows"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new Delta instance using the specified properties. - * @function create - * @memberof Delta - * @static - * @param {IDelta=} [properties] Properties to set - * @returns {Delta} Delta instance - */ - Delta.create = function create(properties) { - return new Delta(properties); - }; - - /** - * Encodes the specified Delta message. Does not implicitly {@link Delta.verify|verify} messages. - * @function encode - * @memberof Delta - * @static - * @param {IDelta} message Delta message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Delta.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.newElement != null && Object.hasOwnProperty.call(message, "newElement")) - $root.Element.encode(message.newElement, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.addRows != null && Object.hasOwnProperty.call(message, "addRows")) - $root.NamedDataSet.encode(message.addRows, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.addBlock != null && Object.hasOwnProperty.call(message, "addBlock")) - $root.Block.encode(message.addBlock, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.arrowAddRows != null && Object.hasOwnProperty.call(message, "arrowAddRows")) - $root.ArrowNamedDataSet.encode(message.arrowAddRows, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified Delta message, length delimited. Does not implicitly {@link Delta.verify|verify} messages. - * @function encodeDelimited - * @memberof Delta - * @static - * @param {IDelta} message Delta message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Delta.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Delta message from the specified reader or buffer. - * @function decode - * @memberof Delta - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Delta} Delta - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Delta.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Delta(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 3: { - message.newElement = $root.Element.decode(reader, reader.uint32()); - break; - } - case 6: { - message.addBlock = $root.Block.decode(reader, reader.uint32()); - break; - } - case 5: { - message.addRows = $root.NamedDataSet.decode(reader, reader.uint32()); - break; - } - case 7: { - message.arrowAddRows = $root.ArrowNamedDataSet.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Delta message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Delta - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Delta} Delta - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Delta.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Delta message. - * @function verify - * @memberof Delta - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Delta.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - let properties = {}; - if (message.newElement != null && message.hasOwnProperty("newElement")) { - properties.type = 1; - { - let error = $root.Element.verify(message.newElement); - if (error) - return "newElement." + error; - } - } - if (message.addBlock != null && message.hasOwnProperty("addBlock")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Block.verify(message.addBlock); - if (error) - return "addBlock." + error; - } - } - if (message.addRows != null && message.hasOwnProperty("addRows")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.NamedDataSet.verify(message.addRows); - if (error) - return "addRows." + error; - } - } - if (message.arrowAddRows != null && message.hasOwnProperty("arrowAddRows")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.ArrowNamedDataSet.verify(message.arrowAddRows); - if (error) - return "arrowAddRows." + error; - } - } - return null; - }; - - /** - * Creates a Delta message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Delta - * @static - * @param {Object.} object Plain object - * @returns {Delta} Delta - */ - Delta.fromObject = function fromObject(object) { - if (object instanceof $root.Delta) - return object; - let message = new $root.Delta(); - if (object.newElement != null) { - if (typeof object.newElement !== "object") - throw TypeError(".Delta.newElement: object expected"); - message.newElement = $root.Element.fromObject(object.newElement); - } - if (object.addBlock != null) { - if (typeof object.addBlock !== "object") - throw TypeError(".Delta.addBlock: object expected"); - message.addBlock = $root.Block.fromObject(object.addBlock); - } - if (object.addRows != null) { - if (typeof object.addRows !== "object") - throw TypeError(".Delta.addRows: object expected"); - message.addRows = $root.NamedDataSet.fromObject(object.addRows); - } - if (object.arrowAddRows != null) { - if (typeof object.arrowAddRows !== "object") - throw TypeError(".Delta.arrowAddRows: object expected"); - message.arrowAddRows = $root.ArrowNamedDataSet.fromObject(object.arrowAddRows); - } - return message; - }; - - /** - * Creates a plain object from a Delta message. Also converts values to other types if specified. - * @function toObject - * @memberof Delta - * @static - * @param {Delta} message Delta - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Delta.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (message.newElement != null && message.hasOwnProperty("newElement")) { - object.newElement = $root.Element.toObject(message.newElement, options); - if (options.oneofs) - object.type = "newElement"; - } - if (message.addRows != null && message.hasOwnProperty("addRows")) { - object.addRows = $root.NamedDataSet.toObject(message.addRows, options); - if (options.oneofs) - object.type = "addRows"; - } - if (message.addBlock != null && message.hasOwnProperty("addBlock")) { - object.addBlock = $root.Block.toObject(message.addBlock, options); - if (options.oneofs) - object.type = "addBlock"; - } - if (message.arrowAddRows != null && message.hasOwnProperty("arrowAddRows")) { - object.arrowAddRows = $root.ArrowNamedDataSet.toObject(message.arrowAddRows, options); - if (options.oneofs) - object.type = "arrowAddRows"; - } - return object; - }; - - /** - * Converts this Delta to JSON. - * @function toJSON - * @memberof Delta - * @instance - * @returns {Object.} JSON object - */ - Delta.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Delta - * @function getTypeUrl - * @memberof Delta - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Delta.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Delta"; - }; - - return Delta; -})(); - -export const DocString = $root.DocString = (() => { - - /** - * Properties of a DocString. - * @exports IDocString - * @interface IDocString - * @property {string|null} [docString] DocString docString - * @property {string|null} [type] DocString type - * @property {string|null} [name] DocString name - * @property {string|null} [value] DocString value - * @property {Array.|null} [members] DocString members - */ - - /** - * Constructs a new DocString. - * @exports DocString - * @classdesc Represents a DocString. - * @implements IDocString - * @constructor - * @param {IDocString=} [properties] Properties to set - */ - function DocString(properties) { - this.members = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * DocString docString. - * @member {string} docString - * @memberof DocString - * @instance - */ - DocString.prototype.docString = ""; - - /** - * DocString type. - * @member {string} type - * @memberof DocString - * @instance - */ - DocString.prototype.type = ""; - - /** - * DocString name. - * @member {string} name - * @memberof DocString - * @instance - */ - DocString.prototype.name = ""; - - /** - * DocString value. - * @member {string} value - * @memberof DocString - * @instance - */ - DocString.prototype.value = ""; - - /** - * DocString members. - * @member {Array.} members - * @memberof DocString - * @instance - */ - DocString.prototype.members = $util.emptyArray; - - /** - * Creates a new DocString instance using the specified properties. - * @function create - * @memberof DocString - * @static - * @param {IDocString=} [properties] Properties to set - * @returns {DocString} DocString instance - */ - DocString.create = function create(properties) { - return new DocString(properties); - }; - - /** - * Encodes the specified DocString message. Does not implicitly {@link DocString.verify|verify} messages. - * @function encode - * @memberof DocString - * @static - * @param {IDocString} message DocString message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - DocString.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.docString != null && Object.hasOwnProperty.call(message, "docString")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.docString); - if (message.type != null && Object.hasOwnProperty.call(message, "type")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.type); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.name); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.value); - if (message.members != null && message.members.length) - for (let i = 0; i < message.members.length; ++i) - $root.Member.encode(message.members[i], writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified DocString message, length delimited. Does not implicitly {@link DocString.verify|verify} messages. - * @function encodeDelimited - * @memberof DocString - * @static - * @param {IDocString} message DocString message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - DocString.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a DocString message from the specified reader or buffer. - * @function decode - * @memberof DocString - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {DocString} DocString - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - DocString.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.DocString(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 3: { - message.docString = reader.string(); - break; - } - case 4: { - message.type = reader.string(); - break; - } - case 6: { - message.name = reader.string(); - break; - } - case 7: { - message.value = reader.string(); - break; - } - case 8: { - if (!(message.members && message.members.length)) - message.members = []; - message.members.push($root.Member.decode(reader, reader.uint32())); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a DocString message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof DocString - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {DocString} DocString - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - DocString.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a DocString message. - * @function verify - * @memberof DocString - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - DocString.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.docString != null && message.hasOwnProperty("docString")) - if (!$util.isString(message.docString)) - return "docString: string expected"; - if (message.type != null && message.hasOwnProperty("type")) - if (!$util.isString(message.type)) - return "type: string expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (!$util.isString(message.value)) - return "value: string expected"; - if (message.members != null && message.hasOwnProperty("members")) { - if (!Array.isArray(message.members)) - return "members: array expected"; - for (let i = 0; i < message.members.length; ++i) { - let error = $root.Member.verify(message.members[i]); - if (error) - return "members." + error; - } - } - return null; - }; - - /** - * Creates a DocString message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof DocString - * @static - * @param {Object.} object Plain object - * @returns {DocString} DocString - */ - DocString.fromObject = function fromObject(object) { - if (object instanceof $root.DocString) - return object; - let message = new $root.DocString(); - if (object.docString != null) - message.docString = String(object.docString); - if (object.type != null) - message.type = String(object.type); - if (object.name != null) - message.name = String(object.name); - if (object.value != null) - message.value = String(object.value); - if (object.members) { - if (!Array.isArray(object.members)) - throw TypeError(".DocString.members: array expected"); - message.members = []; - for (let i = 0; i < object.members.length; ++i) { - if (typeof object.members[i] !== "object") - throw TypeError(".DocString.members: object expected"); - message.members[i] = $root.Member.fromObject(object.members[i]); - } - } - return message; - }; - - /** - * Creates a plain object from a DocString message. Also converts values to other types if specified. - * @function toObject - * @memberof DocString - * @static - * @param {DocString} message DocString - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - DocString.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.members = []; - if (options.defaults) { - object.docString = ""; - object.type = ""; - object.name = ""; - object.value = ""; - } - if (message.docString != null && message.hasOwnProperty("docString")) - object.docString = message.docString; - if (message.type != null && message.hasOwnProperty("type")) - object.type = message.type; - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - if (message.members && message.members.length) { - object.members = []; - for (let j = 0; j < message.members.length; ++j) - object.members[j] = $root.Member.toObject(message.members[j], options); - } - return object; - }; - - /** - * Converts this DocString to JSON. - * @function toJSON - * @memberof DocString - * @instance - * @returns {Object.} JSON object - */ - DocString.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for DocString - * @function getTypeUrl - * @memberof DocString - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - DocString.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/DocString"; - }; - - return DocString; -})(); - -export const Member = $root.Member = (() => { - - /** - * Properties of a Member. - * @exports IMember - * @interface IMember - * @property {string|null} [name] Member name - * @property {string|null} [type] Member type - * @property {string|null} [value] Member value - * @property {string|null} [docString] Member docString - */ - - /** - * Constructs a new Member. - * @exports Member - * @classdesc Represents a Member. - * @implements IMember - * @constructor - * @param {IMember=} [properties] Properties to set - */ - function Member(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Member name. - * @member {string} name - * @memberof Member - * @instance - */ - Member.prototype.name = ""; - - /** - * Member type. - * @member {string} type - * @memberof Member - * @instance - */ - Member.prototype.type = ""; - - /** - * Member value. - * @member {string|null|undefined} value - * @memberof Member - * @instance - */ - Member.prototype.value = null; - - /** - * Member docString. - * @member {string|null|undefined} docString - * @memberof Member - * @instance - */ - Member.prototype.docString = null; - - // OneOf field names bound to virtual getters and setters - let $oneOfFields; - - /** - * Member contents. - * @member {"value"|"docString"|undefined} contents - * @memberof Member - * @instance - */ - Object.defineProperty(Member.prototype, "contents", { - get: $util.oneOfGetter($oneOfFields = ["value", "docString"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new Member instance using the specified properties. - * @function create - * @memberof Member - * @static - * @param {IMember=} [properties] Properties to set - * @returns {Member} Member instance - */ - Member.create = function create(properties) { - return new Member(properties); - }; - - /** - * Encodes the specified Member message. Does not implicitly {@link Member.verify|verify} messages. - * @function encode - * @memberof Member - * @static - * @param {IMember} message Member message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Member.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); - if (message.type != null && Object.hasOwnProperty.call(message, "type")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.type); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.value); - if (message.docString != null && Object.hasOwnProperty.call(message, "docString")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.docString); - return writer; - }; - - /** - * Encodes the specified Member message, length delimited. Does not implicitly {@link Member.verify|verify} messages. - * @function encodeDelimited - * @memberof Member - * @static - * @param {IMember} message Member message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Member.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Member message from the specified reader or buffer. - * @function decode - * @memberof Member - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Member} Member - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Member.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Member(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.name = reader.string(); - break; - } - case 2: { - message.type = reader.string(); - break; - } - case 3: { - message.value = reader.string(); - break; - } - case 4: { - message.docString = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Member message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Member - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Member} Member - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Member.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Member message. - * @function verify - * @memberof Member - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Member.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - let properties = {}; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.type != null && message.hasOwnProperty("type")) - if (!$util.isString(message.type)) - return "type: string expected"; - if (message.value != null && message.hasOwnProperty("value")) { - properties.contents = 1; - if (!$util.isString(message.value)) - return "value: string expected"; - } - if (message.docString != null && message.hasOwnProperty("docString")) { - if (properties.contents === 1) - return "contents: multiple values"; - properties.contents = 1; - if (!$util.isString(message.docString)) - return "docString: string expected"; - } - return null; - }; - - /** - * Creates a Member message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Member - * @static - * @param {Object.} object Plain object - * @returns {Member} Member - */ - Member.fromObject = function fromObject(object) { - if (object instanceof $root.Member) - return object; - let message = new $root.Member(); - if (object.name != null) - message.name = String(object.name); - if (object.type != null) - message.type = String(object.type); - if (object.value != null) - message.value = String(object.value); - if (object.docString != null) - message.docString = String(object.docString); - return message; - }; - - /** - * Creates a plain object from a Member message. Also converts values to other types if specified. - * @function toObject - * @memberof Member - * @static - * @param {Member} message Member - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Member.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.name = ""; - object.type = ""; - } - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; - if (message.type != null && message.hasOwnProperty("type")) - object.type = message.type; - if (message.value != null && message.hasOwnProperty("value")) { - object.value = message.value; - if (options.oneofs) - object.contents = "value"; - } - if (message.docString != null && message.hasOwnProperty("docString")) { - object.docString = message.docString; - if (options.oneofs) - object.contents = "docString"; - } - return object; - }; - - /** - * Converts this Member to JSON. - * @function toJSON - * @memberof Member - * @instance - * @returns {Object.} JSON object - */ - Member.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Member - * @function getTypeUrl - * @memberof Member - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Member.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Member"; - }; - - return Member; -})(); - -export const DownloadButton = $root.DownloadButton = (() => { - - /** - * Properties of a DownloadButton. - * @exports IDownloadButton - * @interface IDownloadButton - * @property {string|null} [id] DownloadButton id - * @property {string|null} [label] DownloadButton label - * @property {boolean|null} ["default"] DownloadButton default - * @property {string|null} [help] DownloadButton help - * @property {string|null} [formId] DownloadButton formId - * @property {string|null} [url] DownloadButton url - * @property {boolean|null} [disabled] DownloadButton disabled - * @property {boolean|null} [useContainerWidth] DownloadButton useContainerWidth - */ - - /** - * Constructs a new DownloadButton. - * @exports DownloadButton - * @classdesc Represents a DownloadButton. - * @implements IDownloadButton - * @constructor - * @param {IDownloadButton=} [properties] Properties to set - */ - function DownloadButton(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * DownloadButton id. - * @member {string} id - * @memberof DownloadButton - * @instance - */ - DownloadButton.prototype.id = ""; - - /** - * DownloadButton label. - * @member {string} label - * @memberof DownloadButton - * @instance - */ - DownloadButton.prototype.label = ""; - - /** - * DownloadButton default. - * @member {boolean} default - * @memberof DownloadButton - * @instance - */ - DownloadButton.prototype["default"] = false; - - /** - * DownloadButton help. - * @member {string} help - * @memberof DownloadButton - * @instance - */ - DownloadButton.prototype.help = ""; - - /** - * DownloadButton formId. - * @member {string} formId - * @memberof DownloadButton - * @instance - */ - DownloadButton.prototype.formId = ""; - - /** - * DownloadButton url. - * @member {string} url - * @memberof DownloadButton - * @instance - */ - DownloadButton.prototype.url = ""; - - /** - * DownloadButton disabled. - * @member {boolean} disabled - * @memberof DownloadButton - * @instance - */ - DownloadButton.prototype.disabled = false; - - /** - * DownloadButton useContainerWidth. - * @member {boolean} useContainerWidth - * @memberof DownloadButton - * @instance - */ - DownloadButton.prototype.useContainerWidth = false; - - /** - * Creates a new DownloadButton instance using the specified properties. - * @function create - * @memberof DownloadButton - * @static - * @param {IDownloadButton=} [properties] Properties to set - * @returns {DownloadButton} DownloadButton instance - */ - DownloadButton.create = function create(properties) { - return new DownloadButton(properties); - }; - - /** - * Encodes the specified DownloadButton message. Does not implicitly {@link DownloadButton.verify|verify} messages. - * @function encode - * @memberof DownloadButton - * @static - * @param {IDownloadButton} message DownloadButton message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - DownloadButton.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.id != null && Object.hasOwnProperty.call(message, "id")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); - if (message.label != null && Object.hasOwnProperty.call(message, "label")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.label); - if (message["default"] != null && Object.hasOwnProperty.call(message, "default")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message["default"]); - if (message.help != null && Object.hasOwnProperty.call(message, "help")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.help); - if (message.formId != null && Object.hasOwnProperty.call(message, "formId")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.formId); - if (message.url != null && Object.hasOwnProperty.call(message, "url")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.url); - if (message.disabled != null && Object.hasOwnProperty.call(message, "disabled")) - writer.uint32(/* id 7, wireType 0 =*/56).bool(message.disabled); - if (message.useContainerWidth != null && Object.hasOwnProperty.call(message, "useContainerWidth")) - writer.uint32(/* id 8, wireType 0 =*/64).bool(message.useContainerWidth); - return writer; - }; - - /** - * Encodes the specified DownloadButton message, length delimited. Does not implicitly {@link DownloadButton.verify|verify} messages. - * @function encodeDelimited - * @memberof DownloadButton - * @static - * @param {IDownloadButton} message DownloadButton message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - DownloadButton.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a DownloadButton message from the specified reader or buffer. - * @function decode - * @memberof DownloadButton - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {DownloadButton} DownloadButton - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - DownloadButton.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.DownloadButton(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.id = reader.string(); - break; - } - case 2: { - message.label = reader.string(); - break; - } - case 3: { - message["default"] = reader.bool(); - break; - } - case 4: { - message.help = reader.string(); - break; - } - case 5: { - message.formId = reader.string(); - break; - } - case 6: { - message.url = reader.string(); - break; - } - case 7: { - message.disabled = reader.bool(); - break; - } - case 8: { - message.useContainerWidth = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a DownloadButton message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof DownloadButton - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {DownloadButton} DownloadButton - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - DownloadButton.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a DownloadButton message. - * @function verify - * @memberof DownloadButton - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - DownloadButton.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isString(message.id)) - return "id: string expected"; - if (message.label != null && message.hasOwnProperty("label")) - if (!$util.isString(message.label)) - return "label: string expected"; - if (message["default"] != null && message.hasOwnProperty("default")) - if (typeof message["default"] !== "boolean") - return "default: boolean expected"; - if (message.help != null && message.hasOwnProperty("help")) - if (!$util.isString(message.help)) - return "help: string expected"; - if (message.formId != null && message.hasOwnProperty("formId")) - if (!$util.isString(message.formId)) - return "formId: string expected"; - if (message.url != null && message.hasOwnProperty("url")) - if (!$util.isString(message.url)) - return "url: string expected"; - if (message.disabled != null && message.hasOwnProperty("disabled")) - if (typeof message.disabled !== "boolean") - return "disabled: boolean expected"; - if (message.useContainerWidth != null && message.hasOwnProperty("useContainerWidth")) - if (typeof message.useContainerWidth !== "boolean") - return "useContainerWidth: boolean expected"; - return null; - }; - - /** - * Creates a DownloadButton message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof DownloadButton - * @static - * @param {Object.} object Plain object - * @returns {DownloadButton} DownloadButton - */ - DownloadButton.fromObject = function fromObject(object) { - if (object instanceof $root.DownloadButton) - return object; - let message = new $root.DownloadButton(); - if (object.id != null) - message.id = String(object.id); - if (object.label != null) - message.label = String(object.label); - if (object["default"] != null) - message["default"] = Boolean(object["default"]); - if (object.help != null) - message.help = String(object.help); - if (object.formId != null) - message.formId = String(object.formId); - if (object.url != null) - message.url = String(object.url); - if (object.disabled != null) - message.disabled = Boolean(object.disabled); - if (object.useContainerWidth != null) - message.useContainerWidth = Boolean(object.useContainerWidth); - return message; - }; - - /** - * Creates a plain object from a DownloadButton message. Also converts values to other types if specified. - * @function toObject - * @memberof DownloadButton - * @static - * @param {DownloadButton} message DownloadButton - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - DownloadButton.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.id = ""; - object.label = ""; - object["default"] = false; - object.help = ""; - object.formId = ""; - object.url = ""; - object.disabled = false; - object.useContainerWidth = false; - } - if (message.id != null && message.hasOwnProperty("id")) - object.id = message.id; - if (message.label != null && message.hasOwnProperty("label")) - object.label = message.label; - if (message["default"] != null && message.hasOwnProperty("default")) - object["default"] = message["default"]; - if (message.help != null && message.hasOwnProperty("help")) - object.help = message.help; - if (message.formId != null && message.hasOwnProperty("formId")) - object.formId = message.formId; - if (message.url != null && message.hasOwnProperty("url")) - object.url = message.url; - if (message.disabled != null && message.hasOwnProperty("disabled")) - object.disabled = message.disabled; - if (message.useContainerWidth != null && message.hasOwnProperty("useContainerWidth")) - object.useContainerWidth = message.useContainerWidth; - return object; - }; - - /** - * Converts this DownloadButton to JSON. - * @function toJSON - * @memberof DownloadButton - * @instance - * @returns {Object.} JSON object - */ - DownloadButton.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for DownloadButton - * @function getTypeUrl - * @memberof DownloadButton - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - DownloadButton.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/DownloadButton"; - }; - - return DownloadButton; -})(); - -export const Element = $root.Element = (() => { - - /** - * Properties of an Element. - * @exports IElement - * @interface IElement - * @property {IAlert|null} [alert] Element alert - * @property {IArrow|null} [arrowDataFrame] Element arrowDataFrame - * @property {IArrow|null} [arrowTable] Element arrowTable - * @property {IArrowVegaLiteChart|null} [arrowVegaLiteChart] Element arrowVegaLiteChart - * @property {IAudio|null} [audio] Element audio - * @property {IBalloons|null} [balloons] Element balloons - * @property {IBokehChart|null} [bokehChart] Element bokehChart - * @property {IButton|null} [button] Element button - * @property {IDownloadButton|null} [downloadButton] Element downloadButton - * @property {ICameraInput|null} [cameraInput] Element cameraInput - * @property {ICheckbox|null} [checkbox] Element checkbox - * @property {IColorPicker|null} [colorPicker] Element colorPicker - * @property {IComponentInstance|null} [componentInstance] Element componentInstance - * @property {IDataFrame|null} [dataFrame] Element dataFrame - * @property {IDataFrame|null} [table] Element table - * @property {IDateInput|null} [dateInput] Element dateInput - * @property {IDeckGlJsonChart|null} [deckGlJsonChart] Element deckGlJsonChart - * @property {IDocString|null} [docString] Element docString - * @property {IEmpty|null} [empty] Element empty - * @property {IException|null} [exception] Element exception - * @property {IFavicon|null} [favicon] Element favicon - * @property {IFileUploader|null} [fileUploader] Element fileUploader - * @property {IGraphVizChart|null} [graphvizChart] Element graphvizChart - * @property {IIFrame|null} [iframe] Element iframe - * @property {IImageList|null} [imgs] Element imgs - * @property {IJson|null} [json] Element json - * @property {IMarkdown|null} [markdown] Element markdown - * @property {IMetric|null} [metric] Element metric - * @property {IMultiSelect|null} [multiselect] Element multiselect - * @property {INumberInput|null} [numberInput] Element numberInput - * @property {IPlotlyChart|null} [plotlyChart] Element plotlyChart - * @property {IProgress|null} [progress] Element progress - * @property {IRadio|null} [radio] Element radio - * @property {ISelectbox|null} [selectbox] Element selectbox - * @property {ISlider|null} [slider] Element slider - * @property {ISnow|null} [snow] Element snow - * @property {ISpinner|null} [spinner] Element spinner - * @property {IText|null} [text] Element text - * @property {ITextArea|null} [textArea] Element textArea - * @property {ITextInput|null} [textInput] Element textInput - * @property {ITimeInput|null} [timeInput] Element timeInput - * @property {IVegaLiteChart|null} [vegaLiteChart] Element vegaLiteChart - * @property {IVideo|null} [video] Element video - * @property {IHeading|null} [heading] Element heading - * @property {ICode|null} [code] Element code - */ - - /** - * Constructs a new Element. - * @exports Element - * @classdesc Represents an Element. - * @implements IElement - * @constructor - * @param {IElement=} [properties] Properties to set - */ - function Element(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Element alert. - * @member {IAlert|null|undefined} alert - * @memberof Element - * @instance - */ - Element.prototype.alert = null; - - /** - * Element arrowDataFrame. - * @member {IArrow|null|undefined} arrowDataFrame - * @memberof Element - * @instance - */ - Element.prototype.arrowDataFrame = null; - - /** - * Element arrowTable. - * @member {IArrow|null|undefined} arrowTable - * @memberof Element - * @instance - */ - Element.prototype.arrowTable = null; - - /** - * Element arrowVegaLiteChart. - * @member {IArrowVegaLiteChart|null|undefined} arrowVegaLiteChart - * @memberof Element - * @instance - */ - Element.prototype.arrowVegaLiteChart = null; - - /** - * Element audio. - * @member {IAudio|null|undefined} audio - * @memberof Element - * @instance - */ - Element.prototype.audio = null; - - /** - * Element balloons. - * @member {IBalloons|null|undefined} balloons - * @memberof Element - * @instance - */ - Element.prototype.balloons = null; - - /** - * Element bokehChart. - * @member {IBokehChart|null|undefined} bokehChart - * @memberof Element - * @instance - */ - Element.prototype.bokehChart = null; - - /** - * Element button. - * @member {IButton|null|undefined} button - * @memberof Element - * @instance - */ - Element.prototype.button = null; - - /** - * Element downloadButton. - * @member {IDownloadButton|null|undefined} downloadButton - * @memberof Element - * @instance - */ - Element.prototype.downloadButton = null; - - /** - * Element cameraInput. - * @member {ICameraInput|null|undefined} cameraInput - * @memberof Element - * @instance - */ - Element.prototype.cameraInput = null; - - /** - * Element checkbox. - * @member {ICheckbox|null|undefined} checkbox - * @memberof Element - * @instance - */ - Element.prototype.checkbox = null; - - /** - * Element colorPicker. - * @member {IColorPicker|null|undefined} colorPicker - * @memberof Element - * @instance - */ - Element.prototype.colorPicker = null; - - /** - * Element componentInstance. - * @member {IComponentInstance|null|undefined} componentInstance - * @memberof Element - * @instance - */ - Element.prototype.componentInstance = null; - - /** - * Element dataFrame. - * @member {IDataFrame|null|undefined} dataFrame - * @memberof Element - * @instance - */ - Element.prototype.dataFrame = null; - - /** - * Element table. - * @member {IDataFrame|null|undefined} table - * @memberof Element - * @instance - */ - Element.prototype.table = null; - - /** - * Element dateInput. - * @member {IDateInput|null|undefined} dateInput - * @memberof Element - * @instance - */ - Element.prototype.dateInput = null; - - /** - * Element deckGlJsonChart. - * @member {IDeckGlJsonChart|null|undefined} deckGlJsonChart - * @memberof Element - * @instance - */ - Element.prototype.deckGlJsonChart = null; - - /** - * Element docString. - * @member {IDocString|null|undefined} docString - * @memberof Element - * @instance - */ - Element.prototype.docString = null; - - /** - * Element empty. - * @member {IEmpty|null|undefined} empty - * @memberof Element - * @instance - */ - Element.prototype.empty = null; - - /** - * Element exception. - * @member {IException|null|undefined} exception - * @memberof Element - * @instance - */ - Element.prototype.exception = null; - - /** - * Element favicon. - * @member {IFavicon|null|undefined} favicon - * @memberof Element - * @instance - */ - Element.prototype.favicon = null; - - /** - * Element fileUploader. - * @member {IFileUploader|null|undefined} fileUploader - * @memberof Element - * @instance - */ - Element.prototype.fileUploader = null; - - /** - * Element graphvizChart. - * @member {IGraphVizChart|null|undefined} graphvizChart - * @memberof Element - * @instance - */ - Element.prototype.graphvizChart = null; - - /** - * Element iframe. - * @member {IIFrame|null|undefined} iframe - * @memberof Element - * @instance - */ - Element.prototype.iframe = null; - - /** - * Element imgs. - * @member {IImageList|null|undefined} imgs - * @memberof Element - * @instance - */ - Element.prototype.imgs = null; - - /** - * Element json. - * @member {IJson|null|undefined} json - * @memberof Element - * @instance - */ - Element.prototype.json = null; - - /** - * Element markdown. - * @member {IMarkdown|null|undefined} markdown - * @memberof Element - * @instance - */ - Element.prototype.markdown = null; - - /** - * Element metric. - * @member {IMetric|null|undefined} metric - * @memberof Element - * @instance - */ - Element.prototype.metric = null; - - /** - * Element multiselect. - * @member {IMultiSelect|null|undefined} multiselect - * @memberof Element - * @instance - */ - Element.prototype.multiselect = null; - - /** - * Element numberInput. - * @member {INumberInput|null|undefined} numberInput - * @memberof Element - * @instance - */ - Element.prototype.numberInput = null; - - /** - * Element plotlyChart. - * @member {IPlotlyChart|null|undefined} plotlyChart - * @memberof Element - * @instance - */ - Element.prototype.plotlyChart = null; - - /** - * Element progress. - * @member {IProgress|null|undefined} progress - * @memberof Element - * @instance - */ - Element.prototype.progress = null; - - /** - * Element radio. - * @member {IRadio|null|undefined} radio - * @memberof Element - * @instance - */ - Element.prototype.radio = null; - - /** - * Element selectbox. - * @member {ISelectbox|null|undefined} selectbox - * @memberof Element - * @instance - */ - Element.prototype.selectbox = null; - - /** - * Element slider. - * @member {ISlider|null|undefined} slider - * @memberof Element - * @instance - */ - Element.prototype.slider = null; - - /** - * Element snow. - * @member {ISnow|null|undefined} snow - * @memberof Element - * @instance - */ - Element.prototype.snow = null; - - /** - * Element spinner. - * @member {ISpinner|null|undefined} spinner - * @memberof Element - * @instance - */ - Element.prototype.spinner = null; - - /** - * Element text. - * @member {IText|null|undefined} text - * @memberof Element - * @instance - */ - Element.prototype.text = null; - - /** - * Element textArea. - * @member {ITextArea|null|undefined} textArea - * @memberof Element - * @instance - */ - Element.prototype.textArea = null; - - /** - * Element textInput. - * @member {ITextInput|null|undefined} textInput - * @memberof Element - * @instance - */ - Element.prototype.textInput = null; - - /** - * Element timeInput. - * @member {ITimeInput|null|undefined} timeInput - * @memberof Element - * @instance - */ - Element.prototype.timeInput = null; - - /** - * Element vegaLiteChart. - * @member {IVegaLiteChart|null|undefined} vegaLiteChart - * @memberof Element - * @instance - */ - Element.prototype.vegaLiteChart = null; - - /** - * Element video. - * @member {IVideo|null|undefined} video - * @memberof Element - * @instance - */ - Element.prototype.video = null; - - /** - * Element heading. - * @member {IHeading|null|undefined} heading - * @memberof Element - * @instance - */ - Element.prototype.heading = null; - - /** - * Element code. - * @member {ICode|null|undefined} code - * @memberof Element - * @instance - */ - Element.prototype.code = null; - - // OneOf field names bound to virtual getters and setters - let $oneOfFields; - - /** - * Element type. - * @member {"alert"|"arrowDataFrame"|"arrowTable"|"arrowVegaLiteChart"|"audio"|"balloons"|"bokehChart"|"button"|"downloadButton"|"cameraInput"|"checkbox"|"colorPicker"|"componentInstance"|"dataFrame"|"table"|"dateInput"|"deckGlJsonChart"|"docString"|"empty"|"exception"|"favicon"|"fileUploader"|"graphvizChart"|"iframe"|"imgs"|"json"|"markdown"|"metric"|"multiselect"|"numberInput"|"plotlyChart"|"progress"|"radio"|"selectbox"|"slider"|"snow"|"spinner"|"text"|"textArea"|"textInput"|"timeInput"|"vegaLiteChart"|"video"|"heading"|"code"|undefined} type - * @memberof Element - * @instance - */ - Object.defineProperty(Element.prototype, "type", { - get: $util.oneOfGetter($oneOfFields = ["alert", "arrowDataFrame", "arrowTable", "arrowVegaLiteChart", "audio", "balloons", "bokehChart", "button", "downloadButton", "cameraInput", "checkbox", "colorPicker", "componentInstance", "dataFrame", "table", "dateInput", "deckGlJsonChart", "docString", "empty", "exception", "favicon", "fileUploader", "graphvizChart", "iframe", "imgs", "json", "markdown", "metric", "multiselect", "numberInput", "plotlyChart", "progress", "radio", "selectbox", "slider", "snow", "spinner", "text", "textArea", "textInput", "timeInput", "vegaLiteChart", "video", "heading", "code"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new Element instance using the specified properties. - * @function create - * @memberof Element - * @static - * @param {IElement=} [properties] Properties to set - * @returns {Element} Element instance - */ - Element.create = function create(properties) { - return new Element(properties); - }; - - /** - * Encodes the specified Element message. Does not implicitly {@link Element.verify|verify} messages. - * @function encode - * @memberof Element - * @static - * @param {IElement} message Element message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Element.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.text != null && Object.hasOwnProperty.call(message, "text")) - $root.Text.encode(message.text, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.empty != null && Object.hasOwnProperty.call(message, "empty")) - $root.Empty.encode(message.empty, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.dataFrame != null && Object.hasOwnProperty.call(message, "dataFrame")) - $root.DataFrame.encode(message.dataFrame, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.progress != null && Object.hasOwnProperty.call(message, "progress")) - $root.Progress.encode(message.progress, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.imgs != null && Object.hasOwnProperty.call(message, "imgs")) - $root.ImageList.encode(message.imgs, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.docString != null && Object.hasOwnProperty.call(message, "docString")) - $root.DocString.encode(message.docString, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.exception != null && Object.hasOwnProperty.call(message, "exception")) - $root.Exception.encode(message.exception, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - if (message.vegaLiteChart != null && Object.hasOwnProperty.call(message, "vegaLiteChart")) - $root.VegaLiteChart.encode(message.vegaLiteChart, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); - if (message.table != null && Object.hasOwnProperty.call(message, "table")) - $root.DataFrame.encode(message.table, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); - if (message.balloons != null && Object.hasOwnProperty.call(message, "balloons")) - $root.Balloons.encode(message.balloons, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim(); - if (message.audio != null && Object.hasOwnProperty.call(message, "audio")) - $root.Audio.encode(message.audio, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim(); - if (message.video != null && Object.hasOwnProperty.call(message, "video")) - $root.Video.encode(message.video, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim(); - if (message.plotlyChart != null && Object.hasOwnProperty.call(message, "plotlyChart")) - $root.PlotlyChart.encode(message.plotlyChart, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim(); - if (message.bokehChart != null && Object.hasOwnProperty.call(message, "bokehChart")) - $root.BokehChart.encode(message.bokehChart, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim(); - if (message.graphvizChart != null && Object.hasOwnProperty.call(message, "graphvizChart")) - $root.GraphVizChart.encode(message.graphvizChart, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim(); - if (message.button != null && Object.hasOwnProperty.call(message, "button")) - $root.Button.encode(message.button, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim(); - if (message.checkbox != null && Object.hasOwnProperty.call(message, "checkbox")) - $root.Checkbox.encode(message.checkbox, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim(); - if (message.slider != null && Object.hasOwnProperty.call(message, "slider")) - $root.Slider.encode(message.slider, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim(); - if (message.textArea != null && Object.hasOwnProperty.call(message, "textArea")) - $root.TextArea.encode(message.textArea, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim(); - if (message.radio != null && Object.hasOwnProperty.call(message, "radio")) - $root.Radio.encode(message.radio, writer.uint32(/* id 23, wireType 2 =*/186).fork()).ldelim(); - if (message.textInput != null && Object.hasOwnProperty.call(message, "textInput")) - $root.TextInput.encode(message.textInput, writer.uint32(/* id 24, wireType 2 =*/194).fork()).ldelim(); - if (message.selectbox != null && Object.hasOwnProperty.call(message, "selectbox")) - $root.Selectbox.encode(message.selectbox, writer.uint32(/* id 25, wireType 2 =*/202).fork()).ldelim(); - if (message.timeInput != null && Object.hasOwnProperty.call(message, "timeInput")) - $root.TimeInput.encode(message.timeInput, writer.uint32(/* id 26, wireType 2 =*/210).fork()).ldelim(); - if (message.dateInput != null && Object.hasOwnProperty.call(message, "dateInput")) - $root.DateInput.encode(message.dateInput, writer.uint32(/* id 27, wireType 2 =*/218).fork()).ldelim(); - if (message.multiselect != null && Object.hasOwnProperty.call(message, "multiselect")) - $root.MultiSelect.encode(message.multiselect, writer.uint32(/* id 28, wireType 2 =*/226).fork()).ldelim(); - if (message.markdown != null && Object.hasOwnProperty.call(message, "markdown")) - $root.Markdown.encode(message.markdown, writer.uint32(/* id 29, wireType 2 =*/234).fork()).ldelim(); - if (message.alert != null && Object.hasOwnProperty.call(message, "alert")) - $root.Alert.encode(message.alert, writer.uint32(/* id 30, wireType 2 =*/242).fork()).ldelim(); - if (message.json != null && Object.hasOwnProperty.call(message, "json")) - $root.Json.encode(message.json, writer.uint32(/* id 31, wireType 2 =*/250).fork()).ldelim(); - if (message.numberInput != null && Object.hasOwnProperty.call(message, "numberInput")) - $root.NumberInput.encode(message.numberInput, writer.uint32(/* id 32, wireType 2 =*/258).fork()).ldelim(); - if (message.fileUploader != null && Object.hasOwnProperty.call(message, "fileUploader")) - $root.FileUploader.encode(message.fileUploader, writer.uint32(/* id 33, wireType 2 =*/266).fork()).ldelim(); - if (message.deckGlJsonChart != null && Object.hasOwnProperty.call(message, "deckGlJsonChart")) - $root.DeckGlJsonChart.encode(message.deckGlJsonChart, writer.uint32(/* id 34, wireType 2 =*/274).fork()).ldelim(); - if (message.colorPicker != null && Object.hasOwnProperty.call(message, "colorPicker")) - $root.ColorPicker.encode(message.colorPicker, writer.uint32(/* id 35, wireType 2 =*/282).fork()).ldelim(); - if (message.favicon != null && Object.hasOwnProperty.call(message, "favicon")) - $root.Favicon.encode(message.favicon, writer.uint32(/* id 36, wireType 2 =*/290).fork()).ldelim(); - if (message.componentInstance != null && Object.hasOwnProperty.call(message, "componentInstance")) - $root.ComponentInstance.encode(message.componentInstance, writer.uint32(/* id 37, wireType 2 =*/298).fork()).ldelim(); - if (message.iframe != null && Object.hasOwnProperty.call(message, "iframe")) - $root.IFrame.encode(message.iframe, writer.uint32(/* id 38, wireType 2 =*/306).fork()).ldelim(); - if (message.arrowTable != null && Object.hasOwnProperty.call(message, "arrowTable")) - $root.Arrow.encode(message.arrowTable, writer.uint32(/* id 39, wireType 2 =*/314).fork()).ldelim(); - if (message.arrowDataFrame != null && Object.hasOwnProperty.call(message, "arrowDataFrame")) - $root.Arrow.encode(message.arrowDataFrame, writer.uint32(/* id 40, wireType 2 =*/322).fork()).ldelim(); - if (message.arrowVegaLiteChart != null && Object.hasOwnProperty.call(message, "arrowVegaLiteChart")) - $root.ArrowVegaLiteChart.encode(message.arrowVegaLiteChart, writer.uint32(/* id 41, wireType 2 =*/330).fork()).ldelim(); - if (message.metric != null && Object.hasOwnProperty.call(message, "metric")) - $root.Metric.encode(message.metric, writer.uint32(/* id 42, wireType 2 =*/338).fork()).ldelim(); - if (message.downloadButton != null && Object.hasOwnProperty.call(message, "downloadButton")) - $root.DownloadButton.encode(message.downloadButton, writer.uint32(/* id 43, wireType 2 =*/346).fork()).ldelim(); - if (message.spinner != null && Object.hasOwnProperty.call(message, "spinner")) - $root.Spinner.encode(message.spinner, writer.uint32(/* id 44, wireType 2 =*/354).fork()).ldelim(); - if (message.cameraInput != null && Object.hasOwnProperty.call(message, "cameraInput")) - $root.CameraInput.encode(message.cameraInput, writer.uint32(/* id 45, wireType 2 =*/362).fork()).ldelim(); - if (message.snow != null && Object.hasOwnProperty.call(message, "snow")) - $root.Snow.encode(message.snow, writer.uint32(/* id 46, wireType 2 =*/370).fork()).ldelim(); - if (message.heading != null && Object.hasOwnProperty.call(message, "heading")) - $root.Heading.encode(message.heading, writer.uint32(/* id 47, wireType 2 =*/378).fork()).ldelim(); - if (message.code != null && Object.hasOwnProperty.call(message, "code")) - $root.Code.encode(message.code, writer.uint32(/* id 48, wireType 2 =*/386).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified Element message, length delimited. Does not implicitly {@link Element.verify|verify} messages. - * @function encodeDelimited - * @memberof Element - * @static - * @param {IElement} message Element message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Element.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an Element message from the specified reader or buffer. - * @function decode - * @memberof Element - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Element} Element - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Element.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Element(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 30: { - message.alert = $root.Alert.decode(reader, reader.uint32()); - break; - } - case 40: { - message.arrowDataFrame = $root.Arrow.decode(reader, reader.uint32()); - break; - } - case 39: { - message.arrowTable = $root.Arrow.decode(reader, reader.uint32()); - break; - } - case 41: { - message.arrowVegaLiteChart = $root.ArrowVegaLiteChart.decode(reader, reader.uint32()); - break; - } - case 13: { - message.audio = $root.Audio.decode(reader, reader.uint32()); - break; - } - case 12: { - message.balloons = $root.Balloons.decode(reader, reader.uint32()); - break; - } - case 17: { - message.bokehChart = $root.BokehChart.decode(reader, reader.uint32()); - break; - } - case 19: { - message.button = $root.Button.decode(reader, reader.uint32()); - break; - } - case 43: { - message.downloadButton = $root.DownloadButton.decode(reader, reader.uint32()); - break; - } - case 45: { - message.cameraInput = $root.CameraInput.decode(reader, reader.uint32()); - break; - } - case 20: { - message.checkbox = $root.Checkbox.decode(reader, reader.uint32()); - break; - } - case 35: { - message.colorPicker = $root.ColorPicker.decode(reader, reader.uint32()); - break; - } - case 37: { - message.componentInstance = $root.ComponentInstance.decode(reader, reader.uint32()); - break; - } - case 3: { - message.dataFrame = $root.DataFrame.decode(reader, reader.uint32()); - break; - } - case 11: { - message.table = $root.DataFrame.decode(reader, reader.uint32()); - break; - } - case 27: { - message.dateInput = $root.DateInput.decode(reader, reader.uint32()); - break; - } - case 34: { - message.deckGlJsonChart = $root.DeckGlJsonChart.decode(reader, reader.uint32()); - break; - } - case 7: { - message.docString = $root.DocString.decode(reader, reader.uint32()); - break; - } - case 2: { - message.empty = $root.Empty.decode(reader, reader.uint32()); - break; - } - case 8: { - message.exception = $root.Exception.decode(reader, reader.uint32()); - break; - } - case 36: { - message.favicon = $root.Favicon.decode(reader, reader.uint32()); - break; - } - case 33: { - message.fileUploader = $root.FileUploader.decode(reader, reader.uint32()); - break; - } - case 18: { - message.graphvizChart = $root.GraphVizChart.decode(reader, reader.uint32()); - break; - } - case 38: { - message.iframe = $root.IFrame.decode(reader, reader.uint32()); - break; - } - case 6: { - message.imgs = $root.ImageList.decode(reader, reader.uint32()); - break; - } - case 31: { - message.json = $root.Json.decode(reader, reader.uint32()); - break; - } - case 29: { - message.markdown = $root.Markdown.decode(reader, reader.uint32()); - break; - } - case 42: { - message.metric = $root.Metric.decode(reader, reader.uint32()); - break; - } - case 28: { - message.multiselect = $root.MultiSelect.decode(reader, reader.uint32()); - break; - } - case 32: { - message.numberInput = $root.NumberInput.decode(reader, reader.uint32()); - break; - } - case 16: { - message.plotlyChart = $root.PlotlyChart.decode(reader, reader.uint32()); - break; - } - case 5: { - message.progress = $root.Progress.decode(reader, reader.uint32()); - break; - } - case 23: { - message.radio = $root.Radio.decode(reader, reader.uint32()); - break; - } - case 25: { - message.selectbox = $root.Selectbox.decode(reader, reader.uint32()); - break; - } - case 21: { - message.slider = $root.Slider.decode(reader, reader.uint32()); - break; - } - case 46: { - message.snow = $root.Snow.decode(reader, reader.uint32()); - break; - } - case 44: { - message.spinner = $root.Spinner.decode(reader, reader.uint32()); - break; - } - case 1: { - message.text = $root.Text.decode(reader, reader.uint32()); - break; - } - case 22: { - message.textArea = $root.TextArea.decode(reader, reader.uint32()); - break; - } - case 24: { - message.textInput = $root.TextInput.decode(reader, reader.uint32()); - break; - } - case 26: { - message.timeInput = $root.TimeInput.decode(reader, reader.uint32()); - break; - } - case 10: { - message.vegaLiteChart = $root.VegaLiteChart.decode(reader, reader.uint32()); - break; - } - case 14: { - message.video = $root.Video.decode(reader, reader.uint32()); - break; - } - case 47: { - message.heading = $root.Heading.decode(reader, reader.uint32()); - break; - } - case 48: { - message.code = $root.Code.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an Element message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Element - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Element} Element - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Element.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an Element message. - * @function verify - * @memberof Element - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Element.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - let properties = {}; - if (message.alert != null && message.hasOwnProperty("alert")) { - properties.type = 1; - { - let error = $root.Alert.verify(message.alert); - if (error) - return "alert." + error; - } - } - if (message.arrowDataFrame != null && message.hasOwnProperty("arrowDataFrame")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Arrow.verify(message.arrowDataFrame); - if (error) - return "arrowDataFrame." + error; - } - } - if (message.arrowTable != null && message.hasOwnProperty("arrowTable")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Arrow.verify(message.arrowTable); - if (error) - return "arrowTable." + error; - } - } - if (message.arrowVegaLiteChart != null && message.hasOwnProperty("arrowVegaLiteChart")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.ArrowVegaLiteChart.verify(message.arrowVegaLiteChart); - if (error) - return "arrowVegaLiteChart." + error; - } - } - if (message.audio != null && message.hasOwnProperty("audio")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Audio.verify(message.audio); - if (error) - return "audio." + error; - } - } - if (message.balloons != null && message.hasOwnProperty("balloons")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Balloons.verify(message.balloons); - if (error) - return "balloons." + error; - } - } - if (message.bokehChart != null && message.hasOwnProperty("bokehChart")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.BokehChart.verify(message.bokehChart); - if (error) - return "bokehChart." + error; - } - } - if (message.button != null && message.hasOwnProperty("button")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Button.verify(message.button); - if (error) - return "button." + error; - } - } - if (message.downloadButton != null && message.hasOwnProperty("downloadButton")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.DownloadButton.verify(message.downloadButton); - if (error) - return "downloadButton." + error; - } - } - if (message.cameraInput != null && message.hasOwnProperty("cameraInput")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.CameraInput.verify(message.cameraInput); - if (error) - return "cameraInput." + error; - } - } - if (message.checkbox != null && message.hasOwnProperty("checkbox")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Checkbox.verify(message.checkbox); - if (error) - return "checkbox." + error; - } - } - if (message.colorPicker != null && message.hasOwnProperty("colorPicker")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.ColorPicker.verify(message.colorPicker); - if (error) - return "colorPicker." + error; - } - } - if (message.componentInstance != null && message.hasOwnProperty("componentInstance")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.ComponentInstance.verify(message.componentInstance); - if (error) - return "componentInstance." + error; - } - } - if (message.dataFrame != null && message.hasOwnProperty("dataFrame")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.DataFrame.verify(message.dataFrame); - if (error) - return "dataFrame." + error; - } - } - if (message.table != null && message.hasOwnProperty("table")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.DataFrame.verify(message.table); - if (error) - return "table." + error; - } - } - if (message.dateInput != null && message.hasOwnProperty("dateInput")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.DateInput.verify(message.dateInput); - if (error) - return "dateInput." + error; - } - } - if (message.deckGlJsonChart != null && message.hasOwnProperty("deckGlJsonChart")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.DeckGlJsonChart.verify(message.deckGlJsonChart); - if (error) - return "deckGlJsonChart." + error; - } - } - if (message.docString != null && message.hasOwnProperty("docString")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.DocString.verify(message.docString); - if (error) - return "docString." + error; - } - } - if (message.empty != null && message.hasOwnProperty("empty")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Empty.verify(message.empty); - if (error) - return "empty." + error; - } - } - if (message.exception != null && message.hasOwnProperty("exception")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Exception.verify(message.exception); - if (error) - return "exception." + error; - } - } - if (message.favicon != null && message.hasOwnProperty("favicon")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Favicon.verify(message.favicon); - if (error) - return "favicon." + error; - } - } - if (message.fileUploader != null && message.hasOwnProperty("fileUploader")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.FileUploader.verify(message.fileUploader); - if (error) - return "fileUploader." + error; - } - } - if (message.graphvizChart != null && message.hasOwnProperty("graphvizChart")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.GraphVizChart.verify(message.graphvizChart); - if (error) - return "graphvizChart." + error; - } - } - if (message.iframe != null && message.hasOwnProperty("iframe")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.IFrame.verify(message.iframe); - if (error) - return "iframe." + error; - } - } - if (message.imgs != null && message.hasOwnProperty("imgs")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.ImageList.verify(message.imgs); - if (error) - return "imgs." + error; - } - } - if (message.json != null && message.hasOwnProperty("json")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Json.verify(message.json); - if (error) - return "json." + error; - } - } - if (message.markdown != null && message.hasOwnProperty("markdown")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Markdown.verify(message.markdown); - if (error) - return "markdown." + error; - } - } - if (message.metric != null && message.hasOwnProperty("metric")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Metric.verify(message.metric); - if (error) - return "metric." + error; - } - } - if (message.multiselect != null && message.hasOwnProperty("multiselect")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.MultiSelect.verify(message.multiselect); - if (error) - return "multiselect." + error; - } - } - if (message.numberInput != null && message.hasOwnProperty("numberInput")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.NumberInput.verify(message.numberInput); - if (error) - return "numberInput." + error; - } - } - if (message.plotlyChart != null && message.hasOwnProperty("plotlyChart")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.PlotlyChart.verify(message.plotlyChart); - if (error) - return "plotlyChart." + error; - } - } - if (message.progress != null && message.hasOwnProperty("progress")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Progress.verify(message.progress); - if (error) - return "progress." + error; - } - } - if (message.radio != null && message.hasOwnProperty("radio")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Radio.verify(message.radio); - if (error) - return "radio." + error; - } - } - if (message.selectbox != null && message.hasOwnProperty("selectbox")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Selectbox.verify(message.selectbox); - if (error) - return "selectbox." + error; - } - } - if (message.slider != null && message.hasOwnProperty("slider")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Slider.verify(message.slider); - if (error) - return "slider." + error; - } - } - if (message.snow != null && message.hasOwnProperty("snow")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Snow.verify(message.snow); - if (error) - return "snow." + error; - } - } - if (message.spinner != null && message.hasOwnProperty("spinner")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Spinner.verify(message.spinner); - if (error) - return "spinner." + error; - } - } - if (message.text != null && message.hasOwnProperty("text")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Text.verify(message.text); - if (error) - return "text." + error; - } - } - if (message.textArea != null && message.hasOwnProperty("textArea")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.TextArea.verify(message.textArea); - if (error) - return "textArea." + error; - } - } - if (message.textInput != null && message.hasOwnProperty("textInput")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.TextInput.verify(message.textInput); - if (error) - return "textInput." + error; - } - } - if (message.timeInput != null && message.hasOwnProperty("timeInput")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.TimeInput.verify(message.timeInput); - if (error) - return "timeInput." + error; - } - } - if (message.vegaLiteChart != null && message.hasOwnProperty("vegaLiteChart")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.VegaLiteChart.verify(message.vegaLiteChart); - if (error) - return "vegaLiteChart." + error; - } - } - if (message.video != null && message.hasOwnProperty("video")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Video.verify(message.video); - if (error) - return "video." + error; - } - } - if (message.heading != null && message.hasOwnProperty("heading")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Heading.verify(message.heading); - if (error) - return "heading." + error; - } - } - if (message.code != null && message.hasOwnProperty("code")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Code.verify(message.code); - if (error) - return "code." + error; - } - } - return null; - }; - - /** - * Creates an Element message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Element - * @static - * @param {Object.} object Plain object - * @returns {Element} Element - */ - Element.fromObject = function fromObject(object) { - if (object instanceof $root.Element) - return object; - let message = new $root.Element(); - if (object.alert != null) { - if (typeof object.alert !== "object") - throw TypeError(".Element.alert: object expected"); - message.alert = $root.Alert.fromObject(object.alert); - } - if (object.arrowDataFrame != null) { - if (typeof object.arrowDataFrame !== "object") - throw TypeError(".Element.arrowDataFrame: object expected"); - message.arrowDataFrame = $root.Arrow.fromObject(object.arrowDataFrame); - } - if (object.arrowTable != null) { - if (typeof object.arrowTable !== "object") - throw TypeError(".Element.arrowTable: object expected"); - message.arrowTable = $root.Arrow.fromObject(object.arrowTable); - } - if (object.arrowVegaLiteChart != null) { - if (typeof object.arrowVegaLiteChart !== "object") - throw TypeError(".Element.arrowVegaLiteChart: object expected"); - message.arrowVegaLiteChart = $root.ArrowVegaLiteChart.fromObject(object.arrowVegaLiteChart); - } - if (object.audio != null) { - if (typeof object.audio !== "object") - throw TypeError(".Element.audio: object expected"); - message.audio = $root.Audio.fromObject(object.audio); - } - if (object.balloons != null) { - if (typeof object.balloons !== "object") - throw TypeError(".Element.balloons: object expected"); - message.balloons = $root.Balloons.fromObject(object.balloons); - } - if (object.bokehChart != null) { - if (typeof object.bokehChart !== "object") - throw TypeError(".Element.bokehChart: object expected"); - message.bokehChart = $root.BokehChart.fromObject(object.bokehChart); - } - if (object.button != null) { - if (typeof object.button !== "object") - throw TypeError(".Element.button: object expected"); - message.button = $root.Button.fromObject(object.button); - } - if (object.downloadButton != null) { - if (typeof object.downloadButton !== "object") - throw TypeError(".Element.downloadButton: object expected"); - message.downloadButton = $root.DownloadButton.fromObject(object.downloadButton); - } - if (object.cameraInput != null) { - if (typeof object.cameraInput !== "object") - throw TypeError(".Element.cameraInput: object expected"); - message.cameraInput = $root.CameraInput.fromObject(object.cameraInput); - } - if (object.checkbox != null) { - if (typeof object.checkbox !== "object") - throw TypeError(".Element.checkbox: object expected"); - message.checkbox = $root.Checkbox.fromObject(object.checkbox); - } - if (object.colorPicker != null) { - if (typeof object.colorPicker !== "object") - throw TypeError(".Element.colorPicker: object expected"); - message.colorPicker = $root.ColorPicker.fromObject(object.colorPicker); - } - if (object.componentInstance != null) { - if (typeof object.componentInstance !== "object") - throw TypeError(".Element.componentInstance: object expected"); - message.componentInstance = $root.ComponentInstance.fromObject(object.componentInstance); - } - if (object.dataFrame != null) { - if (typeof object.dataFrame !== "object") - throw TypeError(".Element.dataFrame: object expected"); - message.dataFrame = $root.DataFrame.fromObject(object.dataFrame); - } - if (object.table != null) { - if (typeof object.table !== "object") - throw TypeError(".Element.table: object expected"); - message.table = $root.DataFrame.fromObject(object.table); - } - if (object.dateInput != null) { - if (typeof object.dateInput !== "object") - throw TypeError(".Element.dateInput: object expected"); - message.dateInput = $root.DateInput.fromObject(object.dateInput); - } - if (object.deckGlJsonChart != null) { - if (typeof object.deckGlJsonChart !== "object") - throw TypeError(".Element.deckGlJsonChart: object expected"); - message.deckGlJsonChart = $root.DeckGlJsonChart.fromObject(object.deckGlJsonChart); - } - if (object.docString != null) { - if (typeof object.docString !== "object") - throw TypeError(".Element.docString: object expected"); - message.docString = $root.DocString.fromObject(object.docString); - } - if (object.empty != null) { - if (typeof object.empty !== "object") - throw TypeError(".Element.empty: object expected"); - message.empty = $root.Empty.fromObject(object.empty); - } - if (object.exception != null) { - if (typeof object.exception !== "object") - throw TypeError(".Element.exception: object expected"); - message.exception = $root.Exception.fromObject(object.exception); - } - if (object.favicon != null) { - if (typeof object.favicon !== "object") - throw TypeError(".Element.favicon: object expected"); - message.favicon = $root.Favicon.fromObject(object.favicon); - } - if (object.fileUploader != null) { - if (typeof object.fileUploader !== "object") - throw TypeError(".Element.fileUploader: object expected"); - message.fileUploader = $root.FileUploader.fromObject(object.fileUploader); - } - if (object.graphvizChart != null) { - if (typeof object.graphvizChart !== "object") - throw TypeError(".Element.graphvizChart: object expected"); - message.graphvizChart = $root.GraphVizChart.fromObject(object.graphvizChart); - } - if (object.iframe != null) { - if (typeof object.iframe !== "object") - throw TypeError(".Element.iframe: object expected"); - message.iframe = $root.IFrame.fromObject(object.iframe); - } - if (object.imgs != null) { - if (typeof object.imgs !== "object") - throw TypeError(".Element.imgs: object expected"); - message.imgs = $root.ImageList.fromObject(object.imgs); - } - if (object.json != null) { - if (typeof object.json !== "object") - throw TypeError(".Element.json: object expected"); - message.json = $root.Json.fromObject(object.json); - } - if (object.markdown != null) { - if (typeof object.markdown !== "object") - throw TypeError(".Element.markdown: object expected"); - message.markdown = $root.Markdown.fromObject(object.markdown); - } - if (object.metric != null) { - if (typeof object.metric !== "object") - throw TypeError(".Element.metric: object expected"); - message.metric = $root.Metric.fromObject(object.metric); - } - if (object.multiselect != null) { - if (typeof object.multiselect !== "object") - throw TypeError(".Element.multiselect: object expected"); - message.multiselect = $root.MultiSelect.fromObject(object.multiselect); - } - if (object.numberInput != null) { - if (typeof object.numberInput !== "object") - throw TypeError(".Element.numberInput: object expected"); - message.numberInput = $root.NumberInput.fromObject(object.numberInput); - } - if (object.plotlyChart != null) { - if (typeof object.plotlyChart !== "object") - throw TypeError(".Element.plotlyChart: object expected"); - message.plotlyChart = $root.PlotlyChart.fromObject(object.plotlyChart); - } - if (object.progress != null) { - if (typeof object.progress !== "object") - throw TypeError(".Element.progress: object expected"); - message.progress = $root.Progress.fromObject(object.progress); - } - if (object.radio != null) { - if (typeof object.radio !== "object") - throw TypeError(".Element.radio: object expected"); - message.radio = $root.Radio.fromObject(object.radio); - } - if (object.selectbox != null) { - if (typeof object.selectbox !== "object") - throw TypeError(".Element.selectbox: object expected"); - message.selectbox = $root.Selectbox.fromObject(object.selectbox); - } - if (object.slider != null) { - if (typeof object.slider !== "object") - throw TypeError(".Element.slider: object expected"); - message.slider = $root.Slider.fromObject(object.slider); - } - if (object.snow != null) { - if (typeof object.snow !== "object") - throw TypeError(".Element.snow: object expected"); - message.snow = $root.Snow.fromObject(object.snow); - } - if (object.spinner != null) { - if (typeof object.spinner !== "object") - throw TypeError(".Element.spinner: object expected"); - message.spinner = $root.Spinner.fromObject(object.spinner); - } - if (object.text != null) { - if (typeof object.text !== "object") - throw TypeError(".Element.text: object expected"); - message.text = $root.Text.fromObject(object.text); - } - if (object.textArea != null) { - if (typeof object.textArea !== "object") - throw TypeError(".Element.textArea: object expected"); - message.textArea = $root.TextArea.fromObject(object.textArea); - } - if (object.textInput != null) { - if (typeof object.textInput !== "object") - throw TypeError(".Element.textInput: object expected"); - message.textInput = $root.TextInput.fromObject(object.textInput); - } - if (object.timeInput != null) { - if (typeof object.timeInput !== "object") - throw TypeError(".Element.timeInput: object expected"); - message.timeInput = $root.TimeInput.fromObject(object.timeInput); - } - if (object.vegaLiteChart != null) { - if (typeof object.vegaLiteChart !== "object") - throw TypeError(".Element.vegaLiteChart: object expected"); - message.vegaLiteChart = $root.VegaLiteChart.fromObject(object.vegaLiteChart); - } - if (object.video != null) { - if (typeof object.video !== "object") - throw TypeError(".Element.video: object expected"); - message.video = $root.Video.fromObject(object.video); - } - if (object.heading != null) { - if (typeof object.heading !== "object") - throw TypeError(".Element.heading: object expected"); - message.heading = $root.Heading.fromObject(object.heading); - } - if (object.code != null) { - if (typeof object.code !== "object") - throw TypeError(".Element.code: object expected"); - message.code = $root.Code.fromObject(object.code); - } - return message; - }; - - /** - * Creates a plain object from an Element message. Also converts values to other types if specified. - * @function toObject - * @memberof Element - * @static - * @param {Element} message Element - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Element.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (message.text != null && message.hasOwnProperty("text")) { - object.text = $root.Text.toObject(message.text, options); - if (options.oneofs) - object.type = "text"; - } - if (message.empty != null && message.hasOwnProperty("empty")) { - object.empty = $root.Empty.toObject(message.empty, options); - if (options.oneofs) - object.type = "empty"; - } - if (message.dataFrame != null && message.hasOwnProperty("dataFrame")) { - object.dataFrame = $root.DataFrame.toObject(message.dataFrame, options); - if (options.oneofs) - object.type = "dataFrame"; - } - if (message.progress != null && message.hasOwnProperty("progress")) { - object.progress = $root.Progress.toObject(message.progress, options); - if (options.oneofs) - object.type = "progress"; - } - if (message.imgs != null && message.hasOwnProperty("imgs")) { - object.imgs = $root.ImageList.toObject(message.imgs, options); - if (options.oneofs) - object.type = "imgs"; - } - if (message.docString != null && message.hasOwnProperty("docString")) { - object.docString = $root.DocString.toObject(message.docString, options); - if (options.oneofs) - object.type = "docString"; - } - if (message.exception != null && message.hasOwnProperty("exception")) { - object.exception = $root.Exception.toObject(message.exception, options); - if (options.oneofs) - object.type = "exception"; - } - if (message.vegaLiteChart != null && message.hasOwnProperty("vegaLiteChart")) { - object.vegaLiteChart = $root.VegaLiteChart.toObject(message.vegaLiteChart, options); - if (options.oneofs) - object.type = "vegaLiteChart"; - } - if (message.table != null && message.hasOwnProperty("table")) { - object.table = $root.DataFrame.toObject(message.table, options); - if (options.oneofs) - object.type = "table"; - } - if (message.balloons != null && message.hasOwnProperty("balloons")) { - object.balloons = $root.Balloons.toObject(message.balloons, options); - if (options.oneofs) - object.type = "balloons"; - } - if (message.audio != null && message.hasOwnProperty("audio")) { - object.audio = $root.Audio.toObject(message.audio, options); - if (options.oneofs) - object.type = "audio"; - } - if (message.video != null && message.hasOwnProperty("video")) { - object.video = $root.Video.toObject(message.video, options); - if (options.oneofs) - object.type = "video"; - } - if (message.plotlyChart != null && message.hasOwnProperty("plotlyChart")) { - object.plotlyChart = $root.PlotlyChart.toObject(message.plotlyChart, options); - if (options.oneofs) - object.type = "plotlyChart"; - } - if (message.bokehChart != null && message.hasOwnProperty("bokehChart")) { - object.bokehChart = $root.BokehChart.toObject(message.bokehChart, options); - if (options.oneofs) - object.type = "bokehChart"; - } - if (message.graphvizChart != null && message.hasOwnProperty("graphvizChart")) { - object.graphvizChart = $root.GraphVizChart.toObject(message.graphvizChart, options); - if (options.oneofs) - object.type = "graphvizChart"; - } - if (message.button != null && message.hasOwnProperty("button")) { - object.button = $root.Button.toObject(message.button, options); - if (options.oneofs) - object.type = "button"; - } - if (message.checkbox != null && message.hasOwnProperty("checkbox")) { - object.checkbox = $root.Checkbox.toObject(message.checkbox, options); - if (options.oneofs) - object.type = "checkbox"; - } - if (message.slider != null && message.hasOwnProperty("slider")) { - object.slider = $root.Slider.toObject(message.slider, options); - if (options.oneofs) - object.type = "slider"; - } - if (message.textArea != null && message.hasOwnProperty("textArea")) { - object.textArea = $root.TextArea.toObject(message.textArea, options); - if (options.oneofs) - object.type = "textArea"; - } - if (message.radio != null && message.hasOwnProperty("radio")) { - object.radio = $root.Radio.toObject(message.radio, options); - if (options.oneofs) - object.type = "radio"; - } - if (message.textInput != null && message.hasOwnProperty("textInput")) { - object.textInput = $root.TextInput.toObject(message.textInput, options); - if (options.oneofs) - object.type = "textInput"; - } - if (message.selectbox != null && message.hasOwnProperty("selectbox")) { - object.selectbox = $root.Selectbox.toObject(message.selectbox, options); - if (options.oneofs) - object.type = "selectbox"; - } - if (message.timeInput != null && message.hasOwnProperty("timeInput")) { - object.timeInput = $root.TimeInput.toObject(message.timeInput, options); - if (options.oneofs) - object.type = "timeInput"; - } - if (message.dateInput != null && message.hasOwnProperty("dateInput")) { - object.dateInput = $root.DateInput.toObject(message.dateInput, options); - if (options.oneofs) - object.type = "dateInput"; - } - if (message.multiselect != null && message.hasOwnProperty("multiselect")) { - object.multiselect = $root.MultiSelect.toObject(message.multiselect, options); - if (options.oneofs) - object.type = "multiselect"; - } - if (message.markdown != null && message.hasOwnProperty("markdown")) { - object.markdown = $root.Markdown.toObject(message.markdown, options); - if (options.oneofs) - object.type = "markdown"; - } - if (message.alert != null && message.hasOwnProperty("alert")) { - object.alert = $root.Alert.toObject(message.alert, options); - if (options.oneofs) - object.type = "alert"; - } - if (message.json != null && message.hasOwnProperty("json")) { - object.json = $root.Json.toObject(message.json, options); - if (options.oneofs) - object.type = "json"; - } - if (message.numberInput != null && message.hasOwnProperty("numberInput")) { - object.numberInput = $root.NumberInput.toObject(message.numberInput, options); - if (options.oneofs) - object.type = "numberInput"; - } - if (message.fileUploader != null && message.hasOwnProperty("fileUploader")) { - object.fileUploader = $root.FileUploader.toObject(message.fileUploader, options); - if (options.oneofs) - object.type = "fileUploader"; - } - if (message.deckGlJsonChart != null && message.hasOwnProperty("deckGlJsonChart")) { - object.deckGlJsonChart = $root.DeckGlJsonChart.toObject(message.deckGlJsonChart, options); - if (options.oneofs) - object.type = "deckGlJsonChart"; - } - if (message.colorPicker != null && message.hasOwnProperty("colorPicker")) { - object.colorPicker = $root.ColorPicker.toObject(message.colorPicker, options); - if (options.oneofs) - object.type = "colorPicker"; - } - if (message.favicon != null && message.hasOwnProperty("favicon")) { - object.favicon = $root.Favicon.toObject(message.favicon, options); - if (options.oneofs) - object.type = "favicon"; - } - if (message.componentInstance != null && message.hasOwnProperty("componentInstance")) { - object.componentInstance = $root.ComponentInstance.toObject(message.componentInstance, options); - if (options.oneofs) - object.type = "componentInstance"; - } - if (message.iframe != null && message.hasOwnProperty("iframe")) { - object.iframe = $root.IFrame.toObject(message.iframe, options); - if (options.oneofs) - object.type = "iframe"; - } - if (message.arrowTable != null && message.hasOwnProperty("arrowTable")) { - object.arrowTable = $root.Arrow.toObject(message.arrowTable, options); - if (options.oneofs) - object.type = "arrowTable"; - } - if (message.arrowDataFrame != null && message.hasOwnProperty("arrowDataFrame")) { - object.arrowDataFrame = $root.Arrow.toObject(message.arrowDataFrame, options); - if (options.oneofs) - object.type = "arrowDataFrame"; - } - if (message.arrowVegaLiteChart != null && message.hasOwnProperty("arrowVegaLiteChart")) { - object.arrowVegaLiteChart = $root.ArrowVegaLiteChart.toObject(message.arrowVegaLiteChart, options); - if (options.oneofs) - object.type = "arrowVegaLiteChart"; - } - if (message.metric != null && message.hasOwnProperty("metric")) { - object.metric = $root.Metric.toObject(message.metric, options); - if (options.oneofs) - object.type = "metric"; - } - if (message.downloadButton != null && message.hasOwnProperty("downloadButton")) { - object.downloadButton = $root.DownloadButton.toObject(message.downloadButton, options); - if (options.oneofs) - object.type = "downloadButton"; - } - if (message.spinner != null && message.hasOwnProperty("spinner")) { - object.spinner = $root.Spinner.toObject(message.spinner, options); - if (options.oneofs) - object.type = "spinner"; - } - if (message.cameraInput != null && message.hasOwnProperty("cameraInput")) { - object.cameraInput = $root.CameraInput.toObject(message.cameraInput, options); - if (options.oneofs) - object.type = "cameraInput"; - } - if (message.snow != null && message.hasOwnProperty("snow")) { - object.snow = $root.Snow.toObject(message.snow, options); - if (options.oneofs) - object.type = "snow"; - } - if (message.heading != null && message.hasOwnProperty("heading")) { - object.heading = $root.Heading.toObject(message.heading, options); - if (options.oneofs) - object.type = "heading"; - } - if (message.code != null && message.hasOwnProperty("code")) { - object.code = $root.Code.toObject(message.code, options); - if (options.oneofs) - object.type = "code"; - } - return object; - }; - - /** - * Converts this Element to JSON. - * @function toJSON - * @memberof Element - * @instance - * @returns {Object.} JSON object - */ - Element.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Element - * @function getTypeUrl - * @memberof Element - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Element.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Element"; - }; - - return Element; -})(); - -export const Empty = $root.Empty = (() => { - - /** - * Properties of an Empty. - * @exports IEmpty - * @interface IEmpty - */ - - /** - * Constructs a new Empty. - * @exports Empty - * @classdesc Represents an Empty. - * @implements IEmpty - * @constructor - * @param {IEmpty=} [properties] Properties to set - */ - function Empty(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Creates a new Empty instance using the specified properties. - * @function create - * @memberof Empty - * @static - * @param {IEmpty=} [properties] Properties to set - * @returns {Empty} Empty instance - */ - Empty.create = function create(properties) { - return new Empty(properties); - }; - - /** - * Encodes the specified Empty message. Does not implicitly {@link Empty.verify|verify} messages. - * @function encode - * @memberof Empty - * @static - * @param {IEmpty} message Empty message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Empty.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - return writer; - }; - - /** - * Encodes the specified Empty message, length delimited. Does not implicitly {@link Empty.verify|verify} messages. - * @function encodeDelimited - * @memberof Empty - * @static - * @param {IEmpty} message Empty message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Empty.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an Empty message from the specified reader or buffer. - * @function decode - * @memberof Empty - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Empty} Empty - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Empty.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Empty(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an Empty message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Empty - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Empty} Empty - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Empty.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an Empty message. - * @function verify - * @memberof Empty - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Empty.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - return null; - }; - - /** - * Creates an Empty message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Empty - * @static - * @param {Object.} object Plain object - * @returns {Empty} Empty - */ - Empty.fromObject = function fromObject(object) { - if (object instanceof $root.Empty) - return object; - return new $root.Empty(); - }; - - /** - * Creates a plain object from an Empty message. Also converts values to other types if specified. - * @function toObject - * @memberof Empty - * @static - * @param {Empty} message Empty - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Empty.toObject = function toObject() { - return {}; - }; - - /** - * Converts this Empty to JSON. - * @function toJSON - * @memberof Empty - * @instance - * @returns {Object.} JSON object - */ - Empty.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Empty - * @function getTypeUrl - * @memberof Empty - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Empty.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Empty"; - }; - - return Empty; -})(); - -export const Exception = $root.Exception = (() => { - - /** - * Properties of an Exception. - * @exports IException - * @interface IException - * @property {string|null} [type] Exception type - * @property {string|null} [message] Exception message - * @property {boolean|null} [messageIsMarkdown] Exception messageIsMarkdown - * @property {Array.|null} [stackTrace] Exception stackTrace - * @property {boolean|null} [isWarning] Exception isWarning - */ - - /** - * Constructs a new Exception. - * @exports Exception - * @classdesc Represents an Exception. - * @implements IException - * @constructor - * @param {IException=} [properties] Properties to set - */ - function Exception(properties) { - this.stackTrace = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Exception type. - * @member {string} type - * @memberof Exception - * @instance - */ - Exception.prototype.type = ""; - - /** - * Exception message. - * @member {string} message - * @memberof Exception - * @instance - */ - Exception.prototype.message = ""; - - /** - * Exception messageIsMarkdown. - * @member {boolean} messageIsMarkdown - * @memberof Exception - * @instance - */ - Exception.prototype.messageIsMarkdown = false; - - /** - * Exception stackTrace. - * @member {Array.} stackTrace - * @memberof Exception - * @instance - */ - Exception.prototype.stackTrace = $util.emptyArray; - - /** - * Exception isWarning. - * @member {boolean} isWarning - * @memberof Exception - * @instance - */ - Exception.prototype.isWarning = false; - - /** - * Creates a new Exception instance using the specified properties. - * @function create - * @memberof Exception - * @static - * @param {IException=} [properties] Properties to set - * @returns {Exception} Exception instance - */ - Exception.create = function create(properties) { - return new Exception(properties); - }; - - /** - * Encodes the specified Exception message. Does not implicitly {@link Exception.verify|verify} messages. - * @function encode - * @memberof Exception - * @static - * @param {IException} message Exception message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Exception.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.type != null && Object.hasOwnProperty.call(message, "type")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.type); - if (message.message != null && Object.hasOwnProperty.call(message, "message")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.message); - if (message.stackTrace != null && message.stackTrace.length) - for (let i = 0; i < message.stackTrace.length; ++i) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.stackTrace[i]); - if (message.messageIsMarkdown != null && Object.hasOwnProperty.call(message, "messageIsMarkdown")) - writer.uint32(/* id 4, wireType 0 =*/32).bool(message.messageIsMarkdown); - if (message.isWarning != null && Object.hasOwnProperty.call(message, "isWarning")) - writer.uint32(/* id 5, wireType 0 =*/40).bool(message.isWarning); - return writer; - }; - - /** - * Encodes the specified Exception message, length delimited. Does not implicitly {@link Exception.verify|verify} messages. - * @function encodeDelimited - * @memberof Exception - * @static - * @param {IException} message Exception message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Exception.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an Exception message from the specified reader or buffer. - * @function decode - * @memberof Exception - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Exception} Exception - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Exception.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Exception(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.type = reader.string(); - break; - } - case 2: { - message.message = reader.string(); - break; - } - case 4: { - message.messageIsMarkdown = reader.bool(); - break; - } - case 3: { - if (!(message.stackTrace && message.stackTrace.length)) - message.stackTrace = []; - message.stackTrace.push(reader.string()); - break; - } - case 5: { - message.isWarning = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an Exception message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Exception - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Exception} Exception - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Exception.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an Exception message. - * @function verify - * @memberof Exception - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Exception.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.type != null && message.hasOwnProperty("type")) - if (!$util.isString(message.type)) - return "type: string expected"; - if (message.message != null && message.hasOwnProperty("message")) - if (!$util.isString(message.message)) - return "message: string expected"; - if (message.messageIsMarkdown != null && message.hasOwnProperty("messageIsMarkdown")) - if (typeof message.messageIsMarkdown !== "boolean") - return "messageIsMarkdown: boolean expected"; - if (message.stackTrace != null && message.hasOwnProperty("stackTrace")) { - if (!Array.isArray(message.stackTrace)) - return "stackTrace: array expected"; - for (let i = 0; i < message.stackTrace.length; ++i) - if (!$util.isString(message.stackTrace[i])) - return "stackTrace: string[] expected"; - } - if (message.isWarning != null && message.hasOwnProperty("isWarning")) - if (typeof message.isWarning !== "boolean") - return "isWarning: boolean expected"; - return null; - }; - - /** - * Creates an Exception message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Exception - * @static - * @param {Object.} object Plain object - * @returns {Exception} Exception - */ - Exception.fromObject = function fromObject(object) { - if (object instanceof $root.Exception) - return object; - let message = new $root.Exception(); - if (object.type != null) - message.type = String(object.type); - if (object.message != null) - message.message = String(object.message); - if (object.messageIsMarkdown != null) - message.messageIsMarkdown = Boolean(object.messageIsMarkdown); - if (object.stackTrace) { - if (!Array.isArray(object.stackTrace)) - throw TypeError(".Exception.stackTrace: array expected"); - message.stackTrace = []; - for (let i = 0; i < object.stackTrace.length; ++i) - message.stackTrace[i] = String(object.stackTrace[i]); - } - if (object.isWarning != null) - message.isWarning = Boolean(object.isWarning); - return message; - }; - - /** - * Creates a plain object from an Exception message. Also converts values to other types if specified. - * @function toObject - * @memberof Exception - * @static - * @param {Exception} message Exception - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Exception.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.stackTrace = []; - if (options.defaults) { - object.type = ""; - object.message = ""; - object.messageIsMarkdown = false; - object.isWarning = false; - } - if (message.type != null && message.hasOwnProperty("type")) - object.type = message.type; - if (message.message != null && message.hasOwnProperty("message")) - object.message = message.message; - if (message.stackTrace && message.stackTrace.length) { - object.stackTrace = []; - for (let j = 0; j < message.stackTrace.length; ++j) - object.stackTrace[j] = message.stackTrace[j]; - } - if (message.messageIsMarkdown != null && message.hasOwnProperty("messageIsMarkdown")) - object.messageIsMarkdown = message.messageIsMarkdown; - if (message.isWarning != null && message.hasOwnProperty("isWarning")) - object.isWarning = message.isWarning; - return object; - }; - - /** - * Converts this Exception to JSON. - * @function toJSON - * @memberof Exception - * @instance - * @returns {Object.} JSON object - */ - Exception.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Exception - * @function getTypeUrl - * @memberof Exception - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Exception.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Exception"; - }; - - return Exception; -})(); - -export const Favicon = $root.Favicon = (() => { - - /** - * Properties of a Favicon. - * @exports IFavicon - * @interface IFavicon - * @property {string|null} [url] Favicon url - */ - - /** - * Constructs a new Favicon. - * @exports Favicon - * @classdesc Represents a Favicon. - * @implements IFavicon - * @constructor - * @param {IFavicon=} [properties] Properties to set - */ - function Favicon(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Favicon url. - * @member {string} url - * @memberof Favicon - * @instance - */ - Favicon.prototype.url = ""; - - /** - * Creates a new Favicon instance using the specified properties. - * @function create - * @memberof Favicon - * @static - * @param {IFavicon=} [properties] Properties to set - * @returns {Favicon} Favicon instance - */ - Favicon.create = function create(properties) { - return new Favicon(properties); - }; - - /** - * Encodes the specified Favicon message. Does not implicitly {@link Favicon.verify|verify} messages. - * @function encode - * @memberof Favicon - * @static - * @param {IFavicon} message Favicon message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Favicon.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.url != null && Object.hasOwnProperty.call(message, "url")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.url); - return writer; - }; - - /** - * Encodes the specified Favicon message, length delimited. Does not implicitly {@link Favicon.verify|verify} messages. - * @function encodeDelimited - * @memberof Favicon - * @static - * @param {IFavicon} message Favicon message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Favicon.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Favicon message from the specified reader or buffer. - * @function decode - * @memberof Favicon - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Favicon} Favicon - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Favicon.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Favicon(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.url = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Favicon message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Favicon - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Favicon} Favicon - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Favicon.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Favicon message. - * @function verify - * @memberof Favicon - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Favicon.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.url != null && message.hasOwnProperty("url")) - if (!$util.isString(message.url)) - return "url: string expected"; - return null; - }; - - /** - * Creates a Favicon message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Favicon - * @static - * @param {Object.} object Plain object - * @returns {Favicon} Favicon - */ - Favicon.fromObject = function fromObject(object) { - if (object instanceof $root.Favicon) - return object; - let message = new $root.Favicon(); - if (object.url != null) - message.url = String(object.url); - return message; - }; - - /** - * Creates a plain object from a Favicon message. Also converts values to other types if specified. - * @function toObject - * @memberof Favicon - * @static - * @param {Favicon} message Favicon - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Favicon.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) - object.url = ""; - if (message.url != null && message.hasOwnProperty("url")) - object.url = message.url; - return object; - }; - - /** - * Converts this Favicon to JSON. - * @function toJSON - * @memberof Favicon - * @instance - * @returns {Object.} JSON object - */ - Favicon.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Favicon - * @function getTypeUrl - * @memberof Favicon - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Favicon.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Favicon"; - }; - - return Favicon; -})(); - -export const FileUploader = $root.FileUploader = (() => { - - /** - * Properties of a FileUploader. - * @exports IFileUploader - * @interface IFileUploader - * @property {string|null} [id] FileUploader id - * @property {string|null} [label] FileUploader label - * @property {Array.|null} [type] FileUploader type - * @property {number|null} [maxUploadSizeMb] FileUploader maxUploadSizeMb - * @property {boolean|null} [multipleFiles] FileUploader multipleFiles - * @property {string|null} [help] FileUploader help - * @property {string|null} [formId] FileUploader formId - * @property {boolean|null} [disabled] FileUploader disabled - * @property {ILabelVisibilityMessage|null} [labelVisibility] FileUploader labelVisibility - */ - - /** - * Constructs a new FileUploader. - * @exports FileUploader - * @classdesc Represents a FileUploader. - * @implements IFileUploader - * @constructor - * @param {IFileUploader=} [properties] Properties to set - */ - function FileUploader(properties) { - this.type = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * FileUploader id. - * @member {string} id - * @memberof FileUploader - * @instance - */ - FileUploader.prototype.id = ""; - - /** - * FileUploader label. - * @member {string} label - * @memberof FileUploader - * @instance - */ - FileUploader.prototype.label = ""; - - /** - * FileUploader type. - * @member {Array.} type - * @memberof FileUploader - * @instance - */ - FileUploader.prototype.type = $util.emptyArray; - - /** - * FileUploader maxUploadSizeMb. - * @member {number} maxUploadSizeMb - * @memberof FileUploader - * @instance - */ - FileUploader.prototype.maxUploadSizeMb = 0; - - /** - * FileUploader multipleFiles. - * @member {boolean} multipleFiles - * @memberof FileUploader - * @instance - */ - FileUploader.prototype.multipleFiles = false; - - /** - * FileUploader help. - * @member {string} help - * @memberof FileUploader - * @instance - */ - FileUploader.prototype.help = ""; - - /** - * FileUploader formId. - * @member {string} formId - * @memberof FileUploader - * @instance - */ - FileUploader.prototype.formId = ""; - - /** - * FileUploader disabled. - * @member {boolean} disabled - * @memberof FileUploader - * @instance - */ - FileUploader.prototype.disabled = false; - - /** - * FileUploader labelVisibility. - * @member {ILabelVisibilityMessage|null|undefined} labelVisibility - * @memberof FileUploader - * @instance - */ - FileUploader.prototype.labelVisibility = null; - - /** - * Creates a new FileUploader instance using the specified properties. - * @function create - * @memberof FileUploader - * @static - * @param {IFileUploader=} [properties] Properties to set - * @returns {FileUploader} FileUploader instance - */ - FileUploader.create = function create(properties) { - return new FileUploader(properties); - }; - - /** - * Encodes the specified FileUploader message. Does not implicitly {@link FileUploader.verify|verify} messages. - * @function encode - * @memberof FileUploader - * @static - * @param {IFileUploader} message FileUploader message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FileUploader.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.id != null && Object.hasOwnProperty.call(message, "id")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); - if (message.label != null && Object.hasOwnProperty.call(message, "label")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.label); - if (message.type != null && message.type.length) - for (let i = 0; i < message.type.length; ++i) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.type[i]); - if (message.maxUploadSizeMb != null && Object.hasOwnProperty.call(message, "maxUploadSizeMb")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.maxUploadSizeMb); - if (message.multipleFiles != null && Object.hasOwnProperty.call(message, "multipleFiles")) - writer.uint32(/* id 6, wireType 0 =*/48).bool(message.multipleFiles); - if (message.help != null && Object.hasOwnProperty.call(message, "help")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.help); - if (message.formId != null && Object.hasOwnProperty.call(message, "formId")) - writer.uint32(/* id 8, wireType 2 =*/66).string(message.formId); - if (message.disabled != null && Object.hasOwnProperty.call(message, "disabled")) - writer.uint32(/* id 9, wireType 0 =*/72).bool(message.disabled); - if (message.labelVisibility != null && Object.hasOwnProperty.call(message, "labelVisibility")) - $root.LabelVisibilityMessage.encode(message.labelVisibility, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified FileUploader message, length delimited. Does not implicitly {@link FileUploader.verify|verify} messages. - * @function encodeDelimited - * @memberof FileUploader - * @static - * @param {IFileUploader} message FileUploader message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FileUploader.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a FileUploader message from the specified reader or buffer. - * @function decode - * @memberof FileUploader - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {FileUploader} FileUploader - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FileUploader.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.FileUploader(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.id = reader.string(); - break; - } - case 2: { - message.label = reader.string(); - break; - } - case 3: { - if (!(message.type && message.type.length)) - message.type = []; - message.type.push(reader.string()); - break; - } - case 4: { - message.maxUploadSizeMb = reader.int32(); - break; - } - case 6: { - message.multipleFiles = reader.bool(); - break; - } - case 7: { - message.help = reader.string(); - break; - } - case 8: { - message.formId = reader.string(); - break; - } - case 9: { - message.disabled = reader.bool(); - break; - } - case 10: { - message.labelVisibility = $root.LabelVisibilityMessage.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a FileUploader message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof FileUploader - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {FileUploader} FileUploader - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FileUploader.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a FileUploader message. - * @function verify - * @memberof FileUploader - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - FileUploader.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isString(message.id)) - return "id: string expected"; - if (message.label != null && message.hasOwnProperty("label")) - if (!$util.isString(message.label)) - return "label: string expected"; - if (message.type != null && message.hasOwnProperty("type")) { - if (!Array.isArray(message.type)) - return "type: array expected"; - for (let i = 0; i < message.type.length; ++i) - if (!$util.isString(message.type[i])) - return "type: string[] expected"; - } - if (message.maxUploadSizeMb != null && message.hasOwnProperty("maxUploadSizeMb")) - if (!$util.isInteger(message.maxUploadSizeMb)) - return "maxUploadSizeMb: integer expected"; - if (message.multipleFiles != null && message.hasOwnProperty("multipleFiles")) - if (typeof message.multipleFiles !== "boolean") - return "multipleFiles: boolean expected"; - if (message.help != null && message.hasOwnProperty("help")) - if (!$util.isString(message.help)) - return "help: string expected"; - if (message.formId != null && message.hasOwnProperty("formId")) - if (!$util.isString(message.formId)) - return "formId: string expected"; - if (message.disabled != null && message.hasOwnProperty("disabled")) - if (typeof message.disabled !== "boolean") - return "disabled: boolean expected"; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) { - let error = $root.LabelVisibilityMessage.verify(message.labelVisibility); - if (error) - return "labelVisibility." + error; - } - return null; - }; - - /** - * Creates a FileUploader message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof FileUploader - * @static - * @param {Object.} object Plain object - * @returns {FileUploader} FileUploader - */ - FileUploader.fromObject = function fromObject(object) { - if (object instanceof $root.FileUploader) - return object; - let message = new $root.FileUploader(); - if (object.id != null) - message.id = String(object.id); - if (object.label != null) - message.label = String(object.label); - if (object.type) { - if (!Array.isArray(object.type)) - throw TypeError(".FileUploader.type: array expected"); - message.type = []; - for (let i = 0; i < object.type.length; ++i) - message.type[i] = String(object.type[i]); - } - if (object.maxUploadSizeMb != null) - message.maxUploadSizeMb = object.maxUploadSizeMb | 0; - if (object.multipleFiles != null) - message.multipleFiles = Boolean(object.multipleFiles); - if (object.help != null) - message.help = String(object.help); - if (object.formId != null) - message.formId = String(object.formId); - if (object.disabled != null) - message.disabled = Boolean(object.disabled); - if (object.labelVisibility != null) { - if (typeof object.labelVisibility !== "object") - throw TypeError(".FileUploader.labelVisibility: object expected"); - message.labelVisibility = $root.LabelVisibilityMessage.fromObject(object.labelVisibility); - } - return message; - }; - - /** - * Creates a plain object from a FileUploader message. Also converts values to other types if specified. - * @function toObject - * @memberof FileUploader - * @static - * @param {FileUploader} message FileUploader - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - FileUploader.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.type = []; - if (options.defaults) { - object.id = ""; - object.label = ""; - object.maxUploadSizeMb = 0; - object.multipleFiles = false; - object.help = ""; - object.formId = ""; - object.disabled = false; - object.labelVisibility = null; - } - if (message.id != null && message.hasOwnProperty("id")) - object.id = message.id; - if (message.label != null && message.hasOwnProperty("label")) - object.label = message.label; - if (message.type && message.type.length) { - object.type = []; - for (let j = 0; j < message.type.length; ++j) - object.type[j] = message.type[j]; - } - if (message.maxUploadSizeMb != null && message.hasOwnProperty("maxUploadSizeMb")) - object.maxUploadSizeMb = message.maxUploadSizeMb; - if (message.multipleFiles != null && message.hasOwnProperty("multipleFiles")) - object.multipleFiles = message.multipleFiles; - if (message.help != null && message.hasOwnProperty("help")) - object.help = message.help; - if (message.formId != null && message.hasOwnProperty("formId")) - object.formId = message.formId; - if (message.disabled != null && message.hasOwnProperty("disabled")) - object.disabled = message.disabled; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) - object.labelVisibility = $root.LabelVisibilityMessage.toObject(message.labelVisibility, options); - return object; - }; - - /** - * Converts this FileUploader to JSON. - * @function toJSON - * @memberof FileUploader - * @instance - * @returns {Object.} JSON object - */ - FileUploader.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for FileUploader - * @function getTypeUrl - * @memberof FileUploader - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - FileUploader.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/FileUploader"; - }; - - return FileUploader; -})(); - -export const ForwardMsg = $root.ForwardMsg = (() => { - - /** - * Properties of a ForwardMsg. - * @exports IForwardMsg - * @interface IForwardMsg - * @property {string|null} [hash] ForwardMsg hash - * @property {IForwardMsgMetadata|null} [metadata] ForwardMsg metadata - * @property {INewSession|null} [newSession] ForwardMsg newSession - * @property {IDelta|null} [delta] ForwardMsg delta - * @property {IPageInfo|null} [pageInfoChanged] ForwardMsg pageInfoChanged - * @property {IPageConfig|null} [pageConfigChanged] ForwardMsg pageConfigChanged - * @property {ForwardMsg.ScriptFinishedStatus|null} [scriptFinished] ForwardMsg scriptFinished - * @property {IGitInfo|null} [gitInfoChanged] ForwardMsg gitInfoChanged - * @property {IPageProfile|null} [pageProfile] ForwardMsg pageProfile - * @property {ISessionStatus|null} [sessionStatusChanged] ForwardMsg sessionStatusChanged - * @property {ISessionEvent|null} [sessionEvent] ForwardMsg sessionEvent - * @property {IPageNotFound|null} [pageNotFound] ForwardMsg pageNotFound - * @property {IPagesChanged|null} [pagesChanged] ForwardMsg pagesChanged - * @property {string|null} [refHash] ForwardMsg refHash - * @property {string|null} [debugLastBackmsgId] ForwardMsg debugLastBackmsgId - */ - - /** - * Constructs a new ForwardMsg. - * @exports ForwardMsg - * @classdesc Represents a ForwardMsg. - * @implements IForwardMsg - * @constructor - * @param {IForwardMsg=} [properties] Properties to set - */ - function ForwardMsg(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ForwardMsg hash. - * @member {string} hash - * @memberof ForwardMsg - * @instance - */ - ForwardMsg.prototype.hash = ""; - - /** - * ForwardMsg metadata. - * @member {IForwardMsgMetadata|null|undefined} metadata - * @memberof ForwardMsg - * @instance - */ - ForwardMsg.prototype.metadata = null; - - /** - * ForwardMsg newSession. - * @member {INewSession|null|undefined} newSession - * @memberof ForwardMsg - * @instance - */ - ForwardMsg.prototype.newSession = null; - - /** - * ForwardMsg delta. - * @member {IDelta|null|undefined} delta - * @memberof ForwardMsg - * @instance - */ - ForwardMsg.prototype.delta = null; - - /** - * ForwardMsg pageInfoChanged. - * @member {IPageInfo|null|undefined} pageInfoChanged - * @memberof ForwardMsg - * @instance - */ - ForwardMsg.prototype.pageInfoChanged = null; - - /** - * ForwardMsg pageConfigChanged. - * @member {IPageConfig|null|undefined} pageConfigChanged - * @memberof ForwardMsg - * @instance - */ - ForwardMsg.prototype.pageConfigChanged = null; - - /** - * ForwardMsg scriptFinished. - * @member {ForwardMsg.ScriptFinishedStatus|null|undefined} scriptFinished - * @memberof ForwardMsg - * @instance - */ - ForwardMsg.prototype.scriptFinished = null; - - /** - * ForwardMsg gitInfoChanged. - * @member {IGitInfo|null|undefined} gitInfoChanged - * @memberof ForwardMsg - * @instance - */ - ForwardMsg.prototype.gitInfoChanged = null; - - /** - * ForwardMsg pageProfile. - * @member {IPageProfile|null|undefined} pageProfile - * @memberof ForwardMsg - * @instance - */ - ForwardMsg.prototype.pageProfile = null; - - /** - * ForwardMsg sessionStatusChanged. - * @member {ISessionStatus|null|undefined} sessionStatusChanged - * @memberof ForwardMsg - * @instance - */ - ForwardMsg.prototype.sessionStatusChanged = null; - - /** - * ForwardMsg sessionEvent. - * @member {ISessionEvent|null|undefined} sessionEvent - * @memberof ForwardMsg - * @instance - */ - ForwardMsg.prototype.sessionEvent = null; - - /** - * ForwardMsg pageNotFound. - * @member {IPageNotFound|null|undefined} pageNotFound - * @memberof ForwardMsg - * @instance - */ - ForwardMsg.prototype.pageNotFound = null; - - /** - * ForwardMsg pagesChanged. - * @member {IPagesChanged|null|undefined} pagesChanged - * @memberof ForwardMsg - * @instance - */ - ForwardMsg.prototype.pagesChanged = null; - - /** - * ForwardMsg refHash. - * @member {string|null|undefined} refHash - * @memberof ForwardMsg - * @instance - */ - ForwardMsg.prototype.refHash = null; - - /** - * ForwardMsg debugLastBackmsgId. - * @member {string} debugLastBackmsgId - * @memberof ForwardMsg - * @instance - */ - ForwardMsg.prototype.debugLastBackmsgId = ""; - - // OneOf field names bound to virtual getters and setters - let $oneOfFields; - - /** - * ForwardMsg type. - * @member {"newSession"|"delta"|"pageInfoChanged"|"pageConfigChanged"|"scriptFinished"|"gitInfoChanged"|"pageProfile"|"sessionStatusChanged"|"sessionEvent"|"pageNotFound"|"pagesChanged"|"refHash"|undefined} type - * @memberof ForwardMsg - * @instance - */ - Object.defineProperty(ForwardMsg.prototype, "type", { - get: $util.oneOfGetter($oneOfFields = ["newSession", "delta", "pageInfoChanged", "pageConfigChanged", "scriptFinished", "gitInfoChanged", "pageProfile", "sessionStatusChanged", "sessionEvent", "pageNotFound", "pagesChanged", "refHash"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new ForwardMsg instance using the specified properties. - * @function create - * @memberof ForwardMsg - * @static - * @param {IForwardMsg=} [properties] Properties to set - * @returns {ForwardMsg} ForwardMsg instance - */ - ForwardMsg.create = function create(properties) { - return new ForwardMsg(properties); - }; - - /** - * Encodes the specified ForwardMsg message. Does not implicitly {@link ForwardMsg.verify|verify} messages. - * @function encode - * @memberof ForwardMsg - * @static - * @param {IForwardMsg} message ForwardMsg message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ForwardMsg.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.hash != null && Object.hasOwnProperty.call(message, "hash")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.hash); - if (message.metadata != null && Object.hasOwnProperty.call(message, "metadata")) - $root.ForwardMsgMetadata.encode(message.metadata, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.newSession != null && Object.hasOwnProperty.call(message, "newSession")) - $root.NewSession.encode(message.newSession, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.delta != null && Object.hasOwnProperty.call(message, "delta")) - $root.Delta.encode(message.delta, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.scriptFinished != null && Object.hasOwnProperty.call(message, "scriptFinished")) - writer.uint32(/* id 6, wireType 0 =*/48).int32(message.scriptFinished); - if (message.sessionStatusChanged != null && Object.hasOwnProperty.call(message, "sessionStatusChanged")) - $root.SessionStatus.encode(message.sessionStatusChanged, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); - if (message.sessionEvent != null && Object.hasOwnProperty.call(message, "sessionEvent")) - $root.SessionEvent.encode(message.sessionEvent, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); - if (message.refHash != null && Object.hasOwnProperty.call(message, "refHash")) - writer.uint32(/* id 11, wireType 2 =*/90).string(message.refHash); - if (message.pageInfoChanged != null && Object.hasOwnProperty.call(message, "pageInfoChanged")) - $root.PageInfo.encode(message.pageInfoChanged, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim(); - if (message.pageConfigChanged != null && Object.hasOwnProperty.call(message, "pageConfigChanged")) - $root.PageConfig.encode(message.pageConfigChanged, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim(); - if (message.gitInfoChanged != null && Object.hasOwnProperty.call(message, "gitInfoChanged")) - $root.GitInfo.encode(message.gitInfoChanged, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim(); - if (message.pageNotFound != null && Object.hasOwnProperty.call(message, "pageNotFound")) - $root.PageNotFound.encode(message.pageNotFound, writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim(); - if (message.pagesChanged != null && Object.hasOwnProperty.call(message, "pagesChanged")) - $root.PagesChanged.encode(message.pagesChanged, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim(); - if (message.debugLastBackmsgId != null && Object.hasOwnProperty.call(message, "debugLastBackmsgId")) - writer.uint32(/* id 17, wireType 2 =*/138).string(message.debugLastBackmsgId); - if (message.pageProfile != null && Object.hasOwnProperty.call(message, "pageProfile")) - $root.PageProfile.encode(message.pageProfile, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified ForwardMsg message, length delimited. Does not implicitly {@link ForwardMsg.verify|verify} messages. - * @function encodeDelimited - * @memberof ForwardMsg - * @static - * @param {IForwardMsg} message ForwardMsg message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ForwardMsg.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ForwardMsg message from the specified reader or buffer. - * @function decode - * @memberof ForwardMsg - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ForwardMsg} ForwardMsg - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ForwardMsg.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.ForwardMsg(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.hash = reader.string(); - break; - } - case 2: { - message.metadata = $root.ForwardMsgMetadata.decode(reader, reader.uint32()); - break; - } - case 4: { - message.newSession = $root.NewSession.decode(reader, reader.uint32()); - break; - } - case 5: { - message.delta = $root.Delta.decode(reader, reader.uint32()); - break; - } - case 12: { - message.pageInfoChanged = $root.PageInfo.decode(reader, reader.uint32()); - break; - } - case 13: { - message.pageConfigChanged = $root.PageConfig.decode(reader, reader.uint32()); - break; - } - case 6: { - message.scriptFinished = reader.int32(); - break; - } - case 14: { - message.gitInfoChanged = $root.GitInfo.decode(reader, reader.uint32()); - break; - } - case 18: { - message.pageProfile = $root.PageProfile.decode(reader, reader.uint32()); - break; - } - case 9: { - message.sessionStatusChanged = $root.SessionStatus.decode(reader, reader.uint32()); - break; - } - case 10: { - message.sessionEvent = $root.SessionEvent.decode(reader, reader.uint32()); - break; - } - case 15: { - message.pageNotFound = $root.PageNotFound.decode(reader, reader.uint32()); - break; - } - case 16: { - message.pagesChanged = $root.PagesChanged.decode(reader, reader.uint32()); - break; - } - case 11: { - message.refHash = reader.string(); - break; - } - case 17: { - message.debugLastBackmsgId = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ForwardMsg message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ForwardMsg - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ForwardMsg} ForwardMsg - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ForwardMsg.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ForwardMsg message. - * @function verify - * @memberof ForwardMsg - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ForwardMsg.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - let properties = {}; - if (message.hash != null && message.hasOwnProperty("hash")) - if (!$util.isString(message.hash)) - return "hash: string expected"; - if (message.metadata != null && message.hasOwnProperty("metadata")) { - let error = $root.ForwardMsgMetadata.verify(message.metadata); - if (error) - return "metadata." + error; - } - if (message.newSession != null && message.hasOwnProperty("newSession")) { - properties.type = 1; - { - let error = $root.NewSession.verify(message.newSession); - if (error) - return "newSession." + error; - } - } - if (message.delta != null && message.hasOwnProperty("delta")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Delta.verify(message.delta); - if (error) - return "delta." + error; - } - } - if (message.pageInfoChanged != null && message.hasOwnProperty("pageInfoChanged")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.PageInfo.verify(message.pageInfoChanged); - if (error) - return "pageInfoChanged." + error; - } - } - if (message.pageConfigChanged != null && message.hasOwnProperty("pageConfigChanged")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.PageConfig.verify(message.pageConfigChanged); - if (error) - return "pageConfigChanged." + error; - } - } - if (message.scriptFinished != null && message.hasOwnProperty("scriptFinished")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - switch (message.scriptFinished) { - default: - return "scriptFinished: enum value expected"; - case 0: - case 1: - case 2: - break; - } - } - if (message.gitInfoChanged != null && message.hasOwnProperty("gitInfoChanged")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.GitInfo.verify(message.gitInfoChanged); - if (error) - return "gitInfoChanged." + error; - } - } - if (message.pageProfile != null && message.hasOwnProperty("pageProfile")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.PageProfile.verify(message.pageProfile); - if (error) - return "pageProfile." + error; - } - } - if (message.sessionStatusChanged != null && message.hasOwnProperty("sessionStatusChanged")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.SessionStatus.verify(message.sessionStatusChanged); - if (error) - return "sessionStatusChanged." + error; - } - } - if (message.sessionEvent != null && message.hasOwnProperty("sessionEvent")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.SessionEvent.verify(message.sessionEvent); - if (error) - return "sessionEvent." + error; - } - } - if (message.pageNotFound != null && message.hasOwnProperty("pageNotFound")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.PageNotFound.verify(message.pageNotFound); - if (error) - return "pageNotFound." + error; - } - } - if (message.pagesChanged != null && message.hasOwnProperty("pagesChanged")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.PagesChanged.verify(message.pagesChanged); - if (error) - return "pagesChanged." + error; - } - } - if (message.refHash != null && message.hasOwnProperty("refHash")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - if (!$util.isString(message.refHash)) - return "refHash: string expected"; - } - if (message.debugLastBackmsgId != null && message.hasOwnProperty("debugLastBackmsgId")) - if (!$util.isString(message.debugLastBackmsgId)) - return "debugLastBackmsgId: string expected"; - return null; - }; - - /** - * Creates a ForwardMsg message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ForwardMsg - * @static - * @param {Object.} object Plain object - * @returns {ForwardMsg} ForwardMsg - */ - ForwardMsg.fromObject = function fromObject(object) { - if (object instanceof $root.ForwardMsg) - return object; - let message = new $root.ForwardMsg(); - if (object.hash != null) - message.hash = String(object.hash); - if (object.metadata != null) { - if (typeof object.metadata !== "object") - throw TypeError(".ForwardMsg.metadata: object expected"); - message.metadata = $root.ForwardMsgMetadata.fromObject(object.metadata); - } - if (object.newSession != null) { - if (typeof object.newSession !== "object") - throw TypeError(".ForwardMsg.newSession: object expected"); - message.newSession = $root.NewSession.fromObject(object.newSession); - } - if (object.delta != null) { - if (typeof object.delta !== "object") - throw TypeError(".ForwardMsg.delta: object expected"); - message.delta = $root.Delta.fromObject(object.delta); - } - if (object.pageInfoChanged != null) { - if (typeof object.pageInfoChanged !== "object") - throw TypeError(".ForwardMsg.pageInfoChanged: object expected"); - message.pageInfoChanged = $root.PageInfo.fromObject(object.pageInfoChanged); - } - if (object.pageConfigChanged != null) { - if (typeof object.pageConfigChanged !== "object") - throw TypeError(".ForwardMsg.pageConfigChanged: object expected"); - message.pageConfigChanged = $root.PageConfig.fromObject(object.pageConfigChanged); - } - switch (object.scriptFinished) { - default: - if (typeof object.scriptFinished === "number") { - message.scriptFinished = object.scriptFinished; - break; - } - break; - case "FINISHED_SUCCESSFULLY": - case 0: - message.scriptFinished = 0; - break; - case "FINISHED_WITH_COMPILE_ERROR": - case 1: - message.scriptFinished = 1; - break; - case "FINISHED_EARLY_FOR_RERUN": - case 2: - message.scriptFinished = 2; - break; - } - if (object.gitInfoChanged != null) { - if (typeof object.gitInfoChanged !== "object") - throw TypeError(".ForwardMsg.gitInfoChanged: object expected"); - message.gitInfoChanged = $root.GitInfo.fromObject(object.gitInfoChanged); - } - if (object.pageProfile != null) { - if (typeof object.pageProfile !== "object") - throw TypeError(".ForwardMsg.pageProfile: object expected"); - message.pageProfile = $root.PageProfile.fromObject(object.pageProfile); - } - if (object.sessionStatusChanged != null) { - if (typeof object.sessionStatusChanged !== "object") - throw TypeError(".ForwardMsg.sessionStatusChanged: object expected"); - message.sessionStatusChanged = $root.SessionStatus.fromObject(object.sessionStatusChanged); - } - if (object.sessionEvent != null) { - if (typeof object.sessionEvent !== "object") - throw TypeError(".ForwardMsg.sessionEvent: object expected"); - message.sessionEvent = $root.SessionEvent.fromObject(object.sessionEvent); - } - if (object.pageNotFound != null) { - if (typeof object.pageNotFound !== "object") - throw TypeError(".ForwardMsg.pageNotFound: object expected"); - message.pageNotFound = $root.PageNotFound.fromObject(object.pageNotFound); - } - if (object.pagesChanged != null) { - if (typeof object.pagesChanged !== "object") - throw TypeError(".ForwardMsg.pagesChanged: object expected"); - message.pagesChanged = $root.PagesChanged.fromObject(object.pagesChanged); - } - if (object.refHash != null) - message.refHash = String(object.refHash); - if (object.debugLastBackmsgId != null) - message.debugLastBackmsgId = String(object.debugLastBackmsgId); - return message; - }; - - /** - * Creates a plain object from a ForwardMsg message. Also converts values to other types if specified. - * @function toObject - * @memberof ForwardMsg - * @static - * @param {ForwardMsg} message ForwardMsg - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ForwardMsg.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.hash = ""; - object.metadata = null; - object.debugLastBackmsgId = ""; - } - if (message.hash != null && message.hasOwnProperty("hash")) - object.hash = message.hash; - if (message.metadata != null && message.hasOwnProperty("metadata")) - object.metadata = $root.ForwardMsgMetadata.toObject(message.metadata, options); - if (message.newSession != null && message.hasOwnProperty("newSession")) { - object.newSession = $root.NewSession.toObject(message.newSession, options); - if (options.oneofs) - object.type = "newSession"; - } - if (message.delta != null && message.hasOwnProperty("delta")) { - object.delta = $root.Delta.toObject(message.delta, options); - if (options.oneofs) - object.type = "delta"; - } - if (message.scriptFinished != null && message.hasOwnProperty("scriptFinished")) { - object.scriptFinished = options.enums === String ? $root.ForwardMsg.ScriptFinishedStatus[message.scriptFinished] === undefined ? message.scriptFinished : $root.ForwardMsg.ScriptFinishedStatus[message.scriptFinished] : message.scriptFinished; - if (options.oneofs) - object.type = "scriptFinished"; - } - if (message.sessionStatusChanged != null && message.hasOwnProperty("sessionStatusChanged")) { - object.sessionStatusChanged = $root.SessionStatus.toObject(message.sessionStatusChanged, options); - if (options.oneofs) - object.type = "sessionStatusChanged"; - } - if (message.sessionEvent != null && message.hasOwnProperty("sessionEvent")) { - object.sessionEvent = $root.SessionEvent.toObject(message.sessionEvent, options); - if (options.oneofs) - object.type = "sessionEvent"; - } - if (message.refHash != null && message.hasOwnProperty("refHash")) { - object.refHash = message.refHash; - if (options.oneofs) - object.type = "refHash"; - } - if (message.pageInfoChanged != null && message.hasOwnProperty("pageInfoChanged")) { - object.pageInfoChanged = $root.PageInfo.toObject(message.pageInfoChanged, options); - if (options.oneofs) - object.type = "pageInfoChanged"; - } - if (message.pageConfigChanged != null && message.hasOwnProperty("pageConfigChanged")) { - object.pageConfigChanged = $root.PageConfig.toObject(message.pageConfigChanged, options); - if (options.oneofs) - object.type = "pageConfigChanged"; - } - if (message.gitInfoChanged != null && message.hasOwnProperty("gitInfoChanged")) { - object.gitInfoChanged = $root.GitInfo.toObject(message.gitInfoChanged, options); - if (options.oneofs) - object.type = "gitInfoChanged"; - } - if (message.pageNotFound != null && message.hasOwnProperty("pageNotFound")) { - object.pageNotFound = $root.PageNotFound.toObject(message.pageNotFound, options); - if (options.oneofs) - object.type = "pageNotFound"; - } - if (message.pagesChanged != null && message.hasOwnProperty("pagesChanged")) { - object.pagesChanged = $root.PagesChanged.toObject(message.pagesChanged, options); - if (options.oneofs) - object.type = "pagesChanged"; - } - if (message.debugLastBackmsgId != null && message.hasOwnProperty("debugLastBackmsgId")) - object.debugLastBackmsgId = message.debugLastBackmsgId; - if (message.pageProfile != null && message.hasOwnProperty("pageProfile")) { - object.pageProfile = $root.PageProfile.toObject(message.pageProfile, options); - if (options.oneofs) - object.type = "pageProfile"; - } - return object; - }; - - /** - * Converts this ForwardMsg to JSON. - * @function toJSON - * @memberof ForwardMsg - * @instance - * @returns {Object.} JSON object - */ - ForwardMsg.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ForwardMsg - * @function getTypeUrl - * @memberof ForwardMsg - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ForwardMsg.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ForwardMsg"; - }; - - /** - * ScriptFinishedStatus enum. - * @name ForwardMsg.ScriptFinishedStatus - * @enum {number} - * @property {number} FINISHED_SUCCESSFULLY=0 FINISHED_SUCCESSFULLY value - * @property {number} FINISHED_WITH_COMPILE_ERROR=1 FINISHED_WITH_COMPILE_ERROR value - * @property {number} FINISHED_EARLY_FOR_RERUN=2 FINISHED_EARLY_FOR_RERUN value - */ - ForwardMsg.ScriptFinishedStatus = (function() { - const valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "FINISHED_SUCCESSFULLY"] = 0; - values[valuesById[1] = "FINISHED_WITH_COMPILE_ERROR"] = 1; - values[valuesById[2] = "FINISHED_EARLY_FOR_RERUN"] = 2; - return values; - })(); - - return ForwardMsg; -})(); - -export const ForwardMsgMetadata = $root.ForwardMsgMetadata = (() => { - - /** - * Properties of a ForwardMsgMetadata. - * @exports IForwardMsgMetadata - * @interface IForwardMsgMetadata - * @property {boolean|null} [cacheable] ForwardMsgMetadata cacheable - * @property {Array.|null} [deltaPath] ForwardMsgMetadata deltaPath - * @property {IElementDimensionSpec|null} [elementDimensionSpec] ForwardMsgMetadata elementDimensionSpec - */ - - /** - * Constructs a new ForwardMsgMetadata. - * @exports ForwardMsgMetadata - * @classdesc Represents a ForwardMsgMetadata. - * @implements IForwardMsgMetadata - * @constructor - * @param {IForwardMsgMetadata=} [properties] Properties to set - */ - function ForwardMsgMetadata(properties) { - this.deltaPath = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ForwardMsgMetadata cacheable. - * @member {boolean} cacheable - * @memberof ForwardMsgMetadata - * @instance - */ - ForwardMsgMetadata.prototype.cacheable = false; - - /** - * ForwardMsgMetadata deltaPath. - * @member {Array.} deltaPath - * @memberof ForwardMsgMetadata - * @instance - */ - ForwardMsgMetadata.prototype.deltaPath = $util.emptyArray; - - /** - * ForwardMsgMetadata elementDimensionSpec. - * @member {IElementDimensionSpec|null|undefined} elementDimensionSpec - * @memberof ForwardMsgMetadata - * @instance - */ - ForwardMsgMetadata.prototype.elementDimensionSpec = null; - - /** - * Creates a new ForwardMsgMetadata instance using the specified properties. - * @function create - * @memberof ForwardMsgMetadata - * @static - * @param {IForwardMsgMetadata=} [properties] Properties to set - * @returns {ForwardMsgMetadata} ForwardMsgMetadata instance - */ - ForwardMsgMetadata.create = function create(properties) { - return new ForwardMsgMetadata(properties); - }; - - /** - * Encodes the specified ForwardMsgMetadata message. Does not implicitly {@link ForwardMsgMetadata.verify|verify} messages. - * @function encode - * @memberof ForwardMsgMetadata - * @static - * @param {IForwardMsgMetadata} message ForwardMsgMetadata message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ForwardMsgMetadata.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.cacheable != null && Object.hasOwnProperty.call(message, "cacheable")) - writer.uint32(/* id 1, wireType 0 =*/8).bool(message.cacheable); - if (message.deltaPath != null && message.deltaPath.length) { - writer.uint32(/* id 2, wireType 2 =*/18).fork(); - for (let i = 0; i < message.deltaPath.length; ++i) - writer.uint32(message.deltaPath[i]); - writer.ldelim(); - } - if (message.elementDimensionSpec != null && Object.hasOwnProperty.call(message, "elementDimensionSpec")) - $root.ElementDimensionSpec.encode(message.elementDimensionSpec, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified ForwardMsgMetadata message, length delimited. Does not implicitly {@link ForwardMsgMetadata.verify|verify} messages. - * @function encodeDelimited - * @memberof ForwardMsgMetadata - * @static - * @param {IForwardMsgMetadata} message ForwardMsgMetadata message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ForwardMsgMetadata.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ForwardMsgMetadata message from the specified reader or buffer. - * @function decode - * @memberof ForwardMsgMetadata - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ForwardMsgMetadata} ForwardMsgMetadata - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ForwardMsgMetadata.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.ForwardMsgMetadata(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.cacheable = reader.bool(); - break; - } - case 2: { - if (!(message.deltaPath && message.deltaPath.length)) - message.deltaPath = []; - if ((tag & 7) === 2) { - let end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) - message.deltaPath.push(reader.uint32()); - } else - message.deltaPath.push(reader.uint32()); - break; - } - case 3: { - message.elementDimensionSpec = $root.ElementDimensionSpec.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ForwardMsgMetadata message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ForwardMsgMetadata - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ForwardMsgMetadata} ForwardMsgMetadata - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ForwardMsgMetadata.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ForwardMsgMetadata message. - * @function verify - * @memberof ForwardMsgMetadata - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ForwardMsgMetadata.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.cacheable != null && message.hasOwnProperty("cacheable")) - if (typeof message.cacheable !== "boolean") - return "cacheable: boolean expected"; - if (message.deltaPath != null && message.hasOwnProperty("deltaPath")) { - if (!Array.isArray(message.deltaPath)) - return "deltaPath: array expected"; - for (let i = 0; i < message.deltaPath.length; ++i) - if (!$util.isInteger(message.deltaPath[i])) - return "deltaPath: integer[] expected"; - } - if (message.elementDimensionSpec != null && message.hasOwnProperty("elementDimensionSpec")) { - let error = $root.ElementDimensionSpec.verify(message.elementDimensionSpec); - if (error) - return "elementDimensionSpec." + error; - } - return null; - }; - - /** - * Creates a ForwardMsgMetadata message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ForwardMsgMetadata - * @static - * @param {Object.} object Plain object - * @returns {ForwardMsgMetadata} ForwardMsgMetadata - */ - ForwardMsgMetadata.fromObject = function fromObject(object) { - if (object instanceof $root.ForwardMsgMetadata) - return object; - let message = new $root.ForwardMsgMetadata(); - if (object.cacheable != null) - message.cacheable = Boolean(object.cacheable); - if (object.deltaPath) { - if (!Array.isArray(object.deltaPath)) - throw TypeError(".ForwardMsgMetadata.deltaPath: array expected"); - message.deltaPath = []; - for (let i = 0; i < object.deltaPath.length; ++i) - message.deltaPath[i] = object.deltaPath[i] >>> 0; - } - if (object.elementDimensionSpec != null) { - if (typeof object.elementDimensionSpec !== "object") - throw TypeError(".ForwardMsgMetadata.elementDimensionSpec: object expected"); - message.elementDimensionSpec = $root.ElementDimensionSpec.fromObject(object.elementDimensionSpec); - } - return message; - }; - - /** - * Creates a plain object from a ForwardMsgMetadata message. Also converts values to other types if specified. - * @function toObject - * @memberof ForwardMsgMetadata - * @static - * @param {ForwardMsgMetadata} message ForwardMsgMetadata - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ForwardMsgMetadata.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.deltaPath = []; - if (options.defaults) { - object.cacheable = false; - object.elementDimensionSpec = null; - } - if (message.cacheable != null && message.hasOwnProperty("cacheable")) - object.cacheable = message.cacheable; - if (message.deltaPath && message.deltaPath.length) { - object.deltaPath = []; - for (let j = 0; j < message.deltaPath.length; ++j) - object.deltaPath[j] = message.deltaPath[j]; - } - if (message.elementDimensionSpec != null && message.hasOwnProperty("elementDimensionSpec")) - object.elementDimensionSpec = $root.ElementDimensionSpec.toObject(message.elementDimensionSpec, options); - return object; - }; - - /** - * Converts this ForwardMsgMetadata to JSON. - * @function toJSON - * @memberof ForwardMsgMetadata - * @instance - * @returns {Object.} JSON object - */ - ForwardMsgMetadata.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ForwardMsgMetadata - * @function getTypeUrl - * @memberof ForwardMsgMetadata - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ForwardMsgMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ForwardMsgMetadata"; - }; - - return ForwardMsgMetadata; -})(); - -export const ElementDimensionSpec = $root.ElementDimensionSpec = (() => { - - /** - * Properties of an ElementDimensionSpec. - * @exports IElementDimensionSpec - * @interface IElementDimensionSpec - * @property {number|null} [width] ElementDimensionSpec width - * @property {number|null} [height] ElementDimensionSpec height - */ - - /** - * Constructs a new ElementDimensionSpec. - * @exports ElementDimensionSpec - * @classdesc Represents an ElementDimensionSpec. - * @implements IElementDimensionSpec - * @constructor - * @param {IElementDimensionSpec=} [properties] Properties to set - */ - function ElementDimensionSpec(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ElementDimensionSpec width. - * @member {number} width - * @memberof ElementDimensionSpec - * @instance - */ - ElementDimensionSpec.prototype.width = 0; - - /** - * ElementDimensionSpec height. - * @member {number} height - * @memberof ElementDimensionSpec - * @instance - */ - ElementDimensionSpec.prototype.height = 0; - - /** - * Creates a new ElementDimensionSpec instance using the specified properties. - * @function create - * @memberof ElementDimensionSpec - * @static - * @param {IElementDimensionSpec=} [properties] Properties to set - * @returns {ElementDimensionSpec} ElementDimensionSpec instance - */ - ElementDimensionSpec.create = function create(properties) { - return new ElementDimensionSpec(properties); - }; - - /** - * Encodes the specified ElementDimensionSpec message. Does not implicitly {@link ElementDimensionSpec.verify|verify} messages. - * @function encode - * @memberof ElementDimensionSpec - * @static - * @param {IElementDimensionSpec} message ElementDimensionSpec message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ElementDimensionSpec.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.width != null && Object.hasOwnProperty.call(message, "width")) - writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.width); - if (message.height != null && Object.hasOwnProperty.call(message, "height")) - writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.height); - return writer; - }; - - /** - * Encodes the specified ElementDimensionSpec message, length delimited. Does not implicitly {@link ElementDimensionSpec.verify|verify} messages. - * @function encodeDelimited - * @memberof ElementDimensionSpec - * @static - * @param {IElementDimensionSpec} message ElementDimensionSpec message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ElementDimensionSpec.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an ElementDimensionSpec message from the specified reader or buffer. - * @function decode - * @memberof ElementDimensionSpec - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ElementDimensionSpec} ElementDimensionSpec - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ElementDimensionSpec.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.ElementDimensionSpec(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.width = reader.uint32(); - break; - } - case 2: { - message.height = reader.uint32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an ElementDimensionSpec message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ElementDimensionSpec - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ElementDimensionSpec} ElementDimensionSpec - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ElementDimensionSpec.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an ElementDimensionSpec message. - * @function verify - * @memberof ElementDimensionSpec - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ElementDimensionSpec.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.width != null && message.hasOwnProperty("width")) - if (!$util.isInteger(message.width)) - return "width: integer expected"; - if (message.height != null && message.hasOwnProperty("height")) - if (!$util.isInteger(message.height)) - return "height: integer expected"; - return null; - }; - - /** - * Creates an ElementDimensionSpec message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ElementDimensionSpec - * @static - * @param {Object.} object Plain object - * @returns {ElementDimensionSpec} ElementDimensionSpec - */ - ElementDimensionSpec.fromObject = function fromObject(object) { - if (object instanceof $root.ElementDimensionSpec) - return object; - let message = new $root.ElementDimensionSpec(); - if (object.width != null) - message.width = object.width >>> 0; - if (object.height != null) - message.height = object.height >>> 0; - return message; - }; - - /** - * Creates a plain object from an ElementDimensionSpec message. Also converts values to other types if specified. - * @function toObject - * @memberof ElementDimensionSpec - * @static - * @param {ElementDimensionSpec} message ElementDimensionSpec - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ElementDimensionSpec.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.width = 0; - object.height = 0; - } - if (message.width != null && message.hasOwnProperty("width")) - object.width = message.width; - if (message.height != null && message.hasOwnProperty("height")) - object.height = message.height; - return object; - }; - - /** - * Converts this ElementDimensionSpec to JSON. - * @function toJSON - * @memberof ElementDimensionSpec - * @instance - * @returns {Object.} JSON object - */ - ElementDimensionSpec.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ElementDimensionSpec - * @function getTypeUrl - * @memberof ElementDimensionSpec - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ElementDimensionSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ElementDimensionSpec"; - }; - - return ElementDimensionSpec; -})(); - -export const GitInfo = $root.GitInfo = (() => { - - /** - * Properties of a GitInfo. - * @exports IGitInfo - * @interface IGitInfo - * @property {string|null} [repository] GitInfo repository - * @property {string|null} [branch] GitInfo branch - * @property {string|null} [module] GitInfo module - * @property {Array.|null} [untrackedFiles] GitInfo untrackedFiles - * @property {Array.|null} [uncommittedFiles] GitInfo uncommittedFiles - * @property {GitInfo.GitStates|null} [state] GitInfo state - */ - - /** - * Constructs a new GitInfo. - * @exports GitInfo - * @classdesc Represents a GitInfo. - * @implements IGitInfo - * @constructor - * @param {IGitInfo=} [properties] Properties to set - */ - function GitInfo(properties) { - this.untrackedFiles = []; - this.uncommittedFiles = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * GitInfo repository. - * @member {string} repository - * @memberof GitInfo - * @instance - */ - GitInfo.prototype.repository = ""; - - /** - * GitInfo branch. - * @member {string} branch - * @memberof GitInfo - * @instance - */ - GitInfo.prototype.branch = ""; - - /** - * GitInfo module. - * @member {string} module - * @memberof GitInfo - * @instance - */ - GitInfo.prototype.module = ""; - - /** - * GitInfo untrackedFiles. - * @member {Array.} untrackedFiles - * @memberof GitInfo - * @instance - */ - GitInfo.prototype.untrackedFiles = $util.emptyArray; - - /** - * GitInfo uncommittedFiles. - * @member {Array.} uncommittedFiles - * @memberof GitInfo - * @instance - */ - GitInfo.prototype.uncommittedFiles = $util.emptyArray; - - /** - * GitInfo state. - * @member {GitInfo.GitStates} state - * @memberof GitInfo - * @instance - */ - GitInfo.prototype.state = 0; - - /** - * Creates a new GitInfo instance using the specified properties. - * @function create - * @memberof GitInfo - * @static - * @param {IGitInfo=} [properties] Properties to set - * @returns {GitInfo} GitInfo instance - */ - GitInfo.create = function create(properties) { - return new GitInfo(properties); - }; - - /** - * Encodes the specified GitInfo message. Does not implicitly {@link GitInfo.verify|verify} messages. - * @function encode - * @memberof GitInfo - * @static - * @param {IGitInfo} message GitInfo message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - GitInfo.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.repository != null && Object.hasOwnProperty.call(message, "repository")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.repository); - if (message.branch != null && Object.hasOwnProperty.call(message, "branch")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.branch); - if (message.module != null && Object.hasOwnProperty.call(message, "module")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.module); - if (message.untrackedFiles != null && message.untrackedFiles.length) - for (let i = 0; i < message.untrackedFiles.length; ++i) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.untrackedFiles[i]); - if (message.uncommittedFiles != null && message.uncommittedFiles.length) - for (let i = 0; i < message.uncommittedFiles.length; ++i) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.uncommittedFiles[i]); - if (message.state != null && Object.hasOwnProperty.call(message, "state")) - writer.uint32(/* id 6, wireType 0 =*/48).int32(message.state); - return writer; - }; - - /** - * Encodes the specified GitInfo message, length delimited. Does not implicitly {@link GitInfo.verify|verify} messages. - * @function encodeDelimited - * @memberof GitInfo - * @static - * @param {IGitInfo} message GitInfo message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - GitInfo.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a GitInfo message from the specified reader or buffer. - * @function decode - * @memberof GitInfo - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {GitInfo} GitInfo - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - GitInfo.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.GitInfo(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.repository = reader.string(); - break; - } - case 2: { - message.branch = reader.string(); - break; - } - case 3: { - message.module = reader.string(); - break; - } - case 4: { - if (!(message.untrackedFiles && message.untrackedFiles.length)) - message.untrackedFiles = []; - message.untrackedFiles.push(reader.string()); - break; - } - case 5: { - if (!(message.uncommittedFiles && message.uncommittedFiles.length)) - message.uncommittedFiles = []; - message.uncommittedFiles.push(reader.string()); - break; - } - case 6: { - message.state = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a GitInfo message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof GitInfo - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {GitInfo} GitInfo - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - GitInfo.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a GitInfo message. - * @function verify - * @memberof GitInfo - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - GitInfo.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.repository != null && message.hasOwnProperty("repository")) - if (!$util.isString(message.repository)) - return "repository: string expected"; - if (message.branch != null && message.hasOwnProperty("branch")) - if (!$util.isString(message.branch)) - return "branch: string expected"; - if (message.module != null && message.hasOwnProperty("module")) - if (!$util.isString(message.module)) - return "module: string expected"; - if (message.untrackedFiles != null && message.hasOwnProperty("untrackedFiles")) { - if (!Array.isArray(message.untrackedFiles)) - return "untrackedFiles: array expected"; - for (let i = 0; i < message.untrackedFiles.length; ++i) - if (!$util.isString(message.untrackedFiles[i])) - return "untrackedFiles: string[] expected"; - } - if (message.uncommittedFiles != null && message.hasOwnProperty("uncommittedFiles")) { - if (!Array.isArray(message.uncommittedFiles)) - return "uncommittedFiles: array expected"; - for (let i = 0; i < message.uncommittedFiles.length; ++i) - if (!$util.isString(message.uncommittedFiles[i])) - return "uncommittedFiles: string[] expected"; - } - if (message.state != null && message.hasOwnProperty("state")) - switch (message.state) { - default: - return "state: enum value expected"; - case 0: - case 1: - case 2: - break; - } - return null; - }; - - /** - * Creates a GitInfo message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof GitInfo - * @static - * @param {Object.} object Plain object - * @returns {GitInfo} GitInfo - */ - GitInfo.fromObject = function fromObject(object) { - if (object instanceof $root.GitInfo) - return object; - let message = new $root.GitInfo(); - if (object.repository != null) - message.repository = String(object.repository); - if (object.branch != null) - message.branch = String(object.branch); - if (object.module != null) - message.module = String(object.module); - if (object.untrackedFiles) { - if (!Array.isArray(object.untrackedFiles)) - throw TypeError(".GitInfo.untrackedFiles: array expected"); - message.untrackedFiles = []; - for (let i = 0; i < object.untrackedFiles.length; ++i) - message.untrackedFiles[i] = String(object.untrackedFiles[i]); - } - if (object.uncommittedFiles) { - if (!Array.isArray(object.uncommittedFiles)) - throw TypeError(".GitInfo.uncommittedFiles: array expected"); - message.uncommittedFiles = []; - for (let i = 0; i < object.uncommittedFiles.length; ++i) - message.uncommittedFiles[i] = String(object.uncommittedFiles[i]); - } - switch (object.state) { - default: - if (typeof object.state === "number") { - message.state = object.state; - break; - } - break; - case "DEFAULT": - case 0: - message.state = 0; - break; - case "HEAD_DETACHED": - case 1: - message.state = 1; - break; - case "AHEAD_OF_REMOTE": - case 2: - message.state = 2; - break; - } - return message; - }; - - /** - * Creates a plain object from a GitInfo message. Also converts values to other types if specified. - * @function toObject - * @memberof GitInfo - * @static - * @param {GitInfo} message GitInfo - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - GitInfo.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) { - object.untrackedFiles = []; - object.uncommittedFiles = []; - } - if (options.defaults) { - object.repository = ""; - object.branch = ""; - object.module = ""; - object.state = options.enums === String ? "DEFAULT" : 0; - } - if (message.repository != null && message.hasOwnProperty("repository")) - object.repository = message.repository; - if (message.branch != null && message.hasOwnProperty("branch")) - object.branch = message.branch; - if (message.module != null && message.hasOwnProperty("module")) - object.module = message.module; - if (message.untrackedFiles && message.untrackedFiles.length) { - object.untrackedFiles = []; - for (let j = 0; j < message.untrackedFiles.length; ++j) - object.untrackedFiles[j] = message.untrackedFiles[j]; - } - if (message.uncommittedFiles && message.uncommittedFiles.length) { - object.uncommittedFiles = []; - for (let j = 0; j < message.uncommittedFiles.length; ++j) - object.uncommittedFiles[j] = message.uncommittedFiles[j]; - } - if (message.state != null && message.hasOwnProperty("state")) - object.state = options.enums === String ? $root.GitInfo.GitStates[message.state] === undefined ? message.state : $root.GitInfo.GitStates[message.state] : message.state; - return object; - }; - - /** - * Converts this GitInfo to JSON. - * @function toJSON - * @memberof GitInfo - * @instance - * @returns {Object.} JSON object - */ - GitInfo.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for GitInfo - * @function getTypeUrl - * @memberof GitInfo - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - GitInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/GitInfo"; - }; - - /** - * GitStates enum. - * @name GitInfo.GitStates - * @enum {number} - * @property {number} DEFAULT=0 DEFAULT value - * @property {number} HEAD_DETACHED=1 HEAD_DETACHED value - * @property {number} AHEAD_OF_REMOTE=2 AHEAD_OF_REMOTE value - */ - GitInfo.GitStates = (function() { - const valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "DEFAULT"] = 0; - values[valuesById[1] = "HEAD_DETACHED"] = 1; - values[valuesById[2] = "AHEAD_OF_REMOTE"] = 2; - return values; - })(); - - return GitInfo; -})(); - -export const GraphVizChart = $root.GraphVizChart = (() => { - - /** - * Properties of a GraphVizChart. - * @exports IGraphVizChart - * @interface IGraphVizChart - * @property {string|null} [spec] GraphVizChart spec - * @property {boolean|null} [useContainerWidth] GraphVizChart useContainerWidth - * @property {string|null} [elementId] GraphVizChart elementId - */ - - /** - * Constructs a new GraphVizChart. - * @exports GraphVizChart - * @classdesc Represents a GraphVizChart. - * @implements IGraphVizChart - * @constructor - * @param {IGraphVizChart=} [properties] Properties to set - */ - function GraphVizChart(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * GraphVizChart spec. - * @member {string} spec - * @memberof GraphVizChart - * @instance - */ - GraphVizChart.prototype.spec = ""; - - /** - * GraphVizChart useContainerWidth. - * @member {boolean} useContainerWidth - * @memberof GraphVizChart - * @instance - */ - GraphVizChart.prototype.useContainerWidth = false; - - /** - * GraphVizChart elementId. - * @member {string} elementId - * @memberof GraphVizChart - * @instance - */ - GraphVizChart.prototype.elementId = ""; - - /** - * Creates a new GraphVizChart instance using the specified properties. - * @function create - * @memberof GraphVizChart - * @static - * @param {IGraphVizChart=} [properties] Properties to set - * @returns {GraphVizChart} GraphVizChart instance - */ - GraphVizChart.create = function create(properties) { - return new GraphVizChart(properties); - }; - - /** - * Encodes the specified GraphVizChart message. Does not implicitly {@link GraphVizChart.verify|verify} messages. - * @function encode - * @memberof GraphVizChart - * @static - * @param {IGraphVizChart} message GraphVizChart message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - GraphVizChart.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.spec != null && Object.hasOwnProperty.call(message, "spec")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.spec); - if (message.useContainerWidth != null && Object.hasOwnProperty.call(message, "useContainerWidth")) - writer.uint32(/* id 4, wireType 0 =*/32).bool(message.useContainerWidth); - if (message.elementId != null && Object.hasOwnProperty.call(message, "elementId")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.elementId); - return writer; - }; - - /** - * Encodes the specified GraphVizChart message, length delimited. Does not implicitly {@link GraphVizChart.verify|verify} messages. - * @function encodeDelimited - * @memberof GraphVizChart - * @static - * @param {IGraphVizChart} message GraphVizChart message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - GraphVizChart.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a GraphVizChart message from the specified reader or buffer. - * @function decode - * @memberof GraphVizChart - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {GraphVizChart} GraphVizChart - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - GraphVizChart.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.GraphVizChart(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.spec = reader.string(); - break; - } - case 4: { - message.useContainerWidth = reader.bool(); - break; - } - case 5: { - message.elementId = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a GraphVizChart message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof GraphVizChart - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {GraphVizChart} GraphVizChart - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - GraphVizChart.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a GraphVizChart message. - * @function verify - * @memberof GraphVizChart - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - GraphVizChart.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.spec != null && message.hasOwnProperty("spec")) - if (!$util.isString(message.spec)) - return "spec: string expected"; - if (message.useContainerWidth != null && message.hasOwnProperty("useContainerWidth")) - if (typeof message.useContainerWidth !== "boolean") - return "useContainerWidth: boolean expected"; - if (message.elementId != null && message.hasOwnProperty("elementId")) - if (!$util.isString(message.elementId)) - return "elementId: string expected"; - return null; - }; - - /** - * Creates a GraphVizChart message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof GraphVizChart - * @static - * @param {Object.} object Plain object - * @returns {GraphVizChart} GraphVizChart - */ - GraphVizChart.fromObject = function fromObject(object) { - if (object instanceof $root.GraphVizChart) - return object; - let message = new $root.GraphVizChart(); - if (object.spec != null) - message.spec = String(object.spec); - if (object.useContainerWidth != null) - message.useContainerWidth = Boolean(object.useContainerWidth); - if (object.elementId != null) - message.elementId = String(object.elementId); - return message; - }; - - /** - * Creates a plain object from a GraphVizChart message. Also converts values to other types if specified. - * @function toObject - * @memberof GraphVizChart - * @static - * @param {GraphVizChart} message GraphVizChart - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - GraphVizChart.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.spec = ""; - object.useContainerWidth = false; - object.elementId = ""; - } - if (message.spec != null && message.hasOwnProperty("spec")) - object.spec = message.spec; - if (message.useContainerWidth != null && message.hasOwnProperty("useContainerWidth")) - object.useContainerWidth = message.useContainerWidth; - if (message.elementId != null && message.hasOwnProperty("elementId")) - object.elementId = message.elementId; - return object; - }; - - /** - * Converts this GraphVizChart to JSON. - * @function toJSON - * @memberof GraphVizChart - * @instance - * @returns {Object.} JSON object - */ - GraphVizChart.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for GraphVizChart - * @function getTypeUrl - * @memberof GraphVizChart - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - GraphVizChart.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/GraphVizChart"; - }; - - return GraphVizChart; -})(); - -export const Heading = $root.Heading = (() => { - - /** - * Properties of a Heading. - * @exports IHeading - * @interface IHeading - * @property {string|null} [tag] Heading tag - * @property {string|null} [anchor] Heading anchor - * @property {string|null} [body] Heading body - * @property {string|null} [help] Heading help - * @property {boolean|null} [hideAnchor] Heading hideAnchor - */ - - /** - * Constructs a new Heading. - * @exports Heading - * @classdesc Represents a Heading. - * @implements IHeading - * @constructor - * @param {IHeading=} [properties] Properties to set - */ - function Heading(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Heading tag. - * @member {string} tag - * @memberof Heading - * @instance - */ - Heading.prototype.tag = ""; - - /** - * Heading anchor. - * @member {string} anchor - * @memberof Heading - * @instance - */ - Heading.prototype.anchor = ""; - - /** - * Heading body. - * @member {string} body - * @memberof Heading - * @instance - */ - Heading.prototype.body = ""; - - /** - * Heading help. - * @member {string} help - * @memberof Heading - * @instance - */ - Heading.prototype.help = ""; - - /** - * Heading hideAnchor. - * @member {boolean} hideAnchor - * @memberof Heading - * @instance - */ - Heading.prototype.hideAnchor = false; - - /** - * Creates a new Heading instance using the specified properties. - * @function create - * @memberof Heading - * @static - * @param {IHeading=} [properties] Properties to set - * @returns {Heading} Heading instance - */ - Heading.create = function create(properties) { - return new Heading(properties); - }; - - /** - * Encodes the specified Heading message. Does not implicitly {@link Heading.verify|verify} messages. - * @function encode - * @memberof Heading - * @static - * @param {IHeading} message Heading message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Heading.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.tag != null && Object.hasOwnProperty.call(message, "tag")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.tag); - if (message.anchor != null && Object.hasOwnProperty.call(message, "anchor")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.anchor); - if (message.body != null && Object.hasOwnProperty.call(message, "body")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.body); - if (message.help != null && Object.hasOwnProperty.call(message, "help")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.help); - if (message.hideAnchor != null && Object.hasOwnProperty.call(message, "hideAnchor")) - writer.uint32(/* id 5, wireType 0 =*/40).bool(message.hideAnchor); - return writer; - }; - - /** - * Encodes the specified Heading message, length delimited. Does not implicitly {@link Heading.verify|verify} messages. - * @function encodeDelimited - * @memberof Heading - * @static - * @param {IHeading} message Heading message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Heading.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Heading message from the specified reader or buffer. - * @function decode - * @memberof Heading - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Heading} Heading - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Heading.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Heading(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.tag = reader.string(); - break; - } - case 2: { - message.anchor = reader.string(); - break; - } - case 3: { - message.body = reader.string(); - break; - } - case 4: { - message.help = reader.string(); - break; - } - case 5: { - message.hideAnchor = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Heading message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Heading - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Heading} Heading - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Heading.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Heading message. - * @function verify - * @memberof Heading - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Heading.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.tag != null && message.hasOwnProperty("tag")) - if (!$util.isString(message.tag)) - return "tag: string expected"; - if (message.anchor != null && message.hasOwnProperty("anchor")) - if (!$util.isString(message.anchor)) - return "anchor: string expected"; - if (message.body != null && message.hasOwnProperty("body")) - if (!$util.isString(message.body)) - return "body: string expected"; - if (message.help != null && message.hasOwnProperty("help")) - if (!$util.isString(message.help)) - return "help: string expected"; - if (message.hideAnchor != null && message.hasOwnProperty("hideAnchor")) - if (typeof message.hideAnchor !== "boolean") - return "hideAnchor: boolean expected"; - return null; - }; - - /** - * Creates a Heading message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Heading - * @static - * @param {Object.} object Plain object - * @returns {Heading} Heading - */ - Heading.fromObject = function fromObject(object) { - if (object instanceof $root.Heading) - return object; - let message = new $root.Heading(); - if (object.tag != null) - message.tag = String(object.tag); - if (object.anchor != null) - message.anchor = String(object.anchor); - if (object.body != null) - message.body = String(object.body); - if (object.help != null) - message.help = String(object.help); - if (object.hideAnchor != null) - message.hideAnchor = Boolean(object.hideAnchor); - return message; - }; - - /** - * Creates a plain object from a Heading message. Also converts values to other types if specified. - * @function toObject - * @memberof Heading - * @static - * @param {Heading} message Heading - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Heading.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.tag = ""; - object.anchor = ""; - object.body = ""; - object.help = ""; - object.hideAnchor = false; - } - if (message.tag != null && message.hasOwnProperty("tag")) - object.tag = message.tag; - if (message.anchor != null && message.hasOwnProperty("anchor")) - object.anchor = message.anchor; - if (message.body != null && message.hasOwnProperty("body")) - object.body = message.body; - if (message.help != null && message.hasOwnProperty("help")) - object.help = message.help; - if (message.hideAnchor != null && message.hasOwnProperty("hideAnchor")) - object.hideAnchor = message.hideAnchor; - return object; - }; - - /** - * Converts this Heading to JSON. - * @function toJSON - * @memberof Heading - * @instance - * @returns {Object.} JSON object - */ - Heading.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Heading - * @function getTypeUrl - * @memberof Heading - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Heading.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Heading"; - }; - - return Heading; -})(); - -export const IFrame = $root.IFrame = (() => { - - /** - * Properties of a IFrame. - * @exports IIFrame - * @interface IIFrame - * @property {string|null} [src] IFrame src - * @property {string|null} [srcdoc] IFrame srcdoc - * @property {number|null} [width] IFrame width - * @property {boolean|null} [hasWidth] IFrame hasWidth - * @property {number|null} [height] IFrame height - * @property {boolean|null} [scrolling] IFrame scrolling - */ - - /** - * Constructs a new IFrame. - * @exports IFrame - * @classdesc Represents a IFrame. - * @implements IIFrame - * @constructor - * @param {IIFrame=} [properties] Properties to set - */ - function IFrame(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * IFrame src. - * @member {string|null|undefined} src - * @memberof IFrame - * @instance - */ - IFrame.prototype.src = null; - - /** - * IFrame srcdoc. - * @member {string|null|undefined} srcdoc - * @memberof IFrame - * @instance - */ - IFrame.prototype.srcdoc = null; - - /** - * IFrame width. - * @member {number} width - * @memberof IFrame - * @instance - */ - IFrame.prototype.width = 0; - - /** - * IFrame hasWidth. - * @member {boolean} hasWidth - * @memberof IFrame - * @instance - */ - IFrame.prototype.hasWidth = false; - - /** - * IFrame height. - * @member {number} height - * @memberof IFrame - * @instance - */ - IFrame.prototype.height = 0; - - /** - * IFrame scrolling. - * @member {boolean} scrolling - * @memberof IFrame - * @instance - */ - IFrame.prototype.scrolling = false; - - // OneOf field names bound to virtual getters and setters - let $oneOfFields; - - /** - * IFrame type. - * @member {"src"|"srcdoc"|undefined} type - * @memberof IFrame - * @instance - */ - Object.defineProperty(IFrame.prototype, "type", { - get: $util.oneOfGetter($oneOfFields = ["src", "srcdoc"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new IFrame instance using the specified properties. - * @function create - * @memberof IFrame - * @static - * @param {IIFrame=} [properties] Properties to set - * @returns {IFrame} IFrame instance - */ - IFrame.create = function create(properties) { - return new IFrame(properties); - }; - - /** - * Encodes the specified IFrame message. Does not implicitly {@link IFrame.verify|verify} messages. - * @function encode - * @memberof IFrame - * @static - * @param {IIFrame} message IFrame message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - IFrame.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.src != null && Object.hasOwnProperty.call(message, "src")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.src); - if (message.srcdoc != null && Object.hasOwnProperty.call(message, "srcdoc")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.srcdoc); - if (message.width != null && Object.hasOwnProperty.call(message, "width")) - writer.uint32(/* id 3, wireType 5 =*/29).float(message.width); - if (message.hasWidth != null && Object.hasOwnProperty.call(message, "hasWidth")) - writer.uint32(/* id 4, wireType 0 =*/32).bool(message.hasWidth); - if (message.height != null && Object.hasOwnProperty.call(message, "height")) - writer.uint32(/* id 5, wireType 5 =*/45).float(message.height); - if (message.scrolling != null && Object.hasOwnProperty.call(message, "scrolling")) - writer.uint32(/* id 7, wireType 0 =*/56).bool(message.scrolling); - return writer; - }; - - /** - * Encodes the specified IFrame message, length delimited. Does not implicitly {@link IFrame.verify|verify} messages. - * @function encodeDelimited - * @memberof IFrame - * @static - * @param {IIFrame} message IFrame message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - IFrame.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a IFrame message from the specified reader or buffer. - * @function decode - * @memberof IFrame - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {IFrame} IFrame - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - IFrame.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.IFrame(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.src = reader.string(); - break; - } - case 2: { - message.srcdoc = reader.string(); - break; - } - case 3: { - message.width = reader.float(); - break; - } - case 4: { - message.hasWidth = reader.bool(); - break; - } - case 5: { - message.height = reader.float(); - break; - } - case 7: { - message.scrolling = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a IFrame message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof IFrame - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {IFrame} IFrame - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - IFrame.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a IFrame message. - * @function verify - * @memberof IFrame - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - IFrame.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - let properties = {}; - if (message.src != null && message.hasOwnProperty("src")) { - properties.type = 1; - if (!$util.isString(message.src)) - return "src: string expected"; - } - if (message.srcdoc != null && message.hasOwnProperty("srcdoc")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - if (!$util.isString(message.srcdoc)) - return "srcdoc: string expected"; - } - if (message.width != null && message.hasOwnProperty("width")) - if (typeof message.width !== "number") - return "width: number expected"; - if (message.hasWidth != null && message.hasOwnProperty("hasWidth")) - if (typeof message.hasWidth !== "boolean") - return "hasWidth: boolean expected"; - if (message.height != null && message.hasOwnProperty("height")) - if (typeof message.height !== "number") - return "height: number expected"; - if (message.scrolling != null && message.hasOwnProperty("scrolling")) - if (typeof message.scrolling !== "boolean") - return "scrolling: boolean expected"; - return null; - }; - - /** - * Creates a IFrame message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof IFrame - * @static - * @param {Object.} object Plain object - * @returns {IFrame} IFrame - */ - IFrame.fromObject = function fromObject(object) { - if (object instanceof $root.IFrame) - return object; - let message = new $root.IFrame(); - if (object.src != null) - message.src = String(object.src); - if (object.srcdoc != null) - message.srcdoc = String(object.srcdoc); - if (object.width != null) - message.width = Number(object.width); - if (object.hasWidth != null) - message.hasWidth = Boolean(object.hasWidth); - if (object.height != null) - message.height = Number(object.height); - if (object.scrolling != null) - message.scrolling = Boolean(object.scrolling); - return message; - }; - - /** - * Creates a plain object from a IFrame message. Also converts values to other types if specified. - * @function toObject - * @memberof IFrame - * @static - * @param {IFrame} message IFrame - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - IFrame.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.width = 0; - object.hasWidth = false; - object.height = 0; - object.scrolling = false; - } - if (message.src != null && message.hasOwnProperty("src")) { - object.src = message.src; - if (options.oneofs) - object.type = "src"; - } - if (message.srcdoc != null && message.hasOwnProperty("srcdoc")) { - object.srcdoc = message.srcdoc; - if (options.oneofs) - object.type = "srcdoc"; - } - if (message.width != null && message.hasOwnProperty("width")) - object.width = options.json && !isFinite(message.width) ? String(message.width) : message.width; - if (message.hasWidth != null && message.hasOwnProperty("hasWidth")) - object.hasWidth = message.hasWidth; - if (message.height != null && message.hasOwnProperty("height")) - object.height = options.json && !isFinite(message.height) ? String(message.height) : message.height; - if (message.scrolling != null && message.hasOwnProperty("scrolling")) - object.scrolling = message.scrolling; - return object; - }; - - /** - * Converts this IFrame to JSON. - * @function toJSON - * @memberof IFrame - * @instance - * @returns {Object.} JSON object - */ - IFrame.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for IFrame - * @function getTypeUrl - * @memberof IFrame - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - IFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/IFrame"; - }; - - return IFrame; -})(); - -export const Image = $root.Image = (() => { - - /** - * Properties of an Image. - * @exports IImage - * @interface IImage - * @property {string|null} [markup] Image markup - * @property {string|null} [url] Image url - * @property {string|null} [caption] Image caption - */ - - /** - * Constructs a new Image. - * @exports Image - * @classdesc Represents an Image. - * @implements IImage - * @constructor - * @param {IImage=} [properties] Properties to set - */ - function Image(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Image markup. - * @member {string} markup - * @memberof Image - * @instance - */ - Image.prototype.markup = ""; - - /** - * Image url. - * @member {string} url - * @memberof Image - * @instance - */ - Image.prototype.url = ""; - - /** - * Image caption. - * @member {string} caption - * @memberof Image - * @instance - */ - Image.prototype.caption = ""; - - /** - * Creates a new Image instance using the specified properties. - * @function create - * @memberof Image - * @static - * @param {IImage=} [properties] Properties to set - * @returns {Image} Image instance - */ - Image.create = function create(properties) { - return new Image(properties); - }; - - /** - * Encodes the specified Image message. Does not implicitly {@link Image.verify|verify} messages. - * @function encode - * @memberof Image - * @static - * @param {IImage} message Image message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Image.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.caption != null && Object.hasOwnProperty.call(message, "caption")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.caption); - if (message.url != null && Object.hasOwnProperty.call(message, "url")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.url); - if (message.markup != null && Object.hasOwnProperty.call(message, "markup")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.markup); - return writer; - }; - - /** - * Encodes the specified Image message, length delimited. Does not implicitly {@link Image.verify|verify} messages. - * @function encodeDelimited - * @memberof Image - * @static - * @param {IImage} message Image message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Image.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an Image message from the specified reader or buffer. - * @function decode - * @memberof Image - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Image} Image - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Image.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Image(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 4: { - message.markup = reader.string(); - break; - } - case 3: { - message.url = reader.string(); - break; - } - case 2: { - message.caption = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an Image message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Image - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Image} Image - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Image.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an Image message. - * @function verify - * @memberof Image - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Image.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.markup != null && message.hasOwnProperty("markup")) - if (!$util.isString(message.markup)) - return "markup: string expected"; - if (message.url != null && message.hasOwnProperty("url")) - if (!$util.isString(message.url)) - return "url: string expected"; - if (message.caption != null && message.hasOwnProperty("caption")) - if (!$util.isString(message.caption)) - return "caption: string expected"; - return null; - }; - - /** - * Creates an Image message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Image - * @static - * @param {Object.} object Plain object - * @returns {Image} Image - */ - Image.fromObject = function fromObject(object) { - if (object instanceof $root.Image) - return object; - let message = new $root.Image(); - if (object.markup != null) - message.markup = String(object.markup); - if (object.url != null) - message.url = String(object.url); - if (object.caption != null) - message.caption = String(object.caption); - return message; - }; - - /** - * Creates a plain object from an Image message. Also converts values to other types if specified. - * @function toObject - * @memberof Image - * @static - * @param {Image} message Image - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Image.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.caption = ""; - object.url = ""; - object.markup = ""; - } - if (message.caption != null && message.hasOwnProperty("caption")) - object.caption = message.caption; - if (message.url != null && message.hasOwnProperty("url")) - object.url = message.url; - if (message.markup != null && message.hasOwnProperty("markup")) - object.markup = message.markup; - return object; - }; - - /** - * Converts this Image to JSON. - * @function toJSON - * @memberof Image - * @instance - * @returns {Object.} JSON object - */ - Image.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Image - * @function getTypeUrl - * @memberof Image - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Image.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Image"; - }; - - return Image; -})(); - -export const ImageList = $root.ImageList = (() => { - - /** - * Properties of an ImageList. - * @exports IImageList - * @interface IImageList - * @property {Array.|null} [imgs] ImageList imgs - * @property {number|null} [width] ImageList width - */ - - /** - * Constructs a new ImageList. - * @exports ImageList - * @classdesc Represents an ImageList. - * @implements IImageList - * @constructor - * @param {IImageList=} [properties] Properties to set - */ - function ImageList(properties) { - this.imgs = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ImageList imgs. - * @member {Array.} imgs - * @memberof ImageList - * @instance - */ - ImageList.prototype.imgs = $util.emptyArray; - - /** - * ImageList width. - * @member {number} width - * @memberof ImageList - * @instance - */ - ImageList.prototype.width = 0; - - /** - * Creates a new ImageList instance using the specified properties. - * @function create - * @memberof ImageList - * @static - * @param {IImageList=} [properties] Properties to set - * @returns {ImageList} ImageList instance - */ - ImageList.create = function create(properties) { - return new ImageList(properties); - }; - - /** - * Encodes the specified ImageList message. Does not implicitly {@link ImageList.verify|verify} messages. - * @function encode - * @memberof ImageList - * @static - * @param {IImageList} message ImageList message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ImageList.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.imgs != null && message.imgs.length) - for (let i = 0; i < message.imgs.length; ++i) - $root.Image.encode(message.imgs[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.width != null && Object.hasOwnProperty.call(message, "width")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.width); - return writer; - }; - - /** - * Encodes the specified ImageList message, length delimited. Does not implicitly {@link ImageList.verify|verify} messages. - * @function encodeDelimited - * @memberof ImageList - * @static - * @param {IImageList} message ImageList message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ImageList.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an ImageList message from the specified reader or buffer. - * @function decode - * @memberof ImageList - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {ImageList} ImageList - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ImageList.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.ImageList(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message.imgs && message.imgs.length)) - message.imgs = []; - message.imgs.push($root.Image.decode(reader, reader.uint32())); - break; - } - case 2: { - message.width = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an ImageList message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof ImageList - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ImageList} ImageList - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ImageList.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an ImageList message. - * @function verify - * @memberof ImageList - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ImageList.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.imgs != null && message.hasOwnProperty("imgs")) { - if (!Array.isArray(message.imgs)) - return "imgs: array expected"; - for (let i = 0; i < message.imgs.length; ++i) { - let error = $root.Image.verify(message.imgs[i]); - if (error) - return "imgs." + error; - } - } - if (message.width != null && message.hasOwnProperty("width")) - if (!$util.isInteger(message.width)) - return "width: integer expected"; - return null; - }; - - /** - * Creates an ImageList message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof ImageList - * @static - * @param {Object.} object Plain object - * @returns {ImageList} ImageList - */ - ImageList.fromObject = function fromObject(object) { - if (object instanceof $root.ImageList) - return object; - let message = new $root.ImageList(); - if (object.imgs) { - if (!Array.isArray(object.imgs)) - throw TypeError(".ImageList.imgs: array expected"); - message.imgs = []; - for (let i = 0; i < object.imgs.length; ++i) { - if (typeof object.imgs[i] !== "object") - throw TypeError(".ImageList.imgs: object expected"); - message.imgs[i] = $root.Image.fromObject(object.imgs[i]); - } - } - if (object.width != null) - message.width = object.width | 0; - return message; - }; - - /** - * Creates a plain object from an ImageList message. Also converts values to other types if specified. - * @function toObject - * @memberof ImageList - * @static - * @param {ImageList} message ImageList - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ImageList.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.imgs = []; - if (options.defaults) - object.width = 0; - if (message.imgs && message.imgs.length) { - object.imgs = []; - for (let j = 0; j < message.imgs.length; ++j) - object.imgs[j] = $root.Image.toObject(message.imgs[j], options); - } - if (message.width != null && message.hasOwnProperty("width")) - object.width = message.width; - return object; - }; - - /** - * Converts this ImageList to JSON. - * @function toJSON - * @memberof ImageList - * @instance - * @returns {Object.} JSON object - */ - ImageList.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ImageList - * @function getTypeUrl - * @memberof ImageList - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ImageList.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/ImageList"; - }; - - return ImageList; -})(); - -export const Json = $root.Json = (() => { - - /** - * Properties of a Json. - * @exports IJson - * @interface IJson - * @property {string|null} [body] Json body - * @property {boolean|null} [expanded] Json expanded - */ - - /** - * Constructs a new Json. - * @exports Json - * @classdesc Represents a Json. - * @implements IJson - * @constructor - * @param {IJson=} [properties] Properties to set - */ - function Json(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Json body. - * @member {string} body - * @memberof Json - * @instance - */ - Json.prototype.body = ""; - - /** - * Json expanded. - * @member {boolean} expanded - * @memberof Json - * @instance - */ - Json.prototype.expanded = false; - - /** - * Creates a new Json instance using the specified properties. - * @function create - * @memberof Json - * @static - * @param {IJson=} [properties] Properties to set - * @returns {Json} Json instance - */ - Json.create = function create(properties) { - return new Json(properties); - }; - - /** - * Encodes the specified Json message. Does not implicitly {@link Json.verify|verify} messages. - * @function encode - * @memberof Json - * @static - * @param {IJson} message Json message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Json.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.body != null && Object.hasOwnProperty.call(message, "body")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.body); - if (message.expanded != null && Object.hasOwnProperty.call(message, "expanded")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.expanded); - return writer; - }; - - /** - * Encodes the specified Json message, length delimited. Does not implicitly {@link Json.verify|verify} messages. - * @function encodeDelimited - * @memberof Json - * @static - * @param {IJson} message Json message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Json.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Json message from the specified reader or buffer. - * @function decode - * @memberof Json - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Json} Json - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Json.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Json(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.body = reader.string(); - break; - } - case 2: { - message.expanded = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Json message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Json - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Json} Json - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Json.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Json message. - * @function verify - * @memberof Json - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Json.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.body != null && message.hasOwnProperty("body")) - if (!$util.isString(message.body)) - return "body: string expected"; - if (message.expanded != null && message.hasOwnProperty("expanded")) - if (typeof message.expanded !== "boolean") - return "expanded: boolean expected"; - return null; - }; - - /** - * Creates a Json message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Json - * @static - * @param {Object.} object Plain object - * @returns {Json} Json - */ - Json.fromObject = function fromObject(object) { - if (object instanceof $root.Json) - return object; - let message = new $root.Json(); - if (object.body != null) - message.body = String(object.body); - if (object.expanded != null) - message.expanded = Boolean(object.expanded); - return message; - }; - - /** - * Creates a plain object from a Json message. Also converts values to other types if specified. - * @function toObject - * @memberof Json - * @static - * @param {Json} message Json - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Json.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.body = ""; - object.expanded = false; - } - if (message.body != null && message.hasOwnProperty("body")) - object.body = message.body; - if (message.expanded != null && message.hasOwnProperty("expanded")) - object.expanded = message.expanded; - return object; - }; - - /** - * Converts this Json to JSON. - * @function toJSON - * @memberof Json - * @instance - * @returns {Object.} JSON object - */ - Json.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Json - * @function getTypeUrl - * @memberof Json - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Json.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Json"; - }; - - return Json; -})(); - -export const LabelVisibilityMessage = $root.LabelVisibilityMessage = (() => { - - /** - * Properties of a LabelVisibilityMessage. - * @exports ILabelVisibilityMessage - * @interface ILabelVisibilityMessage - * @property {LabelVisibilityMessage.LabelVisibilityOptions|null} [value] LabelVisibilityMessage value - */ - - /** - * Constructs a new LabelVisibilityMessage. - * @exports LabelVisibilityMessage - * @classdesc Represents a LabelVisibilityMessage. - * @implements ILabelVisibilityMessage - * @constructor - * @param {ILabelVisibilityMessage=} [properties] Properties to set - */ - function LabelVisibilityMessage(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * LabelVisibilityMessage value. - * @member {LabelVisibilityMessage.LabelVisibilityOptions} value - * @memberof LabelVisibilityMessage - * @instance - */ - LabelVisibilityMessage.prototype.value = 0; - - /** - * Creates a new LabelVisibilityMessage instance using the specified properties. - * @function create - * @memberof LabelVisibilityMessage - * @static - * @param {ILabelVisibilityMessage=} [properties] Properties to set - * @returns {LabelVisibilityMessage} LabelVisibilityMessage instance - */ - LabelVisibilityMessage.create = function create(properties) { - return new LabelVisibilityMessage(properties); - }; - - /** - * Encodes the specified LabelVisibilityMessage message. Does not implicitly {@link LabelVisibilityMessage.verify|verify} messages. - * @function encode - * @memberof LabelVisibilityMessage - * @static - * @param {ILabelVisibilityMessage} message LabelVisibilityMessage message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - LabelVisibilityMessage.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.value); - return writer; - }; - - /** - * Encodes the specified LabelVisibilityMessage message, length delimited. Does not implicitly {@link LabelVisibilityMessage.verify|verify} messages. - * @function encodeDelimited - * @memberof LabelVisibilityMessage - * @static - * @param {ILabelVisibilityMessage} message LabelVisibilityMessage message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - LabelVisibilityMessage.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a LabelVisibilityMessage message from the specified reader or buffer. - * @function decode - * @memberof LabelVisibilityMessage - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {LabelVisibilityMessage} LabelVisibilityMessage - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - LabelVisibilityMessage.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.LabelVisibilityMessage(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.value = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a LabelVisibilityMessage message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof LabelVisibilityMessage - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {LabelVisibilityMessage} LabelVisibilityMessage - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - LabelVisibilityMessage.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a LabelVisibilityMessage message. - * @function verify - * @memberof LabelVisibilityMessage - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - LabelVisibilityMessage.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) - switch (message.value) { - default: - return "value: enum value expected"; - case 0: - case 1: - case 2: - break; - } - return null; - }; - - /** - * Creates a LabelVisibilityMessage message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof LabelVisibilityMessage - * @static - * @param {Object.} object Plain object - * @returns {LabelVisibilityMessage} LabelVisibilityMessage - */ - LabelVisibilityMessage.fromObject = function fromObject(object) { - if (object instanceof $root.LabelVisibilityMessage) - return object; - let message = new $root.LabelVisibilityMessage(); - switch (object.value) { - default: - if (typeof object.value === "number") { - message.value = object.value; - break; - } - break; - case "VISIBLE": - case 0: - message.value = 0; - break; - case "HIDDEN": - case 1: - message.value = 1; - break; - case "COLLAPSED": - case 2: - message.value = 2; - break; - } - return message; - }; - - /** - * Creates a plain object from a LabelVisibilityMessage message. Also converts values to other types if specified. - * @function toObject - * @memberof LabelVisibilityMessage - * @static - * @param {LabelVisibilityMessage} message LabelVisibilityMessage - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - LabelVisibilityMessage.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) - object.value = options.enums === String ? "VISIBLE" : 0; - if (message.value != null && message.hasOwnProperty("value")) - object.value = options.enums === String ? $root.LabelVisibilityMessage.LabelVisibilityOptions[message.value] === undefined ? message.value : $root.LabelVisibilityMessage.LabelVisibilityOptions[message.value] : message.value; - return object; - }; - - /** - * Converts this LabelVisibilityMessage to JSON. - * @function toJSON - * @memberof LabelVisibilityMessage - * @instance - * @returns {Object.} JSON object - */ - LabelVisibilityMessage.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for LabelVisibilityMessage - * @function getTypeUrl - * @memberof LabelVisibilityMessage - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - LabelVisibilityMessage.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/LabelVisibilityMessage"; - }; - - /** - * LabelVisibilityOptions enum. - * @name LabelVisibilityMessage.LabelVisibilityOptions - * @enum {number} - * @property {number} VISIBLE=0 VISIBLE value - * @property {number} HIDDEN=1 HIDDEN value - * @property {number} COLLAPSED=2 COLLAPSED value - */ - LabelVisibilityMessage.LabelVisibilityOptions = (function() { - const valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "VISIBLE"] = 0; - values[valuesById[1] = "HIDDEN"] = 1; - values[valuesById[2] = "COLLAPSED"] = 2; - return values; - })(); - - return LabelVisibilityMessage; -})(); - -export const Markdown = $root.Markdown = (() => { - - /** - * Properties of a Markdown. - * @exports IMarkdown - * @interface IMarkdown - * @property {string|null} [body] Markdown body - * @property {boolean|null} [allowHtml] Markdown allowHtml - * @property {boolean|null} [isCaption] Markdown isCaption - * @property {Markdown.Type|null} [elementType] Markdown elementType - * @property {string|null} [help] Markdown help - */ - - /** - * Constructs a new Markdown. - * @exports Markdown - * @classdesc Represents a Markdown. - * @implements IMarkdown - * @constructor - * @param {IMarkdown=} [properties] Properties to set - */ - function Markdown(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Markdown body. - * @member {string} body - * @memberof Markdown - * @instance - */ - Markdown.prototype.body = ""; - - /** - * Markdown allowHtml. - * @member {boolean} allowHtml - * @memberof Markdown - * @instance - */ - Markdown.prototype.allowHtml = false; - - /** - * Markdown isCaption. - * @member {boolean} isCaption - * @memberof Markdown - * @instance - */ - Markdown.prototype.isCaption = false; - - /** - * Markdown elementType. - * @member {Markdown.Type} elementType - * @memberof Markdown - * @instance - */ - Markdown.prototype.elementType = 0; - - /** - * Markdown help. - * @member {string} help - * @memberof Markdown - * @instance - */ - Markdown.prototype.help = ""; - - /** - * Creates a new Markdown instance using the specified properties. - * @function create - * @memberof Markdown - * @static - * @param {IMarkdown=} [properties] Properties to set - * @returns {Markdown} Markdown instance - */ - Markdown.create = function create(properties) { - return new Markdown(properties); - }; - - /** - * Encodes the specified Markdown message. Does not implicitly {@link Markdown.verify|verify} messages. - * @function encode - * @memberof Markdown - * @static - * @param {IMarkdown} message Markdown message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Markdown.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.body != null && Object.hasOwnProperty.call(message, "body")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.body); - if (message.allowHtml != null && Object.hasOwnProperty.call(message, "allowHtml")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.allowHtml); - if (message.isCaption != null && Object.hasOwnProperty.call(message, "isCaption")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.isCaption); - if (message.elementType != null && Object.hasOwnProperty.call(message, "elementType")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.elementType); - if (message.help != null && Object.hasOwnProperty.call(message, "help")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.help); - return writer; - }; - - /** - * Encodes the specified Markdown message, length delimited. Does not implicitly {@link Markdown.verify|verify} messages. - * @function encodeDelimited - * @memberof Markdown - * @static - * @param {IMarkdown} message Markdown message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Markdown.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Markdown message from the specified reader or buffer. - * @function decode - * @memberof Markdown - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Markdown} Markdown - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Markdown.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Markdown(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.body = reader.string(); - break; - } - case 2: { - message.allowHtml = reader.bool(); - break; - } - case 3: { - message.isCaption = reader.bool(); - break; - } - case 4: { - message.elementType = reader.int32(); - break; - } - case 5: { - message.help = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Markdown message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Markdown - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Markdown} Markdown - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Markdown.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Markdown message. - * @function verify - * @memberof Markdown - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Markdown.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.body != null && message.hasOwnProperty("body")) - if (!$util.isString(message.body)) - return "body: string expected"; - if (message.allowHtml != null && message.hasOwnProperty("allowHtml")) - if (typeof message.allowHtml !== "boolean") - return "allowHtml: boolean expected"; - if (message.isCaption != null && message.hasOwnProperty("isCaption")) - if (typeof message.isCaption !== "boolean") - return "isCaption: boolean expected"; - if (message.elementType != null && message.hasOwnProperty("elementType")) - switch (message.elementType) { - default: - return "elementType: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - break; - } - if (message.help != null && message.hasOwnProperty("help")) - if (!$util.isString(message.help)) - return "help: string expected"; - return null; - }; - - /** - * Creates a Markdown message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Markdown - * @static - * @param {Object.} object Plain object - * @returns {Markdown} Markdown - */ - Markdown.fromObject = function fromObject(object) { - if (object instanceof $root.Markdown) - return object; - let message = new $root.Markdown(); - if (object.body != null) - message.body = String(object.body); - if (object.allowHtml != null) - message.allowHtml = Boolean(object.allowHtml); - if (object.isCaption != null) - message.isCaption = Boolean(object.isCaption); - switch (object.elementType) { - default: - if (typeof object.elementType === "number") { - message.elementType = object.elementType; - break; - } - break; - case "UNSPECIFIED": - case 0: - message.elementType = 0; - break; - case "NATIVE": - case 1: - message.elementType = 1; - break; - case "CAPTION": - case 2: - message.elementType = 2; - break; - case "CODE": - case 3: - message.elementType = 3; - break; - case "LATEX": - case 4: - message.elementType = 4; - break; - case "DIVIDER": - case 5: - message.elementType = 5; - break; - } - if (object.help != null) - message.help = String(object.help); - return message; - }; - - /** - * Creates a plain object from a Markdown message. Also converts values to other types if specified. - * @function toObject - * @memberof Markdown - * @static - * @param {Markdown} message Markdown - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Markdown.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.body = ""; - object.allowHtml = false; - object.isCaption = false; - object.elementType = options.enums === String ? "UNSPECIFIED" : 0; - object.help = ""; - } - if (message.body != null && message.hasOwnProperty("body")) - object.body = message.body; - if (message.allowHtml != null && message.hasOwnProperty("allowHtml")) - object.allowHtml = message.allowHtml; - if (message.isCaption != null && message.hasOwnProperty("isCaption")) - object.isCaption = message.isCaption; - if (message.elementType != null && message.hasOwnProperty("elementType")) - object.elementType = options.enums === String ? $root.Markdown.Type[message.elementType] === undefined ? message.elementType : $root.Markdown.Type[message.elementType] : message.elementType; - if (message.help != null && message.hasOwnProperty("help")) - object.help = message.help; - return object; - }; - - /** - * Converts this Markdown to JSON. - * @function toJSON - * @memberof Markdown - * @instance - * @returns {Object.} JSON object - */ - Markdown.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Markdown - * @function getTypeUrl - * @memberof Markdown - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Markdown.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Markdown"; - }; - - /** - * Type enum. - * @name Markdown.Type - * @enum {number} - * @property {number} UNSPECIFIED=0 UNSPECIFIED value - * @property {number} NATIVE=1 NATIVE value - * @property {number} CAPTION=2 CAPTION value - * @property {number} CODE=3 CODE value - * @property {number} LATEX=4 LATEX value - * @property {number} DIVIDER=5 DIVIDER value - */ - Markdown.Type = (function() { - const valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "UNSPECIFIED"] = 0; - values[valuesById[1] = "NATIVE"] = 1; - values[valuesById[2] = "CAPTION"] = 2; - values[valuesById[3] = "CODE"] = 3; - values[valuesById[4] = "LATEX"] = 4; - values[valuesById[5] = "DIVIDER"] = 5; - return values; - })(); - - return Markdown; -})(); - -export const Metric = $root.Metric = (() => { - - /** - * Properties of a Metric. - * @exports IMetric - * @interface IMetric - * @property {string|null} [label] Metric label - * @property {string|null} [body] Metric body - * @property {string|null} [delta] Metric delta - * @property {Metric.MetricDirection|null} [direction] Metric direction - * @property {Metric.MetricColor|null} [color] Metric color - * @property {string|null} [help] Metric help - * @property {ILabelVisibilityMessage|null} [labelVisibility] Metric labelVisibility - */ - - /** - * Constructs a new Metric. - * @exports Metric - * @classdesc Represents a Metric. - * @implements IMetric - * @constructor - * @param {IMetric=} [properties] Properties to set - */ - function Metric(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Metric label. - * @member {string} label - * @memberof Metric - * @instance - */ - Metric.prototype.label = ""; - - /** - * Metric body. - * @member {string} body - * @memberof Metric - * @instance - */ - Metric.prototype.body = ""; - - /** - * Metric delta. - * @member {string} delta - * @memberof Metric - * @instance - */ - Metric.prototype.delta = ""; - - /** - * Metric direction. - * @member {Metric.MetricDirection} direction - * @memberof Metric - * @instance - */ - Metric.prototype.direction = 0; - - /** - * Metric color. - * @member {Metric.MetricColor} color - * @memberof Metric - * @instance - */ - Metric.prototype.color = 0; - - /** - * Metric help. - * @member {string} help - * @memberof Metric - * @instance - */ - Metric.prototype.help = ""; - - /** - * Metric labelVisibility. - * @member {ILabelVisibilityMessage|null|undefined} labelVisibility - * @memberof Metric - * @instance - */ - Metric.prototype.labelVisibility = null; - - /** - * Creates a new Metric instance using the specified properties. - * @function create - * @memberof Metric - * @static - * @param {IMetric=} [properties] Properties to set - * @returns {Metric} Metric instance - */ - Metric.create = function create(properties) { - return new Metric(properties); - }; - - /** - * Encodes the specified Metric message. Does not implicitly {@link Metric.verify|verify} messages. - * @function encode - * @memberof Metric - * @static - * @param {IMetric} message Metric message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Metric.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.label != null && Object.hasOwnProperty.call(message, "label")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.label); - if (message.body != null && Object.hasOwnProperty.call(message, "body")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.body); - if (message.delta != null && Object.hasOwnProperty.call(message, "delta")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.delta); - if (message.direction != null && Object.hasOwnProperty.call(message, "direction")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.direction); - if (message.color != null && Object.hasOwnProperty.call(message, "color")) - writer.uint32(/* id 5, wireType 0 =*/40).int32(message.color); - if (message.help != null && Object.hasOwnProperty.call(message, "help")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.help); - if (message.labelVisibility != null && Object.hasOwnProperty.call(message, "labelVisibility")) - $root.LabelVisibilityMessage.encode(message.labelVisibility, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified Metric message, length delimited. Does not implicitly {@link Metric.verify|verify} messages. - * @function encodeDelimited - * @memberof Metric - * @static - * @param {IMetric} message Metric message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Metric.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Metric message from the specified reader or buffer. - * @function decode - * @memberof Metric - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Metric} Metric - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Metric.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Metric(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.label = reader.string(); - break; - } - case 2: { - message.body = reader.string(); - break; - } - case 3: { - message.delta = reader.string(); - break; - } - case 4: { - message.direction = reader.int32(); - break; - } - case 5: { - message.color = reader.int32(); - break; - } - case 6: { - message.help = reader.string(); - break; - } - case 7: { - message.labelVisibility = $root.LabelVisibilityMessage.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Metric message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Metric - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Metric} Metric - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Metric.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Metric message. - * @function verify - * @memberof Metric - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Metric.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.label != null && message.hasOwnProperty("label")) - if (!$util.isString(message.label)) - return "label: string expected"; - if (message.body != null && message.hasOwnProperty("body")) - if (!$util.isString(message.body)) - return "body: string expected"; - if (message.delta != null && message.hasOwnProperty("delta")) - if (!$util.isString(message.delta)) - return "delta: string expected"; - if (message.direction != null && message.hasOwnProperty("direction")) - switch (message.direction) { - default: - return "direction: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.color != null && message.hasOwnProperty("color")) - switch (message.color) { - default: - return "color: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.help != null && message.hasOwnProperty("help")) - if (!$util.isString(message.help)) - return "help: string expected"; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) { - let error = $root.LabelVisibilityMessage.verify(message.labelVisibility); - if (error) - return "labelVisibility." + error; - } - return null; - }; - - /** - * Creates a Metric message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Metric - * @static - * @param {Object.} object Plain object - * @returns {Metric} Metric - */ - Metric.fromObject = function fromObject(object) { - if (object instanceof $root.Metric) - return object; - let message = new $root.Metric(); - if (object.label != null) - message.label = String(object.label); - if (object.body != null) - message.body = String(object.body); - if (object.delta != null) - message.delta = String(object.delta); - switch (object.direction) { - default: - if (typeof object.direction === "number") { - message.direction = object.direction; - break; - } - break; - case "DOWN": - case 0: - message.direction = 0; - break; - case "UP": - case 1: - message.direction = 1; - break; - case "NONE": - case 2: - message.direction = 2; - break; - } - switch (object.color) { - default: - if (typeof object.color === "number") { - message.color = object.color; - break; - } - break; - case "RED": - case 0: - message.color = 0; - break; - case "GREEN": - case 1: - message.color = 1; - break; - case "GRAY": - case 2: - message.color = 2; - break; - } - if (object.help != null) - message.help = String(object.help); - if (object.labelVisibility != null) { - if (typeof object.labelVisibility !== "object") - throw TypeError(".Metric.labelVisibility: object expected"); - message.labelVisibility = $root.LabelVisibilityMessage.fromObject(object.labelVisibility); - } - return message; - }; - - /** - * Creates a plain object from a Metric message. Also converts values to other types if specified. - * @function toObject - * @memberof Metric - * @static - * @param {Metric} message Metric - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Metric.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.label = ""; - object.body = ""; - object.delta = ""; - object.direction = options.enums === String ? "DOWN" : 0; - object.color = options.enums === String ? "RED" : 0; - object.help = ""; - object.labelVisibility = null; - } - if (message.label != null && message.hasOwnProperty("label")) - object.label = message.label; - if (message.body != null && message.hasOwnProperty("body")) - object.body = message.body; - if (message.delta != null && message.hasOwnProperty("delta")) - object.delta = message.delta; - if (message.direction != null && message.hasOwnProperty("direction")) - object.direction = options.enums === String ? $root.Metric.MetricDirection[message.direction] === undefined ? message.direction : $root.Metric.MetricDirection[message.direction] : message.direction; - if (message.color != null && message.hasOwnProperty("color")) - object.color = options.enums === String ? $root.Metric.MetricColor[message.color] === undefined ? message.color : $root.Metric.MetricColor[message.color] : message.color; - if (message.help != null && message.hasOwnProperty("help")) - object.help = message.help; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) - object.labelVisibility = $root.LabelVisibilityMessage.toObject(message.labelVisibility, options); - return object; - }; - - /** - * Converts this Metric to JSON. - * @function toJSON - * @memberof Metric - * @instance - * @returns {Object.} JSON object - */ - Metric.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Metric - * @function getTypeUrl - * @memberof Metric - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Metric.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Metric"; - }; - - /** - * MetricColor enum. - * @name Metric.MetricColor - * @enum {number} - * @property {number} RED=0 RED value - * @property {number} GREEN=1 GREEN value - * @property {number} GRAY=2 GRAY value - */ - Metric.MetricColor = (function() { - const valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "RED"] = 0; - values[valuesById[1] = "GREEN"] = 1; - values[valuesById[2] = "GRAY"] = 2; - return values; - })(); - - /** - * MetricDirection enum. - * @name Metric.MetricDirection - * @enum {number} - * @property {number} DOWN=0 DOWN value - * @property {number} UP=1 UP value - * @property {number} NONE=2 NONE value - */ - Metric.MetricDirection = (function() { - const valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "DOWN"] = 0; - values[valuesById[1] = "UP"] = 1; - values[valuesById[2] = "NONE"] = 2; - return values; - })(); - - return Metric; -})(); - -export const MultiSelect = $root.MultiSelect = (() => { - - /** - * Properties of a MultiSelect. - * @exports IMultiSelect - * @interface IMultiSelect - * @property {string|null} [id] MultiSelect id - * @property {string|null} [label] MultiSelect label - * @property {Array.|null} ["default"] MultiSelect default - * @property {Array.|null} [options] MultiSelect options - * @property {string|null} [help] MultiSelect help - * @property {string|null} [formId] MultiSelect formId - * @property {Array.|null} [value] MultiSelect value - * @property {boolean|null} [setValue] MultiSelect setValue - * @property {boolean|null} [disabled] MultiSelect disabled - * @property {ILabelVisibilityMessage|null} [labelVisibility] MultiSelect labelVisibility - * @property {number|null} [maxSelections] MultiSelect maxSelections - */ - - /** - * Constructs a new MultiSelect. - * @exports MultiSelect - * @classdesc Represents a MultiSelect. - * @implements IMultiSelect - * @constructor - * @param {IMultiSelect=} [properties] Properties to set - */ - function MultiSelect(properties) { - this["default"] = []; - this.options = []; - this.value = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * MultiSelect id. - * @member {string} id - * @memberof MultiSelect - * @instance - */ - MultiSelect.prototype.id = ""; - - /** - * MultiSelect label. - * @member {string} label - * @memberof MultiSelect - * @instance - */ - MultiSelect.prototype.label = ""; - - /** - * MultiSelect default. - * @member {Array.} default - * @memberof MultiSelect - * @instance - */ - MultiSelect.prototype["default"] = $util.emptyArray; - - /** - * MultiSelect options. - * @member {Array.} options - * @memberof MultiSelect - * @instance - */ - MultiSelect.prototype.options = $util.emptyArray; - - /** - * MultiSelect help. - * @member {string} help - * @memberof MultiSelect - * @instance - */ - MultiSelect.prototype.help = ""; - - /** - * MultiSelect formId. - * @member {string} formId - * @memberof MultiSelect - * @instance - */ - MultiSelect.prototype.formId = ""; - - /** - * MultiSelect value. - * @member {Array.} value - * @memberof MultiSelect - * @instance - */ - MultiSelect.prototype.value = $util.emptyArray; - - /** - * MultiSelect setValue. - * @member {boolean} setValue - * @memberof MultiSelect - * @instance - */ - MultiSelect.prototype.setValue = false; - - /** - * MultiSelect disabled. - * @member {boolean} disabled - * @memberof MultiSelect - * @instance - */ - MultiSelect.prototype.disabled = false; - - /** - * MultiSelect labelVisibility. - * @member {ILabelVisibilityMessage|null|undefined} labelVisibility - * @memberof MultiSelect - * @instance - */ - MultiSelect.prototype.labelVisibility = null; - - /** - * MultiSelect maxSelections. - * @member {number} maxSelections - * @memberof MultiSelect - * @instance - */ - MultiSelect.prototype.maxSelections = 0; - - /** - * Creates a new MultiSelect instance using the specified properties. - * @function create - * @memberof MultiSelect - * @static - * @param {IMultiSelect=} [properties] Properties to set - * @returns {MultiSelect} MultiSelect instance - */ - MultiSelect.create = function create(properties) { - return new MultiSelect(properties); - }; - - /** - * Encodes the specified MultiSelect message. Does not implicitly {@link MultiSelect.verify|verify} messages. - * @function encode - * @memberof MultiSelect - * @static - * @param {IMultiSelect} message MultiSelect message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - MultiSelect.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.id != null && Object.hasOwnProperty.call(message, "id")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); - if (message.label != null && Object.hasOwnProperty.call(message, "label")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.label); - if (message["default"] != null && message["default"].length) { - writer.uint32(/* id 3, wireType 2 =*/26).fork(); - for (let i = 0; i < message["default"].length; ++i) - writer.int32(message["default"][i]); - writer.ldelim(); - } - if (message.options != null && message.options.length) - for (let i = 0; i < message.options.length; ++i) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.options[i]); - if (message.help != null && Object.hasOwnProperty.call(message, "help")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.help); - if (message.formId != null && Object.hasOwnProperty.call(message, "formId")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.formId); - if (message.value != null && message.value.length) { - writer.uint32(/* id 7, wireType 2 =*/58).fork(); - for (let i = 0; i < message.value.length; ++i) - writer.int32(message.value[i]); - writer.ldelim(); - } - if (message.setValue != null && Object.hasOwnProperty.call(message, "setValue")) - writer.uint32(/* id 8, wireType 0 =*/64).bool(message.setValue); - if (message.disabled != null && Object.hasOwnProperty.call(message, "disabled")) - writer.uint32(/* id 9, wireType 0 =*/72).bool(message.disabled); - if (message.labelVisibility != null && Object.hasOwnProperty.call(message, "labelVisibility")) - $root.LabelVisibilityMessage.encode(message.labelVisibility, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); - if (message.maxSelections != null && Object.hasOwnProperty.call(message, "maxSelections")) - writer.uint32(/* id 11, wireType 0 =*/88).int32(message.maxSelections); - return writer; - }; - - /** - * Encodes the specified MultiSelect message, length delimited. Does not implicitly {@link MultiSelect.verify|verify} messages. - * @function encodeDelimited - * @memberof MultiSelect - * @static - * @param {IMultiSelect} message MultiSelect message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - MultiSelect.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a MultiSelect message from the specified reader or buffer. - * @function decode - * @memberof MultiSelect - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {MultiSelect} MultiSelect - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - MultiSelect.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.MultiSelect(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.id = reader.string(); - break; - } - case 2: { - message.label = reader.string(); - break; - } - case 3: { - if (!(message["default"] && message["default"].length)) - message["default"] = []; - if ((tag & 7) === 2) { - let end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) - message["default"].push(reader.int32()); - } else - message["default"].push(reader.int32()); - break; - } - case 4: { - if (!(message.options && message.options.length)) - message.options = []; - message.options.push(reader.string()); - break; - } - case 5: { - message.help = reader.string(); - break; - } - case 6: { - message.formId = reader.string(); - break; - } - case 7: { - if (!(message.value && message.value.length)) - message.value = []; - if ((tag & 7) === 2) { - let end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) - message.value.push(reader.int32()); - } else - message.value.push(reader.int32()); - break; - } - case 8: { - message.setValue = reader.bool(); - break; - } - case 9: { - message.disabled = reader.bool(); - break; - } - case 10: { - message.labelVisibility = $root.LabelVisibilityMessage.decode(reader, reader.uint32()); - break; - } - case 11: { - message.maxSelections = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a MultiSelect message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof MultiSelect - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {MultiSelect} MultiSelect - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - MultiSelect.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a MultiSelect message. - * @function verify - * @memberof MultiSelect - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - MultiSelect.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isString(message.id)) - return "id: string expected"; - if (message.label != null && message.hasOwnProperty("label")) - if (!$util.isString(message.label)) - return "label: string expected"; - if (message["default"] != null && message.hasOwnProperty("default")) { - if (!Array.isArray(message["default"])) - return "default: array expected"; - for (let i = 0; i < message["default"].length; ++i) - if (!$util.isInteger(message["default"][i])) - return "default: integer[] expected"; - } - if (message.options != null && message.hasOwnProperty("options")) { - if (!Array.isArray(message.options)) - return "options: array expected"; - for (let i = 0; i < message.options.length; ++i) - if (!$util.isString(message.options[i])) - return "options: string[] expected"; - } - if (message.help != null && message.hasOwnProperty("help")) - if (!$util.isString(message.help)) - return "help: string expected"; - if (message.formId != null && message.hasOwnProperty("formId")) - if (!$util.isString(message.formId)) - return "formId: string expected"; - if (message.value != null && message.hasOwnProperty("value")) { - if (!Array.isArray(message.value)) - return "value: array expected"; - for (let i = 0; i < message.value.length; ++i) - if (!$util.isInteger(message.value[i])) - return "value: integer[] expected"; - } - if (message.setValue != null && message.hasOwnProperty("setValue")) - if (typeof message.setValue !== "boolean") - return "setValue: boolean expected"; - if (message.disabled != null && message.hasOwnProperty("disabled")) - if (typeof message.disabled !== "boolean") - return "disabled: boolean expected"; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) { - let error = $root.LabelVisibilityMessage.verify(message.labelVisibility); - if (error) - return "labelVisibility." + error; - } - if (message.maxSelections != null && message.hasOwnProperty("maxSelections")) - if (!$util.isInteger(message.maxSelections)) - return "maxSelections: integer expected"; - return null; - }; - - /** - * Creates a MultiSelect message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof MultiSelect - * @static - * @param {Object.} object Plain object - * @returns {MultiSelect} MultiSelect - */ - MultiSelect.fromObject = function fromObject(object) { - if (object instanceof $root.MultiSelect) - return object; - let message = new $root.MultiSelect(); - if (object.id != null) - message.id = String(object.id); - if (object.label != null) - message.label = String(object.label); - if (object["default"]) { - if (!Array.isArray(object["default"])) - throw TypeError(".MultiSelect.default: array expected"); - message["default"] = []; - for (let i = 0; i < object["default"].length; ++i) - message["default"][i] = object["default"][i] | 0; - } - if (object.options) { - if (!Array.isArray(object.options)) - throw TypeError(".MultiSelect.options: array expected"); - message.options = []; - for (let i = 0; i < object.options.length; ++i) - message.options[i] = String(object.options[i]); - } - if (object.help != null) - message.help = String(object.help); - if (object.formId != null) - message.formId = String(object.formId); - if (object.value) { - if (!Array.isArray(object.value)) - throw TypeError(".MultiSelect.value: array expected"); - message.value = []; - for (let i = 0; i < object.value.length; ++i) - message.value[i] = object.value[i] | 0; - } - if (object.setValue != null) - message.setValue = Boolean(object.setValue); - if (object.disabled != null) - message.disabled = Boolean(object.disabled); - if (object.labelVisibility != null) { - if (typeof object.labelVisibility !== "object") - throw TypeError(".MultiSelect.labelVisibility: object expected"); - message.labelVisibility = $root.LabelVisibilityMessage.fromObject(object.labelVisibility); - } - if (object.maxSelections != null) - message.maxSelections = object.maxSelections | 0; - return message; - }; - - /** - * Creates a plain object from a MultiSelect message. Also converts values to other types if specified. - * @function toObject - * @memberof MultiSelect - * @static - * @param {MultiSelect} message MultiSelect - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - MultiSelect.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) { - object["default"] = []; - object.options = []; - object.value = []; - } - if (options.defaults) { - object.id = ""; - object.label = ""; - object.help = ""; - object.formId = ""; - object.setValue = false; - object.disabled = false; - object.labelVisibility = null; - object.maxSelections = 0; - } - if (message.id != null && message.hasOwnProperty("id")) - object.id = message.id; - if (message.label != null && message.hasOwnProperty("label")) - object.label = message.label; - if (message["default"] && message["default"].length) { - object["default"] = []; - for (let j = 0; j < message["default"].length; ++j) - object["default"][j] = message["default"][j]; - } - if (message.options && message.options.length) { - object.options = []; - for (let j = 0; j < message.options.length; ++j) - object.options[j] = message.options[j]; - } - if (message.help != null && message.hasOwnProperty("help")) - object.help = message.help; - if (message.formId != null && message.hasOwnProperty("formId")) - object.formId = message.formId; - if (message.value && message.value.length) { - object.value = []; - for (let j = 0; j < message.value.length; ++j) - object.value[j] = message.value[j]; - } - if (message.setValue != null && message.hasOwnProperty("setValue")) - object.setValue = message.setValue; - if (message.disabled != null && message.hasOwnProperty("disabled")) - object.disabled = message.disabled; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) - object.labelVisibility = $root.LabelVisibilityMessage.toObject(message.labelVisibility, options); - if (message.maxSelections != null && message.hasOwnProperty("maxSelections")) - object.maxSelections = message.maxSelections; - return object; - }; - - /** - * Converts this MultiSelect to JSON. - * @function toJSON - * @memberof MultiSelect - * @instance - * @returns {Object.} JSON object - */ - MultiSelect.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for MultiSelect - * @function getTypeUrl - * @memberof MultiSelect - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - MultiSelect.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/MultiSelect"; - }; - - return MultiSelect; -})(); - -export const NamedDataSet = $root.NamedDataSet = (() => { - - /** - * Properties of a NamedDataSet. - * @exports INamedDataSet - * @interface INamedDataSet - * @property {string|null} [name] NamedDataSet name - * @property {boolean|null} [hasName] NamedDataSet hasName - * @property {IDataFrame|null} [data] NamedDataSet data - */ - - /** - * Constructs a new NamedDataSet. - * @exports NamedDataSet - * @classdesc Represents a NamedDataSet. - * @implements INamedDataSet - * @constructor - * @param {INamedDataSet=} [properties] Properties to set - */ - function NamedDataSet(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * NamedDataSet name. - * @member {string} name - * @memberof NamedDataSet - * @instance - */ - NamedDataSet.prototype.name = ""; - - /** - * NamedDataSet hasName. - * @member {boolean} hasName - * @memberof NamedDataSet - * @instance - */ - NamedDataSet.prototype.hasName = false; - - /** - * NamedDataSet data. - * @member {IDataFrame|null|undefined} data - * @memberof NamedDataSet - * @instance - */ - NamedDataSet.prototype.data = null; - - /** - * Creates a new NamedDataSet instance using the specified properties. - * @function create - * @memberof NamedDataSet - * @static - * @param {INamedDataSet=} [properties] Properties to set - * @returns {NamedDataSet} NamedDataSet instance - */ - NamedDataSet.create = function create(properties) { - return new NamedDataSet(properties); - }; - - /** - * Encodes the specified NamedDataSet message. Does not implicitly {@link NamedDataSet.verify|verify} messages. - * @function encode - * @memberof NamedDataSet - * @static - * @param {INamedDataSet} message NamedDataSet message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - NamedDataSet.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); - if (message.data != null && Object.hasOwnProperty.call(message, "data")) - $root.DataFrame.encode(message.data, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.hasName != null && Object.hasOwnProperty.call(message, "hasName")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.hasName); - return writer; - }; - - /** - * Encodes the specified NamedDataSet message, length delimited. Does not implicitly {@link NamedDataSet.verify|verify} messages. - * @function encodeDelimited - * @memberof NamedDataSet - * @static - * @param {INamedDataSet} message NamedDataSet message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - NamedDataSet.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a NamedDataSet message from the specified reader or buffer. - * @function decode - * @memberof NamedDataSet - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {NamedDataSet} NamedDataSet - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - NamedDataSet.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.NamedDataSet(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.name = reader.string(); - break; - } - case 3: { - message.hasName = reader.bool(); - break; - } - case 2: { - message.data = $root.DataFrame.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a NamedDataSet message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof NamedDataSet - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {NamedDataSet} NamedDataSet - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - NamedDataSet.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a NamedDataSet message. - * @function verify - * @memberof NamedDataSet - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - NamedDataSet.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.hasName != null && message.hasOwnProperty("hasName")) - if (typeof message.hasName !== "boolean") - return "hasName: boolean expected"; - if (message.data != null && message.hasOwnProperty("data")) { - let error = $root.DataFrame.verify(message.data); - if (error) - return "data." + error; - } - return null; - }; - - /** - * Creates a NamedDataSet message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof NamedDataSet - * @static - * @param {Object.} object Plain object - * @returns {NamedDataSet} NamedDataSet - */ - NamedDataSet.fromObject = function fromObject(object) { - if (object instanceof $root.NamedDataSet) - return object; - let message = new $root.NamedDataSet(); - if (object.name != null) - message.name = String(object.name); - if (object.hasName != null) - message.hasName = Boolean(object.hasName); - if (object.data != null) { - if (typeof object.data !== "object") - throw TypeError(".NamedDataSet.data: object expected"); - message.data = $root.DataFrame.fromObject(object.data); - } - return message; - }; - - /** - * Creates a plain object from a NamedDataSet message. Also converts values to other types if specified. - * @function toObject - * @memberof NamedDataSet - * @static - * @param {NamedDataSet} message NamedDataSet - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - NamedDataSet.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.name = ""; - object.data = null; - object.hasName = false; - } - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; - if (message.data != null && message.hasOwnProperty("data")) - object.data = $root.DataFrame.toObject(message.data, options); - if (message.hasName != null && message.hasOwnProperty("hasName")) - object.hasName = message.hasName; - return object; - }; - - /** - * Converts this NamedDataSet to JSON. - * @function toJSON - * @memberof NamedDataSet - * @instance - * @returns {Object.} JSON object - */ - NamedDataSet.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for NamedDataSet - * @function getTypeUrl - * @memberof NamedDataSet - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - NamedDataSet.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/NamedDataSet"; - }; - - return NamedDataSet; -})(); - -export const NewSession = $root.NewSession = (() => { - - /** - * Properties of a NewSession. - * @exports INewSession - * @interface INewSession - * @property {IInitialize|null} [initialize] NewSession initialize - * @property {string|null} [scriptRunId] NewSession scriptRunId - * @property {string|null} [name] NewSession name - * @property {string|null} [mainScriptPath] NewSession mainScriptPath - * @property {IConfig|null} [config] NewSession config - * @property {ICustomThemeConfig|null} [customTheme] NewSession customTheme - * @property {Array.|null} [appPages] NewSession appPages - * @property {string|null} [pageScriptHash] NewSession pageScriptHash - */ - - /** - * Constructs a new NewSession. - * @exports NewSession - * @classdesc Represents a NewSession. - * @implements INewSession - * @constructor - * @param {INewSession=} [properties] Properties to set - */ - function NewSession(properties) { - this.appPages = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * NewSession initialize. - * @member {IInitialize|null|undefined} initialize - * @memberof NewSession - * @instance - */ - NewSession.prototype.initialize = null; - - /** - * NewSession scriptRunId. - * @member {string} scriptRunId - * @memberof NewSession - * @instance - */ - NewSession.prototype.scriptRunId = ""; - - /** - * NewSession name. - * @member {string} name - * @memberof NewSession - * @instance - */ - NewSession.prototype.name = ""; - - /** - * NewSession mainScriptPath. - * @member {string} mainScriptPath - * @memberof NewSession - * @instance - */ - NewSession.prototype.mainScriptPath = ""; - - /** - * NewSession config. - * @member {IConfig|null|undefined} config - * @memberof NewSession - * @instance - */ - NewSession.prototype.config = null; - - /** - * NewSession customTheme. - * @member {ICustomThemeConfig|null|undefined} customTheme - * @memberof NewSession - * @instance - */ - NewSession.prototype.customTheme = null; - - /** - * NewSession appPages. - * @member {Array.} appPages - * @memberof NewSession - * @instance - */ - NewSession.prototype.appPages = $util.emptyArray; - - /** - * NewSession pageScriptHash. - * @member {string} pageScriptHash - * @memberof NewSession - * @instance - */ - NewSession.prototype.pageScriptHash = ""; - - /** - * Creates a new NewSession instance using the specified properties. - * @function create - * @memberof NewSession - * @static - * @param {INewSession=} [properties] Properties to set - * @returns {NewSession} NewSession instance - */ - NewSession.create = function create(properties) { - return new NewSession(properties); - }; - - /** - * Encodes the specified NewSession message. Does not implicitly {@link NewSession.verify|verify} messages. - * @function encode - * @memberof NewSession - * @static - * @param {INewSession} message NewSession message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - NewSession.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.initialize != null && Object.hasOwnProperty.call(message, "initialize")) - $root.Initialize.encode(message.initialize, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.scriptRunId != null && Object.hasOwnProperty.call(message, "scriptRunId")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.scriptRunId); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.name); - if (message.mainScriptPath != null && Object.hasOwnProperty.call(message, "mainScriptPath")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.mainScriptPath); - if (message.config != null && Object.hasOwnProperty.call(message, "config")) - $root.Config.encode(message.config, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.customTheme != null && Object.hasOwnProperty.call(message, "customTheme")) - $root.CustomThemeConfig.encode(message.customTheme, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.appPages != null && message.appPages.length) - for (let i = 0; i < message.appPages.length; ++i) - $root.AppPage.encode(message.appPages[i], writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - if (message.pageScriptHash != null && Object.hasOwnProperty.call(message, "pageScriptHash")) - writer.uint32(/* id 9, wireType 2 =*/74).string(message.pageScriptHash); - return writer; - }; - - /** - * Encodes the specified NewSession message, length delimited. Does not implicitly {@link NewSession.verify|verify} messages. - * @function encodeDelimited - * @memberof NewSession - * @static - * @param {INewSession} message NewSession message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - NewSession.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a NewSession message from the specified reader or buffer. - * @function decode - * @memberof NewSession - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {NewSession} NewSession - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - NewSession.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.NewSession(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.initialize = $root.Initialize.decode(reader, reader.uint32()); - break; - } - case 2: { - message.scriptRunId = reader.string(); - break; - } - case 3: { - message.name = reader.string(); - break; - } - case 4: { - message.mainScriptPath = reader.string(); - break; - } - case 6: { - message.config = $root.Config.decode(reader, reader.uint32()); - break; - } - case 7: { - message.customTheme = $root.CustomThemeConfig.decode(reader, reader.uint32()); - break; - } - case 8: { - if (!(message.appPages && message.appPages.length)) - message.appPages = []; - message.appPages.push($root.AppPage.decode(reader, reader.uint32())); - break; - } - case 9: { - message.pageScriptHash = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a NewSession message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof NewSession - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {NewSession} NewSession - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - NewSession.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a NewSession message. - * @function verify - * @memberof NewSession - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - NewSession.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.initialize != null && message.hasOwnProperty("initialize")) { - let error = $root.Initialize.verify(message.initialize); - if (error) - return "initialize." + error; - } - if (message.scriptRunId != null && message.hasOwnProperty("scriptRunId")) - if (!$util.isString(message.scriptRunId)) - return "scriptRunId: string expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.mainScriptPath != null && message.hasOwnProperty("mainScriptPath")) - if (!$util.isString(message.mainScriptPath)) - return "mainScriptPath: string expected"; - if (message.config != null && message.hasOwnProperty("config")) { - let error = $root.Config.verify(message.config); - if (error) - return "config." + error; - } - if (message.customTheme != null && message.hasOwnProperty("customTheme")) { - let error = $root.CustomThemeConfig.verify(message.customTheme); - if (error) - return "customTheme." + error; - } - if (message.appPages != null && message.hasOwnProperty("appPages")) { - if (!Array.isArray(message.appPages)) - return "appPages: array expected"; - for (let i = 0; i < message.appPages.length; ++i) { - let error = $root.AppPage.verify(message.appPages[i]); - if (error) - return "appPages." + error; - } - } - if (message.pageScriptHash != null && message.hasOwnProperty("pageScriptHash")) - if (!$util.isString(message.pageScriptHash)) - return "pageScriptHash: string expected"; - return null; - }; - - /** - * Creates a NewSession message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof NewSession - * @static - * @param {Object.} object Plain object - * @returns {NewSession} NewSession - */ - NewSession.fromObject = function fromObject(object) { - if (object instanceof $root.NewSession) - return object; - let message = new $root.NewSession(); - if (object.initialize != null) { - if (typeof object.initialize !== "object") - throw TypeError(".NewSession.initialize: object expected"); - message.initialize = $root.Initialize.fromObject(object.initialize); - } - if (object.scriptRunId != null) - message.scriptRunId = String(object.scriptRunId); - if (object.name != null) - message.name = String(object.name); - if (object.mainScriptPath != null) - message.mainScriptPath = String(object.mainScriptPath); - if (object.config != null) { - if (typeof object.config !== "object") - throw TypeError(".NewSession.config: object expected"); - message.config = $root.Config.fromObject(object.config); - } - if (object.customTheme != null) { - if (typeof object.customTheme !== "object") - throw TypeError(".NewSession.customTheme: object expected"); - message.customTheme = $root.CustomThemeConfig.fromObject(object.customTheme); - } - if (object.appPages) { - if (!Array.isArray(object.appPages)) - throw TypeError(".NewSession.appPages: array expected"); - message.appPages = []; - for (let i = 0; i < object.appPages.length; ++i) { - if (typeof object.appPages[i] !== "object") - throw TypeError(".NewSession.appPages: object expected"); - message.appPages[i] = $root.AppPage.fromObject(object.appPages[i]); - } - } - if (object.pageScriptHash != null) - message.pageScriptHash = String(object.pageScriptHash); - return message; - }; - - /** - * Creates a plain object from a NewSession message. Also converts values to other types if specified. - * @function toObject - * @memberof NewSession - * @static - * @param {NewSession} message NewSession - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - NewSession.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.appPages = []; - if (options.defaults) { - object.initialize = null; - object.scriptRunId = ""; - object.name = ""; - object.mainScriptPath = ""; - object.config = null; - object.customTheme = null; - object.pageScriptHash = ""; - } - if (message.initialize != null && message.hasOwnProperty("initialize")) - object.initialize = $root.Initialize.toObject(message.initialize, options); - if (message.scriptRunId != null && message.hasOwnProperty("scriptRunId")) - object.scriptRunId = message.scriptRunId; - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; - if (message.mainScriptPath != null && message.hasOwnProperty("mainScriptPath")) - object.mainScriptPath = message.mainScriptPath; - if (message.config != null && message.hasOwnProperty("config")) - object.config = $root.Config.toObject(message.config, options); - if (message.customTheme != null && message.hasOwnProperty("customTheme")) - object.customTheme = $root.CustomThemeConfig.toObject(message.customTheme, options); - if (message.appPages && message.appPages.length) { - object.appPages = []; - for (let j = 0; j < message.appPages.length; ++j) - object.appPages[j] = $root.AppPage.toObject(message.appPages[j], options); - } - if (message.pageScriptHash != null && message.hasOwnProperty("pageScriptHash")) - object.pageScriptHash = message.pageScriptHash; - return object; - }; - - /** - * Converts this NewSession to JSON. - * @function toJSON - * @memberof NewSession - * @instance - * @returns {Object.} JSON object - */ - NewSession.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for NewSession - * @function getTypeUrl - * @memberof NewSession - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - NewSession.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/NewSession"; - }; - - return NewSession; -})(); - -export const Initialize = $root.Initialize = (() => { - - /** - * Properties of an Initialize. - * @exports IInitialize - * @interface IInitialize - * @property {IUserInfo|null} [userInfo] Initialize userInfo - * @property {IEnvironmentInfo|null} [environmentInfo] Initialize environmentInfo - * @property {ISessionStatus|null} [sessionStatus] Initialize sessionStatus - * @property {string|null} [commandLine] Initialize commandLine - * @property {string|null} [sessionId] Initialize sessionId - */ - - /** - * Constructs a new Initialize. - * @exports Initialize - * @classdesc Represents an Initialize. - * @implements IInitialize - * @constructor - * @param {IInitialize=} [properties] Properties to set - */ - function Initialize(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Initialize userInfo. - * @member {IUserInfo|null|undefined} userInfo - * @memberof Initialize - * @instance - */ - Initialize.prototype.userInfo = null; - - /** - * Initialize environmentInfo. - * @member {IEnvironmentInfo|null|undefined} environmentInfo - * @memberof Initialize - * @instance - */ - Initialize.prototype.environmentInfo = null; - - /** - * Initialize sessionStatus. - * @member {ISessionStatus|null|undefined} sessionStatus - * @memberof Initialize - * @instance - */ - Initialize.prototype.sessionStatus = null; - - /** - * Initialize commandLine. - * @member {string} commandLine - * @memberof Initialize - * @instance - */ - Initialize.prototype.commandLine = ""; - - /** - * Initialize sessionId. - * @member {string} sessionId - * @memberof Initialize - * @instance - */ - Initialize.prototype.sessionId = ""; - - /** - * Creates a new Initialize instance using the specified properties. - * @function create - * @memberof Initialize - * @static - * @param {IInitialize=} [properties] Properties to set - * @returns {Initialize} Initialize instance - */ - Initialize.create = function create(properties) { - return new Initialize(properties); - }; - - /** - * Encodes the specified Initialize message. Does not implicitly {@link Initialize.verify|verify} messages. - * @function encode - * @memberof Initialize - * @static - * @param {IInitialize} message Initialize message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Initialize.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.userInfo != null && Object.hasOwnProperty.call(message, "userInfo")) - $root.UserInfo.encode(message.userInfo, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.environmentInfo != null && Object.hasOwnProperty.call(message, "environmentInfo")) - $root.EnvironmentInfo.encode(message.environmentInfo, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.sessionStatus != null && Object.hasOwnProperty.call(message, "sessionStatus")) - $root.SessionStatus.encode(message.sessionStatus, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.commandLine != null && Object.hasOwnProperty.call(message, "commandLine")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.commandLine); - if (message.sessionId != null && Object.hasOwnProperty.call(message, "sessionId")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.sessionId); - return writer; - }; - - /** - * Encodes the specified Initialize message, length delimited. Does not implicitly {@link Initialize.verify|verify} messages. - * @function encodeDelimited - * @memberof Initialize - * @static - * @param {IInitialize} message Initialize message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Initialize.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an Initialize message from the specified reader or buffer. - * @function decode - * @memberof Initialize - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Initialize} Initialize - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Initialize.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Initialize(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.userInfo = $root.UserInfo.decode(reader, reader.uint32()); - break; - } - case 3: { - message.environmentInfo = $root.EnvironmentInfo.decode(reader, reader.uint32()); - break; - } - case 4: { - message.sessionStatus = $root.SessionStatus.decode(reader, reader.uint32()); - break; - } - case 5: { - message.commandLine = reader.string(); - break; - } - case 6: { - message.sessionId = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an Initialize message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Initialize - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Initialize} Initialize - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Initialize.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an Initialize message. - * @function verify - * @memberof Initialize - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Initialize.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.userInfo != null && message.hasOwnProperty("userInfo")) { - let error = $root.UserInfo.verify(message.userInfo); - if (error) - return "userInfo." + error; - } - if (message.environmentInfo != null && message.hasOwnProperty("environmentInfo")) { - let error = $root.EnvironmentInfo.verify(message.environmentInfo); - if (error) - return "environmentInfo." + error; - } - if (message.sessionStatus != null && message.hasOwnProperty("sessionStatus")) { - let error = $root.SessionStatus.verify(message.sessionStatus); - if (error) - return "sessionStatus." + error; - } - if (message.commandLine != null && message.hasOwnProperty("commandLine")) - if (!$util.isString(message.commandLine)) - return "commandLine: string expected"; - if (message.sessionId != null && message.hasOwnProperty("sessionId")) - if (!$util.isString(message.sessionId)) - return "sessionId: string expected"; - return null; - }; - - /** - * Creates an Initialize message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Initialize - * @static - * @param {Object.} object Plain object - * @returns {Initialize} Initialize - */ - Initialize.fromObject = function fromObject(object) { - if (object instanceof $root.Initialize) - return object; - let message = new $root.Initialize(); - if (object.userInfo != null) { - if (typeof object.userInfo !== "object") - throw TypeError(".Initialize.userInfo: object expected"); - message.userInfo = $root.UserInfo.fromObject(object.userInfo); - } - if (object.environmentInfo != null) { - if (typeof object.environmentInfo !== "object") - throw TypeError(".Initialize.environmentInfo: object expected"); - message.environmentInfo = $root.EnvironmentInfo.fromObject(object.environmentInfo); - } - if (object.sessionStatus != null) { - if (typeof object.sessionStatus !== "object") - throw TypeError(".Initialize.sessionStatus: object expected"); - message.sessionStatus = $root.SessionStatus.fromObject(object.sessionStatus); - } - if (object.commandLine != null) - message.commandLine = String(object.commandLine); - if (object.sessionId != null) - message.sessionId = String(object.sessionId); - return message; - }; - - /** - * Creates a plain object from an Initialize message. Also converts values to other types if specified. - * @function toObject - * @memberof Initialize - * @static - * @param {Initialize} message Initialize - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Initialize.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.userInfo = null; - object.environmentInfo = null; - object.sessionStatus = null; - object.commandLine = ""; - object.sessionId = ""; - } - if (message.userInfo != null && message.hasOwnProperty("userInfo")) - object.userInfo = $root.UserInfo.toObject(message.userInfo, options); - if (message.environmentInfo != null && message.hasOwnProperty("environmentInfo")) - object.environmentInfo = $root.EnvironmentInfo.toObject(message.environmentInfo, options); - if (message.sessionStatus != null && message.hasOwnProperty("sessionStatus")) - object.sessionStatus = $root.SessionStatus.toObject(message.sessionStatus, options); - if (message.commandLine != null && message.hasOwnProperty("commandLine")) - object.commandLine = message.commandLine; - if (message.sessionId != null && message.hasOwnProperty("sessionId")) - object.sessionId = message.sessionId; - return object; - }; - - /** - * Converts this Initialize to JSON. - * @function toJSON - * @memberof Initialize - * @instance - * @returns {Object.} JSON object - */ - Initialize.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Initialize - * @function getTypeUrl - * @memberof Initialize - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Initialize.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Initialize"; - }; - - return Initialize; -})(); - -export const Config = $root.Config = (() => { - - /** - * Properties of a Config. - * @exports IConfig - * @interface IConfig - * @property {boolean|null} [gatherUsageStats] Config gatherUsageStats - * @property {number|null} [maxCachedMessageAge] Config maxCachedMessageAge - * @property {string|null} [mapboxToken] Config mapboxToken - * @property {boolean|null} [allowRunOnSave] Config allowRunOnSave - * @property {boolean|null} [hideTopBar] Config hideTopBar - * @property {boolean|null} [hideSidebarNav] Config hideSidebarNav - * @property {Config.ToolbarMode|null} [toolbarMode] Config toolbarMode - */ - - /** - * Constructs a new Config. - * @exports Config - * @classdesc Represents a Config. - * @implements IConfig - * @constructor - * @param {IConfig=} [properties] Properties to set - */ - function Config(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Config gatherUsageStats. - * @member {boolean} gatherUsageStats - * @memberof Config - * @instance - */ - Config.prototype.gatherUsageStats = false; - - /** - * Config maxCachedMessageAge. - * @member {number} maxCachedMessageAge - * @memberof Config - * @instance - */ - Config.prototype.maxCachedMessageAge = 0; - - /** - * Config mapboxToken. - * @member {string} mapboxToken - * @memberof Config - * @instance - */ - Config.prototype.mapboxToken = ""; - - /** - * Config allowRunOnSave. - * @member {boolean} allowRunOnSave - * @memberof Config - * @instance - */ - Config.prototype.allowRunOnSave = false; - - /** - * Config hideTopBar. - * @member {boolean} hideTopBar - * @memberof Config - * @instance - */ - Config.prototype.hideTopBar = false; - - /** - * Config hideSidebarNav. - * @member {boolean} hideSidebarNav - * @memberof Config - * @instance - */ - Config.prototype.hideSidebarNav = false; - - /** - * Config toolbarMode. - * @member {Config.ToolbarMode} toolbarMode - * @memberof Config - * @instance - */ - Config.prototype.toolbarMode = 0; - - /** - * Creates a new Config instance using the specified properties. - * @function create - * @memberof Config - * @static - * @param {IConfig=} [properties] Properties to set - * @returns {Config} Config instance - */ - Config.create = function create(properties) { - return new Config(properties); - }; - - /** - * Encodes the specified Config message. Does not implicitly {@link Config.verify|verify} messages. - * @function encode - * @memberof Config - * @static - * @param {IConfig} message Config message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Config.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.gatherUsageStats != null && Object.hasOwnProperty.call(message, "gatherUsageStats")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.gatherUsageStats); - if (message.maxCachedMessageAge != null && Object.hasOwnProperty.call(message, "maxCachedMessageAge")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.maxCachedMessageAge); - if (message.mapboxToken != null && Object.hasOwnProperty.call(message, "mapboxToken")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.mapboxToken); - if (message.allowRunOnSave != null && Object.hasOwnProperty.call(message, "allowRunOnSave")) - writer.uint32(/* id 5, wireType 0 =*/40).bool(message.allowRunOnSave); - if (message.hideTopBar != null && Object.hasOwnProperty.call(message, "hideTopBar")) - writer.uint32(/* id 6, wireType 0 =*/48).bool(message.hideTopBar); - if (message.hideSidebarNav != null && Object.hasOwnProperty.call(message, "hideSidebarNav")) - writer.uint32(/* id 7, wireType 0 =*/56).bool(message.hideSidebarNav); - if (message.toolbarMode != null && Object.hasOwnProperty.call(message, "toolbarMode")) - writer.uint32(/* id 8, wireType 0 =*/64).int32(message.toolbarMode); - return writer; - }; - - /** - * Encodes the specified Config message, length delimited. Does not implicitly {@link Config.verify|verify} messages. - * @function encodeDelimited - * @memberof Config - * @static - * @param {IConfig} message Config message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Config.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Config message from the specified reader or buffer. - * @function decode - * @memberof Config - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Config} Config - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Config.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Config(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 2: { - message.gatherUsageStats = reader.bool(); - break; - } - case 3: { - message.maxCachedMessageAge = reader.int32(); - break; - } - case 4: { - message.mapboxToken = reader.string(); - break; - } - case 5: { - message.allowRunOnSave = reader.bool(); - break; - } - case 6: { - message.hideTopBar = reader.bool(); - break; - } - case 7: { - message.hideSidebarNav = reader.bool(); - break; - } - case 8: { - message.toolbarMode = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Config message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Config - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Config} Config - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Config.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Config message. - * @function verify - * @memberof Config - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Config.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.gatherUsageStats != null && message.hasOwnProperty("gatherUsageStats")) - if (typeof message.gatherUsageStats !== "boolean") - return "gatherUsageStats: boolean expected"; - if (message.maxCachedMessageAge != null && message.hasOwnProperty("maxCachedMessageAge")) - if (!$util.isInteger(message.maxCachedMessageAge)) - return "maxCachedMessageAge: integer expected"; - if (message.mapboxToken != null && message.hasOwnProperty("mapboxToken")) - if (!$util.isString(message.mapboxToken)) - return "mapboxToken: string expected"; - if (message.allowRunOnSave != null && message.hasOwnProperty("allowRunOnSave")) - if (typeof message.allowRunOnSave !== "boolean") - return "allowRunOnSave: boolean expected"; - if (message.hideTopBar != null && message.hasOwnProperty("hideTopBar")) - if (typeof message.hideTopBar !== "boolean") - return "hideTopBar: boolean expected"; - if (message.hideSidebarNav != null && message.hasOwnProperty("hideSidebarNav")) - if (typeof message.hideSidebarNav !== "boolean") - return "hideSidebarNav: boolean expected"; - if (message.toolbarMode != null && message.hasOwnProperty("toolbarMode")) - switch (message.toolbarMode) { - default: - return "toolbarMode: enum value expected"; - case 0: - case 1: - case 2: - case 3: - break; - } - return null; - }; - - /** - * Creates a Config message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Config - * @static - * @param {Object.} object Plain object - * @returns {Config} Config - */ - Config.fromObject = function fromObject(object) { - if (object instanceof $root.Config) - return object; - let message = new $root.Config(); - if (object.gatherUsageStats != null) - message.gatherUsageStats = Boolean(object.gatherUsageStats); - if (object.maxCachedMessageAge != null) - message.maxCachedMessageAge = object.maxCachedMessageAge | 0; - if (object.mapboxToken != null) - message.mapboxToken = String(object.mapboxToken); - if (object.allowRunOnSave != null) - message.allowRunOnSave = Boolean(object.allowRunOnSave); - if (object.hideTopBar != null) - message.hideTopBar = Boolean(object.hideTopBar); - if (object.hideSidebarNav != null) - message.hideSidebarNav = Boolean(object.hideSidebarNav); - switch (object.toolbarMode) { - default: - if (typeof object.toolbarMode === "number") { - message.toolbarMode = object.toolbarMode; - break; - } - break; - case "AUTO": - case 0: - message.toolbarMode = 0; - break; - case "DEVELOPER": - case 1: - message.toolbarMode = 1; - break; - case "VIEWER": - case 2: - message.toolbarMode = 2; - break; - case "MINIMAL": - case 3: - message.toolbarMode = 3; - break; - } - return message; - }; - - /** - * Creates a plain object from a Config message. Also converts values to other types if specified. - * @function toObject - * @memberof Config - * @static - * @param {Config} message Config - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Config.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.gatherUsageStats = false; - object.maxCachedMessageAge = 0; - object.mapboxToken = ""; - object.allowRunOnSave = false; - object.hideTopBar = false; - object.hideSidebarNav = false; - object.toolbarMode = options.enums === String ? "AUTO" : 0; - } - if (message.gatherUsageStats != null && message.hasOwnProperty("gatherUsageStats")) - object.gatherUsageStats = message.gatherUsageStats; - if (message.maxCachedMessageAge != null && message.hasOwnProperty("maxCachedMessageAge")) - object.maxCachedMessageAge = message.maxCachedMessageAge; - if (message.mapboxToken != null && message.hasOwnProperty("mapboxToken")) - object.mapboxToken = message.mapboxToken; - if (message.allowRunOnSave != null && message.hasOwnProperty("allowRunOnSave")) - object.allowRunOnSave = message.allowRunOnSave; - if (message.hideTopBar != null && message.hasOwnProperty("hideTopBar")) - object.hideTopBar = message.hideTopBar; - if (message.hideSidebarNav != null && message.hasOwnProperty("hideSidebarNav")) - object.hideSidebarNav = message.hideSidebarNav; - if (message.toolbarMode != null && message.hasOwnProperty("toolbarMode")) - object.toolbarMode = options.enums === String ? $root.Config.ToolbarMode[message.toolbarMode] === undefined ? message.toolbarMode : $root.Config.ToolbarMode[message.toolbarMode] : message.toolbarMode; - return object; - }; - - /** - * Converts this Config to JSON. - * @function toJSON - * @memberof Config - * @instance - * @returns {Object.} JSON object - */ - Config.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Config - * @function getTypeUrl - * @memberof Config - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Config.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Config"; - }; - - /** - * ToolbarMode enum. - * @name Config.ToolbarMode - * @enum {number} - * @property {number} AUTO=0 AUTO value - * @property {number} DEVELOPER=1 DEVELOPER value - * @property {number} VIEWER=2 VIEWER value - * @property {number} MINIMAL=3 MINIMAL value - */ - Config.ToolbarMode = (function() { - const valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "AUTO"] = 0; - values[valuesById[1] = "DEVELOPER"] = 1; - values[valuesById[2] = "VIEWER"] = 2; - values[valuesById[3] = "MINIMAL"] = 3; - return values; - })(); - - return Config; -})(); - -export const CustomThemeConfig = $root.CustomThemeConfig = (() => { - - /** - * Properties of a CustomThemeConfig. - * @exports ICustomThemeConfig - * @interface ICustomThemeConfig - * @property {string|null} [primaryColor] CustomThemeConfig primaryColor - * @property {string|null} [secondaryBackgroundColor] CustomThemeConfig secondaryBackgroundColor - * @property {string|null} [backgroundColor] CustomThemeConfig backgroundColor - * @property {string|null} [textColor] CustomThemeConfig textColor - * @property {CustomThemeConfig.FontFamily|null} [font] CustomThemeConfig font - * @property {CustomThemeConfig.BaseTheme|null} [base] CustomThemeConfig base - * @property {string|null} [widgetBackgroundColor] CustomThemeConfig widgetBackgroundColor - * @property {string|null} [widgetBorderColor] CustomThemeConfig widgetBorderColor - * @property {IRadii|null} [radii] CustomThemeConfig radii - * @property {string|null} [bodyFont] CustomThemeConfig bodyFont - * @property {string|null} [codeFont] CustomThemeConfig codeFont - * @property {Array.|null} [fontFaces] CustomThemeConfig fontFaces - * @property {IFontSizes|null} [fontSizes] CustomThemeConfig fontSizes - */ - - /** - * Constructs a new CustomThemeConfig. - * @exports CustomThemeConfig - * @classdesc Represents a CustomThemeConfig. - * @implements ICustomThemeConfig - * @constructor - * @param {ICustomThemeConfig=} [properties] Properties to set - */ - function CustomThemeConfig(properties) { - this.fontFaces = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * CustomThemeConfig primaryColor. - * @member {string} primaryColor - * @memberof CustomThemeConfig - * @instance - */ - CustomThemeConfig.prototype.primaryColor = ""; - - /** - * CustomThemeConfig secondaryBackgroundColor. - * @member {string} secondaryBackgroundColor - * @memberof CustomThemeConfig - * @instance - */ - CustomThemeConfig.prototype.secondaryBackgroundColor = ""; - - /** - * CustomThemeConfig backgroundColor. - * @member {string} backgroundColor - * @memberof CustomThemeConfig - * @instance - */ - CustomThemeConfig.prototype.backgroundColor = ""; - - /** - * CustomThemeConfig textColor. - * @member {string} textColor - * @memberof CustomThemeConfig - * @instance - */ - CustomThemeConfig.prototype.textColor = ""; - - /** - * CustomThemeConfig font. - * @member {CustomThemeConfig.FontFamily} font - * @memberof CustomThemeConfig - * @instance - */ - CustomThemeConfig.prototype.font = 0; - - /** - * CustomThemeConfig base. - * @member {CustomThemeConfig.BaseTheme} base - * @memberof CustomThemeConfig - * @instance - */ - CustomThemeConfig.prototype.base = 0; - - /** - * CustomThemeConfig widgetBackgroundColor. - * @member {string} widgetBackgroundColor - * @memberof CustomThemeConfig - * @instance - */ - CustomThemeConfig.prototype.widgetBackgroundColor = ""; - - /** - * CustomThemeConfig widgetBorderColor. - * @member {string} widgetBorderColor - * @memberof CustomThemeConfig - * @instance - */ - CustomThemeConfig.prototype.widgetBorderColor = ""; - - /** - * CustomThemeConfig radii. - * @member {IRadii|null|undefined} radii - * @memberof CustomThemeConfig - * @instance - */ - CustomThemeConfig.prototype.radii = null; - - /** - * CustomThemeConfig bodyFont. - * @member {string} bodyFont - * @memberof CustomThemeConfig - * @instance - */ - CustomThemeConfig.prototype.bodyFont = ""; - - /** - * CustomThemeConfig codeFont. - * @member {string} codeFont - * @memberof CustomThemeConfig - * @instance - */ - CustomThemeConfig.prototype.codeFont = ""; - - /** - * CustomThemeConfig fontFaces. - * @member {Array.} fontFaces - * @memberof CustomThemeConfig - * @instance - */ - CustomThemeConfig.prototype.fontFaces = $util.emptyArray; - - /** - * CustomThemeConfig fontSizes. - * @member {IFontSizes|null|undefined} fontSizes - * @memberof CustomThemeConfig - * @instance - */ - CustomThemeConfig.prototype.fontSizes = null; - - /** - * Creates a new CustomThemeConfig instance using the specified properties. - * @function create - * @memberof CustomThemeConfig - * @static - * @param {ICustomThemeConfig=} [properties] Properties to set - * @returns {CustomThemeConfig} CustomThemeConfig instance - */ - CustomThemeConfig.create = function create(properties) { - return new CustomThemeConfig(properties); - }; - - /** - * Encodes the specified CustomThemeConfig message. Does not implicitly {@link CustomThemeConfig.verify|verify} messages. - * @function encode - * @memberof CustomThemeConfig - * @static - * @param {ICustomThemeConfig} message CustomThemeConfig message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - CustomThemeConfig.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.primaryColor != null && Object.hasOwnProperty.call(message, "primaryColor")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.primaryColor); - if (message.secondaryBackgroundColor != null && Object.hasOwnProperty.call(message, "secondaryBackgroundColor")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.secondaryBackgroundColor); - if (message.backgroundColor != null && Object.hasOwnProperty.call(message, "backgroundColor")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.backgroundColor); - if (message.textColor != null && Object.hasOwnProperty.call(message, "textColor")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.textColor); - if (message.font != null && Object.hasOwnProperty.call(message, "font")) - writer.uint32(/* id 5, wireType 0 =*/40).int32(message.font); - if (message.base != null && Object.hasOwnProperty.call(message, "base")) - writer.uint32(/* id 6, wireType 0 =*/48).int32(message.base); - if (message.widgetBackgroundColor != null && Object.hasOwnProperty.call(message, "widgetBackgroundColor")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.widgetBackgroundColor); - if (message.widgetBorderColor != null && Object.hasOwnProperty.call(message, "widgetBorderColor")) - writer.uint32(/* id 8, wireType 2 =*/66).string(message.widgetBorderColor); - if (message.radii != null && Object.hasOwnProperty.call(message, "radii")) - $root.Radii.encode(message.radii, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); - if (message.bodyFont != null && Object.hasOwnProperty.call(message, "bodyFont")) - writer.uint32(/* id 13, wireType 2 =*/106).string(message.bodyFont); - if (message.codeFont != null && Object.hasOwnProperty.call(message, "codeFont")) - writer.uint32(/* id 14, wireType 2 =*/114).string(message.codeFont); - if (message.fontFaces != null && message.fontFaces.length) - for (let i = 0; i < message.fontFaces.length; ++i) - $root.FontFace.encode(message.fontFaces[i], writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim(); - if (message.fontSizes != null && Object.hasOwnProperty.call(message, "fontSizes")) - $root.FontSizes.encode(message.fontSizes, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified CustomThemeConfig message, length delimited. Does not implicitly {@link CustomThemeConfig.verify|verify} messages. - * @function encodeDelimited - * @memberof CustomThemeConfig - * @static - * @param {ICustomThemeConfig} message CustomThemeConfig message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - CustomThemeConfig.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a CustomThemeConfig message from the specified reader or buffer. - * @function decode - * @memberof CustomThemeConfig - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {CustomThemeConfig} CustomThemeConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - CustomThemeConfig.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.CustomThemeConfig(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.primaryColor = reader.string(); - break; - } - case 2: { - message.secondaryBackgroundColor = reader.string(); - break; - } - case 3: { - message.backgroundColor = reader.string(); - break; - } - case 4: { - message.textColor = reader.string(); - break; - } - case 5: { - message.font = reader.int32(); - break; - } - case 6: { - message.base = reader.int32(); - break; - } - case 7: { - message.widgetBackgroundColor = reader.string(); - break; - } - case 8: { - message.widgetBorderColor = reader.string(); - break; - } - case 9: { - message.radii = $root.Radii.decode(reader, reader.uint32()); - break; - } - case 13: { - message.bodyFont = reader.string(); - break; - } - case 14: { - message.codeFont = reader.string(); - break; - } - case 15: { - if (!(message.fontFaces && message.fontFaces.length)) - message.fontFaces = []; - message.fontFaces.push($root.FontFace.decode(reader, reader.uint32())); - break; - } - case 16: { - message.fontSizes = $root.FontSizes.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a CustomThemeConfig message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof CustomThemeConfig - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {CustomThemeConfig} CustomThemeConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - CustomThemeConfig.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a CustomThemeConfig message. - * @function verify - * @memberof CustomThemeConfig - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - CustomThemeConfig.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.primaryColor != null && message.hasOwnProperty("primaryColor")) - if (!$util.isString(message.primaryColor)) - return "primaryColor: string expected"; - if (message.secondaryBackgroundColor != null && message.hasOwnProperty("secondaryBackgroundColor")) - if (!$util.isString(message.secondaryBackgroundColor)) - return "secondaryBackgroundColor: string expected"; - if (message.backgroundColor != null && message.hasOwnProperty("backgroundColor")) - if (!$util.isString(message.backgroundColor)) - return "backgroundColor: string expected"; - if (message.textColor != null && message.hasOwnProperty("textColor")) - if (!$util.isString(message.textColor)) - return "textColor: string expected"; - if (message.font != null && message.hasOwnProperty("font")) - switch (message.font) { - default: - return "font: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.base != null && message.hasOwnProperty("base")) - switch (message.base) { - default: - return "base: enum value expected"; - case 0: - case 1: - break; - } - if (message.widgetBackgroundColor != null && message.hasOwnProperty("widgetBackgroundColor")) - if (!$util.isString(message.widgetBackgroundColor)) - return "widgetBackgroundColor: string expected"; - if (message.widgetBorderColor != null && message.hasOwnProperty("widgetBorderColor")) - if (!$util.isString(message.widgetBorderColor)) - return "widgetBorderColor: string expected"; - if (message.radii != null && message.hasOwnProperty("radii")) { - let error = $root.Radii.verify(message.radii); - if (error) - return "radii." + error; - } - if (message.bodyFont != null && message.hasOwnProperty("bodyFont")) - if (!$util.isString(message.bodyFont)) - return "bodyFont: string expected"; - if (message.codeFont != null && message.hasOwnProperty("codeFont")) - if (!$util.isString(message.codeFont)) - return "codeFont: string expected"; - if (message.fontFaces != null && message.hasOwnProperty("fontFaces")) { - if (!Array.isArray(message.fontFaces)) - return "fontFaces: array expected"; - for (let i = 0; i < message.fontFaces.length; ++i) { - let error = $root.FontFace.verify(message.fontFaces[i]); - if (error) - return "fontFaces." + error; - } - } - if (message.fontSizes != null && message.hasOwnProperty("fontSizes")) { - let error = $root.FontSizes.verify(message.fontSizes); - if (error) - return "fontSizes." + error; - } - return null; - }; - - /** - * Creates a CustomThemeConfig message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof CustomThemeConfig - * @static - * @param {Object.} object Plain object - * @returns {CustomThemeConfig} CustomThemeConfig - */ - CustomThemeConfig.fromObject = function fromObject(object) { - if (object instanceof $root.CustomThemeConfig) - return object; - let message = new $root.CustomThemeConfig(); - if (object.primaryColor != null) - message.primaryColor = String(object.primaryColor); - if (object.secondaryBackgroundColor != null) - message.secondaryBackgroundColor = String(object.secondaryBackgroundColor); - if (object.backgroundColor != null) - message.backgroundColor = String(object.backgroundColor); - if (object.textColor != null) - message.textColor = String(object.textColor); - switch (object.font) { - default: - if (typeof object.font === "number") { - message.font = object.font; - break; - } - break; - case "SANS_SERIF": - case 0: - message.font = 0; - break; - case "SERIF": - case 1: - message.font = 1; - break; - case "MONOSPACE": - case 2: - message.font = 2; - break; - } - switch (object.base) { - default: - if (typeof object.base === "number") { - message.base = object.base; - break; - } - break; - case "LIGHT": - case 0: - message.base = 0; - break; - case "DARK": - case 1: - message.base = 1; - break; - } - if (object.widgetBackgroundColor != null) - message.widgetBackgroundColor = String(object.widgetBackgroundColor); - if (object.widgetBorderColor != null) - message.widgetBorderColor = String(object.widgetBorderColor); - if (object.radii != null) { - if (typeof object.radii !== "object") - throw TypeError(".CustomThemeConfig.radii: object expected"); - message.radii = $root.Radii.fromObject(object.radii); - } - if (object.bodyFont != null) - message.bodyFont = String(object.bodyFont); - if (object.codeFont != null) - message.codeFont = String(object.codeFont); - if (object.fontFaces) { - if (!Array.isArray(object.fontFaces)) - throw TypeError(".CustomThemeConfig.fontFaces: array expected"); - message.fontFaces = []; - for (let i = 0; i < object.fontFaces.length; ++i) { - if (typeof object.fontFaces[i] !== "object") - throw TypeError(".CustomThemeConfig.fontFaces: object expected"); - message.fontFaces[i] = $root.FontFace.fromObject(object.fontFaces[i]); - } - } - if (object.fontSizes != null) { - if (typeof object.fontSizes !== "object") - throw TypeError(".CustomThemeConfig.fontSizes: object expected"); - message.fontSizes = $root.FontSizes.fromObject(object.fontSizes); - } - return message; - }; - - /** - * Creates a plain object from a CustomThemeConfig message. Also converts values to other types if specified. - * @function toObject - * @memberof CustomThemeConfig - * @static - * @param {CustomThemeConfig} message CustomThemeConfig - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - CustomThemeConfig.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.fontFaces = []; - if (options.defaults) { - object.primaryColor = ""; - object.secondaryBackgroundColor = ""; - object.backgroundColor = ""; - object.textColor = ""; - object.font = options.enums === String ? "SANS_SERIF" : 0; - object.base = options.enums === String ? "LIGHT" : 0; - object.widgetBackgroundColor = ""; - object.widgetBorderColor = ""; - object.radii = null; - object.bodyFont = ""; - object.codeFont = ""; - object.fontSizes = null; - } - if (message.primaryColor != null && message.hasOwnProperty("primaryColor")) - object.primaryColor = message.primaryColor; - if (message.secondaryBackgroundColor != null && message.hasOwnProperty("secondaryBackgroundColor")) - object.secondaryBackgroundColor = message.secondaryBackgroundColor; - if (message.backgroundColor != null && message.hasOwnProperty("backgroundColor")) - object.backgroundColor = message.backgroundColor; - if (message.textColor != null && message.hasOwnProperty("textColor")) - object.textColor = message.textColor; - if (message.font != null && message.hasOwnProperty("font")) - object.font = options.enums === String ? $root.CustomThemeConfig.FontFamily[message.font] === undefined ? message.font : $root.CustomThemeConfig.FontFamily[message.font] : message.font; - if (message.base != null && message.hasOwnProperty("base")) - object.base = options.enums === String ? $root.CustomThemeConfig.BaseTheme[message.base] === undefined ? message.base : $root.CustomThemeConfig.BaseTheme[message.base] : message.base; - if (message.widgetBackgroundColor != null && message.hasOwnProperty("widgetBackgroundColor")) - object.widgetBackgroundColor = message.widgetBackgroundColor; - if (message.widgetBorderColor != null && message.hasOwnProperty("widgetBorderColor")) - object.widgetBorderColor = message.widgetBorderColor; - if (message.radii != null && message.hasOwnProperty("radii")) - object.radii = $root.Radii.toObject(message.radii, options); - if (message.bodyFont != null && message.hasOwnProperty("bodyFont")) - object.bodyFont = message.bodyFont; - if (message.codeFont != null && message.hasOwnProperty("codeFont")) - object.codeFont = message.codeFont; - if (message.fontFaces && message.fontFaces.length) { - object.fontFaces = []; - for (let j = 0; j < message.fontFaces.length; ++j) - object.fontFaces[j] = $root.FontFace.toObject(message.fontFaces[j], options); - } - if (message.fontSizes != null && message.hasOwnProperty("fontSizes")) - object.fontSizes = $root.FontSizes.toObject(message.fontSizes, options); - return object; - }; - - /** - * Converts this CustomThemeConfig to JSON. - * @function toJSON - * @memberof CustomThemeConfig - * @instance - * @returns {Object.} JSON object - */ - CustomThemeConfig.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for CustomThemeConfig - * @function getTypeUrl - * @memberof CustomThemeConfig - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - CustomThemeConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/CustomThemeConfig"; - }; - - /** - * BaseTheme enum. - * @name CustomThemeConfig.BaseTheme - * @enum {number} - * @property {number} LIGHT=0 LIGHT value - * @property {number} DARK=1 DARK value - */ - CustomThemeConfig.BaseTheme = (function() { - const valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "LIGHT"] = 0; - values[valuesById[1] = "DARK"] = 1; - return values; - })(); - - /** - * FontFamily enum. - * @name CustomThemeConfig.FontFamily - * @enum {number} - * @property {number} SANS_SERIF=0 SANS_SERIF value - * @property {number} SERIF=1 SERIF value - * @property {number} MONOSPACE=2 MONOSPACE value - */ - CustomThemeConfig.FontFamily = (function() { - const valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "SANS_SERIF"] = 0; - values[valuesById[1] = "SERIF"] = 1; - values[valuesById[2] = "MONOSPACE"] = 2; - return values; - })(); - - return CustomThemeConfig; -})(); - -export const FontFace = $root.FontFace = (() => { - - /** - * Properties of a FontFace. - * @exports IFontFace - * @interface IFontFace - * @property {string|null} [url] FontFace url - * @property {string|null} [family] FontFace family - * @property {number|null} [weight] FontFace weight - * @property {string|null} [style] FontFace style - */ - - /** - * Constructs a new FontFace. - * @exports FontFace - * @classdesc Represents a FontFace. - * @implements IFontFace - * @constructor - * @param {IFontFace=} [properties] Properties to set - */ - function FontFace(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * FontFace url. - * @member {string} url - * @memberof FontFace - * @instance - */ - FontFace.prototype.url = ""; - - /** - * FontFace family. - * @member {string} family - * @memberof FontFace - * @instance - */ - FontFace.prototype.family = ""; - - /** - * FontFace weight. - * @member {number} weight - * @memberof FontFace - * @instance - */ - FontFace.prototype.weight = 0; - - /** - * FontFace style. - * @member {string} style - * @memberof FontFace - * @instance - */ - FontFace.prototype.style = ""; - - /** - * Creates a new FontFace instance using the specified properties. - * @function create - * @memberof FontFace - * @static - * @param {IFontFace=} [properties] Properties to set - * @returns {FontFace} FontFace instance - */ - FontFace.create = function create(properties) { - return new FontFace(properties); - }; - - /** - * Encodes the specified FontFace message. Does not implicitly {@link FontFace.verify|verify} messages. - * @function encode - * @memberof FontFace - * @static - * @param {IFontFace} message FontFace message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FontFace.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.url != null && Object.hasOwnProperty.call(message, "url")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.url); - if (message.family != null && Object.hasOwnProperty.call(message, "family")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.family); - if (message.weight != null && Object.hasOwnProperty.call(message, "weight")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.weight); - if (message.style != null && Object.hasOwnProperty.call(message, "style")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.style); - return writer; - }; - - /** - * Encodes the specified FontFace message, length delimited. Does not implicitly {@link FontFace.verify|verify} messages. - * @function encodeDelimited - * @memberof FontFace - * @static - * @param {IFontFace} message FontFace message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FontFace.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a FontFace message from the specified reader or buffer. - * @function decode - * @memberof FontFace - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {FontFace} FontFace - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FontFace.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.FontFace(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.url = reader.string(); - break; - } - case 2: { - message.family = reader.string(); - break; - } - case 3: { - message.weight = reader.int32(); - break; - } - case 4: { - message.style = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a FontFace message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof FontFace - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {FontFace} FontFace - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FontFace.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a FontFace message. - * @function verify - * @memberof FontFace - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - FontFace.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.url != null && message.hasOwnProperty("url")) - if (!$util.isString(message.url)) - return "url: string expected"; - if (message.family != null && message.hasOwnProperty("family")) - if (!$util.isString(message.family)) - return "family: string expected"; - if (message.weight != null && message.hasOwnProperty("weight")) - if (!$util.isInteger(message.weight)) - return "weight: integer expected"; - if (message.style != null && message.hasOwnProperty("style")) - if (!$util.isString(message.style)) - return "style: string expected"; - return null; - }; - - /** - * Creates a FontFace message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof FontFace - * @static - * @param {Object.} object Plain object - * @returns {FontFace} FontFace - */ - FontFace.fromObject = function fromObject(object) { - if (object instanceof $root.FontFace) - return object; - let message = new $root.FontFace(); - if (object.url != null) - message.url = String(object.url); - if (object.family != null) - message.family = String(object.family); - if (object.weight != null) - message.weight = object.weight | 0; - if (object.style != null) - message.style = String(object.style); - return message; - }; - - /** - * Creates a plain object from a FontFace message. Also converts values to other types if specified. - * @function toObject - * @memberof FontFace - * @static - * @param {FontFace} message FontFace - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - FontFace.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.url = ""; - object.family = ""; - object.weight = 0; - object.style = ""; - } - if (message.url != null && message.hasOwnProperty("url")) - object.url = message.url; - if (message.family != null && message.hasOwnProperty("family")) - object.family = message.family; - if (message.weight != null && message.hasOwnProperty("weight")) - object.weight = message.weight; - if (message.style != null && message.hasOwnProperty("style")) - object.style = message.style; - return object; - }; - - /** - * Converts this FontFace to JSON. - * @function toJSON - * @memberof FontFace - * @instance - * @returns {Object.} JSON object - */ - FontFace.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for FontFace - * @function getTypeUrl - * @memberof FontFace - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - FontFace.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/FontFace"; - }; - - return FontFace; -})(); - -export const Radii = $root.Radii = (() => { - - /** - * Properties of a Radii. - * @exports IRadii - * @interface IRadii - * @property {number|null} [baseWidgetRadius] Radii baseWidgetRadius - * @property {number|null} [checkboxRadius] Radii checkboxRadius - */ - - /** - * Constructs a new Radii. - * @exports Radii - * @classdesc Represents a Radii. - * @implements IRadii - * @constructor - * @param {IRadii=} [properties] Properties to set - */ - function Radii(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Radii baseWidgetRadius. - * @member {number} baseWidgetRadius - * @memberof Radii - * @instance - */ - Radii.prototype.baseWidgetRadius = 0; - - /** - * Radii checkboxRadius. - * @member {number} checkboxRadius - * @memberof Radii - * @instance - */ - Radii.prototype.checkboxRadius = 0; - - /** - * Creates a new Radii instance using the specified properties. - * @function create - * @memberof Radii - * @static - * @param {IRadii=} [properties] Properties to set - * @returns {Radii} Radii instance - */ - Radii.create = function create(properties) { - return new Radii(properties); - }; - - /** - * Encodes the specified Radii message. Does not implicitly {@link Radii.verify|verify} messages. - * @function encode - * @memberof Radii - * @static - * @param {IRadii} message Radii message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Radii.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.baseWidgetRadius != null && Object.hasOwnProperty.call(message, "baseWidgetRadius")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.baseWidgetRadius); - if (message.checkboxRadius != null && Object.hasOwnProperty.call(message, "checkboxRadius")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.checkboxRadius); - return writer; - }; - - /** - * Encodes the specified Radii message, length delimited. Does not implicitly {@link Radii.verify|verify} messages. - * @function encodeDelimited - * @memberof Radii - * @static - * @param {IRadii} message Radii message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Radii.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Radii message from the specified reader or buffer. - * @function decode - * @memberof Radii - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Radii} Radii - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Radii.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Radii(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.baseWidgetRadius = reader.int32(); - break; - } - case 2: { - message.checkboxRadius = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Radii message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Radii - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Radii} Radii - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Radii.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Radii message. - * @function verify - * @memberof Radii - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Radii.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.baseWidgetRadius != null && message.hasOwnProperty("baseWidgetRadius")) - if (!$util.isInteger(message.baseWidgetRadius)) - return "baseWidgetRadius: integer expected"; - if (message.checkboxRadius != null && message.hasOwnProperty("checkboxRadius")) - if (!$util.isInteger(message.checkboxRadius)) - return "checkboxRadius: integer expected"; - return null; - }; - - /** - * Creates a Radii message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Radii - * @static - * @param {Object.} object Plain object - * @returns {Radii} Radii - */ - Radii.fromObject = function fromObject(object) { - if (object instanceof $root.Radii) - return object; - let message = new $root.Radii(); - if (object.baseWidgetRadius != null) - message.baseWidgetRadius = object.baseWidgetRadius | 0; - if (object.checkboxRadius != null) - message.checkboxRadius = object.checkboxRadius | 0; - return message; - }; - - /** - * Creates a plain object from a Radii message. Also converts values to other types if specified. - * @function toObject - * @memberof Radii - * @static - * @param {Radii} message Radii - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Radii.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.baseWidgetRadius = 0; - object.checkboxRadius = 0; - } - if (message.baseWidgetRadius != null && message.hasOwnProperty("baseWidgetRadius")) - object.baseWidgetRadius = message.baseWidgetRadius; - if (message.checkboxRadius != null && message.hasOwnProperty("checkboxRadius")) - object.checkboxRadius = message.checkboxRadius; - return object; - }; - - /** - * Converts this Radii to JSON. - * @function toJSON - * @memberof Radii - * @instance - * @returns {Object.} JSON object - */ - Radii.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Radii - * @function getTypeUrl - * @memberof Radii - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Radii.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Radii"; - }; - - return Radii; -})(); - -export const FontSizes = $root.FontSizes = (() => { - - /** - * Properties of a FontSizes. - * @exports IFontSizes - * @interface IFontSizes - * @property {number|null} [tinyFontSize] FontSizes tinyFontSize - * @property {number|null} [smallFontSize] FontSizes smallFontSize - * @property {number|null} [baseFontSize] FontSizes baseFontSize - */ - - /** - * Constructs a new FontSizes. - * @exports FontSizes - * @classdesc Represents a FontSizes. - * @implements IFontSizes - * @constructor - * @param {IFontSizes=} [properties] Properties to set - */ - function FontSizes(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * FontSizes tinyFontSize. - * @member {number} tinyFontSize - * @memberof FontSizes - * @instance - */ - FontSizes.prototype.tinyFontSize = 0; - - /** - * FontSizes smallFontSize. - * @member {number} smallFontSize - * @memberof FontSizes - * @instance - */ - FontSizes.prototype.smallFontSize = 0; - - /** - * FontSizes baseFontSize. - * @member {number} baseFontSize - * @memberof FontSizes - * @instance - */ - FontSizes.prototype.baseFontSize = 0; - - /** - * Creates a new FontSizes instance using the specified properties. - * @function create - * @memberof FontSizes - * @static - * @param {IFontSizes=} [properties] Properties to set - * @returns {FontSizes} FontSizes instance - */ - FontSizes.create = function create(properties) { - return new FontSizes(properties); - }; - - /** - * Encodes the specified FontSizes message. Does not implicitly {@link FontSizes.verify|verify} messages. - * @function encode - * @memberof FontSizes - * @static - * @param {IFontSizes} message FontSizes message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FontSizes.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.tinyFontSize != null && Object.hasOwnProperty.call(message, "tinyFontSize")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.tinyFontSize); - if (message.smallFontSize != null && Object.hasOwnProperty.call(message, "smallFontSize")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.smallFontSize); - if (message.baseFontSize != null && Object.hasOwnProperty.call(message, "baseFontSize")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.baseFontSize); - return writer; - }; - - /** - * Encodes the specified FontSizes message, length delimited. Does not implicitly {@link FontSizes.verify|verify} messages. - * @function encodeDelimited - * @memberof FontSizes - * @static - * @param {IFontSizes} message FontSizes message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FontSizes.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a FontSizes message from the specified reader or buffer. - * @function decode - * @memberof FontSizes - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {FontSizes} FontSizes - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FontSizes.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.FontSizes(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.tinyFontSize = reader.int32(); - break; - } - case 2: { - message.smallFontSize = reader.int32(); - break; - } - case 3: { - message.baseFontSize = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a FontSizes message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof FontSizes - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {FontSizes} FontSizes - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FontSizes.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a FontSizes message. - * @function verify - * @memberof FontSizes - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - FontSizes.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.tinyFontSize != null && message.hasOwnProperty("tinyFontSize")) - if (!$util.isInteger(message.tinyFontSize)) - return "tinyFontSize: integer expected"; - if (message.smallFontSize != null && message.hasOwnProperty("smallFontSize")) - if (!$util.isInteger(message.smallFontSize)) - return "smallFontSize: integer expected"; - if (message.baseFontSize != null && message.hasOwnProperty("baseFontSize")) - if (!$util.isInteger(message.baseFontSize)) - return "baseFontSize: integer expected"; - return null; - }; - - /** - * Creates a FontSizes message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof FontSizes - * @static - * @param {Object.} object Plain object - * @returns {FontSizes} FontSizes - */ - FontSizes.fromObject = function fromObject(object) { - if (object instanceof $root.FontSizes) - return object; - let message = new $root.FontSizes(); - if (object.tinyFontSize != null) - message.tinyFontSize = object.tinyFontSize | 0; - if (object.smallFontSize != null) - message.smallFontSize = object.smallFontSize | 0; - if (object.baseFontSize != null) - message.baseFontSize = object.baseFontSize | 0; - return message; - }; - - /** - * Creates a plain object from a FontSizes message. Also converts values to other types if specified. - * @function toObject - * @memberof FontSizes - * @static - * @param {FontSizes} message FontSizes - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - FontSizes.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.tinyFontSize = 0; - object.smallFontSize = 0; - object.baseFontSize = 0; - } - if (message.tinyFontSize != null && message.hasOwnProperty("tinyFontSize")) - object.tinyFontSize = message.tinyFontSize; - if (message.smallFontSize != null && message.hasOwnProperty("smallFontSize")) - object.smallFontSize = message.smallFontSize; - if (message.baseFontSize != null && message.hasOwnProperty("baseFontSize")) - object.baseFontSize = message.baseFontSize; - return object; - }; - - /** - * Converts this FontSizes to JSON. - * @function toJSON - * @memberof FontSizes - * @instance - * @returns {Object.} JSON object - */ - FontSizes.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for FontSizes - * @function getTypeUrl - * @memberof FontSizes - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - FontSizes.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/FontSizes"; - }; - - return FontSizes; -})(); - -export const UserInfo = $root.UserInfo = (() => { - - /** - * Properties of a UserInfo. - * @exports IUserInfo - * @interface IUserInfo - * @property {string|null} [installationId] UserInfo installationId - * @property {string|null} [installationIdV3] UserInfo installationIdV3 - */ - - /** - * Constructs a new UserInfo. - * @exports UserInfo - * @classdesc Represents a UserInfo. - * @implements IUserInfo - * @constructor - * @param {IUserInfo=} [properties] Properties to set - */ - function UserInfo(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * UserInfo installationId. - * @member {string} installationId - * @memberof UserInfo - * @instance - */ - UserInfo.prototype.installationId = ""; - - /** - * UserInfo installationIdV3. - * @member {string} installationIdV3 - * @memberof UserInfo - * @instance - */ - UserInfo.prototype.installationIdV3 = ""; - - /** - * Creates a new UserInfo instance using the specified properties. - * @function create - * @memberof UserInfo - * @static - * @param {IUserInfo=} [properties] Properties to set - * @returns {UserInfo} UserInfo instance - */ - UserInfo.create = function create(properties) { - return new UserInfo(properties); - }; - - /** - * Encodes the specified UserInfo message. Does not implicitly {@link UserInfo.verify|verify} messages. - * @function encode - * @memberof UserInfo - * @static - * @param {IUserInfo} message UserInfo message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - UserInfo.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.installationId != null && Object.hasOwnProperty.call(message, "installationId")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.installationId); - if (message.installationIdV3 != null && Object.hasOwnProperty.call(message, "installationIdV3")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.installationIdV3); - return writer; - }; - - /** - * Encodes the specified UserInfo message, length delimited. Does not implicitly {@link UserInfo.verify|verify} messages. - * @function encodeDelimited - * @memberof UserInfo - * @static - * @param {IUserInfo} message UserInfo message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - UserInfo.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a UserInfo message from the specified reader or buffer. - * @function decode - * @memberof UserInfo - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {UserInfo} UserInfo - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - UserInfo.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserInfo(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.installationId = reader.string(); - break; - } - case 5: { - message.installationIdV3 = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a UserInfo message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof UserInfo - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {UserInfo} UserInfo - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - UserInfo.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a UserInfo message. - * @function verify - * @memberof UserInfo - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - UserInfo.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.installationId != null && message.hasOwnProperty("installationId")) - if (!$util.isString(message.installationId)) - return "installationId: string expected"; - if (message.installationIdV3 != null && message.hasOwnProperty("installationIdV3")) - if (!$util.isString(message.installationIdV3)) - return "installationIdV3: string expected"; - return null; - }; - - /** - * Creates a UserInfo message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof UserInfo - * @static - * @param {Object.} object Plain object - * @returns {UserInfo} UserInfo - */ - UserInfo.fromObject = function fromObject(object) { - if (object instanceof $root.UserInfo) - return object; - let message = new $root.UserInfo(); - if (object.installationId != null) - message.installationId = String(object.installationId); - if (object.installationIdV3 != null) - message.installationIdV3 = String(object.installationIdV3); - return message; - }; - - /** - * Creates a plain object from a UserInfo message. Also converts values to other types if specified. - * @function toObject - * @memberof UserInfo - * @static - * @param {UserInfo} message UserInfo - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - UserInfo.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.installationId = ""; - object.installationIdV3 = ""; - } - if (message.installationId != null && message.hasOwnProperty("installationId")) - object.installationId = message.installationId; - if (message.installationIdV3 != null && message.hasOwnProperty("installationIdV3")) - object.installationIdV3 = message.installationIdV3; - return object; - }; - - /** - * Converts this UserInfo to JSON. - * @function toJSON - * @memberof UserInfo - * @instance - * @returns {Object.} JSON object - */ - UserInfo.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for UserInfo - * @function getTypeUrl - * @memberof UserInfo - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - UserInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/UserInfo"; - }; - - return UserInfo; -})(); - -export const EnvironmentInfo = $root.EnvironmentInfo = (() => { - - /** - * Properties of an EnvironmentInfo. - * @exports IEnvironmentInfo - * @interface IEnvironmentInfo - * @property {string|null} [streamlitVersion] EnvironmentInfo streamlitVersion - * @property {string|null} [pythonVersion] EnvironmentInfo pythonVersion - */ - - /** - * Constructs a new EnvironmentInfo. - * @exports EnvironmentInfo - * @classdesc Represents an EnvironmentInfo. - * @implements IEnvironmentInfo - * @constructor - * @param {IEnvironmentInfo=} [properties] Properties to set - */ - function EnvironmentInfo(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * EnvironmentInfo streamlitVersion. - * @member {string} streamlitVersion - * @memberof EnvironmentInfo - * @instance - */ - EnvironmentInfo.prototype.streamlitVersion = ""; - - /** - * EnvironmentInfo pythonVersion. - * @member {string} pythonVersion - * @memberof EnvironmentInfo - * @instance - */ - EnvironmentInfo.prototype.pythonVersion = ""; - - /** - * Creates a new EnvironmentInfo instance using the specified properties. - * @function create - * @memberof EnvironmentInfo - * @static - * @param {IEnvironmentInfo=} [properties] Properties to set - * @returns {EnvironmentInfo} EnvironmentInfo instance - */ - EnvironmentInfo.create = function create(properties) { - return new EnvironmentInfo(properties); - }; - - /** - * Encodes the specified EnvironmentInfo message. Does not implicitly {@link EnvironmentInfo.verify|verify} messages. - * @function encode - * @memberof EnvironmentInfo - * @static - * @param {IEnvironmentInfo} message EnvironmentInfo message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - EnvironmentInfo.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.streamlitVersion != null && Object.hasOwnProperty.call(message, "streamlitVersion")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.streamlitVersion); - if (message.pythonVersion != null && Object.hasOwnProperty.call(message, "pythonVersion")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.pythonVersion); - return writer; - }; - - /** - * Encodes the specified EnvironmentInfo message, length delimited. Does not implicitly {@link EnvironmentInfo.verify|verify} messages. - * @function encodeDelimited - * @memberof EnvironmentInfo - * @static - * @param {IEnvironmentInfo} message EnvironmentInfo message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - EnvironmentInfo.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an EnvironmentInfo message from the specified reader or buffer. - * @function decode - * @memberof EnvironmentInfo - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {EnvironmentInfo} EnvironmentInfo - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - EnvironmentInfo.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.EnvironmentInfo(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.streamlitVersion = reader.string(); - break; - } - case 2: { - message.pythonVersion = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an EnvironmentInfo message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof EnvironmentInfo - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {EnvironmentInfo} EnvironmentInfo - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - EnvironmentInfo.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an EnvironmentInfo message. - * @function verify - * @memberof EnvironmentInfo - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - EnvironmentInfo.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.streamlitVersion != null && message.hasOwnProperty("streamlitVersion")) - if (!$util.isString(message.streamlitVersion)) - return "streamlitVersion: string expected"; - if (message.pythonVersion != null && message.hasOwnProperty("pythonVersion")) - if (!$util.isString(message.pythonVersion)) - return "pythonVersion: string expected"; - return null; - }; - - /** - * Creates an EnvironmentInfo message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof EnvironmentInfo - * @static - * @param {Object.} object Plain object - * @returns {EnvironmentInfo} EnvironmentInfo - */ - EnvironmentInfo.fromObject = function fromObject(object) { - if (object instanceof $root.EnvironmentInfo) - return object; - let message = new $root.EnvironmentInfo(); - if (object.streamlitVersion != null) - message.streamlitVersion = String(object.streamlitVersion); - if (object.pythonVersion != null) - message.pythonVersion = String(object.pythonVersion); - return message; - }; - - /** - * Creates a plain object from an EnvironmentInfo message. Also converts values to other types if specified. - * @function toObject - * @memberof EnvironmentInfo - * @static - * @param {EnvironmentInfo} message EnvironmentInfo - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - EnvironmentInfo.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.streamlitVersion = ""; - object.pythonVersion = ""; - } - if (message.streamlitVersion != null && message.hasOwnProperty("streamlitVersion")) - object.streamlitVersion = message.streamlitVersion; - if (message.pythonVersion != null && message.hasOwnProperty("pythonVersion")) - object.pythonVersion = message.pythonVersion; - return object; - }; - - /** - * Converts this EnvironmentInfo to JSON. - * @function toJSON - * @memberof EnvironmentInfo - * @instance - * @returns {Object.} JSON object - */ - EnvironmentInfo.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for EnvironmentInfo - * @function getTypeUrl - * @memberof EnvironmentInfo - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - EnvironmentInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/EnvironmentInfo"; - }; - - return EnvironmentInfo; -})(); - -export const NumberInput = $root.NumberInput = (() => { - - /** - * Properties of a NumberInput. - * @exports INumberInput - * @interface INumberInput - * @property {string|null} [id] NumberInput id - * @property {string|null} [label] NumberInput label - * @property {string|null} [formId] NumberInput formId - * @property {string|null} [format] NumberInput format - * @property {boolean|null} [hasMin] NumberInput hasMin - * @property {boolean|null} [hasMax] NumberInput hasMax - * @property {NumberInput.DataType|null} [dataType] NumberInput dataType - * @property {number|null} ["default"] NumberInput default - * @property {number|null} [step] NumberInput step - * @property {number|null} [min] NumberInput min - * @property {number|null} [max] NumberInput max - * @property {string|null} [help] NumberInput help - * @property {number|null} [value] NumberInput value - * @property {boolean|null} [setValue] NumberInput setValue - * @property {boolean|null} [disabled] NumberInput disabled - * @property {ILabelVisibilityMessage|null} [labelVisibility] NumberInput labelVisibility - */ - - /** - * Constructs a new NumberInput. - * @exports NumberInput - * @classdesc Represents a NumberInput. - * @implements INumberInput - * @constructor - * @param {INumberInput=} [properties] Properties to set - */ - function NumberInput(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * NumberInput id. - * @member {string} id - * @memberof NumberInput - * @instance - */ - NumberInput.prototype.id = ""; - - /** - * NumberInput label. - * @member {string} label - * @memberof NumberInput - * @instance - */ - NumberInput.prototype.label = ""; - - /** - * NumberInput formId. - * @member {string} formId - * @memberof NumberInput - * @instance - */ - NumberInput.prototype.formId = ""; - - /** - * NumberInput format. - * @member {string} format - * @memberof NumberInput - * @instance - */ - NumberInput.prototype.format = ""; - - /** - * NumberInput hasMin. - * @member {boolean} hasMin - * @memberof NumberInput - * @instance - */ - NumberInput.prototype.hasMin = false; - - /** - * NumberInput hasMax. - * @member {boolean} hasMax - * @memberof NumberInput - * @instance - */ - NumberInput.prototype.hasMax = false; - - /** - * NumberInput dataType. - * @member {NumberInput.DataType} dataType - * @memberof NumberInput - * @instance - */ - NumberInput.prototype.dataType = 0; - - /** - * NumberInput default. - * @member {number} default - * @memberof NumberInput - * @instance - */ - NumberInput.prototype["default"] = 0; - - /** - * NumberInput step. - * @member {number} step - * @memberof NumberInput - * @instance - */ - NumberInput.prototype.step = 0; - - /** - * NumberInput min. - * @member {number} min - * @memberof NumberInput - * @instance - */ - NumberInput.prototype.min = 0; - - /** - * NumberInput max. - * @member {number} max - * @memberof NumberInput - * @instance - */ - NumberInput.prototype.max = 0; - - /** - * NumberInput help. - * @member {string} help - * @memberof NumberInput - * @instance - */ - NumberInput.prototype.help = ""; - - /** - * NumberInput value. - * @member {number} value - * @memberof NumberInput - * @instance - */ - NumberInput.prototype.value = 0; - - /** - * NumberInput setValue. - * @member {boolean} setValue - * @memberof NumberInput - * @instance - */ - NumberInput.prototype.setValue = false; - - /** - * NumberInput disabled. - * @member {boolean} disabled - * @memberof NumberInput - * @instance - */ - NumberInput.prototype.disabled = false; - - /** - * NumberInput labelVisibility. - * @member {ILabelVisibilityMessage|null|undefined} labelVisibility - * @memberof NumberInput - * @instance - */ - NumberInput.prototype.labelVisibility = null; - - /** - * Creates a new NumberInput instance using the specified properties. - * @function create - * @memberof NumberInput - * @static - * @param {INumberInput=} [properties] Properties to set - * @returns {NumberInput} NumberInput instance - */ - NumberInput.create = function create(properties) { - return new NumberInput(properties); - }; - - /** - * Encodes the specified NumberInput message. Does not implicitly {@link NumberInput.verify|verify} messages. - * @function encode - * @memberof NumberInput - * @static - * @param {INumberInput} message NumberInput message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - NumberInput.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.id != null && Object.hasOwnProperty.call(message, "id")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); - if (message.label != null && Object.hasOwnProperty.call(message, "label")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.label); - if (message.formId != null && Object.hasOwnProperty.call(message, "formId")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.formId); - if (message.format != null && Object.hasOwnProperty.call(message, "format")) - writer.uint32(/* id 8, wireType 2 =*/66).string(message.format); - if (message.hasMin != null && Object.hasOwnProperty.call(message, "hasMin")) - writer.uint32(/* id 11, wireType 0 =*/88).bool(message.hasMin); - if (message.hasMax != null && Object.hasOwnProperty.call(message, "hasMax")) - writer.uint32(/* id 12, wireType 0 =*/96).bool(message.hasMax); - if (message.dataType != null && Object.hasOwnProperty.call(message, "dataType")) - writer.uint32(/* id 13, wireType 0 =*/104).int32(message.dataType); - if (message["default"] != null && Object.hasOwnProperty.call(message, "default")) - writer.uint32(/* id 14, wireType 1 =*/113).double(message["default"]); - if (message.step != null && Object.hasOwnProperty.call(message, "step")) - writer.uint32(/* id 15, wireType 1 =*/121).double(message.step); - if (message.min != null && Object.hasOwnProperty.call(message, "min")) - writer.uint32(/* id 16, wireType 1 =*/129).double(message.min); - if (message.max != null && Object.hasOwnProperty.call(message, "max")) - writer.uint32(/* id 17, wireType 1 =*/137).double(message.max); - if (message.help != null && Object.hasOwnProperty.call(message, "help")) - writer.uint32(/* id 18, wireType 2 =*/146).string(message.help); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - writer.uint32(/* id 19, wireType 1 =*/153).double(message.value); - if (message.setValue != null && Object.hasOwnProperty.call(message, "setValue")) - writer.uint32(/* id 20, wireType 0 =*/160).bool(message.setValue); - if (message.disabled != null && Object.hasOwnProperty.call(message, "disabled")) - writer.uint32(/* id 21, wireType 0 =*/168).bool(message.disabled); - if (message.labelVisibility != null && Object.hasOwnProperty.call(message, "labelVisibility")) - $root.LabelVisibilityMessage.encode(message.labelVisibility, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified NumberInput message, length delimited. Does not implicitly {@link NumberInput.verify|verify} messages. - * @function encodeDelimited - * @memberof NumberInput - * @static - * @param {INumberInput} message NumberInput message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - NumberInput.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a NumberInput message from the specified reader or buffer. - * @function decode - * @memberof NumberInput - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {NumberInput} NumberInput - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - NumberInput.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.NumberInput(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.id = reader.string(); - break; - } - case 2: { - message.label = reader.string(); - break; - } - case 3: { - message.formId = reader.string(); - break; - } - case 8: { - message.format = reader.string(); - break; - } - case 11: { - message.hasMin = reader.bool(); - break; - } - case 12: { - message.hasMax = reader.bool(); - break; - } - case 13: { - message.dataType = reader.int32(); - break; - } - case 14: { - message["default"] = reader.double(); - break; - } - case 15: { - message.step = reader.double(); - break; - } - case 16: { - message.min = reader.double(); - break; - } - case 17: { - message.max = reader.double(); - break; - } - case 18: { - message.help = reader.string(); - break; - } - case 19: { - message.value = reader.double(); - break; - } - case 20: { - message.setValue = reader.bool(); - break; - } - case 21: { - message.disabled = reader.bool(); - break; - } - case 22: { - message.labelVisibility = $root.LabelVisibilityMessage.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a NumberInput message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof NumberInput - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {NumberInput} NumberInput - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - NumberInput.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a NumberInput message. - * @function verify - * @memberof NumberInput - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - NumberInput.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isString(message.id)) - return "id: string expected"; - if (message.label != null && message.hasOwnProperty("label")) - if (!$util.isString(message.label)) - return "label: string expected"; - if (message.formId != null && message.hasOwnProperty("formId")) - if (!$util.isString(message.formId)) - return "formId: string expected"; - if (message.format != null && message.hasOwnProperty("format")) - if (!$util.isString(message.format)) - return "format: string expected"; - if (message.hasMin != null && message.hasOwnProperty("hasMin")) - if (typeof message.hasMin !== "boolean") - return "hasMin: boolean expected"; - if (message.hasMax != null && message.hasOwnProperty("hasMax")) - if (typeof message.hasMax !== "boolean") - return "hasMax: boolean expected"; - if (message.dataType != null && message.hasOwnProperty("dataType")) - switch (message.dataType) { - default: - return "dataType: enum value expected"; - case 0: - case 1: - break; - } - if (message["default"] != null && message.hasOwnProperty("default")) - if (typeof message["default"] !== "number") - return "default: number expected"; - if (message.step != null && message.hasOwnProperty("step")) - if (typeof message.step !== "number") - return "step: number expected"; - if (message.min != null && message.hasOwnProperty("min")) - if (typeof message.min !== "number") - return "min: number expected"; - if (message.max != null && message.hasOwnProperty("max")) - if (typeof message.max !== "number") - return "max: number expected"; - if (message.help != null && message.hasOwnProperty("help")) - if (!$util.isString(message.help)) - return "help: string expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (typeof message.value !== "number") - return "value: number expected"; - if (message.setValue != null && message.hasOwnProperty("setValue")) - if (typeof message.setValue !== "boolean") - return "setValue: boolean expected"; - if (message.disabled != null && message.hasOwnProperty("disabled")) - if (typeof message.disabled !== "boolean") - return "disabled: boolean expected"; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) { - let error = $root.LabelVisibilityMessage.verify(message.labelVisibility); - if (error) - return "labelVisibility." + error; - } - return null; - }; - - /** - * Creates a NumberInput message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof NumberInput - * @static - * @param {Object.} object Plain object - * @returns {NumberInput} NumberInput - */ - NumberInput.fromObject = function fromObject(object) { - if (object instanceof $root.NumberInput) - return object; - let message = new $root.NumberInput(); - if (object.id != null) - message.id = String(object.id); - if (object.label != null) - message.label = String(object.label); - if (object.formId != null) - message.formId = String(object.formId); - if (object.format != null) - message.format = String(object.format); - if (object.hasMin != null) - message.hasMin = Boolean(object.hasMin); - if (object.hasMax != null) - message.hasMax = Boolean(object.hasMax); - switch (object.dataType) { - default: - if (typeof object.dataType === "number") { - message.dataType = object.dataType; - break; - } - break; - case "INT": - case 0: - message.dataType = 0; - break; - case "FLOAT": - case 1: - message.dataType = 1; - break; - } - if (object["default"] != null) - message["default"] = Number(object["default"]); - if (object.step != null) - message.step = Number(object.step); - if (object.min != null) - message.min = Number(object.min); - if (object.max != null) - message.max = Number(object.max); - if (object.help != null) - message.help = String(object.help); - if (object.value != null) - message.value = Number(object.value); - if (object.setValue != null) - message.setValue = Boolean(object.setValue); - if (object.disabled != null) - message.disabled = Boolean(object.disabled); - if (object.labelVisibility != null) { - if (typeof object.labelVisibility !== "object") - throw TypeError(".NumberInput.labelVisibility: object expected"); - message.labelVisibility = $root.LabelVisibilityMessage.fromObject(object.labelVisibility); - } - return message; - }; - - /** - * Creates a plain object from a NumberInput message. Also converts values to other types if specified. - * @function toObject - * @memberof NumberInput - * @static - * @param {NumberInput} message NumberInput - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - NumberInput.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.id = ""; - object.label = ""; - object.formId = ""; - object.format = ""; - object.hasMin = false; - object.hasMax = false; - object.dataType = options.enums === String ? "INT" : 0; - object["default"] = 0; - object.step = 0; - object.min = 0; - object.max = 0; - object.help = ""; - object.value = 0; - object.setValue = false; - object.disabled = false; - object.labelVisibility = null; - } - if (message.id != null && message.hasOwnProperty("id")) - object.id = message.id; - if (message.label != null && message.hasOwnProperty("label")) - object.label = message.label; - if (message.formId != null && message.hasOwnProperty("formId")) - object.formId = message.formId; - if (message.format != null && message.hasOwnProperty("format")) - object.format = message.format; - if (message.hasMin != null && message.hasOwnProperty("hasMin")) - object.hasMin = message.hasMin; - if (message.hasMax != null && message.hasOwnProperty("hasMax")) - object.hasMax = message.hasMax; - if (message.dataType != null && message.hasOwnProperty("dataType")) - object.dataType = options.enums === String ? $root.NumberInput.DataType[message.dataType] === undefined ? message.dataType : $root.NumberInput.DataType[message.dataType] : message.dataType; - if (message["default"] != null && message.hasOwnProperty("default")) - object["default"] = options.json && !isFinite(message["default"]) ? String(message["default"]) : message["default"]; - if (message.step != null && message.hasOwnProperty("step")) - object.step = options.json && !isFinite(message.step) ? String(message.step) : message.step; - if (message.min != null && message.hasOwnProperty("min")) - object.min = options.json && !isFinite(message.min) ? String(message.min) : message.min; - if (message.max != null && message.hasOwnProperty("max")) - object.max = options.json && !isFinite(message.max) ? String(message.max) : message.max; - if (message.help != null && message.hasOwnProperty("help")) - object.help = message.help; - if (message.value != null && message.hasOwnProperty("value")) - object.value = options.json && !isFinite(message.value) ? String(message.value) : message.value; - if (message.setValue != null && message.hasOwnProperty("setValue")) - object.setValue = message.setValue; - if (message.disabled != null && message.hasOwnProperty("disabled")) - object.disabled = message.disabled; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) - object.labelVisibility = $root.LabelVisibilityMessage.toObject(message.labelVisibility, options); - return object; - }; - - /** - * Converts this NumberInput to JSON. - * @function toJSON - * @memberof NumberInput - * @instance - * @returns {Object.} JSON object - */ - NumberInput.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for NumberInput - * @function getTypeUrl - * @memberof NumberInput - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - NumberInput.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/NumberInput"; - }; - - /** - * DataType enum. - * @name NumberInput.DataType - * @enum {number} - * @property {number} INT=0 INT value - * @property {number} FLOAT=1 FLOAT value - */ - NumberInput.DataType = (function() { - const valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "INT"] = 0; - values[valuesById[1] = "FLOAT"] = 1; - return values; - })(); - - return NumberInput; -})(); - -export const PageConfig = $root.PageConfig = (() => { - - /** - * Properties of a PageConfig. - * @exports IPageConfig - * @interface IPageConfig - * @property {string|null} [title] PageConfig title - * @property {string|null} [favicon] PageConfig favicon - * @property {PageConfig.Layout|null} [layout] PageConfig layout - * @property {PageConfig.SidebarState|null} [initialSidebarState] PageConfig initialSidebarState - * @property {PageConfig.IMenuItems|null} [menuItems] PageConfig menuItems - */ - - /** - * Constructs a new PageConfig. - * @exports PageConfig - * @classdesc Represents a PageConfig. - * @implements IPageConfig - * @constructor - * @param {IPageConfig=} [properties] Properties to set - */ - function PageConfig(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * PageConfig title. - * @member {string} title - * @memberof PageConfig - * @instance - */ - PageConfig.prototype.title = ""; - - /** - * PageConfig favicon. - * @member {string} favicon - * @memberof PageConfig - * @instance - */ - PageConfig.prototype.favicon = ""; - - /** - * PageConfig layout. - * @member {PageConfig.Layout} layout - * @memberof PageConfig - * @instance - */ - PageConfig.prototype.layout = 0; - - /** - * PageConfig initialSidebarState. - * @member {PageConfig.SidebarState} initialSidebarState - * @memberof PageConfig - * @instance - */ - PageConfig.prototype.initialSidebarState = 0; - - /** - * PageConfig menuItems. - * @member {PageConfig.IMenuItems|null|undefined} menuItems - * @memberof PageConfig - * @instance - */ - PageConfig.prototype.menuItems = null; - - /** - * Creates a new PageConfig instance using the specified properties. - * @function create - * @memberof PageConfig - * @static - * @param {IPageConfig=} [properties] Properties to set - * @returns {PageConfig} PageConfig instance - */ - PageConfig.create = function create(properties) { - return new PageConfig(properties); - }; - - /** - * Encodes the specified PageConfig message. Does not implicitly {@link PageConfig.verify|verify} messages. - * @function encode - * @memberof PageConfig - * @static - * @param {IPageConfig} message PageConfig message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - PageConfig.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.title != null && Object.hasOwnProperty.call(message, "title")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.title); - if (message.favicon != null && Object.hasOwnProperty.call(message, "favicon")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.favicon); - if (message.layout != null && Object.hasOwnProperty.call(message, "layout")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.layout); - if (message.initialSidebarState != null && Object.hasOwnProperty.call(message, "initialSidebarState")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.initialSidebarState); - if (message.menuItems != null && Object.hasOwnProperty.call(message, "menuItems")) - $root.PageConfig.MenuItems.encode(message.menuItems, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified PageConfig message, length delimited. Does not implicitly {@link PageConfig.verify|verify} messages. - * @function encodeDelimited - * @memberof PageConfig - * @static - * @param {IPageConfig} message PageConfig message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - PageConfig.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a PageConfig message from the specified reader or buffer. - * @function decode - * @memberof PageConfig - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {PageConfig} PageConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - PageConfig.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.PageConfig(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.title = reader.string(); - break; - } - case 2: { - message.favicon = reader.string(); - break; - } - case 3: { - message.layout = reader.int32(); - break; - } - case 4: { - message.initialSidebarState = reader.int32(); - break; - } - case 5: { - message.menuItems = $root.PageConfig.MenuItems.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a PageConfig message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof PageConfig - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {PageConfig} PageConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - PageConfig.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a PageConfig message. - * @function verify - * @memberof PageConfig - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - PageConfig.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.title != null && message.hasOwnProperty("title")) - if (!$util.isString(message.title)) - return "title: string expected"; - if (message.favicon != null && message.hasOwnProperty("favicon")) - if (!$util.isString(message.favicon)) - return "favicon: string expected"; - if (message.layout != null && message.hasOwnProperty("layout")) - switch (message.layout) { - default: - return "layout: enum value expected"; - case 0: - case 1: - break; - } - if (message.initialSidebarState != null && message.hasOwnProperty("initialSidebarState")) - switch (message.initialSidebarState) { - default: - return "initialSidebarState: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.menuItems != null && message.hasOwnProperty("menuItems")) { - let error = $root.PageConfig.MenuItems.verify(message.menuItems); - if (error) - return "menuItems." + error; - } - return null; - }; - - /** - * Creates a PageConfig message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof PageConfig - * @static - * @param {Object.} object Plain object - * @returns {PageConfig} PageConfig - */ - PageConfig.fromObject = function fromObject(object) { - if (object instanceof $root.PageConfig) - return object; - let message = new $root.PageConfig(); - if (object.title != null) - message.title = String(object.title); - if (object.favicon != null) - message.favicon = String(object.favicon); - switch (object.layout) { - default: - if (typeof object.layout === "number") { - message.layout = object.layout; - break; - } - break; - case "CENTERED": - case 0: - message.layout = 0; - break; - case "WIDE": - case 1: - message.layout = 1; - break; - } - switch (object.initialSidebarState) { - default: - if (typeof object.initialSidebarState === "number") { - message.initialSidebarState = object.initialSidebarState; - break; - } - break; - case "AUTO": - case 0: - message.initialSidebarState = 0; - break; - case "EXPANDED": - case 1: - message.initialSidebarState = 1; - break; - case "COLLAPSED": - case 2: - message.initialSidebarState = 2; - break; - } - if (object.menuItems != null) { - if (typeof object.menuItems !== "object") - throw TypeError(".PageConfig.menuItems: object expected"); - message.menuItems = $root.PageConfig.MenuItems.fromObject(object.menuItems); - } - return message; - }; - - /** - * Creates a plain object from a PageConfig message. Also converts values to other types if specified. - * @function toObject - * @memberof PageConfig - * @static - * @param {PageConfig} message PageConfig - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - PageConfig.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.title = ""; - object.favicon = ""; - object.layout = options.enums === String ? "CENTERED" : 0; - object.initialSidebarState = options.enums === String ? "AUTO" : 0; - object.menuItems = null; - } - if (message.title != null && message.hasOwnProperty("title")) - object.title = message.title; - if (message.favicon != null && message.hasOwnProperty("favicon")) - object.favicon = message.favicon; - if (message.layout != null && message.hasOwnProperty("layout")) - object.layout = options.enums === String ? $root.PageConfig.Layout[message.layout] === undefined ? message.layout : $root.PageConfig.Layout[message.layout] : message.layout; - if (message.initialSidebarState != null && message.hasOwnProperty("initialSidebarState")) - object.initialSidebarState = options.enums === String ? $root.PageConfig.SidebarState[message.initialSidebarState] === undefined ? message.initialSidebarState : $root.PageConfig.SidebarState[message.initialSidebarState] : message.initialSidebarState; - if (message.menuItems != null && message.hasOwnProperty("menuItems")) - object.menuItems = $root.PageConfig.MenuItems.toObject(message.menuItems, options); - return object; - }; - - /** - * Converts this PageConfig to JSON. - * @function toJSON - * @memberof PageConfig - * @instance - * @returns {Object.} JSON object - */ - PageConfig.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for PageConfig - * @function getTypeUrl - * @memberof PageConfig - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - PageConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/PageConfig"; - }; - - PageConfig.MenuItems = (function() { - - /** - * Properties of a MenuItems. - * @memberof PageConfig - * @interface IMenuItems - * @property {string|null} [getHelpUrl] MenuItems getHelpUrl - * @property {boolean|null} [hideGetHelp] MenuItems hideGetHelp - * @property {string|null} [reportABugUrl] MenuItems reportABugUrl - * @property {boolean|null} [hideReportABug] MenuItems hideReportABug - * @property {string|null} [aboutSectionMd] MenuItems aboutSectionMd - */ - - /** - * Constructs a new MenuItems. - * @memberof PageConfig - * @classdesc Represents a MenuItems. - * @implements IMenuItems - * @constructor - * @param {PageConfig.IMenuItems=} [properties] Properties to set - */ - function MenuItems(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * MenuItems getHelpUrl. - * @member {string} getHelpUrl - * @memberof PageConfig.MenuItems - * @instance - */ - MenuItems.prototype.getHelpUrl = ""; - - /** - * MenuItems hideGetHelp. - * @member {boolean} hideGetHelp - * @memberof PageConfig.MenuItems - * @instance - */ - MenuItems.prototype.hideGetHelp = false; - - /** - * MenuItems reportABugUrl. - * @member {string} reportABugUrl - * @memberof PageConfig.MenuItems - * @instance - */ - MenuItems.prototype.reportABugUrl = ""; - - /** - * MenuItems hideReportABug. - * @member {boolean} hideReportABug - * @memberof PageConfig.MenuItems - * @instance - */ - MenuItems.prototype.hideReportABug = false; - - /** - * MenuItems aboutSectionMd. - * @member {string} aboutSectionMd - * @memberof PageConfig.MenuItems - * @instance - */ - MenuItems.prototype.aboutSectionMd = ""; - - /** - * Creates a new MenuItems instance using the specified properties. - * @function create - * @memberof PageConfig.MenuItems - * @static - * @param {PageConfig.IMenuItems=} [properties] Properties to set - * @returns {PageConfig.MenuItems} MenuItems instance - */ - MenuItems.create = function create(properties) { - return new MenuItems(properties); - }; - - /** - * Encodes the specified MenuItems message. Does not implicitly {@link PageConfig.MenuItems.verify|verify} messages. - * @function encode - * @memberof PageConfig.MenuItems - * @static - * @param {PageConfig.IMenuItems} message MenuItems message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - MenuItems.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.getHelpUrl != null && Object.hasOwnProperty.call(message, "getHelpUrl")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.getHelpUrl); - if (message.hideGetHelp != null && Object.hasOwnProperty.call(message, "hideGetHelp")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.hideGetHelp); - if (message.reportABugUrl != null && Object.hasOwnProperty.call(message, "reportABugUrl")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.reportABugUrl); - if (message.hideReportABug != null && Object.hasOwnProperty.call(message, "hideReportABug")) - writer.uint32(/* id 4, wireType 0 =*/32).bool(message.hideReportABug); - if (message.aboutSectionMd != null && Object.hasOwnProperty.call(message, "aboutSectionMd")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.aboutSectionMd); - return writer; - }; - - /** - * Encodes the specified MenuItems message, length delimited. Does not implicitly {@link PageConfig.MenuItems.verify|verify} messages. - * @function encodeDelimited - * @memberof PageConfig.MenuItems - * @static - * @param {PageConfig.IMenuItems} message MenuItems message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - MenuItems.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a MenuItems message from the specified reader or buffer. - * @function decode - * @memberof PageConfig.MenuItems - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {PageConfig.MenuItems} MenuItems - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - MenuItems.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.PageConfig.MenuItems(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.getHelpUrl = reader.string(); - break; - } - case 2: { - message.hideGetHelp = reader.bool(); - break; - } - case 3: { - message.reportABugUrl = reader.string(); - break; - } - case 4: { - message.hideReportABug = reader.bool(); - break; - } - case 5: { - message.aboutSectionMd = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a MenuItems message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof PageConfig.MenuItems - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {PageConfig.MenuItems} MenuItems - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - MenuItems.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a MenuItems message. - * @function verify - * @memberof PageConfig.MenuItems - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - MenuItems.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.getHelpUrl != null && message.hasOwnProperty("getHelpUrl")) - if (!$util.isString(message.getHelpUrl)) - return "getHelpUrl: string expected"; - if (message.hideGetHelp != null && message.hasOwnProperty("hideGetHelp")) - if (typeof message.hideGetHelp !== "boolean") - return "hideGetHelp: boolean expected"; - if (message.reportABugUrl != null && message.hasOwnProperty("reportABugUrl")) - if (!$util.isString(message.reportABugUrl)) - return "reportABugUrl: string expected"; - if (message.hideReportABug != null && message.hasOwnProperty("hideReportABug")) - if (typeof message.hideReportABug !== "boolean") - return "hideReportABug: boolean expected"; - if (message.aboutSectionMd != null && message.hasOwnProperty("aboutSectionMd")) - if (!$util.isString(message.aboutSectionMd)) - return "aboutSectionMd: string expected"; - return null; - }; - - /** - * Creates a MenuItems message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof PageConfig.MenuItems - * @static - * @param {Object.} object Plain object - * @returns {PageConfig.MenuItems} MenuItems - */ - MenuItems.fromObject = function fromObject(object) { - if (object instanceof $root.PageConfig.MenuItems) - return object; - let message = new $root.PageConfig.MenuItems(); - if (object.getHelpUrl != null) - message.getHelpUrl = String(object.getHelpUrl); - if (object.hideGetHelp != null) - message.hideGetHelp = Boolean(object.hideGetHelp); - if (object.reportABugUrl != null) - message.reportABugUrl = String(object.reportABugUrl); - if (object.hideReportABug != null) - message.hideReportABug = Boolean(object.hideReportABug); - if (object.aboutSectionMd != null) - message.aboutSectionMd = String(object.aboutSectionMd); - return message; - }; - - /** - * Creates a plain object from a MenuItems message. Also converts values to other types if specified. - * @function toObject - * @memberof PageConfig.MenuItems - * @static - * @param {PageConfig.MenuItems} message MenuItems - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - MenuItems.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.getHelpUrl = ""; - object.hideGetHelp = false; - object.reportABugUrl = ""; - object.hideReportABug = false; - object.aboutSectionMd = ""; - } - if (message.getHelpUrl != null && message.hasOwnProperty("getHelpUrl")) - object.getHelpUrl = message.getHelpUrl; - if (message.hideGetHelp != null && message.hasOwnProperty("hideGetHelp")) - object.hideGetHelp = message.hideGetHelp; - if (message.reportABugUrl != null && message.hasOwnProperty("reportABugUrl")) - object.reportABugUrl = message.reportABugUrl; - if (message.hideReportABug != null && message.hasOwnProperty("hideReportABug")) - object.hideReportABug = message.hideReportABug; - if (message.aboutSectionMd != null && message.hasOwnProperty("aboutSectionMd")) - object.aboutSectionMd = message.aboutSectionMd; - return object; - }; - - /** - * Converts this MenuItems to JSON. - * @function toJSON - * @memberof PageConfig.MenuItems - * @instance - * @returns {Object.} JSON object - */ - MenuItems.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for MenuItems - * @function getTypeUrl - * @memberof PageConfig.MenuItems - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - MenuItems.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/PageConfig.MenuItems"; - }; - - return MenuItems; - })(); - - /** - * Layout enum. - * @name PageConfig.Layout - * @enum {number} - * @property {number} CENTERED=0 CENTERED value - * @property {number} WIDE=1 WIDE value - */ - PageConfig.Layout = (function() { - const valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "CENTERED"] = 0; - values[valuesById[1] = "WIDE"] = 1; - return values; - })(); - - /** - * SidebarState enum. - * @name PageConfig.SidebarState - * @enum {number} - * @property {number} AUTO=0 AUTO value - * @property {number} EXPANDED=1 EXPANDED value - * @property {number} COLLAPSED=2 COLLAPSED value - */ - PageConfig.SidebarState = (function() { - const valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "AUTO"] = 0; - values[valuesById[1] = "EXPANDED"] = 1; - values[valuesById[2] = "COLLAPSED"] = 2; - return values; - })(); - - return PageConfig; -})(); - -export const PageInfo = $root.PageInfo = (() => { - - /** - * Properties of a PageInfo. - * @exports IPageInfo - * @interface IPageInfo - * @property {string|null} [queryString] PageInfo queryString - */ - - /** - * Constructs a new PageInfo. - * @exports PageInfo - * @classdesc Represents a PageInfo. - * @implements IPageInfo - * @constructor - * @param {IPageInfo=} [properties] Properties to set - */ - function PageInfo(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * PageInfo queryString. - * @member {string} queryString - * @memberof PageInfo - * @instance - */ - PageInfo.prototype.queryString = ""; - - /** - * Creates a new PageInfo instance using the specified properties. - * @function create - * @memberof PageInfo - * @static - * @param {IPageInfo=} [properties] Properties to set - * @returns {PageInfo} PageInfo instance - */ - PageInfo.create = function create(properties) { - return new PageInfo(properties); - }; - - /** - * Encodes the specified PageInfo message. Does not implicitly {@link PageInfo.verify|verify} messages. - * @function encode - * @memberof PageInfo - * @static - * @param {IPageInfo} message PageInfo message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - PageInfo.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.queryString != null && Object.hasOwnProperty.call(message, "queryString")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.queryString); - return writer; - }; - - /** - * Encodes the specified PageInfo message, length delimited. Does not implicitly {@link PageInfo.verify|verify} messages. - * @function encodeDelimited - * @memberof PageInfo - * @static - * @param {IPageInfo} message PageInfo message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - PageInfo.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a PageInfo message from the specified reader or buffer. - * @function decode - * @memberof PageInfo - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {PageInfo} PageInfo - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - PageInfo.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.PageInfo(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.queryString = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a PageInfo message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof PageInfo - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {PageInfo} PageInfo - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - PageInfo.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a PageInfo message. - * @function verify - * @memberof PageInfo - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - PageInfo.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.queryString != null && message.hasOwnProperty("queryString")) - if (!$util.isString(message.queryString)) - return "queryString: string expected"; - return null; - }; - - /** - * Creates a PageInfo message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof PageInfo - * @static - * @param {Object.} object Plain object - * @returns {PageInfo} PageInfo - */ - PageInfo.fromObject = function fromObject(object) { - if (object instanceof $root.PageInfo) - return object; - let message = new $root.PageInfo(); - if (object.queryString != null) - message.queryString = String(object.queryString); - return message; - }; - - /** - * Creates a plain object from a PageInfo message. Also converts values to other types if specified. - * @function toObject - * @memberof PageInfo - * @static - * @param {PageInfo} message PageInfo - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - PageInfo.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) - object.queryString = ""; - if (message.queryString != null && message.hasOwnProperty("queryString")) - object.queryString = message.queryString; - return object; - }; - - /** - * Converts this PageInfo to JSON. - * @function toJSON - * @memberof PageInfo - * @instance - * @returns {Object.} JSON object - */ - PageInfo.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for PageInfo - * @function getTypeUrl - * @memberof PageInfo - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - PageInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/PageInfo"; - }; - - return PageInfo; -})(); - -export const PageNotFound = $root.PageNotFound = (() => { - - /** - * Properties of a PageNotFound. - * @exports IPageNotFound - * @interface IPageNotFound - * @property {string|null} [pageName] PageNotFound pageName - */ - - /** - * Constructs a new PageNotFound. - * @exports PageNotFound - * @classdesc Represents a PageNotFound. - * @implements IPageNotFound - * @constructor - * @param {IPageNotFound=} [properties] Properties to set - */ - function PageNotFound(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * PageNotFound pageName. - * @member {string} pageName - * @memberof PageNotFound - * @instance - */ - PageNotFound.prototype.pageName = ""; - - /** - * Creates a new PageNotFound instance using the specified properties. - * @function create - * @memberof PageNotFound - * @static - * @param {IPageNotFound=} [properties] Properties to set - * @returns {PageNotFound} PageNotFound instance - */ - PageNotFound.create = function create(properties) { - return new PageNotFound(properties); - }; - - /** - * Encodes the specified PageNotFound message. Does not implicitly {@link PageNotFound.verify|verify} messages. - * @function encode - * @memberof PageNotFound - * @static - * @param {IPageNotFound} message PageNotFound message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - PageNotFound.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.pageName != null && Object.hasOwnProperty.call(message, "pageName")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.pageName); - return writer; - }; - - /** - * Encodes the specified PageNotFound message, length delimited. Does not implicitly {@link PageNotFound.verify|verify} messages. - * @function encodeDelimited - * @memberof PageNotFound - * @static - * @param {IPageNotFound} message PageNotFound message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - PageNotFound.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a PageNotFound message from the specified reader or buffer. - * @function decode - * @memberof PageNotFound - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {PageNotFound} PageNotFound - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - PageNotFound.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.PageNotFound(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.pageName = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a PageNotFound message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof PageNotFound - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {PageNotFound} PageNotFound - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - PageNotFound.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a PageNotFound message. - * @function verify - * @memberof PageNotFound - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - PageNotFound.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.pageName != null && message.hasOwnProperty("pageName")) - if (!$util.isString(message.pageName)) - return "pageName: string expected"; - return null; - }; - - /** - * Creates a PageNotFound message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof PageNotFound - * @static - * @param {Object.} object Plain object - * @returns {PageNotFound} PageNotFound - */ - PageNotFound.fromObject = function fromObject(object) { - if (object instanceof $root.PageNotFound) - return object; - let message = new $root.PageNotFound(); - if (object.pageName != null) - message.pageName = String(object.pageName); - return message; - }; - - /** - * Creates a plain object from a PageNotFound message. Also converts values to other types if specified. - * @function toObject - * @memberof PageNotFound - * @static - * @param {PageNotFound} message PageNotFound - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - PageNotFound.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) - object.pageName = ""; - if (message.pageName != null && message.hasOwnProperty("pageName")) - object.pageName = message.pageName; - return object; - }; - - /** - * Converts this PageNotFound to JSON. - * @function toJSON - * @memberof PageNotFound - * @instance - * @returns {Object.} JSON object - */ - PageNotFound.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for PageNotFound - * @function getTypeUrl - * @memberof PageNotFound - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - PageNotFound.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/PageNotFound"; - }; - - return PageNotFound; -})(); - -export const PageProfile = $root.PageProfile = (() => { - - /** - * Properties of a PageProfile. - * @exports IPageProfile - * @interface IPageProfile - * @property {Array.|null} [commands] PageProfile commands - * @property {number|Long|null} [execTime] PageProfile execTime - * @property {number|Long|null} [prepTime] PageProfile prepTime - * @property {Array.|null} [config] PageProfile config - * @property {string|null} [uncaughtException] PageProfile uncaughtException - * @property {Array.|null} [attributions] PageProfile attributions - * @property {string|null} [os] PageProfile os - * @property {string|null} [timezone] PageProfile timezone - * @property {boolean|null} [headless] PageProfile headless - */ - - /** - * Constructs a new PageProfile. - * @exports PageProfile - * @classdesc Represents a PageProfile. - * @implements IPageProfile - * @constructor - * @param {IPageProfile=} [properties] Properties to set - */ - function PageProfile(properties) { - this.commands = []; - this.config = []; - this.attributions = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * PageProfile commands. - * @member {Array.} commands - * @memberof PageProfile - * @instance - */ - PageProfile.prototype.commands = $util.emptyArray; - - /** - * PageProfile execTime. - * @member {number|Long} execTime - * @memberof PageProfile - * @instance - */ - PageProfile.prototype.execTime = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - - /** - * PageProfile prepTime. - * @member {number|Long} prepTime - * @memberof PageProfile - * @instance - */ - PageProfile.prototype.prepTime = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - - /** - * PageProfile config. - * @member {Array.} config - * @memberof PageProfile - * @instance - */ - PageProfile.prototype.config = $util.emptyArray; - - /** - * PageProfile uncaughtException. - * @member {string} uncaughtException - * @memberof PageProfile - * @instance - */ - PageProfile.prototype.uncaughtException = ""; - - /** - * PageProfile attributions. - * @member {Array.} attributions - * @memberof PageProfile - * @instance - */ - PageProfile.prototype.attributions = $util.emptyArray; - - /** - * PageProfile os. - * @member {string} os - * @memberof PageProfile - * @instance - */ - PageProfile.prototype.os = ""; - - /** - * PageProfile timezone. - * @member {string} timezone - * @memberof PageProfile - * @instance - */ - PageProfile.prototype.timezone = ""; - - /** - * PageProfile headless. - * @member {boolean} headless - * @memberof PageProfile - * @instance - */ - PageProfile.prototype.headless = false; - - /** - * Creates a new PageProfile instance using the specified properties. - * @function create - * @memberof PageProfile - * @static - * @param {IPageProfile=} [properties] Properties to set - * @returns {PageProfile} PageProfile instance - */ - PageProfile.create = function create(properties) { - return new PageProfile(properties); - }; - - /** - * Encodes the specified PageProfile message. Does not implicitly {@link PageProfile.verify|verify} messages. - * @function encode - * @memberof PageProfile - * @static - * @param {IPageProfile} message PageProfile message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - PageProfile.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.commands != null && message.commands.length) - for (let i = 0; i < message.commands.length; ++i) - $root.Command.encode(message.commands[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.execTime != null && Object.hasOwnProperty.call(message, "execTime")) - writer.uint32(/* id 2, wireType 0 =*/16).int64(message.execTime); - if (message.prepTime != null && Object.hasOwnProperty.call(message, "prepTime")) - writer.uint32(/* id 3, wireType 0 =*/24).int64(message.prepTime); - if (message.config != null && message.config.length) - for (let i = 0; i < message.config.length; ++i) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.config[i]); - if (message.uncaughtException != null && Object.hasOwnProperty.call(message, "uncaughtException")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.uncaughtException); - if (message.attributions != null && message.attributions.length) - for (let i = 0; i < message.attributions.length; ++i) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.attributions[i]); - if (message.os != null && Object.hasOwnProperty.call(message, "os")) - writer.uint32(/* id 8, wireType 2 =*/66).string(message.os); - if (message.timezone != null && Object.hasOwnProperty.call(message, "timezone")) - writer.uint32(/* id 9, wireType 2 =*/74).string(message.timezone); - if (message.headless != null && Object.hasOwnProperty.call(message, "headless")) - writer.uint32(/* id 10, wireType 0 =*/80).bool(message.headless); - return writer; - }; - - /** - * Encodes the specified PageProfile message, length delimited. Does not implicitly {@link PageProfile.verify|verify} messages. - * @function encodeDelimited - * @memberof PageProfile - * @static - * @param {IPageProfile} message PageProfile message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - PageProfile.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a PageProfile message from the specified reader or buffer. - * @function decode - * @memberof PageProfile - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {PageProfile} PageProfile - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - PageProfile.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.PageProfile(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message.commands && message.commands.length)) - message.commands = []; - message.commands.push($root.Command.decode(reader, reader.uint32())); - break; - } - case 2: { - message.execTime = reader.int64(); - break; - } - case 3: { - message.prepTime = reader.int64(); - break; - } - case 5: { - if (!(message.config && message.config.length)) - message.config = []; - message.config.push(reader.string()); - break; - } - case 6: { - message.uncaughtException = reader.string(); - break; - } - case 7: { - if (!(message.attributions && message.attributions.length)) - message.attributions = []; - message.attributions.push(reader.string()); - break; - } - case 8: { - message.os = reader.string(); - break; - } - case 9: { - message.timezone = reader.string(); - break; - } - case 10: { - message.headless = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a PageProfile message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof PageProfile - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {PageProfile} PageProfile - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - PageProfile.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a PageProfile message. - * @function verify - * @memberof PageProfile - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - PageProfile.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.commands != null && message.hasOwnProperty("commands")) { - if (!Array.isArray(message.commands)) - return "commands: array expected"; - for (let i = 0; i < message.commands.length; ++i) { - let error = $root.Command.verify(message.commands[i]); - if (error) - return "commands." + error; - } - } - if (message.execTime != null && message.hasOwnProperty("execTime")) - if (!$util.isInteger(message.execTime) && !(message.execTime && $util.isInteger(message.execTime.low) && $util.isInteger(message.execTime.high))) - return "execTime: integer|Long expected"; - if (message.prepTime != null && message.hasOwnProperty("prepTime")) - if (!$util.isInteger(message.prepTime) && !(message.prepTime && $util.isInteger(message.prepTime.low) && $util.isInteger(message.prepTime.high))) - return "prepTime: integer|Long expected"; - if (message.config != null && message.hasOwnProperty("config")) { - if (!Array.isArray(message.config)) - return "config: array expected"; - for (let i = 0; i < message.config.length; ++i) - if (!$util.isString(message.config[i])) - return "config: string[] expected"; - } - if (message.uncaughtException != null && message.hasOwnProperty("uncaughtException")) - if (!$util.isString(message.uncaughtException)) - return "uncaughtException: string expected"; - if (message.attributions != null && message.hasOwnProperty("attributions")) { - if (!Array.isArray(message.attributions)) - return "attributions: array expected"; - for (let i = 0; i < message.attributions.length; ++i) - if (!$util.isString(message.attributions[i])) - return "attributions: string[] expected"; - } - if (message.os != null && message.hasOwnProperty("os")) - if (!$util.isString(message.os)) - return "os: string expected"; - if (message.timezone != null && message.hasOwnProperty("timezone")) - if (!$util.isString(message.timezone)) - return "timezone: string expected"; - if (message.headless != null && message.hasOwnProperty("headless")) - if (typeof message.headless !== "boolean") - return "headless: boolean expected"; - return null; - }; - - /** - * Creates a PageProfile message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof PageProfile - * @static - * @param {Object.} object Plain object - * @returns {PageProfile} PageProfile - */ - PageProfile.fromObject = function fromObject(object) { - if (object instanceof $root.PageProfile) - return object; - let message = new $root.PageProfile(); - if (object.commands) { - if (!Array.isArray(object.commands)) - throw TypeError(".PageProfile.commands: array expected"); - message.commands = []; - for (let i = 0; i < object.commands.length; ++i) { - if (typeof object.commands[i] !== "object") - throw TypeError(".PageProfile.commands: object expected"); - message.commands[i] = $root.Command.fromObject(object.commands[i]); - } - } - if (object.execTime != null) - if ($util.Long) - (message.execTime = $util.Long.fromValue(object.execTime)).unsigned = false; - else if (typeof object.execTime === "string") - message.execTime = parseInt(object.execTime, 10); - else if (typeof object.execTime === "number") - message.execTime = object.execTime; - else if (typeof object.execTime === "object") - message.execTime = new $util.LongBits(object.execTime.low >>> 0, object.execTime.high >>> 0).toNumber(); - if (object.prepTime != null) - if ($util.Long) - (message.prepTime = $util.Long.fromValue(object.prepTime)).unsigned = false; - else if (typeof object.prepTime === "string") - message.prepTime = parseInt(object.prepTime, 10); - else if (typeof object.prepTime === "number") - message.prepTime = object.prepTime; - else if (typeof object.prepTime === "object") - message.prepTime = new $util.LongBits(object.prepTime.low >>> 0, object.prepTime.high >>> 0).toNumber(); - if (object.config) { - if (!Array.isArray(object.config)) - throw TypeError(".PageProfile.config: array expected"); - message.config = []; - for (let i = 0; i < object.config.length; ++i) - message.config[i] = String(object.config[i]); - } - if (object.uncaughtException != null) - message.uncaughtException = String(object.uncaughtException); - if (object.attributions) { - if (!Array.isArray(object.attributions)) - throw TypeError(".PageProfile.attributions: array expected"); - message.attributions = []; - for (let i = 0; i < object.attributions.length; ++i) - message.attributions[i] = String(object.attributions[i]); - } - if (object.os != null) - message.os = String(object.os); - if (object.timezone != null) - message.timezone = String(object.timezone); - if (object.headless != null) - message.headless = Boolean(object.headless); - return message; - }; - - /** - * Creates a plain object from a PageProfile message. Also converts values to other types if specified. - * @function toObject - * @memberof PageProfile - * @static - * @param {PageProfile} message PageProfile - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - PageProfile.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) { - object.commands = []; - object.config = []; - object.attributions = []; - } - if (options.defaults) { - if ($util.Long) { - let long = new $util.Long(0, 0, false); - object.execTime = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; - } else - object.execTime = options.longs === String ? "0" : 0; - if ($util.Long) { - let long = new $util.Long(0, 0, false); - object.prepTime = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; - } else - object.prepTime = options.longs === String ? "0" : 0; - object.uncaughtException = ""; - object.os = ""; - object.timezone = ""; - object.headless = false; - } - if (message.commands && message.commands.length) { - object.commands = []; - for (let j = 0; j < message.commands.length; ++j) - object.commands[j] = $root.Command.toObject(message.commands[j], options); - } - if (message.execTime != null && message.hasOwnProperty("execTime")) - if (typeof message.execTime === "number") - object.execTime = options.longs === String ? String(message.execTime) : message.execTime; - else - object.execTime = options.longs === String ? $util.Long.prototype.toString.call(message.execTime) : options.longs === Number ? new $util.LongBits(message.execTime.low >>> 0, message.execTime.high >>> 0).toNumber() : message.execTime; - if (message.prepTime != null && message.hasOwnProperty("prepTime")) - if (typeof message.prepTime === "number") - object.prepTime = options.longs === String ? String(message.prepTime) : message.prepTime; - else - object.prepTime = options.longs === String ? $util.Long.prototype.toString.call(message.prepTime) : options.longs === Number ? new $util.LongBits(message.prepTime.low >>> 0, message.prepTime.high >>> 0).toNumber() : message.prepTime; - if (message.config && message.config.length) { - object.config = []; - for (let j = 0; j < message.config.length; ++j) - object.config[j] = message.config[j]; - } - if (message.uncaughtException != null && message.hasOwnProperty("uncaughtException")) - object.uncaughtException = message.uncaughtException; - if (message.attributions && message.attributions.length) { - object.attributions = []; - for (let j = 0; j < message.attributions.length; ++j) - object.attributions[j] = message.attributions[j]; - } - if (message.os != null && message.hasOwnProperty("os")) - object.os = message.os; - if (message.timezone != null && message.hasOwnProperty("timezone")) - object.timezone = message.timezone; - if (message.headless != null && message.hasOwnProperty("headless")) - object.headless = message.headless; - return object; - }; - - /** - * Converts this PageProfile to JSON. - * @function toJSON - * @memberof PageProfile - * @instance - * @returns {Object.} JSON object - */ - PageProfile.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for PageProfile - * @function getTypeUrl - * @memberof PageProfile - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - PageProfile.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/PageProfile"; - }; - - return PageProfile; -})(); - -export const Argument = $root.Argument = (() => { - - /** - * Properties of an Argument. - * @exports IArgument - * @interface IArgument - * @property {string|null} [k] Argument k - * @property {string|null} [t] Argument t - * @property {string|null} [m] Argument m - * @property {number|null} [p] Argument p - */ - - /** - * Constructs a new Argument. - * @exports Argument - * @classdesc Represents an Argument. - * @implements IArgument - * @constructor - * @param {IArgument=} [properties] Properties to set - */ - function Argument(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Argument k. - * @member {string} k - * @memberof Argument - * @instance - */ - Argument.prototype.k = ""; - - /** - * Argument t. - * @member {string} t - * @memberof Argument - * @instance - */ - Argument.prototype.t = ""; - - /** - * Argument m. - * @member {string} m - * @memberof Argument - * @instance - */ - Argument.prototype.m = ""; - - /** - * Argument p. - * @member {number} p - * @memberof Argument - * @instance - */ - Argument.prototype.p = 0; - - /** - * Creates a new Argument instance using the specified properties. - * @function create - * @memberof Argument - * @static - * @param {IArgument=} [properties] Properties to set - * @returns {Argument} Argument instance - */ - Argument.create = function create(properties) { - return new Argument(properties); - }; - - /** - * Encodes the specified Argument message. Does not implicitly {@link Argument.verify|verify} messages. - * @function encode - * @memberof Argument - * @static - * @param {IArgument} message Argument message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Argument.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.k != null && Object.hasOwnProperty.call(message, "k")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.k); - if (message.t != null && Object.hasOwnProperty.call(message, "t")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.t); - if (message.m != null && Object.hasOwnProperty.call(message, "m")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.m); - if (message.p != null && Object.hasOwnProperty.call(message, "p")) - writer.uint32(/* id 5, wireType 0 =*/40).int32(message.p); - return writer; - }; - - /** - * Encodes the specified Argument message, length delimited. Does not implicitly {@link Argument.verify|verify} messages. - * @function encodeDelimited - * @memberof Argument - * @static - * @param {IArgument} message Argument message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Argument.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an Argument message from the specified reader or buffer. - * @function decode - * @memberof Argument - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Argument} Argument - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Argument.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Argument(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.k = reader.string(); - break; - } - case 2: { - message.t = reader.string(); - break; - } - case 3: { - message.m = reader.string(); - break; - } - case 5: { - message.p = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an Argument message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Argument - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Argument} Argument - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Argument.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an Argument message. - * @function verify - * @memberof Argument - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Argument.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.k != null && message.hasOwnProperty("k")) - if (!$util.isString(message.k)) - return "k: string expected"; - if (message.t != null && message.hasOwnProperty("t")) - if (!$util.isString(message.t)) - return "t: string expected"; - if (message.m != null && message.hasOwnProperty("m")) - if (!$util.isString(message.m)) - return "m: string expected"; - if (message.p != null && message.hasOwnProperty("p")) - if (!$util.isInteger(message.p)) - return "p: integer expected"; - return null; - }; - - /** - * Creates an Argument message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Argument - * @static - * @param {Object.} object Plain object - * @returns {Argument} Argument - */ - Argument.fromObject = function fromObject(object) { - if (object instanceof $root.Argument) - return object; - let message = new $root.Argument(); - if (object.k != null) - message.k = String(object.k); - if (object.t != null) - message.t = String(object.t); - if (object.m != null) - message.m = String(object.m); - if (object.p != null) - message.p = object.p | 0; - return message; - }; - - /** - * Creates a plain object from an Argument message. Also converts values to other types if specified. - * @function toObject - * @memberof Argument - * @static - * @param {Argument} message Argument - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Argument.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.k = ""; - object.t = ""; - object.m = ""; - object.p = 0; - } - if (message.k != null && message.hasOwnProperty("k")) - object.k = message.k; - if (message.t != null && message.hasOwnProperty("t")) - object.t = message.t; - if (message.m != null && message.hasOwnProperty("m")) - object.m = message.m; - if (message.p != null && message.hasOwnProperty("p")) - object.p = message.p; - return object; - }; - - /** - * Converts this Argument to JSON. - * @function toJSON - * @memberof Argument - * @instance - * @returns {Object.} JSON object - */ - Argument.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Argument - * @function getTypeUrl - * @memberof Argument - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Argument.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Argument"; - }; - - return Argument; -})(); - -export const Command = $root.Command = (() => { - - /** - * Properties of a Command. - * @exports ICommand - * @interface ICommand - * @property {string|null} [name] Command name - * @property {Array.|null} [args] Command args - * @property {number|Long|null} [time] Command time - */ - - /** - * Constructs a new Command. - * @exports Command - * @classdesc Represents a Command. - * @implements ICommand - * @constructor - * @param {ICommand=} [properties] Properties to set - */ - function Command(properties) { - this.args = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Command name. - * @member {string} name - * @memberof Command - * @instance - */ - Command.prototype.name = ""; - - /** - * Command args. - * @member {Array.} args - * @memberof Command - * @instance - */ - Command.prototype.args = $util.emptyArray; - - /** - * Command time. - * @member {number|Long} time - * @memberof Command - * @instance - */ - Command.prototype.time = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - - /** - * Creates a new Command instance using the specified properties. - * @function create - * @memberof Command - * @static - * @param {ICommand=} [properties] Properties to set - * @returns {Command} Command instance - */ - Command.create = function create(properties) { - return new Command(properties); - }; - - /** - * Encodes the specified Command message. Does not implicitly {@link Command.verify|verify} messages. - * @function encode - * @memberof Command - * @static - * @param {ICommand} message Command message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Command.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); - if (message.args != null && message.args.length) - for (let i = 0; i < message.args.length; ++i) - $root.Argument.encode(message.args[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.time != null && Object.hasOwnProperty.call(message, "time")) - writer.uint32(/* id 4, wireType 0 =*/32).int64(message.time); - return writer; - }; - - /** - * Encodes the specified Command message, length delimited. Does not implicitly {@link Command.verify|verify} messages. - * @function encodeDelimited - * @memberof Command - * @static - * @param {ICommand} message Command message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Command.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Command message from the specified reader or buffer. - * @function decode - * @memberof Command - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Command} Command - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Command.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Command(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.name = reader.string(); - break; - } - case 2: { - if (!(message.args && message.args.length)) - message.args = []; - message.args.push($root.Argument.decode(reader, reader.uint32())); - break; - } - case 4: { - message.time = reader.int64(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Command message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Command - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Command} Command - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Command.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Command message. - * @function verify - * @memberof Command - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Command.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.args != null && message.hasOwnProperty("args")) { - if (!Array.isArray(message.args)) - return "args: array expected"; - for (let i = 0; i < message.args.length; ++i) { - let error = $root.Argument.verify(message.args[i]); - if (error) - return "args." + error; - } - } - if (message.time != null && message.hasOwnProperty("time")) - if (!$util.isInteger(message.time) && !(message.time && $util.isInteger(message.time.low) && $util.isInteger(message.time.high))) - return "time: integer|Long expected"; - return null; - }; - - /** - * Creates a Command message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Command - * @static - * @param {Object.} object Plain object - * @returns {Command} Command - */ - Command.fromObject = function fromObject(object) { - if (object instanceof $root.Command) - return object; - let message = new $root.Command(); - if (object.name != null) - message.name = String(object.name); - if (object.args) { - if (!Array.isArray(object.args)) - throw TypeError(".Command.args: array expected"); - message.args = []; - for (let i = 0; i < object.args.length; ++i) { - if (typeof object.args[i] !== "object") - throw TypeError(".Command.args: object expected"); - message.args[i] = $root.Argument.fromObject(object.args[i]); - } - } - if (object.time != null) - if ($util.Long) - (message.time = $util.Long.fromValue(object.time)).unsigned = false; - else if (typeof object.time === "string") - message.time = parseInt(object.time, 10); - else if (typeof object.time === "number") - message.time = object.time; - else if (typeof object.time === "object") - message.time = new $util.LongBits(object.time.low >>> 0, object.time.high >>> 0).toNumber(); - return message; - }; - - /** - * Creates a plain object from a Command message. Also converts values to other types if specified. - * @function toObject - * @memberof Command - * @static - * @param {Command} message Command - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Command.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.args = []; - if (options.defaults) { - object.name = ""; - if ($util.Long) { - let long = new $util.Long(0, 0, false); - object.time = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; - } else - object.time = options.longs === String ? "0" : 0; - } - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; - if (message.args && message.args.length) { - object.args = []; - for (let j = 0; j < message.args.length; ++j) - object.args[j] = $root.Argument.toObject(message.args[j], options); - } - if (message.time != null && message.hasOwnProperty("time")) - if (typeof message.time === "number") - object.time = options.longs === String ? String(message.time) : message.time; - else - object.time = options.longs === String ? $util.Long.prototype.toString.call(message.time) : options.longs === Number ? new $util.LongBits(message.time.low >>> 0, message.time.high >>> 0).toNumber() : message.time; - return object; - }; - - /** - * Converts this Command to JSON. - * @function toJSON - * @memberof Command - * @instance - * @returns {Object.} JSON object - */ - Command.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Command - * @function getTypeUrl - * @memberof Command - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Command.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Command"; - }; - - return Command; -})(); - -export const PagesChanged = $root.PagesChanged = (() => { - - /** - * Properties of a PagesChanged. - * @exports IPagesChanged - * @interface IPagesChanged - * @property {Array.|null} [appPages] PagesChanged appPages - */ - - /** - * Constructs a new PagesChanged. - * @exports PagesChanged - * @classdesc Represents a PagesChanged. - * @implements IPagesChanged - * @constructor - * @param {IPagesChanged=} [properties] Properties to set - */ - function PagesChanged(properties) { - this.appPages = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * PagesChanged appPages. - * @member {Array.} appPages - * @memberof PagesChanged - * @instance - */ - PagesChanged.prototype.appPages = $util.emptyArray; - - /** - * Creates a new PagesChanged instance using the specified properties. - * @function create - * @memberof PagesChanged - * @static - * @param {IPagesChanged=} [properties] Properties to set - * @returns {PagesChanged} PagesChanged instance - */ - PagesChanged.create = function create(properties) { - return new PagesChanged(properties); - }; - - /** - * Encodes the specified PagesChanged message. Does not implicitly {@link PagesChanged.verify|verify} messages. - * @function encode - * @memberof PagesChanged - * @static - * @param {IPagesChanged} message PagesChanged message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - PagesChanged.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.appPages != null && message.appPages.length) - for (let i = 0; i < message.appPages.length; ++i) - $root.AppPage.encode(message.appPages[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified PagesChanged message, length delimited. Does not implicitly {@link PagesChanged.verify|verify} messages. - * @function encodeDelimited - * @memberof PagesChanged - * @static - * @param {IPagesChanged} message PagesChanged message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - PagesChanged.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a PagesChanged message from the specified reader or buffer. - * @function decode - * @memberof PagesChanged - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {PagesChanged} PagesChanged - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - PagesChanged.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.PagesChanged(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message.appPages && message.appPages.length)) - message.appPages = []; - message.appPages.push($root.AppPage.decode(reader, reader.uint32())); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a PagesChanged message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof PagesChanged - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {PagesChanged} PagesChanged - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - PagesChanged.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a PagesChanged message. - * @function verify - * @memberof PagesChanged - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - PagesChanged.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.appPages != null && message.hasOwnProperty("appPages")) { - if (!Array.isArray(message.appPages)) - return "appPages: array expected"; - for (let i = 0; i < message.appPages.length; ++i) { - let error = $root.AppPage.verify(message.appPages[i]); - if (error) - return "appPages." + error; - } - } - return null; - }; - - /** - * Creates a PagesChanged message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof PagesChanged - * @static - * @param {Object.} object Plain object - * @returns {PagesChanged} PagesChanged - */ - PagesChanged.fromObject = function fromObject(object) { - if (object instanceof $root.PagesChanged) - return object; - let message = new $root.PagesChanged(); - if (object.appPages) { - if (!Array.isArray(object.appPages)) - throw TypeError(".PagesChanged.appPages: array expected"); - message.appPages = []; - for (let i = 0; i < object.appPages.length; ++i) { - if (typeof object.appPages[i] !== "object") - throw TypeError(".PagesChanged.appPages: object expected"); - message.appPages[i] = $root.AppPage.fromObject(object.appPages[i]); - } - } - return message; - }; - - /** - * Creates a plain object from a PagesChanged message. Also converts values to other types if specified. - * @function toObject - * @memberof PagesChanged - * @static - * @param {PagesChanged} message PagesChanged - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - PagesChanged.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.appPages = []; - if (message.appPages && message.appPages.length) { - object.appPages = []; - for (let j = 0; j < message.appPages.length; ++j) - object.appPages[j] = $root.AppPage.toObject(message.appPages[j], options); - } - return object; - }; - - /** - * Converts this PagesChanged to JSON. - * @function toJSON - * @memberof PagesChanged - * @instance - * @returns {Object.} JSON object - */ - PagesChanged.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for PagesChanged - * @function getTypeUrl - * @memberof PagesChanged - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - PagesChanged.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/PagesChanged"; - }; - - return PagesChanged; -})(); - -export const PlotlyChart = $root.PlotlyChart = (() => { - - /** - * Properties of a PlotlyChart. - * @exports IPlotlyChart - * @interface IPlotlyChart - * @property {string|null} [url] PlotlyChart url - * @property {IFigure|null} [figure] PlotlyChart figure - * @property {boolean|null} [useContainerWidth] PlotlyChart useContainerWidth - * @property {string|null} [theme] PlotlyChart theme - */ - - /** - * Constructs a new PlotlyChart. - * @exports PlotlyChart - * @classdesc Represents a PlotlyChart. - * @implements IPlotlyChart - * @constructor - * @param {IPlotlyChart=} [properties] Properties to set - */ - function PlotlyChart(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * PlotlyChart url. - * @member {string|null|undefined} url - * @memberof PlotlyChart - * @instance - */ - PlotlyChart.prototype.url = null; - - /** - * PlotlyChart figure. - * @member {IFigure|null|undefined} figure - * @memberof PlotlyChart - * @instance - */ - PlotlyChart.prototype.figure = null; - - /** - * PlotlyChart useContainerWidth. - * @member {boolean} useContainerWidth - * @memberof PlotlyChart - * @instance - */ - PlotlyChart.prototype.useContainerWidth = false; - - /** - * PlotlyChart theme. - * @member {string} theme - * @memberof PlotlyChart - * @instance - */ - PlotlyChart.prototype.theme = ""; - - // OneOf field names bound to virtual getters and setters - let $oneOfFields; - - /** - * PlotlyChart chart. - * @member {"url"|"figure"|undefined} chart - * @memberof PlotlyChart - * @instance - */ - Object.defineProperty(PlotlyChart.prototype, "chart", { - get: $util.oneOfGetter($oneOfFields = ["url", "figure"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new PlotlyChart instance using the specified properties. - * @function create - * @memberof PlotlyChart - * @static - * @param {IPlotlyChart=} [properties] Properties to set - * @returns {PlotlyChart} PlotlyChart instance - */ - PlotlyChart.create = function create(properties) { - return new PlotlyChart(properties); - }; - - /** - * Encodes the specified PlotlyChart message. Does not implicitly {@link PlotlyChart.verify|verify} messages. - * @function encode - * @memberof PlotlyChart - * @static - * @param {IPlotlyChart} message PlotlyChart message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - PlotlyChart.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.url != null && Object.hasOwnProperty.call(message, "url")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.url); - if (message.figure != null && Object.hasOwnProperty.call(message, "figure")) - $root.Figure.encode(message.figure, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.useContainerWidth != null && Object.hasOwnProperty.call(message, "useContainerWidth")) - writer.uint32(/* id 5, wireType 0 =*/40).bool(message.useContainerWidth); - if (message.theme != null && Object.hasOwnProperty.call(message, "theme")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.theme); - return writer; - }; - - /** - * Encodes the specified PlotlyChart message, length delimited. Does not implicitly {@link PlotlyChart.verify|verify} messages. - * @function encodeDelimited - * @memberof PlotlyChart - * @static - * @param {IPlotlyChart} message PlotlyChart message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - PlotlyChart.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a PlotlyChart message from the specified reader or buffer. - * @function decode - * @memberof PlotlyChart - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {PlotlyChart} PlotlyChart - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - PlotlyChart.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.PlotlyChart(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.url = reader.string(); - break; - } - case 2: { - message.figure = $root.Figure.decode(reader, reader.uint32()); - break; - } - case 5: { - message.useContainerWidth = reader.bool(); - break; - } - case 6: { - message.theme = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a PlotlyChart message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof PlotlyChart - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {PlotlyChart} PlotlyChart - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - PlotlyChart.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a PlotlyChart message. - * @function verify - * @memberof PlotlyChart - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - PlotlyChart.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - let properties = {}; - if (message.url != null && message.hasOwnProperty("url")) { - properties.chart = 1; - if (!$util.isString(message.url)) - return "url: string expected"; - } - if (message.figure != null && message.hasOwnProperty("figure")) { - if (properties.chart === 1) - return "chart: multiple values"; - properties.chart = 1; - { - let error = $root.Figure.verify(message.figure); - if (error) - return "figure." + error; - } - } - if (message.useContainerWidth != null && message.hasOwnProperty("useContainerWidth")) - if (typeof message.useContainerWidth !== "boolean") - return "useContainerWidth: boolean expected"; - if (message.theme != null && message.hasOwnProperty("theme")) - if (!$util.isString(message.theme)) - return "theme: string expected"; - return null; - }; - - /** - * Creates a PlotlyChart message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof PlotlyChart - * @static - * @param {Object.} object Plain object - * @returns {PlotlyChart} PlotlyChart - */ - PlotlyChart.fromObject = function fromObject(object) { - if (object instanceof $root.PlotlyChart) - return object; - let message = new $root.PlotlyChart(); - if (object.url != null) - message.url = String(object.url); - if (object.figure != null) { - if (typeof object.figure !== "object") - throw TypeError(".PlotlyChart.figure: object expected"); - message.figure = $root.Figure.fromObject(object.figure); - } - if (object.useContainerWidth != null) - message.useContainerWidth = Boolean(object.useContainerWidth); - if (object.theme != null) - message.theme = String(object.theme); - return message; - }; - - /** - * Creates a plain object from a PlotlyChart message. Also converts values to other types if specified. - * @function toObject - * @memberof PlotlyChart - * @static - * @param {PlotlyChart} message PlotlyChart - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - PlotlyChart.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.useContainerWidth = false; - object.theme = ""; - } - if (message.url != null && message.hasOwnProperty("url")) { - object.url = message.url; - if (options.oneofs) - object.chart = "url"; - } - if (message.figure != null && message.hasOwnProperty("figure")) { - object.figure = $root.Figure.toObject(message.figure, options); - if (options.oneofs) - object.chart = "figure"; - } - if (message.useContainerWidth != null && message.hasOwnProperty("useContainerWidth")) - object.useContainerWidth = message.useContainerWidth; - if (message.theme != null && message.hasOwnProperty("theme")) - object.theme = message.theme; - return object; - }; - - /** - * Converts this PlotlyChart to JSON. - * @function toJSON - * @memberof PlotlyChart - * @instance - * @returns {Object.} JSON object - */ - PlotlyChart.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for PlotlyChart - * @function getTypeUrl - * @memberof PlotlyChart - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - PlotlyChart.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/PlotlyChart"; - }; - - return PlotlyChart; -})(); - -export const Figure = $root.Figure = (() => { - - /** - * Properties of a Figure. - * @exports IFigure - * @interface IFigure - * @property {string|null} [spec] Figure spec - * @property {string|null} [config] Figure config - */ - - /** - * Constructs a new Figure. - * @exports Figure - * @classdesc Represents a Figure. - * @implements IFigure - * @constructor - * @param {IFigure=} [properties] Properties to set - */ - function Figure(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Figure spec. - * @member {string} spec - * @memberof Figure - * @instance - */ - Figure.prototype.spec = ""; - - /** - * Figure config. - * @member {string} config - * @memberof Figure - * @instance - */ - Figure.prototype.config = ""; - - /** - * Creates a new Figure instance using the specified properties. - * @function create - * @memberof Figure - * @static - * @param {IFigure=} [properties] Properties to set - * @returns {Figure} Figure instance - */ - Figure.create = function create(properties) { - return new Figure(properties); - }; - - /** - * Encodes the specified Figure message. Does not implicitly {@link Figure.verify|verify} messages. - * @function encode - * @memberof Figure - * @static - * @param {IFigure} message Figure message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Figure.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.spec != null && Object.hasOwnProperty.call(message, "spec")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.spec); - if (message.config != null && Object.hasOwnProperty.call(message, "config")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.config); - return writer; - }; - - /** - * Encodes the specified Figure message, length delimited. Does not implicitly {@link Figure.verify|verify} messages. - * @function encodeDelimited - * @memberof Figure - * @static - * @param {IFigure} message Figure message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Figure.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Figure message from the specified reader or buffer. - * @function decode - * @memberof Figure - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Figure} Figure - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Figure.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Figure(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.spec = reader.string(); - break; - } - case 2: { - message.config = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Figure message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Figure - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Figure} Figure - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Figure.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Figure message. - * @function verify - * @memberof Figure - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Figure.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.spec != null && message.hasOwnProperty("spec")) - if (!$util.isString(message.spec)) - return "spec: string expected"; - if (message.config != null && message.hasOwnProperty("config")) - if (!$util.isString(message.config)) - return "config: string expected"; - return null; - }; - - /** - * Creates a Figure message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Figure - * @static - * @param {Object.} object Plain object - * @returns {Figure} Figure - */ - Figure.fromObject = function fromObject(object) { - if (object instanceof $root.Figure) - return object; - let message = new $root.Figure(); - if (object.spec != null) - message.spec = String(object.spec); - if (object.config != null) - message.config = String(object.config); - return message; - }; - - /** - * Creates a plain object from a Figure message. Also converts values to other types if specified. - * @function toObject - * @memberof Figure - * @static - * @param {Figure} message Figure - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Figure.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.spec = ""; - object.config = ""; - } - if (message.spec != null && message.hasOwnProperty("spec")) - object.spec = message.spec; - if (message.config != null && message.hasOwnProperty("config")) - object.config = message.config; - return object; - }; - - /** - * Converts this Figure to JSON. - * @function toJSON - * @memberof Figure - * @instance - * @returns {Object.} JSON object - */ - Figure.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Figure - * @function getTypeUrl - * @memberof Figure - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Figure.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Figure"; - }; - - return Figure; -})(); - -export const Progress = $root.Progress = (() => { - - /** - * Properties of a Progress. - * @exports IProgress - * @interface IProgress - * @property {number|null} [value] Progress value - * @property {string|null} [text] Progress text - */ - - /** - * Constructs a new Progress. - * @exports Progress - * @classdesc Represents a Progress. - * @implements IProgress - * @constructor - * @param {IProgress=} [properties] Properties to set - */ - function Progress(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Progress value. - * @member {number} value - * @memberof Progress - * @instance - */ - Progress.prototype.value = 0; - - /** - * Progress text. - * @member {string} text - * @memberof Progress - * @instance - */ - Progress.prototype.text = ""; - - /** - * Creates a new Progress instance using the specified properties. - * @function create - * @memberof Progress - * @static - * @param {IProgress=} [properties] Properties to set - * @returns {Progress} Progress instance - */ - Progress.create = function create(properties) { - return new Progress(properties); - }; - - /** - * Encodes the specified Progress message. Does not implicitly {@link Progress.verify|verify} messages. - * @function encode - * @memberof Progress - * @static - * @param {IProgress} message Progress message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Progress.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.value); - if (message.text != null && Object.hasOwnProperty.call(message, "text")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.text); - return writer; - }; - - /** - * Encodes the specified Progress message, length delimited. Does not implicitly {@link Progress.verify|verify} messages. - * @function encodeDelimited - * @memberof Progress - * @static - * @param {IProgress} message Progress message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Progress.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Progress message from the specified reader or buffer. - * @function decode - * @memberof Progress - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Progress} Progress - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Progress.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Progress(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.value = reader.uint32(); - break; - } - case 2: { - message.text = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Progress message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Progress - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Progress} Progress - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Progress.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Progress message. - * @function verify - * @memberof Progress - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Progress.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (!$util.isInteger(message.value)) - return "value: integer expected"; - if (message.text != null && message.hasOwnProperty("text")) - if (!$util.isString(message.text)) - return "text: string expected"; - return null; - }; - - /** - * Creates a Progress message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Progress - * @static - * @param {Object.} object Plain object - * @returns {Progress} Progress - */ - Progress.fromObject = function fromObject(object) { - if (object instanceof $root.Progress) - return object; - let message = new $root.Progress(); - if (object.value != null) - message.value = object.value >>> 0; - if (object.text != null) - message.text = String(object.text); - return message; - }; - - /** - * Creates a plain object from a Progress message. Also converts values to other types if specified. - * @function toObject - * @memberof Progress - * @static - * @param {Progress} message Progress - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Progress.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.value = 0; - object.text = ""; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - if (message.text != null && message.hasOwnProperty("text")) - object.text = message.text; - return object; - }; - - /** - * Converts this Progress to JSON. - * @function toJSON - * @memberof Progress - * @instance - * @returns {Object.} JSON object - */ - Progress.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Progress - * @function getTypeUrl - * @memberof Progress - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Progress.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Progress"; - }; - - return Progress; -})(); - -export const Radio = $root.Radio = (() => { - - /** - * Properties of a Radio. - * @exports IRadio - * @interface IRadio - * @property {string|null} [id] Radio id - * @property {string|null} [label] Radio label - * @property {number|null} ["default"] Radio default - * @property {Array.|null} [options] Radio options - * @property {string|null} [help] Radio help - * @property {string|null} [formId] Radio formId - * @property {number|null} [value] Radio value - * @property {boolean|null} [setValue] Radio setValue - * @property {boolean|null} [disabled] Radio disabled - * @property {boolean|null} [horizontal] Radio horizontal - * @property {ILabelVisibilityMessage|null} [labelVisibility] Radio labelVisibility - */ - - /** - * Constructs a new Radio. - * @exports Radio - * @classdesc Represents a Radio. - * @implements IRadio - * @constructor - * @param {IRadio=} [properties] Properties to set - */ - function Radio(properties) { - this.options = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Radio id. - * @member {string} id - * @memberof Radio - * @instance - */ - Radio.prototype.id = ""; - - /** - * Radio label. - * @member {string} label - * @memberof Radio - * @instance - */ - Radio.prototype.label = ""; - - /** - * Radio default. - * @member {number} default - * @memberof Radio - * @instance - */ - Radio.prototype["default"] = 0; - - /** - * Radio options. - * @member {Array.} options - * @memberof Radio - * @instance - */ - Radio.prototype.options = $util.emptyArray; - - /** - * Radio help. - * @member {string} help - * @memberof Radio - * @instance - */ - Radio.prototype.help = ""; - - /** - * Radio formId. - * @member {string} formId - * @memberof Radio - * @instance - */ - Radio.prototype.formId = ""; - - /** - * Radio value. - * @member {number} value - * @memberof Radio - * @instance - */ - Radio.prototype.value = 0; - - /** - * Radio setValue. - * @member {boolean} setValue - * @memberof Radio - * @instance - */ - Radio.prototype.setValue = false; - - /** - * Radio disabled. - * @member {boolean} disabled - * @memberof Radio - * @instance - */ - Radio.prototype.disabled = false; - - /** - * Radio horizontal. - * @member {boolean} horizontal - * @memberof Radio - * @instance - */ - Radio.prototype.horizontal = false; - - /** - * Radio labelVisibility. - * @member {ILabelVisibilityMessage|null|undefined} labelVisibility - * @memberof Radio - * @instance - */ - Radio.prototype.labelVisibility = null; - - /** - * Creates a new Radio instance using the specified properties. - * @function create - * @memberof Radio - * @static - * @param {IRadio=} [properties] Properties to set - * @returns {Radio} Radio instance - */ - Radio.create = function create(properties) { - return new Radio(properties); - }; - - /** - * Encodes the specified Radio message. Does not implicitly {@link Radio.verify|verify} messages. - * @function encode - * @memberof Radio - * @static - * @param {IRadio} message Radio message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Radio.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.id != null && Object.hasOwnProperty.call(message, "id")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); - if (message.label != null && Object.hasOwnProperty.call(message, "label")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.label); - if (message["default"] != null && Object.hasOwnProperty.call(message, "default")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message["default"]); - if (message.options != null && message.options.length) - for (let i = 0; i < message.options.length; ++i) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.options[i]); - if (message.help != null && Object.hasOwnProperty.call(message, "help")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.help); - if (message.formId != null && Object.hasOwnProperty.call(message, "formId")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.formId); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - writer.uint32(/* id 7, wireType 0 =*/56).int32(message.value); - if (message.setValue != null && Object.hasOwnProperty.call(message, "setValue")) - writer.uint32(/* id 8, wireType 0 =*/64).bool(message.setValue); - if (message.disabled != null && Object.hasOwnProperty.call(message, "disabled")) - writer.uint32(/* id 9, wireType 0 =*/72).bool(message.disabled); - if (message.horizontal != null && Object.hasOwnProperty.call(message, "horizontal")) - writer.uint32(/* id 10, wireType 0 =*/80).bool(message.horizontal); - if (message.labelVisibility != null && Object.hasOwnProperty.call(message, "labelVisibility")) - $root.LabelVisibilityMessage.encode(message.labelVisibility, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified Radio message, length delimited. Does not implicitly {@link Radio.verify|verify} messages. - * @function encodeDelimited - * @memberof Radio - * @static - * @param {IRadio} message Radio message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Radio.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Radio message from the specified reader or buffer. - * @function decode - * @memberof Radio - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Radio} Radio - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Radio.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Radio(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.id = reader.string(); - break; - } - case 2: { - message.label = reader.string(); - break; - } - case 3: { - message["default"] = reader.int32(); - break; - } - case 4: { - if (!(message.options && message.options.length)) - message.options = []; - message.options.push(reader.string()); - break; - } - case 5: { - message.help = reader.string(); - break; - } - case 6: { - message.formId = reader.string(); - break; - } - case 7: { - message.value = reader.int32(); - break; - } - case 8: { - message.setValue = reader.bool(); - break; - } - case 9: { - message.disabled = reader.bool(); - break; - } - case 10: { - message.horizontal = reader.bool(); - break; - } - case 11: { - message.labelVisibility = $root.LabelVisibilityMessage.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Radio message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Radio - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Radio} Radio - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Radio.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Radio message. - * @function verify - * @memberof Radio - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Radio.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isString(message.id)) - return "id: string expected"; - if (message.label != null && message.hasOwnProperty("label")) - if (!$util.isString(message.label)) - return "label: string expected"; - if (message["default"] != null && message.hasOwnProperty("default")) - if (!$util.isInteger(message["default"])) - return "default: integer expected"; - if (message.options != null && message.hasOwnProperty("options")) { - if (!Array.isArray(message.options)) - return "options: array expected"; - for (let i = 0; i < message.options.length; ++i) - if (!$util.isString(message.options[i])) - return "options: string[] expected"; - } - if (message.help != null && message.hasOwnProperty("help")) - if (!$util.isString(message.help)) - return "help: string expected"; - if (message.formId != null && message.hasOwnProperty("formId")) - if (!$util.isString(message.formId)) - return "formId: string expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (!$util.isInteger(message.value)) - return "value: integer expected"; - if (message.setValue != null && message.hasOwnProperty("setValue")) - if (typeof message.setValue !== "boolean") - return "setValue: boolean expected"; - if (message.disabled != null && message.hasOwnProperty("disabled")) - if (typeof message.disabled !== "boolean") - return "disabled: boolean expected"; - if (message.horizontal != null && message.hasOwnProperty("horizontal")) - if (typeof message.horizontal !== "boolean") - return "horizontal: boolean expected"; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) { - let error = $root.LabelVisibilityMessage.verify(message.labelVisibility); - if (error) - return "labelVisibility." + error; - } - return null; - }; - - /** - * Creates a Radio message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Radio - * @static - * @param {Object.} object Plain object - * @returns {Radio} Radio - */ - Radio.fromObject = function fromObject(object) { - if (object instanceof $root.Radio) - return object; - let message = new $root.Radio(); - if (object.id != null) - message.id = String(object.id); - if (object.label != null) - message.label = String(object.label); - if (object["default"] != null) - message["default"] = object["default"] | 0; - if (object.options) { - if (!Array.isArray(object.options)) - throw TypeError(".Radio.options: array expected"); - message.options = []; - for (let i = 0; i < object.options.length; ++i) - message.options[i] = String(object.options[i]); - } - if (object.help != null) - message.help = String(object.help); - if (object.formId != null) - message.formId = String(object.formId); - if (object.value != null) - message.value = object.value | 0; - if (object.setValue != null) - message.setValue = Boolean(object.setValue); - if (object.disabled != null) - message.disabled = Boolean(object.disabled); - if (object.horizontal != null) - message.horizontal = Boolean(object.horizontal); - if (object.labelVisibility != null) { - if (typeof object.labelVisibility !== "object") - throw TypeError(".Radio.labelVisibility: object expected"); - message.labelVisibility = $root.LabelVisibilityMessage.fromObject(object.labelVisibility); - } - return message; - }; - - /** - * Creates a plain object from a Radio message. Also converts values to other types if specified. - * @function toObject - * @memberof Radio - * @static - * @param {Radio} message Radio - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Radio.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.options = []; - if (options.defaults) { - object.id = ""; - object.label = ""; - object["default"] = 0; - object.help = ""; - object.formId = ""; - object.value = 0; - object.setValue = false; - object.disabled = false; - object.horizontal = false; - object.labelVisibility = null; - } - if (message.id != null && message.hasOwnProperty("id")) - object.id = message.id; - if (message.label != null && message.hasOwnProperty("label")) - object.label = message.label; - if (message["default"] != null && message.hasOwnProperty("default")) - object["default"] = message["default"]; - if (message.options && message.options.length) { - object.options = []; - for (let j = 0; j < message.options.length; ++j) - object.options[j] = message.options[j]; - } - if (message.help != null && message.hasOwnProperty("help")) - object.help = message.help; - if (message.formId != null && message.hasOwnProperty("formId")) - object.formId = message.formId; - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - if (message.setValue != null && message.hasOwnProperty("setValue")) - object.setValue = message.setValue; - if (message.disabled != null && message.hasOwnProperty("disabled")) - object.disabled = message.disabled; - if (message.horizontal != null && message.hasOwnProperty("horizontal")) - object.horizontal = message.horizontal; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) - object.labelVisibility = $root.LabelVisibilityMessage.toObject(message.labelVisibility, options); - return object; - }; - - /** - * Converts this Radio to JSON. - * @function toJSON - * @memberof Radio - * @instance - * @returns {Object.} JSON object - */ - Radio.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Radio - * @function getTypeUrl - * @memberof Radio - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Radio.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Radio"; - }; - - return Radio; -})(); - -/** - * RootContainer enum. - * @exports RootContainer - * @enum {number} - * @property {number} MAIN=0 MAIN value - * @property {number} SIDEBAR=1 SIDEBAR value - */ -export const RootContainer = $root.RootContainer = (() => { - const valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "MAIN"] = 0; - values[valuesById[1] = "SIDEBAR"] = 1; - return values; -})(); - -export const Selectbox = $root.Selectbox = (() => { - - /** - * Properties of a Selectbox. - * @exports ISelectbox - * @interface ISelectbox - * @property {string|null} [id] Selectbox id - * @property {string|null} [label] Selectbox label - * @property {number|null} ["default"] Selectbox default - * @property {Array.|null} [options] Selectbox options - * @property {string|null} [help] Selectbox help - * @property {string|null} [formId] Selectbox formId - * @property {number|null} [value] Selectbox value - * @property {boolean|null} [setValue] Selectbox setValue - * @property {boolean|null} [disabled] Selectbox disabled - * @property {ILabelVisibilityMessage|null} [labelVisibility] Selectbox labelVisibility - */ - - /** - * Constructs a new Selectbox. - * @exports Selectbox - * @classdesc Represents a Selectbox. - * @implements ISelectbox - * @constructor - * @param {ISelectbox=} [properties] Properties to set - */ - function Selectbox(properties) { - this.options = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Selectbox id. - * @member {string} id - * @memberof Selectbox - * @instance - */ - Selectbox.prototype.id = ""; - - /** - * Selectbox label. - * @member {string} label - * @memberof Selectbox - * @instance - */ - Selectbox.prototype.label = ""; - - /** - * Selectbox default. - * @member {number} default - * @memberof Selectbox - * @instance - */ - Selectbox.prototype["default"] = 0; - - /** - * Selectbox options. - * @member {Array.} options - * @memberof Selectbox - * @instance - */ - Selectbox.prototype.options = $util.emptyArray; - - /** - * Selectbox help. - * @member {string} help - * @memberof Selectbox - * @instance - */ - Selectbox.prototype.help = ""; - - /** - * Selectbox formId. - * @member {string} formId - * @memberof Selectbox - * @instance - */ - Selectbox.prototype.formId = ""; - - /** - * Selectbox value. - * @member {number} value - * @memberof Selectbox - * @instance - */ - Selectbox.prototype.value = 0; - - /** - * Selectbox setValue. - * @member {boolean} setValue - * @memberof Selectbox - * @instance - */ - Selectbox.prototype.setValue = false; - - /** - * Selectbox disabled. - * @member {boolean} disabled - * @memberof Selectbox - * @instance - */ - Selectbox.prototype.disabled = false; - - /** - * Selectbox labelVisibility. - * @member {ILabelVisibilityMessage|null|undefined} labelVisibility - * @memberof Selectbox - * @instance - */ - Selectbox.prototype.labelVisibility = null; - - /** - * Creates a new Selectbox instance using the specified properties. - * @function create - * @memberof Selectbox - * @static - * @param {ISelectbox=} [properties] Properties to set - * @returns {Selectbox} Selectbox instance - */ - Selectbox.create = function create(properties) { - return new Selectbox(properties); - }; - - /** - * Encodes the specified Selectbox message. Does not implicitly {@link Selectbox.verify|verify} messages. - * @function encode - * @memberof Selectbox - * @static - * @param {ISelectbox} message Selectbox message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Selectbox.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.id != null && Object.hasOwnProperty.call(message, "id")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); - if (message.label != null && Object.hasOwnProperty.call(message, "label")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.label); - if (message["default"] != null && Object.hasOwnProperty.call(message, "default")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message["default"]); - if (message.options != null && message.options.length) - for (let i = 0; i < message.options.length; ++i) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.options[i]); - if (message.help != null && Object.hasOwnProperty.call(message, "help")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.help); - if (message.formId != null && Object.hasOwnProperty.call(message, "formId")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.formId); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - writer.uint32(/* id 7, wireType 0 =*/56).int32(message.value); - if (message.setValue != null && Object.hasOwnProperty.call(message, "setValue")) - writer.uint32(/* id 8, wireType 0 =*/64).bool(message.setValue); - if (message.disabled != null && Object.hasOwnProperty.call(message, "disabled")) - writer.uint32(/* id 9, wireType 0 =*/72).bool(message.disabled); - if (message.labelVisibility != null && Object.hasOwnProperty.call(message, "labelVisibility")) - $root.LabelVisibilityMessage.encode(message.labelVisibility, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified Selectbox message, length delimited. Does not implicitly {@link Selectbox.verify|verify} messages. - * @function encodeDelimited - * @memberof Selectbox - * @static - * @param {ISelectbox} message Selectbox message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Selectbox.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Selectbox message from the specified reader or buffer. - * @function decode - * @memberof Selectbox - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Selectbox} Selectbox - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Selectbox.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Selectbox(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.id = reader.string(); - break; - } - case 2: { - message.label = reader.string(); - break; - } - case 3: { - message["default"] = reader.int32(); - break; - } - case 4: { - if (!(message.options && message.options.length)) - message.options = []; - message.options.push(reader.string()); - break; - } - case 5: { - message.help = reader.string(); - break; - } - case 6: { - message.formId = reader.string(); - break; - } - case 7: { - message.value = reader.int32(); - break; - } - case 8: { - message.setValue = reader.bool(); - break; - } - case 9: { - message.disabled = reader.bool(); - break; - } - case 10: { - message.labelVisibility = $root.LabelVisibilityMessage.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Selectbox message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Selectbox - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Selectbox} Selectbox - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Selectbox.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Selectbox message. - * @function verify - * @memberof Selectbox - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Selectbox.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isString(message.id)) - return "id: string expected"; - if (message.label != null && message.hasOwnProperty("label")) - if (!$util.isString(message.label)) - return "label: string expected"; - if (message["default"] != null && message.hasOwnProperty("default")) - if (!$util.isInteger(message["default"])) - return "default: integer expected"; - if (message.options != null && message.hasOwnProperty("options")) { - if (!Array.isArray(message.options)) - return "options: array expected"; - for (let i = 0; i < message.options.length; ++i) - if (!$util.isString(message.options[i])) - return "options: string[] expected"; - } - if (message.help != null && message.hasOwnProperty("help")) - if (!$util.isString(message.help)) - return "help: string expected"; - if (message.formId != null && message.hasOwnProperty("formId")) - if (!$util.isString(message.formId)) - return "formId: string expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (!$util.isInteger(message.value)) - return "value: integer expected"; - if (message.setValue != null && message.hasOwnProperty("setValue")) - if (typeof message.setValue !== "boolean") - return "setValue: boolean expected"; - if (message.disabled != null && message.hasOwnProperty("disabled")) - if (typeof message.disabled !== "boolean") - return "disabled: boolean expected"; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) { - let error = $root.LabelVisibilityMessage.verify(message.labelVisibility); - if (error) - return "labelVisibility." + error; - } - return null; - }; - - /** - * Creates a Selectbox message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Selectbox - * @static - * @param {Object.} object Plain object - * @returns {Selectbox} Selectbox - */ - Selectbox.fromObject = function fromObject(object) { - if (object instanceof $root.Selectbox) - return object; - let message = new $root.Selectbox(); - if (object.id != null) - message.id = String(object.id); - if (object.label != null) - message.label = String(object.label); - if (object["default"] != null) - message["default"] = object["default"] | 0; - if (object.options) { - if (!Array.isArray(object.options)) - throw TypeError(".Selectbox.options: array expected"); - message.options = []; - for (let i = 0; i < object.options.length; ++i) - message.options[i] = String(object.options[i]); - } - if (object.help != null) - message.help = String(object.help); - if (object.formId != null) - message.formId = String(object.formId); - if (object.value != null) - message.value = object.value | 0; - if (object.setValue != null) - message.setValue = Boolean(object.setValue); - if (object.disabled != null) - message.disabled = Boolean(object.disabled); - if (object.labelVisibility != null) { - if (typeof object.labelVisibility !== "object") - throw TypeError(".Selectbox.labelVisibility: object expected"); - message.labelVisibility = $root.LabelVisibilityMessage.fromObject(object.labelVisibility); - } - return message; - }; - - /** - * Creates a plain object from a Selectbox message. Also converts values to other types if specified. - * @function toObject - * @memberof Selectbox - * @static - * @param {Selectbox} message Selectbox - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Selectbox.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.options = []; - if (options.defaults) { - object.id = ""; - object.label = ""; - object["default"] = 0; - object.help = ""; - object.formId = ""; - object.value = 0; - object.setValue = false; - object.disabled = false; - object.labelVisibility = null; - } - if (message.id != null && message.hasOwnProperty("id")) - object.id = message.id; - if (message.label != null && message.hasOwnProperty("label")) - object.label = message.label; - if (message["default"] != null && message.hasOwnProperty("default")) - object["default"] = message["default"]; - if (message.options && message.options.length) { - object.options = []; - for (let j = 0; j < message.options.length; ++j) - object.options[j] = message.options[j]; - } - if (message.help != null && message.hasOwnProperty("help")) - object.help = message.help; - if (message.formId != null && message.hasOwnProperty("formId")) - object.formId = message.formId; - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - if (message.setValue != null && message.hasOwnProperty("setValue")) - object.setValue = message.setValue; - if (message.disabled != null && message.hasOwnProperty("disabled")) - object.disabled = message.disabled; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) - object.labelVisibility = $root.LabelVisibilityMessage.toObject(message.labelVisibility, options); - return object; - }; - - /** - * Converts this Selectbox to JSON. - * @function toJSON - * @memberof Selectbox - * @instance - * @returns {Object.} JSON object - */ - Selectbox.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Selectbox - * @function getTypeUrl - * @memberof Selectbox - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Selectbox.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Selectbox"; - }; - - return Selectbox; -})(); - -export const SessionEvent = $root.SessionEvent = (() => { - - /** - * Properties of a SessionEvent. - * @exports ISessionEvent - * @interface ISessionEvent - * @property {boolean|null} [scriptChangedOnDisk] SessionEvent scriptChangedOnDisk - * @property {boolean|null} [scriptWasManuallyStopped] SessionEvent scriptWasManuallyStopped - * @property {IException|null} [scriptCompilationException] SessionEvent scriptCompilationException - */ - - /** - * Constructs a new SessionEvent. - * @exports SessionEvent - * @classdesc Represents a SessionEvent. - * @implements ISessionEvent - * @constructor - * @param {ISessionEvent=} [properties] Properties to set - */ - function SessionEvent(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * SessionEvent scriptChangedOnDisk. - * @member {boolean|null|undefined} scriptChangedOnDisk - * @memberof SessionEvent - * @instance - */ - SessionEvent.prototype.scriptChangedOnDisk = null; - - /** - * SessionEvent scriptWasManuallyStopped. - * @member {boolean|null|undefined} scriptWasManuallyStopped - * @memberof SessionEvent - * @instance - */ - SessionEvent.prototype.scriptWasManuallyStopped = null; - - /** - * SessionEvent scriptCompilationException. - * @member {IException|null|undefined} scriptCompilationException - * @memberof SessionEvent - * @instance - */ - SessionEvent.prototype.scriptCompilationException = null; - - // OneOf field names bound to virtual getters and setters - let $oneOfFields; - - /** - * SessionEvent type. - * @member {"scriptChangedOnDisk"|"scriptWasManuallyStopped"|"scriptCompilationException"|undefined} type - * @memberof SessionEvent - * @instance - */ - Object.defineProperty(SessionEvent.prototype, "type", { - get: $util.oneOfGetter($oneOfFields = ["scriptChangedOnDisk", "scriptWasManuallyStopped", "scriptCompilationException"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new SessionEvent instance using the specified properties. - * @function create - * @memberof SessionEvent - * @static - * @param {ISessionEvent=} [properties] Properties to set - * @returns {SessionEvent} SessionEvent instance - */ - SessionEvent.create = function create(properties) { - return new SessionEvent(properties); - }; - - /** - * Encodes the specified SessionEvent message. Does not implicitly {@link SessionEvent.verify|verify} messages. - * @function encode - * @memberof SessionEvent - * @static - * @param {ISessionEvent} message SessionEvent message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SessionEvent.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.scriptChangedOnDisk != null && Object.hasOwnProperty.call(message, "scriptChangedOnDisk")) - writer.uint32(/* id 1, wireType 0 =*/8).bool(message.scriptChangedOnDisk); - if (message.scriptWasManuallyStopped != null && Object.hasOwnProperty.call(message, "scriptWasManuallyStopped")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.scriptWasManuallyStopped); - if (message.scriptCompilationException != null && Object.hasOwnProperty.call(message, "scriptCompilationException")) - $root.Exception.encode(message.scriptCompilationException, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified SessionEvent message, length delimited. Does not implicitly {@link SessionEvent.verify|verify} messages. - * @function encodeDelimited - * @memberof SessionEvent - * @static - * @param {ISessionEvent} message SessionEvent message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SessionEvent.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a SessionEvent message from the specified reader or buffer. - * @function decode - * @memberof SessionEvent - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {SessionEvent} SessionEvent - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SessionEvent.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.SessionEvent(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.scriptChangedOnDisk = reader.bool(); - break; - } - case 2: { - message.scriptWasManuallyStopped = reader.bool(); - break; - } - case 3: { - message.scriptCompilationException = $root.Exception.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a SessionEvent message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof SessionEvent - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {SessionEvent} SessionEvent - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SessionEvent.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a SessionEvent message. - * @function verify - * @memberof SessionEvent - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - SessionEvent.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - let properties = {}; - if (message.scriptChangedOnDisk != null && message.hasOwnProperty("scriptChangedOnDisk")) { - properties.type = 1; - if (typeof message.scriptChangedOnDisk !== "boolean") - return "scriptChangedOnDisk: boolean expected"; - } - if (message.scriptWasManuallyStopped != null && message.hasOwnProperty("scriptWasManuallyStopped")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - if (typeof message.scriptWasManuallyStopped !== "boolean") - return "scriptWasManuallyStopped: boolean expected"; - } - if (message.scriptCompilationException != null && message.hasOwnProperty("scriptCompilationException")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - let error = $root.Exception.verify(message.scriptCompilationException); - if (error) - return "scriptCompilationException." + error; - } - } - return null; - }; - - /** - * Creates a SessionEvent message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof SessionEvent - * @static - * @param {Object.} object Plain object - * @returns {SessionEvent} SessionEvent - */ - SessionEvent.fromObject = function fromObject(object) { - if (object instanceof $root.SessionEvent) - return object; - let message = new $root.SessionEvent(); - if (object.scriptChangedOnDisk != null) - message.scriptChangedOnDisk = Boolean(object.scriptChangedOnDisk); - if (object.scriptWasManuallyStopped != null) - message.scriptWasManuallyStopped = Boolean(object.scriptWasManuallyStopped); - if (object.scriptCompilationException != null) { - if (typeof object.scriptCompilationException !== "object") - throw TypeError(".SessionEvent.scriptCompilationException: object expected"); - message.scriptCompilationException = $root.Exception.fromObject(object.scriptCompilationException); - } - return message; - }; - - /** - * Creates a plain object from a SessionEvent message. Also converts values to other types if specified. - * @function toObject - * @memberof SessionEvent - * @static - * @param {SessionEvent} message SessionEvent - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - SessionEvent.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (message.scriptChangedOnDisk != null && message.hasOwnProperty("scriptChangedOnDisk")) { - object.scriptChangedOnDisk = message.scriptChangedOnDisk; - if (options.oneofs) - object.type = "scriptChangedOnDisk"; - } - if (message.scriptWasManuallyStopped != null && message.hasOwnProperty("scriptWasManuallyStopped")) { - object.scriptWasManuallyStopped = message.scriptWasManuallyStopped; - if (options.oneofs) - object.type = "scriptWasManuallyStopped"; - } - if (message.scriptCompilationException != null && message.hasOwnProperty("scriptCompilationException")) { - object.scriptCompilationException = $root.Exception.toObject(message.scriptCompilationException, options); - if (options.oneofs) - object.type = "scriptCompilationException"; - } - return object; - }; - - /** - * Converts this SessionEvent to JSON. - * @function toJSON - * @memberof SessionEvent - * @instance - * @returns {Object.} JSON object - */ - SessionEvent.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for SessionEvent - * @function getTypeUrl - * @memberof SessionEvent - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - SessionEvent.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/SessionEvent"; - }; - - return SessionEvent; -})(); - -export const SessionStatus = $root.SessionStatus = (() => { - - /** - * Properties of a SessionStatus. - * @exports ISessionStatus - * @interface ISessionStatus - * @property {boolean|null} [runOnSave] SessionStatus runOnSave - * @property {boolean|null} [scriptIsRunning] SessionStatus scriptIsRunning - */ - - /** - * Constructs a new SessionStatus. - * @exports SessionStatus - * @classdesc Represents a SessionStatus. - * @implements ISessionStatus - * @constructor - * @param {ISessionStatus=} [properties] Properties to set - */ - function SessionStatus(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * SessionStatus runOnSave. - * @member {boolean} runOnSave - * @memberof SessionStatus - * @instance - */ - SessionStatus.prototype.runOnSave = false; - - /** - * SessionStatus scriptIsRunning. - * @member {boolean} scriptIsRunning - * @memberof SessionStatus - * @instance - */ - SessionStatus.prototype.scriptIsRunning = false; - - /** - * Creates a new SessionStatus instance using the specified properties. - * @function create - * @memberof SessionStatus - * @static - * @param {ISessionStatus=} [properties] Properties to set - * @returns {SessionStatus} SessionStatus instance - */ - SessionStatus.create = function create(properties) { - return new SessionStatus(properties); - }; - - /** - * Encodes the specified SessionStatus message. Does not implicitly {@link SessionStatus.verify|verify} messages. - * @function encode - * @memberof SessionStatus - * @static - * @param {ISessionStatus} message SessionStatus message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SessionStatus.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.runOnSave != null && Object.hasOwnProperty.call(message, "runOnSave")) - writer.uint32(/* id 1, wireType 0 =*/8).bool(message.runOnSave); - if (message.scriptIsRunning != null && Object.hasOwnProperty.call(message, "scriptIsRunning")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.scriptIsRunning); - return writer; - }; - - /** - * Encodes the specified SessionStatus message, length delimited. Does not implicitly {@link SessionStatus.verify|verify} messages. - * @function encodeDelimited - * @memberof SessionStatus - * @static - * @param {ISessionStatus} message SessionStatus message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SessionStatus.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a SessionStatus message from the specified reader or buffer. - * @function decode - * @memberof SessionStatus - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {SessionStatus} SessionStatus - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SessionStatus.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.SessionStatus(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.runOnSave = reader.bool(); - break; - } - case 2: { - message.scriptIsRunning = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a SessionStatus message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof SessionStatus - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {SessionStatus} SessionStatus - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SessionStatus.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a SessionStatus message. - * @function verify - * @memberof SessionStatus - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - SessionStatus.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.runOnSave != null && message.hasOwnProperty("runOnSave")) - if (typeof message.runOnSave !== "boolean") - return "runOnSave: boolean expected"; - if (message.scriptIsRunning != null && message.hasOwnProperty("scriptIsRunning")) - if (typeof message.scriptIsRunning !== "boolean") - return "scriptIsRunning: boolean expected"; - return null; - }; - - /** - * Creates a SessionStatus message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof SessionStatus - * @static - * @param {Object.} object Plain object - * @returns {SessionStatus} SessionStatus - */ - SessionStatus.fromObject = function fromObject(object) { - if (object instanceof $root.SessionStatus) - return object; - let message = new $root.SessionStatus(); - if (object.runOnSave != null) - message.runOnSave = Boolean(object.runOnSave); - if (object.scriptIsRunning != null) - message.scriptIsRunning = Boolean(object.scriptIsRunning); - return message; - }; - - /** - * Creates a plain object from a SessionStatus message. Also converts values to other types if specified. - * @function toObject - * @memberof SessionStatus - * @static - * @param {SessionStatus} message SessionStatus - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - SessionStatus.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.runOnSave = false; - object.scriptIsRunning = false; - } - if (message.runOnSave != null && message.hasOwnProperty("runOnSave")) - object.runOnSave = message.runOnSave; - if (message.scriptIsRunning != null && message.hasOwnProperty("scriptIsRunning")) - object.scriptIsRunning = message.scriptIsRunning; - return object; - }; - - /** - * Converts this SessionStatus to JSON. - * @function toJSON - * @memberof SessionStatus - * @instance - * @returns {Object.} JSON object - */ - SessionStatus.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for SessionStatus - * @function getTypeUrl - * @memberof SessionStatus - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - SessionStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/SessionStatus"; - }; - - return SessionStatus; -})(); - -export const Slider = $root.Slider = (() => { - - /** - * Properties of a Slider. - * @exports ISlider - * @interface ISlider - * @property {string|null} [id] Slider id - * @property {string|null} [formId] Slider formId - * @property {string|null} [label] Slider label - * @property {string|null} [format] Slider format - * @property {Slider.DataType|null} [dataType] Slider dataType - * @property {Array.|null} ["default"] Slider default - * @property {number|null} [min] Slider min - * @property {number|null} [max] Slider max - * @property {number|null} [step] Slider step - * @property {Array.|null} [value] Slider value - * @property {boolean|null} [setValue] Slider setValue - * @property {Array.|null} [options] Slider options - * @property {string|null} [help] Slider help - * @property {boolean|null} [disabled] Slider disabled - * @property {ILabelVisibilityMessage|null} [labelVisibility] Slider labelVisibility - * @property {Slider.Type|null} [type] Slider type - */ - - /** - * Constructs a new Slider. - * @exports Slider - * @classdesc Represents a Slider. - * @implements ISlider - * @constructor - * @param {ISlider=} [properties] Properties to set - */ - function Slider(properties) { - this["default"] = []; - this.value = []; - this.options = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Slider id. - * @member {string} id - * @memberof Slider - * @instance - */ - Slider.prototype.id = ""; - - /** - * Slider formId. - * @member {string} formId - * @memberof Slider - * @instance - */ - Slider.prototype.formId = ""; - - /** - * Slider label. - * @member {string} label - * @memberof Slider - * @instance - */ - Slider.prototype.label = ""; - - /** - * Slider format. - * @member {string} format - * @memberof Slider - * @instance - */ - Slider.prototype.format = ""; - - /** - * Slider dataType. - * @member {Slider.DataType} dataType - * @memberof Slider - * @instance - */ - Slider.prototype.dataType = 0; - - /** - * Slider default. - * @member {Array.} default - * @memberof Slider - * @instance - */ - Slider.prototype["default"] = $util.emptyArray; - - /** - * Slider min. - * @member {number} min - * @memberof Slider - * @instance - */ - Slider.prototype.min = 0; - - /** - * Slider max. - * @member {number} max - * @memberof Slider - * @instance - */ - Slider.prototype.max = 0; - - /** - * Slider step. - * @member {number} step - * @memberof Slider - * @instance - */ - Slider.prototype.step = 0; - - /** - * Slider value. - * @member {Array.} value - * @memberof Slider - * @instance - */ - Slider.prototype.value = $util.emptyArray; - - /** - * Slider setValue. - * @member {boolean} setValue - * @memberof Slider - * @instance - */ - Slider.prototype.setValue = false; - - /** - * Slider options. - * @member {Array.} options - * @memberof Slider - * @instance - */ - Slider.prototype.options = $util.emptyArray; - - /** - * Slider help. - * @member {string} help - * @memberof Slider - * @instance - */ - Slider.prototype.help = ""; - - /** - * Slider disabled. - * @member {boolean} disabled - * @memberof Slider - * @instance - */ - Slider.prototype.disabled = false; - - /** - * Slider labelVisibility. - * @member {ILabelVisibilityMessage|null|undefined} labelVisibility - * @memberof Slider - * @instance - */ - Slider.prototype.labelVisibility = null; - - /** - * Slider type. - * @member {Slider.Type} type - * @memberof Slider - * @instance - */ - Slider.prototype.type = 0; - - /** - * Creates a new Slider instance using the specified properties. - * @function create - * @memberof Slider - * @static - * @param {ISlider=} [properties] Properties to set - * @returns {Slider} Slider instance - */ - Slider.create = function create(properties) { - return new Slider(properties); - }; - - /** - * Encodes the specified Slider message. Does not implicitly {@link Slider.verify|verify} messages. - * @function encode - * @memberof Slider - * @static - * @param {ISlider} message Slider message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Slider.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.id != null && Object.hasOwnProperty.call(message, "id")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); - if (message.formId != null && Object.hasOwnProperty.call(message, "formId")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.formId); - if (message.label != null && Object.hasOwnProperty.call(message, "label")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.label); - if (message.format != null && Object.hasOwnProperty.call(message, "format")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.format); - if (message.dataType != null && Object.hasOwnProperty.call(message, "dataType")) - writer.uint32(/* id 5, wireType 0 =*/40).int32(message.dataType); - if (message["default"] != null && message["default"].length) { - writer.uint32(/* id 6, wireType 2 =*/50).fork(); - for (let i = 0; i < message["default"].length; ++i) - writer.double(message["default"][i]); - writer.ldelim(); - } - if (message.min != null && Object.hasOwnProperty.call(message, "min")) - writer.uint32(/* id 7, wireType 1 =*/57).double(message.min); - if (message.max != null && Object.hasOwnProperty.call(message, "max")) - writer.uint32(/* id 8, wireType 1 =*/65).double(message.max); - if (message.step != null && Object.hasOwnProperty.call(message, "step")) - writer.uint32(/* id 9, wireType 1 =*/73).double(message.step); - if (message.value != null && message.value.length) { - writer.uint32(/* id 10, wireType 2 =*/82).fork(); - for (let i = 0; i < message.value.length; ++i) - writer.double(message.value[i]); - writer.ldelim(); - } - if (message.setValue != null && Object.hasOwnProperty.call(message, "setValue")) - writer.uint32(/* id 11, wireType 0 =*/88).bool(message.setValue); - if (message.options != null && message.options.length) - for (let i = 0; i < message.options.length; ++i) - writer.uint32(/* id 13, wireType 2 =*/106).string(message.options[i]); - if (message.help != null && Object.hasOwnProperty.call(message, "help")) - writer.uint32(/* id 14, wireType 2 =*/114).string(message.help); - if (message.disabled != null && Object.hasOwnProperty.call(message, "disabled")) - writer.uint32(/* id 15, wireType 0 =*/120).bool(message.disabled); - if (message.labelVisibility != null && Object.hasOwnProperty.call(message, "labelVisibility")) - $root.LabelVisibilityMessage.encode(message.labelVisibility, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim(); - if (message.type != null && Object.hasOwnProperty.call(message, "type")) - writer.uint32(/* id 17, wireType 0 =*/136).int32(message.type); - return writer; - }; - - /** - * Encodes the specified Slider message, length delimited. Does not implicitly {@link Slider.verify|verify} messages. - * @function encodeDelimited - * @memberof Slider - * @static - * @param {ISlider} message Slider message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Slider.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Slider message from the specified reader or buffer. - * @function decode - * @memberof Slider - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Slider} Slider - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Slider.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Slider(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.id = reader.string(); - break; - } - case 2: { - message.formId = reader.string(); - break; - } - case 3: { - message.label = reader.string(); - break; - } - case 4: { - message.format = reader.string(); - break; - } - case 5: { - message.dataType = reader.int32(); - break; - } - case 6: { - if (!(message["default"] && message["default"].length)) - message["default"] = []; - if ((tag & 7) === 2) { - let end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) - message["default"].push(reader.double()); - } else - message["default"].push(reader.double()); - break; - } - case 7: { - message.min = reader.double(); - break; - } - case 8: { - message.max = reader.double(); - break; - } - case 9: { - message.step = reader.double(); - break; - } - case 10: { - if (!(message.value && message.value.length)) - message.value = []; - if ((tag & 7) === 2) { - let end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) - message.value.push(reader.double()); - } else - message.value.push(reader.double()); - break; - } - case 11: { - message.setValue = reader.bool(); - break; - } - case 13: { - if (!(message.options && message.options.length)) - message.options = []; - message.options.push(reader.string()); - break; - } - case 14: { - message.help = reader.string(); - break; - } - case 15: { - message.disabled = reader.bool(); - break; - } - case 16: { - message.labelVisibility = $root.LabelVisibilityMessage.decode(reader, reader.uint32()); - break; - } - case 17: { - message.type = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Slider message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Slider - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Slider} Slider - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Slider.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Slider message. - * @function verify - * @memberof Slider - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Slider.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isString(message.id)) - return "id: string expected"; - if (message.formId != null && message.hasOwnProperty("formId")) - if (!$util.isString(message.formId)) - return "formId: string expected"; - if (message.label != null && message.hasOwnProperty("label")) - if (!$util.isString(message.label)) - return "label: string expected"; - if (message.format != null && message.hasOwnProperty("format")) - if (!$util.isString(message.format)) - return "format: string expected"; - if (message.dataType != null && message.hasOwnProperty("dataType")) - switch (message.dataType) { - default: - return "dataType: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message["default"] != null && message.hasOwnProperty("default")) { - if (!Array.isArray(message["default"])) - return "default: array expected"; - for (let i = 0; i < message["default"].length; ++i) - if (typeof message["default"][i] !== "number") - return "default: number[] expected"; - } - if (message.min != null && message.hasOwnProperty("min")) - if (typeof message.min !== "number") - return "min: number expected"; - if (message.max != null && message.hasOwnProperty("max")) - if (typeof message.max !== "number") - return "max: number expected"; - if (message.step != null && message.hasOwnProperty("step")) - if (typeof message.step !== "number") - return "step: number expected"; - if (message.value != null && message.hasOwnProperty("value")) { - if (!Array.isArray(message.value)) - return "value: array expected"; - for (let i = 0; i < message.value.length; ++i) - if (typeof message.value[i] !== "number") - return "value: number[] expected"; - } - if (message.setValue != null && message.hasOwnProperty("setValue")) - if (typeof message.setValue !== "boolean") - return "setValue: boolean expected"; - if (message.options != null && message.hasOwnProperty("options")) { - if (!Array.isArray(message.options)) - return "options: array expected"; - for (let i = 0; i < message.options.length; ++i) - if (!$util.isString(message.options[i])) - return "options: string[] expected"; - } - if (message.help != null && message.hasOwnProperty("help")) - if (!$util.isString(message.help)) - return "help: string expected"; - if (message.disabled != null && message.hasOwnProperty("disabled")) - if (typeof message.disabled !== "boolean") - return "disabled: boolean expected"; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) { - let error = $root.LabelVisibilityMessage.verify(message.labelVisibility); - if (error) - return "labelVisibility." + error; - } - if (message.type != null && message.hasOwnProperty("type")) - switch (message.type) { - default: - return "type: enum value expected"; - case 0: - case 1: - case 2: - break; - } - return null; - }; - - /** - * Creates a Slider message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Slider - * @static - * @param {Object.} object Plain object - * @returns {Slider} Slider - */ - Slider.fromObject = function fromObject(object) { - if (object instanceof $root.Slider) - return object; - let message = new $root.Slider(); - if (object.id != null) - message.id = String(object.id); - if (object.formId != null) - message.formId = String(object.formId); - if (object.label != null) - message.label = String(object.label); - if (object.format != null) - message.format = String(object.format); - switch (object.dataType) { - default: - if (typeof object.dataType === "number") { - message.dataType = object.dataType; - break; - } - break; - case "INT": - case 0: - message.dataType = 0; - break; - case "FLOAT": - case 1: - message.dataType = 1; - break; - case "DATETIME": - case 2: - message.dataType = 2; - break; - case "DATE": - case 3: - message.dataType = 3; - break; - case "TIME": - case 4: - message.dataType = 4; - break; - } - if (object["default"]) { - if (!Array.isArray(object["default"])) - throw TypeError(".Slider.default: array expected"); - message["default"] = []; - for (let i = 0; i < object["default"].length; ++i) - message["default"][i] = Number(object["default"][i]); - } - if (object.min != null) - message.min = Number(object.min); - if (object.max != null) - message.max = Number(object.max); - if (object.step != null) - message.step = Number(object.step); - if (object.value) { - if (!Array.isArray(object.value)) - throw TypeError(".Slider.value: array expected"); - message.value = []; - for (let i = 0; i < object.value.length; ++i) - message.value[i] = Number(object.value[i]); - } - if (object.setValue != null) - message.setValue = Boolean(object.setValue); - if (object.options) { - if (!Array.isArray(object.options)) - throw TypeError(".Slider.options: array expected"); - message.options = []; - for (let i = 0; i < object.options.length; ++i) - message.options[i] = String(object.options[i]); - } - if (object.help != null) - message.help = String(object.help); - if (object.disabled != null) - message.disabled = Boolean(object.disabled); - if (object.labelVisibility != null) { - if (typeof object.labelVisibility !== "object") - throw TypeError(".Slider.labelVisibility: object expected"); - message.labelVisibility = $root.LabelVisibilityMessage.fromObject(object.labelVisibility); - } - switch (object.type) { - default: - if (typeof object.type === "number") { - message.type = object.type; - break; - } - break; - case "UNSPECIFIED": - case 0: - message.type = 0; - break; - case "SLIDER": - case 1: - message.type = 1; - break; - case "SELECT_SLIDER": - case 2: - message.type = 2; - break; - } - return message; - }; - - /** - * Creates a plain object from a Slider message. Also converts values to other types if specified. - * @function toObject - * @memberof Slider - * @static - * @param {Slider} message Slider - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Slider.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) { - object["default"] = []; - object.value = []; - object.options = []; - } - if (options.defaults) { - object.id = ""; - object.formId = ""; - object.label = ""; - object.format = ""; - object.dataType = options.enums === String ? "INT" : 0; - object.min = 0; - object.max = 0; - object.step = 0; - object.setValue = false; - object.help = ""; - object.disabled = false; - object.labelVisibility = null; - object.type = options.enums === String ? "UNSPECIFIED" : 0; - } - if (message.id != null && message.hasOwnProperty("id")) - object.id = message.id; - if (message.formId != null && message.hasOwnProperty("formId")) - object.formId = message.formId; - if (message.label != null && message.hasOwnProperty("label")) - object.label = message.label; - if (message.format != null && message.hasOwnProperty("format")) - object.format = message.format; - if (message.dataType != null && message.hasOwnProperty("dataType")) - object.dataType = options.enums === String ? $root.Slider.DataType[message.dataType] === undefined ? message.dataType : $root.Slider.DataType[message.dataType] : message.dataType; - if (message["default"] && message["default"].length) { - object["default"] = []; - for (let j = 0; j < message["default"].length; ++j) - object["default"][j] = options.json && !isFinite(message["default"][j]) ? String(message["default"][j]) : message["default"][j]; - } - if (message.min != null && message.hasOwnProperty("min")) - object.min = options.json && !isFinite(message.min) ? String(message.min) : message.min; - if (message.max != null && message.hasOwnProperty("max")) - object.max = options.json && !isFinite(message.max) ? String(message.max) : message.max; - if (message.step != null && message.hasOwnProperty("step")) - object.step = options.json && !isFinite(message.step) ? String(message.step) : message.step; - if (message.value && message.value.length) { - object.value = []; - for (let j = 0; j < message.value.length; ++j) - object.value[j] = options.json && !isFinite(message.value[j]) ? String(message.value[j]) : message.value[j]; - } - if (message.setValue != null && message.hasOwnProperty("setValue")) - object.setValue = message.setValue; - if (message.options && message.options.length) { - object.options = []; - for (let j = 0; j < message.options.length; ++j) - object.options[j] = message.options[j]; - } - if (message.help != null && message.hasOwnProperty("help")) - object.help = message.help; - if (message.disabled != null && message.hasOwnProperty("disabled")) - object.disabled = message.disabled; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) - object.labelVisibility = $root.LabelVisibilityMessage.toObject(message.labelVisibility, options); - if (message.type != null && message.hasOwnProperty("type")) - object.type = options.enums === String ? $root.Slider.Type[message.type] === undefined ? message.type : $root.Slider.Type[message.type] : message.type; - return object; - }; - - /** - * Converts this Slider to JSON. - * @function toJSON - * @memberof Slider - * @instance - * @returns {Object.} JSON object - */ - Slider.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Slider - * @function getTypeUrl - * @memberof Slider - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Slider.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Slider"; - }; - - /** - * DataType enum. - * @name Slider.DataType - * @enum {number} - * @property {number} INT=0 INT value - * @property {number} FLOAT=1 FLOAT value - * @property {number} DATETIME=2 DATETIME value - * @property {number} DATE=3 DATE value - * @property {number} TIME=4 TIME value - */ - Slider.DataType = (function() { - const valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "INT"] = 0; - values[valuesById[1] = "FLOAT"] = 1; - values[valuesById[2] = "DATETIME"] = 2; - values[valuesById[3] = "DATE"] = 3; - values[valuesById[4] = "TIME"] = 4; - return values; - })(); - - /** - * Type enum. - * @name Slider.Type - * @enum {number} - * @property {number} UNSPECIFIED=0 UNSPECIFIED value - * @property {number} SLIDER=1 SLIDER value - * @property {number} SELECT_SLIDER=2 SELECT_SLIDER value - */ - Slider.Type = (function() { - const valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "UNSPECIFIED"] = 0; - values[valuesById[1] = "SLIDER"] = 1; - values[valuesById[2] = "SELECT_SLIDER"] = 2; - return values; - })(); - - return Slider; -})(); - -export const Snow = $root.Snow = (() => { - - /** - * Properties of a Snow. - * @exports ISnow - * @interface ISnow - * @property {boolean|null} [show] Snow show - */ - - /** - * Constructs a new Snow. - * @exports Snow - * @classdesc Represents a Snow. - * @implements ISnow - * @constructor - * @param {ISnow=} [properties] Properties to set - */ - function Snow(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Snow show. - * @member {boolean} show - * @memberof Snow - * @instance - */ - Snow.prototype.show = false; - - /** - * Creates a new Snow instance using the specified properties. - * @function create - * @memberof Snow - * @static - * @param {ISnow=} [properties] Properties to set - * @returns {Snow} Snow instance - */ - Snow.create = function create(properties) { - return new Snow(properties); - }; - - /** - * Encodes the specified Snow message. Does not implicitly {@link Snow.verify|verify} messages. - * @function encode - * @memberof Snow - * @static - * @param {ISnow} message Snow message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Snow.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.show != null && Object.hasOwnProperty.call(message, "show")) - writer.uint32(/* id 1, wireType 0 =*/8).bool(message.show); - return writer; - }; - - /** - * Encodes the specified Snow message, length delimited. Does not implicitly {@link Snow.verify|verify} messages. - * @function encodeDelimited - * @memberof Snow - * @static - * @param {ISnow} message Snow message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Snow.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Snow message from the specified reader or buffer. - * @function decode - * @memberof Snow - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Snow} Snow - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Snow.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Snow(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.show = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Snow message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Snow - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Snow} Snow - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Snow.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Snow message. - * @function verify - * @memberof Snow - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Snow.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.show != null && message.hasOwnProperty("show")) - if (typeof message.show !== "boolean") - return "show: boolean expected"; - return null; - }; - - /** - * Creates a Snow message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Snow - * @static - * @param {Object.} object Plain object - * @returns {Snow} Snow - */ - Snow.fromObject = function fromObject(object) { - if (object instanceof $root.Snow) - return object; - let message = new $root.Snow(); - if (object.show != null) - message.show = Boolean(object.show); - return message; - }; - - /** - * Creates a plain object from a Snow message. Also converts values to other types if specified. - * @function toObject - * @memberof Snow - * @static - * @param {Snow} message Snow - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Snow.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) - object.show = false; - if (message.show != null && message.hasOwnProperty("show")) - object.show = message.show; - return object; - }; - - /** - * Converts this Snow to JSON. - * @function toJSON - * @memberof Snow - * @instance - * @returns {Object.} JSON object - */ - Snow.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Snow - * @function getTypeUrl - * @memberof Snow - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Snow.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Snow"; - }; - - return Snow; -})(); - -export const Spinner = $root.Spinner = (() => { - - /** - * Properties of a Spinner. - * @exports ISpinner - * @interface ISpinner - * @property {string|null} [text] Spinner text - */ - - /** - * Constructs a new Spinner. - * @exports Spinner - * @classdesc Represents a Spinner. - * @implements ISpinner - * @constructor - * @param {ISpinner=} [properties] Properties to set - */ - function Spinner(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Spinner text. - * @member {string} text - * @memberof Spinner - * @instance - */ - Spinner.prototype.text = ""; - - /** - * Creates a new Spinner instance using the specified properties. - * @function create - * @memberof Spinner - * @static - * @param {ISpinner=} [properties] Properties to set - * @returns {Spinner} Spinner instance - */ - Spinner.create = function create(properties) { - return new Spinner(properties); - }; - - /** - * Encodes the specified Spinner message. Does not implicitly {@link Spinner.verify|verify} messages. - * @function encode - * @memberof Spinner - * @static - * @param {ISpinner} message Spinner message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Spinner.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.text != null && Object.hasOwnProperty.call(message, "text")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.text); - return writer; - }; - - /** - * Encodes the specified Spinner message, length delimited. Does not implicitly {@link Spinner.verify|verify} messages. - * @function encodeDelimited - * @memberof Spinner - * @static - * @param {ISpinner} message Spinner message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Spinner.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Spinner message from the specified reader or buffer. - * @function decode - * @memberof Spinner - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Spinner} Spinner - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Spinner.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Spinner(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.text = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Spinner message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Spinner - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Spinner} Spinner - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Spinner.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Spinner message. - * @function verify - * @memberof Spinner - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Spinner.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.text != null && message.hasOwnProperty("text")) - if (!$util.isString(message.text)) - return "text: string expected"; - return null; - }; - - /** - * Creates a Spinner message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Spinner - * @static - * @param {Object.} object Plain object - * @returns {Spinner} Spinner - */ - Spinner.fromObject = function fromObject(object) { - if (object instanceof $root.Spinner) - return object; - let message = new $root.Spinner(); - if (object.text != null) - message.text = String(object.text); - return message; - }; - - /** - * Creates a plain object from a Spinner message. Also converts values to other types if specified. - * @function toObject - * @memberof Spinner - * @static - * @param {Spinner} message Spinner - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Spinner.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) - object.text = ""; - if (message.text != null && message.hasOwnProperty("text")) - object.text = message.text; - return object; - }; - - /** - * Converts this Spinner to JSON. - * @function toJSON - * @memberof Spinner - * @instance - * @returns {Object.} JSON object - */ - Spinner.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Spinner - * @function getTypeUrl - * @memberof Spinner - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Spinner.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Spinner"; - }; - - return Spinner; -})(); - -export const Text = $root.Text = (() => { - - /** - * Properties of a Text. - * @exports IText - * @interface IText - * @property {string|null} [body] Text body - * @property {string|null} [help] Text help - */ - - /** - * Constructs a new Text. - * @exports Text - * @classdesc Represents a Text. - * @implements IText - * @constructor - * @param {IText=} [properties] Properties to set - */ - function Text(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Text body. - * @member {string} body - * @memberof Text - * @instance - */ - Text.prototype.body = ""; - - /** - * Text help. - * @member {string} help - * @memberof Text - * @instance - */ - Text.prototype.help = ""; - - /** - * Creates a new Text instance using the specified properties. - * @function create - * @memberof Text - * @static - * @param {IText=} [properties] Properties to set - * @returns {Text} Text instance - */ - Text.create = function create(properties) { - return new Text(properties); - }; - - /** - * Encodes the specified Text message. Does not implicitly {@link Text.verify|verify} messages. - * @function encode - * @memberof Text - * @static - * @param {IText} message Text message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Text.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.body != null && Object.hasOwnProperty.call(message, "body")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.body); - if (message.help != null && Object.hasOwnProperty.call(message, "help")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.help); - return writer; - }; - - /** - * Encodes the specified Text message, length delimited. Does not implicitly {@link Text.verify|verify} messages. - * @function encodeDelimited - * @memberof Text - * @static - * @param {IText} message Text message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Text.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Text message from the specified reader or buffer. - * @function decode - * @memberof Text - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Text} Text - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Text.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Text(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.body = reader.string(); - break; - } - case 2: { - message.help = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Text message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Text - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Text} Text - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Text.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Text message. - * @function verify - * @memberof Text - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Text.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.body != null && message.hasOwnProperty("body")) - if (!$util.isString(message.body)) - return "body: string expected"; - if (message.help != null && message.hasOwnProperty("help")) - if (!$util.isString(message.help)) - return "help: string expected"; - return null; - }; - - /** - * Creates a Text message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Text - * @static - * @param {Object.} object Plain object - * @returns {Text} Text - */ - Text.fromObject = function fromObject(object) { - if (object instanceof $root.Text) - return object; - let message = new $root.Text(); - if (object.body != null) - message.body = String(object.body); - if (object.help != null) - message.help = String(object.help); - return message; - }; - - /** - * Creates a plain object from a Text message. Also converts values to other types if specified. - * @function toObject - * @memberof Text - * @static - * @param {Text} message Text - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Text.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.body = ""; - object.help = ""; - } - if (message.body != null && message.hasOwnProperty("body")) - object.body = message.body; - if (message.help != null && message.hasOwnProperty("help")) - object.help = message.help; - return object; - }; - - /** - * Converts this Text to JSON. - * @function toJSON - * @memberof Text - * @instance - * @returns {Object.} JSON object - */ - Text.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Text - * @function getTypeUrl - * @memberof Text - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Text.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Text"; - }; - - return Text; -})(); - -export const TextArea = $root.TextArea = (() => { - - /** - * Properties of a TextArea. - * @exports ITextArea - * @interface ITextArea - * @property {string|null} [id] TextArea id - * @property {string|null} [label] TextArea label - * @property {string|null} ["default"] TextArea default - * @property {number|null} [height] TextArea height - * @property {number|null} [maxChars] TextArea maxChars - * @property {string|null} [help] TextArea help - * @property {string|null} [formId] TextArea formId - * @property {string|null} [value] TextArea value - * @property {boolean|null} [setValue] TextArea setValue - * @property {string|null} [placeholder] TextArea placeholder - * @property {boolean|null} [disabled] TextArea disabled - * @property {ILabelVisibilityMessage|null} [labelVisibility] TextArea labelVisibility - */ - - /** - * Constructs a new TextArea. - * @exports TextArea - * @classdesc Represents a TextArea. - * @implements ITextArea - * @constructor - * @param {ITextArea=} [properties] Properties to set - */ - function TextArea(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * TextArea id. - * @member {string} id - * @memberof TextArea - * @instance - */ - TextArea.prototype.id = ""; - - /** - * TextArea label. - * @member {string} label - * @memberof TextArea - * @instance - */ - TextArea.prototype.label = ""; - - /** - * TextArea default. - * @member {string} default - * @memberof TextArea - * @instance - */ - TextArea.prototype["default"] = ""; - - /** - * TextArea height. - * @member {number} height - * @memberof TextArea - * @instance - */ - TextArea.prototype.height = 0; - - /** - * TextArea maxChars. - * @member {number} maxChars - * @memberof TextArea - * @instance - */ - TextArea.prototype.maxChars = 0; - - /** - * TextArea help. - * @member {string} help - * @memberof TextArea - * @instance - */ - TextArea.prototype.help = ""; - - /** - * TextArea formId. - * @member {string} formId - * @memberof TextArea - * @instance - */ - TextArea.prototype.formId = ""; - - /** - * TextArea value. - * @member {string} value - * @memberof TextArea - * @instance - */ - TextArea.prototype.value = ""; - - /** - * TextArea setValue. - * @member {boolean} setValue - * @memberof TextArea - * @instance - */ - TextArea.prototype.setValue = false; - - /** - * TextArea placeholder. - * @member {string} placeholder - * @memberof TextArea - * @instance - */ - TextArea.prototype.placeholder = ""; - - /** - * TextArea disabled. - * @member {boolean} disabled - * @memberof TextArea - * @instance - */ - TextArea.prototype.disabled = false; - - /** - * TextArea labelVisibility. - * @member {ILabelVisibilityMessage|null|undefined} labelVisibility - * @memberof TextArea - * @instance - */ - TextArea.prototype.labelVisibility = null; - - /** - * Creates a new TextArea instance using the specified properties. - * @function create - * @memberof TextArea - * @static - * @param {ITextArea=} [properties] Properties to set - * @returns {TextArea} TextArea instance - */ - TextArea.create = function create(properties) { - return new TextArea(properties); - }; - - /** - * Encodes the specified TextArea message. Does not implicitly {@link TextArea.verify|verify} messages. - * @function encode - * @memberof TextArea - * @static - * @param {ITextArea} message TextArea message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - TextArea.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.id != null && Object.hasOwnProperty.call(message, "id")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); - if (message.label != null && Object.hasOwnProperty.call(message, "label")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.label); - if (message["default"] != null && Object.hasOwnProperty.call(message, "default")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message["default"]); - if (message.height != null && Object.hasOwnProperty.call(message, "height")) - writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.height); - if (message.maxChars != null && Object.hasOwnProperty.call(message, "maxChars")) - writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.maxChars); - if (message.help != null && Object.hasOwnProperty.call(message, "help")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.help); - if (message.formId != null && Object.hasOwnProperty.call(message, "formId")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.formId); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - writer.uint32(/* id 8, wireType 2 =*/66).string(message.value); - if (message.setValue != null && Object.hasOwnProperty.call(message, "setValue")) - writer.uint32(/* id 9, wireType 0 =*/72).bool(message.setValue); - if (message.placeholder != null && Object.hasOwnProperty.call(message, "placeholder")) - writer.uint32(/* id 10, wireType 2 =*/82).string(message.placeholder); - if (message.disabled != null && Object.hasOwnProperty.call(message, "disabled")) - writer.uint32(/* id 11, wireType 0 =*/88).bool(message.disabled); - if (message.labelVisibility != null && Object.hasOwnProperty.call(message, "labelVisibility")) - $root.LabelVisibilityMessage.encode(message.labelVisibility, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified TextArea message, length delimited. Does not implicitly {@link TextArea.verify|verify} messages. - * @function encodeDelimited - * @memberof TextArea - * @static - * @param {ITextArea} message TextArea message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - TextArea.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a TextArea message from the specified reader or buffer. - * @function decode - * @memberof TextArea - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {TextArea} TextArea - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - TextArea.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.TextArea(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.id = reader.string(); - break; - } - case 2: { - message.label = reader.string(); - break; - } - case 3: { - message["default"] = reader.string(); - break; - } - case 4: { - message.height = reader.uint32(); - break; - } - case 5: { - message.maxChars = reader.uint32(); - break; - } - case 6: { - message.help = reader.string(); - break; - } - case 7: { - message.formId = reader.string(); - break; - } - case 8: { - message.value = reader.string(); - break; - } - case 9: { - message.setValue = reader.bool(); - break; - } - case 10: { - message.placeholder = reader.string(); - break; - } - case 11: { - message.disabled = reader.bool(); - break; - } - case 12: { - message.labelVisibility = $root.LabelVisibilityMessage.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a TextArea message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof TextArea - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {TextArea} TextArea - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - TextArea.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a TextArea message. - * @function verify - * @memberof TextArea - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - TextArea.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isString(message.id)) - return "id: string expected"; - if (message.label != null && message.hasOwnProperty("label")) - if (!$util.isString(message.label)) - return "label: string expected"; - if (message["default"] != null && message.hasOwnProperty("default")) - if (!$util.isString(message["default"])) - return "default: string expected"; - if (message.height != null && message.hasOwnProperty("height")) - if (!$util.isInteger(message.height)) - return "height: integer expected"; - if (message.maxChars != null && message.hasOwnProperty("maxChars")) - if (!$util.isInteger(message.maxChars)) - return "maxChars: integer expected"; - if (message.help != null && message.hasOwnProperty("help")) - if (!$util.isString(message.help)) - return "help: string expected"; - if (message.formId != null && message.hasOwnProperty("formId")) - if (!$util.isString(message.formId)) - return "formId: string expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (!$util.isString(message.value)) - return "value: string expected"; - if (message.setValue != null && message.hasOwnProperty("setValue")) - if (typeof message.setValue !== "boolean") - return "setValue: boolean expected"; - if (message.placeholder != null && message.hasOwnProperty("placeholder")) - if (!$util.isString(message.placeholder)) - return "placeholder: string expected"; - if (message.disabled != null && message.hasOwnProperty("disabled")) - if (typeof message.disabled !== "boolean") - return "disabled: boolean expected"; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) { - let error = $root.LabelVisibilityMessage.verify(message.labelVisibility); - if (error) - return "labelVisibility." + error; - } - return null; - }; - - /** - * Creates a TextArea message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof TextArea - * @static - * @param {Object.} object Plain object - * @returns {TextArea} TextArea - */ - TextArea.fromObject = function fromObject(object) { - if (object instanceof $root.TextArea) - return object; - let message = new $root.TextArea(); - if (object.id != null) - message.id = String(object.id); - if (object.label != null) - message.label = String(object.label); - if (object["default"] != null) - message["default"] = String(object["default"]); - if (object.height != null) - message.height = object.height >>> 0; - if (object.maxChars != null) - message.maxChars = object.maxChars >>> 0; - if (object.help != null) - message.help = String(object.help); - if (object.formId != null) - message.formId = String(object.formId); - if (object.value != null) - message.value = String(object.value); - if (object.setValue != null) - message.setValue = Boolean(object.setValue); - if (object.placeholder != null) - message.placeholder = String(object.placeholder); - if (object.disabled != null) - message.disabled = Boolean(object.disabled); - if (object.labelVisibility != null) { - if (typeof object.labelVisibility !== "object") - throw TypeError(".TextArea.labelVisibility: object expected"); - message.labelVisibility = $root.LabelVisibilityMessage.fromObject(object.labelVisibility); - } - return message; - }; - - /** - * Creates a plain object from a TextArea message. Also converts values to other types if specified. - * @function toObject - * @memberof TextArea - * @static - * @param {TextArea} message TextArea - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - TextArea.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.id = ""; - object.label = ""; - object["default"] = ""; - object.height = 0; - object.maxChars = 0; - object.help = ""; - object.formId = ""; - object.value = ""; - object.setValue = false; - object.placeholder = ""; - object.disabled = false; - object.labelVisibility = null; - } - if (message.id != null && message.hasOwnProperty("id")) - object.id = message.id; - if (message.label != null && message.hasOwnProperty("label")) - object.label = message.label; - if (message["default"] != null && message.hasOwnProperty("default")) - object["default"] = message["default"]; - if (message.height != null && message.hasOwnProperty("height")) - object.height = message.height; - if (message.maxChars != null && message.hasOwnProperty("maxChars")) - object.maxChars = message.maxChars; - if (message.help != null && message.hasOwnProperty("help")) - object.help = message.help; - if (message.formId != null && message.hasOwnProperty("formId")) - object.formId = message.formId; - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - if (message.setValue != null && message.hasOwnProperty("setValue")) - object.setValue = message.setValue; - if (message.placeholder != null && message.hasOwnProperty("placeholder")) - object.placeholder = message.placeholder; - if (message.disabled != null && message.hasOwnProperty("disabled")) - object.disabled = message.disabled; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) - object.labelVisibility = $root.LabelVisibilityMessage.toObject(message.labelVisibility, options); - return object; - }; - - /** - * Converts this TextArea to JSON. - * @function toJSON - * @memberof TextArea - * @instance - * @returns {Object.} JSON object - */ - TextArea.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for TextArea - * @function getTypeUrl - * @memberof TextArea - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - TextArea.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/TextArea"; - }; - - return TextArea; -})(); - -export const TextInput = $root.TextInput = (() => { - - /** - * Properties of a TextInput. - * @exports ITextInput - * @interface ITextInput - * @property {string|null} [id] TextInput id - * @property {string|null} [label] TextInput label - * @property {string|null} ["default"] TextInput default - * @property {TextInput.Type|null} [type] TextInput type - * @property {number|null} [maxChars] TextInput maxChars - * @property {string|null} [help] TextInput help - * @property {string|null} [formId] TextInput formId - * @property {string|null} [value] TextInput value - * @property {boolean|null} [setValue] TextInput setValue - * @property {string|null} [autocomplete] TextInput autocomplete - * @property {string|null} [placeholder] TextInput placeholder - * @property {boolean|null} [disabled] TextInput disabled - * @property {ILabelVisibilityMessage|null} [labelVisibility] TextInput labelVisibility - */ - - /** - * Constructs a new TextInput. - * @exports TextInput - * @classdesc Represents a TextInput. - * @implements ITextInput - * @constructor - * @param {ITextInput=} [properties] Properties to set - */ - function TextInput(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * TextInput id. - * @member {string} id - * @memberof TextInput - * @instance - */ - TextInput.prototype.id = ""; - - /** - * TextInput label. - * @member {string} label - * @memberof TextInput - * @instance - */ - TextInput.prototype.label = ""; - - /** - * TextInput default. - * @member {string} default - * @memberof TextInput - * @instance - */ - TextInput.prototype["default"] = ""; - - /** - * TextInput type. - * @member {TextInput.Type} type - * @memberof TextInput - * @instance - */ - TextInput.prototype.type = 0; - - /** - * TextInput maxChars. - * @member {number} maxChars - * @memberof TextInput - * @instance - */ - TextInput.prototype.maxChars = 0; - - /** - * TextInput help. - * @member {string} help - * @memberof TextInput - * @instance - */ - TextInput.prototype.help = ""; - - /** - * TextInput formId. - * @member {string} formId - * @memberof TextInput - * @instance - */ - TextInput.prototype.formId = ""; - - /** - * TextInput value. - * @member {string} value - * @memberof TextInput - * @instance - */ - TextInput.prototype.value = ""; - - /** - * TextInput setValue. - * @member {boolean} setValue - * @memberof TextInput - * @instance - */ - TextInput.prototype.setValue = false; - - /** - * TextInput autocomplete. - * @member {string} autocomplete - * @memberof TextInput - * @instance - */ - TextInput.prototype.autocomplete = ""; - - /** - * TextInput placeholder. - * @member {string} placeholder - * @memberof TextInput - * @instance - */ - TextInput.prototype.placeholder = ""; - - /** - * TextInput disabled. - * @member {boolean} disabled - * @memberof TextInput - * @instance - */ - TextInput.prototype.disabled = false; - - /** - * TextInput labelVisibility. - * @member {ILabelVisibilityMessage|null|undefined} labelVisibility - * @memberof TextInput - * @instance - */ - TextInput.prototype.labelVisibility = null; - - /** - * Creates a new TextInput instance using the specified properties. - * @function create - * @memberof TextInput - * @static - * @param {ITextInput=} [properties] Properties to set - * @returns {TextInput} TextInput instance - */ - TextInput.create = function create(properties) { - return new TextInput(properties); - }; - - /** - * Encodes the specified TextInput message. Does not implicitly {@link TextInput.verify|verify} messages. - * @function encode - * @memberof TextInput - * @static - * @param {ITextInput} message TextInput message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - TextInput.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.id != null && Object.hasOwnProperty.call(message, "id")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); - if (message.label != null && Object.hasOwnProperty.call(message, "label")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.label); - if (message["default"] != null && Object.hasOwnProperty.call(message, "default")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message["default"]); - if (message.type != null && Object.hasOwnProperty.call(message, "type")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.type); - if (message.maxChars != null && Object.hasOwnProperty.call(message, "maxChars")) - writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.maxChars); - if (message.help != null && Object.hasOwnProperty.call(message, "help")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.help); - if (message.formId != null && Object.hasOwnProperty.call(message, "formId")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.formId); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - writer.uint32(/* id 8, wireType 2 =*/66).string(message.value); - if (message.setValue != null && Object.hasOwnProperty.call(message, "setValue")) - writer.uint32(/* id 9, wireType 0 =*/72).bool(message.setValue); - if (message.autocomplete != null && Object.hasOwnProperty.call(message, "autocomplete")) - writer.uint32(/* id 10, wireType 2 =*/82).string(message.autocomplete); - if (message.placeholder != null && Object.hasOwnProperty.call(message, "placeholder")) - writer.uint32(/* id 11, wireType 2 =*/90).string(message.placeholder); - if (message.disabled != null && Object.hasOwnProperty.call(message, "disabled")) - writer.uint32(/* id 12, wireType 0 =*/96).bool(message.disabled); - if (message.labelVisibility != null && Object.hasOwnProperty.call(message, "labelVisibility")) - $root.LabelVisibilityMessage.encode(message.labelVisibility, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified TextInput message, length delimited. Does not implicitly {@link TextInput.verify|verify} messages. - * @function encodeDelimited - * @memberof TextInput - * @static - * @param {ITextInput} message TextInput message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - TextInput.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a TextInput message from the specified reader or buffer. - * @function decode - * @memberof TextInput - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {TextInput} TextInput - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - TextInput.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.TextInput(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.id = reader.string(); - break; - } - case 2: { - message.label = reader.string(); - break; - } - case 3: { - message["default"] = reader.string(); - break; - } - case 4: { - message.type = reader.int32(); - break; - } - case 5: { - message.maxChars = reader.uint32(); - break; - } - case 6: { - message.help = reader.string(); - break; - } - case 7: { - message.formId = reader.string(); - break; - } - case 8: { - message.value = reader.string(); - break; - } - case 9: { - message.setValue = reader.bool(); - break; - } - case 10: { - message.autocomplete = reader.string(); - break; - } - case 11: { - message.placeholder = reader.string(); - break; - } - case 12: { - message.disabled = reader.bool(); - break; - } - case 13: { - message.labelVisibility = $root.LabelVisibilityMessage.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a TextInput message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof TextInput - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {TextInput} TextInput - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - TextInput.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a TextInput message. - * @function verify - * @memberof TextInput - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - TextInput.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isString(message.id)) - return "id: string expected"; - if (message.label != null && message.hasOwnProperty("label")) - if (!$util.isString(message.label)) - return "label: string expected"; - if (message["default"] != null && message.hasOwnProperty("default")) - if (!$util.isString(message["default"])) - return "default: string expected"; - if (message.type != null && message.hasOwnProperty("type")) - switch (message.type) { - default: - return "type: enum value expected"; - case 0: - case 1: - break; - } - if (message.maxChars != null && message.hasOwnProperty("maxChars")) - if (!$util.isInteger(message.maxChars)) - return "maxChars: integer expected"; - if (message.help != null && message.hasOwnProperty("help")) - if (!$util.isString(message.help)) - return "help: string expected"; - if (message.formId != null && message.hasOwnProperty("formId")) - if (!$util.isString(message.formId)) - return "formId: string expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (!$util.isString(message.value)) - return "value: string expected"; - if (message.setValue != null && message.hasOwnProperty("setValue")) - if (typeof message.setValue !== "boolean") - return "setValue: boolean expected"; - if (message.autocomplete != null && message.hasOwnProperty("autocomplete")) - if (!$util.isString(message.autocomplete)) - return "autocomplete: string expected"; - if (message.placeholder != null && message.hasOwnProperty("placeholder")) - if (!$util.isString(message.placeholder)) - return "placeholder: string expected"; - if (message.disabled != null && message.hasOwnProperty("disabled")) - if (typeof message.disabled !== "boolean") - return "disabled: boolean expected"; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) { - let error = $root.LabelVisibilityMessage.verify(message.labelVisibility); - if (error) - return "labelVisibility." + error; - } - return null; - }; - - /** - * Creates a TextInput message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof TextInput - * @static - * @param {Object.} object Plain object - * @returns {TextInput} TextInput - */ - TextInput.fromObject = function fromObject(object) { - if (object instanceof $root.TextInput) - return object; - let message = new $root.TextInput(); - if (object.id != null) - message.id = String(object.id); - if (object.label != null) - message.label = String(object.label); - if (object["default"] != null) - message["default"] = String(object["default"]); - switch (object.type) { - default: - if (typeof object.type === "number") { - message.type = object.type; - break; - } - break; - case "DEFAULT": - case 0: - message.type = 0; - break; - case "PASSWORD": - case 1: - message.type = 1; - break; - } - if (object.maxChars != null) - message.maxChars = object.maxChars >>> 0; - if (object.help != null) - message.help = String(object.help); - if (object.formId != null) - message.formId = String(object.formId); - if (object.value != null) - message.value = String(object.value); - if (object.setValue != null) - message.setValue = Boolean(object.setValue); - if (object.autocomplete != null) - message.autocomplete = String(object.autocomplete); - if (object.placeholder != null) - message.placeholder = String(object.placeholder); - if (object.disabled != null) - message.disabled = Boolean(object.disabled); - if (object.labelVisibility != null) { - if (typeof object.labelVisibility !== "object") - throw TypeError(".TextInput.labelVisibility: object expected"); - message.labelVisibility = $root.LabelVisibilityMessage.fromObject(object.labelVisibility); - } - return message; - }; - - /** - * Creates a plain object from a TextInput message. Also converts values to other types if specified. - * @function toObject - * @memberof TextInput - * @static - * @param {TextInput} message TextInput - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - TextInput.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.id = ""; - object.label = ""; - object["default"] = ""; - object.type = options.enums === String ? "DEFAULT" : 0; - object.maxChars = 0; - object.help = ""; - object.formId = ""; - object.value = ""; - object.setValue = false; - object.autocomplete = ""; - object.placeholder = ""; - object.disabled = false; - object.labelVisibility = null; - } - if (message.id != null && message.hasOwnProperty("id")) - object.id = message.id; - if (message.label != null && message.hasOwnProperty("label")) - object.label = message.label; - if (message["default"] != null && message.hasOwnProperty("default")) - object["default"] = message["default"]; - if (message.type != null && message.hasOwnProperty("type")) - object.type = options.enums === String ? $root.TextInput.Type[message.type] === undefined ? message.type : $root.TextInput.Type[message.type] : message.type; - if (message.maxChars != null && message.hasOwnProperty("maxChars")) - object.maxChars = message.maxChars; - if (message.help != null && message.hasOwnProperty("help")) - object.help = message.help; - if (message.formId != null && message.hasOwnProperty("formId")) - object.formId = message.formId; - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - if (message.setValue != null && message.hasOwnProperty("setValue")) - object.setValue = message.setValue; - if (message.autocomplete != null && message.hasOwnProperty("autocomplete")) - object.autocomplete = message.autocomplete; - if (message.placeholder != null && message.hasOwnProperty("placeholder")) - object.placeholder = message.placeholder; - if (message.disabled != null && message.hasOwnProperty("disabled")) - object.disabled = message.disabled; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) - object.labelVisibility = $root.LabelVisibilityMessage.toObject(message.labelVisibility, options); - return object; - }; - - /** - * Converts this TextInput to JSON. - * @function toJSON - * @memberof TextInput - * @instance - * @returns {Object.} JSON object - */ - TextInput.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for TextInput - * @function getTypeUrl - * @memberof TextInput - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - TextInput.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/TextInput"; - }; - - /** - * Type enum. - * @name TextInput.Type - * @enum {number} - * @property {number} DEFAULT=0 DEFAULT value - * @property {number} PASSWORD=1 PASSWORD value - */ - TextInput.Type = (function() { - const valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "DEFAULT"] = 0; - values[valuesById[1] = "PASSWORD"] = 1; - return values; - })(); - - return TextInput; -})(); - -export const TimeInput = $root.TimeInput = (() => { - - /** - * Properties of a TimeInput. - * @exports ITimeInput - * @interface ITimeInput - * @property {string|null} [id] TimeInput id - * @property {string|null} [label] TimeInput label - * @property {string|null} ["default"] TimeInput default - * @property {string|null} [help] TimeInput help - * @property {string|null} [formId] TimeInput formId - * @property {string|null} [value] TimeInput value - * @property {boolean|null} [setValue] TimeInput setValue - * @property {boolean|null} [disabled] TimeInput disabled - * @property {ILabelVisibilityMessage|null} [labelVisibility] TimeInput labelVisibility - * @property {number|Long|null} [step] TimeInput step - */ - - /** - * Constructs a new TimeInput. - * @exports TimeInput - * @classdesc Represents a TimeInput. - * @implements ITimeInput - * @constructor - * @param {ITimeInput=} [properties] Properties to set - */ - function TimeInput(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * TimeInput id. - * @member {string} id - * @memberof TimeInput - * @instance - */ - TimeInput.prototype.id = ""; - - /** - * TimeInput label. - * @member {string} label - * @memberof TimeInput - * @instance - */ - TimeInput.prototype.label = ""; - - /** - * TimeInput default. - * @member {string} default - * @memberof TimeInput - * @instance - */ - TimeInput.prototype["default"] = ""; - - /** - * TimeInput help. - * @member {string} help - * @memberof TimeInput - * @instance - */ - TimeInput.prototype.help = ""; - - /** - * TimeInput formId. - * @member {string} formId - * @memberof TimeInput - * @instance - */ - TimeInput.prototype.formId = ""; - - /** - * TimeInput value. - * @member {string} value - * @memberof TimeInput - * @instance - */ - TimeInput.prototype.value = ""; - - /** - * TimeInput setValue. - * @member {boolean} setValue - * @memberof TimeInput - * @instance - */ - TimeInput.prototype.setValue = false; - - /** - * TimeInput disabled. - * @member {boolean} disabled - * @memberof TimeInput - * @instance - */ - TimeInput.prototype.disabled = false; - - /** - * TimeInput labelVisibility. - * @member {ILabelVisibilityMessage|null|undefined} labelVisibility - * @memberof TimeInput - * @instance - */ - TimeInput.prototype.labelVisibility = null; - - /** - * TimeInput step. - * @member {number|Long} step - * @memberof TimeInput - * @instance - */ - TimeInput.prototype.step = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - - /** - * Creates a new TimeInput instance using the specified properties. - * @function create - * @memberof TimeInput - * @static - * @param {ITimeInput=} [properties] Properties to set - * @returns {TimeInput} TimeInput instance - */ - TimeInput.create = function create(properties) { - return new TimeInput(properties); - }; - - /** - * Encodes the specified TimeInput message. Does not implicitly {@link TimeInput.verify|verify} messages. - * @function encode - * @memberof TimeInput - * @static - * @param {ITimeInput} message TimeInput message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - TimeInput.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.id != null && Object.hasOwnProperty.call(message, "id")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); - if (message.label != null && Object.hasOwnProperty.call(message, "label")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.label); - if (message["default"] != null && Object.hasOwnProperty.call(message, "default")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message["default"]); - if (message.help != null && Object.hasOwnProperty.call(message, "help")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.help); - if (message.formId != null && Object.hasOwnProperty.call(message, "formId")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.formId); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.value); - if (message.setValue != null && Object.hasOwnProperty.call(message, "setValue")) - writer.uint32(/* id 7, wireType 0 =*/56).bool(message.setValue); - if (message.disabled != null && Object.hasOwnProperty.call(message, "disabled")) - writer.uint32(/* id 8, wireType 0 =*/64).bool(message.disabled); - if (message.labelVisibility != null && Object.hasOwnProperty.call(message, "labelVisibility")) - $root.LabelVisibilityMessage.encode(message.labelVisibility, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); - if (message.step != null && Object.hasOwnProperty.call(message, "step")) - writer.uint32(/* id 10, wireType 0 =*/80).int64(message.step); - return writer; - }; - - /** - * Encodes the specified TimeInput message, length delimited. Does not implicitly {@link TimeInput.verify|verify} messages. - * @function encodeDelimited - * @memberof TimeInput - * @static - * @param {ITimeInput} message TimeInput message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - TimeInput.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a TimeInput message from the specified reader or buffer. - * @function decode - * @memberof TimeInput - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {TimeInput} TimeInput - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - TimeInput.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.TimeInput(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.id = reader.string(); - break; - } - case 2: { - message.label = reader.string(); - break; - } - case 3: { - message["default"] = reader.string(); - break; - } - case 4: { - message.help = reader.string(); - break; - } - case 5: { - message.formId = reader.string(); - break; - } - case 6: { - message.value = reader.string(); - break; - } - case 7: { - message.setValue = reader.bool(); - break; - } - case 8: { - message.disabled = reader.bool(); - break; - } - case 9: { - message.labelVisibility = $root.LabelVisibilityMessage.decode(reader, reader.uint32()); - break; - } - case 10: { - message.step = reader.int64(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a TimeInput message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof TimeInput - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {TimeInput} TimeInput - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - TimeInput.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a TimeInput message. - * @function verify - * @memberof TimeInput - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - TimeInput.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isString(message.id)) - return "id: string expected"; - if (message.label != null && message.hasOwnProperty("label")) - if (!$util.isString(message.label)) - return "label: string expected"; - if (message["default"] != null && message.hasOwnProperty("default")) - if (!$util.isString(message["default"])) - return "default: string expected"; - if (message.help != null && message.hasOwnProperty("help")) - if (!$util.isString(message.help)) - return "help: string expected"; - if (message.formId != null && message.hasOwnProperty("formId")) - if (!$util.isString(message.formId)) - return "formId: string expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (!$util.isString(message.value)) - return "value: string expected"; - if (message.setValue != null && message.hasOwnProperty("setValue")) - if (typeof message.setValue !== "boolean") - return "setValue: boolean expected"; - if (message.disabled != null && message.hasOwnProperty("disabled")) - if (typeof message.disabled !== "boolean") - return "disabled: boolean expected"; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) { - let error = $root.LabelVisibilityMessage.verify(message.labelVisibility); - if (error) - return "labelVisibility." + error; - } - if (message.step != null && message.hasOwnProperty("step")) - if (!$util.isInteger(message.step) && !(message.step && $util.isInteger(message.step.low) && $util.isInteger(message.step.high))) - return "step: integer|Long expected"; - return null; - }; - - /** - * Creates a TimeInput message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof TimeInput - * @static - * @param {Object.} object Plain object - * @returns {TimeInput} TimeInput - */ - TimeInput.fromObject = function fromObject(object) { - if (object instanceof $root.TimeInput) - return object; - let message = new $root.TimeInput(); - if (object.id != null) - message.id = String(object.id); - if (object.label != null) - message.label = String(object.label); - if (object["default"] != null) - message["default"] = String(object["default"]); - if (object.help != null) - message.help = String(object.help); - if (object.formId != null) - message.formId = String(object.formId); - if (object.value != null) - message.value = String(object.value); - if (object.setValue != null) - message.setValue = Boolean(object.setValue); - if (object.disabled != null) - message.disabled = Boolean(object.disabled); - if (object.labelVisibility != null) { - if (typeof object.labelVisibility !== "object") - throw TypeError(".TimeInput.labelVisibility: object expected"); - message.labelVisibility = $root.LabelVisibilityMessage.fromObject(object.labelVisibility); - } - if (object.step != null) - if ($util.Long) - (message.step = $util.Long.fromValue(object.step)).unsigned = false; - else if (typeof object.step === "string") - message.step = parseInt(object.step, 10); - else if (typeof object.step === "number") - message.step = object.step; - else if (typeof object.step === "object") - message.step = new $util.LongBits(object.step.low >>> 0, object.step.high >>> 0).toNumber(); - return message; - }; - - /** - * Creates a plain object from a TimeInput message. Also converts values to other types if specified. - * @function toObject - * @memberof TimeInput - * @static - * @param {TimeInput} message TimeInput - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - TimeInput.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.id = ""; - object.label = ""; - object["default"] = ""; - object.help = ""; - object.formId = ""; - object.value = ""; - object.setValue = false; - object.disabled = false; - object.labelVisibility = null; - if ($util.Long) { - let long = new $util.Long(0, 0, false); - object.step = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; - } else - object.step = options.longs === String ? "0" : 0; - } - if (message.id != null && message.hasOwnProperty("id")) - object.id = message.id; - if (message.label != null && message.hasOwnProperty("label")) - object.label = message.label; - if (message["default"] != null && message.hasOwnProperty("default")) - object["default"] = message["default"]; - if (message.help != null && message.hasOwnProperty("help")) - object.help = message.help; - if (message.formId != null && message.hasOwnProperty("formId")) - object.formId = message.formId; - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - if (message.setValue != null && message.hasOwnProperty("setValue")) - object.setValue = message.setValue; - if (message.disabled != null && message.hasOwnProperty("disabled")) - object.disabled = message.disabled; - if (message.labelVisibility != null && message.hasOwnProperty("labelVisibility")) - object.labelVisibility = $root.LabelVisibilityMessage.toObject(message.labelVisibility, options); - if (message.step != null && message.hasOwnProperty("step")) - if (typeof message.step === "number") - object.step = options.longs === String ? String(message.step) : message.step; - else - object.step = options.longs === String ? $util.Long.prototype.toString.call(message.step) : options.longs === Number ? new $util.LongBits(message.step.low >>> 0, message.step.high >>> 0).toNumber() : message.step; - return object; - }; - - /** - * Converts this TimeInput to JSON. - * @function toJSON - * @memberof TimeInput - * @instance - * @returns {Object.} JSON object - */ - TimeInput.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for TimeInput - * @function getTypeUrl - * @memberof TimeInput - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - TimeInput.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/TimeInput"; - }; - - return TimeInput; -})(); - -export const VegaLiteChart = $root.VegaLiteChart = (() => { - - /** - * Properties of a VegaLiteChart. - * @exports IVegaLiteChart - * @interface IVegaLiteChart - * @property {string|null} [spec] VegaLiteChart spec - * @property {IDataFrame|null} [data] VegaLiteChart data - * @property {Array.|null} [datasets] VegaLiteChart datasets - * @property {boolean|null} [useContainerWidth] VegaLiteChart useContainerWidth - */ - - /** - * Constructs a new VegaLiteChart. - * @exports VegaLiteChart - * @classdesc Represents a VegaLiteChart. - * @implements IVegaLiteChart - * @constructor - * @param {IVegaLiteChart=} [properties] Properties to set - */ - function VegaLiteChart(properties) { - this.datasets = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * VegaLiteChart spec. - * @member {string} spec - * @memberof VegaLiteChart - * @instance - */ - VegaLiteChart.prototype.spec = ""; - - /** - * VegaLiteChart data. - * @member {IDataFrame|null|undefined} data - * @memberof VegaLiteChart - * @instance - */ - VegaLiteChart.prototype.data = null; - - /** - * VegaLiteChart datasets. - * @member {Array.} datasets - * @memberof VegaLiteChart - * @instance - */ - VegaLiteChart.prototype.datasets = $util.emptyArray; - - /** - * VegaLiteChart useContainerWidth. - * @member {boolean} useContainerWidth - * @memberof VegaLiteChart - * @instance - */ - VegaLiteChart.prototype.useContainerWidth = false; - - /** - * Creates a new VegaLiteChart instance using the specified properties. - * @function create - * @memberof VegaLiteChart - * @static - * @param {IVegaLiteChart=} [properties] Properties to set - * @returns {VegaLiteChart} VegaLiteChart instance - */ - VegaLiteChart.create = function create(properties) { - return new VegaLiteChart(properties); - }; - - /** - * Encodes the specified VegaLiteChart message. Does not implicitly {@link VegaLiteChart.verify|verify} messages. - * @function encode - * @memberof VegaLiteChart - * @static - * @param {IVegaLiteChart} message VegaLiteChart message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - VegaLiteChart.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.spec != null && Object.hasOwnProperty.call(message, "spec")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.spec); - if (message.data != null && Object.hasOwnProperty.call(message, "data")) - $root.DataFrame.encode(message.data, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.datasets != null && message.datasets.length) - for (let i = 0; i < message.datasets.length; ++i) - $root.NamedDataSet.encode(message.datasets[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.useContainerWidth != null && Object.hasOwnProperty.call(message, "useContainerWidth")) - writer.uint32(/* id 5, wireType 0 =*/40).bool(message.useContainerWidth); - return writer; - }; - - /** - * Encodes the specified VegaLiteChart message, length delimited. Does not implicitly {@link VegaLiteChart.verify|verify} messages. - * @function encodeDelimited - * @memberof VegaLiteChart - * @static - * @param {IVegaLiteChart} message VegaLiteChart message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - VegaLiteChart.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a VegaLiteChart message from the specified reader or buffer. - * @function decode - * @memberof VegaLiteChart - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {VegaLiteChart} VegaLiteChart - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - VegaLiteChart.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.VegaLiteChart(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.spec = reader.string(); - break; - } - case 2: { - message.data = $root.DataFrame.decode(reader, reader.uint32()); - break; - } - case 4: { - if (!(message.datasets && message.datasets.length)) - message.datasets = []; - message.datasets.push($root.NamedDataSet.decode(reader, reader.uint32())); - break; - } - case 5: { - message.useContainerWidth = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a VegaLiteChart message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof VegaLiteChart - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {VegaLiteChart} VegaLiteChart - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - VegaLiteChart.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a VegaLiteChart message. - * @function verify - * @memberof VegaLiteChart - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - VegaLiteChart.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.spec != null && message.hasOwnProperty("spec")) - if (!$util.isString(message.spec)) - return "spec: string expected"; - if (message.data != null && message.hasOwnProperty("data")) { - let error = $root.DataFrame.verify(message.data); - if (error) - return "data." + error; - } - if (message.datasets != null && message.hasOwnProperty("datasets")) { - if (!Array.isArray(message.datasets)) - return "datasets: array expected"; - for (let i = 0; i < message.datasets.length; ++i) { - let error = $root.NamedDataSet.verify(message.datasets[i]); - if (error) - return "datasets." + error; - } - } - if (message.useContainerWidth != null && message.hasOwnProperty("useContainerWidth")) - if (typeof message.useContainerWidth !== "boolean") - return "useContainerWidth: boolean expected"; - return null; - }; - - /** - * Creates a VegaLiteChart message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof VegaLiteChart - * @static - * @param {Object.} object Plain object - * @returns {VegaLiteChart} VegaLiteChart - */ - VegaLiteChart.fromObject = function fromObject(object) { - if (object instanceof $root.VegaLiteChart) - return object; - let message = new $root.VegaLiteChart(); - if (object.spec != null) - message.spec = String(object.spec); - if (object.data != null) { - if (typeof object.data !== "object") - throw TypeError(".VegaLiteChart.data: object expected"); - message.data = $root.DataFrame.fromObject(object.data); - } - if (object.datasets) { - if (!Array.isArray(object.datasets)) - throw TypeError(".VegaLiteChart.datasets: array expected"); - message.datasets = []; - for (let i = 0; i < object.datasets.length; ++i) { - if (typeof object.datasets[i] !== "object") - throw TypeError(".VegaLiteChart.datasets: object expected"); - message.datasets[i] = $root.NamedDataSet.fromObject(object.datasets[i]); - } - } - if (object.useContainerWidth != null) - message.useContainerWidth = Boolean(object.useContainerWidth); - return message; - }; - - /** - * Creates a plain object from a VegaLiteChart message. Also converts values to other types if specified. - * @function toObject - * @memberof VegaLiteChart - * @static - * @param {VegaLiteChart} message VegaLiteChart - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - VegaLiteChart.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.datasets = []; - if (options.defaults) { - object.spec = ""; - object.data = null; - object.useContainerWidth = false; - } - if (message.spec != null && message.hasOwnProperty("spec")) - object.spec = message.spec; - if (message.data != null && message.hasOwnProperty("data")) - object.data = $root.DataFrame.toObject(message.data, options); - if (message.datasets && message.datasets.length) { - object.datasets = []; - for (let j = 0; j < message.datasets.length; ++j) - object.datasets[j] = $root.NamedDataSet.toObject(message.datasets[j], options); - } - if (message.useContainerWidth != null && message.hasOwnProperty("useContainerWidth")) - object.useContainerWidth = message.useContainerWidth; - return object; - }; - - /** - * Converts this VegaLiteChart to JSON. - * @function toJSON - * @memberof VegaLiteChart - * @instance - * @returns {Object.} JSON object - */ - VegaLiteChart.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for VegaLiteChart - * @function getTypeUrl - * @memberof VegaLiteChart - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - VegaLiteChart.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/VegaLiteChart"; - }; - - return VegaLiteChart; -})(); - -export const Video = $root.Video = (() => { - - /** - * Properties of a Video. - * @exports IVideo - * @interface IVideo - * @property {string|null} [url] Video url - * @property {number|null} [startTime] Video startTime - * @property {Video.Type|null} [type] Video type - */ - - /** - * Constructs a new Video. - * @exports Video - * @classdesc Represents a Video. - * @implements IVideo - * @constructor - * @param {IVideo=} [properties] Properties to set - */ - function Video(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Video url. - * @member {string} url - * @memberof Video - * @instance - */ - Video.prototype.url = ""; - - /** - * Video startTime. - * @member {number} startTime - * @memberof Video - * @instance - */ - Video.prototype.startTime = 0; - - /** - * Video type. - * @member {Video.Type} type - * @memberof Video - * @instance - */ - Video.prototype.type = 0; - - /** - * Creates a new Video instance using the specified properties. - * @function create - * @memberof Video - * @static - * @param {IVideo=} [properties] Properties to set - * @returns {Video} Video instance - */ - Video.create = function create(properties) { - return new Video(properties); - }; - - /** - * Encodes the specified Video message. Does not implicitly {@link Video.verify|verify} messages. - * @function encode - * @memberof Video - * @static - * @param {IVideo} message Video message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Video.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.startTime != null && Object.hasOwnProperty.call(message, "startTime")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.startTime); - if (message.type != null && Object.hasOwnProperty.call(message, "type")) - writer.uint32(/* id 5, wireType 0 =*/40).int32(message.type); - if (message.url != null && Object.hasOwnProperty.call(message, "url")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.url); - return writer; - }; - - /** - * Encodes the specified Video message, length delimited. Does not implicitly {@link Video.verify|verify} messages. - * @function encodeDelimited - * @memberof Video - * @static - * @param {IVideo} message Video message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Video.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Video message from the specified reader or buffer. - * @function decode - * @memberof Video - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {Video} Video - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Video.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.Video(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 6: { - message.url = reader.string(); - break; - } - case 3: { - message.startTime = reader.int32(); - break; - } - case 5: { - message.type = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Video message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof Video - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {Video} Video - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Video.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Video message. - * @function verify - * @memberof Video - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Video.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.url != null && message.hasOwnProperty("url")) - if (!$util.isString(message.url)) - return "url: string expected"; - if (message.startTime != null && message.hasOwnProperty("startTime")) - if (!$util.isInteger(message.startTime)) - return "startTime: integer expected"; - if (message.type != null && message.hasOwnProperty("type")) - switch (message.type) { - default: - return "type: enum value expected"; - case 0: - case 1: - case 2: - break; - } - return null; - }; - - /** - * Creates a Video message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof Video - * @static - * @param {Object.} object Plain object - * @returns {Video} Video - */ - Video.fromObject = function fromObject(object) { - if (object instanceof $root.Video) - return object; - let message = new $root.Video(); - if (object.url != null) - message.url = String(object.url); - if (object.startTime != null) - message.startTime = object.startTime | 0; - switch (object.type) { - default: - if (typeof object.type === "number") { - message.type = object.type; - break; - } - break; - case "UNUSED": - case 0: - message.type = 0; - break; - case "NATIVE": - case 1: - message.type = 1; - break; - case "YOUTUBE_IFRAME": - case 2: - message.type = 2; - break; - } - return message; - }; - - /** - * Creates a plain object from a Video message. Also converts values to other types if specified. - * @function toObject - * @memberof Video - * @static - * @param {Video} message Video - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Video.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.startTime = 0; - object.type = options.enums === String ? "UNUSED" : 0; - object.url = ""; - } - if (message.startTime != null && message.hasOwnProperty("startTime")) - object.startTime = message.startTime; - if (message.type != null && message.hasOwnProperty("type")) - object.type = options.enums === String ? $root.Video.Type[message.type] === undefined ? message.type : $root.Video.Type[message.type] : message.type; - if (message.url != null && message.hasOwnProperty("url")) - object.url = message.url; - return object; - }; - - /** - * Converts this Video to JSON. - * @function toJSON - * @memberof Video - * @instance - * @returns {Object.} JSON object - */ - Video.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Video - * @function getTypeUrl - * @memberof Video - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Video.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/Video"; - }; - - /** - * Type enum. - * @name Video.Type - * @enum {number} - * @property {number} UNUSED=0 UNUSED value - * @property {number} NATIVE=1 NATIVE value - * @property {number} YOUTUBE_IFRAME=2 YOUTUBE_IFRAME value - */ - Video.Type = (function() { - const valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "UNUSED"] = 0; - values[valuesById[1] = "NATIVE"] = 1; - values[valuesById[2] = "YOUTUBE_IFRAME"] = 2; - return values; - })(); - - return Video; -})(); - -export const WidgetStates = $root.WidgetStates = (() => { - - /** - * Properties of a WidgetStates. - * @exports IWidgetStates - * @interface IWidgetStates - * @property {Array.|null} [widgets] WidgetStates widgets - */ - - /** - * Constructs a new WidgetStates. - * @exports WidgetStates - * @classdesc Represents a WidgetStates. - * @implements IWidgetStates - * @constructor - * @param {IWidgetStates=} [properties] Properties to set - */ - function WidgetStates(properties) { - this.widgets = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * WidgetStates widgets. - * @member {Array.} widgets - * @memberof WidgetStates - * @instance - */ - WidgetStates.prototype.widgets = $util.emptyArray; - - /** - * Creates a new WidgetStates instance using the specified properties. - * @function create - * @memberof WidgetStates - * @static - * @param {IWidgetStates=} [properties] Properties to set - * @returns {WidgetStates} WidgetStates instance - */ - WidgetStates.create = function create(properties) { - return new WidgetStates(properties); - }; - - /** - * Encodes the specified WidgetStates message. Does not implicitly {@link WidgetStates.verify|verify} messages. - * @function encode - * @memberof WidgetStates - * @static - * @param {IWidgetStates} message WidgetStates message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - WidgetStates.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.widgets != null && message.widgets.length) - for (let i = 0; i < message.widgets.length; ++i) - $root.WidgetState.encode(message.widgets[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified WidgetStates message, length delimited. Does not implicitly {@link WidgetStates.verify|verify} messages. - * @function encodeDelimited - * @memberof WidgetStates - * @static - * @param {IWidgetStates} message WidgetStates message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - WidgetStates.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a WidgetStates message from the specified reader or buffer. - * @function decode - * @memberof WidgetStates - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {WidgetStates} WidgetStates - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - WidgetStates.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.WidgetStates(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message.widgets && message.widgets.length)) - message.widgets = []; - message.widgets.push($root.WidgetState.decode(reader, reader.uint32())); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a WidgetStates message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof WidgetStates - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {WidgetStates} WidgetStates - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - WidgetStates.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a WidgetStates message. - * @function verify - * @memberof WidgetStates - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - WidgetStates.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.widgets != null && message.hasOwnProperty("widgets")) { - if (!Array.isArray(message.widgets)) - return "widgets: array expected"; - for (let i = 0; i < message.widgets.length; ++i) { - let error = $root.WidgetState.verify(message.widgets[i]); - if (error) - return "widgets." + error; - } - } - return null; - }; - - /** - * Creates a WidgetStates message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof WidgetStates - * @static - * @param {Object.} object Plain object - * @returns {WidgetStates} WidgetStates - */ - WidgetStates.fromObject = function fromObject(object) { - if (object instanceof $root.WidgetStates) - return object; - let message = new $root.WidgetStates(); - if (object.widgets) { - if (!Array.isArray(object.widgets)) - throw TypeError(".WidgetStates.widgets: array expected"); - message.widgets = []; - for (let i = 0; i < object.widgets.length; ++i) { - if (typeof object.widgets[i] !== "object") - throw TypeError(".WidgetStates.widgets: object expected"); - message.widgets[i] = $root.WidgetState.fromObject(object.widgets[i]); - } - } - return message; - }; - - /** - * Creates a plain object from a WidgetStates message. Also converts values to other types if specified. - * @function toObject - * @memberof WidgetStates - * @static - * @param {WidgetStates} message WidgetStates - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - WidgetStates.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.widgets = []; - if (message.widgets && message.widgets.length) { - object.widgets = []; - for (let j = 0; j < message.widgets.length; ++j) - object.widgets[j] = $root.WidgetState.toObject(message.widgets[j], options); - } - return object; - }; - - /** - * Converts this WidgetStates to JSON. - * @function toJSON - * @memberof WidgetStates - * @instance - * @returns {Object.} JSON object - */ - WidgetStates.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for WidgetStates - * @function getTypeUrl - * @memberof WidgetStates - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - WidgetStates.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/WidgetStates"; - }; - - return WidgetStates; -})(); - -export const WidgetState = $root.WidgetState = (() => { - - /** - * Properties of a WidgetState. - * @exports IWidgetState - * @interface IWidgetState - * @property {string|null} [id] WidgetState id - * @property {boolean|null} [triggerValue] WidgetState triggerValue - * @property {boolean|null} [boolValue] WidgetState boolValue - * @property {number|null} [doubleValue] WidgetState doubleValue - * @property {number|Long|null} [intValue] WidgetState intValue - * @property {string|null} [stringValue] WidgetState stringValue - * @property {IDoubleArray|null} [doubleArrayValue] WidgetState doubleArrayValue - * @property {ISInt64Array|null} [intArrayValue] WidgetState intArrayValue - * @property {IStringArray|null} [stringArrayValue] WidgetState stringArrayValue - * @property {string|null} [jsonValue] WidgetState jsonValue - * @property {IArrowTable|null} [arrowValue] WidgetState arrowValue - * @property {Uint8Array|null} [bytesValue] WidgetState bytesValue - * @property {IFileUploaderState|null} [fileUploaderStateValue] WidgetState fileUploaderStateValue - */ - - /** - * Constructs a new WidgetState. - * @exports WidgetState - * @classdesc Represents a WidgetState. - * @implements IWidgetState - * @constructor - * @param {IWidgetState=} [properties] Properties to set - */ - function WidgetState(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * WidgetState id. - * @member {string} id - * @memberof WidgetState - * @instance - */ - WidgetState.prototype.id = ""; - - /** - * WidgetState triggerValue. - * @member {boolean|null|undefined} triggerValue - * @memberof WidgetState - * @instance - */ - WidgetState.prototype.triggerValue = null; - - /** - * WidgetState boolValue. - * @member {boolean|null|undefined} boolValue - * @memberof WidgetState - * @instance - */ - WidgetState.prototype.boolValue = null; - - /** - * WidgetState doubleValue. - * @member {number|null|undefined} doubleValue - * @memberof WidgetState - * @instance - */ - WidgetState.prototype.doubleValue = null; - - /** - * WidgetState intValue. - * @member {number|Long|null|undefined} intValue - * @memberof WidgetState - * @instance - */ - WidgetState.prototype.intValue = null; - - /** - * WidgetState stringValue. - * @member {string|null|undefined} stringValue - * @memberof WidgetState - * @instance - */ - WidgetState.prototype.stringValue = null; - - /** - * WidgetState doubleArrayValue. - * @member {IDoubleArray|null|undefined} doubleArrayValue - * @memberof WidgetState - * @instance - */ - WidgetState.prototype.doubleArrayValue = null; - - /** - * WidgetState intArrayValue. - * @member {ISInt64Array|null|undefined} intArrayValue - * @memberof WidgetState - * @instance - */ - WidgetState.prototype.intArrayValue = null; - - /** - * WidgetState stringArrayValue. - * @member {IStringArray|null|undefined} stringArrayValue - * @memberof WidgetState - * @instance - */ - WidgetState.prototype.stringArrayValue = null; - - /** - * WidgetState jsonValue. - * @member {string|null|undefined} jsonValue - * @memberof WidgetState - * @instance - */ - WidgetState.prototype.jsonValue = null; - - /** - * WidgetState arrowValue. - * @member {IArrowTable|null|undefined} arrowValue - * @memberof WidgetState - * @instance - */ - WidgetState.prototype.arrowValue = null; - - /** - * WidgetState bytesValue. - * @member {Uint8Array|null|undefined} bytesValue - * @memberof WidgetState - * @instance - */ - WidgetState.prototype.bytesValue = null; - - /** - * WidgetState fileUploaderStateValue. - * @member {IFileUploaderState|null|undefined} fileUploaderStateValue - * @memberof WidgetState - * @instance - */ - WidgetState.prototype.fileUploaderStateValue = null; - - // OneOf field names bound to virtual getters and setters - let $oneOfFields; - - /** - * WidgetState value. - * @member {"triggerValue"|"boolValue"|"doubleValue"|"intValue"|"stringValue"|"doubleArrayValue"|"intArrayValue"|"stringArrayValue"|"jsonValue"|"arrowValue"|"bytesValue"|"fileUploaderStateValue"|undefined} value - * @memberof WidgetState - * @instance - */ - Object.defineProperty(WidgetState.prototype, "value", { - get: $util.oneOfGetter($oneOfFields = ["triggerValue", "boolValue", "doubleValue", "intValue", "stringValue", "doubleArrayValue", "intArrayValue", "stringArrayValue", "jsonValue", "arrowValue", "bytesValue", "fileUploaderStateValue"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new WidgetState instance using the specified properties. - * @function create - * @memberof WidgetState - * @static - * @param {IWidgetState=} [properties] Properties to set - * @returns {WidgetState} WidgetState instance - */ - WidgetState.create = function create(properties) { - return new WidgetState(properties); - }; - - /** - * Encodes the specified WidgetState message. Does not implicitly {@link WidgetState.verify|verify} messages. - * @function encode - * @memberof WidgetState - * @static - * @param {IWidgetState} message WidgetState message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - WidgetState.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.id != null && Object.hasOwnProperty.call(message, "id")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); - if (message.triggerValue != null && Object.hasOwnProperty.call(message, "triggerValue")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.triggerValue); - if (message.boolValue != null && Object.hasOwnProperty.call(message, "boolValue")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.boolValue); - if (message.doubleValue != null && Object.hasOwnProperty.call(message, "doubleValue")) - writer.uint32(/* id 4, wireType 1 =*/33).double(message.doubleValue); - if (message.intValue != null && Object.hasOwnProperty.call(message, "intValue")) - writer.uint32(/* id 5, wireType 0 =*/40).sint64(message.intValue); - if (message.stringValue != null && Object.hasOwnProperty.call(message, "stringValue")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.stringValue); - if (message.doubleArrayValue != null && Object.hasOwnProperty.call(message, "doubleArrayValue")) - $root.DoubleArray.encode(message.doubleArrayValue, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.intArrayValue != null && Object.hasOwnProperty.call(message, "intArrayValue")) - $root.SInt64Array.encode(message.intArrayValue, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - if (message.stringArrayValue != null && Object.hasOwnProperty.call(message, "stringArrayValue")) - $root.StringArray.encode(message.stringArrayValue, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); - if (message.jsonValue != null && Object.hasOwnProperty.call(message, "jsonValue")) - writer.uint32(/* id 10, wireType 2 =*/82).string(message.jsonValue); - if (message.arrowValue != null && Object.hasOwnProperty.call(message, "arrowValue")) - $root.ArrowTable.encode(message.arrowValue, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); - if (message.bytesValue != null && Object.hasOwnProperty.call(message, "bytesValue")) - writer.uint32(/* id 12, wireType 2 =*/98).bytes(message.bytesValue); - if (message.fileUploaderStateValue != null && Object.hasOwnProperty.call(message, "fileUploaderStateValue")) - $root.FileUploaderState.encode(message.fileUploaderStateValue, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified WidgetState message, length delimited. Does not implicitly {@link WidgetState.verify|verify} messages. - * @function encodeDelimited - * @memberof WidgetState - * @static - * @param {IWidgetState} message WidgetState message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - WidgetState.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a WidgetState message from the specified reader or buffer. - * @function decode - * @memberof WidgetState - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {WidgetState} WidgetState - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - WidgetState.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.WidgetState(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.id = reader.string(); - break; - } - case 2: { - message.triggerValue = reader.bool(); - break; - } - case 3: { - message.boolValue = reader.bool(); - break; - } - case 4: { - message.doubleValue = reader.double(); - break; - } - case 5: { - message.intValue = reader.sint64(); - break; - } - case 6: { - message.stringValue = reader.string(); - break; - } - case 7: { - message.doubleArrayValue = $root.DoubleArray.decode(reader, reader.uint32()); - break; - } - case 8: { - message.intArrayValue = $root.SInt64Array.decode(reader, reader.uint32()); - break; - } - case 9: { - message.stringArrayValue = $root.StringArray.decode(reader, reader.uint32()); - break; - } - case 10: { - message.jsonValue = reader.string(); - break; - } - case 11: { - message.arrowValue = $root.ArrowTable.decode(reader, reader.uint32()); - break; - } - case 12: { - message.bytesValue = reader.bytes(); - break; - } - case 13: { - message.fileUploaderStateValue = $root.FileUploaderState.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a WidgetState message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof WidgetState - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {WidgetState} WidgetState - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - WidgetState.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a WidgetState message. - * @function verify - * @memberof WidgetState - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - WidgetState.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - let properties = {}; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isString(message.id)) - return "id: string expected"; - if (message.triggerValue != null && message.hasOwnProperty("triggerValue")) { - properties.value = 1; - if (typeof message.triggerValue !== "boolean") - return "triggerValue: boolean expected"; - } - if (message.boolValue != null && message.hasOwnProperty("boolValue")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - if (typeof message.boolValue !== "boolean") - return "boolValue: boolean expected"; - } - if (message.doubleValue != null && message.hasOwnProperty("doubleValue")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - if (typeof message.doubleValue !== "number") - return "doubleValue: number expected"; - } - if (message.intValue != null && message.hasOwnProperty("intValue")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - if (!$util.isInteger(message.intValue) && !(message.intValue && $util.isInteger(message.intValue.low) && $util.isInteger(message.intValue.high))) - return "intValue: integer|Long expected"; - } - if (message.stringValue != null && message.hasOwnProperty("stringValue")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - if (!$util.isString(message.stringValue)) - return "stringValue: string expected"; - } - if (message.doubleArrayValue != null && message.hasOwnProperty("doubleArrayValue")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - let error = $root.DoubleArray.verify(message.doubleArrayValue); - if (error) - return "doubleArrayValue." + error; - } - } - if (message.intArrayValue != null && message.hasOwnProperty("intArrayValue")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - let error = $root.SInt64Array.verify(message.intArrayValue); - if (error) - return "intArrayValue." + error; - } - } - if (message.stringArrayValue != null && message.hasOwnProperty("stringArrayValue")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - let error = $root.StringArray.verify(message.stringArrayValue); - if (error) - return "stringArrayValue." + error; - } - } - if (message.jsonValue != null && message.hasOwnProperty("jsonValue")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - if (!$util.isString(message.jsonValue)) - return "jsonValue: string expected"; - } - if (message.arrowValue != null && message.hasOwnProperty("arrowValue")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - let error = $root.ArrowTable.verify(message.arrowValue); - if (error) - return "arrowValue." + error; - } - } - if (message.bytesValue != null && message.hasOwnProperty("bytesValue")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - if (!(message.bytesValue && typeof message.bytesValue.length === "number" || $util.isString(message.bytesValue))) - return "bytesValue: buffer expected"; - } - if (message.fileUploaderStateValue != null && message.hasOwnProperty("fileUploaderStateValue")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - let error = $root.FileUploaderState.verify(message.fileUploaderStateValue); - if (error) - return "fileUploaderStateValue." + error; - } - } - return null; - }; - - /** - * Creates a WidgetState message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof WidgetState - * @static - * @param {Object.} object Plain object - * @returns {WidgetState} WidgetState - */ - WidgetState.fromObject = function fromObject(object) { - if (object instanceof $root.WidgetState) - return object; - let message = new $root.WidgetState(); - if (object.id != null) - message.id = String(object.id); - if (object.triggerValue != null) - message.triggerValue = Boolean(object.triggerValue); - if (object.boolValue != null) - message.boolValue = Boolean(object.boolValue); - if (object.doubleValue != null) - message.doubleValue = Number(object.doubleValue); - if (object.intValue != null) - if ($util.Long) - (message.intValue = $util.Long.fromValue(object.intValue)).unsigned = false; - else if (typeof object.intValue === "string") - message.intValue = parseInt(object.intValue, 10); - else if (typeof object.intValue === "number") - message.intValue = object.intValue; - else if (typeof object.intValue === "object") - message.intValue = new $util.LongBits(object.intValue.low >>> 0, object.intValue.high >>> 0).toNumber(); - if (object.stringValue != null) - message.stringValue = String(object.stringValue); - if (object.doubleArrayValue != null) { - if (typeof object.doubleArrayValue !== "object") - throw TypeError(".WidgetState.doubleArrayValue: object expected"); - message.doubleArrayValue = $root.DoubleArray.fromObject(object.doubleArrayValue); - } - if (object.intArrayValue != null) { - if (typeof object.intArrayValue !== "object") - throw TypeError(".WidgetState.intArrayValue: object expected"); - message.intArrayValue = $root.SInt64Array.fromObject(object.intArrayValue); - } - if (object.stringArrayValue != null) { - if (typeof object.stringArrayValue !== "object") - throw TypeError(".WidgetState.stringArrayValue: object expected"); - message.stringArrayValue = $root.StringArray.fromObject(object.stringArrayValue); - } - if (object.jsonValue != null) - message.jsonValue = String(object.jsonValue); - if (object.arrowValue != null) { - if (typeof object.arrowValue !== "object") - throw TypeError(".WidgetState.arrowValue: object expected"); - message.arrowValue = $root.ArrowTable.fromObject(object.arrowValue); - } - if (object.bytesValue != null) - if (typeof object.bytesValue === "string") - $util.base64.decode(object.bytesValue, message.bytesValue = $util.newBuffer($util.base64.length(object.bytesValue)), 0); - else if (object.bytesValue.length >= 0) - message.bytesValue = object.bytesValue; - if (object.fileUploaderStateValue != null) { - if (typeof object.fileUploaderStateValue !== "object") - throw TypeError(".WidgetState.fileUploaderStateValue: object expected"); - message.fileUploaderStateValue = $root.FileUploaderState.fromObject(object.fileUploaderStateValue); - } - return message; - }; - - /** - * Creates a plain object from a WidgetState message. Also converts values to other types if specified. - * @function toObject - * @memberof WidgetState - * @static - * @param {WidgetState} message WidgetState - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - WidgetState.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) - object.id = ""; - if (message.id != null && message.hasOwnProperty("id")) - object.id = message.id; - if (message.triggerValue != null && message.hasOwnProperty("triggerValue")) { - object.triggerValue = message.triggerValue; - if (options.oneofs) - object.value = "triggerValue"; - } - if (message.boolValue != null && message.hasOwnProperty("boolValue")) { - object.boolValue = message.boolValue; - if (options.oneofs) - object.value = "boolValue"; - } - if (message.doubleValue != null && message.hasOwnProperty("doubleValue")) { - object.doubleValue = options.json && !isFinite(message.doubleValue) ? String(message.doubleValue) : message.doubleValue; - if (options.oneofs) - object.value = "doubleValue"; - } - if (message.intValue != null && message.hasOwnProperty("intValue")) { - if (typeof message.intValue === "number") - object.intValue = options.longs === String ? String(message.intValue) : message.intValue; - else - object.intValue = options.longs === String ? $util.Long.prototype.toString.call(message.intValue) : options.longs === Number ? new $util.LongBits(message.intValue.low >>> 0, message.intValue.high >>> 0).toNumber() : message.intValue; - if (options.oneofs) - object.value = "intValue"; - } - if (message.stringValue != null && message.hasOwnProperty("stringValue")) { - object.stringValue = message.stringValue; - if (options.oneofs) - object.value = "stringValue"; - } - if (message.doubleArrayValue != null && message.hasOwnProperty("doubleArrayValue")) { - object.doubleArrayValue = $root.DoubleArray.toObject(message.doubleArrayValue, options); - if (options.oneofs) - object.value = "doubleArrayValue"; - } - if (message.intArrayValue != null && message.hasOwnProperty("intArrayValue")) { - object.intArrayValue = $root.SInt64Array.toObject(message.intArrayValue, options); - if (options.oneofs) - object.value = "intArrayValue"; - } - if (message.stringArrayValue != null && message.hasOwnProperty("stringArrayValue")) { - object.stringArrayValue = $root.StringArray.toObject(message.stringArrayValue, options); - if (options.oneofs) - object.value = "stringArrayValue"; - } - if (message.jsonValue != null && message.hasOwnProperty("jsonValue")) { - object.jsonValue = message.jsonValue; - if (options.oneofs) - object.value = "jsonValue"; - } - if (message.arrowValue != null && message.hasOwnProperty("arrowValue")) { - object.arrowValue = $root.ArrowTable.toObject(message.arrowValue, options); - if (options.oneofs) - object.value = "arrowValue"; - } - if (message.bytesValue != null && message.hasOwnProperty("bytesValue")) { - object.bytesValue = options.bytes === String ? $util.base64.encode(message.bytesValue, 0, message.bytesValue.length) : options.bytes === Array ? Array.prototype.slice.call(message.bytesValue) : message.bytesValue; - if (options.oneofs) - object.value = "bytesValue"; - } - if (message.fileUploaderStateValue != null && message.hasOwnProperty("fileUploaderStateValue")) { - object.fileUploaderStateValue = $root.FileUploaderState.toObject(message.fileUploaderStateValue, options); - if (options.oneofs) - object.value = "fileUploaderStateValue"; - } - return object; - }; - - /** - * Converts this WidgetState to JSON. - * @function toJSON - * @memberof WidgetState - * @instance - * @returns {Object.} JSON object - */ - WidgetState.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for WidgetState - * @function getTypeUrl - * @memberof WidgetState - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - WidgetState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/WidgetState"; - }; - - return WidgetState; -})(); - -export const openmetrics = $root.openmetrics = (() => { - - /** - * Namespace openmetrics. - * @exports openmetrics - * @namespace - */ - const openmetrics = {}; - - openmetrics.MetricSet = (function() { - - /** - * Properties of a MetricSet. - * @memberof openmetrics - * @interface IMetricSet - * @property {Array.|null} [metricFamilies] MetricSet metricFamilies - */ - - /** - * Constructs a new MetricSet. - * @memberof openmetrics - * @classdesc Represents a MetricSet. - * @implements IMetricSet - * @constructor - * @param {openmetrics.IMetricSet=} [properties] Properties to set - */ - function MetricSet(properties) { - this.metricFamilies = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * MetricSet metricFamilies. - * @member {Array.} metricFamilies - * @memberof openmetrics.MetricSet - * @instance - */ - MetricSet.prototype.metricFamilies = $util.emptyArray; - - /** - * Creates a new MetricSet instance using the specified properties. - * @function create - * @memberof openmetrics.MetricSet - * @static - * @param {openmetrics.IMetricSet=} [properties] Properties to set - * @returns {openmetrics.MetricSet} MetricSet instance - */ - MetricSet.create = function create(properties) { - return new MetricSet(properties); - }; - - /** - * Encodes the specified MetricSet message. Does not implicitly {@link openmetrics.MetricSet.verify|verify} messages. - * @function encode - * @memberof openmetrics.MetricSet - * @static - * @param {openmetrics.IMetricSet} message MetricSet message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - MetricSet.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.metricFamilies != null && message.metricFamilies.length) - for (let i = 0; i < message.metricFamilies.length; ++i) - $root.openmetrics.MetricFamily.encode(message.metricFamilies[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified MetricSet message, length delimited. Does not implicitly {@link openmetrics.MetricSet.verify|verify} messages. - * @function encodeDelimited - * @memberof openmetrics.MetricSet - * @static - * @param {openmetrics.IMetricSet} message MetricSet message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - MetricSet.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a MetricSet message from the specified reader or buffer. - * @function decode - * @memberof openmetrics.MetricSet - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {openmetrics.MetricSet} MetricSet - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - MetricSet.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.openmetrics.MetricSet(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message.metricFamilies && message.metricFamilies.length)) - message.metricFamilies = []; - message.metricFamilies.push($root.openmetrics.MetricFamily.decode(reader, reader.uint32())); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a MetricSet message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof openmetrics.MetricSet - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {openmetrics.MetricSet} MetricSet - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - MetricSet.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a MetricSet message. - * @function verify - * @memberof openmetrics.MetricSet - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - MetricSet.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.metricFamilies != null && message.hasOwnProperty("metricFamilies")) { - if (!Array.isArray(message.metricFamilies)) - return "metricFamilies: array expected"; - for (let i = 0; i < message.metricFamilies.length; ++i) { - let error = $root.openmetrics.MetricFamily.verify(message.metricFamilies[i]); - if (error) - return "metricFamilies." + error; - } - } - return null; - }; - - /** - * Creates a MetricSet message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof openmetrics.MetricSet - * @static - * @param {Object.} object Plain object - * @returns {openmetrics.MetricSet} MetricSet - */ - MetricSet.fromObject = function fromObject(object) { - if (object instanceof $root.openmetrics.MetricSet) - return object; - let message = new $root.openmetrics.MetricSet(); - if (object.metricFamilies) { - if (!Array.isArray(object.metricFamilies)) - throw TypeError(".openmetrics.MetricSet.metricFamilies: array expected"); - message.metricFamilies = []; - for (let i = 0; i < object.metricFamilies.length; ++i) { - if (typeof object.metricFamilies[i] !== "object") - throw TypeError(".openmetrics.MetricSet.metricFamilies: object expected"); - message.metricFamilies[i] = $root.openmetrics.MetricFamily.fromObject(object.metricFamilies[i]); - } - } - return message; - }; - - /** - * Creates a plain object from a MetricSet message. Also converts values to other types if specified. - * @function toObject - * @memberof openmetrics.MetricSet - * @static - * @param {openmetrics.MetricSet} message MetricSet - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - MetricSet.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.metricFamilies = []; - if (message.metricFamilies && message.metricFamilies.length) { - object.metricFamilies = []; - for (let j = 0; j < message.metricFamilies.length; ++j) - object.metricFamilies[j] = $root.openmetrics.MetricFamily.toObject(message.metricFamilies[j], options); - } - return object; - }; - - /** - * Converts this MetricSet to JSON. - * @function toJSON - * @memberof openmetrics.MetricSet - * @instance - * @returns {Object.} JSON object - */ - MetricSet.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for MetricSet - * @function getTypeUrl - * @memberof openmetrics.MetricSet - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - MetricSet.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/openmetrics.MetricSet"; - }; - - return MetricSet; - })(); - - openmetrics.MetricFamily = (function() { - - /** - * Properties of a MetricFamily. - * @memberof openmetrics - * @interface IMetricFamily - * @property {string|null} [name] MetricFamily name - * @property {openmetrics.MetricType|null} [type] MetricFamily type - * @property {string|null} [unit] MetricFamily unit - * @property {string|null} [help] MetricFamily help - * @property {Array.|null} [metrics] MetricFamily metrics - */ - - /** - * Constructs a new MetricFamily. - * @memberof openmetrics - * @classdesc Represents a MetricFamily. - * @implements IMetricFamily - * @constructor - * @param {openmetrics.IMetricFamily=} [properties] Properties to set - */ - function MetricFamily(properties) { - this.metrics = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * MetricFamily name. - * @member {string} name - * @memberof openmetrics.MetricFamily - * @instance - */ - MetricFamily.prototype.name = ""; - - /** - * MetricFamily type. - * @member {openmetrics.MetricType} type - * @memberof openmetrics.MetricFamily - * @instance - */ - MetricFamily.prototype.type = 0; - - /** - * MetricFamily unit. - * @member {string} unit - * @memberof openmetrics.MetricFamily - * @instance - */ - MetricFamily.prototype.unit = ""; - - /** - * MetricFamily help. - * @member {string} help - * @memberof openmetrics.MetricFamily - * @instance - */ - MetricFamily.prototype.help = ""; - - /** - * MetricFamily metrics. - * @member {Array.} metrics - * @memberof openmetrics.MetricFamily - * @instance - */ - MetricFamily.prototype.metrics = $util.emptyArray; - - /** - * Creates a new MetricFamily instance using the specified properties. - * @function create - * @memberof openmetrics.MetricFamily - * @static - * @param {openmetrics.IMetricFamily=} [properties] Properties to set - * @returns {openmetrics.MetricFamily} MetricFamily instance - */ - MetricFamily.create = function create(properties) { - return new MetricFamily(properties); - }; - - /** - * Encodes the specified MetricFamily message. Does not implicitly {@link openmetrics.MetricFamily.verify|verify} messages. - * @function encode - * @memberof openmetrics.MetricFamily - * @static - * @param {openmetrics.IMetricFamily} message MetricFamily message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - MetricFamily.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); - if (message.type != null && Object.hasOwnProperty.call(message, "type")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.type); - if (message.unit != null && Object.hasOwnProperty.call(message, "unit")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.unit); - if (message.help != null && Object.hasOwnProperty.call(message, "help")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.help); - if (message.metrics != null && message.metrics.length) - for (let i = 0; i < message.metrics.length; ++i) - $root.openmetrics.Metric.encode(message.metrics[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified MetricFamily message, length delimited. Does not implicitly {@link openmetrics.MetricFamily.verify|verify} messages. - * @function encodeDelimited - * @memberof openmetrics.MetricFamily - * @static - * @param {openmetrics.IMetricFamily} message MetricFamily message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - MetricFamily.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a MetricFamily message from the specified reader or buffer. - * @function decode - * @memberof openmetrics.MetricFamily - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {openmetrics.MetricFamily} MetricFamily - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - MetricFamily.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.openmetrics.MetricFamily(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.name = reader.string(); - break; - } - case 2: { - message.type = reader.int32(); - break; - } - case 3: { - message.unit = reader.string(); - break; - } - case 4: { - message.help = reader.string(); - break; - } - case 5: { - if (!(message.metrics && message.metrics.length)) - message.metrics = []; - message.metrics.push($root.openmetrics.Metric.decode(reader, reader.uint32())); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a MetricFamily message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof openmetrics.MetricFamily - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {openmetrics.MetricFamily} MetricFamily - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - MetricFamily.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a MetricFamily message. - * @function verify - * @memberof openmetrics.MetricFamily - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - MetricFamily.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.type != null && message.hasOwnProperty("type")) - switch (message.type) { - default: - return "type: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - break; - } - if (message.unit != null && message.hasOwnProperty("unit")) - if (!$util.isString(message.unit)) - return "unit: string expected"; - if (message.help != null && message.hasOwnProperty("help")) - if (!$util.isString(message.help)) - return "help: string expected"; - if (message.metrics != null && message.hasOwnProperty("metrics")) { - if (!Array.isArray(message.metrics)) - return "metrics: array expected"; - for (let i = 0; i < message.metrics.length; ++i) { - let error = $root.openmetrics.Metric.verify(message.metrics[i]); - if (error) - return "metrics." + error; - } - } - return null; - }; - - /** - * Creates a MetricFamily message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof openmetrics.MetricFamily - * @static - * @param {Object.} object Plain object - * @returns {openmetrics.MetricFamily} MetricFamily - */ - MetricFamily.fromObject = function fromObject(object) { - if (object instanceof $root.openmetrics.MetricFamily) - return object; - let message = new $root.openmetrics.MetricFamily(); - if (object.name != null) - message.name = String(object.name); - switch (object.type) { - default: - if (typeof object.type === "number") { - message.type = object.type; - break; - } - break; - case "UNKNOWN": - case 0: - message.type = 0; - break; - case "GAUGE": - case 1: - message.type = 1; - break; - case "COUNTER": - case 2: - message.type = 2; - break; - case "STATE_SET": - case 3: - message.type = 3; - break; - case "INFO": - case 4: - message.type = 4; - break; - case "HISTOGRAM": - case 5: - message.type = 5; - break; - case "GAUGE_HISTOGRAM": - case 6: - message.type = 6; - break; - case "SUMMARY": - case 7: - message.type = 7; - break; - } - if (object.unit != null) - message.unit = String(object.unit); - if (object.help != null) - message.help = String(object.help); - if (object.metrics) { - if (!Array.isArray(object.metrics)) - throw TypeError(".openmetrics.MetricFamily.metrics: array expected"); - message.metrics = []; - for (let i = 0; i < object.metrics.length; ++i) { - if (typeof object.metrics[i] !== "object") - throw TypeError(".openmetrics.MetricFamily.metrics: object expected"); - message.metrics[i] = $root.openmetrics.Metric.fromObject(object.metrics[i]); - } - } - return message; - }; - - /** - * Creates a plain object from a MetricFamily message. Also converts values to other types if specified. - * @function toObject - * @memberof openmetrics.MetricFamily - * @static - * @param {openmetrics.MetricFamily} message MetricFamily - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - MetricFamily.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.metrics = []; - if (options.defaults) { - object.name = ""; - object.type = options.enums === String ? "UNKNOWN" : 0; - object.unit = ""; - object.help = ""; - } - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; - if (message.type != null && message.hasOwnProperty("type")) - object.type = options.enums === String ? $root.openmetrics.MetricType[message.type] === undefined ? message.type : $root.openmetrics.MetricType[message.type] : message.type; - if (message.unit != null && message.hasOwnProperty("unit")) - object.unit = message.unit; - if (message.help != null && message.hasOwnProperty("help")) - object.help = message.help; - if (message.metrics && message.metrics.length) { - object.metrics = []; - for (let j = 0; j < message.metrics.length; ++j) - object.metrics[j] = $root.openmetrics.Metric.toObject(message.metrics[j], options); - } - return object; - }; - - /** - * Converts this MetricFamily to JSON. - * @function toJSON - * @memberof openmetrics.MetricFamily - * @instance - * @returns {Object.} JSON object - */ - MetricFamily.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for MetricFamily - * @function getTypeUrl - * @memberof openmetrics.MetricFamily - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - MetricFamily.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/openmetrics.MetricFamily"; - }; - - return MetricFamily; - })(); - - /** - * MetricType enum. - * @name openmetrics.MetricType - * @enum {number} - * @property {number} UNKNOWN=0 UNKNOWN value - * @property {number} GAUGE=1 GAUGE value - * @property {number} COUNTER=2 COUNTER value - * @property {number} STATE_SET=3 STATE_SET value - * @property {number} INFO=4 INFO value - * @property {number} HISTOGRAM=5 HISTOGRAM value - * @property {number} GAUGE_HISTOGRAM=6 GAUGE_HISTOGRAM value - * @property {number} SUMMARY=7 SUMMARY value - */ - openmetrics.MetricType = (function() { - const valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "UNKNOWN"] = 0; - values[valuesById[1] = "GAUGE"] = 1; - values[valuesById[2] = "COUNTER"] = 2; - values[valuesById[3] = "STATE_SET"] = 3; - values[valuesById[4] = "INFO"] = 4; - values[valuesById[5] = "HISTOGRAM"] = 5; - values[valuesById[6] = "GAUGE_HISTOGRAM"] = 6; - values[valuesById[7] = "SUMMARY"] = 7; - return values; - })(); - - openmetrics.Metric = (function() { - - /** - * Properties of a Metric. - * @memberof openmetrics - * @interface IMetric - * @property {Array.|null} [labels] Metric labels - * @property {Array.|null} [metricPoints] Metric metricPoints - */ - - /** - * Constructs a new Metric. - * @memberof openmetrics - * @classdesc Represents a Metric. - * @implements IMetric - * @constructor - * @param {openmetrics.IMetric=} [properties] Properties to set - */ - function Metric(properties) { - this.labels = []; - this.metricPoints = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Metric labels. - * @member {Array.} labels - * @memberof openmetrics.Metric - * @instance - */ - Metric.prototype.labels = $util.emptyArray; - - /** - * Metric metricPoints. - * @member {Array.} metricPoints - * @memberof openmetrics.Metric - * @instance - */ - Metric.prototype.metricPoints = $util.emptyArray; - - /** - * Creates a new Metric instance using the specified properties. - * @function create - * @memberof openmetrics.Metric - * @static - * @param {openmetrics.IMetric=} [properties] Properties to set - * @returns {openmetrics.Metric} Metric instance - */ - Metric.create = function create(properties) { - return new Metric(properties); - }; - - /** - * Encodes the specified Metric message. Does not implicitly {@link openmetrics.Metric.verify|verify} messages. - * @function encode - * @memberof openmetrics.Metric - * @static - * @param {openmetrics.IMetric} message Metric message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Metric.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.labels != null && message.labels.length) - for (let i = 0; i < message.labels.length; ++i) - $root.openmetrics.Label.encode(message.labels[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.metricPoints != null && message.metricPoints.length) - for (let i = 0; i < message.metricPoints.length; ++i) - $root.openmetrics.MetricPoint.encode(message.metricPoints[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified Metric message, length delimited. Does not implicitly {@link openmetrics.Metric.verify|verify} messages. - * @function encodeDelimited - * @memberof openmetrics.Metric - * @static - * @param {openmetrics.IMetric} message Metric message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Metric.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Metric message from the specified reader or buffer. - * @function decode - * @memberof openmetrics.Metric - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {openmetrics.Metric} Metric - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Metric.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.openmetrics.Metric(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message.labels && message.labels.length)) - message.labels = []; - message.labels.push($root.openmetrics.Label.decode(reader, reader.uint32())); - break; - } - case 2: { - if (!(message.metricPoints && message.metricPoints.length)) - message.metricPoints = []; - message.metricPoints.push($root.openmetrics.MetricPoint.decode(reader, reader.uint32())); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Metric message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof openmetrics.Metric - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {openmetrics.Metric} Metric - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Metric.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Metric message. - * @function verify - * @memberof openmetrics.Metric - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Metric.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.labels != null && message.hasOwnProperty("labels")) { - if (!Array.isArray(message.labels)) - return "labels: array expected"; - for (let i = 0; i < message.labels.length; ++i) { - let error = $root.openmetrics.Label.verify(message.labels[i]); - if (error) - return "labels." + error; - } - } - if (message.metricPoints != null && message.hasOwnProperty("metricPoints")) { - if (!Array.isArray(message.metricPoints)) - return "metricPoints: array expected"; - for (let i = 0; i < message.metricPoints.length; ++i) { - let error = $root.openmetrics.MetricPoint.verify(message.metricPoints[i]); - if (error) - return "metricPoints." + error; - } - } - return null; - }; - - /** - * Creates a Metric message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof openmetrics.Metric - * @static - * @param {Object.} object Plain object - * @returns {openmetrics.Metric} Metric - */ - Metric.fromObject = function fromObject(object) { - if (object instanceof $root.openmetrics.Metric) - return object; - let message = new $root.openmetrics.Metric(); - if (object.labels) { - if (!Array.isArray(object.labels)) - throw TypeError(".openmetrics.Metric.labels: array expected"); - message.labels = []; - for (let i = 0; i < object.labels.length; ++i) { - if (typeof object.labels[i] !== "object") - throw TypeError(".openmetrics.Metric.labels: object expected"); - message.labels[i] = $root.openmetrics.Label.fromObject(object.labels[i]); - } - } - if (object.metricPoints) { - if (!Array.isArray(object.metricPoints)) - throw TypeError(".openmetrics.Metric.metricPoints: array expected"); - message.metricPoints = []; - for (let i = 0; i < object.metricPoints.length; ++i) { - if (typeof object.metricPoints[i] !== "object") - throw TypeError(".openmetrics.Metric.metricPoints: object expected"); - message.metricPoints[i] = $root.openmetrics.MetricPoint.fromObject(object.metricPoints[i]); - } - } - return message; - }; - - /** - * Creates a plain object from a Metric message. Also converts values to other types if specified. - * @function toObject - * @memberof openmetrics.Metric - * @static - * @param {openmetrics.Metric} message Metric - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Metric.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) { - object.labels = []; - object.metricPoints = []; - } - if (message.labels && message.labels.length) { - object.labels = []; - for (let j = 0; j < message.labels.length; ++j) - object.labels[j] = $root.openmetrics.Label.toObject(message.labels[j], options); - } - if (message.metricPoints && message.metricPoints.length) { - object.metricPoints = []; - for (let j = 0; j < message.metricPoints.length; ++j) - object.metricPoints[j] = $root.openmetrics.MetricPoint.toObject(message.metricPoints[j], options); - } - return object; - }; - - /** - * Converts this Metric to JSON. - * @function toJSON - * @memberof openmetrics.Metric - * @instance - * @returns {Object.} JSON object - */ - Metric.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Metric - * @function getTypeUrl - * @memberof openmetrics.Metric - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Metric.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/openmetrics.Metric"; - }; - - return Metric; - })(); - - openmetrics.Label = (function() { - - /** - * Properties of a Label. - * @memberof openmetrics - * @interface ILabel - * @property {string|null} [name] Label name - * @property {string|null} [value] Label value - */ - - /** - * Constructs a new Label. - * @memberof openmetrics - * @classdesc Represents a Label. - * @implements ILabel - * @constructor - * @param {openmetrics.ILabel=} [properties] Properties to set - */ - function Label(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Label name. - * @member {string} name - * @memberof openmetrics.Label - * @instance - */ - Label.prototype.name = ""; - - /** - * Label value. - * @member {string} value - * @memberof openmetrics.Label - * @instance - */ - Label.prototype.value = ""; - - /** - * Creates a new Label instance using the specified properties. - * @function create - * @memberof openmetrics.Label - * @static - * @param {openmetrics.ILabel=} [properties] Properties to set - * @returns {openmetrics.Label} Label instance - */ - Label.create = function create(properties) { - return new Label(properties); - }; - - /** - * Encodes the specified Label message. Does not implicitly {@link openmetrics.Label.verify|verify} messages. - * @function encode - * @memberof openmetrics.Label - * @static - * @param {openmetrics.ILabel} message Label message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Label.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.value); - return writer; - }; - - /** - * Encodes the specified Label message, length delimited. Does not implicitly {@link openmetrics.Label.verify|verify} messages. - * @function encodeDelimited - * @memberof openmetrics.Label - * @static - * @param {openmetrics.ILabel} message Label message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Label.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Label message from the specified reader or buffer. - * @function decode - * @memberof openmetrics.Label - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {openmetrics.Label} Label - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Label.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.openmetrics.Label(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.name = reader.string(); - break; - } - case 2: { - message.value = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Label message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof openmetrics.Label - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {openmetrics.Label} Label - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Label.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Label message. - * @function verify - * @memberof openmetrics.Label - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Label.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (!$util.isString(message.value)) - return "value: string expected"; - return null; - }; - - /** - * Creates a Label message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof openmetrics.Label - * @static - * @param {Object.} object Plain object - * @returns {openmetrics.Label} Label - */ - Label.fromObject = function fromObject(object) { - if (object instanceof $root.openmetrics.Label) - return object; - let message = new $root.openmetrics.Label(); - if (object.name != null) - message.name = String(object.name); - if (object.value != null) - message.value = String(object.value); - return message; - }; - - /** - * Creates a plain object from a Label message. Also converts values to other types if specified. - * @function toObject - * @memberof openmetrics.Label - * @static - * @param {openmetrics.Label} message Label - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Label.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.name = ""; - object.value = ""; - } - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - return object; - }; - - /** - * Converts this Label to JSON. - * @function toJSON - * @memberof openmetrics.Label - * @instance - * @returns {Object.} JSON object - */ - Label.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Label - * @function getTypeUrl - * @memberof openmetrics.Label - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Label.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/openmetrics.Label"; - }; - - return Label; - })(); - - openmetrics.MetricPoint = (function() { - - /** - * Properties of a MetricPoint. - * @memberof openmetrics - * @interface IMetricPoint - * @property {openmetrics.IUnknownValue|null} [unknownValue] MetricPoint unknownValue - * @property {openmetrics.IGaugeValue|null} [gaugeValue] MetricPoint gaugeValue - * @property {openmetrics.ICounterValue|null} [counterValue] MetricPoint counterValue - * @property {openmetrics.IHistogramValue|null} [histogramValue] MetricPoint histogramValue - * @property {openmetrics.IStateSetValue|null} [stateSetValue] MetricPoint stateSetValue - * @property {openmetrics.IInfoValue|null} [infoValue] MetricPoint infoValue - * @property {openmetrics.ISummaryValue|null} [summaryValue] MetricPoint summaryValue - * @property {google.protobuf.ITimestamp|null} [timestamp] MetricPoint timestamp - */ - - /** - * Constructs a new MetricPoint. - * @memberof openmetrics - * @classdesc Represents a MetricPoint. - * @implements IMetricPoint - * @constructor - * @param {openmetrics.IMetricPoint=} [properties] Properties to set - */ - function MetricPoint(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * MetricPoint unknownValue. - * @member {openmetrics.IUnknownValue|null|undefined} unknownValue - * @memberof openmetrics.MetricPoint - * @instance - */ - MetricPoint.prototype.unknownValue = null; - - /** - * MetricPoint gaugeValue. - * @member {openmetrics.IGaugeValue|null|undefined} gaugeValue - * @memberof openmetrics.MetricPoint - * @instance - */ - MetricPoint.prototype.gaugeValue = null; - - /** - * MetricPoint counterValue. - * @member {openmetrics.ICounterValue|null|undefined} counterValue - * @memberof openmetrics.MetricPoint - * @instance - */ - MetricPoint.prototype.counterValue = null; - - /** - * MetricPoint histogramValue. - * @member {openmetrics.IHistogramValue|null|undefined} histogramValue - * @memberof openmetrics.MetricPoint - * @instance - */ - MetricPoint.prototype.histogramValue = null; - - /** - * MetricPoint stateSetValue. - * @member {openmetrics.IStateSetValue|null|undefined} stateSetValue - * @memberof openmetrics.MetricPoint - * @instance - */ - MetricPoint.prototype.stateSetValue = null; - - /** - * MetricPoint infoValue. - * @member {openmetrics.IInfoValue|null|undefined} infoValue - * @memberof openmetrics.MetricPoint - * @instance - */ - MetricPoint.prototype.infoValue = null; - - /** - * MetricPoint summaryValue. - * @member {openmetrics.ISummaryValue|null|undefined} summaryValue - * @memberof openmetrics.MetricPoint - * @instance - */ - MetricPoint.prototype.summaryValue = null; - - /** - * MetricPoint timestamp. - * @member {google.protobuf.ITimestamp|null|undefined} timestamp - * @memberof openmetrics.MetricPoint - * @instance - */ - MetricPoint.prototype.timestamp = null; - - // OneOf field names bound to virtual getters and setters - let $oneOfFields; - - /** - * MetricPoint value. - * @member {"unknownValue"|"gaugeValue"|"counterValue"|"histogramValue"|"stateSetValue"|"infoValue"|"summaryValue"|undefined} value - * @memberof openmetrics.MetricPoint - * @instance - */ - Object.defineProperty(MetricPoint.prototype, "value", { - get: $util.oneOfGetter($oneOfFields = ["unknownValue", "gaugeValue", "counterValue", "histogramValue", "stateSetValue", "infoValue", "summaryValue"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new MetricPoint instance using the specified properties. - * @function create - * @memberof openmetrics.MetricPoint - * @static - * @param {openmetrics.IMetricPoint=} [properties] Properties to set - * @returns {openmetrics.MetricPoint} MetricPoint instance - */ - MetricPoint.create = function create(properties) { - return new MetricPoint(properties); - }; - - /** - * Encodes the specified MetricPoint message. Does not implicitly {@link openmetrics.MetricPoint.verify|verify} messages. - * @function encode - * @memberof openmetrics.MetricPoint - * @static - * @param {openmetrics.IMetricPoint} message MetricPoint message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - MetricPoint.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.unknownValue != null && Object.hasOwnProperty.call(message, "unknownValue")) - $root.openmetrics.UnknownValue.encode(message.unknownValue, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.gaugeValue != null && Object.hasOwnProperty.call(message, "gaugeValue")) - $root.openmetrics.GaugeValue.encode(message.gaugeValue, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.counterValue != null && Object.hasOwnProperty.call(message, "counterValue")) - $root.openmetrics.CounterValue.encode(message.counterValue, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.histogramValue != null && Object.hasOwnProperty.call(message, "histogramValue")) - $root.openmetrics.HistogramValue.encode(message.histogramValue, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.stateSetValue != null && Object.hasOwnProperty.call(message, "stateSetValue")) - $root.openmetrics.StateSetValue.encode(message.stateSetValue, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.infoValue != null && Object.hasOwnProperty.call(message, "infoValue")) - $root.openmetrics.InfoValue.encode(message.infoValue, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.summaryValue != null && Object.hasOwnProperty.call(message, "summaryValue")) - $root.openmetrics.SummaryValue.encode(message.summaryValue, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.timestamp != null && Object.hasOwnProperty.call(message, "timestamp")) - $root.google.protobuf.Timestamp.encode(message.timestamp, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified MetricPoint message, length delimited. Does not implicitly {@link openmetrics.MetricPoint.verify|verify} messages. - * @function encodeDelimited - * @memberof openmetrics.MetricPoint - * @static - * @param {openmetrics.IMetricPoint} message MetricPoint message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - MetricPoint.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a MetricPoint message from the specified reader or buffer. - * @function decode - * @memberof openmetrics.MetricPoint - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {openmetrics.MetricPoint} MetricPoint - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - MetricPoint.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.openmetrics.MetricPoint(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.unknownValue = $root.openmetrics.UnknownValue.decode(reader, reader.uint32()); - break; - } - case 2: { - message.gaugeValue = $root.openmetrics.GaugeValue.decode(reader, reader.uint32()); - break; - } - case 3: { - message.counterValue = $root.openmetrics.CounterValue.decode(reader, reader.uint32()); - break; - } - case 4: { - message.histogramValue = $root.openmetrics.HistogramValue.decode(reader, reader.uint32()); - break; - } - case 5: { - message.stateSetValue = $root.openmetrics.StateSetValue.decode(reader, reader.uint32()); - break; - } - case 6: { - message.infoValue = $root.openmetrics.InfoValue.decode(reader, reader.uint32()); - break; - } - case 7: { - message.summaryValue = $root.openmetrics.SummaryValue.decode(reader, reader.uint32()); - break; - } - case 8: { - message.timestamp = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a MetricPoint message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof openmetrics.MetricPoint - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {openmetrics.MetricPoint} MetricPoint - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - MetricPoint.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a MetricPoint message. - * @function verify - * @memberof openmetrics.MetricPoint - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - MetricPoint.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - let properties = {}; - if (message.unknownValue != null && message.hasOwnProperty("unknownValue")) { - properties.value = 1; - { - let error = $root.openmetrics.UnknownValue.verify(message.unknownValue); - if (error) - return "unknownValue." + error; - } - } - if (message.gaugeValue != null && message.hasOwnProperty("gaugeValue")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - let error = $root.openmetrics.GaugeValue.verify(message.gaugeValue); - if (error) - return "gaugeValue." + error; - } - } - if (message.counterValue != null && message.hasOwnProperty("counterValue")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - let error = $root.openmetrics.CounterValue.verify(message.counterValue); - if (error) - return "counterValue." + error; - } - } - if (message.histogramValue != null && message.hasOwnProperty("histogramValue")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - let error = $root.openmetrics.HistogramValue.verify(message.histogramValue); - if (error) - return "histogramValue." + error; - } - } - if (message.stateSetValue != null && message.hasOwnProperty("stateSetValue")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - let error = $root.openmetrics.StateSetValue.verify(message.stateSetValue); - if (error) - return "stateSetValue." + error; - } - } - if (message.infoValue != null && message.hasOwnProperty("infoValue")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - let error = $root.openmetrics.InfoValue.verify(message.infoValue); - if (error) - return "infoValue." + error; - } - } - if (message.summaryValue != null && message.hasOwnProperty("summaryValue")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - let error = $root.openmetrics.SummaryValue.verify(message.summaryValue); - if (error) - return "summaryValue." + error; - } - } - if (message.timestamp != null && message.hasOwnProperty("timestamp")) { - let error = $root.google.protobuf.Timestamp.verify(message.timestamp); - if (error) - return "timestamp." + error; - } - return null; - }; - - /** - * Creates a MetricPoint message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof openmetrics.MetricPoint - * @static - * @param {Object.} object Plain object - * @returns {openmetrics.MetricPoint} MetricPoint - */ - MetricPoint.fromObject = function fromObject(object) { - if (object instanceof $root.openmetrics.MetricPoint) - return object; - let message = new $root.openmetrics.MetricPoint(); - if (object.unknownValue != null) { - if (typeof object.unknownValue !== "object") - throw TypeError(".openmetrics.MetricPoint.unknownValue: object expected"); - message.unknownValue = $root.openmetrics.UnknownValue.fromObject(object.unknownValue); - } - if (object.gaugeValue != null) { - if (typeof object.gaugeValue !== "object") - throw TypeError(".openmetrics.MetricPoint.gaugeValue: object expected"); - message.gaugeValue = $root.openmetrics.GaugeValue.fromObject(object.gaugeValue); - } - if (object.counterValue != null) { - if (typeof object.counterValue !== "object") - throw TypeError(".openmetrics.MetricPoint.counterValue: object expected"); - message.counterValue = $root.openmetrics.CounterValue.fromObject(object.counterValue); - } - if (object.histogramValue != null) { - if (typeof object.histogramValue !== "object") - throw TypeError(".openmetrics.MetricPoint.histogramValue: object expected"); - message.histogramValue = $root.openmetrics.HistogramValue.fromObject(object.histogramValue); - } - if (object.stateSetValue != null) { - if (typeof object.stateSetValue !== "object") - throw TypeError(".openmetrics.MetricPoint.stateSetValue: object expected"); - message.stateSetValue = $root.openmetrics.StateSetValue.fromObject(object.stateSetValue); - } - if (object.infoValue != null) { - if (typeof object.infoValue !== "object") - throw TypeError(".openmetrics.MetricPoint.infoValue: object expected"); - message.infoValue = $root.openmetrics.InfoValue.fromObject(object.infoValue); - } - if (object.summaryValue != null) { - if (typeof object.summaryValue !== "object") - throw TypeError(".openmetrics.MetricPoint.summaryValue: object expected"); - message.summaryValue = $root.openmetrics.SummaryValue.fromObject(object.summaryValue); - } - if (object.timestamp != null) { - if (typeof object.timestamp !== "object") - throw TypeError(".openmetrics.MetricPoint.timestamp: object expected"); - message.timestamp = $root.google.protobuf.Timestamp.fromObject(object.timestamp); - } - return message; - }; - - /** - * Creates a plain object from a MetricPoint message. Also converts values to other types if specified. - * @function toObject - * @memberof openmetrics.MetricPoint - * @static - * @param {openmetrics.MetricPoint} message MetricPoint - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - MetricPoint.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) - object.timestamp = null; - if (message.unknownValue != null && message.hasOwnProperty("unknownValue")) { - object.unknownValue = $root.openmetrics.UnknownValue.toObject(message.unknownValue, options); - if (options.oneofs) - object.value = "unknownValue"; - } - if (message.gaugeValue != null && message.hasOwnProperty("gaugeValue")) { - object.gaugeValue = $root.openmetrics.GaugeValue.toObject(message.gaugeValue, options); - if (options.oneofs) - object.value = "gaugeValue"; - } - if (message.counterValue != null && message.hasOwnProperty("counterValue")) { - object.counterValue = $root.openmetrics.CounterValue.toObject(message.counterValue, options); - if (options.oneofs) - object.value = "counterValue"; - } - if (message.histogramValue != null && message.hasOwnProperty("histogramValue")) { - object.histogramValue = $root.openmetrics.HistogramValue.toObject(message.histogramValue, options); - if (options.oneofs) - object.value = "histogramValue"; - } - if (message.stateSetValue != null && message.hasOwnProperty("stateSetValue")) { - object.stateSetValue = $root.openmetrics.StateSetValue.toObject(message.stateSetValue, options); - if (options.oneofs) - object.value = "stateSetValue"; - } - if (message.infoValue != null && message.hasOwnProperty("infoValue")) { - object.infoValue = $root.openmetrics.InfoValue.toObject(message.infoValue, options); - if (options.oneofs) - object.value = "infoValue"; - } - if (message.summaryValue != null && message.hasOwnProperty("summaryValue")) { - object.summaryValue = $root.openmetrics.SummaryValue.toObject(message.summaryValue, options); - if (options.oneofs) - object.value = "summaryValue"; - } - if (message.timestamp != null && message.hasOwnProperty("timestamp")) - object.timestamp = $root.google.protobuf.Timestamp.toObject(message.timestamp, options); - return object; - }; - - /** - * Converts this MetricPoint to JSON. - * @function toJSON - * @memberof openmetrics.MetricPoint - * @instance - * @returns {Object.} JSON object - */ - MetricPoint.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for MetricPoint - * @function getTypeUrl - * @memberof openmetrics.MetricPoint - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - MetricPoint.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/openmetrics.MetricPoint"; - }; - - return MetricPoint; - })(); - - openmetrics.UnknownValue = (function() { - - /** - * Properties of an UnknownValue. - * @memberof openmetrics - * @interface IUnknownValue - * @property {number|null} [doubleValue] UnknownValue doubleValue - * @property {number|Long|null} [intValue] UnknownValue intValue - */ - - /** - * Constructs a new UnknownValue. - * @memberof openmetrics - * @classdesc Represents an UnknownValue. - * @implements IUnknownValue - * @constructor - * @param {openmetrics.IUnknownValue=} [properties] Properties to set - */ - function UnknownValue(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * UnknownValue doubleValue. - * @member {number|null|undefined} doubleValue - * @memberof openmetrics.UnknownValue - * @instance - */ - UnknownValue.prototype.doubleValue = null; - - /** - * UnknownValue intValue. - * @member {number|Long|null|undefined} intValue - * @memberof openmetrics.UnknownValue - * @instance - */ - UnknownValue.prototype.intValue = null; - - // OneOf field names bound to virtual getters and setters - let $oneOfFields; - - /** - * UnknownValue value. - * @member {"doubleValue"|"intValue"|undefined} value - * @memberof openmetrics.UnknownValue - * @instance - */ - Object.defineProperty(UnknownValue.prototype, "value", { - get: $util.oneOfGetter($oneOfFields = ["doubleValue", "intValue"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new UnknownValue instance using the specified properties. - * @function create - * @memberof openmetrics.UnknownValue - * @static - * @param {openmetrics.IUnknownValue=} [properties] Properties to set - * @returns {openmetrics.UnknownValue} UnknownValue instance - */ - UnknownValue.create = function create(properties) { - return new UnknownValue(properties); - }; - - /** - * Encodes the specified UnknownValue message. Does not implicitly {@link openmetrics.UnknownValue.verify|verify} messages. - * @function encode - * @memberof openmetrics.UnknownValue - * @static - * @param {openmetrics.IUnknownValue} message UnknownValue message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - UnknownValue.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.doubleValue != null && Object.hasOwnProperty.call(message, "doubleValue")) - writer.uint32(/* id 1, wireType 1 =*/9).double(message.doubleValue); - if (message.intValue != null && Object.hasOwnProperty.call(message, "intValue")) - writer.uint32(/* id 2, wireType 0 =*/16).int64(message.intValue); - return writer; - }; - - /** - * Encodes the specified UnknownValue message, length delimited. Does not implicitly {@link openmetrics.UnknownValue.verify|verify} messages. - * @function encodeDelimited - * @memberof openmetrics.UnknownValue - * @static - * @param {openmetrics.IUnknownValue} message UnknownValue message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - UnknownValue.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an UnknownValue message from the specified reader or buffer. - * @function decode - * @memberof openmetrics.UnknownValue - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {openmetrics.UnknownValue} UnknownValue - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - UnknownValue.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.openmetrics.UnknownValue(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.doubleValue = reader.double(); - break; - } - case 2: { - message.intValue = reader.int64(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an UnknownValue message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof openmetrics.UnknownValue - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {openmetrics.UnknownValue} UnknownValue - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - UnknownValue.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an UnknownValue message. - * @function verify - * @memberof openmetrics.UnknownValue - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - UnknownValue.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - let properties = {}; - if (message.doubleValue != null && message.hasOwnProperty("doubleValue")) { - properties.value = 1; - if (typeof message.doubleValue !== "number") - return "doubleValue: number expected"; - } - if (message.intValue != null && message.hasOwnProperty("intValue")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - if (!$util.isInteger(message.intValue) && !(message.intValue && $util.isInteger(message.intValue.low) && $util.isInteger(message.intValue.high))) - return "intValue: integer|Long expected"; - } - return null; - }; - - /** - * Creates an UnknownValue message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof openmetrics.UnknownValue - * @static - * @param {Object.} object Plain object - * @returns {openmetrics.UnknownValue} UnknownValue - */ - UnknownValue.fromObject = function fromObject(object) { - if (object instanceof $root.openmetrics.UnknownValue) - return object; - let message = new $root.openmetrics.UnknownValue(); - if (object.doubleValue != null) - message.doubleValue = Number(object.doubleValue); - if (object.intValue != null) - if ($util.Long) - (message.intValue = $util.Long.fromValue(object.intValue)).unsigned = false; - else if (typeof object.intValue === "string") - message.intValue = parseInt(object.intValue, 10); - else if (typeof object.intValue === "number") - message.intValue = object.intValue; - else if (typeof object.intValue === "object") - message.intValue = new $util.LongBits(object.intValue.low >>> 0, object.intValue.high >>> 0).toNumber(); - return message; - }; - - /** - * Creates a plain object from an UnknownValue message. Also converts values to other types if specified. - * @function toObject - * @memberof openmetrics.UnknownValue - * @static - * @param {openmetrics.UnknownValue} message UnknownValue - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - UnknownValue.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (message.doubleValue != null && message.hasOwnProperty("doubleValue")) { - object.doubleValue = options.json && !isFinite(message.doubleValue) ? String(message.doubleValue) : message.doubleValue; - if (options.oneofs) - object.value = "doubleValue"; - } - if (message.intValue != null && message.hasOwnProperty("intValue")) { - if (typeof message.intValue === "number") - object.intValue = options.longs === String ? String(message.intValue) : message.intValue; - else - object.intValue = options.longs === String ? $util.Long.prototype.toString.call(message.intValue) : options.longs === Number ? new $util.LongBits(message.intValue.low >>> 0, message.intValue.high >>> 0).toNumber() : message.intValue; - if (options.oneofs) - object.value = "intValue"; - } - return object; - }; - - /** - * Converts this UnknownValue to JSON. - * @function toJSON - * @memberof openmetrics.UnknownValue - * @instance - * @returns {Object.} JSON object - */ - UnknownValue.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for UnknownValue - * @function getTypeUrl - * @memberof openmetrics.UnknownValue - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - UnknownValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/openmetrics.UnknownValue"; - }; - - return UnknownValue; - })(); - - openmetrics.GaugeValue = (function() { - - /** - * Properties of a GaugeValue. - * @memberof openmetrics - * @interface IGaugeValue - * @property {number|null} [doubleValue] GaugeValue doubleValue - * @property {number|Long|null} [intValue] GaugeValue intValue - */ - - /** - * Constructs a new GaugeValue. - * @memberof openmetrics - * @classdesc Represents a GaugeValue. - * @implements IGaugeValue - * @constructor - * @param {openmetrics.IGaugeValue=} [properties] Properties to set - */ - function GaugeValue(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * GaugeValue doubleValue. - * @member {number|null|undefined} doubleValue - * @memberof openmetrics.GaugeValue - * @instance - */ - GaugeValue.prototype.doubleValue = null; - - /** - * GaugeValue intValue. - * @member {number|Long|null|undefined} intValue - * @memberof openmetrics.GaugeValue - * @instance - */ - GaugeValue.prototype.intValue = null; - - // OneOf field names bound to virtual getters and setters - let $oneOfFields; - - /** - * GaugeValue value. - * @member {"doubleValue"|"intValue"|undefined} value - * @memberof openmetrics.GaugeValue - * @instance - */ - Object.defineProperty(GaugeValue.prototype, "value", { - get: $util.oneOfGetter($oneOfFields = ["doubleValue", "intValue"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new GaugeValue instance using the specified properties. - * @function create - * @memberof openmetrics.GaugeValue - * @static - * @param {openmetrics.IGaugeValue=} [properties] Properties to set - * @returns {openmetrics.GaugeValue} GaugeValue instance - */ - GaugeValue.create = function create(properties) { - return new GaugeValue(properties); - }; - - /** - * Encodes the specified GaugeValue message. Does not implicitly {@link openmetrics.GaugeValue.verify|verify} messages. - * @function encode - * @memberof openmetrics.GaugeValue - * @static - * @param {openmetrics.IGaugeValue} message GaugeValue message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - GaugeValue.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.doubleValue != null && Object.hasOwnProperty.call(message, "doubleValue")) - writer.uint32(/* id 1, wireType 1 =*/9).double(message.doubleValue); - if (message.intValue != null && Object.hasOwnProperty.call(message, "intValue")) - writer.uint32(/* id 2, wireType 0 =*/16).int64(message.intValue); - return writer; - }; - - /** - * Encodes the specified GaugeValue message, length delimited. Does not implicitly {@link openmetrics.GaugeValue.verify|verify} messages. - * @function encodeDelimited - * @memberof openmetrics.GaugeValue - * @static - * @param {openmetrics.IGaugeValue} message GaugeValue message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - GaugeValue.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a GaugeValue message from the specified reader or buffer. - * @function decode - * @memberof openmetrics.GaugeValue - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {openmetrics.GaugeValue} GaugeValue - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - GaugeValue.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.openmetrics.GaugeValue(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.doubleValue = reader.double(); - break; - } - case 2: { - message.intValue = reader.int64(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a GaugeValue message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof openmetrics.GaugeValue - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {openmetrics.GaugeValue} GaugeValue - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - GaugeValue.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a GaugeValue message. - * @function verify - * @memberof openmetrics.GaugeValue - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - GaugeValue.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - let properties = {}; - if (message.doubleValue != null && message.hasOwnProperty("doubleValue")) { - properties.value = 1; - if (typeof message.doubleValue !== "number") - return "doubleValue: number expected"; - } - if (message.intValue != null && message.hasOwnProperty("intValue")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - if (!$util.isInteger(message.intValue) && !(message.intValue && $util.isInteger(message.intValue.low) && $util.isInteger(message.intValue.high))) - return "intValue: integer|Long expected"; - } - return null; - }; - - /** - * Creates a GaugeValue message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof openmetrics.GaugeValue - * @static - * @param {Object.} object Plain object - * @returns {openmetrics.GaugeValue} GaugeValue - */ - GaugeValue.fromObject = function fromObject(object) { - if (object instanceof $root.openmetrics.GaugeValue) - return object; - let message = new $root.openmetrics.GaugeValue(); - if (object.doubleValue != null) - message.doubleValue = Number(object.doubleValue); - if (object.intValue != null) - if ($util.Long) - (message.intValue = $util.Long.fromValue(object.intValue)).unsigned = false; - else if (typeof object.intValue === "string") - message.intValue = parseInt(object.intValue, 10); - else if (typeof object.intValue === "number") - message.intValue = object.intValue; - else if (typeof object.intValue === "object") - message.intValue = new $util.LongBits(object.intValue.low >>> 0, object.intValue.high >>> 0).toNumber(); - return message; - }; - - /** - * Creates a plain object from a GaugeValue message. Also converts values to other types if specified. - * @function toObject - * @memberof openmetrics.GaugeValue - * @static - * @param {openmetrics.GaugeValue} message GaugeValue - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - GaugeValue.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (message.doubleValue != null && message.hasOwnProperty("doubleValue")) { - object.doubleValue = options.json && !isFinite(message.doubleValue) ? String(message.doubleValue) : message.doubleValue; - if (options.oneofs) - object.value = "doubleValue"; - } - if (message.intValue != null && message.hasOwnProperty("intValue")) { - if (typeof message.intValue === "number") - object.intValue = options.longs === String ? String(message.intValue) : message.intValue; - else - object.intValue = options.longs === String ? $util.Long.prototype.toString.call(message.intValue) : options.longs === Number ? new $util.LongBits(message.intValue.low >>> 0, message.intValue.high >>> 0).toNumber() : message.intValue; - if (options.oneofs) - object.value = "intValue"; - } - return object; - }; - - /** - * Converts this GaugeValue to JSON. - * @function toJSON - * @memberof openmetrics.GaugeValue - * @instance - * @returns {Object.} JSON object - */ - GaugeValue.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for GaugeValue - * @function getTypeUrl - * @memberof openmetrics.GaugeValue - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - GaugeValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/openmetrics.GaugeValue"; - }; - - return GaugeValue; - })(); - - openmetrics.CounterValue = (function() { - - /** - * Properties of a CounterValue. - * @memberof openmetrics - * @interface ICounterValue - * @property {number|null} [doubleValue] CounterValue doubleValue - * @property {number|Long|null} [intValue] CounterValue intValue - * @property {google.protobuf.ITimestamp|null} [created] CounterValue created - * @property {openmetrics.IExemplar|null} [exemplar] CounterValue exemplar - */ - - /** - * Constructs a new CounterValue. - * @memberof openmetrics - * @classdesc Represents a CounterValue. - * @implements ICounterValue - * @constructor - * @param {openmetrics.ICounterValue=} [properties] Properties to set - */ - function CounterValue(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * CounterValue doubleValue. - * @member {number|null|undefined} doubleValue - * @memberof openmetrics.CounterValue - * @instance - */ - CounterValue.prototype.doubleValue = null; - - /** - * CounterValue intValue. - * @member {number|Long|null|undefined} intValue - * @memberof openmetrics.CounterValue - * @instance - */ - CounterValue.prototype.intValue = null; - - /** - * CounterValue created. - * @member {google.protobuf.ITimestamp|null|undefined} created - * @memberof openmetrics.CounterValue - * @instance - */ - CounterValue.prototype.created = null; - - /** - * CounterValue exemplar. - * @member {openmetrics.IExemplar|null|undefined} exemplar - * @memberof openmetrics.CounterValue - * @instance - */ - CounterValue.prototype.exemplar = null; - - // OneOf field names bound to virtual getters and setters - let $oneOfFields; - - /** - * CounterValue total. - * @member {"doubleValue"|"intValue"|undefined} total - * @memberof openmetrics.CounterValue - * @instance - */ - Object.defineProperty(CounterValue.prototype, "total", { - get: $util.oneOfGetter($oneOfFields = ["doubleValue", "intValue"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new CounterValue instance using the specified properties. - * @function create - * @memberof openmetrics.CounterValue - * @static - * @param {openmetrics.ICounterValue=} [properties] Properties to set - * @returns {openmetrics.CounterValue} CounterValue instance - */ - CounterValue.create = function create(properties) { - return new CounterValue(properties); - }; - - /** - * Encodes the specified CounterValue message. Does not implicitly {@link openmetrics.CounterValue.verify|verify} messages. - * @function encode - * @memberof openmetrics.CounterValue - * @static - * @param {openmetrics.ICounterValue} message CounterValue message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - CounterValue.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.doubleValue != null && Object.hasOwnProperty.call(message, "doubleValue")) - writer.uint32(/* id 1, wireType 1 =*/9).double(message.doubleValue); - if (message.intValue != null && Object.hasOwnProperty.call(message, "intValue")) - writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.intValue); - if (message.created != null && Object.hasOwnProperty.call(message, "created")) - $root.google.protobuf.Timestamp.encode(message.created, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.exemplar != null && Object.hasOwnProperty.call(message, "exemplar")) - $root.openmetrics.Exemplar.encode(message.exemplar, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified CounterValue message, length delimited. Does not implicitly {@link openmetrics.CounterValue.verify|verify} messages. - * @function encodeDelimited - * @memberof openmetrics.CounterValue - * @static - * @param {openmetrics.ICounterValue} message CounterValue message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - CounterValue.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a CounterValue message from the specified reader or buffer. - * @function decode - * @memberof openmetrics.CounterValue - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {openmetrics.CounterValue} CounterValue - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - CounterValue.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.openmetrics.CounterValue(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.doubleValue = reader.double(); - break; - } - case 2: { - message.intValue = reader.uint64(); - break; - } - case 3: { - message.created = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - } - case 4: { - message.exemplar = $root.openmetrics.Exemplar.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a CounterValue message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof openmetrics.CounterValue - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {openmetrics.CounterValue} CounterValue - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - CounterValue.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a CounterValue message. - * @function verify - * @memberof openmetrics.CounterValue - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - CounterValue.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - let properties = {}; - if (message.doubleValue != null && message.hasOwnProperty("doubleValue")) { - properties.total = 1; - if (typeof message.doubleValue !== "number") - return "doubleValue: number expected"; - } - if (message.intValue != null && message.hasOwnProperty("intValue")) { - if (properties.total === 1) - return "total: multiple values"; - properties.total = 1; - if (!$util.isInteger(message.intValue) && !(message.intValue && $util.isInteger(message.intValue.low) && $util.isInteger(message.intValue.high))) - return "intValue: integer|Long expected"; - } - if (message.created != null && message.hasOwnProperty("created")) { - let error = $root.google.protobuf.Timestamp.verify(message.created); - if (error) - return "created." + error; - } - if (message.exemplar != null && message.hasOwnProperty("exemplar")) { - let error = $root.openmetrics.Exemplar.verify(message.exemplar); - if (error) - return "exemplar." + error; - } - return null; - }; - - /** - * Creates a CounterValue message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof openmetrics.CounterValue - * @static - * @param {Object.} object Plain object - * @returns {openmetrics.CounterValue} CounterValue - */ - CounterValue.fromObject = function fromObject(object) { - if (object instanceof $root.openmetrics.CounterValue) - return object; - let message = new $root.openmetrics.CounterValue(); - if (object.doubleValue != null) - message.doubleValue = Number(object.doubleValue); - if (object.intValue != null) - if ($util.Long) - (message.intValue = $util.Long.fromValue(object.intValue)).unsigned = true; - else if (typeof object.intValue === "string") - message.intValue = parseInt(object.intValue, 10); - else if (typeof object.intValue === "number") - message.intValue = object.intValue; - else if (typeof object.intValue === "object") - message.intValue = new $util.LongBits(object.intValue.low >>> 0, object.intValue.high >>> 0).toNumber(true); - if (object.created != null) { - if (typeof object.created !== "object") - throw TypeError(".openmetrics.CounterValue.created: object expected"); - message.created = $root.google.protobuf.Timestamp.fromObject(object.created); - } - if (object.exemplar != null) { - if (typeof object.exemplar !== "object") - throw TypeError(".openmetrics.CounterValue.exemplar: object expected"); - message.exemplar = $root.openmetrics.Exemplar.fromObject(object.exemplar); - } - return message; - }; - - /** - * Creates a plain object from a CounterValue message. Also converts values to other types if specified. - * @function toObject - * @memberof openmetrics.CounterValue - * @static - * @param {openmetrics.CounterValue} message CounterValue - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - CounterValue.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.created = null; - object.exemplar = null; - } - if (message.doubleValue != null && message.hasOwnProperty("doubleValue")) { - object.doubleValue = options.json && !isFinite(message.doubleValue) ? String(message.doubleValue) : message.doubleValue; - if (options.oneofs) - object.total = "doubleValue"; - } - if (message.intValue != null && message.hasOwnProperty("intValue")) { - if (typeof message.intValue === "number") - object.intValue = options.longs === String ? String(message.intValue) : message.intValue; - else - object.intValue = options.longs === String ? $util.Long.prototype.toString.call(message.intValue) : options.longs === Number ? new $util.LongBits(message.intValue.low >>> 0, message.intValue.high >>> 0).toNumber(true) : message.intValue; - if (options.oneofs) - object.total = "intValue"; - } - if (message.created != null && message.hasOwnProperty("created")) - object.created = $root.google.protobuf.Timestamp.toObject(message.created, options); - if (message.exemplar != null && message.hasOwnProperty("exemplar")) - object.exemplar = $root.openmetrics.Exemplar.toObject(message.exemplar, options); - return object; - }; - - /** - * Converts this CounterValue to JSON. - * @function toJSON - * @memberof openmetrics.CounterValue - * @instance - * @returns {Object.} JSON object - */ - CounterValue.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for CounterValue - * @function getTypeUrl - * @memberof openmetrics.CounterValue - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - CounterValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/openmetrics.CounterValue"; - }; - - return CounterValue; - })(); - - openmetrics.HistogramValue = (function() { - - /** - * Properties of a HistogramValue. - * @memberof openmetrics - * @interface IHistogramValue - * @property {number|null} [doubleValue] HistogramValue doubleValue - * @property {number|Long|null} [intValue] HistogramValue intValue - * @property {number|Long|null} [count] HistogramValue count - * @property {google.protobuf.ITimestamp|null} [created] HistogramValue created - * @property {Array.|null} [buckets] HistogramValue buckets - */ - - /** - * Constructs a new HistogramValue. - * @memberof openmetrics - * @classdesc Represents a HistogramValue. - * @implements IHistogramValue - * @constructor - * @param {openmetrics.IHistogramValue=} [properties] Properties to set - */ - function HistogramValue(properties) { - this.buckets = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * HistogramValue doubleValue. - * @member {number|null|undefined} doubleValue - * @memberof openmetrics.HistogramValue - * @instance - */ - HistogramValue.prototype.doubleValue = null; - - /** - * HistogramValue intValue. - * @member {number|Long|null|undefined} intValue - * @memberof openmetrics.HistogramValue - * @instance - */ - HistogramValue.prototype.intValue = null; - - /** - * HistogramValue count. - * @member {number|Long} count - * @memberof openmetrics.HistogramValue - * @instance - */ - HistogramValue.prototype.count = $util.Long ? $util.Long.fromBits(0,0,true) : 0; - - /** - * HistogramValue created. - * @member {google.protobuf.ITimestamp|null|undefined} created - * @memberof openmetrics.HistogramValue - * @instance - */ - HistogramValue.prototype.created = null; - - /** - * HistogramValue buckets. - * @member {Array.} buckets - * @memberof openmetrics.HistogramValue - * @instance - */ - HistogramValue.prototype.buckets = $util.emptyArray; - - // OneOf field names bound to virtual getters and setters - let $oneOfFields; - - /** - * HistogramValue sum. - * @member {"doubleValue"|"intValue"|undefined} sum - * @memberof openmetrics.HistogramValue - * @instance - */ - Object.defineProperty(HistogramValue.prototype, "sum", { - get: $util.oneOfGetter($oneOfFields = ["doubleValue", "intValue"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new HistogramValue instance using the specified properties. - * @function create - * @memberof openmetrics.HistogramValue - * @static - * @param {openmetrics.IHistogramValue=} [properties] Properties to set - * @returns {openmetrics.HistogramValue} HistogramValue instance - */ - HistogramValue.create = function create(properties) { - return new HistogramValue(properties); - }; - - /** - * Encodes the specified HistogramValue message. Does not implicitly {@link openmetrics.HistogramValue.verify|verify} messages. - * @function encode - * @memberof openmetrics.HistogramValue - * @static - * @param {openmetrics.IHistogramValue} message HistogramValue message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - HistogramValue.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.doubleValue != null && Object.hasOwnProperty.call(message, "doubleValue")) - writer.uint32(/* id 1, wireType 1 =*/9).double(message.doubleValue); - if (message.intValue != null && Object.hasOwnProperty.call(message, "intValue")) - writer.uint32(/* id 2, wireType 0 =*/16).int64(message.intValue); - if (message.count != null && Object.hasOwnProperty.call(message, "count")) - writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.count); - if (message.created != null && Object.hasOwnProperty.call(message, "created")) - $root.google.protobuf.Timestamp.encode(message.created, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.buckets != null && message.buckets.length) - for (let i = 0; i < message.buckets.length; ++i) - $root.openmetrics.HistogramValue.Bucket.encode(message.buckets[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified HistogramValue message, length delimited. Does not implicitly {@link openmetrics.HistogramValue.verify|verify} messages. - * @function encodeDelimited - * @memberof openmetrics.HistogramValue - * @static - * @param {openmetrics.IHistogramValue} message HistogramValue message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - HistogramValue.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a HistogramValue message from the specified reader or buffer. - * @function decode - * @memberof openmetrics.HistogramValue - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {openmetrics.HistogramValue} HistogramValue - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - HistogramValue.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.openmetrics.HistogramValue(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.doubleValue = reader.double(); - break; - } - case 2: { - message.intValue = reader.int64(); - break; - } - case 3: { - message.count = reader.uint64(); - break; - } - case 4: { - message.created = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - } - case 5: { - if (!(message.buckets && message.buckets.length)) - message.buckets = []; - message.buckets.push($root.openmetrics.HistogramValue.Bucket.decode(reader, reader.uint32())); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a HistogramValue message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof openmetrics.HistogramValue - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {openmetrics.HistogramValue} HistogramValue - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - HistogramValue.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a HistogramValue message. - * @function verify - * @memberof openmetrics.HistogramValue - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - HistogramValue.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - let properties = {}; - if (message.doubleValue != null && message.hasOwnProperty("doubleValue")) { - properties.sum = 1; - if (typeof message.doubleValue !== "number") - return "doubleValue: number expected"; - } - if (message.intValue != null && message.hasOwnProperty("intValue")) { - if (properties.sum === 1) - return "sum: multiple values"; - properties.sum = 1; - if (!$util.isInteger(message.intValue) && !(message.intValue && $util.isInteger(message.intValue.low) && $util.isInteger(message.intValue.high))) - return "intValue: integer|Long expected"; - } - if (message.count != null && message.hasOwnProperty("count")) - if (!$util.isInteger(message.count) && !(message.count && $util.isInteger(message.count.low) && $util.isInteger(message.count.high))) - return "count: integer|Long expected"; - if (message.created != null && message.hasOwnProperty("created")) { - let error = $root.google.protobuf.Timestamp.verify(message.created); - if (error) - return "created." + error; - } - if (message.buckets != null && message.hasOwnProperty("buckets")) { - if (!Array.isArray(message.buckets)) - return "buckets: array expected"; - for (let i = 0; i < message.buckets.length; ++i) { - let error = $root.openmetrics.HistogramValue.Bucket.verify(message.buckets[i]); - if (error) - return "buckets." + error; - } - } - return null; - }; - - /** - * Creates a HistogramValue message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof openmetrics.HistogramValue - * @static - * @param {Object.} object Plain object - * @returns {openmetrics.HistogramValue} HistogramValue - */ - HistogramValue.fromObject = function fromObject(object) { - if (object instanceof $root.openmetrics.HistogramValue) - return object; - let message = new $root.openmetrics.HistogramValue(); - if (object.doubleValue != null) - message.doubleValue = Number(object.doubleValue); - if (object.intValue != null) - if ($util.Long) - (message.intValue = $util.Long.fromValue(object.intValue)).unsigned = false; - else if (typeof object.intValue === "string") - message.intValue = parseInt(object.intValue, 10); - else if (typeof object.intValue === "number") - message.intValue = object.intValue; - else if (typeof object.intValue === "object") - message.intValue = new $util.LongBits(object.intValue.low >>> 0, object.intValue.high >>> 0).toNumber(); - if (object.count != null) - if ($util.Long) - (message.count = $util.Long.fromValue(object.count)).unsigned = true; - else if (typeof object.count === "string") - message.count = parseInt(object.count, 10); - else if (typeof object.count === "number") - message.count = object.count; - else if (typeof object.count === "object") - message.count = new $util.LongBits(object.count.low >>> 0, object.count.high >>> 0).toNumber(true); - if (object.created != null) { - if (typeof object.created !== "object") - throw TypeError(".openmetrics.HistogramValue.created: object expected"); - message.created = $root.google.protobuf.Timestamp.fromObject(object.created); - } - if (object.buckets) { - if (!Array.isArray(object.buckets)) - throw TypeError(".openmetrics.HistogramValue.buckets: array expected"); - message.buckets = []; - for (let i = 0; i < object.buckets.length; ++i) { - if (typeof object.buckets[i] !== "object") - throw TypeError(".openmetrics.HistogramValue.buckets: object expected"); - message.buckets[i] = $root.openmetrics.HistogramValue.Bucket.fromObject(object.buckets[i]); - } - } - return message; - }; - - /** - * Creates a plain object from a HistogramValue message. Also converts values to other types if specified. - * @function toObject - * @memberof openmetrics.HistogramValue - * @static - * @param {openmetrics.HistogramValue} message HistogramValue - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - HistogramValue.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.buckets = []; - if (options.defaults) { - if ($util.Long) { - let long = new $util.Long(0, 0, true); - object.count = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; - } else - object.count = options.longs === String ? "0" : 0; - object.created = null; - } - if (message.doubleValue != null && message.hasOwnProperty("doubleValue")) { - object.doubleValue = options.json && !isFinite(message.doubleValue) ? String(message.doubleValue) : message.doubleValue; - if (options.oneofs) - object.sum = "doubleValue"; - } - if (message.intValue != null && message.hasOwnProperty("intValue")) { - if (typeof message.intValue === "number") - object.intValue = options.longs === String ? String(message.intValue) : message.intValue; - else - object.intValue = options.longs === String ? $util.Long.prototype.toString.call(message.intValue) : options.longs === Number ? new $util.LongBits(message.intValue.low >>> 0, message.intValue.high >>> 0).toNumber() : message.intValue; - if (options.oneofs) - object.sum = "intValue"; - } - if (message.count != null && message.hasOwnProperty("count")) - if (typeof message.count === "number") - object.count = options.longs === String ? String(message.count) : message.count; - else - object.count = options.longs === String ? $util.Long.prototype.toString.call(message.count) : options.longs === Number ? new $util.LongBits(message.count.low >>> 0, message.count.high >>> 0).toNumber(true) : message.count; - if (message.created != null && message.hasOwnProperty("created")) - object.created = $root.google.protobuf.Timestamp.toObject(message.created, options); - if (message.buckets && message.buckets.length) { - object.buckets = []; - for (let j = 0; j < message.buckets.length; ++j) - object.buckets[j] = $root.openmetrics.HistogramValue.Bucket.toObject(message.buckets[j], options); - } - return object; - }; - - /** - * Converts this HistogramValue to JSON. - * @function toJSON - * @memberof openmetrics.HistogramValue - * @instance - * @returns {Object.} JSON object - */ - HistogramValue.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for HistogramValue - * @function getTypeUrl - * @memberof openmetrics.HistogramValue - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - HistogramValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/openmetrics.HistogramValue"; - }; - - HistogramValue.Bucket = (function() { - - /** - * Properties of a Bucket. - * @memberof openmetrics.HistogramValue - * @interface IBucket - * @property {number|Long|null} [count] Bucket count - * @property {number|null} [upperBound] Bucket upperBound - * @property {openmetrics.IExemplar|null} [exemplar] Bucket exemplar - */ - - /** - * Constructs a new Bucket. - * @memberof openmetrics.HistogramValue - * @classdesc Represents a Bucket. - * @implements IBucket - * @constructor - * @param {openmetrics.HistogramValue.IBucket=} [properties] Properties to set - */ - function Bucket(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Bucket count. - * @member {number|Long} count - * @memberof openmetrics.HistogramValue.Bucket - * @instance - */ - Bucket.prototype.count = $util.Long ? $util.Long.fromBits(0,0,true) : 0; - - /** - * Bucket upperBound. - * @member {number} upperBound - * @memberof openmetrics.HistogramValue.Bucket - * @instance - */ - Bucket.prototype.upperBound = 0; - - /** - * Bucket exemplar. - * @member {openmetrics.IExemplar|null|undefined} exemplar - * @memberof openmetrics.HistogramValue.Bucket - * @instance - */ - Bucket.prototype.exemplar = null; - - /** - * Creates a new Bucket instance using the specified properties. - * @function create - * @memberof openmetrics.HistogramValue.Bucket - * @static - * @param {openmetrics.HistogramValue.IBucket=} [properties] Properties to set - * @returns {openmetrics.HistogramValue.Bucket} Bucket instance - */ - Bucket.create = function create(properties) { - return new Bucket(properties); - }; - - /** - * Encodes the specified Bucket message. Does not implicitly {@link openmetrics.HistogramValue.Bucket.verify|verify} messages. - * @function encode - * @memberof openmetrics.HistogramValue.Bucket - * @static - * @param {openmetrics.HistogramValue.IBucket} message Bucket message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Bucket.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.count != null && Object.hasOwnProperty.call(message, "count")) - writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.count); - if (message.upperBound != null && Object.hasOwnProperty.call(message, "upperBound")) - writer.uint32(/* id 2, wireType 1 =*/17).double(message.upperBound); - if (message.exemplar != null && Object.hasOwnProperty.call(message, "exemplar")) - $root.openmetrics.Exemplar.encode(message.exemplar, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified Bucket message, length delimited. Does not implicitly {@link openmetrics.HistogramValue.Bucket.verify|verify} messages. - * @function encodeDelimited - * @memberof openmetrics.HistogramValue.Bucket - * @static - * @param {openmetrics.HistogramValue.IBucket} message Bucket message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Bucket.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Bucket message from the specified reader or buffer. - * @function decode - * @memberof openmetrics.HistogramValue.Bucket - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {openmetrics.HistogramValue.Bucket} Bucket - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Bucket.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.openmetrics.HistogramValue.Bucket(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.count = reader.uint64(); - break; - } - case 2: { - message.upperBound = reader.double(); - break; - } - case 3: { - message.exemplar = $root.openmetrics.Exemplar.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Bucket message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof openmetrics.HistogramValue.Bucket - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {openmetrics.HistogramValue.Bucket} Bucket - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Bucket.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Bucket message. - * @function verify - * @memberof openmetrics.HistogramValue.Bucket - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Bucket.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.count != null && message.hasOwnProperty("count")) - if (!$util.isInteger(message.count) && !(message.count && $util.isInteger(message.count.low) && $util.isInteger(message.count.high))) - return "count: integer|Long expected"; - if (message.upperBound != null && message.hasOwnProperty("upperBound")) - if (typeof message.upperBound !== "number") - return "upperBound: number expected"; - if (message.exemplar != null && message.hasOwnProperty("exemplar")) { - let error = $root.openmetrics.Exemplar.verify(message.exemplar); - if (error) - return "exemplar." + error; - } - return null; - }; - - /** - * Creates a Bucket message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof openmetrics.HistogramValue.Bucket - * @static - * @param {Object.} object Plain object - * @returns {openmetrics.HistogramValue.Bucket} Bucket - */ - Bucket.fromObject = function fromObject(object) { - if (object instanceof $root.openmetrics.HistogramValue.Bucket) - return object; - let message = new $root.openmetrics.HistogramValue.Bucket(); - if (object.count != null) - if ($util.Long) - (message.count = $util.Long.fromValue(object.count)).unsigned = true; - else if (typeof object.count === "string") - message.count = parseInt(object.count, 10); - else if (typeof object.count === "number") - message.count = object.count; - else if (typeof object.count === "object") - message.count = new $util.LongBits(object.count.low >>> 0, object.count.high >>> 0).toNumber(true); - if (object.upperBound != null) - message.upperBound = Number(object.upperBound); - if (object.exemplar != null) { - if (typeof object.exemplar !== "object") - throw TypeError(".openmetrics.HistogramValue.Bucket.exemplar: object expected"); - message.exemplar = $root.openmetrics.Exemplar.fromObject(object.exemplar); - } - return message; - }; - - /** - * Creates a plain object from a Bucket message. Also converts values to other types if specified. - * @function toObject - * @memberof openmetrics.HistogramValue.Bucket - * @static - * @param {openmetrics.HistogramValue.Bucket} message Bucket - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Bucket.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - if ($util.Long) { - let long = new $util.Long(0, 0, true); - object.count = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; - } else - object.count = options.longs === String ? "0" : 0; - object.upperBound = 0; - object.exemplar = null; - } - if (message.count != null && message.hasOwnProperty("count")) - if (typeof message.count === "number") - object.count = options.longs === String ? String(message.count) : message.count; - else - object.count = options.longs === String ? $util.Long.prototype.toString.call(message.count) : options.longs === Number ? new $util.LongBits(message.count.low >>> 0, message.count.high >>> 0).toNumber(true) : message.count; - if (message.upperBound != null && message.hasOwnProperty("upperBound")) - object.upperBound = options.json && !isFinite(message.upperBound) ? String(message.upperBound) : message.upperBound; - if (message.exemplar != null && message.hasOwnProperty("exemplar")) - object.exemplar = $root.openmetrics.Exemplar.toObject(message.exemplar, options); - return object; - }; - - /** - * Converts this Bucket to JSON. - * @function toJSON - * @memberof openmetrics.HistogramValue.Bucket - * @instance - * @returns {Object.} JSON object - */ - Bucket.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Bucket - * @function getTypeUrl - * @memberof openmetrics.HistogramValue.Bucket - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Bucket.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/openmetrics.HistogramValue.Bucket"; - }; - - return Bucket; - })(); - - return HistogramValue; - })(); - - openmetrics.Exemplar = (function() { - - /** - * Properties of an Exemplar. - * @memberof openmetrics - * @interface IExemplar - * @property {number|null} [value] Exemplar value - * @property {google.protobuf.ITimestamp|null} [timestamp] Exemplar timestamp - * @property {Array.|null} [label] Exemplar label - */ - - /** - * Constructs a new Exemplar. - * @memberof openmetrics - * @classdesc Represents an Exemplar. - * @implements IExemplar - * @constructor - * @param {openmetrics.IExemplar=} [properties] Properties to set - */ - function Exemplar(properties) { - this.label = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Exemplar value. - * @member {number} value - * @memberof openmetrics.Exemplar - * @instance - */ - Exemplar.prototype.value = 0; - - /** - * Exemplar timestamp. - * @member {google.protobuf.ITimestamp|null|undefined} timestamp - * @memberof openmetrics.Exemplar - * @instance - */ - Exemplar.prototype.timestamp = null; - - /** - * Exemplar label. - * @member {Array.} label - * @memberof openmetrics.Exemplar - * @instance - */ - Exemplar.prototype.label = $util.emptyArray; - - /** - * Creates a new Exemplar instance using the specified properties. - * @function create - * @memberof openmetrics.Exemplar - * @static - * @param {openmetrics.IExemplar=} [properties] Properties to set - * @returns {openmetrics.Exemplar} Exemplar instance - */ - Exemplar.create = function create(properties) { - return new Exemplar(properties); - }; - - /** - * Encodes the specified Exemplar message. Does not implicitly {@link openmetrics.Exemplar.verify|verify} messages. - * @function encode - * @memberof openmetrics.Exemplar - * @static - * @param {openmetrics.IExemplar} message Exemplar message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Exemplar.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - writer.uint32(/* id 1, wireType 1 =*/9).double(message.value); - if (message.timestamp != null && Object.hasOwnProperty.call(message, "timestamp")) - $root.google.protobuf.Timestamp.encode(message.timestamp, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.label != null && message.label.length) - for (let i = 0; i < message.label.length; ++i) - $root.openmetrics.Label.encode(message.label[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified Exemplar message, length delimited. Does not implicitly {@link openmetrics.Exemplar.verify|verify} messages. - * @function encodeDelimited - * @memberof openmetrics.Exemplar - * @static - * @param {openmetrics.IExemplar} message Exemplar message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Exemplar.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an Exemplar message from the specified reader or buffer. - * @function decode - * @memberof openmetrics.Exemplar - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {openmetrics.Exemplar} Exemplar - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Exemplar.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.openmetrics.Exemplar(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.value = reader.double(); - break; - } - case 2: { - message.timestamp = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - } - case 3: { - if (!(message.label && message.label.length)) - message.label = []; - message.label.push($root.openmetrics.Label.decode(reader, reader.uint32())); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an Exemplar message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof openmetrics.Exemplar - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {openmetrics.Exemplar} Exemplar - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Exemplar.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an Exemplar message. - * @function verify - * @memberof openmetrics.Exemplar - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Exemplar.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (typeof message.value !== "number") - return "value: number expected"; - if (message.timestamp != null && message.hasOwnProperty("timestamp")) { - let error = $root.google.protobuf.Timestamp.verify(message.timestamp); - if (error) - return "timestamp." + error; - } - if (message.label != null && message.hasOwnProperty("label")) { - if (!Array.isArray(message.label)) - return "label: array expected"; - for (let i = 0; i < message.label.length; ++i) { - let error = $root.openmetrics.Label.verify(message.label[i]); - if (error) - return "label." + error; - } - } - return null; - }; - - /** - * Creates an Exemplar message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof openmetrics.Exemplar - * @static - * @param {Object.} object Plain object - * @returns {openmetrics.Exemplar} Exemplar - */ - Exemplar.fromObject = function fromObject(object) { - if (object instanceof $root.openmetrics.Exemplar) - return object; - let message = new $root.openmetrics.Exemplar(); - if (object.value != null) - message.value = Number(object.value); - if (object.timestamp != null) { - if (typeof object.timestamp !== "object") - throw TypeError(".openmetrics.Exemplar.timestamp: object expected"); - message.timestamp = $root.google.protobuf.Timestamp.fromObject(object.timestamp); - } - if (object.label) { - if (!Array.isArray(object.label)) - throw TypeError(".openmetrics.Exemplar.label: array expected"); - message.label = []; - for (let i = 0; i < object.label.length; ++i) { - if (typeof object.label[i] !== "object") - throw TypeError(".openmetrics.Exemplar.label: object expected"); - message.label[i] = $root.openmetrics.Label.fromObject(object.label[i]); - } - } - return message; - }; - - /** - * Creates a plain object from an Exemplar message. Also converts values to other types if specified. - * @function toObject - * @memberof openmetrics.Exemplar - * @static - * @param {openmetrics.Exemplar} message Exemplar - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Exemplar.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.label = []; - if (options.defaults) { - object.value = 0; - object.timestamp = null; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = options.json && !isFinite(message.value) ? String(message.value) : message.value; - if (message.timestamp != null && message.hasOwnProperty("timestamp")) - object.timestamp = $root.google.protobuf.Timestamp.toObject(message.timestamp, options); - if (message.label && message.label.length) { - object.label = []; - for (let j = 0; j < message.label.length; ++j) - object.label[j] = $root.openmetrics.Label.toObject(message.label[j], options); - } - return object; - }; - - /** - * Converts this Exemplar to JSON. - * @function toJSON - * @memberof openmetrics.Exemplar - * @instance - * @returns {Object.} JSON object - */ - Exemplar.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Exemplar - * @function getTypeUrl - * @memberof openmetrics.Exemplar - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Exemplar.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/openmetrics.Exemplar"; - }; - - return Exemplar; - })(); - - openmetrics.StateSetValue = (function() { - - /** - * Properties of a StateSetValue. - * @memberof openmetrics - * @interface IStateSetValue - * @property {Array.|null} [states] StateSetValue states - */ - - /** - * Constructs a new StateSetValue. - * @memberof openmetrics - * @classdesc Represents a StateSetValue. - * @implements IStateSetValue - * @constructor - * @param {openmetrics.IStateSetValue=} [properties] Properties to set - */ - function StateSetValue(properties) { - this.states = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * StateSetValue states. - * @member {Array.} states - * @memberof openmetrics.StateSetValue - * @instance - */ - StateSetValue.prototype.states = $util.emptyArray; - - /** - * Creates a new StateSetValue instance using the specified properties. - * @function create - * @memberof openmetrics.StateSetValue - * @static - * @param {openmetrics.IStateSetValue=} [properties] Properties to set - * @returns {openmetrics.StateSetValue} StateSetValue instance - */ - StateSetValue.create = function create(properties) { - return new StateSetValue(properties); - }; - - /** - * Encodes the specified StateSetValue message. Does not implicitly {@link openmetrics.StateSetValue.verify|verify} messages. - * @function encode - * @memberof openmetrics.StateSetValue - * @static - * @param {openmetrics.IStateSetValue} message StateSetValue message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - StateSetValue.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.states != null && message.states.length) - for (let i = 0; i < message.states.length; ++i) - $root.openmetrics.StateSetValue.State.encode(message.states[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified StateSetValue message, length delimited. Does not implicitly {@link openmetrics.StateSetValue.verify|verify} messages. - * @function encodeDelimited - * @memberof openmetrics.StateSetValue - * @static - * @param {openmetrics.IStateSetValue} message StateSetValue message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - StateSetValue.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a StateSetValue message from the specified reader or buffer. - * @function decode - * @memberof openmetrics.StateSetValue - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {openmetrics.StateSetValue} StateSetValue - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - StateSetValue.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.openmetrics.StateSetValue(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message.states && message.states.length)) - message.states = []; - message.states.push($root.openmetrics.StateSetValue.State.decode(reader, reader.uint32())); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a StateSetValue message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof openmetrics.StateSetValue - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {openmetrics.StateSetValue} StateSetValue - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - StateSetValue.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a StateSetValue message. - * @function verify - * @memberof openmetrics.StateSetValue - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - StateSetValue.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.states != null && message.hasOwnProperty("states")) { - if (!Array.isArray(message.states)) - return "states: array expected"; - for (let i = 0; i < message.states.length; ++i) { - let error = $root.openmetrics.StateSetValue.State.verify(message.states[i]); - if (error) - return "states." + error; - } - } - return null; - }; - - /** - * Creates a StateSetValue message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof openmetrics.StateSetValue - * @static - * @param {Object.} object Plain object - * @returns {openmetrics.StateSetValue} StateSetValue - */ - StateSetValue.fromObject = function fromObject(object) { - if (object instanceof $root.openmetrics.StateSetValue) - return object; - let message = new $root.openmetrics.StateSetValue(); - if (object.states) { - if (!Array.isArray(object.states)) - throw TypeError(".openmetrics.StateSetValue.states: array expected"); - message.states = []; - for (let i = 0; i < object.states.length; ++i) { - if (typeof object.states[i] !== "object") - throw TypeError(".openmetrics.StateSetValue.states: object expected"); - message.states[i] = $root.openmetrics.StateSetValue.State.fromObject(object.states[i]); - } - } - return message; - }; - - /** - * Creates a plain object from a StateSetValue message. Also converts values to other types if specified. - * @function toObject - * @memberof openmetrics.StateSetValue - * @static - * @param {openmetrics.StateSetValue} message StateSetValue - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - StateSetValue.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.states = []; - if (message.states && message.states.length) { - object.states = []; - for (let j = 0; j < message.states.length; ++j) - object.states[j] = $root.openmetrics.StateSetValue.State.toObject(message.states[j], options); - } - return object; - }; - - /** - * Converts this StateSetValue to JSON. - * @function toJSON - * @memberof openmetrics.StateSetValue - * @instance - * @returns {Object.} JSON object - */ - StateSetValue.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for StateSetValue - * @function getTypeUrl - * @memberof openmetrics.StateSetValue - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - StateSetValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/openmetrics.StateSetValue"; - }; - - StateSetValue.State = (function() { - - /** - * Properties of a State. - * @memberof openmetrics.StateSetValue - * @interface IState - * @property {boolean|null} [enabled] State enabled - * @property {string|null} [name] State name - */ - - /** - * Constructs a new State. - * @memberof openmetrics.StateSetValue - * @classdesc Represents a State. - * @implements IState - * @constructor - * @param {openmetrics.StateSetValue.IState=} [properties] Properties to set - */ - function State(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * State enabled. - * @member {boolean} enabled - * @memberof openmetrics.StateSetValue.State - * @instance - */ - State.prototype.enabled = false; - - /** - * State name. - * @member {string} name - * @memberof openmetrics.StateSetValue.State - * @instance - */ - State.prototype.name = ""; - - /** - * Creates a new State instance using the specified properties. - * @function create - * @memberof openmetrics.StateSetValue.State - * @static - * @param {openmetrics.StateSetValue.IState=} [properties] Properties to set - * @returns {openmetrics.StateSetValue.State} State instance - */ - State.create = function create(properties) { - return new State(properties); - }; - - /** - * Encodes the specified State message. Does not implicitly {@link openmetrics.StateSetValue.State.verify|verify} messages. - * @function encode - * @memberof openmetrics.StateSetValue.State - * @static - * @param {openmetrics.StateSetValue.IState} message State message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - State.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.enabled != null && Object.hasOwnProperty.call(message, "enabled")) - writer.uint32(/* id 1, wireType 0 =*/8).bool(message.enabled); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.name); - return writer; - }; - - /** - * Encodes the specified State message, length delimited. Does not implicitly {@link openmetrics.StateSetValue.State.verify|verify} messages. - * @function encodeDelimited - * @memberof openmetrics.StateSetValue.State - * @static - * @param {openmetrics.StateSetValue.IState} message State message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - State.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a State message from the specified reader or buffer. - * @function decode - * @memberof openmetrics.StateSetValue.State - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {openmetrics.StateSetValue.State} State - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - State.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.openmetrics.StateSetValue.State(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.enabled = reader.bool(); - break; - } - case 2: { - message.name = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a State message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof openmetrics.StateSetValue.State - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {openmetrics.StateSetValue.State} State - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - State.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a State message. - * @function verify - * @memberof openmetrics.StateSetValue.State - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - State.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.enabled != null && message.hasOwnProperty("enabled")) - if (typeof message.enabled !== "boolean") - return "enabled: boolean expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - return null; - }; - - /** - * Creates a State message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof openmetrics.StateSetValue.State - * @static - * @param {Object.} object Plain object - * @returns {openmetrics.StateSetValue.State} State - */ - State.fromObject = function fromObject(object) { - if (object instanceof $root.openmetrics.StateSetValue.State) - return object; - let message = new $root.openmetrics.StateSetValue.State(); - if (object.enabled != null) - message.enabled = Boolean(object.enabled); - if (object.name != null) - message.name = String(object.name); - return message; - }; - - /** - * Creates a plain object from a State message. Also converts values to other types if specified. - * @function toObject - * @memberof openmetrics.StateSetValue.State - * @static - * @param {openmetrics.StateSetValue.State} message State - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - State.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.enabled = false; - object.name = ""; - } - if (message.enabled != null && message.hasOwnProperty("enabled")) - object.enabled = message.enabled; - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; - return object; - }; - - /** - * Converts this State to JSON. - * @function toJSON - * @memberof openmetrics.StateSetValue.State - * @instance - * @returns {Object.} JSON object - */ - State.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for State - * @function getTypeUrl - * @memberof openmetrics.StateSetValue.State - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - State.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/openmetrics.StateSetValue.State"; - }; - - return State; - })(); - - return StateSetValue; - })(); - - openmetrics.InfoValue = (function() { - - /** - * Properties of an InfoValue. - * @memberof openmetrics - * @interface IInfoValue - * @property {Array.|null} [info] InfoValue info - */ - - /** - * Constructs a new InfoValue. - * @memberof openmetrics - * @classdesc Represents an InfoValue. - * @implements IInfoValue - * @constructor - * @param {openmetrics.IInfoValue=} [properties] Properties to set - */ - function InfoValue(properties) { - this.info = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * InfoValue info. - * @member {Array.} info - * @memberof openmetrics.InfoValue - * @instance - */ - InfoValue.prototype.info = $util.emptyArray; - - /** - * Creates a new InfoValue instance using the specified properties. - * @function create - * @memberof openmetrics.InfoValue - * @static - * @param {openmetrics.IInfoValue=} [properties] Properties to set - * @returns {openmetrics.InfoValue} InfoValue instance - */ - InfoValue.create = function create(properties) { - return new InfoValue(properties); - }; - - /** - * Encodes the specified InfoValue message. Does not implicitly {@link openmetrics.InfoValue.verify|verify} messages. - * @function encode - * @memberof openmetrics.InfoValue - * @static - * @param {openmetrics.IInfoValue} message InfoValue message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - InfoValue.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.info != null && message.info.length) - for (let i = 0; i < message.info.length; ++i) - $root.openmetrics.Label.encode(message.info[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified InfoValue message, length delimited. Does not implicitly {@link openmetrics.InfoValue.verify|verify} messages. - * @function encodeDelimited - * @memberof openmetrics.InfoValue - * @static - * @param {openmetrics.IInfoValue} message InfoValue message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - InfoValue.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an InfoValue message from the specified reader or buffer. - * @function decode - * @memberof openmetrics.InfoValue - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {openmetrics.InfoValue} InfoValue - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - InfoValue.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.openmetrics.InfoValue(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (!(message.info && message.info.length)) - message.info = []; - message.info.push($root.openmetrics.Label.decode(reader, reader.uint32())); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an InfoValue message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof openmetrics.InfoValue - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {openmetrics.InfoValue} InfoValue - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - InfoValue.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an InfoValue message. - * @function verify - * @memberof openmetrics.InfoValue - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - InfoValue.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.info != null && message.hasOwnProperty("info")) { - if (!Array.isArray(message.info)) - return "info: array expected"; - for (let i = 0; i < message.info.length; ++i) { - let error = $root.openmetrics.Label.verify(message.info[i]); - if (error) - return "info." + error; - } - } - return null; - }; - - /** - * Creates an InfoValue message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof openmetrics.InfoValue - * @static - * @param {Object.} object Plain object - * @returns {openmetrics.InfoValue} InfoValue - */ - InfoValue.fromObject = function fromObject(object) { - if (object instanceof $root.openmetrics.InfoValue) - return object; - let message = new $root.openmetrics.InfoValue(); - if (object.info) { - if (!Array.isArray(object.info)) - throw TypeError(".openmetrics.InfoValue.info: array expected"); - message.info = []; - for (let i = 0; i < object.info.length; ++i) { - if (typeof object.info[i] !== "object") - throw TypeError(".openmetrics.InfoValue.info: object expected"); - message.info[i] = $root.openmetrics.Label.fromObject(object.info[i]); - } - } - return message; - }; - - /** - * Creates a plain object from an InfoValue message. Also converts values to other types if specified. - * @function toObject - * @memberof openmetrics.InfoValue - * @static - * @param {openmetrics.InfoValue} message InfoValue - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - InfoValue.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.info = []; - if (message.info && message.info.length) { - object.info = []; - for (let j = 0; j < message.info.length; ++j) - object.info[j] = $root.openmetrics.Label.toObject(message.info[j], options); - } - return object; - }; - - /** - * Converts this InfoValue to JSON. - * @function toJSON - * @memberof openmetrics.InfoValue - * @instance - * @returns {Object.} JSON object - */ - InfoValue.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for InfoValue - * @function getTypeUrl - * @memberof openmetrics.InfoValue - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - InfoValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/openmetrics.InfoValue"; - }; - - return InfoValue; - })(); - - openmetrics.SummaryValue = (function() { - - /** - * Properties of a SummaryValue. - * @memberof openmetrics - * @interface ISummaryValue - * @property {number|null} [doubleValue] SummaryValue doubleValue - * @property {number|Long|null} [intValue] SummaryValue intValue - * @property {number|Long|null} [count] SummaryValue count - * @property {google.protobuf.ITimestamp|null} [created] SummaryValue created - * @property {Array.|null} [quantile] SummaryValue quantile - */ - - /** - * Constructs a new SummaryValue. - * @memberof openmetrics - * @classdesc Represents a SummaryValue. - * @implements ISummaryValue - * @constructor - * @param {openmetrics.ISummaryValue=} [properties] Properties to set - */ - function SummaryValue(properties) { - this.quantile = []; - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * SummaryValue doubleValue. - * @member {number|null|undefined} doubleValue - * @memberof openmetrics.SummaryValue - * @instance - */ - SummaryValue.prototype.doubleValue = null; - - /** - * SummaryValue intValue. - * @member {number|Long|null|undefined} intValue - * @memberof openmetrics.SummaryValue - * @instance - */ - SummaryValue.prototype.intValue = null; - - /** - * SummaryValue count. - * @member {number|Long} count - * @memberof openmetrics.SummaryValue - * @instance - */ - SummaryValue.prototype.count = $util.Long ? $util.Long.fromBits(0,0,true) : 0; - - /** - * SummaryValue created. - * @member {google.protobuf.ITimestamp|null|undefined} created - * @memberof openmetrics.SummaryValue - * @instance - */ - SummaryValue.prototype.created = null; - - /** - * SummaryValue quantile. - * @member {Array.} quantile - * @memberof openmetrics.SummaryValue - * @instance - */ - SummaryValue.prototype.quantile = $util.emptyArray; - - // OneOf field names bound to virtual getters and setters - let $oneOfFields; - - /** - * SummaryValue sum. - * @member {"doubleValue"|"intValue"|undefined} sum - * @memberof openmetrics.SummaryValue - * @instance - */ - Object.defineProperty(SummaryValue.prototype, "sum", { - get: $util.oneOfGetter($oneOfFields = ["doubleValue", "intValue"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new SummaryValue instance using the specified properties. - * @function create - * @memberof openmetrics.SummaryValue - * @static - * @param {openmetrics.ISummaryValue=} [properties] Properties to set - * @returns {openmetrics.SummaryValue} SummaryValue instance - */ - SummaryValue.create = function create(properties) { - return new SummaryValue(properties); - }; - - /** - * Encodes the specified SummaryValue message. Does not implicitly {@link openmetrics.SummaryValue.verify|verify} messages. - * @function encode - * @memberof openmetrics.SummaryValue - * @static - * @param {openmetrics.ISummaryValue} message SummaryValue message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SummaryValue.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.doubleValue != null && Object.hasOwnProperty.call(message, "doubleValue")) - writer.uint32(/* id 1, wireType 1 =*/9).double(message.doubleValue); - if (message.intValue != null && Object.hasOwnProperty.call(message, "intValue")) - writer.uint32(/* id 2, wireType 0 =*/16).int64(message.intValue); - if (message.count != null && Object.hasOwnProperty.call(message, "count")) - writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.count); - if (message.created != null && Object.hasOwnProperty.call(message, "created")) - $root.google.protobuf.Timestamp.encode(message.created, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.quantile != null && message.quantile.length) - for (let i = 0; i < message.quantile.length; ++i) - $root.openmetrics.SummaryValue.Quantile.encode(message.quantile[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified SummaryValue message, length delimited. Does not implicitly {@link openmetrics.SummaryValue.verify|verify} messages. - * @function encodeDelimited - * @memberof openmetrics.SummaryValue - * @static - * @param {openmetrics.ISummaryValue} message SummaryValue message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SummaryValue.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a SummaryValue message from the specified reader or buffer. - * @function decode - * @memberof openmetrics.SummaryValue - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {openmetrics.SummaryValue} SummaryValue - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SummaryValue.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.openmetrics.SummaryValue(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.doubleValue = reader.double(); - break; - } - case 2: { - message.intValue = reader.int64(); - break; - } - case 3: { - message.count = reader.uint64(); - break; - } - case 4: { - message.created = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - } - case 5: { - if (!(message.quantile && message.quantile.length)) - message.quantile = []; - message.quantile.push($root.openmetrics.SummaryValue.Quantile.decode(reader, reader.uint32())); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a SummaryValue message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof openmetrics.SummaryValue - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {openmetrics.SummaryValue} SummaryValue - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SummaryValue.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a SummaryValue message. - * @function verify - * @memberof openmetrics.SummaryValue - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - SummaryValue.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - let properties = {}; - if (message.doubleValue != null && message.hasOwnProperty("doubleValue")) { - properties.sum = 1; - if (typeof message.doubleValue !== "number") - return "doubleValue: number expected"; - } - if (message.intValue != null && message.hasOwnProperty("intValue")) { - if (properties.sum === 1) - return "sum: multiple values"; - properties.sum = 1; - if (!$util.isInteger(message.intValue) && !(message.intValue && $util.isInteger(message.intValue.low) && $util.isInteger(message.intValue.high))) - return "intValue: integer|Long expected"; - } - if (message.count != null && message.hasOwnProperty("count")) - if (!$util.isInteger(message.count) && !(message.count && $util.isInteger(message.count.low) && $util.isInteger(message.count.high))) - return "count: integer|Long expected"; - if (message.created != null && message.hasOwnProperty("created")) { - let error = $root.google.protobuf.Timestamp.verify(message.created); - if (error) - return "created." + error; - } - if (message.quantile != null && message.hasOwnProperty("quantile")) { - if (!Array.isArray(message.quantile)) - return "quantile: array expected"; - for (let i = 0; i < message.quantile.length; ++i) { - let error = $root.openmetrics.SummaryValue.Quantile.verify(message.quantile[i]); - if (error) - return "quantile." + error; - } - } - return null; - }; - - /** - * Creates a SummaryValue message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof openmetrics.SummaryValue - * @static - * @param {Object.} object Plain object - * @returns {openmetrics.SummaryValue} SummaryValue - */ - SummaryValue.fromObject = function fromObject(object) { - if (object instanceof $root.openmetrics.SummaryValue) - return object; - let message = new $root.openmetrics.SummaryValue(); - if (object.doubleValue != null) - message.doubleValue = Number(object.doubleValue); - if (object.intValue != null) - if ($util.Long) - (message.intValue = $util.Long.fromValue(object.intValue)).unsigned = false; - else if (typeof object.intValue === "string") - message.intValue = parseInt(object.intValue, 10); - else if (typeof object.intValue === "number") - message.intValue = object.intValue; - else if (typeof object.intValue === "object") - message.intValue = new $util.LongBits(object.intValue.low >>> 0, object.intValue.high >>> 0).toNumber(); - if (object.count != null) - if ($util.Long) - (message.count = $util.Long.fromValue(object.count)).unsigned = true; - else if (typeof object.count === "string") - message.count = parseInt(object.count, 10); - else if (typeof object.count === "number") - message.count = object.count; - else if (typeof object.count === "object") - message.count = new $util.LongBits(object.count.low >>> 0, object.count.high >>> 0).toNumber(true); - if (object.created != null) { - if (typeof object.created !== "object") - throw TypeError(".openmetrics.SummaryValue.created: object expected"); - message.created = $root.google.protobuf.Timestamp.fromObject(object.created); - } - if (object.quantile) { - if (!Array.isArray(object.quantile)) - throw TypeError(".openmetrics.SummaryValue.quantile: array expected"); - message.quantile = []; - for (let i = 0; i < object.quantile.length; ++i) { - if (typeof object.quantile[i] !== "object") - throw TypeError(".openmetrics.SummaryValue.quantile: object expected"); - message.quantile[i] = $root.openmetrics.SummaryValue.Quantile.fromObject(object.quantile[i]); - } - } - return message; - }; - - /** - * Creates a plain object from a SummaryValue message. Also converts values to other types if specified. - * @function toObject - * @memberof openmetrics.SummaryValue - * @static - * @param {openmetrics.SummaryValue} message SummaryValue - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - SummaryValue.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.arrays || options.defaults) - object.quantile = []; - if (options.defaults) { - if ($util.Long) { - let long = new $util.Long(0, 0, true); - object.count = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; - } else - object.count = options.longs === String ? "0" : 0; - object.created = null; - } - if (message.doubleValue != null && message.hasOwnProperty("doubleValue")) { - object.doubleValue = options.json && !isFinite(message.doubleValue) ? String(message.doubleValue) : message.doubleValue; - if (options.oneofs) - object.sum = "doubleValue"; - } - if (message.intValue != null && message.hasOwnProperty("intValue")) { - if (typeof message.intValue === "number") - object.intValue = options.longs === String ? String(message.intValue) : message.intValue; - else - object.intValue = options.longs === String ? $util.Long.prototype.toString.call(message.intValue) : options.longs === Number ? new $util.LongBits(message.intValue.low >>> 0, message.intValue.high >>> 0).toNumber() : message.intValue; - if (options.oneofs) - object.sum = "intValue"; - } - if (message.count != null && message.hasOwnProperty("count")) - if (typeof message.count === "number") - object.count = options.longs === String ? String(message.count) : message.count; - else - object.count = options.longs === String ? $util.Long.prototype.toString.call(message.count) : options.longs === Number ? new $util.LongBits(message.count.low >>> 0, message.count.high >>> 0).toNumber(true) : message.count; - if (message.created != null && message.hasOwnProperty("created")) - object.created = $root.google.protobuf.Timestamp.toObject(message.created, options); - if (message.quantile && message.quantile.length) { - object.quantile = []; - for (let j = 0; j < message.quantile.length; ++j) - object.quantile[j] = $root.openmetrics.SummaryValue.Quantile.toObject(message.quantile[j], options); - } - return object; - }; - - /** - * Converts this SummaryValue to JSON. - * @function toJSON - * @memberof openmetrics.SummaryValue - * @instance - * @returns {Object.} JSON object - */ - SummaryValue.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for SummaryValue - * @function getTypeUrl - * @memberof openmetrics.SummaryValue - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - SummaryValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/openmetrics.SummaryValue"; - }; - - SummaryValue.Quantile = (function() { - - /** - * Properties of a Quantile. - * @memberof openmetrics.SummaryValue - * @interface IQuantile - * @property {number|null} [quantile] Quantile quantile - * @property {number|null} [value] Quantile value - */ - - /** - * Constructs a new Quantile. - * @memberof openmetrics.SummaryValue - * @classdesc Represents a Quantile. - * @implements IQuantile - * @constructor - * @param {openmetrics.SummaryValue.IQuantile=} [properties] Properties to set - */ - function Quantile(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Quantile quantile. - * @member {number} quantile - * @memberof openmetrics.SummaryValue.Quantile - * @instance - */ - Quantile.prototype.quantile = 0; - - /** - * Quantile value. - * @member {number} value - * @memberof openmetrics.SummaryValue.Quantile - * @instance - */ - Quantile.prototype.value = 0; - - /** - * Creates a new Quantile instance using the specified properties. - * @function create - * @memberof openmetrics.SummaryValue.Quantile - * @static - * @param {openmetrics.SummaryValue.IQuantile=} [properties] Properties to set - * @returns {openmetrics.SummaryValue.Quantile} Quantile instance - */ - Quantile.create = function create(properties) { - return new Quantile(properties); - }; - - /** - * Encodes the specified Quantile message. Does not implicitly {@link openmetrics.SummaryValue.Quantile.verify|verify} messages. - * @function encode - * @memberof openmetrics.SummaryValue.Quantile - * @static - * @param {openmetrics.SummaryValue.IQuantile} message Quantile message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Quantile.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.quantile != null && Object.hasOwnProperty.call(message, "quantile")) - writer.uint32(/* id 1, wireType 1 =*/9).double(message.quantile); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - writer.uint32(/* id 2, wireType 1 =*/17).double(message.value); - return writer; - }; - - /** - * Encodes the specified Quantile message, length delimited. Does not implicitly {@link openmetrics.SummaryValue.Quantile.verify|verify} messages. - * @function encodeDelimited - * @memberof openmetrics.SummaryValue.Quantile - * @static - * @param {openmetrics.SummaryValue.IQuantile} message Quantile message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Quantile.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Quantile message from the specified reader or buffer. - * @function decode - * @memberof openmetrics.SummaryValue.Quantile - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {openmetrics.SummaryValue.Quantile} Quantile - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Quantile.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.openmetrics.SummaryValue.Quantile(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.quantile = reader.double(); - break; - } - case 2: { - message.value = reader.double(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Quantile message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof openmetrics.SummaryValue.Quantile - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {openmetrics.SummaryValue.Quantile} Quantile - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Quantile.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Quantile message. - * @function verify - * @memberof openmetrics.SummaryValue.Quantile - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Quantile.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.quantile != null && message.hasOwnProperty("quantile")) - if (typeof message.quantile !== "number") - return "quantile: number expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (typeof message.value !== "number") - return "value: number expected"; - return null; - }; - - /** - * Creates a Quantile message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof openmetrics.SummaryValue.Quantile - * @static - * @param {Object.} object Plain object - * @returns {openmetrics.SummaryValue.Quantile} Quantile - */ - Quantile.fromObject = function fromObject(object) { - if (object instanceof $root.openmetrics.SummaryValue.Quantile) - return object; - let message = new $root.openmetrics.SummaryValue.Quantile(); - if (object.quantile != null) - message.quantile = Number(object.quantile); - if (object.value != null) - message.value = Number(object.value); - return message; - }; - - /** - * Creates a plain object from a Quantile message. Also converts values to other types if specified. - * @function toObject - * @memberof openmetrics.SummaryValue.Quantile - * @static - * @param {openmetrics.SummaryValue.Quantile} message Quantile - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Quantile.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - object.quantile = 0; - object.value = 0; - } - if (message.quantile != null && message.hasOwnProperty("quantile")) - object.quantile = options.json && !isFinite(message.quantile) ? String(message.quantile) : message.quantile; - if (message.value != null && message.hasOwnProperty("value")) - object.value = options.json && !isFinite(message.value) ? String(message.value) : message.value; - return object; - }; - - /** - * Converts this Quantile to JSON. - * @function toJSON - * @memberof openmetrics.SummaryValue.Quantile - * @instance - * @returns {Object.} JSON object - */ - Quantile.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Quantile - * @function getTypeUrl - * @memberof openmetrics.SummaryValue.Quantile - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Quantile.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/openmetrics.SummaryValue.Quantile"; - }; - - return Quantile; - })(); - - return SummaryValue; - })(); - - return openmetrics; -})(); - -export const google = $root.google = (() => { - - /** - * Namespace google. - * @exports google - * @namespace - */ - const google = {}; - - google.protobuf = (function() { - - /** - * Namespace protobuf. - * @memberof google - * @namespace - */ - const protobuf = {}; - - protobuf.Timestamp = (function() { - - /** - * Properties of a Timestamp. - * @memberof google.protobuf - * @interface ITimestamp - * @property {number|Long|null} [seconds] Timestamp seconds - * @property {number|null} [nanos] Timestamp nanos - */ - - /** - * Constructs a new Timestamp. - * @memberof google.protobuf - * @classdesc Represents a Timestamp. - * @implements ITimestamp - * @constructor - * @param {google.protobuf.ITimestamp=} [properties] Properties to set - */ - function Timestamp(properties) { - if (properties) - for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Timestamp seconds. - * @member {number|Long} seconds - * @memberof google.protobuf.Timestamp - * @instance - */ - Timestamp.prototype.seconds = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - - /** - * Timestamp nanos. - * @member {number} nanos - * @memberof google.protobuf.Timestamp - * @instance - */ - Timestamp.prototype.nanos = 0; - - /** - * Creates a new Timestamp instance using the specified properties. - * @function create - * @memberof google.protobuf.Timestamp - * @static - * @param {google.protobuf.ITimestamp=} [properties] Properties to set - * @returns {google.protobuf.Timestamp} Timestamp instance - */ - Timestamp.create = function create(properties) { - return new Timestamp(properties); - }; - - /** - * Encodes the specified Timestamp message. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages. - * @function encode - * @memberof google.protobuf.Timestamp - * @static - * @param {google.protobuf.ITimestamp} message Timestamp message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Timestamp.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.seconds != null && Object.hasOwnProperty.call(message, "seconds")) - writer.uint32(/* id 1, wireType 0 =*/8).int64(message.seconds); - if (message.nanos != null && Object.hasOwnProperty.call(message, "nanos")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.nanos); - return writer; - }; - - /** - * Encodes the specified Timestamp message, length delimited. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages. - * @function encodeDelimited - * @memberof google.protobuf.Timestamp - * @static - * @param {google.protobuf.ITimestamp} message Timestamp message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Timestamp.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Timestamp message from the specified reader or buffer. - * @function decode - * @memberof google.protobuf.Timestamp - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.Timestamp} Timestamp - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Timestamp.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.Timestamp(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.seconds = reader.int64(); - break; - } - case 2: { - message.nanos = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Timestamp message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.protobuf.Timestamp - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.Timestamp} Timestamp - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Timestamp.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Timestamp message. - * @function verify - * @memberof google.protobuf.Timestamp - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Timestamp.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.seconds != null && message.hasOwnProperty("seconds")) - if (!$util.isInteger(message.seconds) && !(message.seconds && $util.isInteger(message.seconds.low) && $util.isInteger(message.seconds.high))) - return "seconds: integer|Long expected"; - if (message.nanos != null && message.hasOwnProperty("nanos")) - if (!$util.isInteger(message.nanos)) - return "nanos: integer expected"; - return null; - }; - - /** - * Creates a Timestamp message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.Timestamp - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.Timestamp} Timestamp - */ - Timestamp.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.Timestamp) - return object; - let message = new $root.google.protobuf.Timestamp(); - if (object.seconds != null) - if ($util.Long) - (message.seconds = $util.Long.fromValue(object.seconds)).unsigned = false; - else if (typeof object.seconds === "string") - message.seconds = parseInt(object.seconds, 10); - else if (typeof object.seconds === "number") - message.seconds = object.seconds; - else if (typeof object.seconds === "object") - message.seconds = new $util.LongBits(object.seconds.low >>> 0, object.seconds.high >>> 0).toNumber(); - if (object.nanos != null) - message.nanos = object.nanos | 0; - return message; - }; - - /** - * Creates a plain object from a Timestamp message. Also converts values to other types if specified. - * @function toObject - * @memberof google.protobuf.Timestamp - * @static - * @param {google.protobuf.Timestamp} message Timestamp - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Timestamp.toObject = function toObject(message, options) { - if (!options) - options = {}; - let object = {}; - if (options.defaults) { - if ($util.Long) { - let long = new $util.Long(0, 0, false); - object.seconds = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; - } else - object.seconds = options.longs === String ? "0" : 0; - object.nanos = 0; - } - if (message.seconds != null && message.hasOwnProperty("seconds")) - if (typeof message.seconds === "number") - object.seconds = options.longs === String ? String(message.seconds) : message.seconds; - else - object.seconds = options.longs === String ? $util.Long.prototype.toString.call(message.seconds) : options.longs === Number ? new $util.LongBits(message.seconds.low >>> 0, message.seconds.high >>> 0).toNumber() : message.seconds; - if (message.nanos != null && message.hasOwnProperty("nanos")) - object.nanos = message.nanos; - return object; - }; - - /** - * Converts this Timestamp to JSON. - * @function toJSON - * @memberof google.protobuf.Timestamp - * @instance - * @returns {Object.} JSON object - */ - Timestamp.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Timestamp - * @function getTypeUrl - * @memberof google.protobuf.Timestamp - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Timestamp.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.Timestamp"; - }; - - return Timestamp; - })(); - - return protobuf; - })(); - - return google; -})(); - -export { $root as default }; diff --git a/streamlit-1.23.1.dev0-py39-none-any.whl b/streamlit-1.23.1.dev0-py39-none-any.whl deleted file mode 100644 index 88d3dea38a2aac3acc9393726fafa30765563d69..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9561888 zcmZU(L$EMR7le0h+qP}L*S2ljwr$(CZQHhO-+W0WRr!V>l}<( z*wZMX-UEComuAbB7vEg%`=%BpR1J?_ipJm>yPeJG*|$Y5mHf#4AnyHLBML zf0cBq>}fZhlSRj#RByF#s2}ZF<{w>+Qt2`KgccupfW}m&&JQ$JZ0TtT$K#^AE;l6V zUvd?NK(&E~T2Vf8H6wFeD=TSVeqs#UM%-22?ri=_`N z?w(p)->#q6@m?A{{8ZQ2%1!1T|2_Ph8@^gx)fcyX-~GuB{&(BT&X^V50hPCCuX5^j zSVH7Bh127P=41q*))K}sRYpb4WPP2ZT2#(4_Y;jx#Ld0rrVuAoX^;nJv$+Zdy|;iY zTMC0Xg;}-V*iKTVVkDJO(?+!%YxuV%+%YTEPkg}rf!y}QbaIE+7zXIgSg>E17AYs# zE&Te|+nt5nJCNIt=7GSo^%-(xXm-?N_%f9nB@!KP_@W-GrybI-d|Gm7>)O{_0vEKY zgS3vR%1P4Ydi5ve!Jhtu@k(MEk{2R2NyX~6a$~UoSVjyhIJwOr{@dW+K9>DDz4CXB z!gpM-A7jTR9(Ka?F$E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