import * as $protobuf from "protobufjs"; /** Properties of a MessageStacksMessage. */ export interface IMessageStacksMessage { /** MessageStacksMessage edgeLabelsPacked */ edgeLabelsPacked: Uint8Array; /** MessageStacksMessage edgeLabelLengths */ edgeLabelLengths?: (number[]|null); /** MessageStacksMessage edgeParents */ edgeParents?: (number[]|null); /** MessageStacksMessage messageStackIDs */ messageStackIDs?: (number[]|null); } /** Represents a MessageStacksMessage. */ export class MessageStacksMessage implements IMessageStacksMessage { /** * Constructs a new MessageStacksMessage. * @param [properties] Properties to set */ constructor(properties?: IMessageStacksMessage); /** MessageStacksMessage edgeLabelsPacked. */ public edgeLabelsPacked: Uint8Array; /** MessageStacksMessage edgeLabelLengths. */ public edgeLabelLengths: number[]; /** MessageStacksMessage edgeParents. */ public edgeParents: number[]; /** MessageStacksMessage messageStackIDs. */ public messageStackIDs: number[]; /** * Creates a new MessageStacksMessage instance using the specified properties. * @param [properties] Properties to set * @returns MessageStacksMessage instance */ public static create(properties?: IMessageStacksMessage): MessageStacksMessage; /** * Encodes the specified MessageStacksMessage message. Does not implicitly {@link MessageStacksMessage.verify|verify} messages. * @param message MessageStacksMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: IMessageStacksMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MessageStacksMessage message, length delimited. Does not implicitly {@link MessageStacksMessage.verify|verify} messages. * @param message MessageStacksMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: IMessageStacksMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MessageStacksMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MessageStacksMessage * @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): MessageStacksMessage; /** * Decodes a MessageStacksMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MessageStacksMessage * @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)): MessageStacksMessage; /** * Verifies a MessageStacksMessage 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 MessageStacksMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MessageStacksMessage */ public static fromObject(object: { [k: string]: any }): MessageStacksMessage; /** * Creates a plain object from a MessageStacksMessage message. Also converts values to other types if specified. * @param message MessageStacksMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: MessageStacksMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MessageStacksMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SavedStateTreeMessage. */ export interface ISavedStateTreeMessage { /** SavedStateTreeMessage self */ self?: (Uint8Array|null); /** SavedStateTreeMessage childrenKeys */ childrenKeys?: (string[]|null); /** SavedStateTreeMessage childrenValues */ childrenValues?: (ISavedStateTreeMessage[]|null); } /** Represents a SavedStateTreeMessage. */ export class SavedStateTreeMessage implements ISavedStateTreeMessage { /** * Constructs a new SavedStateTreeMessage. * @param [properties] Properties to set */ constructor(properties?: ISavedStateTreeMessage); /** SavedStateTreeMessage self. */ public self: Uint8Array; /** SavedStateTreeMessage childrenKeys. */ public childrenKeys: string[]; /** SavedStateTreeMessage childrenValues. */ public childrenValues: ISavedStateTreeMessage[]; /** * Creates a new SavedStateTreeMessage instance using the specified properties. * @param [properties] Properties to set * @returns SavedStateTreeMessage instance */ public static create(properties?: ISavedStateTreeMessage): SavedStateTreeMessage; /** * Encodes the specified SavedStateTreeMessage message. Does not implicitly {@link SavedStateTreeMessage.verify|verify} messages. * @param message SavedStateTreeMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: ISavedStateTreeMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SavedStateTreeMessage message, length delimited. Does not implicitly {@link SavedStateTreeMessage.verify|verify} messages. * @param message SavedStateTreeMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: ISavedStateTreeMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SavedStateTreeMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SavedStateTreeMessage * @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): SavedStateTreeMessage; /** * Decodes a SavedStateTreeMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SavedStateTreeMessage * @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)): SavedStateTreeMessage; /** * Verifies a SavedStateTreeMessage 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 SavedStateTreeMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SavedStateTreeMessage */ public static fromObject(object: { [k: string]: any }): SavedStateTreeMessage; /** * Creates a plain object from a SavedStateTreeMessage message. Also converts values to other types if specified. * @param message SavedStateTreeMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: SavedStateTreeMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SavedStateTreeMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an ArrayMessage. */ export interface IArrayMessage { /** ArrayMessage elements */ elements?: (Uint8Array[]|null); } /** Represents an ArrayMessage. */ export class ArrayMessage implements IArrayMessage { /** * Constructs a new ArrayMessage. * @param [properties] Properties to set */ constructor(properties?: IArrayMessage); /** ArrayMessage elements. */ public elements: Uint8Array[]; /** * Creates a new ArrayMessage instance using the specified properties. * @param [properties] Properties to set * @returns ArrayMessage instance */ public static create(properties?: IArrayMessage): ArrayMessage; /** * Encodes the specified ArrayMessage message. Does not implicitly {@link ArrayMessage.verify|verify} messages. * @param message ArrayMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: IArrayMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ArrayMessage message, length delimited. Does not implicitly {@link ArrayMessage.verify|verify} messages. * @param message ArrayMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: IArrayMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ArrayMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ArrayMessage * @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): ArrayMessage; /** * Decodes an ArrayMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ArrayMessage * @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)): ArrayMessage; /** * Verifies an ArrayMessage 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 ArrayMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ArrayMessage */ public static fromObject(object: { [k: string]: any }): ArrayMessage; /** * Creates a plain object from an ArrayMessage message. Also converts values to other types if specified. * @param message ArrayMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: ArrayMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ArrayMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an ObjectMessage. */ export interface IObjectMessage { /** ObjectMessage properties */ properties?: ({ [k: string]: Uint8Array }|null); } /** Represents an ObjectMessage. */ export class ObjectMessage implements IObjectMessage { /** * Constructs a new ObjectMessage. * @param [properties] Properties to set */ constructor(properties?: IObjectMessage); /** ObjectMessage properties. */ public properties: { [k: string]: Uint8Array }; /** * Creates a new ObjectMessage instance using the specified properties. * @param [properties] Properties to set * @returns ObjectMessage instance */ public static create(properties?: IObjectMessage): ObjectMessage; /** * Encodes the specified ObjectMessage message. Does not implicitly {@link ObjectMessage.verify|verify} messages. * @param message ObjectMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: IObjectMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ObjectMessage message, length delimited. Does not implicitly {@link ObjectMessage.verify|verify} messages. * @param message ObjectMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: IObjectMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ObjectMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ObjectMessage * @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): ObjectMessage; /** * Decodes an ObjectMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ObjectMessage * @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)): ObjectMessage; /** * Verifies an ObjectMessage 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 ObjectMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ObjectMessage */ public static fromObject(object: { [k: string]: any }): ObjectMessage; /** * Creates a plain object from an ObjectMessage message. Also converts values to other types if specified. * @param message ObjectMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: ObjectMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ObjectMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a DefaultSerializerMessage. */ export interface IDefaultSerializerMessage { /** DefaultSerializerMessage stringValue */ stringValue?: (string|null); /** DefaultSerializerMessage intValue */ intValue?: (number|Long|null); /** DefaultSerializerMessage doubleValue */ doubleValue?: (number|null); /** DefaultSerializerMessage booleanValue */ booleanValue?: (boolean|null); /** DefaultSerializerMessage undefinedValue */ undefinedValue?: (boolean|null); /** DefaultSerializerMessage nullValue */ nullValue?: (boolean|null); /** DefaultSerializerMessage arrayValue */ arrayValue?: (IArrayMessage|null); /** DefaultSerializerMessage objectValue */ objectValue?: (IObjectMessage|null); /** DefaultSerializerMessage bytesValue */ bytesValue?: (Uint8Array|null); /** DefaultSerializerMessage optionalValue */ optionalValue?: (IOptionalMessage|null); } /** Represents a DefaultSerializerMessage. */ export class DefaultSerializerMessage implements IDefaultSerializerMessage { /** * Constructs a new DefaultSerializerMessage. * @param [properties] Properties to set */ constructor(properties?: IDefaultSerializerMessage); /** DefaultSerializerMessage stringValue. */ public stringValue: string; /** DefaultSerializerMessage intValue. */ public intValue: (number|Long); /** DefaultSerializerMessage doubleValue. */ public doubleValue: number; /** DefaultSerializerMessage booleanValue. */ public booleanValue: boolean; /** DefaultSerializerMessage undefinedValue. */ public undefinedValue: boolean; /** DefaultSerializerMessage nullValue. */ public nullValue: boolean; /** DefaultSerializerMessage arrayValue. */ public arrayValue?: (IArrayMessage|null); /** DefaultSerializerMessage objectValue. */ public objectValue?: (IObjectMessage|null); /** DefaultSerializerMessage bytesValue. */ public bytesValue: Uint8Array; /** DefaultSerializerMessage optionalValue. */ public optionalValue?: (IOptionalMessage|null); /** DefaultSerializerMessage value. */ public value?: ("stringValue"|"intValue"|"doubleValue"|"booleanValue"|"undefinedValue"|"nullValue"|"arrayValue"|"objectValue"|"bytesValue"|"optionalValue"); /** * Creates a new DefaultSerializerMessage instance using the specified properties. * @param [properties] Properties to set * @returns DefaultSerializerMessage instance */ public static create(properties?: IDefaultSerializerMessage): DefaultSerializerMessage; /** * Encodes the specified DefaultSerializerMessage message. Does not implicitly {@link DefaultSerializerMessage.verify|verify} messages. * @param message DefaultSerializerMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: IDefaultSerializerMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DefaultSerializerMessage message, length delimited. Does not implicitly {@link DefaultSerializerMessage.verify|verify} messages. * @param message DefaultSerializerMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: IDefaultSerializerMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DefaultSerializerMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DefaultSerializerMessage * @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): DefaultSerializerMessage; /** * Decodes a DefaultSerializerMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DefaultSerializerMessage * @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)): DefaultSerializerMessage; /** * Verifies a DefaultSerializerMessage 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 DefaultSerializerMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DefaultSerializerMessage */ public static fromObject(object: { [k: string]: any }): DefaultSerializerMessage; /** * Creates a plain object from a DefaultSerializerMessage message. Also converts values to other types if specified. * @param message DefaultSerializerMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: DefaultSerializerMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DefaultSerializerMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a PairSerializerMessage. */ export interface IPairSerializerMessage { /** PairSerializerMessage one */ one: Uint8Array; /** PairSerializerMessage two */ two: Uint8Array; } /** Represents a PairSerializerMessage. */ export class PairSerializerMessage implements IPairSerializerMessage { /** * Constructs a new PairSerializerMessage. * @param [properties] Properties to set */ constructor(properties?: IPairSerializerMessage); /** PairSerializerMessage one. */ public one: Uint8Array; /** PairSerializerMessage two. */ public two: Uint8Array; /** * Creates a new PairSerializerMessage instance using the specified properties. * @param [properties] Properties to set * @returns PairSerializerMessage instance */ public static create(properties?: IPairSerializerMessage): PairSerializerMessage; /** * Encodes the specified PairSerializerMessage message. Does not implicitly {@link PairSerializerMessage.verify|verify} messages. * @param message PairSerializerMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: IPairSerializerMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PairSerializerMessage message, length delimited. Does not implicitly {@link PairSerializerMessage.verify|verify} messages. * @param message PairSerializerMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: IPairSerializerMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PairSerializerMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PairSerializerMessage * @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): PairSerializerMessage; /** * Decodes a PairSerializerMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PairSerializerMessage * @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)): PairSerializerMessage; /** * Verifies a PairSerializerMessage 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 PairSerializerMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PairSerializerMessage */ public static fromObject(object: { [k: string]: any }): PairSerializerMessage; /** * Creates a plain object from a PairSerializerMessage message. Also converts values to other types if specified. * @param message PairSerializerMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: PairSerializerMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PairSerializerMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a CollabIDMessage. */ export interface ICollabIDMessage { /** CollabIDMessage collabIDPath */ collabIDPath?: (string[]|null); } /** Represents a CollabIDMessage. */ export class CollabIDMessage implements ICollabIDMessage { /** * Constructs a new CollabIDMessage. * @param [properties] Properties to set */ constructor(properties?: ICollabIDMessage); /** CollabIDMessage collabIDPath. */ public collabIDPath: string[]; /** * Creates a new CollabIDMessage instance using the specified properties. * @param [properties] Properties to set * @returns CollabIDMessage instance */ public static create(properties?: ICollabIDMessage): CollabIDMessage; /** * Encodes the specified CollabIDMessage message. Does not implicitly {@link CollabIDMessage.verify|verify} messages. * @param message CollabIDMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: ICollabIDMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CollabIDMessage message, length delimited. Does not implicitly {@link CollabIDMessage.verify|verify} messages. * @param message CollabIDMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: ICollabIDMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CollabIDMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CollabIDMessage * @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): CollabIDMessage; /** * Decodes a CollabIDMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CollabIDMessage * @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)): CollabIDMessage; /** * Verifies a CollabIDMessage 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 CollabIDMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CollabIDMessage */ public static fromObject(object: { [k: string]: any }): CollabIDMessage; /** * Creates a plain object from a CollabIDMessage message. Also converts values to other types if specified. * @param message CollabIDMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: CollabIDMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CollabIDMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an OptionalMessage. */ export interface IOptionalMessage { /** OptionalMessage valueIfPresent */ valueIfPresent?: (Uint8Array|null); } /** Represents an OptionalMessage. */ export class OptionalMessage implements IOptionalMessage { /** * Constructs a new OptionalMessage. * @param [properties] Properties to set */ constructor(properties?: IOptionalMessage); /** OptionalMessage valueIfPresent. */ public valueIfPresent: Uint8Array; /** * Creates a new OptionalMessage instance using the specified properties. * @param [properties] Properties to set * @returns OptionalMessage instance */ public static create(properties?: IOptionalMessage): OptionalMessage; /** * Encodes the specified OptionalMessage message. Does not implicitly {@link OptionalMessage.verify|verify} messages. * @param message OptionalMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: IOptionalMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified OptionalMessage message, length delimited. Does not implicitly {@link OptionalMessage.verify|verify} messages. * @param message OptionalMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: IOptionalMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an OptionalMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns OptionalMessage * @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): OptionalMessage; /** * Decodes an OptionalMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns OptionalMessage * @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)): OptionalMessage; /** * Verifies an OptionalMessage 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 OptionalMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns OptionalMessage */ public static fromObject(object: { [k: string]: any }): OptionalMessage; /** * Creates a plain object from an OptionalMessage message. Also converts values to other types if specified. * @param message OptionalMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: OptionalMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this OptionalMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; }