From e1f9d9856c98a0f0eb1aa8bdf4ac0df467bee8b9 Mon Sep 17 00:00:00 2001 From: dcodeIO Date: Fri, 9 Jun 2017 11:17:35 +0200 Subject: [PATCH] Also be more verbose when defining properties for ES6, fixes #820 --- cli/targets/static.js | 20 +- tests/data/comments.js | 24 +- tests/data/convert.js | 27 +- tests/data/mapbox/vector_tile.d.ts | 54 ++ tests/data/mapbox/vector_tile.js | 72 ++- tests/data/package.d.ts | 11 + tests/data/package.js | 56 +- tests/data/rpc-es6.js | 24 +- tests/data/rpc.js | 24 +- tests/data/test.d.ts | 714 ++++++++++++++++++++++ tests/data/test.js | 937 ++++++++++++++++++++++------- 11 files changed, 1691 insertions(+), 272 deletions(-) diff --git a/cli/targets/static.js b/cli/targets/static.js index 2f4f88591..c173380bd 100644 --- a/cli/targets/static.js +++ b/cli/targets/static.js @@ -394,9 +394,9 @@ function buildType(ref, type) { jsType = "(" + jsType + "|null)"; pushComment([ field.comment || type.name + " " + field.name + ".", + "@member {" + jsType + "}" + escapeName(field.name), "@memberof " + exportName(type), - "@instance", - "@type {" + jsType + "}" + "@instance" ]); } else if (firstField) { push(""); @@ -432,10 +432,9 @@ function buildType(ref, type) { push(""); pushComment([ oneof.comment || type.name + " " + oneof.name + ".", - "@property " + escapeName(oneof.name), + "@member {string|undefined} " + escapeName(oneof.name), "@memberof " + exportName(type), - "@instance", - "@type {string|undefined}" + "@instance" ]); push("Object.defineProperty(" + escapeName(type.name) + ".prototype, " + JSON.stringify(oneof.name) +", {"); ++indent; @@ -449,6 +448,7 @@ function buildType(ref, type) { push(""); pushComment([ "Creates a new " + type.name + " instance using the specified properties.", + "@function create", "@memberof " + exportName(type), "@static", "@param {" + exportName(type, true) + "=} [properties] Properties to set", @@ -465,6 +465,7 @@ function buildType(ref, type) { push(""); pushComment([ "Encodes the specified " + type.name + " message. Does not implicitly {@link " + exportName(type) + ".verify|verify} messages.", + "@function encode", "@memberof " + exportName(type), "@static", "@param {" + exportName(type, !config.forceMessage) + "} " + (config.beautify ? "message" : "m") + " " + type.name + " message or plain object to encode", @@ -477,6 +478,7 @@ function buildType(ref, type) { push(""); pushComment([ "Encodes the specified " + type.name + " message, length delimited. Does not implicitly {@link " + exportName(type) + ".verify|verify} messages.", + "@function encodeDelimited", "@memberof " + exportName(type), "@static", "@param {" + exportName(type, !config.forceMessage) + "} message " + type.name + " message or plain object to encode", @@ -495,6 +497,7 @@ function buildType(ref, type) { push(""); pushComment([ "Decodes " + aOrAn(type.name) + " message from the specified reader or buffer.", + "@function decode", "@memberof " + exportName(type), "@static", "@param {$protobuf.Reader|Uint8Array} " + (config.beautify ? "reader" : "r") + " Reader or buffer to decode from", @@ -509,6 +512,7 @@ function buildType(ref, type) { push(""); pushComment([ "Decodes " + aOrAn(type.name) + " message from the specified reader or buffer, length delimited.", + "@function decodeDelimited", "@memberof " + exportName(type), "@static", "@param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from", @@ -532,6 +536,7 @@ function buildType(ref, type) { push(""); pushComment([ "Verifies " + aOrAn(type.name) + " message.", + "@function verify", "@memberof " + exportName(type), "@static", "@param {Object.} " + (config.beautify ? "message" : "m") + " Plain object to verify", @@ -544,6 +549,7 @@ function buildType(ref, type) { push(""); pushComment([ "Creates " + aOrAn(type.name) + " message from a plain object. Also converts values to their respective internal types.", + "@function fromObject", "@memberof " + exportName(type), "@static", "@param {Object.} " + (config.beautify ? "object" : "d") + " Plain object", @@ -554,6 +560,7 @@ function buildType(ref, type) { push(""); pushComment([ "Creates a plain object from " + aOrAn(type.name) + " message. Also converts values to other types if specified.", + "@function toObject", "@memberof " + exportName(type), "@static", "@param {" + exportName(type) + "} " + (config.beautify ? "message" : "m") + " " + type.name, @@ -565,6 +572,7 @@ function buildType(ref, type) { push(""); pushComment([ "Converts this " + type.name + " to JSON.", + "@function toJSON", "@memberof " + exportName(type), "@instance", "@returns {Object.} JSON object" @@ -602,6 +610,7 @@ function buildService(ref, service) { push(""); pushComment([ "Creates new " + service.name + " service using the specified rpc implementation.", + "@function create", "@memberof " + exportName(service), "@static", "@param {$protobuf.RPCImpl} rpcImpl RPC implementation", @@ -633,6 +642,7 @@ function buildService(ref, service) { push(""); pushComment([ method.comment || "Calls " + method.name + ".", + "@function " + util.safeProp(lcName), "@memberof " + exportName(service), "@instance", "@param {" + exportName(method.resolvedRequestType, !config.forceMessage) + "} request " + method.resolvedRequestType.name + " message or plain object", diff --git a/tests/data/comments.js b/tests/data/comments.js index 6fb32ebc9..16d627d5e 100644 --- a/tests/data/comments.js +++ b/tests/data/comments.js @@ -39,30 +39,31 @@ $root.Test1 = (function() { /** * Field with a comment. + * @member {string}field1 * @memberof Test1 * @instance - * @type {string} */ Test1.prototype.field1 = ""; /** * Test1 field2. + * @member {number}field2 * @memberof Test1 * @instance - * @type {number} */ Test1.prototype.field2 = 0; /** * Field with a comment and a link + * @member {boolean}field3 * @memberof Test1 * @instance - * @type {boolean} */ Test1.prototype.field3 = false; /** * Creates a new Test1 instance using the specified properties. + * @function create * @memberof Test1 * @static * @param {ITest1=} [properties] Properties to set @@ -74,6 +75,7 @@ $root.Test1 = (function() { /** * Encodes the specified Test1 message. Does not implicitly {@link Test1.verify|verify} messages. + * @function encode * @memberof Test1 * @static * @param {ITest1} message Test1 message or plain object to encode @@ -94,6 +96,7 @@ $root.Test1 = (function() { /** * Encodes the specified Test1 message, length delimited. Does not implicitly {@link Test1.verify|verify} messages. + * @function encodeDelimited * @memberof Test1 * @static * @param {ITest1} message Test1 message or plain object to encode @@ -106,6 +109,7 @@ $root.Test1 = (function() { /** * Decodes a Test1 message from the specified reader or buffer. + * @function decode * @memberof Test1 * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -140,6 +144,7 @@ $root.Test1 = (function() { /** * Decodes a Test1 message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof Test1 * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -155,6 +160,7 @@ $root.Test1 = (function() { /** * Verifies a Test1 message. + * @function verify * @memberof Test1 * @static * @param {Object.} message Plain object to verify @@ -177,6 +183,7 @@ $root.Test1 = (function() { /** * Creates a Test1 message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof Test1 * @static * @param {Object.} object Plain object @@ -197,6 +204,7 @@ $root.Test1 = (function() { /** * Creates a plain object from a Test1 message. Also converts values to other types if specified. + * @function toObject * @memberof Test1 * @static * @param {Test1} message Test1 @@ -223,6 +231,7 @@ $root.Test1 = (function() { /** * Converts this Test1 to JSON. + * @function toJSON * @memberof Test1 * @instance * @returns {Object.} JSON object @@ -258,6 +267,7 @@ $root.Test2 = (function() { /** * Creates a new Test2 instance using the specified properties. + * @function create * @memberof Test2 * @static * @param {ITest2=} [properties] Properties to set @@ -269,6 +279,7 @@ $root.Test2 = (function() { /** * Encodes the specified Test2 message. Does not implicitly {@link Test2.verify|verify} messages. + * @function encode * @memberof Test2 * @static * @param {ITest2} message Test2 message or plain object to encode @@ -283,6 +294,7 @@ $root.Test2 = (function() { /** * Encodes the specified Test2 message, length delimited. Does not implicitly {@link Test2.verify|verify} messages. + * @function encodeDelimited * @memberof Test2 * @static * @param {ITest2} message Test2 message or plain object to encode @@ -295,6 +307,7 @@ $root.Test2 = (function() { /** * Decodes a Test2 message from the specified reader or buffer. + * @function decode * @memberof Test2 * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -320,6 +333,7 @@ $root.Test2 = (function() { /** * Decodes a Test2 message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof Test2 * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -335,6 +349,7 @@ $root.Test2 = (function() { /** * Verifies a Test2 message. + * @function verify * @memberof Test2 * @static * @param {Object.} message Plain object to verify @@ -348,6 +363,7 @@ $root.Test2 = (function() { /** * Creates a Test2 message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof Test2 * @static * @param {Object.} object Plain object @@ -361,6 +377,7 @@ $root.Test2 = (function() { /** * Creates a plain object from a Test2 message. Also converts values to other types if specified. + * @function toObject * @memberof Test2 * @static * @param {Test2} message Test2 @@ -373,6 +390,7 @@ $root.Test2 = (function() { /** * Converts this Test2 to JSON. + * @function toJSON * @memberof Test2 * @instance * @returns {Object.} JSON object diff --git a/tests/data/convert.js b/tests/data/convert.js index 30e39c77b..8d1088962 100644 --- a/tests/data/convert.js +++ b/tests/data/convert.js @@ -47,78 +47,79 @@ $root.Message = (function() { /** * Message stringVal. + * @member {string}stringVal * @memberof Message * @instance - * @type {string} */ Message.prototype.stringVal = ""; /** * Message stringRepeated. + * @member {Array.}stringRepeated * @memberof Message * @instance - * @type {Array.} */ Message.prototype.stringRepeated = $util.emptyArray; /** * Message uint64Val. + * @member {number|Long}uint64Val * @memberof Message * @instance - * @type {number|Long} */ Message.prototype.uint64Val = $util.Long ? $util.Long.fromBits(0,0,true) : 0; /** * Message uint64Repeated. + * @member {Array.}uint64Repeated * @memberof Message * @instance - * @type {Array.} */ Message.prototype.uint64Repeated = $util.emptyArray; /** * Message bytesVal. + * @member {Uint8Array}bytesVal * @memberof Message * @instance - * @type {Uint8Array} */ Message.prototype.bytesVal = $util.newBuffer([]); /** * Message bytesRepeated. + * @member {Array.}bytesRepeated * @memberof Message * @instance - * @type {Array.} */ Message.prototype.bytesRepeated = $util.emptyArray; /** * Message enumVal. + * @member {Message.SomeEnum}enumVal * @memberof Message * @instance - * @type {Message.SomeEnum} */ Message.prototype.enumVal = 1; /** * Message enumRepeated. + * @member {Array.}enumRepeated * @memberof Message * @instance - * @type {Array.} */ Message.prototype.enumRepeated = $util.emptyArray; /** * Message int64Map. + * @member {Object.}int64Map * @memberof Message * @instance - * @type {Object.} */ Message.prototype.int64Map = $util.emptyObject; /** * Creates a new Message instance using the specified properties. + * @function create * @memberof Message * @static * @param {IMessage=} [properties] Properties to set @@ -130,6 +131,7 @@ $root.Message = (function() { /** * Encodes the specified Message message. Does not implicitly {@link Message.verify|verify} messages. + * @function encode * @memberof Message * @static * @param {IMessage} message Message message or plain object to encode @@ -173,6 +175,7 @@ $root.Message = (function() { /** * Encodes the specified Message message, length delimited. Does not implicitly {@link Message.verify|verify} messages. + * @function encodeDelimited * @memberof Message * @static * @param {IMessage} message Message message or plain object to encode @@ -185,6 +188,7 @@ $root.Message = (function() { /** * Decodes a Message message from the specified reader or buffer. + * @function decode * @memberof Message * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -260,6 +264,7 @@ $root.Message = (function() { /** * Decodes a Message message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof Message * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -275,6 +280,7 @@ $root.Message = (function() { /** * Verifies a Message message. + * @function verify * @memberof Message * @static * @param {Object.} message Plain object to verify @@ -346,6 +352,7 @@ $root.Message = (function() { /** * Creates a Message message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof Message * @static * @param {Object.} object Plain object @@ -448,6 +455,7 @@ $root.Message = (function() { /** * Creates a plain object from a Message message. Also converts values to other types if specified. + * @function toObject * @memberof Message * @static * @param {Message} message Message @@ -524,6 +532,7 @@ $root.Message = (function() { /** * Converts this Message to JSON. + * @function toJSON * @memberof Message * @instance * @returns {Object.} JSON object diff --git a/tests/data/mapbox/vector_tile.d.ts b/tests/data/mapbox/vector_tile.d.ts index c7d6f023f..222de07a0 100644 --- a/tests/data/mapbox/vector_tile.d.ts +++ b/tests/data/mapbox/vector_tile.d.ts @@ -8,6 +8,16 @@ export namespace vector_tile { class Tile { constructor(properties?: vector_tile.ITile); + public layers: vector_tile.Tile.ILayer[]; + public static create(properties?: vector_tile.ITile): vector_tile.Tile; + public static encode(message: vector_tile.ITile, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: vector_tile.ITile, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vector_tile.Tile; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vector_tile.Tile; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): vector_tile.Tile; + public static toObject(message: vector_tile.Tile, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } namespace Tile { @@ -31,6 +41,22 @@ export namespace vector_tile { class Value { constructor(properties?: vector_tile.Tile.IValue); + public stringValue: string; + public floatValue: number; + public doubleValue: number; + public intValue: (number|Long); + public uintValue: (number|Long); + public sintValue: (number|Long); + public boolValue: boolean; + public static create(properties?: vector_tile.Tile.IValue): vector_tile.Tile.Value; + public static encode(message: vector_tile.Tile.IValue, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: vector_tile.Tile.IValue, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vector_tile.Tile.Value; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vector_tile.Tile.Value; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): vector_tile.Tile.Value; + public static toObject(message: vector_tile.Tile.Value, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface IFeature { @@ -42,6 +68,19 @@ export namespace vector_tile { class Feature { constructor(properties?: vector_tile.Tile.IFeature); + public id: (number|Long); + public tags: number[]; + public type: vector_tile.Tile.GeomType; + public geometry: number[]; + public static create(properties?: vector_tile.Tile.IFeature): vector_tile.Tile.Feature; + public static encode(message: vector_tile.Tile.IFeature, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: vector_tile.Tile.IFeature, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vector_tile.Tile.Feature; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vector_tile.Tile.Feature; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): vector_tile.Tile.Feature; + public static toObject(message: vector_tile.Tile.Feature, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface ILayer { @@ -55,6 +94,21 @@ export namespace vector_tile { class Layer { constructor(properties?: vector_tile.Tile.ILayer); + public version: number; + public name: string; + public features: vector_tile.Tile.IFeature[]; + public keys: string[]; + public values: vector_tile.Tile.IValue[]; + public extent: number; + public static create(properties?: vector_tile.Tile.ILayer): vector_tile.Tile.Layer; + public static encode(message: vector_tile.Tile.ILayer, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: vector_tile.Tile.ILayer, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vector_tile.Tile.Layer; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vector_tile.Tile.Layer; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): vector_tile.Tile.Layer; + public static toObject(message: vector_tile.Tile.Layer, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } } } diff --git a/tests/data/mapbox/vector_tile.js b/tests/data/mapbox/vector_tile.js index 26a334705..4b7cd1b93 100644 --- a/tests/data/mapbox/vector_tile.js +++ b/tests/data/mapbox/vector_tile.js @@ -44,14 +44,15 @@ $root.vector_tile = (function() { /** * Tile layers. + * @member {Array.}layers * @memberof vector_tile.Tile * @instance - * @type {Array.} */ Tile.prototype.layers = $util.emptyArray; /** * Creates a new Tile instance using the specified properties. + * @function create * @memberof vector_tile.Tile * @static * @param {vector_tile.ITile=} [properties] Properties to set @@ -63,6 +64,7 @@ $root.vector_tile = (function() { /** * Encodes the specified Tile message. Does not implicitly {@link vector_tile.Tile.verify|verify} messages. + * @function encode * @memberof vector_tile.Tile * @static * @param {vector_tile.ITile} message Tile message or plain object to encode @@ -80,6 +82,7 @@ $root.vector_tile = (function() { /** * Encodes the specified Tile message, length delimited. Does not implicitly {@link vector_tile.Tile.verify|verify} messages. + * @function encodeDelimited * @memberof vector_tile.Tile * @static * @param {vector_tile.ITile} message Tile message or plain object to encode @@ -92,6 +95,7 @@ $root.vector_tile = (function() { /** * Decodes a Tile message from the specified reader or buffer. + * @function decode * @memberof vector_tile.Tile * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -122,6 +126,7 @@ $root.vector_tile = (function() { /** * Decodes a Tile message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof vector_tile.Tile * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -137,6 +142,7 @@ $root.vector_tile = (function() { /** * Verifies a Tile message. + * @function verify * @memberof vector_tile.Tile * @static * @param {Object.} message Plain object to verify @@ -159,6 +165,7 @@ $root.vector_tile = (function() { /** * Creates a Tile message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof vector_tile.Tile * @static * @param {Object.} object Plain object @@ -183,6 +190,7 @@ $root.vector_tile = (function() { /** * Creates a plain object from a Tile message. Also converts values to other types if specified. + * @function toObject * @memberof vector_tile.Tile * @static * @param {vector_tile.Tile} message Tile @@ -205,6 +213,7 @@ $root.vector_tile = (function() { /** * Converts this Tile to JSON. + * @function toJSON * @memberof vector_tile.Tile * @instance * @returns {Object.} JSON object @@ -261,62 +270,63 @@ $root.vector_tile = (function() { /** * Value stringValue. + * @member {string}stringValue * @memberof vector_tile.Tile.Value * @instance - * @type {string} */ Value.prototype.stringValue = ""; /** * Value floatValue. + * @member {number}floatValue * @memberof vector_tile.Tile.Value * @instance - * @type {number} */ Value.prototype.floatValue = 0; /** * Value doubleValue. + * @member {number}doubleValue * @memberof vector_tile.Tile.Value * @instance - * @type {number} */ Value.prototype.doubleValue = 0; /** * Value intValue. + * @member {number|Long}intValue * @memberof vector_tile.Tile.Value * @instance - * @type {number|Long} */ Value.prototype.intValue = $util.Long ? $util.Long.fromBits(0,0,false) : 0; /** * Value uintValue. + * @member {number|Long}uintValue * @memberof vector_tile.Tile.Value * @instance - * @type {number|Long} */ Value.prototype.uintValue = $util.Long ? $util.Long.fromBits(0,0,true) : 0; /** * Value sintValue. + * @member {number|Long}sintValue * @memberof vector_tile.Tile.Value * @instance - * @type {number|Long} */ Value.prototype.sintValue = $util.Long ? $util.Long.fromBits(0,0,false) : 0; /** * Value boolValue. + * @member {boolean}boolValue * @memberof vector_tile.Tile.Value * @instance - * @type {boolean} */ Value.prototype.boolValue = false; /** * Creates a new Value instance using the specified properties. + * @function create * @memberof vector_tile.Tile.Value * @static * @param {vector_tile.Tile.IValue=} [properties] Properties to set @@ -328,6 +338,7 @@ $root.vector_tile = (function() { /** * Encodes the specified Value message. Does not implicitly {@link vector_tile.Tile.Value.verify|verify} messages. + * @function encode * @memberof vector_tile.Tile.Value * @static * @param {vector_tile.Tile.IValue} message Value message or plain object to encode @@ -356,6 +367,7 @@ $root.vector_tile = (function() { /** * Encodes the specified Value message, length delimited. Does not implicitly {@link vector_tile.Tile.Value.verify|verify} messages. + * @function encodeDelimited * @memberof vector_tile.Tile.Value * @static * @param {vector_tile.Tile.IValue} message Value message or plain object to encode @@ -368,6 +380,7 @@ $root.vector_tile = (function() { /** * Decodes a Value message from the specified reader or buffer. + * @function decode * @memberof vector_tile.Tile.Value * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -414,6 +427,7 @@ $root.vector_tile = (function() { /** * Decodes a Value message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof vector_tile.Tile.Value * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -429,6 +443,7 @@ $root.vector_tile = (function() { /** * Verifies a Value message. + * @function verify * @memberof vector_tile.Tile.Value * @static * @param {Object.} message Plain object to verify @@ -463,6 +478,7 @@ $root.vector_tile = (function() { /** * Creates a Value message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof vector_tile.Tile.Value * @static * @param {Object.} object Plain object @@ -512,6 +528,7 @@ $root.vector_tile = (function() { /** * Creates a plain object from a Value message. Also converts values to other types if specified. + * @function toObject * @memberof vector_tile.Tile.Value * @static * @param {vector_tile.Tile.Value} message Value @@ -571,6 +588,7 @@ $root.vector_tile = (function() { /** * Converts this Value to JSON. + * @function toJSON * @memberof vector_tile.Tile.Value * @instance * @returns {Object.} JSON object @@ -612,38 +630,39 @@ $root.vector_tile = (function() { /** * Feature id. + * @member {number|Long}id * @memberof vector_tile.Tile.Feature * @instance - * @type {number|Long} */ Feature.prototype.id = $util.Long ? $util.Long.fromBits(0,0,true) : 0; /** * Feature tags. + * @member {Array.}tags * @memberof vector_tile.Tile.Feature * @instance - * @type {Array.} */ Feature.prototype.tags = $util.emptyArray; /** * Feature type. + * @member {vector_tile.Tile.GeomType}type * @memberof vector_tile.Tile.Feature * @instance - * @type {vector_tile.Tile.GeomType} */ Feature.prototype.type = 0; /** * Feature geometry. + * @member {Array.}geometry * @memberof vector_tile.Tile.Feature * @instance - * @type {Array.} */ Feature.prototype.geometry = $util.emptyArray; /** * Creates a new Feature instance using the specified properties. + * @function create * @memberof vector_tile.Tile.Feature * @static * @param {vector_tile.Tile.IFeature=} [properties] Properties to set @@ -655,6 +674,7 @@ $root.vector_tile = (function() { /** * Encodes the specified Feature message. Does not implicitly {@link vector_tile.Tile.Feature.verify|verify} messages. + * @function encode * @memberof vector_tile.Tile.Feature * @static * @param {vector_tile.Tile.IFeature} message Feature message or plain object to encode @@ -685,6 +705,7 @@ $root.vector_tile = (function() { /** * Encodes the specified Feature message, length delimited. Does not implicitly {@link vector_tile.Tile.Feature.verify|verify} messages. + * @function encodeDelimited * @memberof vector_tile.Tile.Feature * @static * @param {vector_tile.Tile.IFeature} message Feature message or plain object to encode @@ -697,6 +718,7 @@ $root.vector_tile = (function() { /** * Decodes a Feature message from the specified reader or buffer. + * @function decode * @memberof vector_tile.Tile.Feature * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -748,6 +770,7 @@ $root.vector_tile = (function() { /** * Decodes a Feature message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof vector_tile.Tile.Feature * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -763,6 +786,7 @@ $root.vector_tile = (function() { /** * Verifies a Feature message. + * @function verify * @memberof vector_tile.Tile.Feature * @static * @param {Object.} message Plain object to verify @@ -803,6 +827,7 @@ $root.vector_tile = (function() { /** * Creates a Feature message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof vector_tile.Tile.Feature * @static * @param {Object.} object Plain object @@ -858,6 +883,7 @@ $root.vector_tile = (function() { /** * Creates a plain object from a Feature message. Also converts values to other types if specified. + * @function toObject * @memberof vector_tile.Tile.Feature * @static * @param {vector_tile.Tile.Feature} message Feature @@ -902,6 +928,7 @@ $root.vector_tile = (function() { /** * Converts this Feature to JSON. + * @function toJSON * @memberof vector_tile.Tile.Feature * @instance * @returns {Object.} JSON object @@ -946,54 +973,55 @@ $root.vector_tile = (function() { /** * Layer version. + * @member {number}version * @memberof vector_tile.Tile.Layer * @instance - * @type {number} */ Layer.prototype.version = 1; /** * Layer name. + * @member {string}name * @memberof vector_tile.Tile.Layer * @instance - * @type {string} */ Layer.prototype.name = ""; /** * Layer features. + * @member {Array.}features * @memberof vector_tile.Tile.Layer * @instance - * @type {Array.} */ Layer.prototype.features = $util.emptyArray; /** * Layer keys. + * @member {Array.}keys * @memberof vector_tile.Tile.Layer * @instance - * @type {Array.} */ Layer.prototype.keys = $util.emptyArray; /** * Layer values. + * @member {Array.}values * @memberof vector_tile.Tile.Layer * @instance - * @type {Array.} */ Layer.prototype.values = $util.emptyArray; /** * Layer extent. + * @member {number}extent * @memberof vector_tile.Tile.Layer * @instance - * @type {number} */ Layer.prototype.extent = 4096; /** * Creates a new Layer instance using the specified properties. + * @function create * @memberof vector_tile.Tile.Layer * @static * @param {vector_tile.Tile.ILayer=} [properties] Properties to set @@ -1005,6 +1033,7 @@ $root.vector_tile = (function() { /** * Encodes the specified Layer message. Does not implicitly {@link vector_tile.Tile.Layer.verify|verify} messages. + * @function encode * @memberof vector_tile.Tile.Layer * @static * @param {vector_tile.Tile.ILayer} message Layer message or plain object to encode @@ -1032,6 +1061,7 @@ $root.vector_tile = (function() { /** * Encodes the specified Layer message, length delimited. Does not implicitly {@link vector_tile.Tile.Layer.verify|verify} messages. + * @function encodeDelimited * @memberof vector_tile.Tile.Layer * @static * @param {vector_tile.Tile.ILayer} message Layer message or plain object to encode @@ -1044,6 +1074,7 @@ $root.vector_tile = (function() { /** * Decodes a Layer message from the specified reader or buffer. + * @function decode * @memberof vector_tile.Tile.Layer * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -1097,6 +1128,7 @@ $root.vector_tile = (function() { /** * Decodes a Layer message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof vector_tile.Tile.Layer * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -1112,6 +1144,7 @@ $root.vector_tile = (function() { /** * Verifies a Layer message. + * @function verify * @memberof vector_tile.Tile.Layer * @static * @param {Object.} message Plain object to verify @@ -1157,6 +1190,7 @@ $root.vector_tile = (function() { /** * Creates a Layer message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof vector_tile.Tile.Layer * @static * @param {Object.} object Plain object @@ -1204,6 +1238,7 @@ $root.vector_tile = (function() { /** * Creates a plain object from a Layer message. Also converts values to other types if specified. + * @function toObject * @memberof vector_tile.Tile.Layer * @static * @param {vector_tile.Tile.Layer} message Layer @@ -1250,6 +1285,7 @@ $root.vector_tile = (function() { /** * Converts this Layer to JSON. + * @function toJSON * @memberof vector_tile.Tile.Layer * @instance * @returns {Object.} JSON object diff --git a/tests/data/package.d.ts b/tests/data/package.d.ts index 63d18d1a1..97a791866 100644 --- a/tests/data/package.d.ts +++ b/tests/data/package.d.ts @@ -59,5 +59,16 @@ export namespace Package { class Repository { constructor(properties?: Package.IRepository); + public type: string; + public url: string; + public static create(properties?: Package.IRepository): Package.Repository; + public static encode(message: Package.IRepository, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: Package.IRepository, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Package.Repository; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Package.Repository; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): Package.Repository; + public static toObject(message: Package.Repository, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } } diff --git a/tests/data/package.js b/tests/data/package.js index ad7041138..cc07514b7 100644 --- a/tests/data/package.js +++ b/tests/data/package.js @@ -56,142 +56,143 @@ $root.Package = (function() { /** * Package name. + * @member {string}name * @memberof Package * @instance - * @type {string} */ Package.prototype.name = ""; /** * Package version. + * @member {string}version * @memberof Package * @instance - * @type {string} */ Package.prototype.version = ""; /** * Package versionScheme. + * @member {string}versionScheme * @memberof Package * @instance - * @type {string} */ Package.prototype.versionScheme = ""; /** * Package description. + * @member {string}description * @memberof Package * @instance - * @type {string} */ Package.prototype.description = ""; /** * Package author. + * @member {string}author * @memberof Package * @instance - * @type {string} */ Package.prototype.author = ""; /** * Package license. + * @member {string}license * @memberof Package * @instance - * @type {string} */ Package.prototype.license = ""; /** * Package repository. + * @member {(Package.IRepository|null)}repository * @memberof Package * @instance - * @type {(Package.IRepository|null)} */ Package.prototype.repository = null; /** * Package bugs. + * @member {string}bugs * @memberof Package * @instance - * @type {string} */ Package.prototype.bugs = ""; /** * Package homepage. + * @member {string}homepage * @memberof Package * @instance - * @type {string} */ Package.prototype.homepage = ""; /** * Package keywords. + * @member {Array.}keywords * @memberof Package * @instance - * @type {Array.} */ Package.prototype.keywords = $util.emptyArray; /** * Package main. + * @member {string}main * @memberof Package * @instance - * @type {string} */ Package.prototype.main = ""; /** * Package bin. + * @member {Object.}bin * @memberof Package * @instance - * @type {Object.} */ Package.prototype.bin = $util.emptyObject; /** * Package scripts. + * @member {Object.}scripts * @memberof Package * @instance - * @type {Object.} */ Package.prototype.scripts = $util.emptyObject; /** * Package dependencies. + * @member {Object.}dependencies * @memberof Package * @instance - * @type {Object.} */ Package.prototype.dependencies = $util.emptyObject; /** * Package devDependencies. + * @member {Object.}devDependencies * @memberof Package * @instance - * @type {Object.} */ Package.prototype.devDependencies = $util.emptyObject; /** * Package types. + * @member {string}types * @memberof Package * @instance - * @type {string} */ Package.prototype.types = ""; /** * Package cliDependencies. + * @member {Array.}cliDependencies * @memberof Package * @instance - * @type {Array.} */ Package.prototype.cliDependencies = $util.emptyArray; /** * Creates a new Package instance using the specified properties. + * @function create * @memberof Package * @static * @param {IPackage=} [properties] Properties to set @@ -203,6 +204,7 @@ $root.Package = (function() { /** * Encodes the specified Package message. Does not implicitly {@link Package.verify|verify} messages. + * @function encode * @memberof Package * @static * @param {IPackage} message Package message or plain object to encode @@ -257,6 +259,7 @@ $root.Package = (function() { /** * Encodes the specified Package message, length delimited. Does not implicitly {@link Package.verify|verify} messages. + * @function encodeDelimited * @memberof Package * @static * @param {IPackage} message Package message or plain object to encode @@ -269,6 +272,7 @@ $root.Package = (function() { /** * Decodes a Package message from the specified reader or buffer. + * @function decode * @memberof Package * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -369,6 +373,7 @@ $root.Package = (function() { /** * Decodes a Package message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof Package * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -384,6 +389,7 @@ $root.Package = (function() { /** * Verifies a Package message. + * @function verify * @memberof Package * @static * @param {Object.} message Plain object to verify @@ -478,6 +484,7 @@ $root.Package = (function() { /** * Creates a Package message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof Package * @static * @param {Object.} object Plain object @@ -559,6 +566,7 @@ $root.Package = (function() { /** * Creates a plain object from a Package message. Also converts values to other types if specified. + * @function toObject * @memberof Package * @static * @param {Package} message Package @@ -650,6 +658,7 @@ $root.Package = (function() { /** * Converts this Package to JSON. + * @function toJSON * @memberof Package * @instance * @returns {Object.} JSON object @@ -684,22 +693,23 @@ $root.Package = (function() { /** * Repository type. + * @member {string}type * @memberof Package.Repository * @instance - * @type {string} */ Repository.prototype.type = ""; /** * Repository url. + * @member {string}url * @memberof Package.Repository * @instance - * @type {string} */ Repository.prototype.url = ""; /** * Creates a new Repository instance using the specified properties. + * @function create * @memberof Package.Repository * @static * @param {Package.IRepository=} [properties] Properties to set @@ -711,6 +721,7 @@ $root.Package = (function() { /** * Encodes the specified Repository message. Does not implicitly {@link Package.Repository.verify|verify} messages. + * @function encode * @memberof Package.Repository * @static * @param {Package.IRepository} message Repository message or plain object to encode @@ -729,6 +740,7 @@ $root.Package = (function() { /** * Encodes the specified Repository message, length delimited. Does not implicitly {@link Package.Repository.verify|verify} messages. + * @function encodeDelimited * @memberof Package.Repository * @static * @param {Package.IRepository} message Repository message or plain object to encode @@ -741,6 +753,7 @@ $root.Package = (function() { /** * Decodes a Repository message from the specified reader or buffer. + * @function decode * @memberof Package.Repository * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -772,6 +785,7 @@ $root.Package = (function() { /** * Decodes a Repository message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof Package.Repository * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -787,6 +801,7 @@ $root.Package = (function() { /** * Verifies a Repository message. + * @function verify * @memberof Package.Repository * @static * @param {Object.} message Plain object to verify @@ -806,6 +821,7 @@ $root.Package = (function() { /** * Creates a Repository message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof Package.Repository * @static * @param {Object.} object Plain object @@ -824,6 +840,7 @@ $root.Package = (function() { /** * Creates a plain object from a Repository message. Also converts values to other types if specified. + * @function toObject * @memberof Package.Repository * @static * @param {Package.Repository} message Repository @@ -847,6 +864,7 @@ $root.Package = (function() { /** * Converts this Repository to JSON. + * @function toJSON * @memberof Package.Repository * @instance * @returns {Object.} JSON object diff --git a/tests/data/rpc-es6.js b/tests/data/rpc-es6.js index 27032c48d..a626331b4 100644 --- a/tests/data/rpc-es6.js +++ b/tests/data/rpc-es6.js @@ -27,6 +27,7 @@ export const MyService = $root.MyService = (() => { /** * Creates new MyService service using the specified rpc implementation. + * @function create * @memberof MyService * @static * @param {$protobuf.RPCImpl} rpcImpl RPC implementation @@ -49,6 +50,7 @@ export const MyService = $root.MyService = (() => { /** * Calls MyMethod. + * @function .myMethod * @memberof MyService * @instance * @param {IMyRequest} request MyRequest message or plain object @@ -98,14 +100,15 @@ export const MyRequest = $root.MyRequest = (() => { /** * MyRequest path. + * @member {string}path * @memberof MyRequest * @instance - * @type {string} */ MyRequest.prototype.path = ""; /** * Creates a new MyRequest instance using the specified properties. + * @function create * @memberof MyRequest * @static * @param {IMyRequest=} [properties] Properties to set @@ -117,6 +120,7 @@ export const MyRequest = $root.MyRequest = (() => { /** * Encodes the specified MyRequest message. Does not implicitly {@link MyRequest.verify|verify} messages. + * @function encode * @memberof MyRequest * @static * @param {IMyRequest} message MyRequest message or plain object to encode @@ -133,6 +137,7 @@ export const MyRequest = $root.MyRequest = (() => { /** * Encodes the specified MyRequest message, length delimited. Does not implicitly {@link MyRequest.verify|verify} messages. + * @function encodeDelimited * @memberof MyRequest * @static * @param {IMyRequest} message MyRequest message or plain object to encode @@ -145,6 +150,7 @@ export const MyRequest = $root.MyRequest = (() => { /** * Decodes a MyRequest message from the specified reader or buffer. + * @function decode * @memberof MyRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -173,6 +179,7 @@ export const MyRequest = $root.MyRequest = (() => { /** * Decodes a MyRequest message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof MyRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -188,6 +195,7 @@ export const MyRequest = $root.MyRequest = (() => { /** * Verifies a MyRequest message. + * @function verify * @memberof MyRequest * @static * @param {Object.} message Plain object to verify @@ -204,6 +212,7 @@ export const MyRequest = $root.MyRequest = (() => { /** * Creates a MyRequest message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof MyRequest * @static * @param {Object.} object Plain object @@ -220,6 +229,7 @@ export const MyRequest = $root.MyRequest = (() => { /** * Creates a plain object from a MyRequest message. Also converts values to other types if specified. + * @function toObject * @memberof MyRequest * @static * @param {MyRequest} message MyRequest @@ -239,6 +249,7 @@ export const MyRequest = $root.MyRequest = (() => { /** * Converts this MyRequest to JSON. + * @function toJSON * @memberof MyRequest * @instance * @returns {Object.} JSON object @@ -275,14 +286,15 @@ export const MyResponse = $root.MyResponse = (() => { /** * MyResponse status. + * @member {number}status * @memberof MyResponse * @instance - * @type {number} */ MyResponse.prototype.status = 0; /** * Creates a new MyResponse instance using the specified properties. + * @function create * @memberof MyResponse * @static * @param {IMyResponse=} [properties] Properties to set @@ -294,6 +306,7 @@ export const MyResponse = $root.MyResponse = (() => { /** * Encodes the specified MyResponse message. Does not implicitly {@link MyResponse.verify|verify} messages. + * @function encode * @memberof MyResponse * @static * @param {IMyResponse} message MyResponse message or plain object to encode @@ -310,6 +323,7 @@ export const MyResponse = $root.MyResponse = (() => { /** * Encodes the specified MyResponse message, length delimited. Does not implicitly {@link MyResponse.verify|verify} messages. + * @function encodeDelimited * @memberof MyResponse * @static * @param {IMyResponse} message MyResponse message or plain object to encode @@ -322,6 +336,7 @@ export const MyResponse = $root.MyResponse = (() => { /** * Decodes a MyResponse message from the specified reader or buffer. + * @function decode * @memberof MyResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -350,6 +365,7 @@ export const MyResponse = $root.MyResponse = (() => { /** * Decodes a MyResponse message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof MyResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -365,6 +381,7 @@ export const MyResponse = $root.MyResponse = (() => { /** * Verifies a MyResponse message. + * @function verify * @memberof MyResponse * @static * @param {Object.} message Plain object to verify @@ -381,6 +398,7 @@ export const MyResponse = $root.MyResponse = (() => { /** * Creates a MyResponse message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof MyResponse * @static * @param {Object.} object Plain object @@ -397,6 +415,7 @@ export const MyResponse = $root.MyResponse = (() => { /** * Creates a plain object from a MyResponse message. Also converts values to other types if specified. + * @function toObject * @memberof MyResponse * @static * @param {MyResponse} message MyResponse @@ -416,6 +435,7 @@ export const MyResponse = $root.MyResponse = (() => { /** * Converts this MyResponse to JSON. + * @function toJSON * @memberof MyResponse * @instance * @returns {Object.} JSON object diff --git a/tests/data/rpc.js b/tests/data/rpc.js index 001c9d962..89384ab3d 100644 --- a/tests/data/rpc.js +++ b/tests/data/rpc.js @@ -29,6 +29,7 @@ $root.MyService = (function() { /** * Creates new MyService service using the specified rpc implementation. + * @function create * @memberof MyService * @static * @param {$protobuf.RPCImpl} rpcImpl RPC implementation @@ -51,6 +52,7 @@ $root.MyService = (function() { /** * Calls MyMethod. + * @function .myMethod * @memberof MyService * @instance * @param {IMyRequest} request MyRequest message or plain object @@ -100,14 +102,15 @@ $root.MyRequest = (function() { /** * MyRequest path. + * @member {string}path * @memberof MyRequest * @instance - * @type {string} */ MyRequest.prototype.path = ""; /** * Creates a new MyRequest instance using the specified properties. + * @function create * @memberof MyRequest * @static * @param {IMyRequest=} [properties] Properties to set @@ -119,6 +122,7 @@ $root.MyRequest = (function() { /** * Encodes the specified MyRequest message. Does not implicitly {@link MyRequest.verify|verify} messages. + * @function encode * @memberof MyRequest * @static * @param {IMyRequest} message MyRequest message or plain object to encode @@ -135,6 +139,7 @@ $root.MyRequest = (function() { /** * Encodes the specified MyRequest message, length delimited. Does not implicitly {@link MyRequest.verify|verify} messages. + * @function encodeDelimited * @memberof MyRequest * @static * @param {IMyRequest} message MyRequest message or plain object to encode @@ -147,6 +152,7 @@ $root.MyRequest = (function() { /** * Decodes a MyRequest message from the specified reader or buffer. + * @function decode * @memberof MyRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -175,6 +181,7 @@ $root.MyRequest = (function() { /** * Decodes a MyRequest message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof MyRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -190,6 +197,7 @@ $root.MyRequest = (function() { /** * Verifies a MyRequest message. + * @function verify * @memberof MyRequest * @static * @param {Object.} message Plain object to verify @@ -206,6 +214,7 @@ $root.MyRequest = (function() { /** * Creates a MyRequest message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof MyRequest * @static * @param {Object.} object Plain object @@ -222,6 +231,7 @@ $root.MyRequest = (function() { /** * Creates a plain object from a MyRequest message. Also converts values to other types if specified. + * @function toObject * @memberof MyRequest * @static * @param {MyRequest} message MyRequest @@ -241,6 +251,7 @@ $root.MyRequest = (function() { /** * Converts this MyRequest to JSON. + * @function toJSON * @memberof MyRequest * @instance * @returns {Object.} JSON object @@ -277,14 +288,15 @@ $root.MyResponse = (function() { /** * MyResponse status. + * @member {number}status * @memberof MyResponse * @instance - * @type {number} */ MyResponse.prototype.status = 0; /** * Creates a new MyResponse instance using the specified properties. + * @function create * @memberof MyResponse * @static * @param {IMyResponse=} [properties] Properties to set @@ -296,6 +308,7 @@ $root.MyResponse = (function() { /** * Encodes the specified MyResponse message. Does not implicitly {@link MyResponse.verify|verify} messages. + * @function encode * @memberof MyResponse * @static * @param {IMyResponse} message MyResponse message or plain object to encode @@ -312,6 +325,7 @@ $root.MyResponse = (function() { /** * Encodes the specified MyResponse message, length delimited. Does not implicitly {@link MyResponse.verify|verify} messages. + * @function encodeDelimited * @memberof MyResponse * @static * @param {IMyResponse} message MyResponse message or plain object to encode @@ -324,6 +338,7 @@ $root.MyResponse = (function() { /** * Decodes a MyResponse message from the specified reader or buffer. + * @function decode * @memberof MyResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -352,6 +367,7 @@ $root.MyResponse = (function() { /** * Decodes a MyResponse message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof MyResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -367,6 +383,7 @@ $root.MyResponse = (function() { /** * Verifies a MyResponse message. + * @function verify * @memberof MyResponse * @static * @param {Object.} message Plain object to verify @@ -383,6 +400,7 @@ $root.MyResponse = (function() { /** * Creates a MyResponse message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof MyResponse * @static * @param {Object.} object Plain object @@ -399,6 +417,7 @@ $root.MyResponse = (function() { /** * Creates a plain object from a MyResponse message. Also converts values to other types if specified. + * @function toObject * @memberof MyResponse * @static * @param {MyResponse} message MyResponse @@ -418,6 +437,7 @@ $root.MyResponse = (function() { /** * Converts this MyResponse to JSON. + * @function toJSON * @memberof MyResponse * @instance * @returns {Object.} JSON object diff --git a/tests/data/test.d.ts b/tests/data/test.d.ts index e67ba616d..27d632baf 100644 --- a/tests/data/test.d.ts +++ b/tests/data/test.d.ts @@ -9,6 +9,15 @@ export namespace jspb { class Empty { constructor(properties?: jspb.test.IEmpty); + public static create(properties?: jspb.test.IEmpty): jspb.test.Empty; + public static encode(message: jspb.test.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.Empty; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.Empty; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.Empty; + public static toObject(message: jspb.test.Empty, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } enum OuterEnum { @@ -22,6 +31,16 @@ export namespace jspb { class EnumContainer { constructor(properties?: jspb.test.IEnumContainer); + public outerEnum: jspb.test.OuterEnum; + public static create(properties?: jspb.test.IEnumContainer): jspb.test.EnumContainer; + public static encode(message: jspb.test.IEnumContainer, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.IEnumContainer, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.EnumContainer; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.EnumContainer; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.EnumContainer; + public static toObject(message: jspb.test.EnumContainer, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface ISimple1 { @@ -32,6 +51,18 @@ export namespace jspb { class Simple1 { constructor(properties?: jspb.test.ISimple1); + public aString: string; + public aRepeatedString: string[]; + public aBoolean: boolean; + public static create(properties?: jspb.test.ISimple1): jspb.test.Simple1; + public static encode(message: jspb.test.ISimple1, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.ISimple1, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.Simple1; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.Simple1; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.Simple1; + public static toObject(message: jspb.test.Simple1, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface ISimple2 { @@ -41,6 +72,17 @@ export namespace jspb { class Simple2 { constructor(properties?: jspb.test.ISimple2); + public aString: string; + public aRepeatedString: string[]; + public static create(properties?: jspb.test.ISimple2): jspb.test.Simple2; + public static encode(message: jspb.test.ISimple2, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.ISimple2, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.Simple2; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.Simple2; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.Simple2; + public static toObject(message: jspb.test.Simple2, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface ISpecialCases { @@ -52,6 +94,19 @@ export namespace jspb { class SpecialCases { constructor(properties?: jspb.test.ISpecialCases); + public normal: string; + public default_: string; + public function_: string; + public var_: string; + public static create(properties?: jspb.test.ISpecialCases): jspb.test.SpecialCases; + public static encode(message: jspb.test.ISpecialCases, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.ISpecialCases, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.SpecialCases; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.SpecialCases; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.SpecialCases; + public static toObject(message: jspb.test.SpecialCases, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface IOptionalFields { @@ -64,6 +119,20 @@ export namespace jspb { class OptionalFields { constructor(properties?: jspb.test.IOptionalFields); + public aString: string; + public aBool: boolean; + public aNestedMessage: (jspb.test.OptionalFields.INested|null); + public aRepeatedMessage: jspb.test.OptionalFields.INested[]; + public aRepeatedString: string[]; + public static create(properties?: jspb.test.IOptionalFields): jspb.test.OptionalFields; + public static encode(message: jspb.test.IOptionalFields, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.IOptionalFields, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.OptionalFields; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.OptionalFields; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.OptionalFields; + public static toObject(message: jspb.test.OptionalFields, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } namespace OptionalFields { @@ -74,6 +143,16 @@ export namespace jspb { class Nested { constructor(properties?: jspb.test.OptionalFields.INested); + public anInt: number; + public static create(properties?: jspb.test.OptionalFields.INested): jspb.test.OptionalFields.Nested; + public static encode(message: jspb.test.OptionalFields.INested, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.OptionalFields.INested, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.OptionalFields.Nested; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.OptionalFields.Nested; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.OptionalFields.Nested; + public static toObject(message: jspb.test.OptionalFields.Nested, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } } @@ -91,6 +170,18 @@ export namespace jspb { class HasExtensions { constructor(properties?: jspb.test.IHasExtensions); + public str1: string; + public str2: string; + public str3: string; + public static create(properties?: jspb.test.IHasExtensions): jspb.test.HasExtensions; + public static encode(message: jspb.test.IHasExtensions, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.IHasExtensions, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.HasExtensions; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.HasExtensions; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.HasExtensions; + public static toObject(message: jspb.test.HasExtensions, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface IComplex { @@ -103,6 +194,20 @@ export namespace jspb { class Complex { constructor(properties?: jspb.test.IComplex); + public aString: string; + public anOutOfOrderBool: boolean; + public aNestedMessage: (jspb.test.Complex.INested|null); + public aRepeatedMessage: jspb.test.Complex.INested[]; + public aRepeatedString: string[]; + public static create(properties?: jspb.test.IComplex): jspb.test.Complex; + public static encode(message: jspb.test.IComplex, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.IComplex, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.Complex; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.Complex; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.Complex; + public static toObject(message: jspb.test.Complex, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } namespace Complex { @@ -113,6 +218,16 @@ export namespace jspb { class Nested { constructor(properties?: jspb.test.Complex.INested); + public anInt: number; + public static create(properties?: jspb.test.Complex.INested): jspb.test.Complex.Nested; + public static encode(message: jspb.test.Complex.INested, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.Complex.INested, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.Complex.Nested; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.Complex.Nested; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.Complex.Nested; + public static toObject(message: jspb.test.Complex.Nested, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } } @@ -121,6 +236,15 @@ export namespace jspb { class OuterMessage { constructor(properties?: jspb.test.IOuterMessage); + public static create(properties?: jspb.test.IOuterMessage): jspb.test.OuterMessage; + public static encode(message: jspb.test.IOuterMessage, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.IOuterMessage, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.OuterMessage; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.OuterMessage; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.OuterMessage; + public static toObject(message: jspb.test.OuterMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } namespace OuterMessage { @@ -131,6 +255,16 @@ export namespace jspb { class Complex { constructor(properties?: jspb.test.OuterMessage.IComplex); + public innerComplexField: number; + public static create(properties?: jspb.test.OuterMessage.IComplex): jspb.test.OuterMessage.Complex; + public static encode(message: jspb.test.OuterMessage.IComplex, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.OuterMessage.IComplex, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.OuterMessage.Complex; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.OuterMessage.Complex; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.OuterMessage.Complex; + public static toObject(message: jspb.test.OuterMessage.Complex, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } } @@ -140,6 +274,16 @@ export namespace jspb { class IsExtension { constructor(properties?: jspb.test.IIsExtension); + public ext1: string; + public static create(properties?: jspb.test.IIsExtension): jspb.test.IsExtension; + public static encode(message: jspb.test.IIsExtension, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.IIsExtension, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.IsExtension; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.IsExtension; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.IsExtension; + public static toObject(message: jspb.test.IsExtension, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface IIndirectExtension { @@ -147,6 +291,15 @@ export namespace jspb { class IndirectExtension { constructor(properties?: jspb.test.IIndirectExtension); + public static create(properties?: jspb.test.IIndirectExtension): jspb.test.IndirectExtension; + public static encode(message: jspb.test.IIndirectExtension, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.IIndirectExtension, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.IndirectExtension; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.IndirectExtension; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.IndirectExtension; + public static toObject(message: jspb.test.IndirectExtension, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface IDefaultValues { @@ -160,6 +313,21 @@ export namespace jspb { class DefaultValues { constructor(properties?: jspb.test.IDefaultValues); + public stringField: string; + public boolField: boolean; + public intField: (number|Long); + public enumField: jspb.test.DefaultValues.Enum; + public emptyField: string; + public bytesField: Uint8Array; + public static create(properties?: jspb.test.IDefaultValues): jspb.test.DefaultValues; + public static encode(message: jspb.test.IDefaultValues, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.IDefaultValues, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.DefaultValues; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.DefaultValues; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.DefaultValues; + public static toObject(message: jspb.test.DefaultValues, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } namespace DefaultValues { @@ -183,6 +351,23 @@ export namespace jspb { class FloatingPointFields { constructor(properties?: jspb.test.IFloatingPointFields); + public optionalFloatField: number; + public requiredFloatField: number; + public repeatedFloatField: number[]; + public defaultFloatField: number; + public optionalDoubleField: number; + public requiredDoubleField: number; + public repeatedDoubleField: number[]; + public defaultDoubleField: number; + public static create(properties?: jspb.test.IFloatingPointFields): jspb.test.FloatingPointFields; + public static encode(message: jspb.test.IFloatingPointFields, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.IFloatingPointFields, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.FloatingPointFields; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.FloatingPointFields; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.FloatingPointFields; + public static toObject(message: jspb.test.FloatingPointFields, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface ITestClone { @@ -196,6 +381,20 @@ export namespace jspb { class TestClone { constructor(properties?: jspb.test.ITestClone); + public str: string; + public simple1: (jspb.test.ISimple1|null); + public simple2: jspb.test.ISimple1[]; + public bytesField: Uint8Array; + public unused: string; + public static create(properties?: jspb.test.ITestClone): jspb.test.TestClone; + public static encode(message: jspb.test.ITestClone, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.ITestClone, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.TestClone; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.TestClone; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.TestClone; + public static toObject(message: jspb.test.TestClone, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface ICloneExtension { @@ -204,6 +403,16 @@ export namespace jspb { class CloneExtension { constructor(properties?: jspb.test.ICloneExtension); + public ext: string; + public static create(properties?: jspb.test.ICloneExtension): jspb.test.CloneExtension; + public static encode(message: jspb.test.ICloneExtension, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.ICloneExtension, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.CloneExtension; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.CloneExtension; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.CloneExtension; + public static toObject(message: jspb.test.CloneExtension, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface ITestGroup { @@ -217,6 +426,21 @@ export namespace jspb { class TestGroup { constructor(properties?: jspb.test.ITestGroup); + public repeatedGroup: jspb.test.TestGroup.IRepeatedGroup[]; + public requiredGroup: jspb.test.TestGroup.IRequiredGroup; + public optionalGroup: (jspb.test.TestGroup.IOptionalGroup|null); + public id: string; + public requiredSimple: jspb.test.ISimple2; + public optionalSimple: (jspb.test.ISimple2|null); + public static create(properties?: jspb.test.ITestGroup): jspb.test.TestGroup; + public static encode(message: jspb.test.ITestGroup, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.ITestGroup, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.TestGroup; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.TestGroup; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.TestGroup; + public static toObject(message: jspb.test.TestGroup, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } namespace TestGroup { @@ -228,6 +452,17 @@ export namespace jspb { class RepeatedGroup { constructor(properties?: jspb.test.TestGroup.IRepeatedGroup); + public id: string; + public someBool: boolean[]; + public static create(properties?: jspb.test.TestGroup.IRepeatedGroup): jspb.test.TestGroup.RepeatedGroup; + public static encode(message: jspb.test.TestGroup.IRepeatedGroup, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.TestGroup.IRepeatedGroup, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.TestGroup.RepeatedGroup; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.TestGroup.RepeatedGroup; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.TestGroup.RepeatedGroup; + public static toObject(message: jspb.test.TestGroup.RepeatedGroup, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface IRequiredGroup { @@ -236,6 +471,16 @@ export namespace jspb { class RequiredGroup { constructor(properties?: jspb.test.TestGroup.IRequiredGroup); + public id: string; + public static create(properties?: jspb.test.TestGroup.IRequiredGroup): jspb.test.TestGroup.RequiredGroup; + public static encode(message: jspb.test.TestGroup.IRequiredGroup, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.TestGroup.IRequiredGroup, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.TestGroup.RequiredGroup; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.TestGroup.RequiredGroup; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.TestGroup.RequiredGroup; + public static toObject(message: jspb.test.TestGroup.RequiredGroup, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface IOptionalGroup { @@ -244,6 +489,16 @@ export namespace jspb { class OptionalGroup { constructor(properties?: jspb.test.TestGroup.IOptionalGroup); + public id: string; + public static create(properties?: jspb.test.TestGroup.IOptionalGroup): jspb.test.TestGroup.OptionalGroup; + public static encode(message: jspb.test.TestGroup.IOptionalGroup, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.TestGroup.IOptionalGroup, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.TestGroup.OptionalGroup; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.TestGroup.OptionalGroup; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.TestGroup.OptionalGroup; + public static toObject(message: jspb.test.TestGroup.OptionalGroup, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } } @@ -253,6 +508,16 @@ export namespace jspb { class TestGroup1 { constructor(properties?: jspb.test.ITestGroup1); + public group: (jspb.test.TestGroup.IRepeatedGroup|null); + public static create(properties?: jspb.test.ITestGroup1): jspb.test.TestGroup1; + public static encode(message: jspb.test.ITestGroup1, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.ITestGroup1, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.TestGroup1; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.TestGroup1; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.TestGroup1; + public static toObject(message: jspb.test.TestGroup1, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface ITestReservedNames { @@ -262,6 +527,16 @@ export namespace jspb { class TestReservedNames { constructor(properties?: jspb.test.ITestReservedNames); + public extension: number; + public static create(properties?: jspb.test.ITestReservedNames): jspb.test.TestReservedNames; + public static encode(message: jspb.test.ITestReservedNames, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.ITestReservedNames, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.TestReservedNames; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.TestReservedNames; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.TestReservedNames; + public static toObject(message: jspb.test.TestReservedNames, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface ITestReservedNamesExtension { @@ -269,6 +544,15 @@ export namespace jspb { class TestReservedNamesExtension { constructor(properties?: jspb.test.ITestReservedNamesExtension); + public static create(properties?: jspb.test.ITestReservedNamesExtension): jspb.test.TestReservedNamesExtension; + public static encode(message: jspb.test.ITestReservedNamesExtension, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.ITestReservedNamesExtension, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.TestReservedNamesExtension; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.TestReservedNamesExtension; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.TestReservedNamesExtension; + public static toObject(message: jspb.test.TestReservedNamesExtension, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface ITestMessageWithOneof { @@ -286,6 +570,29 @@ export namespace jspb { class TestMessageWithOneof { constructor(properties?: jspb.test.ITestMessageWithOneof); + public pone: string; + public pthree: string; + public rone: (jspb.test.ITestMessageWithOneof|null); + public rtwo: string; + public normalField: boolean; + public repeatedField: string[]; + public aone: number; + public atwo: number; + public bone: number; + public btwo: number; + public partialOneof?: string; + public recursiveOneof?: string; + public defaultOneofA?: string; + public defaultOneofB?: string; + public static create(properties?: jspb.test.ITestMessageWithOneof): jspb.test.TestMessageWithOneof; + public static encode(message: jspb.test.ITestMessageWithOneof, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.ITestMessageWithOneof, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.TestMessageWithOneof; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.TestMessageWithOneof; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.TestMessageWithOneof; + public static toObject(message: jspb.test.TestMessageWithOneof, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface ITestEndsWithBytes { @@ -295,6 +602,17 @@ export namespace jspb { class TestEndsWithBytes { constructor(properties?: jspb.test.ITestEndsWithBytes); + public value: number; + public data: Uint8Array; + public static create(properties?: jspb.test.ITestEndsWithBytes): jspb.test.TestEndsWithBytes; + public static encode(message: jspb.test.ITestEndsWithBytes, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.ITestEndsWithBytes, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.TestEndsWithBytes; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.TestEndsWithBytes; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.TestEndsWithBytes; + public static toObject(message: jspb.test.TestEndsWithBytes, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface ITestMapFieldsNoBinary { @@ -314,6 +632,27 @@ export namespace jspb { class TestMapFieldsNoBinary { constructor(properties?: jspb.test.ITestMapFieldsNoBinary); + public mapStringString: { [k: string]: string }; + public mapStringInt32: { [k: string]: number }; + public mapStringInt64: { [k: string]: (number|Long) }; + public mapStringBool: { [k: string]: boolean }; + public mapStringDouble: { [k: string]: number }; + public mapStringEnum: { [k: string]: jspb.test.MapValueEnumNoBinary }; + public mapStringMsg: { [k: string]: jspb.test.IMapValueMessageNoBinary }; + public mapInt32String: { [k: string]: string }; + public mapInt64String: { [k: string]: string }; + public mapBoolString: { [k: string]: string }; + public testMapFields: (jspb.test.ITestMapFieldsNoBinary|null); + public mapStringTestmapfields: { [k: string]: jspb.test.ITestMapFieldsNoBinary }; + public static create(properties?: jspb.test.ITestMapFieldsNoBinary): jspb.test.TestMapFieldsNoBinary; + public static encode(message: jspb.test.ITestMapFieldsNoBinary, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.ITestMapFieldsNoBinary, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.TestMapFieldsNoBinary; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.TestMapFieldsNoBinary; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.TestMapFieldsNoBinary; + public static toObject(message: jspb.test.TestMapFieldsNoBinary, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } enum MapValueEnumNoBinary { @@ -328,6 +667,16 @@ export namespace jspb { class MapValueMessageNoBinary { constructor(properties?: jspb.test.IMapValueMessageNoBinary); + public foo: number; + public static create(properties?: jspb.test.IMapValueMessageNoBinary): jspb.test.MapValueMessageNoBinary; + public static encode(message: jspb.test.IMapValueMessageNoBinary, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.IMapValueMessageNoBinary, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.MapValueMessageNoBinary; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.MapValueMessageNoBinary; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.MapValueMessageNoBinary; + public static toObject(message: jspb.test.MapValueMessageNoBinary, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface IDeeply { @@ -335,6 +684,15 @@ export namespace jspb { class Deeply { constructor(properties?: jspb.test.IDeeply); + public static create(properties?: jspb.test.IDeeply): jspb.test.Deeply; + public static encode(message: jspb.test.IDeeply, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.IDeeply, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.Deeply; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.Deeply; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.Deeply; + public static toObject(message: jspb.test.Deeply, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } namespace Deeply { @@ -344,6 +702,15 @@ export namespace jspb { class Nested { constructor(properties?: jspb.test.Deeply.INested); + public static create(properties?: jspb.test.Deeply.INested): jspb.test.Deeply.Nested; + public static encode(message: jspb.test.Deeply.INested, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.Deeply.INested, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.Deeply.Nested; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.Deeply.Nested; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.Deeply.Nested; + public static toObject(message: jspb.test.Deeply.Nested, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } namespace Nested { @@ -354,6 +721,16 @@ export namespace jspb { class Message { constructor(properties?: jspb.test.Deeply.Nested.IMessage); + public count: number; + public static create(properties?: jspb.test.Deeply.Nested.IMessage): jspb.test.Deeply.Nested.Message; + public static encode(message: jspb.test.Deeply.Nested.IMessage, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: jspb.test.Deeply.Nested.IMessage, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.Deeply.Nested.Message; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.Deeply.Nested.Message; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): jspb.test.Deeply.Nested.Message; + public static toObject(message: jspb.test.Deeply.Nested.Message, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } } } @@ -370,6 +747,16 @@ export namespace google { class FileDescriptorSet { constructor(properties?: google.protobuf.IFileDescriptorSet); + public file: google.protobuf.IFileDescriptorProto[]; + public static create(properties?: google.protobuf.IFileDescriptorSet): google.protobuf.FileDescriptorSet; + public static encode(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorSet; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorSet; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorSet; + public static toObject(message: google.protobuf.FileDescriptorSet, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface IFileDescriptorProto { @@ -389,6 +776,27 @@ export namespace google { class FileDescriptorProto { constructor(properties?: google.protobuf.IFileDescriptorProto); + public name: string; + public package_: string; + public dependency: string[]; + public publicDependency: number[]; + public weakDependency: number[]; + public messageType: google.protobuf.IDescriptorProto[]; + public enumType: google.protobuf.IEnumDescriptorProto[]; + public service: google.protobuf.IServiceDescriptorProto[]; + public extension: google.protobuf.IFieldDescriptorProto[]; + public options: (google.protobuf.IFileOptions|null); + public sourceCodeInfo: (google.protobuf.ISourceCodeInfo|null); + public syntax: string; + public static create(properties?: google.protobuf.IFileDescriptorProto): google.protobuf.FileDescriptorProto; + public static encode(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorProto; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorProto; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorProto; + public static toObject(message: google.protobuf.FileDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface IDescriptorProto { @@ -406,6 +814,25 @@ export namespace google { class DescriptorProto { constructor(properties?: google.protobuf.IDescriptorProto); + public name: string; + public field: google.protobuf.IFieldDescriptorProto[]; + public extension: google.protobuf.IFieldDescriptorProto[]; + public nestedType: google.protobuf.IDescriptorProto[]; + public enumType: google.protobuf.IEnumDescriptorProto[]; + public extensionRange: google.protobuf.DescriptorProto.IExtensionRange[]; + public oneofDecl: google.protobuf.IOneofDescriptorProto[]; + public options: (google.protobuf.IMessageOptions|null); + public reservedRange: google.protobuf.DescriptorProto.IReservedRange[]; + public reservedName: string[]; + public static create(properties?: google.protobuf.IDescriptorProto): google.protobuf.DescriptorProto; + public static encode(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto; + public static toObject(message: google.protobuf.DescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } namespace DescriptorProto { @@ -417,6 +844,17 @@ export namespace google { class ExtensionRange { constructor(properties?: google.protobuf.DescriptorProto.IExtensionRange); + public start: number; + public end: number; + public static create(properties?: google.protobuf.DescriptorProto.IExtensionRange): google.protobuf.DescriptorProto.ExtensionRange; + public static encode(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ExtensionRange; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ExtensionRange; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange; + public static toObject(message: google.protobuf.DescriptorProto.ExtensionRange, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface IReservedRange { @@ -426,6 +864,17 @@ export namespace google { class ReservedRange { constructor(properties?: google.protobuf.DescriptorProto.IReservedRange); + public start: number; + public end: number; + public static create(properties?: google.protobuf.DescriptorProto.IReservedRange): google.protobuf.DescriptorProto.ReservedRange; + public static encode(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ReservedRange; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ReservedRange; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange; + public static toObject(message: google.protobuf.DescriptorProto.ReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } } @@ -444,6 +893,25 @@ export namespace google { class FieldDescriptorProto { constructor(properties?: google.protobuf.IFieldDescriptorProto); + public name: string; + public number: number; + public label: google.protobuf.FieldDescriptorProto.Label; + public type: google.protobuf.FieldDescriptorProto.Type; + public typeName: string; + public extendee: string; + public defaultValue: string; + public oneofIndex: number; + public jsonName: string; + public options: (google.protobuf.IFieldOptions|null); + public static create(properties?: google.protobuf.IFieldDescriptorProto): google.protobuf.FieldDescriptorProto; + public static encode(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldDescriptorProto; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldDescriptorProto; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): google.protobuf.FieldDescriptorProto; + public static toObject(message: google.protobuf.FieldDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } namespace FieldDescriptorProto { @@ -483,6 +951,17 @@ export namespace google { class OneofDescriptorProto { constructor(properties?: google.protobuf.IOneofDescriptorProto); + public name: string; + public options: (google.protobuf.IOneofOptions|null); + public static create(properties?: google.protobuf.IOneofDescriptorProto): google.protobuf.OneofDescriptorProto; + public static encode(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofDescriptorProto; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofDescriptorProto; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): google.protobuf.OneofDescriptorProto; + public static toObject(message: google.protobuf.OneofDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface IEnumDescriptorProto { @@ -493,6 +972,18 @@ export namespace google { class EnumDescriptorProto { constructor(properties?: google.protobuf.IEnumDescriptorProto); + public name: string; + public value: google.protobuf.IEnumValueDescriptorProto[]; + public options: (google.protobuf.IEnumOptions|null); + public static create(properties?: google.protobuf.IEnumDescriptorProto): google.protobuf.EnumDescriptorProto; + public static encode(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto; + public static toObject(message: google.protobuf.EnumDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface IEnumValueDescriptorProto { @@ -503,6 +994,18 @@ export namespace google { class EnumValueDescriptorProto { constructor(properties?: google.protobuf.IEnumValueDescriptorProto); + public name: string; + public number: number; + public options: (google.protobuf.IEnumValueOptions|null); + public static create(properties?: google.protobuf.IEnumValueDescriptorProto): google.protobuf.EnumValueDescriptorProto; + public static encode(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueDescriptorProto; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueDescriptorProto; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto; + public static toObject(message: google.protobuf.EnumValueDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface IServiceDescriptorProto { @@ -513,6 +1016,18 @@ export namespace google { class ServiceDescriptorProto { constructor(properties?: google.protobuf.IServiceDescriptorProto); + public name: string; + public method: google.protobuf.IMethodDescriptorProto[]; + public options: (google.protobuf.IServiceOptions|null); + public static create(properties?: google.protobuf.IServiceDescriptorProto): google.protobuf.ServiceDescriptorProto; + public static encode(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceDescriptorProto; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceDescriptorProto; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceDescriptorProto; + public static toObject(message: google.protobuf.ServiceDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface IMethodDescriptorProto { @@ -526,6 +1041,21 @@ export namespace google { class MethodDescriptorProto { constructor(properties?: google.protobuf.IMethodDescriptorProto); + public name: string; + public inputType: string; + public outputType: string; + public options: (google.protobuf.IMethodOptions|null); + public clientStreaming: boolean; + public serverStreaming: boolean; + public static create(properties?: google.protobuf.IMethodDescriptorProto): google.protobuf.MethodDescriptorProto; + public static encode(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodDescriptorProto; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodDescriptorProto; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): google.protobuf.MethodDescriptorProto; + public static toObject(message: google.protobuf.MethodDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface IFileOptions { @@ -548,6 +1078,30 @@ export namespace google { class FileOptions { constructor(properties?: google.protobuf.IFileOptions); + public javaPackage: string; + public javaOuterClassname: string; + public javaMultipleFiles: boolean; + public javaGenerateEqualsAndHash: boolean; + public javaStringCheckUtf8: boolean; + public optimizeFor: google.protobuf.FileOptions.OptimizeMode; + public goPackage: string; + public ccGenericServices: boolean; + public javaGenericServices: boolean; + public pyGenericServices: boolean; + public deprecated: boolean; + public ccEnableArenas: boolean; + public objcClassPrefix: string; + public csharpNamespace: string; + public uninterpretedOption: google.protobuf.IUninterpretedOption[]; + public static create(properties?: google.protobuf.IFileOptions): google.protobuf.FileOptions; + public static encode(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileOptions; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileOptions; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): google.protobuf.FileOptions; + public static toObject(message: google.protobuf.FileOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } namespace FileOptions { @@ -569,6 +1123,20 @@ export namespace google { class MessageOptions { constructor(properties?: google.protobuf.IMessageOptions); + public messageSetWireFormat: boolean; + public noStandardDescriptorAccessor: boolean; + public deprecated: boolean; + public mapEntry: boolean; + public uninterpretedOption: google.protobuf.IUninterpretedOption[]; + public static create(properties?: google.protobuf.IMessageOptions): google.protobuf.MessageOptions; + public static encode(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MessageOptions; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MessageOptions; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): google.protobuf.MessageOptions; + public static toObject(message: google.protobuf.MessageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface IFieldOptions { @@ -583,6 +1151,22 @@ export namespace google { class FieldOptions { constructor(properties?: google.protobuf.IFieldOptions); + public ctype: google.protobuf.FieldOptions.CType; + public packed: boolean; + public jstype: google.protobuf.FieldOptions.JSType; + public lazy: boolean; + public deprecated: boolean; + public weak: boolean; + public uninterpretedOption: google.protobuf.IUninterpretedOption[]; + public static create(properties?: google.protobuf.IFieldOptions): google.protobuf.FieldOptions; + public static encode(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions; + public static toObject(message: google.protobuf.FieldOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } namespace FieldOptions { @@ -606,6 +1190,16 @@ export namespace google { class OneofOptions { constructor(properties?: google.protobuf.IOneofOptions); + public uninterpretedOption: google.protobuf.IUninterpretedOption[]; + public static create(properties?: google.protobuf.IOneofOptions): google.protobuf.OneofOptions; + public static encode(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofOptions; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofOptions; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): google.protobuf.OneofOptions; + public static toObject(message: google.protobuf.OneofOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface IEnumOptions { @@ -617,6 +1211,18 @@ export namespace google { class EnumOptions { constructor(properties?: google.protobuf.IEnumOptions); + public allowAlias: boolean; + public deprecated: boolean; + public uninterpretedOption: google.protobuf.IUninterpretedOption[]; + public static create(properties?: google.protobuf.IEnumOptions): google.protobuf.EnumOptions; + public static encode(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumOptions; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumOptions; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): google.protobuf.EnumOptions; + public static toObject(message: google.protobuf.EnumOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface IEnumValueOptions { @@ -626,6 +1232,17 @@ export namespace google { class EnumValueOptions { constructor(properties?: google.protobuf.IEnumValueOptions); + public deprecated: boolean; + public uninterpretedOption: google.protobuf.IUninterpretedOption[]; + public static create(properties?: google.protobuf.IEnumValueOptions): google.protobuf.EnumValueOptions; + public static encode(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueOptions; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueOptions; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueOptions; + public static toObject(message: google.protobuf.EnumValueOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface IServiceOptions { @@ -635,6 +1252,17 @@ export namespace google { class ServiceOptions { constructor(properties?: google.protobuf.IServiceOptions); + public deprecated: boolean; + public uninterpretedOption: google.protobuf.IUninterpretedOption[]; + public static create(properties?: google.protobuf.IServiceOptions): google.protobuf.ServiceOptions; + public static encode(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceOptions; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceOptions; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceOptions; + public static toObject(message: google.protobuf.ServiceOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } interface IMethodOptions { @@ -645,6 +1273,18 @@ export namespace google { class MethodOptions { constructor(properties?: google.protobuf.IMethodOptions); + public deprecated: boolean; + public idempotencyLevel: google.protobuf.MethodOptions.IdempotencyLevel; + public uninterpretedOption: google.protobuf.IUninterpretedOption[]; + public static create(properties?: google.protobuf.IMethodOptions): google.protobuf.MethodOptions; + public static encode(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodOptions; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodOptions; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): google.protobuf.MethodOptions; + public static toObject(message: google.protobuf.MethodOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } namespace MethodOptions { @@ -668,6 +1308,22 @@ export namespace google { class UninterpretedOption { constructor(properties?: google.protobuf.IUninterpretedOption); + public name: google.protobuf.UninterpretedOption.INamePart[]; + public identifierValue: string; + public positiveIntValue: (number|Long); + public negativeIntValue: (number|Long); + public doubleValue: number; + public stringValue: Uint8Array; + public aggregateValue: string; + public static create(properties?: google.protobuf.IUninterpretedOption): google.protobuf.UninterpretedOption; + public static encode(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption; + public static toObject(message: google.protobuf.UninterpretedOption, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } namespace UninterpretedOption { @@ -679,6 +1335,17 @@ export namespace google { class NamePart { constructor(properties?: google.protobuf.UninterpretedOption.INamePart); + public namePart: string; + public isExtension: boolean; + public static create(properties?: google.protobuf.UninterpretedOption.INamePart): google.protobuf.UninterpretedOption.NamePart; + public static encode(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption.NamePart; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption.NamePart; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption.NamePart; + public static toObject(message: google.protobuf.UninterpretedOption.NamePart, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } } @@ -688,6 +1355,16 @@ export namespace google { class SourceCodeInfo { constructor(properties?: google.protobuf.ISourceCodeInfo); + public location: google.protobuf.SourceCodeInfo.ILocation[]; + public static create(properties?: google.protobuf.ISourceCodeInfo): google.protobuf.SourceCodeInfo; + public static encode(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo; + public static toObject(message: google.protobuf.SourceCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } namespace SourceCodeInfo { @@ -702,6 +1379,20 @@ export namespace google { class Location { constructor(properties?: google.protobuf.SourceCodeInfo.ILocation); + public path: number[]; + public span: number[]; + public leadingComments: string; + public trailingComments: string; + public leadingDetachedComments: string[]; + public static create(properties?: google.protobuf.SourceCodeInfo.ILocation): google.protobuf.SourceCodeInfo.Location; + public static encode(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo.Location; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo.Location; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location; + public static toObject(message: google.protobuf.SourceCodeInfo.Location, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } } @@ -711,6 +1402,16 @@ export namespace google { class GeneratedCodeInfo { constructor(properties?: google.protobuf.IGeneratedCodeInfo); + public annotation: google.protobuf.GeneratedCodeInfo.IAnnotation[]; + public static create(properties?: google.protobuf.IGeneratedCodeInfo): google.protobuf.GeneratedCodeInfo; + public static encode(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo; + public static toObject(message: google.protobuf.GeneratedCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } namespace GeneratedCodeInfo { @@ -724,6 +1425,19 @@ export namespace google { class Annotation { constructor(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation); + public path: number[]; + public sourceFile: string; + public begin: number; + public end: number; + public static create(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation): google.protobuf.GeneratedCodeInfo.Annotation; + public static encode(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo.Annotation; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo.Annotation; + public static verify(message: { [k: string]: any }): (string|null); + public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation; + public static toObject(message: google.protobuf.GeneratedCodeInfo.Annotation, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; } } } diff --git a/tests/data/test.js b/tests/data/test.js index 9c02b7fc4..95936d79a 100644 --- a/tests/data/test.js +++ b/tests/data/test.js @@ -51,6 +51,7 @@ $root.jspb = (function() { /** * Creates a new Empty instance using the specified properties. + * @function create * @memberof jspb.test.Empty * @static * @param {jspb.test.IEmpty=} [properties] Properties to set @@ -62,6 +63,7 @@ $root.jspb = (function() { /** * Encodes the specified Empty message. Does not implicitly {@link jspb.test.Empty.verify|verify} messages. + * @function encode * @memberof jspb.test.Empty * @static * @param {jspb.test.IEmpty} message Empty message or plain object to encode @@ -76,6 +78,7 @@ $root.jspb = (function() { /** * Encodes the specified Empty message, length delimited. Does not implicitly {@link jspb.test.Empty.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.Empty * @static * @param {jspb.test.IEmpty} message Empty message or plain object to encode @@ -88,6 +91,7 @@ $root.jspb = (function() { /** * Decodes an Empty message from the specified reader or buffer. + * @function decode * @memberof jspb.test.Empty * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -113,6 +117,7 @@ $root.jspb = (function() { /** * Decodes an Empty message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.Empty * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -128,6 +133,7 @@ $root.jspb = (function() { /** * Verifies an Empty message. + * @function verify * @memberof jspb.test.Empty * @static * @param {Object.} message Plain object to verify @@ -141,6 +147,7 @@ $root.jspb = (function() { /** * Creates an Empty message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.Empty * @static * @param {Object.} object Plain object @@ -154,6 +161,7 @@ $root.jspb = (function() { /** * Creates a plain object from an Empty message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.Empty * @static * @param {jspb.test.Empty} message Empty @@ -166,6 +174,7 @@ $root.jspb = (function() { /** * Converts this Empty to JSON. + * @function toJSON * @memberof jspb.test.Empty * @instance * @returns {Object.} JSON object @@ -215,14 +224,15 @@ $root.jspb = (function() { /** * EnumContainer outerEnum. + * @member {jspb.test.OuterEnum}outerEnum * @memberof jspb.test.EnumContainer * @instance - * @type {jspb.test.OuterEnum} */ EnumContainer.prototype.outerEnum = 1; /** * Creates a new EnumContainer instance using the specified properties. + * @function create * @memberof jspb.test.EnumContainer * @static * @param {jspb.test.IEnumContainer=} [properties] Properties to set @@ -234,6 +244,7 @@ $root.jspb = (function() { /** * Encodes the specified EnumContainer message. Does not implicitly {@link jspb.test.EnumContainer.verify|verify} messages. + * @function encode * @memberof jspb.test.EnumContainer * @static * @param {jspb.test.IEnumContainer} message EnumContainer message or plain object to encode @@ -250,6 +261,7 @@ $root.jspb = (function() { /** * Encodes the specified EnumContainer message, length delimited. Does not implicitly {@link jspb.test.EnumContainer.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.EnumContainer * @static * @param {jspb.test.IEnumContainer} message EnumContainer message or plain object to encode @@ -262,6 +274,7 @@ $root.jspb = (function() { /** * Decodes an EnumContainer message from the specified reader or buffer. + * @function decode * @memberof jspb.test.EnumContainer * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -290,6 +303,7 @@ $root.jspb = (function() { /** * Decodes an EnumContainer message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.EnumContainer * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -305,6 +319,7 @@ $root.jspb = (function() { /** * Verifies an EnumContainer message. + * @function verify * @memberof jspb.test.EnumContainer * @static * @param {Object.} message Plain object to verify @@ -326,6 +341,7 @@ $root.jspb = (function() { /** * Creates an EnumContainer message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.EnumContainer * @static * @param {Object.} object Plain object @@ -350,6 +366,7 @@ $root.jspb = (function() { /** * Creates a plain object from an EnumContainer message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.EnumContainer * @static * @param {jspb.test.EnumContainer} message EnumContainer @@ -369,6 +386,7 @@ $root.jspb = (function() { /** * Converts this EnumContainer to JSON. + * @function toJSON * @memberof jspb.test.EnumContainer * @instance * @returns {Object.} JSON object @@ -408,30 +426,31 @@ $root.jspb = (function() { /** * Simple1 aString. + * @member {string}aString * @memberof jspb.test.Simple1 * @instance - * @type {string} */ Simple1.prototype.aString = ""; /** * Simple1 aRepeatedString. + * @member {Array.}aRepeatedString * @memberof jspb.test.Simple1 * @instance - * @type {Array.} */ Simple1.prototype.aRepeatedString = $util.emptyArray; /** * Simple1 aBoolean. + * @member {boolean}aBoolean * @memberof jspb.test.Simple1 * @instance - * @type {boolean} */ Simple1.prototype.aBoolean = false; /** * Creates a new Simple1 instance using the specified properties. + * @function create * @memberof jspb.test.Simple1 * @static * @param {jspb.test.ISimple1=} [properties] Properties to set @@ -443,6 +462,7 @@ $root.jspb = (function() { /** * Encodes the specified Simple1 message. Does not implicitly {@link jspb.test.Simple1.verify|verify} messages. + * @function encode * @memberof jspb.test.Simple1 * @static * @param {jspb.test.ISimple1} message Simple1 message or plain object to encode @@ -463,6 +483,7 @@ $root.jspb = (function() { /** * Encodes the specified Simple1 message, length delimited. Does not implicitly {@link jspb.test.Simple1.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.Simple1 * @static * @param {jspb.test.ISimple1} message Simple1 message or plain object to encode @@ -475,6 +496,7 @@ $root.jspb = (function() { /** * Decodes a Simple1 message from the specified reader or buffer. + * @function decode * @memberof jspb.test.Simple1 * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -513,6 +535,7 @@ $root.jspb = (function() { /** * Decodes a Simple1 message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.Simple1 * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -528,6 +551,7 @@ $root.jspb = (function() { /** * Verifies a Simple1 message. + * @function verify * @memberof jspb.test.Simple1 * @static * @param {Object.} message Plain object to verify @@ -553,6 +577,7 @@ $root.jspb = (function() { /** * Creates a Simple1 message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.Simple1 * @static * @param {Object.} object Plain object @@ -578,6 +603,7 @@ $root.jspb = (function() { /** * Creates a plain object from a Simple1 message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.Simple1 * @static * @param {jspb.test.Simple1} message Simple1 @@ -608,6 +634,7 @@ $root.jspb = (function() { /** * Converts this Simple1 to JSON. + * @function toJSON * @memberof jspb.test.Simple1 * @instance * @returns {Object.} JSON object @@ -646,22 +673,23 @@ $root.jspb = (function() { /** * Simple2 aString. + * @member {string}aString * @memberof jspb.test.Simple2 * @instance - * @type {string} */ Simple2.prototype.aString = ""; /** * Simple2 aRepeatedString. + * @member {Array.}aRepeatedString * @memberof jspb.test.Simple2 * @instance - * @type {Array.} */ Simple2.prototype.aRepeatedString = $util.emptyArray; /** * Creates a new Simple2 instance using the specified properties. + * @function create * @memberof jspb.test.Simple2 * @static * @param {jspb.test.ISimple2=} [properties] Properties to set @@ -673,6 +701,7 @@ $root.jspb = (function() { /** * Encodes the specified Simple2 message. Does not implicitly {@link jspb.test.Simple2.verify|verify} messages. + * @function encode * @memberof jspb.test.Simple2 * @static * @param {jspb.test.ISimple2} message Simple2 message or plain object to encode @@ -691,6 +720,7 @@ $root.jspb = (function() { /** * Encodes the specified Simple2 message, length delimited. Does not implicitly {@link jspb.test.Simple2.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.Simple2 * @static * @param {jspb.test.ISimple2} message Simple2 message or plain object to encode @@ -703,6 +733,7 @@ $root.jspb = (function() { /** * Decodes a Simple2 message from the specified reader or buffer. + * @function decode * @memberof jspb.test.Simple2 * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -738,6 +769,7 @@ $root.jspb = (function() { /** * Decodes a Simple2 message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.Simple2 * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -753,6 +785,7 @@ $root.jspb = (function() { /** * Verifies a Simple2 message. + * @function verify * @memberof jspb.test.Simple2 * @static * @param {Object.} message Plain object to verify @@ -775,6 +808,7 @@ $root.jspb = (function() { /** * Creates a Simple2 message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.Simple2 * @static * @param {Object.} object Plain object @@ -798,6 +832,7 @@ $root.jspb = (function() { /** * Creates a plain object from a Simple2 message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.Simple2 * @static * @param {jspb.test.Simple2} message Simple2 @@ -824,6 +859,7 @@ $root.jspb = (function() { /** * Converts this Simple2 to JSON. + * @function toJSON * @memberof jspb.test.Simple2 * @instance * @returns {Object.} JSON object @@ -863,38 +899,39 @@ $root.jspb = (function() { /** * SpecialCases normal. + * @member {string}normal * @memberof jspb.test.SpecialCases * @instance - * @type {string} */ SpecialCases.prototype.normal = ""; /** * SpecialCases default. + * @member {string}default_ * @memberof jspb.test.SpecialCases * @instance - * @type {string} */ SpecialCases.prototype["default"] = ""; /** * SpecialCases function. + * @member {string}function_ * @memberof jspb.test.SpecialCases * @instance - * @type {string} */ SpecialCases.prototype["function"] = ""; /** * SpecialCases var. + * @member {string}var_ * @memberof jspb.test.SpecialCases * @instance - * @type {string} */ SpecialCases.prototype["var"] = ""; /** * Creates a new SpecialCases instance using the specified properties. + * @function create * @memberof jspb.test.SpecialCases * @static * @param {jspb.test.ISpecialCases=} [properties] Properties to set @@ -906,6 +943,7 @@ $root.jspb = (function() { /** * Encodes the specified SpecialCases message. Does not implicitly {@link jspb.test.SpecialCases.verify|verify} messages. + * @function encode * @memberof jspb.test.SpecialCases * @static * @param {jspb.test.ISpecialCases} message SpecialCases message or plain object to encode @@ -924,6 +962,7 @@ $root.jspb = (function() { /** * Encodes the specified SpecialCases message, length delimited. Does not implicitly {@link jspb.test.SpecialCases.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.SpecialCases * @static * @param {jspb.test.ISpecialCases} message SpecialCases message or plain object to encode @@ -936,6 +975,7 @@ $root.jspb = (function() { /** * Decodes a SpecialCases message from the specified reader or buffer. + * @function decode * @memberof jspb.test.SpecialCases * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -981,6 +1021,7 @@ $root.jspb = (function() { /** * Decodes a SpecialCases message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.SpecialCases * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -996,6 +1037,7 @@ $root.jspb = (function() { /** * Verifies a SpecialCases message. + * @function verify * @memberof jspb.test.SpecialCases * @static * @param {Object.} message Plain object to verify @@ -1017,6 +1059,7 @@ $root.jspb = (function() { /** * Creates a SpecialCases message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.SpecialCases * @static * @param {Object.} object Plain object @@ -1039,6 +1082,7 @@ $root.jspb = (function() { /** * Creates a plain object from a SpecialCases message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.SpecialCases * @static * @param {jspb.test.SpecialCases} message SpecialCases @@ -1068,6 +1112,7 @@ $root.jspb = (function() { /** * Converts this SpecialCases to JSON. + * @function toJSON * @memberof jspb.test.SpecialCases * @instance * @returns {Object.} JSON object @@ -1110,46 +1155,47 @@ $root.jspb = (function() { /** * OptionalFields aString. + * @member {string}aString * @memberof jspb.test.OptionalFields * @instance - * @type {string} */ OptionalFields.prototype.aString = ""; /** * OptionalFields aBool. + * @member {boolean}aBool * @memberof jspb.test.OptionalFields * @instance - * @type {boolean} */ OptionalFields.prototype.aBool = false; /** * OptionalFields aNestedMessage. + * @member {(jspb.test.OptionalFields.INested|null)}aNestedMessage * @memberof jspb.test.OptionalFields * @instance - * @type {(jspb.test.OptionalFields.INested|null)} */ OptionalFields.prototype.aNestedMessage = null; /** * OptionalFields aRepeatedMessage. + * @member {Array.}aRepeatedMessage * @memberof jspb.test.OptionalFields * @instance - * @type {Array.} */ OptionalFields.prototype.aRepeatedMessage = $util.emptyArray; /** * OptionalFields aRepeatedString. + * @member {Array.}aRepeatedString * @memberof jspb.test.OptionalFields * @instance - * @type {Array.} */ OptionalFields.prototype.aRepeatedString = $util.emptyArray; /** * Creates a new OptionalFields instance using the specified properties. + * @function create * @memberof jspb.test.OptionalFields * @static * @param {jspb.test.IOptionalFields=} [properties] Properties to set @@ -1161,6 +1207,7 @@ $root.jspb = (function() { /** * Encodes the specified OptionalFields message. Does not implicitly {@link jspb.test.OptionalFields.verify|verify} messages. + * @function encode * @memberof jspb.test.OptionalFields * @static * @param {jspb.test.IOptionalFields} message OptionalFields message or plain object to encode @@ -1186,6 +1233,7 @@ $root.jspb = (function() { /** * Encodes the specified OptionalFields message, length delimited. Does not implicitly {@link jspb.test.OptionalFields.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.OptionalFields * @static * @param {jspb.test.IOptionalFields} message OptionalFields message or plain object to encode @@ -1198,6 +1246,7 @@ $root.jspb = (function() { /** * Decodes an OptionalFields message from the specified reader or buffer. + * @function decode * @memberof jspb.test.OptionalFields * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -1244,6 +1293,7 @@ $root.jspb = (function() { /** * Decodes an OptionalFields message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.OptionalFields * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -1259,6 +1309,7 @@ $root.jspb = (function() { /** * Verifies an OptionalFields message. + * @function verify * @memberof jspb.test.OptionalFields * @static * @param {Object.} message Plain object to verify @@ -1298,6 +1349,7 @@ $root.jspb = (function() { /** * Creates an OptionalFields message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.OptionalFields * @static * @param {Object.} object Plain object @@ -1338,6 +1390,7 @@ $root.jspb = (function() { /** * Creates a plain object from an OptionalFields message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.OptionalFields * @static * @param {jspb.test.OptionalFields} message OptionalFields @@ -1378,6 +1431,7 @@ $root.jspb = (function() { /** * Converts this OptionalFields to JSON. + * @function toJSON * @memberof jspb.test.OptionalFields * @instance * @returns {Object.} JSON object @@ -1411,14 +1465,15 @@ $root.jspb = (function() { /** * Nested anInt. + * @member {number}anInt * @memberof jspb.test.OptionalFields.Nested * @instance - * @type {number} */ Nested.prototype.anInt = 0; /** * Creates a new Nested instance using the specified properties. + * @function create * @memberof jspb.test.OptionalFields.Nested * @static * @param {jspb.test.OptionalFields.INested=} [properties] Properties to set @@ -1430,6 +1485,7 @@ $root.jspb = (function() { /** * Encodes the specified Nested message. Does not implicitly {@link jspb.test.OptionalFields.Nested.verify|verify} messages. + * @function encode * @memberof jspb.test.OptionalFields.Nested * @static * @param {jspb.test.OptionalFields.INested} message Nested message or plain object to encode @@ -1446,6 +1502,7 @@ $root.jspb = (function() { /** * Encodes the specified Nested message, length delimited. Does not implicitly {@link jspb.test.OptionalFields.Nested.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.OptionalFields.Nested * @static * @param {jspb.test.OptionalFields.INested} message Nested message or plain object to encode @@ -1458,6 +1515,7 @@ $root.jspb = (function() { /** * Decodes a Nested message from the specified reader or buffer. + * @function decode * @memberof jspb.test.OptionalFields.Nested * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -1486,6 +1544,7 @@ $root.jspb = (function() { /** * Decodes a Nested message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.OptionalFields.Nested * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -1501,6 +1560,7 @@ $root.jspb = (function() { /** * Verifies a Nested message. + * @function verify * @memberof jspb.test.OptionalFields.Nested * @static * @param {Object.} message Plain object to verify @@ -1517,6 +1577,7 @@ $root.jspb = (function() { /** * Creates a Nested message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.OptionalFields.Nested * @static * @param {Object.} object Plain object @@ -1533,6 +1594,7 @@ $root.jspb = (function() { /** * Creates a plain object from a Nested message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.OptionalFields.Nested * @static * @param {jspb.test.OptionalFields.Nested} message Nested @@ -1552,6 +1614,7 @@ $root.jspb = (function() { /** * Converts this Nested to JSON. + * @function toJSON * @memberof jspb.test.OptionalFields.Nested * @instance * @returns {Object.} JSON object @@ -1601,78 +1664,79 @@ $root.jspb = (function() { /** * HasExtensions str1. + * @member {string}str1 * @memberof jspb.test.HasExtensions * @instance - * @type {string} */ HasExtensions.prototype.str1 = ""; /** * HasExtensions str2. + * @member {string}str2 * @memberof jspb.test.HasExtensions * @instance - * @type {string} */ HasExtensions.prototype.str2 = ""; /** * HasExtensions str3. + * @member {string}str3 * @memberof jspb.test.HasExtensions * @instance - * @type {string} */ HasExtensions.prototype.str3 = ""; /** * HasExtensions .jspb.test.IsExtension.extField. + * @member {(jspb.test.IIsExtension|null)}.jspb.test.IsExtension.extField * @memberof jspb.test.HasExtensions * @instance - * @type {(jspb.test.IIsExtension|null)} */ HasExtensions.prototype[".jspb.test.IsExtension.extField"] = null; /** * HasExtensions .jspb.test.IndirectExtension.simple. + * @member {(jspb.test.ISimple1|null)}.jspb.test.IndirectExtension.simple * @memberof jspb.test.HasExtensions * @instance - * @type {(jspb.test.ISimple1|null)} */ HasExtensions.prototype[".jspb.test.IndirectExtension.simple"] = null; /** * HasExtensions .jspb.test.IndirectExtension.str. + * @member {string}.jspb.test.IndirectExtension.str * @memberof jspb.test.HasExtensions * @instance - * @type {string} */ HasExtensions.prototype[".jspb.test.IndirectExtension.str"] = ""; /** * HasExtensions .jspb.test.IndirectExtension.repeatedStr. + * @member {Array.}.jspb.test.IndirectExtension.repeatedStr * @memberof jspb.test.HasExtensions * @instance - * @type {Array.} */ HasExtensions.prototype[".jspb.test.IndirectExtension.repeatedStr"] = $util.emptyArray; /** * HasExtensions .jspb.test.IndirectExtension.repeatedSimple. + * @member {Array.}.jspb.test.IndirectExtension.repeatedSimple * @memberof jspb.test.HasExtensions * @instance - * @type {Array.} */ HasExtensions.prototype[".jspb.test.IndirectExtension.repeatedSimple"] = $util.emptyArray; /** * HasExtensions .jspb.test.simple1. + * @member {(jspb.test.ISimple1|null)}.jspb.test.simple1 * @memberof jspb.test.HasExtensions * @instance - * @type {(jspb.test.ISimple1|null)} */ HasExtensions.prototype[".jspb.test.simple1"] = null; /** * Creates a new HasExtensions instance using the specified properties. + * @function create * @memberof jspb.test.HasExtensions * @static * @param {jspb.test.IHasExtensions=} [properties] Properties to set @@ -1684,6 +1748,7 @@ $root.jspb = (function() { /** * Encodes the specified HasExtensions message. Does not implicitly {@link jspb.test.HasExtensions.verify|verify} messages. + * @function encode * @memberof jspb.test.HasExtensions * @static * @param {jspb.test.IHasExtensions} message HasExtensions message or plain object to encode @@ -1718,6 +1783,7 @@ $root.jspb = (function() { /** * Encodes the specified HasExtensions message, length delimited. Does not implicitly {@link jspb.test.HasExtensions.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.HasExtensions * @static * @param {jspb.test.IHasExtensions} message HasExtensions message or plain object to encode @@ -1730,6 +1796,7 @@ $root.jspb = (function() { /** * Decodes a HasExtensions message from the specified reader or buffer. + * @function decode * @memberof jspb.test.HasExtensions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -1786,6 +1853,7 @@ $root.jspb = (function() { /** * Decodes a HasExtensions message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.HasExtensions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -1801,6 +1869,7 @@ $root.jspb = (function() { /** * Verifies a HasExtensions message. + * @function verify * @memberof jspb.test.HasExtensions * @static * @param {Object.} message Plain object to verify @@ -1857,6 +1926,7 @@ $root.jspb = (function() { /** * Creates a HasExtensions message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.HasExtensions * @static * @param {Object.} object Plain object @@ -1911,6 +1981,7 @@ $root.jspb = (function() { /** * Creates a plain object from a HasExtensions message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.HasExtensions * @static * @param {jspb.test.HasExtensions} message HasExtensions @@ -1963,6 +2034,7 @@ $root.jspb = (function() { /** * Converts this HasExtensions to JSON. + * @function toJSON * @memberof jspb.test.HasExtensions * @instance * @returns {Object.} JSON object @@ -2005,46 +2077,47 @@ $root.jspb = (function() { /** * Complex aString. + * @member {string}aString * @memberof jspb.test.Complex * @instance - * @type {string} */ Complex.prototype.aString = ""; /** * Complex anOutOfOrderBool. + * @member {boolean}anOutOfOrderBool * @memberof jspb.test.Complex * @instance - * @type {boolean} */ Complex.prototype.anOutOfOrderBool = false; /** * Complex aNestedMessage. + * @member {(jspb.test.Complex.INested|null)}aNestedMessage * @memberof jspb.test.Complex * @instance - * @type {(jspb.test.Complex.INested|null)} */ Complex.prototype.aNestedMessage = null; /** * Complex aRepeatedMessage. + * @member {Array.}aRepeatedMessage * @memberof jspb.test.Complex * @instance - * @type {Array.} */ Complex.prototype.aRepeatedMessage = $util.emptyArray; /** * Complex aRepeatedString. + * @member {Array.}aRepeatedString * @memberof jspb.test.Complex * @instance - * @type {Array.} */ Complex.prototype.aRepeatedString = $util.emptyArray; /** * Creates a new Complex instance using the specified properties. + * @function create * @memberof jspb.test.Complex * @static * @param {jspb.test.IComplex=} [properties] Properties to set @@ -2056,6 +2129,7 @@ $root.jspb = (function() { /** * Encodes the specified Complex message. Does not implicitly {@link jspb.test.Complex.verify|verify} messages. + * @function encode * @memberof jspb.test.Complex * @static * @param {jspb.test.IComplex} message Complex message or plain object to encode @@ -2080,6 +2154,7 @@ $root.jspb = (function() { /** * Encodes the specified Complex message, length delimited. Does not implicitly {@link jspb.test.Complex.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.Complex * @static * @param {jspb.test.IComplex} message Complex message or plain object to encode @@ -2092,6 +2167,7 @@ $root.jspb = (function() { /** * Decodes a Complex message from the specified reader or buffer. + * @function decode * @memberof jspb.test.Complex * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -2140,6 +2216,7 @@ $root.jspb = (function() { /** * Decodes a Complex message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.Complex * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -2155,6 +2232,7 @@ $root.jspb = (function() { /** * Verifies a Complex message. + * @function verify * @memberof jspb.test.Complex * @static * @param {Object.} message Plain object to verify @@ -2193,6 +2271,7 @@ $root.jspb = (function() { /** * Creates a Complex message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.Complex * @static * @param {Object.} object Plain object @@ -2233,6 +2312,7 @@ $root.jspb = (function() { /** * Creates a plain object from a Complex message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.Complex * @static * @param {jspb.test.Complex} message Complex @@ -2273,6 +2353,7 @@ $root.jspb = (function() { /** * Converts this Complex to JSON. + * @function toJSON * @memberof jspb.test.Complex * @instance * @returns {Object.} JSON object @@ -2306,14 +2387,15 @@ $root.jspb = (function() { /** * Nested anInt. + * @member {number}anInt * @memberof jspb.test.Complex.Nested * @instance - * @type {number} */ Nested.prototype.anInt = 0; /** * Creates a new Nested instance using the specified properties. + * @function create * @memberof jspb.test.Complex.Nested * @static * @param {jspb.test.Complex.INested=} [properties] Properties to set @@ -2325,6 +2407,7 @@ $root.jspb = (function() { /** * Encodes the specified Nested message. Does not implicitly {@link jspb.test.Complex.Nested.verify|verify} messages. + * @function encode * @memberof jspb.test.Complex.Nested * @static * @param {jspb.test.Complex.INested} message Nested message or plain object to encode @@ -2340,6 +2423,7 @@ $root.jspb = (function() { /** * Encodes the specified Nested message, length delimited. Does not implicitly {@link jspb.test.Complex.Nested.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.Complex.Nested * @static * @param {jspb.test.Complex.INested} message Nested message or plain object to encode @@ -2352,6 +2436,7 @@ $root.jspb = (function() { /** * Decodes a Nested message from the specified reader or buffer. + * @function decode * @memberof jspb.test.Complex.Nested * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -2382,6 +2467,7 @@ $root.jspb = (function() { /** * Decodes a Nested message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.Complex.Nested * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -2397,6 +2483,7 @@ $root.jspb = (function() { /** * Verifies a Nested message. + * @function verify * @memberof jspb.test.Complex.Nested * @static * @param {Object.} message Plain object to verify @@ -2412,6 +2499,7 @@ $root.jspb = (function() { /** * Creates a Nested message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.Complex.Nested * @static * @param {Object.} object Plain object @@ -2428,6 +2516,7 @@ $root.jspb = (function() { /** * Creates a plain object from a Nested message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.Complex.Nested * @static * @param {jspb.test.Complex.Nested} message Nested @@ -2447,6 +2536,7 @@ $root.jspb = (function() { /** * Converts this Nested to JSON. + * @function toJSON * @memberof jspb.test.Complex.Nested * @instance * @returns {Object.} JSON object @@ -2485,6 +2575,7 @@ $root.jspb = (function() { /** * Creates a new OuterMessage instance using the specified properties. + * @function create * @memberof jspb.test.OuterMessage * @static * @param {jspb.test.IOuterMessage=} [properties] Properties to set @@ -2496,6 +2587,7 @@ $root.jspb = (function() { /** * Encodes the specified OuterMessage message. Does not implicitly {@link jspb.test.OuterMessage.verify|verify} messages. + * @function encode * @memberof jspb.test.OuterMessage * @static * @param {jspb.test.IOuterMessage} message OuterMessage message or plain object to encode @@ -2510,6 +2602,7 @@ $root.jspb = (function() { /** * Encodes the specified OuterMessage message, length delimited. Does not implicitly {@link jspb.test.OuterMessage.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.OuterMessage * @static * @param {jspb.test.IOuterMessage} message OuterMessage message or plain object to encode @@ -2522,6 +2615,7 @@ $root.jspb = (function() { /** * Decodes an OuterMessage message from the specified reader or buffer. + * @function decode * @memberof jspb.test.OuterMessage * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -2547,6 +2641,7 @@ $root.jspb = (function() { /** * Decodes an OuterMessage message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.OuterMessage * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -2562,6 +2657,7 @@ $root.jspb = (function() { /** * Verifies an OuterMessage message. + * @function verify * @memberof jspb.test.OuterMessage * @static * @param {Object.} message Plain object to verify @@ -2575,6 +2671,7 @@ $root.jspb = (function() { /** * Creates an OuterMessage message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.OuterMessage * @static * @param {Object.} object Plain object @@ -2588,6 +2685,7 @@ $root.jspb = (function() { /** * Creates a plain object from an OuterMessage message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.OuterMessage * @static * @param {jspb.test.OuterMessage} message OuterMessage @@ -2600,6 +2698,7 @@ $root.jspb = (function() { /** * Converts this OuterMessage to JSON. + * @function toJSON * @memberof jspb.test.OuterMessage * @instance * @returns {Object.} JSON object @@ -2633,14 +2732,15 @@ $root.jspb = (function() { /** * Complex innerComplexField. + * @member {number}innerComplexField * @memberof jspb.test.OuterMessage.Complex * @instance - * @type {number} */ Complex.prototype.innerComplexField = 0; /** * Creates a new Complex instance using the specified properties. + * @function create * @memberof jspb.test.OuterMessage.Complex * @static * @param {jspb.test.OuterMessage.IComplex=} [properties] Properties to set @@ -2652,6 +2752,7 @@ $root.jspb = (function() { /** * Encodes the specified Complex message. Does not implicitly {@link jspb.test.OuterMessage.Complex.verify|verify} messages. + * @function encode * @memberof jspb.test.OuterMessage.Complex * @static * @param {jspb.test.OuterMessage.IComplex} message Complex message or plain object to encode @@ -2668,6 +2769,7 @@ $root.jspb = (function() { /** * Encodes the specified Complex message, length delimited. Does not implicitly {@link jspb.test.OuterMessage.Complex.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.OuterMessage.Complex * @static * @param {jspb.test.OuterMessage.IComplex} message Complex message or plain object to encode @@ -2680,6 +2782,7 @@ $root.jspb = (function() { /** * Decodes a Complex message from the specified reader or buffer. + * @function decode * @memberof jspb.test.OuterMessage.Complex * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -2708,6 +2811,7 @@ $root.jspb = (function() { /** * Decodes a Complex message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.OuterMessage.Complex * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -2723,6 +2827,7 @@ $root.jspb = (function() { /** * Verifies a Complex message. + * @function verify * @memberof jspb.test.OuterMessage.Complex * @static * @param {Object.} message Plain object to verify @@ -2739,6 +2844,7 @@ $root.jspb = (function() { /** * Creates a Complex message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.OuterMessage.Complex * @static * @param {Object.} object Plain object @@ -2755,6 +2861,7 @@ $root.jspb = (function() { /** * Creates a plain object from a Complex message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.OuterMessage.Complex * @static * @param {jspb.test.OuterMessage.Complex} message Complex @@ -2774,6 +2881,7 @@ $root.jspb = (function() { /** * Converts this Complex to JSON. + * @function toJSON * @memberof jspb.test.OuterMessage.Complex * @instance * @returns {Object.} JSON object @@ -2813,14 +2921,15 @@ $root.jspb = (function() { /** * IsExtension ext1. + * @member {string}ext1 * @memberof jspb.test.IsExtension * @instance - * @type {string} */ IsExtension.prototype.ext1 = ""; /** * Creates a new IsExtension instance using the specified properties. + * @function create * @memberof jspb.test.IsExtension * @static * @param {jspb.test.IIsExtension=} [properties] Properties to set @@ -2832,6 +2941,7 @@ $root.jspb = (function() { /** * Encodes the specified IsExtension message. Does not implicitly {@link jspb.test.IsExtension.verify|verify} messages. + * @function encode * @memberof jspb.test.IsExtension * @static * @param {jspb.test.IIsExtension} message IsExtension message or plain object to encode @@ -2848,6 +2958,7 @@ $root.jspb = (function() { /** * Encodes the specified IsExtension message, length delimited. Does not implicitly {@link jspb.test.IsExtension.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.IsExtension * @static * @param {jspb.test.IIsExtension} message IsExtension message or plain object to encode @@ -2860,6 +2971,7 @@ $root.jspb = (function() { /** * Decodes an IsExtension message from the specified reader or buffer. + * @function decode * @memberof jspb.test.IsExtension * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -2888,6 +3000,7 @@ $root.jspb = (function() { /** * Decodes an IsExtension message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.IsExtension * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -2903,6 +3016,7 @@ $root.jspb = (function() { /** * Verifies an IsExtension message. + * @function verify * @memberof jspb.test.IsExtension * @static * @param {Object.} message Plain object to verify @@ -2919,6 +3033,7 @@ $root.jspb = (function() { /** * Creates an IsExtension message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.IsExtension * @static * @param {Object.} object Plain object @@ -2935,6 +3050,7 @@ $root.jspb = (function() { /** * Creates a plain object from an IsExtension message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.IsExtension * @static * @param {jspb.test.IsExtension} message IsExtension @@ -2954,6 +3070,7 @@ $root.jspb = (function() { /** * Converts this IsExtension to JSON. + * @function toJSON * @memberof jspb.test.IsExtension * @instance * @returns {Object.} JSON object @@ -2989,6 +3106,7 @@ $root.jspb = (function() { /** * Creates a new IndirectExtension instance using the specified properties. + * @function create * @memberof jspb.test.IndirectExtension * @static * @param {jspb.test.IIndirectExtension=} [properties] Properties to set @@ -3000,6 +3118,7 @@ $root.jspb = (function() { /** * Encodes the specified IndirectExtension message. Does not implicitly {@link jspb.test.IndirectExtension.verify|verify} messages. + * @function encode * @memberof jspb.test.IndirectExtension * @static * @param {jspb.test.IIndirectExtension} message IndirectExtension message or plain object to encode @@ -3014,6 +3133,7 @@ $root.jspb = (function() { /** * Encodes the specified IndirectExtension message, length delimited. Does not implicitly {@link jspb.test.IndirectExtension.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.IndirectExtension * @static * @param {jspb.test.IIndirectExtension} message IndirectExtension message or plain object to encode @@ -3026,6 +3146,7 @@ $root.jspb = (function() { /** * Decodes an IndirectExtension message from the specified reader or buffer. + * @function decode * @memberof jspb.test.IndirectExtension * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -3051,6 +3172,7 @@ $root.jspb = (function() { /** * Decodes an IndirectExtension message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.IndirectExtension * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -3066,6 +3188,7 @@ $root.jspb = (function() { /** * Verifies an IndirectExtension message. + * @function verify * @memberof jspb.test.IndirectExtension * @static * @param {Object.} message Plain object to verify @@ -3079,6 +3202,7 @@ $root.jspb = (function() { /** * Creates an IndirectExtension message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.IndirectExtension * @static * @param {Object.} object Plain object @@ -3092,6 +3216,7 @@ $root.jspb = (function() { /** * Creates a plain object from an IndirectExtension message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.IndirectExtension * @static * @param {jspb.test.IndirectExtension} message IndirectExtension @@ -3104,6 +3229,7 @@ $root.jspb = (function() { /** * Converts this IndirectExtension to JSON. + * @function toJSON * @memberof jspb.test.IndirectExtension * @instance * @returns {Object.} JSON object @@ -3145,54 +3271,55 @@ $root.jspb = (function() { /** * DefaultValues stringField. + * @member {string}stringField * @memberof jspb.test.DefaultValues * @instance - * @type {string} */ DefaultValues.prototype.stringField = "default<>abc"; /** * DefaultValues boolField. + * @member {boolean}boolField * @memberof jspb.test.DefaultValues * @instance - * @type {boolean} */ DefaultValues.prototype.boolField = true; /** * DefaultValues intField. + * @member {number|Long}intField * @memberof jspb.test.DefaultValues * @instance - * @type {number|Long} */ DefaultValues.prototype.intField = $util.Long ? $util.Long.fromBits(11,0,false) : 11; /** * DefaultValues enumField. + * @member {jspb.test.DefaultValues.Enum}enumField * @memberof jspb.test.DefaultValues * @instance - * @type {jspb.test.DefaultValues.Enum} */ DefaultValues.prototype.enumField = 13; /** * DefaultValues emptyField. + * @member {string}emptyField * @memberof jspb.test.DefaultValues * @instance - * @type {string} */ DefaultValues.prototype.emptyField = ""; /** * DefaultValues bytesField. + * @member {Uint8Array}bytesField * @memberof jspb.test.DefaultValues * @instance - * @type {Uint8Array} */ DefaultValues.prototype.bytesField = $util.newBuffer([109,111,111]); /** * Creates a new DefaultValues instance using the specified properties. + * @function create * @memberof jspb.test.DefaultValues * @static * @param {jspb.test.IDefaultValues=} [properties] Properties to set @@ -3204,6 +3331,7 @@ $root.jspb = (function() { /** * Encodes the specified DefaultValues message. Does not implicitly {@link jspb.test.DefaultValues.verify|verify} messages. + * @function encode * @memberof jspb.test.DefaultValues * @static * @param {jspb.test.IDefaultValues} message DefaultValues message or plain object to encode @@ -3230,6 +3358,7 @@ $root.jspb = (function() { /** * Encodes the specified DefaultValues message, length delimited. Does not implicitly {@link jspb.test.DefaultValues.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.DefaultValues * @static * @param {jspb.test.IDefaultValues} message DefaultValues message or plain object to encode @@ -3242,6 +3371,7 @@ $root.jspb = (function() { /** * Decodes a DefaultValues message from the specified reader or buffer. + * @function decode * @memberof jspb.test.DefaultValues * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -3285,6 +3415,7 @@ $root.jspb = (function() { /** * Decodes a DefaultValues message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.DefaultValues * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -3300,6 +3431,7 @@ $root.jspb = (function() { /** * Verifies a DefaultValues message. + * @function verify * @memberof jspb.test.DefaultValues * @static * @param {Object.} message Plain object to verify @@ -3336,6 +3468,7 @@ $root.jspb = (function() { /** * Creates a DefaultValues message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.DefaultValues * @static * @param {Object.} object Plain object @@ -3380,6 +3513,7 @@ $root.jspb = (function() { /** * Creates a plain object from a DefaultValues message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.DefaultValues * @static * @param {jspb.test.DefaultValues} message DefaultValues @@ -3426,6 +3560,7 @@ $root.jspb = (function() { /** * Converts this DefaultValues to JSON. + * @function toJSON * @memberof jspb.test.DefaultValues * @instance * @returns {Object.} JSON object @@ -3484,70 +3619,71 @@ $root.jspb = (function() { /** * FloatingPointFields optionalFloatField. + * @member {number}optionalFloatField * @memberof jspb.test.FloatingPointFields * @instance - * @type {number} */ FloatingPointFields.prototype.optionalFloatField = 0; /** * FloatingPointFields requiredFloatField. + * @member {number}requiredFloatField * @memberof jspb.test.FloatingPointFields * @instance - * @type {number} */ FloatingPointFields.prototype.requiredFloatField = 0; /** * FloatingPointFields repeatedFloatField. + * @member {Array.}repeatedFloatField * @memberof jspb.test.FloatingPointFields * @instance - * @type {Array.} */ FloatingPointFields.prototype.repeatedFloatField = $util.emptyArray; /** * FloatingPointFields defaultFloatField. + * @member {number}defaultFloatField * @memberof jspb.test.FloatingPointFields * @instance - * @type {number} */ FloatingPointFields.prototype.defaultFloatField = 2; /** * FloatingPointFields optionalDoubleField. + * @member {number}optionalDoubleField * @memberof jspb.test.FloatingPointFields * @instance - * @type {number} */ FloatingPointFields.prototype.optionalDoubleField = 0; /** * FloatingPointFields requiredDoubleField. + * @member {number}requiredDoubleField * @memberof jspb.test.FloatingPointFields * @instance - * @type {number} */ FloatingPointFields.prototype.requiredDoubleField = 0; /** * FloatingPointFields repeatedDoubleField. + * @member {Array.}repeatedDoubleField * @memberof jspb.test.FloatingPointFields * @instance - * @type {Array.} */ FloatingPointFields.prototype.repeatedDoubleField = $util.emptyArray; /** * FloatingPointFields defaultDoubleField. + * @member {number}defaultDoubleField * @memberof jspb.test.FloatingPointFields * @instance - * @type {number} */ FloatingPointFields.prototype.defaultDoubleField = 2; /** * Creates a new FloatingPointFields instance using the specified properties. + * @function create * @memberof jspb.test.FloatingPointFields * @static * @param {jspb.test.IFloatingPointFields=} [properties] Properties to set @@ -3559,6 +3695,7 @@ $root.jspb = (function() { /** * Encodes the specified FloatingPointFields message. Does not implicitly {@link jspb.test.FloatingPointFields.verify|verify} messages. + * @function encode * @memberof jspb.test.FloatingPointFields * @static * @param {jspb.test.IFloatingPointFields} message FloatingPointFields message or plain object to encode @@ -3589,6 +3726,7 @@ $root.jspb = (function() { /** * Encodes the specified FloatingPointFields message, length delimited. Does not implicitly {@link jspb.test.FloatingPointFields.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.FloatingPointFields * @static * @param {jspb.test.IFloatingPointFields} message FloatingPointFields message or plain object to encode @@ -3601,6 +3739,7 @@ $root.jspb = (function() { /** * Decodes a FloatingPointFields message from the specified reader or buffer. + * @function decode * @memberof jspb.test.FloatingPointFields * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -3668,6 +3807,7 @@ $root.jspb = (function() { /** * Decodes a FloatingPointFields message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.FloatingPointFields * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -3683,6 +3823,7 @@ $root.jspb = (function() { /** * Verifies a FloatingPointFields message. + * @function verify * @memberof jspb.test.FloatingPointFields * @static * @param {Object.} message Plain object to verify @@ -3726,6 +3867,7 @@ $root.jspb = (function() { /** * Creates a FloatingPointFields message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.FloatingPointFields * @static * @param {Object.} object Plain object @@ -3766,6 +3908,7 @@ $root.jspb = (function() { /** * Creates a plain object from a FloatingPointFields message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.FloatingPointFields * @static * @param {jspb.test.FloatingPointFields} message FloatingPointFields @@ -3815,6 +3958,7 @@ $root.jspb = (function() { /** * Converts this FloatingPointFields to JSON. + * @function toJSON * @memberof jspb.test.FloatingPointFields * @instance * @returns {Object.} JSON object @@ -3857,54 +4001,55 @@ $root.jspb = (function() { /** * TestClone str. + * @member {string}str * @memberof jspb.test.TestClone * @instance - * @type {string} */ TestClone.prototype.str = ""; /** * TestClone simple1. + * @member {(jspb.test.ISimple1|null)}simple1 * @memberof jspb.test.TestClone * @instance - * @type {(jspb.test.ISimple1|null)} */ TestClone.prototype.simple1 = null; /** * TestClone simple2. + * @member {Array.}simple2 * @memberof jspb.test.TestClone * @instance - * @type {Array.} */ TestClone.prototype.simple2 = $util.emptyArray; /** * TestClone bytesField. + * @member {Uint8Array}bytesField * @memberof jspb.test.TestClone * @instance - * @type {Uint8Array} */ TestClone.prototype.bytesField = $util.newBuffer([]); /** * TestClone unused. + * @member {string}unused * @memberof jspb.test.TestClone * @instance - * @type {string} */ TestClone.prototype.unused = ""; /** * TestClone .jspb.test.CloneExtension.extField. + * @member {(jspb.test.ICloneExtension|null)}.jspb.test.CloneExtension.extField * @memberof jspb.test.TestClone * @instance - * @type {(jspb.test.ICloneExtension|null)} */ TestClone.prototype[".jspb.test.CloneExtension.extField"] = null; /** * Creates a new TestClone instance using the specified properties. + * @function create * @memberof jspb.test.TestClone * @static * @param {jspb.test.ITestClone=} [properties] Properties to set @@ -3916,6 +4061,7 @@ $root.jspb = (function() { /** * Encodes the specified TestClone message. Does not implicitly {@link jspb.test.TestClone.verify|verify} messages. + * @function encode * @memberof jspb.test.TestClone * @static * @param {jspb.test.ITestClone} message TestClone message or plain object to encode @@ -3943,6 +4089,7 @@ $root.jspb = (function() { /** * Encodes the specified TestClone message, length delimited. Does not implicitly {@link jspb.test.TestClone.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.TestClone * @static * @param {jspb.test.ITestClone} message TestClone message or plain object to encode @@ -3955,6 +4102,7 @@ $root.jspb = (function() { /** * Decodes a TestClone message from the specified reader or buffer. + * @function decode * @memberof jspb.test.TestClone * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -4000,6 +4148,7 @@ $root.jspb = (function() { /** * Decodes a TestClone message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.TestClone * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -4015,6 +4164,7 @@ $root.jspb = (function() { /** * Verifies a TestClone message. + * @function verify * @memberof jspb.test.TestClone * @static * @param {Object.} message Plain object to verify @@ -4056,6 +4206,7 @@ $root.jspb = (function() { /** * Creates a TestClone message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.TestClone * @static * @param {Object.} object Plain object @@ -4099,6 +4250,7 @@ $root.jspb = (function() { /** * Creates a plain object from a TestClone message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.TestClone * @static * @param {jspb.test.TestClone} message TestClone @@ -4138,6 +4290,7 @@ $root.jspb = (function() { /** * Converts this TestClone to JSON. + * @function toJSON * @memberof jspb.test.TestClone * @instance * @returns {Object.} JSON object @@ -4174,14 +4327,15 @@ $root.jspb = (function() { /** * CloneExtension ext. + * @member {string}ext * @memberof jspb.test.CloneExtension * @instance - * @type {string} */ CloneExtension.prototype.ext = ""; /** * Creates a new CloneExtension instance using the specified properties. + * @function create * @memberof jspb.test.CloneExtension * @static * @param {jspb.test.ICloneExtension=} [properties] Properties to set @@ -4193,6 +4347,7 @@ $root.jspb = (function() { /** * Encodes the specified CloneExtension message. Does not implicitly {@link jspb.test.CloneExtension.verify|verify} messages. + * @function encode * @memberof jspb.test.CloneExtension * @static * @param {jspb.test.ICloneExtension} message CloneExtension message or plain object to encode @@ -4209,6 +4364,7 @@ $root.jspb = (function() { /** * Encodes the specified CloneExtension message, length delimited. Does not implicitly {@link jspb.test.CloneExtension.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.CloneExtension * @static * @param {jspb.test.ICloneExtension} message CloneExtension message or plain object to encode @@ -4221,6 +4377,7 @@ $root.jspb = (function() { /** * Decodes a CloneExtension message from the specified reader or buffer. + * @function decode * @memberof jspb.test.CloneExtension * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -4249,6 +4406,7 @@ $root.jspb = (function() { /** * Decodes a CloneExtension message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.CloneExtension * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -4264,6 +4422,7 @@ $root.jspb = (function() { /** * Verifies a CloneExtension message. + * @function verify * @memberof jspb.test.CloneExtension * @static * @param {Object.} message Plain object to verify @@ -4280,6 +4439,7 @@ $root.jspb = (function() { /** * Creates a CloneExtension message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.CloneExtension * @static * @param {Object.} object Plain object @@ -4296,6 +4456,7 @@ $root.jspb = (function() { /** * Creates a plain object from a CloneExtension message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.CloneExtension * @static * @param {jspb.test.CloneExtension} message CloneExtension @@ -4315,6 +4476,7 @@ $root.jspb = (function() { /** * Converts this CloneExtension to JSON. + * @function toJSON * @memberof jspb.test.CloneExtension * @instance * @returns {Object.} JSON object @@ -4357,54 +4519,55 @@ $root.jspb = (function() { /** * TestGroup repeatedGroup. + * @member {Array.}repeatedGroup * @memberof jspb.test.TestGroup * @instance - * @type {Array.} */ TestGroup.prototype.repeatedGroup = $util.emptyArray; /** * TestGroup requiredGroup. + * @member {jspb.test.TestGroup.IRequiredGroup}requiredGroup * @memberof jspb.test.TestGroup * @instance - * @type {jspb.test.TestGroup.IRequiredGroup} */ TestGroup.prototype.requiredGroup = null; /** * TestGroup optionalGroup. + * @member {(jspb.test.TestGroup.IOptionalGroup|null)}optionalGroup * @memberof jspb.test.TestGroup * @instance - * @type {(jspb.test.TestGroup.IOptionalGroup|null)} */ TestGroup.prototype.optionalGroup = null; /** * TestGroup id. + * @member {string}id * @memberof jspb.test.TestGroup * @instance - * @type {string} */ TestGroup.prototype.id = ""; /** * TestGroup requiredSimple. + * @member {jspb.test.ISimple2}requiredSimple * @memberof jspb.test.TestGroup * @instance - * @type {jspb.test.ISimple2} */ TestGroup.prototype.requiredSimple = null; /** * TestGroup optionalSimple. + * @member {(jspb.test.ISimple2|null)}optionalSimple * @memberof jspb.test.TestGroup * @instance - * @type {(jspb.test.ISimple2|null)} */ TestGroup.prototype.optionalSimple = null; /** * Creates a new TestGroup instance using the specified properties. + * @function create * @memberof jspb.test.TestGroup * @static * @param {jspb.test.ITestGroup=} [properties] Properties to set @@ -4416,6 +4579,7 @@ $root.jspb = (function() { /** * Encodes the specified TestGroup message. Does not implicitly {@link jspb.test.TestGroup.verify|verify} messages. + * @function encode * @memberof jspb.test.TestGroup * @static * @param {jspb.test.ITestGroup} message TestGroup message or plain object to encode @@ -4441,6 +4605,7 @@ $root.jspb = (function() { /** * Encodes the specified TestGroup message, length delimited. Does not implicitly {@link jspb.test.TestGroup.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.TestGroup * @static * @param {jspb.test.ITestGroup} message TestGroup message or plain object to encode @@ -4453,6 +4618,7 @@ $root.jspb = (function() { /** * Decodes a TestGroup message from the specified reader or buffer. + * @function decode * @memberof jspb.test.TestGroup * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -4502,6 +4668,7 @@ $root.jspb = (function() { /** * Decodes a TestGroup message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.TestGroup * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -4517,6 +4684,7 @@ $root.jspb = (function() { /** * Verifies a TestGroup message. + * @function verify * @memberof jspb.test.TestGroup * @static * @param {Object.} message Plain object to verify @@ -4558,6 +4726,7 @@ $root.jspb = (function() { /** * Creates a TestGroup message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.TestGroup * @static * @param {Object.} object Plain object @@ -4604,6 +4773,7 @@ $root.jspb = (function() { /** * Creates a plain object from a TestGroup message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.TestGroup * @static * @param {jspb.test.TestGroup} message TestGroup @@ -4643,6 +4813,7 @@ $root.jspb = (function() { /** * Converts this TestGroup to JSON. + * @function toJSON * @memberof jspb.test.TestGroup * @instance * @returns {Object.} JSON object @@ -4678,22 +4849,23 @@ $root.jspb = (function() { /** * RepeatedGroup id. + * @member {string}id * @memberof jspb.test.TestGroup.RepeatedGroup * @instance - * @type {string} */ RepeatedGroup.prototype.id = ""; /** * RepeatedGroup someBool. + * @member {Array.}someBool * @memberof jspb.test.TestGroup.RepeatedGroup * @instance - * @type {Array.} */ RepeatedGroup.prototype.someBool = $util.emptyArray; /** * Creates a new RepeatedGroup instance using the specified properties. + * @function create * @memberof jspb.test.TestGroup.RepeatedGroup * @static * @param {jspb.test.TestGroup.IRepeatedGroup=} [properties] Properties to set @@ -4705,6 +4877,7 @@ $root.jspb = (function() { /** * Encodes the specified RepeatedGroup message. Does not implicitly {@link jspb.test.TestGroup.RepeatedGroup.verify|verify} messages. + * @function encode * @memberof jspb.test.TestGroup.RepeatedGroup * @static * @param {jspb.test.TestGroup.IRepeatedGroup} message RepeatedGroup message or plain object to encode @@ -4723,6 +4896,7 @@ $root.jspb = (function() { /** * Encodes the specified RepeatedGroup message, length delimited. Does not implicitly {@link jspb.test.TestGroup.RepeatedGroup.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.TestGroup.RepeatedGroup * @static * @param {jspb.test.TestGroup.IRepeatedGroup} message RepeatedGroup message or plain object to encode @@ -4735,6 +4909,7 @@ $root.jspb = (function() { /** * Decodes a RepeatedGroup message from the specified reader or buffer. + * @function decode * @memberof jspb.test.TestGroup.RepeatedGroup * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -4777,6 +4952,7 @@ $root.jspb = (function() { /** * Decodes a RepeatedGroup message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.TestGroup.RepeatedGroup * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -4792,6 +4968,7 @@ $root.jspb = (function() { /** * Verifies a RepeatedGroup message. + * @function verify * @memberof jspb.test.TestGroup.RepeatedGroup * @static * @param {Object.} message Plain object to verify @@ -4814,6 +4991,7 @@ $root.jspb = (function() { /** * Creates a RepeatedGroup message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.TestGroup.RepeatedGroup * @static * @param {Object.} object Plain object @@ -4837,6 +5015,7 @@ $root.jspb = (function() { /** * Creates a plain object from a RepeatedGroup message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.TestGroup.RepeatedGroup * @static * @param {jspb.test.TestGroup.RepeatedGroup} message RepeatedGroup @@ -4863,6 +5042,7 @@ $root.jspb = (function() { /** * Converts this RepeatedGroup to JSON. + * @function toJSON * @memberof jspb.test.TestGroup.RepeatedGroup * @instance * @returns {Object.} JSON object @@ -4899,14 +5079,15 @@ $root.jspb = (function() { /** * RequiredGroup id. + * @member {string}id * @memberof jspb.test.TestGroup.RequiredGroup * @instance - * @type {string} */ RequiredGroup.prototype.id = ""; /** * Creates a new RequiredGroup instance using the specified properties. + * @function create * @memberof jspb.test.TestGroup.RequiredGroup * @static * @param {jspb.test.TestGroup.IRequiredGroup=} [properties] Properties to set @@ -4918,6 +5099,7 @@ $root.jspb = (function() { /** * Encodes the specified RequiredGroup message. Does not implicitly {@link jspb.test.TestGroup.RequiredGroup.verify|verify} messages. + * @function encode * @memberof jspb.test.TestGroup.RequiredGroup * @static * @param {jspb.test.TestGroup.IRequiredGroup} message RequiredGroup message or plain object to encode @@ -4933,6 +5115,7 @@ $root.jspb = (function() { /** * Encodes the specified RequiredGroup message, length delimited. Does not implicitly {@link jspb.test.TestGroup.RequiredGroup.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.TestGroup.RequiredGroup * @static * @param {jspb.test.TestGroup.IRequiredGroup} message RequiredGroup message or plain object to encode @@ -4945,6 +5128,7 @@ $root.jspb = (function() { /** * Decodes a RequiredGroup message from the specified reader or buffer. + * @function decode * @memberof jspb.test.TestGroup.RequiredGroup * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -4977,6 +5161,7 @@ $root.jspb = (function() { /** * Decodes a RequiredGroup message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.TestGroup.RequiredGroup * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -4992,6 +5177,7 @@ $root.jspb = (function() { /** * Verifies a RequiredGroup message. + * @function verify * @memberof jspb.test.TestGroup.RequiredGroup * @static * @param {Object.} message Plain object to verify @@ -5007,6 +5193,7 @@ $root.jspb = (function() { /** * Creates a RequiredGroup message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.TestGroup.RequiredGroup * @static * @param {Object.} object Plain object @@ -5023,6 +5210,7 @@ $root.jspb = (function() { /** * Creates a plain object from a RequiredGroup message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.TestGroup.RequiredGroup * @static * @param {jspb.test.TestGroup.RequiredGroup} message RequiredGroup @@ -5042,6 +5230,7 @@ $root.jspb = (function() { /** * Converts this RequiredGroup to JSON. + * @function toJSON * @memberof jspb.test.TestGroup.RequiredGroup * @instance * @returns {Object.} JSON object @@ -5078,14 +5267,15 @@ $root.jspb = (function() { /** * OptionalGroup id. + * @member {string}id * @memberof jspb.test.TestGroup.OptionalGroup * @instance - * @type {string} */ OptionalGroup.prototype.id = ""; /** * Creates a new OptionalGroup instance using the specified properties. + * @function create * @memberof jspb.test.TestGroup.OptionalGroup * @static * @param {jspb.test.TestGroup.IOptionalGroup=} [properties] Properties to set @@ -5097,6 +5287,7 @@ $root.jspb = (function() { /** * Encodes the specified OptionalGroup message. Does not implicitly {@link jspb.test.TestGroup.OptionalGroup.verify|verify} messages. + * @function encode * @memberof jspb.test.TestGroup.OptionalGroup * @static * @param {jspb.test.TestGroup.IOptionalGroup} message OptionalGroup message or plain object to encode @@ -5112,6 +5303,7 @@ $root.jspb = (function() { /** * Encodes the specified OptionalGroup message, length delimited. Does not implicitly {@link jspb.test.TestGroup.OptionalGroup.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.TestGroup.OptionalGroup * @static * @param {jspb.test.TestGroup.IOptionalGroup} message OptionalGroup message or plain object to encode @@ -5124,6 +5316,7 @@ $root.jspb = (function() { /** * Decodes an OptionalGroup message from the specified reader or buffer. + * @function decode * @memberof jspb.test.TestGroup.OptionalGroup * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -5156,6 +5349,7 @@ $root.jspb = (function() { /** * Decodes an OptionalGroup message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.TestGroup.OptionalGroup * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -5171,6 +5365,7 @@ $root.jspb = (function() { /** * Verifies an OptionalGroup message. + * @function verify * @memberof jspb.test.TestGroup.OptionalGroup * @static * @param {Object.} message Plain object to verify @@ -5186,6 +5381,7 @@ $root.jspb = (function() { /** * Creates an OptionalGroup message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.TestGroup.OptionalGroup * @static * @param {Object.} object Plain object @@ -5202,6 +5398,7 @@ $root.jspb = (function() { /** * Creates a plain object from an OptionalGroup message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.TestGroup.OptionalGroup * @static * @param {jspb.test.TestGroup.OptionalGroup} message OptionalGroup @@ -5221,6 +5418,7 @@ $root.jspb = (function() { /** * Converts this OptionalGroup to JSON. + * @function toJSON * @memberof jspb.test.TestGroup.OptionalGroup * @instance * @returns {Object.} JSON object @@ -5260,14 +5458,15 @@ $root.jspb = (function() { /** * TestGroup1 group. + * @member {(jspb.test.TestGroup.IRepeatedGroup|null)}group * @memberof jspb.test.TestGroup1 * @instance - * @type {(jspb.test.TestGroup.IRepeatedGroup|null)} */ TestGroup1.prototype.group = null; /** * Creates a new TestGroup1 instance using the specified properties. + * @function create * @memberof jspb.test.TestGroup1 * @static * @param {jspb.test.ITestGroup1=} [properties] Properties to set @@ -5279,6 +5478,7 @@ $root.jspb = (function() { /** * Encodes the specified TestGroup1 message. Does not implicitly {@link jspb.test.TestGroup1.verify|verify} messages. + * @function encode * @memberof jspb.test.TestGroup1 * @static * @param {jspb.test.ITestGroup1} message TestGroup1 message or plain object to encode @@ -5295,6 +5495,7 @@ $root.jspb = (function() { /** * Encodes the specified TestGroup1 message, length delimited. Does not implicitly {@link jspb.test.TestGroup1.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.TestGroup1 * @static * @param {jspb.test.ITestGroup1} message TestGroup1 message or plain object to encode @@ -5307,6 +5508,7 @@ $root.jspb = (function() { /** * Decodes a TestGroup1 message from the specified reader or buffer. + * @function decode * @memberof jspb.test.TestGroup1 * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -5335,6 +5537,7 @@ $root.jspb = (function() { /** * Decodes a TestGroup1 message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.TestGroup1 * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -5350,6 +5553,7 @@ $root.jspb = (function() { /** * Verifies a TestGroup1 message. + * @function verify * @memberof jspb.test.TestGroup1 * @static * @param {Object.} message Plain object to verify @@ -5368,6 +5572,7 @@ $root.jspb = (function() { /** * Creates a TestGroup1 message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.TestGroup1 * @static * @param {Object.} object Plain object @@ -5387,6 +5592,7 @@ $root.jspb = (function() { /** * Creates a plain object from a TestGroup1 message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.TestGroup1 * @static * @param {jspb.test.TestGroup1} message TestGroup1 @@ -5406,6 +5612,7 @@ $root.jspb = (function() { /** * Converts this TestGroup1 to JSON. + * @function toJSON * @memberof jspb.test.TestGroup1 * @instance * @returns {Object.} JSON object @@ -5443,22 +5650,23 @@ $root.jspb = (function() { /** * TestReservedNames extension. + * @member {number}extension * @memberof jspb.test.TestReservedNames * @instance - * @type {number} */ TestReservedNames.prototype.extension = 0; /** * TestReservedNames .jspb.test.TestReservedNamesExtension.foo. + * @member {number}.jspb.test.TestReservedNamesExtension.foo * @memberof jspb.test.TestReservedNames * @instance - * @type {number} */ TestReservedNames.prototype[".jspb.test.TestReservedNamesExtension.foo"] = 0; /** * Creates a new TestReservedNames instance using the specified properties. + * @function create * @memberof jspb.test.TestReservedNames * @static * @param {jspb.test.ITestReservedNames=} [properties] Properties to set @@ -5470,6 +5678,7 @@ $root.jspb = (function() { /** * Encodes the specified TestReservedNames message. Does not implicitly {@link jspb.test.TestReservedNames.verify|verify} messages. + * @function encode * @memberof jspb.test.TestReservedNames * @static * @param {jspb.test.ITestReservedNames} message TestReservedNames message or plain object to encode @@ -5488,6 +5697,7 @@ $root.jspb = (function() { /** * Encodes the specified TestReservedNames message, length delimited. Does not implicitly {@link jspb.test.TestReservedNames.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.TestReservedNames * @static * @param {jspb.test.ITestReservedNames} message TestReservedNames message or plain object to encode @@ -5500,6 +5710,7 @@ $root.jspb = (function() { /** * Decodes a TestReservedNames message from the specified reader or buffer. + * @function decode * @memberof jspb.test.TestReservedNames * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -5531,6 +5742,7 @@ $root.jspb = (function() { /** * Decodes a TestReservedNames message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.TestReservedNames * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -5546,6 +5758,7 @@ $root.jspb = (function() { /** * Verifies a TestReservedNames message. + * @function verify * @memberof jspb.test.TestReservedNames * @static * @param {Object.} message Plain object to verify @@ -5565,6 +5778,7 @@ $root.jspb = (function() { /** * Creates a TestReservedNames message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.TestReservedNames * @static * @param {Object.} object Plain object @@ -5583,6 +5797,7 @@ $root.jspb = (function() { /** * Creates a plain object from a TestReservedNames message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.TestReservedNames * @static * @param {jspb.test.TestReservedNames} message TestReservedNames @@ -5606,6 +5821,7 @@ $root.jspb = (function() { /** * Converts this TestReservedNames to JSON. + * @function toJSON * @memberof jspb.test.TestReservedNames * @instance * @returns {Object.} JSON object @@ -5641,6 +5857,7 @@ $root.jspb = (function() { /** * Creates a new TestReservedNamesExtension instance using the specified properties. + * @function create * @memberof jspb.test.TestReservedNamesExtension * @static * @param {jspb.test.ITestReservedNamesExtension=} [properties] Properties to set @@ -5652,6 +5869,7 @@ $root.jspb = (function() { /** * Encodes the specified TestReservedNamesExtension message. Does not implicitly {@link jspb.test.TestReservedNamesExtension.verify|verify} messages. + * @function encode * @memberof jspb.test.TestReservedNamesExtension * @static * @param {jspb.test.ITestReservedNamesExtension} message TestReservedNamesExtension message or plain object to encode @@ -5666,6 +5884,7 @@ $root.jspb = (function() { /** * Encodes the specified TestReservedNamesExtension message, length delimited. Does not implicitly {@link jspb.test.TestReservedNamesExtension.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.TestReservedNamesExtension * @static * @param {jspb.test.ITestReservedNamesExtension} message TestReservedNamesExtension message or plain object to encode @@ -5678,6 +5897,7 @@ $root.jspb = (function() { /** * Decodes a TestReservedNamesExtension message from the specified reader or buffer. + * @function decode * @memberof jspb.test.TestReservedNamesExtension * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -5703,6 +5923,7 @@ $root.jspb = (function() { /** * Decodes a TestReservedNamesExtension message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.TestReservedNamesExtension * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -5718,6 +5939,7 @@ $root.jspb = (function() { /** * Verifies a TestReservedNamesExtension message. + * @function verify * @memberof jspb.test.TestReservedNamesExtension * @static * @param {Object.} message Plain object to verify @@ -5731,6 +5953,7 @@ $root.jspb = (function() { /** * Creates a TestReservedNamesExtension message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.TestReservedNamesExtension * @static * @param {Object.} object Plain object @@ -5744,6 +5967,7 @@ $root.jspb = (function() { /** * Creates a plain object from a TestReservedNamesExtension message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.TestReservedNamesExtension * @static * @param {jspb.test.TestReservedNamesExtension} message TestReservedNamesExtension @@ -5756,6 +5980,7 @@ $root.jspb = (function() { /** * Converts this TestReservedNamesExtension to JSON. + * @function toJSON * @memberof jspb.test.TestReservedNamesExtension * @instance * @returns {Object.} JSON object @@ -5802,81 +6027,81 @@ $root.jspb = (function() { /** * TestMessageWithOneof pone. + * @member {string}pone * @memberof jspb.test.TestMessageWithOneof * @instance - * @type {string} */ TestMessageWithOneof.prototype.pone = ""; /** * TestMessageWithOneof pthree. + * @member {string}pthree * @memberof jspb.test.TestMessageWithOneof * @instance - * @type {string} */ TestMessageWithOneof.prototype.pthree = ""; /** * TestMessageWithOneof rone. + * @member {(jspb.test.ITestMessageWithOneof|null)}rone * @memberof jspb.test.TestMessageWithOneof * @instance - * @type {(jspb.test.ITestMessageWithOneof|null)} */ TestMessageWithOneof.prototype.rone = null; /** * TestMessageWithOneof rtwo. + * @member {string}rtwo * @memberof jspb.test.TestMessageWithOneof * @instance - * @type {string} */ TestMessageWithOneof.prototype.rtwo = ""; /** * TestMessageWithOneof normalField. + * @member {boolean}normalField * @memberof jspb.test.TestMessageWithOneof * @instance - * @type {boolean} */ TestMessageWithOneof.prototype.normalField = false; /** * TestMessageWithOneof repeatedField. + * @member {Array.}repeatedField * @memberof jspb.test.TestMessageWithOneof * @instance - * @type {Array.} */ TestMessageWithOneof.prototype.repeatedField = $util.emptyArray; /** * TestMessageWithOneof aone. + * @member {number}aone * @memberof jspb.test.TestMessageWithOneof * @instance - * @type {number} */ TestMessageWithOneof.prototype.aone = 1234; /** * TestMessageWithOneof atwo. + * @member {number}atwo * @memberof jspb.test.TestMessageWithOneof * @instance - * @type {number} */ TestMessageWithOneof.prototype.atwo = 0; /** * TestMessageWithOneof bone. + * @member {number}bone * @memberof jspb.test.TestMessageWithOneof * @instance - * @type {number} */ TestMessageWithOneof.prototype.bone = 0; /** * TestMessageWithOneof btwo. + * @member {number}btwo * @memberof jspb.test.TestMessageWithOneof * @instance - * @type {number} */ TestMessageWithOneof.prototype.btwo = 1234; @@ -5885,10 +6110,9 @@ $root.jspb = (function() { /** * TestMessageWithOneof partialOneof. - * @property partialOneof + * @member {string|undefined} partialOneof * @memberof jspb.test.TestMessageWithOneof * @instance - * @type {string|undefined} */ Object.defineProperty(TestMessageWithOneof.prototype, "partialOneof", { get: $util.oneOfGetter($oneOfFields = ["pone", "pthree"]), @@ -5897,10 +6121,9 @@ $root.jspb = (function() { /** * TestMessageWithOneof recursiveOneof. - * @property recursiveOneof + * @member {string|undefined} recursiveOneof * @memberof jspb.test.TestMessageWithOneof * @instance - * @type {string|undefined} */ Object.defineProperty(TestMessageWithOneof.prototype, "recursiveOneof", { get: $util.oneOfGetter($oneOfFields = ["rone", "rtwo"]), @@ -5909,10 +6132,9 @@ $root.jspb = (function() { /** * TestMessageWithOneof defaultOneofA. - * @property defaultOneofA + * @member {string|undefined} defaultOneofA * @memberof jspb.test.TestMessageWithOneof * @instance - * @type {string|undefined} */ Object.defineProperty(TestMessageWithOneof.prototype, "defaultOneofA", { get: $util.oneOfGetter($oneOfFields = ["aone", "atwo"]), @@ -5921,10 +6143,9 @@ $root.jspb = (function() { /** * TestMessageWithOneof defaultOneofB. - * @property defaultOneofB + * @member {string|undefined} defaultOneofB * @memberof jspb.test.TestMessageWithOneof * @instance - * @type {string|undefined} */ Object.defineProperty(TestMessageWithOneof.prototype, "defaultOneofB", { get: $util.oneOfGetter($oneOfFields = ["bone", "btwo"]), @@ -5933,6 +6154,7 @@ $root.jspb = (function() { /** * Creates a new TestMessageWithOneof instance using the specified properties. + * @function create * @memberof jspb.test.TestMessageWithOneof * @static * @param {jspb.test.ITestMessageWithOneof=} [properties] Properties to set @@ -5944,6 +6166,7 @@ $root.jspb = (function() { /** * Encodes the specified TestMessageWithOneof message. Does not implicitly {@link jspb.test.TestMessageWithOneof.verify|verify} messages. + * @function encode * @memberof jspb.test.TestMessageWithOneof * @static * @param {jspb.test.ITestMessageWithOneof} message TestMessageWithOneof message or plain object to encode @@ -5979,6 +6202,7 @@ $root.jspb = (function() { /** * Encodes the specified TestMessageWithOneof message, length delimited. Does not implicitly {@link jspb.test.TestMessageWithOneof.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.TestMessageWithOneof * @static * @param {jspb.test.ITestMessageWithOneof} message TestMessageWithOneof message or plain object to encode @@ -5991,6 +6215,7 @@ $root.jspb = (function() { /** * Decodes a TestMessageWithOneof message from the specified reader or buffer. + * @function decode * @memberof jspb.test.TestMessageWithOneof * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -6048,6 +6273,7 @@ $root.jspb = (function() { /** * Decodes a TestMessageWithOneof message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.TestMessageWithOneof * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -6063,6 +6289,7 @@ $root.jspb = (function() { /** * Verifies a TestMessageWithOneof message. + * @function verify * @memberof jspb.test.TestMessageWithOneof * @static * @param {Object.} message Plain object to verify @@ -6136,6 +6363,7 @@ $root.jspb = (function() { /** * Creates a TestMessageWithOneof message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.TestMessageWithOneof * @static * @param {Object.} object Plain object @@ -6178,6 +6406,7 @@ $root.jspb = (function() { /** * Creates a plain object from a TestMessageWithOneof message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.TestMessageWithOneof * @static * @param {jspb.test.TestMessageWithOneof} message TestMessageWithOneof @@ -6244,6 +6473,7 @@ $root.jspb = (function() { /** * Converts this TestMessageWithOneof to JSON. + * @function toJSON * @memberof jspb.test.TestMessageWithOneof * @instance * @returns {Object.} JSON object @@ -6281,22 +6511,23 @@ $root.jspb = (function() { /** * TestEndsWithBytes value. + * @member {number}value * @memberof jspb.test.TestEndsWithBytes * @instance - * @type {number} */ TestEndsWithBytes.prototype.value = 0; /** * TestEndsWithBytes data. + * @member {Uint8Array}data * @memberof jspb.test.TestEndsWithBytes * @instance - * @type {Uint8Array} */ TestEndsWithBytes.prototype.data = $util.newBuffer([]); /** * Creates a new TestEndsWithBytes instance using the specified properties. + * @function create * @memberof jspb.test.TestEndsWithBytes * @static * @param {jspb.test.ITestEndsWithBytes=} [properties] Properties to set @@ -6308,6 +6539,7 @@ $root.jspb = (function() { /** * Encodes the specified TestEndsWithBytes message. Does not implicitly {@link jspb.test.TestEndsWithBytes.verify|verify} messages. + * @function encode * @memberof jspb.test.TestEndsWithBytes * @static * @param {jspb.test.ITestEndsWithBytes} message TestEndsWithBytes message or plain object to encode @@ -6326,6 +6558,7 @@ $root.jspb = (function() { /** * Encodes the specified TestEndsWithBytes message, length delimited. Does not implicitly {@link jspb.test.TestEndsWithBytes.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.TestEndsWithBytes * @static * @param {jspb.test.ITestEndsWithBytes} message TestEndsWithBytes message or plain object to encode @@ -6338,6 +6571,7 @@ $root.jspb = (function() { /** * Decodes a TestEndsWithBytes message from the specified reader or buffer. + * @function decode * @memberof jspb.test.TestEndsWithBytes * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -6369,6 +6603,7 @@ $root.jspb = (function() { /** * Decodes a TestEndsWithBytes message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.TestEndsWithBytes * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -6384,6 +6619,7 @@ $root.jspb = (function() { /** * Verifies a TestEndsWithBytes message. + * @function verify * @memberof jspb.test.TestEndsWithBytes * @static * @param {Object.} message Plain object to verify @@ -6403,6 +6639,7 @@ $root.jspb = (function() { /** * Creates a TestEndsWithBytes message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.TestEndsWithBytes * @static * @param {Object.} object Plain object @@ -6424,6 +6661,7 @@ $root.jspb = (function() { /** * Creates a plain object from a TestEndsWithBytes message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.TestEndsWithBytes * @static * @param {jspb.test.TestEndsWithBytes} message TestEndsWithBytes @@ -6447,6 +6685,7 @@ $root.jspb = (function() { /** * Converts this TestEndsWithBytes to JSON. + * @function toJSON * @memberof jspb.test.TestEndsWithBytes * @instance * @returns {Object.} JSON object @@ -6505,102 +6744,103 @@ $root.jspb = (function() { /** * TestMapFieldsNoBinary mapStringString. + * @member {Object.}mapStringString * @memberof jspb.test.TestMapFieldsNoBinary * @instance - * @type {Object.} */ TestMapFieldsNoBinary.prototype.mapStringString = $util.emptyObject; /** * TestMapFieldsNoBinary mapStringInt32. + * @member {Object.}mapStringInt32 * @memberof jspb.test.TestMapFieldsNoBinary * @instance - * @type {Object.} */ TestMapFieldsNoBinary.prototype.mapStringInt32 = $util.emptyObject; /** * TestMapFieldsNoBinary mapStringInt64. + * @member {Object.}mapStringInt64 * @memberof jspb.test.TestMapFieldsNoBinary * @instance - * @type {Object.} */ TestMapFieldsNoBinary.prototype.mapStringInt64 = $util.emptyObject; /** * TestMapFieldsNoBinary mapStringBool. + * @member {Object.}mapStringBool * @memberof jspb.test.TestMapFieldsNoBinary * @instance - * @type {Object.} */ TestMapFieldsNoBinary.prototype.mapStringBool = $util.emptyObject; /** * TestMapFieldsNoBinary mapStringDouble. + * @member {Object.}mapStringDouble * @memberof jspb.test.TestMapFieldsNoBinary * @instance - * @type {Object.} */ TestMapFieldsNoBinary.prototype.mapStringDouble = $util.emptyObject; /** * TestMapFieldsNoBinary mapStringEnum. + * @member {Object.}mapStringEnum * @memberof jspb.test.TestMapFieldsNoBinary * @instance - * @type {Object.} */ TestMapFieldsNoBinary.prototype.mapStringEnum = $util.emptyObject; /** * TestMapFieldsNoBinary mapStringMsg. + * @member {Object.}mapStringMsg * @memberof jspb.test.TestMapFieldsNoBinary * @instance - * @type {Object.} */ TestMapFieldsNoBinary.prototype.mapStringMsg = $util.emptyObject; /** * TestMapFieldsNoBinary mapInt32String. + * @member {Object.}mapInt32String * @memberof jspb.test.TestMapFieldsNoBinary * @instance - * @type {Object.} */ TestMapFieldsNoBinary.prototype.mapInt32String = $util.emptyObject; /** * TestMapFieldsNoBinary mapInt64String. + * @member {Object.}mapInt64String * @memberof jspb.test.TestMapFieldsNoBinary * @instance - * @type {Object.} */ TestMapFieldsNoBinary.prototype.mapInt64String = $util.emptyObject; /** * TestMapFieldsNoBinary mapBoolString. + * @member {Object.}mapBoolString * @memberof jspb.test.TestMapFieldsNoBinary * @instance - * @type {Object.} */ TestMapFieldsNoBinary.prototype.mapBoolString = $util.emptyObject; /** * TestMapFieldsNoBinary testMapFields. + * @member {(jspb.test.ITestMapFieldsNoBinary|null)}testMapFields * @memberof jspb.test.TestMapFieldsNoBinary * @instance - * @type {(jspb.test.ITestMapFieldsNoBinary|null)} */ TestMapFieldsNoBinary.prototype.testMapFields = null; /** * TestMapFieldsNoBinary mapStringTestmapfields. + * @member {Object.}mapStringTestmapfields * @memberof jspb.test.TestMapFieldsNoBinary * @instance - * @type {Object.} */ TestMapFieldsNoBinary.prototype.mapStringTestmapfields = $util.emptyObject; /** * Creates a new TestMapFieldsNoBinary instance using the specified properties. + * @function create * @memberof jspb.test.TestMapFieldsNoBinary * @static * @param {jspb.test.ITestMapFieldsNoBinary=} [properties] Properties to set @@ -6612,6 +6852,7 @@ $root.jspb = (function() { /** * Encodes the specified TestMapFieldsNoBinary message. Does not implicitly {@link jspb.test.TestMapFieldsNoBinary.verify|verify} messages. + * @function encode * @memberof jspb.test.TestMapFieldsNoBinary * @static * @param {jspb.test.ITestMapFieldsNoBinary} message TestMapFieldsNoBinary message or plain object to encode @@ -6665,6 +6906,7 @@ $root.jspb = (function() { /** * Encodes the specified TestMapFieldsNoBinary message, length delimited. Does not implicitly {@link jspb.test.TestMapFieldsNoBinary.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.TestMapFieldsNoBinary * @static * @param {jspb.test.ITestMapFieldsNoBinary} message TestMapFieldsNoBinary message or plain object to encode @@ -6677,6 +6919,7 @@ $root.jspb = (function() { /** * Decodes a TestMapFieldsNoBinary message from the specified reader or buffer. + * @function decode * @memberof jspb.test.TestMapFieldsNoBinary * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -6793,6 +7036,7 @@ $root.jspb = (function() { /** * Decodes a TestMapFieldsNoBinary message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.TestMapFieldsNoBinary * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -6808,6 +7052,7 @@ $root.jspb = (function() { /** * Verifies a TestMapFieldsNoBinary message. + * @function verify * @memberof jspb.test.TestMapFieldsNoBinary * @static * @param {Object.} message Plain object to verify @@ -6933,6 +7178,7 @@ $root.jspb = (function() { /** * Creates a TestMapFieldsNoBinary message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.TestMapFieldsNoBinary * @static * @param {Object.} object Plain object @@ -7055,6 +7301,7 @@ $root.jspb = (function() { /** * Creates a plain object from a TestMapFieldsNoBinary message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.TestMapFieldsNoBinary * @static * @param {jspb.test.TestMapFieldsNoBinary} message TestMapFieldsNoBinary @@ -7146,6 +7393,7 @@ $root.jspb = (function() { /** * Converts this TestMapFieldsNoBinary to JSON. + * @function toJSON * @memberof jspb.test.TestMapFieldsNoBinary * @instance * @returns {Object.} JSON object @@ -7197,14 +7445,15 @@ $root.jspb = (function() { /** * MapValueMessageNoBinary foo. + * @member {number}foo * @memberof jspb.test.MapValueMessageNoBinary * @instance - * @type {number} */ MapValueMessageNoBinary.prototype.foo = 0; /** * Creates a new MapValueMessageNoBinary instance using the specified properties. + * @function create * @memberof jspb.test.MapValueMessageNoBinary * @static * @param {jspb.test.IMapValueMessageNoBinary=} [properties] Properties to set @@ -7216,6 +7465,7 @@ $root.jspb = (function() { /** * Encodes the specified MapValueMessageNoBinary message. Does not implicitly {@link jspb.test.MapValueMessageNoBinary.verify|verify} messages. + * @function encode * @memberof jspb.test.MapValueMessageNoBinary * @static * @param {jspb.test.IMapValueMessageNoBinary} message MapValueMessageNoBinary message or plain object to encode @@ -7232,6 +7482,7 @@ $root.jspb = (function() { /** * Encodes the specified MapValueMessageNoBinary message, length delimited. Does not implicitly {@link jspb.test.MapValueMessageNoBinary.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.MapValueMessageNoBinary * @static * @param {jspb.test.IMapValueMessageNoBinary} message MapValueMessageNoBinary message or plain object to encode @@ -7244,6 +7495,7 @@ $root.jspb = (function() { /** * Decodes a MapValueMessageNoBinary message from the specified reader or buffer. + * @function decode * @memberof jspb.test.MapValueMessageNoBinary * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -7272,6 +7524,7 @@ $root.jspb = (function() { /** * Decodes a MapValueMessageNoBinary message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.MapValueMessageNoBinary * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -7287,6 +7540,7 @@ $root.jspb = (function() { /** * Verifies a MapValueMessageNoBinary message. + * @function verify * @memberof jspb.test.MapValueMessageNoBinary * @static * @param {Object.} message Plain object to verify @@ -7303,6 +7557,7 @@ $root.jspb = (function() { /** * Creates a MapValueMessageNoBinary message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.MapValueMessageNoBinary * @static * @param {Object.} object Plain object @@ -7319,6 +7574,7 @@ $root.jspb = (function() { /** * Creates a plain object from a MapValueMessageNoBinary message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.MapValueMessageNoBinary * @static * @param {jspb.test.MapValueMessageNoBinary} message MapValueMessageNoBinary @@ -7338,6 +7594,7 @@ $root.jspb = (function() { /** * Converts this MapValueMessageNoBinary to JSON. + * @function toJSON * @memberof jspb.test.MapValueMessageNoBinary * @instance * @returns {Object.} JSON object @@ -7373,6 +7630,7 @@ $root.jspb = (function() { /** * Creates a new Deeply instance using the specified properties. + * @function create * @memberof jspb.test.Deeply * @static * @param {jspb.test.IDeeply=} [properties] Properties to set @@ -7384,6 +7642,7 @@ $root.jspb = (function() { /** * Encodes the specified Deeply message. Does not implicitly {@link jspb.test.Deeply.verify|verify} messages. + * @function encode * @memberof jspb.test.Deeply * @static * @param {jspb.test.IDeeply} message Deeply message or plain object to encode @@ -7398,6 +7657,7 @@ $root.jspb = (function() { /** * Encodes the specified Deeply message, length delimited. Does not implicitly {@link jspb.test.Deeply.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.Deeply * @static * @param {jspb.test.IDeeply} message Deeply message or plain object to encode @@ -7410,6 +7670,7 @@ $root.jspb = (function() { /** * Decodes a Deeply message from the specified reader or buffer. + * @function decode * @memberof jspb.test.Deeply * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -7435,6 +7696,7 @@ $root.jspb = (function() { /** * Decodes a Deeply message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.Deeply * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -7450,6 +7712,7 @@ $root.jspb = (function() { /** * Verifies a Deeply message. + * @function verify * @memberof jspb.test.Deeply * @static * @param {Object.} message Plain object to verify @@ -7463,6 +7726,7 @@ $root.jspb = (function() { /** * Creates a Deeply message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.Deeply * @static * @param {Object.} object Plain object @@ -7476,6 +7740,7 @@ $root.jspb = (function() { /** * Creates a plain object from a Deeply message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.Deeply * @static * @param {jspb.test.Deeply} message Deeply @@ -7488,6 +7753,7 @@ $root.jspb = (function() { /** * Converts this Deeply to JSON. + * @function toJSON * @memberof jspb.test.Deeply * @instance * @returns {Object.} JSON object @@ -7520,6 +7786,7 @@ $root.jspb = (function() { /** * Creates a new Nested instance using the specified properties. + * @function create * @memberof jspb.test.Deeply.Nested * @static * @param {jspb.test.Deeply.INested=} [properties] Properties to set @@ -7531,6 +7798,7 @@ $root.jspb = (function() { /** * Encodes the specified Nested message. Does not implicitly {@link jspb.test.Deeply.Nested.verify|verify} messages. + * @function encode * @memberof jspb.test.Deeply.Nested * @static * @param {jspb.test.Deeply.INested} message Nested message or plain object to encode @@ -7545,6 +7813,7 @@ $root.jspb = (function() { /** * Encodes the specified Nested message, length delimited. Does not implicitly {@link jspb.test.Deeply.Nested.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.Deeply.Nested * @static * @param {jspb.test.Deeply.INested} message Nested message or plain object to encode @@ -7557,6 +7826,7 @@ $root.jspb = (function() { /** * Decodes a Nested message from the specified reader or buffer. + * @function decode * @memberof jspb.test.Deeply.Nested * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -7582,6 +7852,7 @@ $root.jspb = (function() { /** * Decodes a Nested message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.Deeply.Nested * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -7597,6 +7868,7 @@ $root.jspb = (function() { /** * Verifies a Nested message. + * @function verify * @memberof jspb.test.Deeply.Nested * @static * @param {Object.} message Plain object to verify @@ -7610,6 +7882,7 @@ $root.jspb = (function() { /** * Creates a Nested message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.Deeply.Nested * @static * @param {Object.} object Plain object @@ -7623,6 +7896,7 @@ $root.jspb = (function() { /** * Creates a plain object from a Nested message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.Deeply.Nested * @static * @param {jspb.test.Deeply.Nested} message Nested @@ -7635,6 +7909,7 @@ $root.jspb = (function() { /** * Converts this Nested to JSON. + * @function toJSON * @memberof jspb.test.Deeply.Nested * @instance * @returns {Object.} JSON object @@ -7668,14 +7943,15 @@ $root.jspb = (function() { /** * Message count. + * @member {number}count * @memberof jspb.test.Deeply.Nested.Message * @instance - * @type {number} */ Message.prototype.count = 0; /** * Creates a new Message instance using the specified properties. + * @function create * @memberof jspb.test.Deeply.Nested.Message * @static * @param {jspb.test.Deeply.Nested.IMessage=} [properties] Properties to set @@ -7687,6 +7963,7 @@ $root.jspb = (function() { /** * Encodes the specified Message message. Does not implicitly {@link jspb.test.Deeply.Nested.Message.verify|verify} messages. + * @function encode * @memberof jspb.test.Deeply.Nested.Message * @static * @param {jspb.test.Deeply.Nested.IMessage} message Message message or plain object to encode @@ -7703,6 +7980,7 @@ $root.jspb = (function() { /** * Encodes the specified Message message, length delimited. Does not implicitly {@link jspb.test.Deeply.Nested.Message.verify|verify} messages. + * @function encodeDelimited * @memberof jspb.test.Deeply.Nested.Message * @static * @param {jspb.test.Deeply.Nested.IMessage} message Message message or plain object to encode @@ -7715,6 +7993,7 @@ $root.jspb = (function() { /** * Decodes a Message message from the specified reader or buffer. + * @function decode * @memberof jspb.test.Deeply.Nested.Message * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -7743,6 +8022,7 @@ $root.jspb = (function() { /** * Decodes a Message message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof jspb.test.Deeply.Nested.Message * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -7758,6 +8038,7 @@ $root.jspb = (function() { /** * Verifies a Message message. + * @function verify * @memberof jspb.test.Deeply.Nested.Message * @static * @param {Object.} message Plain object to verify @@ -7774,6 +8055,7 @@ $root.jspb = (function() { /** * Creates a Message message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof jspb.test.Deeply.Nested.Message * @static * @param {Object.} object Plain object @@ -7790,6 +8072,7 @@ $root.jspb = (function() { /** * Creates a plain object from a Message message. Also converts values to other types if specified. + * @function toObject * @memberof jspb.test.Deeply.Nested.Message * @static * @param {jspb.test.Deeply.Nested.Message} message Message @@ -7809,6 +8092,7 @@ $root.jspb = (function() { /** * Converts this Message to JSON. + * @function toJSON * @memberof jspb.test.Deeply.Nested.Message * @instance * @returns {Object.} JSON object @@ -7876,14 +8160,15 @@ $root.google = (function() { /** * FileDescriptorSet file. + * @member {Array.}file * @memberof google.protobuf.FileDescriptorSet * @instance - * @type {Array.} */ FileDescriptorSet.prototype.file = $util.emptyArray; /** * Creates a new FileDescriptorSet instance using the specified properties. + * @function create * @memberof google.protobuf.FileDescriptorSet * @static * @param {google.protobuf.IFileDescriptorSet=} [properties] Properties to set @@ -7895,6 +8180,7 @@ $root.google = (function() { /** * Encodes the specified FileDescriptorSet message. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages. + * @function encode * @memberof google.protobuf.FileDescriptorSet * @static * @param {google.protobuf.IFileDescriptorSet} message FileDescriptorSet message or plain object to encode @@ -7912,6 +8198,7 @@ $root.google = (function() { /** * Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages. + * @function encodeDelimited * @memberof google.protobuf.FileDescriptorSet * @static * @param {google.protobuf.IFileDescriptorSet} message FileDescriptorSet message or plain object to encode @@ -7924,6 +8211,7 @@ $root.google = (function() { /** * Decodes a FileDescriptorSet message from the specified reader or buffer. + * @function decode * @memberof google.protobuf.FileDescriptorSet * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -7954,6 +8242,7 @@ $root.google = (function() { /** * Decodes a FileDescriptorSet message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof google.protobuf.FileDescriptorSet * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -7969,6 +8258,7 @@ $root.google = (function() { /** * Verifies a FileDescriptorSet message. + * @function verify * @memberof google.protobuf.FileDescriptorSet * @static * @param {Object.} message Plain object to verify @@ -7991,6 +8281,7 @@ $root.google = (function() { /** * Creates a FileDescriptorSet message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof google.protobuf.FileDescriptorSet * @static * @param {Object.} object Plain object @@ -8015,6 +8306,7 @@ $root.google = (function() { /** * Creates a plain object from a FileDescriptorSet message. Also converts values to other types if specified. + * @function toObject * @memberof google.protobuf.FileDescriptorSet * @static * @param {google.protobuf.FileDescriptorSet} message FileDescriptorSet @@ -8037,6 +8329,7 @@ $root.google = (function() { /** * Converts this FileDescriptorSet to JSON. + * @function toJSON * @memberof google.protobuf.FileDescriptorSet * @instance * @returns {Object.} JSON object @@ -8091,102 +8384,103 @@ $root.google = (function() { /** * FileDescriptorProto name. + * @member {string}name * @memberof google.protobuf.FileDescriptorProto * @instance - * @type {string} */ FileDescriptorProto.prototype.name = ""; /** * FileDescriptorProto package. + * @member {string}package_ * @memberof google.protobuf.FileDescriptorProto * @instance - * @type {string} */ FileDescriptorProto.prototype["package"] = ""; /** * FileDescriptorProto dependency. + * @member {Array.}dependency * @memberof google.protobuf.FileDescriptorProto * @instance - * @type {Array.} */ FileDescriptorProto.prototype.dependency = $util.emptyArray; /** * FileDescriptorProto publicDependency. + * @member {Array.}publicDependency * @memberof google.protobuf.FileDescriptorProto * @instance - * @type {Array.} */ FileDescriptorProto.prototype.publicDependency = $util.emptyArray; /** * FileDescriptorProto weakDependency. + * @member {Array.}weakDependency * @memberof google.protobuf.FileDescriptorProto * @instance - * @type {Array.} */ FileDescriptorProto.prototype.weakDependency = $util.emptyArray; /** * FileDescriptorProto messageType. + * @member {Array.}messageType * @memberof google.protobuf.FileDescriptorProto * @instance - * @type {Array.} */ FileDescriptorProto.prototype.messageType = $util.emptyArray; /** * FileDescriptorProto enumType. + * @member {Array.}enumType * @memberof google.protobuf.FileDescriptorProto * @instance - * @type {Array.} */ FileDescriptorProto.prototype.enumType = $util.emptyArray; /** * FileDescriptorProto service. + * @member {Array.}service * @memberof google.protobuf.FileDescriptorProto * @instance - * @type {Array.} */ FileDescriptorProto.prototype.service = $util.emptyArray; /** * FileDescriptorProto extension. + * @member {Array.}extension * @memberof google.protobuf.FileDescriptorProto * @instance - * @type {Array.} */ FileDescriptorProto.prototype.extension = $util.emptyArray; /** * FileDescriptorProto options. + * @member {(google.protobuf.IFileOptions|null)}options * @memberof google.protobuf.FileDescriptorProto * @instance - * @type {(google.protobuf.IFileOptions|null)} */ FileDescriptorProto.prototype.options = null; /** * FileDescriptorProto sourceCodeInfo. + * @member {(google.protobuf.ISourceCodeInfo|null)}sourceCodeInfo * @memberof google.protobuf.FileDescriptorProto * @instance - * @type {(google.protobuf.ISourceCodeInfo|null)} */ FileDescriptorProto.prototype.sourceCodeInfo = null; /** * FileDescriptorProto syntax. + * @member {string}syntax * @memberof google.protobuf.FileDescriptorProto * @instance - * @type {string} */ FileDescriptorProto.prototype.syntax = ""; /** * Creates a new FileDescriptorProto instance using the specified properties. + * @function create * @memberof google.protobuf.FileDescriptorProto * @static * @param {google.protobuf.IFileDescriptorProto=} [properties] Properties to set @@ -8198,6 +8492,7 @@ $root.google = (function() { /** * Encodes the specified FileDescriptorProto message. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages. + * @function encode * @memberof google.protobuf.FileDescriptorProto * @static * @param {google.protobuf.IFileDescriptorProto} message FileDescriptorProto message or plain object to encode @@ -8243,6 +8538,7 @@ $root.google = (function() { /** * Encodes the specified FileDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages. + * @function encodeDelimited * @memberof google.protobuf.FileDescriptorProto * @static * @param {google.protobuf.IFileDescriptorProto} message FileDescriptorProto message or plain object to encode @@ -8255,6 +8551,7 @@ $root.google = (function() { /** * Decodes a FileDescriptorProto message from the specified reader or buffer. + * @function decode * @memberof google.protobuf.FileDescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -8340,6 +8637,7 @@ $root.google = (function() { /** * Decodes a FileDescriptorProto message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof google.protobuf.FileDescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -8355,6 +8653,7 @@ $root.google = (function() { /** * Verifies a FileDescriptorProto message. + * @function verify * @memberof google.protobuf.FileDescriptorProto * @static * @param {Object.} message Plain object to verify @@ -8444,6 +8743,7 @@ $root.google = (function() { /** * Creates a FileDescriptorProto message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof google.protobuf.FileDescriptorProto * @static * @param {Object.} object Plain object @@ -8535,6 +8835,7 @@ $root.google = (function() { /** * Creates a plain object from a FileDescriptorProto message. Also converts values to other types if specified. + * @function toObject * @memberof google.protobuf.FileDescriptorProto * @static * @param {google.protobuf.FileDescriptorProto} message FileDescriptorProto @@ -8611,6 +8912,7 @@ $root.google = (function() { /** * Converts this FileDescriptorProto to JSON. + * @function toJSON * @memberof google.protobuf.FileDescriptorProto * @instance * @returns {Object.} JSON object @@ -8664,86 +8966,87 @@ $root.google = (function() { /** * DescriptorProto name. + * @member {string}name * @memberof google.protobuf.DescriptorProto * @instance - * @type {string} */ DescriptorProto.prototype.name = ""; /** * DescriptorProto field. + * @member {Array.}field * @memberof google.protobuf.DescriptorProto * @instance - * @type {Array.} */ DescriptorProto.prototype.field = $util.emptyArray; /** * DescriptorProto extension. + * @member {Array.}extension * @memberof google.protobuf.DescriptorProto * @instance - * @type {Array.} */ DescriptorProto.prototype.extension = $util.emptyArray; /** * DescriptorProto nestedType. + * @member {Array.}nestedType * @memberof google.protobuf.DescriptorProto * @instance - * @type {Array.} */ DescriptorProto.prototype.nestedType = $util.emptyArray; /** * DescriptorProto enumType. + * @member {Array.}enumType * @memberof google.protobuf.DescriptorProto * @instance - * @type {Array.} */ DescriptorProto.prototype.enumType = $util.emptyArray; /** * DescriptorProto extensionRange. + * @member {Array.}extensionRange * @memberof google.protobuf.DescriptorProto * @instance - * @type {Array.} */ DescriptorProto.prototype.extensionRange = $util.emptyArray; /** * DescriptorProto oneofDecl. + * @member {Array.}oneofDecl * @memberof google.protobuf.DescriptorProto * @instance - * @type {Array.} */ DescriptorProto.prototype.oneofDecl = $util.emptyArray; /** * DescriptorProto options. + * @member {(google.protobuf.IMessageOptions|null)}options * @memberof google.protobuf.DescriptorProto * @instance - * @type {(google.protobuf.IMessageOptions|null)} */ DescriptorProto.prototype.options = null; /** * DescriptorProto reservedRange. + * @member {Array.}reservedRange * @memberof google.protobuf.DescriptorProto * @instance - * @type {Array.} */ DescriptorProto.prototype.reservedRange = $util.emptyArray; /** * DescriptorProto reservedName. + * @member {Array.}reservedName * @memberof google.protobuf.DescriptorProto * @instance - * @type {Array.} */ DescriptorProto.prototype.reservedName = $util.emptyArray; /** * Creates a new DescriptorProto instance using the specified properties. + * @function create * @memberof google.protobuf.DescriptorProto * @static * @param {google.protobuf.IDescriptorProto=} [properties] Properties to set @@ -8755,6 +9058,7 @@ $root.google = (function() { /** * Encodes the specified DescriptorProto message. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages. + * @function encode * @memberof google.protobuf.DescriptorProto * @static * @param {google.protobuf.IDescriptorProto} message DescriptorProto message or plain object to encode @@ -8797,6 +9101,7 @@ $root.google = (function() { /** * Encodes the specified DescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages. + * @function encodeDelimited * @memberof google.protobuf.DescriptorProto * @static * @param {google.protobuf.IDescriptorProto} message DescriptorProto message or plain object to encode @@ -8809,6 +9114,7 @@ $root.google = (function() { /** * Decodes a DescriptorProto message from the specified reader or buffer. + * @function decode * @memberof google.protobuf.DescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -8880,6 +9186,7 @@ $root.google = (function() { /** * Decodes a DescriptorProto message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof google.protobuf.DescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -8895,6 +9202,7 @@ $root.google = (function() { /** * Verifies a DescriptorProto message. + * @function verify * @memberof google.protobuf.DescriptorProto * @static * @param {Object.} message Plain object to verify @@ -8986,6 +9294,7 @@ $root.google = (function() { /** * Creates a DescriptorProto message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof google.protobuf.DescriptorProto * @static * @param {Object.} object Plain object @@ -9084,6 +9393,7 @@ $root.google = (function() { /** * Creates a plain object from a DescriptorProto message. Also converts values to other types if specified. + * @function toObject * @memberof google.protobuf.DescriptorProto * @static * @param {google.protobuf.DescriptorProto} message DescriptorProto @@ -9157,6 +9467,7 @@ $root.google = (function() { /** * Converts this DescriptorProto to JSON. + * @function toJSON * @memberof google.protobuf.DescriptorProto * @instance * @returns {Object.} JSON object @@ -9191,22 +9502,23 @@ $root.google = (function() { /** * ExtensionRange start. + * @member {number}start * @memberof google.protobuf.DescriptorProto.ExtensionRange * @instance - * @type {number} */ ExtensionRange.prototype.start = 0; /** * ExtensionRange end. + * @member {number}end * @memberof google.protobuf.DescriptorProto.ExtensionRange * @instance - * @type {number} */ ExtensionRange.prototype.end = 0; /** * Creates a new ExtensionRange instance using the specified properties. + * @function create * @memberof google.protobuf.DescriptorProto.ExtensionRange * @static * @param {google.protobuf.DescriptorProto.IExtensionRange=} [properties] Properties to set @@ -9218,6 +9530,7 @@ $root.google = (function() { /** * Encodes the specified ExtensionRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages. + * @function encode * @memberof google.protobuf.DescriptorProto.ExtensionRange * @static * @param {google.protobuf.DescriptorProto.IExtensionRange} message ExtensionRange message or plain object to encode @@ -9236,6 +9549,7 @@ $root.google = (function() { /** * Encodes the specified ExtensionRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages. + * @function encodeDelimited * @memberof google.protobuf.DescriptorProto.ExtensionRange * @static * @param {google.protobuf.DescriptorProto.IExtensionRange} message ExtensionRange message or plain object to encode @@ -9248,6 +9562,7 @@ $root.google = (function() { /** * Decodes an ExtensionRange message from the specified reader or buffer. + * @function decode * @memberof google.protobuf.DescriptorProto.ExtensionRange * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -9279,6 +9594,7 @@ $root.google = (function() { /** * Decodes an ExtensionRange message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof google.protobuf.DescriptorProto.ExtensionRange * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -9294,6 +9610,7 @@ $root.google = (function() { /** * Verifies an ExtensionRange message. + * @function verify * @memberof google.protobuf.DescriptorProto.ExtensionRange * @static * @param {Object.} message Plain object to verify @@ -9313,6 +9630,7 @@ $root.google = (function() { /** * Creates an ExtensionRange message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof google.protobuf.DescriptorProto.ExtensionRange * @static * @param {Object.} object Plain object @@ -9331,6 +9649,7 @@ $root.google = (function() { /** * Creates a plain object from an ExtensionRange message. Also converts values to other types if specified. + * @function toObject * @memberof google.protobuf.DescriptorProto.ExtensionRange * @static * @param {google.protobuf.DescriptorProto.ExtensionRange} message ExtensionRange @@ -9354,6 +9673,7 @@ $root.google = (function() { /** * Converts this ExtensionRange to JSON. + * @function toJSON * @memberof google.protobuf.DescriptorProto.ExtensionRange * @instance * @returns {Object.} JSON object @@ -9391,22 +9711,23 @@ $root.google = (function() { /** * ReservedRange start. + * @member {number}start * @memberof google.protobuf.DescriptorProto.ReservedRange * @instance - * @type {number} */ ReservedRange.prototype.start = 0; /** * ReservedRange end. + * @member {number}end * @memberof google.protobuf.DescriptorProto.ReservedRange * @instance - * @type {number} */ ReservedRange.prototype.end = 0; /** * Creates a new ReservedRange instance using the specified properties. + * @function create * @memberof google.protobuf.DescriptorProto.ReservedRange * @static * @param {google.protobuf.DescriptorProto.IReservedRange=} [properties] Properties to set @@ -9418,6 +9739,7 @@ $root.google = (function() { /** * Encodes the specified ReservedRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages. + * @function encode * @memberof google.protobuf.DescriptorProto.ReservedRange * @static * @param {google.protobuf.DescriptorProto.IReservedRange} message ReservedRange message or plain object to encode @@ -9436,6 +9758,7 @@ $root.google = (function() { /** * Encodes the specified ReservedRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages. + * @function encodeDelimited * @memberof google.protobuf.DescriptorProto.ReservedRange * @static * @param {google.protobuf.DescriptorProto.IReservedRange} message ReservedRange message or plain object to encode @@ -9448,6 +9771,7 @@ $root.google = (function() { /** * Decodes a ReservedRange message from the specified reader or buffer. + * @function decode * @memberof google.protobuf.DescriptorProto.ReservedRange * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -9479,6 +9803,7 @@ $root.google = (function() { /** * Decodes a ReservedRange message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof google.protobuf.DescriptorProto.ReservedRange * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -9494,6 +9819,7 @@ $root.google = (function() { /** * Verifies a ReservedRange message. + * @function verify * @memberof google.protobuf.DescriptorProto.ReservedRange * @static * @param {Object.} message Plain object to verify @@ -9513,6 +9839,7 @@ $root.google = (function() { /** * Creates a ReservedRange message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof google.protobuf.DescriptorProto.ReservedRange * @static * @param {Object.} object Plain object @@ -9531,6 +9858,7 @@ $root.google = (function() { /** * Creates a plain object from a ReservedRange message. Also converts values to other types if specified. + * @function toObject * @memberof google.protobuf.DescriptorProto.ReservedRange * @static * @param {google.protobuf.DescriptorProto.ReservedRange} message ReservedRange @@ -9554,6 +9882,7 @@ $root.google = (function() { /** * Converts this ReservedRange to JSON. + * @function toJSON * @memberof google.protobuf.DescriptorProto.ReservedRange * @instance * @returns {Object.} JSON object @@ -9602,86 +9931,87 @@ $root.google = (function() { /** * FieldDescriptorProto name. + * @member {string}name * @memberof google.protobuf.FieldDescriptorProto * @instance - * @type {string} */ FieldDescriptorProto.prototype.name = ""; /** * FieldDescriptorProto number. + * @member {number}number * @memberof google.protobuf.FieldDescriptorProto * @instance - * @type {number} */ FieldDescriptorProto.prototype.number = 0; /** * FieldDescriptorProto label. + * @member {google.protobuf.FieldDescriptorProto.Label}label * @memberof google.protobuf.FieldDescriptorProto * @instance - * @type {google.protobuf.FieldDescriptorProto.Label} */ FieldDescriptorProto.prototype.label = 1; /** * FieldDescriptorProto type. + * @member {google.protobuf.FieldDescriptorProto.Type}type * @memberof google.protobuf.FieldDescriptorProto * @instance - * @type {google.protobuf.FieldDescriptorProto.Type} */ FieldDescriptorProto.prototype.type = 1; /** * FieldDescriptorProto typeName. + * @member {string}typeName * @memberof google.protobuf.FieldDescriptorProto * @instance - * @type {string} */ FieldDescriptorProto.prototype.typeName = ""; /** * FieldDescriptorProto extendee. + * @member {string}extendee * @memberof google.protobuf.FieldDescriptorProto * @instance - * @type {string} */ FieldDescriptorProto.prototype.extendee = ""; /** * FieldDescriptorProto defaultValue. + * @member {string}defaultValue * @memberof google.protobuf.FieldDescriptorProto * @instance - * @type {string} */ FieldDescriptorProto.prototype.defaultValue = ""; /** * FieldDescriptorProto oneofIndex. + * @member {number}oneofIndex * @memberof google.protobuf.FieldDescriptorProto * @instance - * @type {number} */ FieldDescriptorProto.prototype.oneofIndex = 0; /** * FieldDescriptorProto jsonName. + * @member {string}jsonName * @memberof google.protobuf.FieldDescriptorProto * @instance - * @type {string} */ FieldDescriptorProto.prototype.jsonName = ""; /** * FieldDescriptorProto options. + * @member {(google.protobuf.IFieldOptions|null)}options * @memberof google.protobuf.FieldDescriptorProto * @instance - * @type {(google.protobuf.IFieldOptions|null)} */ FieldDescriptorProto.prototype.options = null; /** * Creates a new FieldDescriptorProto instance using the specified properties. + * @function create * @memberof google.protobuf.FieldDescriptorProto * @static * @param {google.protobuf.IFieldDescriptorProto=} [properties] Properties to set @@ -9693,6 +10023,7 @@ $root.google = (function() { /** * Encodes the specified FieldDescriptorProto message. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages. + * @function encode * @memberof google.protobuf.FieldDescriptorProto * @static * @param {google.protobuf.IFieldDescriptorProto} message FieldDescriptorProto message or plain object to encode @@ -9727,6 +10058,7 @@ $root.google = (function() { /** * Encodes the specified FieldDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages. + * @function encodeDelimited * @memberof google.protobuf.FieldDescriptorProto * @static * @param {google.protobuf.IFieldDescriptorProto} message FieldDescriptorProto message or plain object to encode @@ -9739,6 +10071,7 @@ $root.google = (function() { /** * Decodes a FieldDescriptorProto message from the specified reader or buffer. + * @function decode * @memberof google.protobuf.FieldDescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -9794,6 +10127,7 @@ $root.google = (function() { /** * Decodes a FieldDescriptorProto message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof google.protobuf.FieldDescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -9809,6 +10143,7 @@ $root.google = (function() { /** * Verifies a FieldDescriptorProto message. + * @function verify * @memberof google.protobuf.FieldDescriptorProto * @static * @param {Object.} message Plain object to verify @@ -9881,6 +10216,7 @@ $root.google = (function() { /** * Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof google.protobuf.FieldDescriptorProto * @static * @param {Object.} object Plain object @@ -10002,6 +10338,7 @@ $root.google = (function() { /** * Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified. + * @function toObject * @memberof google.protobuf.FieldDescriptorProto * @static * @param {google.protobuf.FieldDescriptorProto} message FieldDescriptorProto @@ -10049,6 +10386,7 @@ $root.google = (function() { /** * Converts this FieldDescriptorProto to JSON. + * @function toJSON * @memberof google.protobuf.FieldDescriptorProto * @instance * @returns {Object.} JSON object @@ -10146,22 +10484,23 @@ $root.google = (function() { /** * OneofDescriptorProto name. + * @member {string}name * @memberof google.protobuf.OneofDescriptorProto * @instance - * @type {string} */ OneofDescriptorProto.prototype.name = ""; /** * OneofDescriptorProto options. + * @member {(google.protobuf.IOneofOptions|null)}options * @memberof google.protobuf.OneofDescriptorProto * @instance - * @type {(google.protobuf.IOneofOptions|null)} */ OneofDescriptorProto.prototype.options = null; /** * Creates a new OneofDescriptorProto instance using the specified properties. + * @function create * @memberof google.protobuf.OneofDescriptorProto * @static * @param {google.protobuf.IOneofDescriptorProto=} [properties] Properties to set @@ -10173,6 +10512,7 @@ $root.google = (function() { /** * Encodes the specified OneofDescriptorProto message. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages. + * @function encode * @memberof google.protobuf.OneofDescriptorProto * @static * @param {google.protobuf.IOneofDescriptorProto} message OneofDescriptorProto message or plain object to encode @@ -10191,6 +10531,7 @@ $root.google = (function() { /** * Encodes the specified OneofDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages. + * @function encodeDelimited * @memberof google.protobuf.OneofDescriptorProto * @static * @param {google.protobuf.IOneofDescriptorProto} message OneofDescriptorProto message or plain object to encode @@ -10203,6 +10544,7 @@ $root.google = (function() { /** * Decodes an OneofDescriptorProto message from the specified reader or buffer. + * @function decode * @memberof google.protobuf.OneofDescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -10234,6 +10576,7 @@ $root.google = (function() { /** * Decodes an OneofDescriptorProto message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof google.protobuf.OneofDescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -10249,6 +10592,7 @@ $root.google = (function() { /** * Verifies an OneofDescriptorProto message. + * @function verify * @memberof google.protobuf.OneofDescriptorProto * @static * @param {Object.} message Plain object to verify @@ -10270,6 +10614,7 @@ $root.google = (function() { /** * Creates an OneofDescriptorProto message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof google.protobuf.OneofDescriptorProto * @static * @param {Object.} object Plain object @@ -10291,6 +10636,7 @@ $root.google = (function() { /** * Creates a plain object from an OneofDescriptorProto message. Also converts values to other types if specified. + * @function toObject * @memberof google.protobuf.OneofDescriptorProto * @static * @param {google.protobuf.OneofDescriptorProto} message OneofDescriptorProto @@ -10314,6 +10660,7 @@ $root.google = (function() { /** * Converts this OneofDescriptorProto to JSON. + * @function toJSON * @memberof google.protobuf.OneofDescriptorProto * @instance * @returns {Object.} JSON object @@ -10353,30 +10700,31 @@ $root.google = (function() { /** * EnumDescriptorProto name. + * @member {string}name * @memberof google.protobuf.EnumDescriptorProto * @instance - * @type {string} */ EnumDescriptorProto.prototype.name = ""; /** * EnumDescriptorProto value. + * @member {Array.}value * @memberof google.protobuf.EnumDescriptorProto * @instance - * @type {Array.} */ EnumDescriptorProto.prototype.value = $util.emptyArray; /** * EnumDescriptorProto options. + * @member {(google.protobuf.IEnumOptions|null)}options * @memberof google.protobuf.EnumDescriptorProto * @instance - * @type {(google.protobuf.IEnumOptions|null)} */ EnumDescriptorProto.prototype.options = null; /** * Creates a new EnumDescriptorProto instance using the specified properties. + * @function create * @memberof google.protobuf.EnumDescriptorProto * @static * @param {google.protobuf.IEnumDescriptorProto=} [properties] Properties to set @@ -10388,6 +10736,7 @@ $root.google = (function() { /** * Encodes the specified EnumDescriptorProto message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages. + * @function encode * @memberof google.protobuf.EnumDescriptorProto * @static * @param {google.protobuf.IEnumDescriptorProto} message EnumDescriptorProto message or plain object to encode @@ -10409,6 +10758,7 @@ $root.google = (function() { /** * Encodes the specified EnumDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages. + * @function encodeDelimited * @memberof google.protobuf.EnumDescriptorProto * @static * @param {google.protobuf.IEnumDescriptorProto} message EnumDescriptorProto message or plain object to encode @@ -10421,6 +10771,7 @@ $root.google = (function() { /** * Decodes an EnumDescriptorProto message from the specified reader or buffer. + * @function decode * @memberof google.protobuf.EnumDescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -10457,6 +10808,7 @@ $root.google = (function() { /** * Decodes an EnumDescriptorProto message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof google.protobuf.EnumDescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -10472,6 +10824,7 @@ $root.google = (function() { /** * Verifies an EnumDescriptorProto message. + * @function verify * @memberof google.protobuf.EnumDescriptorProto * @static * @param {Object.} message Plain object to verify @@ -10502,6 +10855,7 @@ $root.google = (function() { /** * Creates an EnumDescriptorProto message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof google.protobuf.EnumDescriptorProto * @static * @param {Object.} object Plain object @@ -10533,6 +10887,7 @@ $root.google = (function() { /** * Creates a plain object from an EnumDescriptorProto message. Also converts values to other types if specified. + * @function toObject * @memberof google.protobuf.EnumDescriptorProto * @static * @param {google.protobuf.EnumDescriptorProto} message EnumDescriptorProto @@ -10563,6 +10918,7 @@ $root.google = (function() { /** * Converts this EnumDescriptorProto to JSON. + * @function toJSON * @memberof google.protobuf.EnumDescriptorProto * @instance * @returns {Object.} JSON object @@ -10601,30 +10957,31 @@ $root.google = (function() { /** * EnumValueDescriptorProto name. + * @member {string}name * @memberof google.protobuf.EnumValueDescriptorProto * @instance - * @type {string} */ EnumValueDescriptorProto.prototype.name = ""; /** * EnumValueDescriptorProto number. + * @member {number}number * @memberof google.protobuf.EnumValueDescriptorProto * @instance - * @type {number} */ EnumValueDescriptorProto.prototype.number = 0; /** * EnumValueDescriptorProto options. + * @member {(google.protobuf.IEnumValueOptions|null)}options * @memberof google.protobuf.EnumValueDescriptorProto * @instance - * @type {(google.protobuf.IEnumValueOptions|null)} */ EnumValueDescriptorProto.prototype.options = null; /** * Creates a new EnumValueDescriptorProto instance using the specified properties. + * @function create * @memberof google.protobuf.EnumValueDescriptorProto * @static * @param {google.protobuf.IEnumValueDescriptorProto=} [properties] Properties to set @@ -10636,6 +10993,7 @@ $root.google = (function() { /** * Encodes the specified EnumValueDescriptorProto message. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages. + * @function encode * @memberof google.protobuf.EnumValueDescriptorProto * @static * @param {google.protobuf.IEnumValueDescriptorProto} message EnumValueDescriptorProto message or plain object to encode @@ -10656,6 +11014,7 @@ $root.google = (function() { /** * Encodes the specified EnumValueDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages. + * @function encodeDelimited * @memberof google.protobuf.EnumValueDescriptorProto * @static * @param {google.protobuf.IEnumValueDescriptorProto} message EnumValueDescriptorProto message or plain object to encode @@ -10668,6 +11027,7 @@ $root.google = (function() { /** * Decodes an EnumValueDescriptorProto message from the specified reader or buffer. + * @function decode * @memberof google.protobuf.EnumValueDescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -10702,6 +11062,7 @@ $root.google = (function() { /** * Decodes an EnumValueDescriptorProto message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof google.protobuf.EnumValueDescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -10717,6 +11078,7 @@ $root.google = (function() { /** * Verifies an EnumValueDescriptorProto message. + * @function verify * @memberof google.protobuf.EnumValueDescriptorProto * @static * @param {Object.} message Plain object to verify @@ -10741,6 +11103,7 @@ $root.google = (function() { /** * Creates an EnumValueDescriptorProto message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof google.protobuf.EnumValueDescriptorProto * @static * @param {Object.} object Plain object @@ -10764,6 +11127,7 @@ $root.google = (function() { /** * Creates a plain object from an EnumValueDescriptorProto message. Also converts values to other types if specified. + * @function toObject * @memberof google.protobuf.EnumValueDescriptorProto * @static * @param {google.protobuf.EnumValueDescriptorProto} message EnumValueDescriptorProto @@ -10790,6 +11154,7 @@ $root.google = (function() { /** * Converts this EnumValueDescriptorProto to JSON. + * @function toJSON * @memberof google.protobuf.EnumValueDescriptorProto * @instance * @returns {Object.} JSON object @@ -10829,30 +11194,31 @@ $root.google = (function() { /** * ServiceDescriptorProto name. + * @member {string}name * @memberof google.protobuf.ServiceDescriptorProto * @instance - * @type {string} */ ServiceDescriptorProto.prototype.name = ""; /** * ServiceDescriptorProto method. + * @member {Array.}method * @memberof google.protobuf.ServiceDescriptorProto * @instance - * @type {Array.} */ ServiceDescriptorProto.prototype.method = $util.emptyArray; /** * ServiceDescriptorProto options. + * @member {(google.protobuf.IServiceOptions|null)}options * @memberof google.protobuf.ServiceDescriptorProto * @instance - * @type {(google.protobuf.IServiceOptions|null)} */ ServiceDescriptorProto.prototype.options = null; /** * Creates a new ServiceDescriptorProto instance using the specified properties. + * @function create * @memberof google.protobuf.ServiceDescriptorProto * @static * @param {google.protobuf.IServiceDescriptorProto=} [properties] Properties to set @@ -10864,6 +11230,7 @@ $root.google = (function() { /** * Encodes the specified ServiceDescriptorProto message. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages. + * @function encode * @memberof google.protobuf.ServiceDescriptorProto * @static * @param {google.protobuf.IServiceDescriptorProto} message ServiceDescriptorProto message or plain object to encode @@ -10885,6 +11252,7 @@ $root.google = (function() { /** * Encodes the specified ServiceDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages. + * @function encodeDelimited * @memberof google.protobuf.ServiceDescriptorProto * @static * @param {google.protobuf.IServiceDescriptorProto} message ServiceDescriptorProto message or plain object to encode @@ -10897,6 +11265,7 @@ $root.google = (function() { /** * Decodes a ServiceDescriptorProto message from the specified reader or buffer. + * @function decode * @memberof google.protobuf.ServiceDescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -10933,6 +11302,7 @@ $root.google = (function() { /** * Decodes a ServiceDescriptorProto message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof google.protobuf.ServiceDescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -10948,6 +11318,7 @@ $root.google = (function() { /** * Verifies a ServiceDescriptorProto message. + * @function verify * @memberof google.protobuf.ServiceDescriptorProto * @static * @param {Object.} message Plain object to verify @@ -10978,6 +11349,7 @@ $root.google = (function() { /** * Creates a ServiceDescriptorProto message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof google.protobuf.ServiceDescriptorProto * @static * @param {Object.} object Plain object @@ -11009,6 +11381,7 @@ $root.google = (function() { /** * Creates a plain object from a ServiceDescriptorProto message. Also converts values to other types if specified. + * @function toObject * @memberof google.protobuf.ServiceDescriptorProto * @static * @param {google.protobuf.ServiceDescriptorProto} message ServiceDescriptorProto @@ -11039,6 +11412,7 @@ $root.google = (function() { /** * Converts this ServiceDescriptorProto to JSON. + * @function toJSON * @memberof google.protobuf.ServiceDescriptorProto * @instance * @returns {Object.} JSON object @@ -11080,54 +11454,55 @@ $root.google = (function() { /** * MethodDescriptorProto name. + * @member {string}name * @memberof google.protobuf.MethodDescriptorProto * @instance - * @type {string} */ MethodDescriptorProto.prototype.name = ""; /** * MethodDescriptorProto inputType. + * @member {string}inputType * @memberof google.protobuf.MethodDescriptorProto * @instance - * @type {string} */ MethodDescriptorProto.prototype.inputType = ""; /** * MethodDescriptorProto outputType. + * @member {string}outputType * @memberof google.protobuf.MethodDescriptorProto * @instance - * @type {string} */ MethodDescriptorProto.prototype.outputType = ""; /** * MethodDescriptorProto options. + * @member {(google.protobuf.IMethodOptions|null)}options * @memberof google.protobuf.MethodDescriptorProto * @instance - * @type {(google.protobuf.IMethodOptions|null)} */ MethodDescriptorProto.prototype.options = null; /** * MethodDescriptorProto clientStreaming. + * @member {boolean}clientStreaming * @memberof google.protobuf.MethodDescriptorProto * @instance - * @type {boolean} */ MethodDescriptorProto.prototype.clientStreaming = false; /** * MethodDescriptorProto serverStreaming. + * @member {boolean}serverStreaming * @memberof google.protobuf.MethodDescriptorProto * @instance - * @type {boolean} */ MethodDescriptorProto.prototype.serverStreaming = false; /** * Creates a new MethodDescriptorProto instance using the specified properties. + * @function create * @memberof google.protobuf.MethodDescriptorProto * @static * @param {google.protobuf.IMethodDescriptorProto=} [properties] Properties to set @@ -11139,6 +11514,7 @@ $root.google = (function() { /** * Encodes the specified MethodDescriptorProto message. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages. + * @function encode * @memberof google.protobuf.MethodDescriptorProto * @static * @param {google.protobuf.IMethodDescriptorProto} message MethodDescriptorProto message or plain object to encode @@ -11165,6 +11541,7 @@ $root.google = (function() { /** * Encodes the specified MethodDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages. + * @function encodeDelimited * @memberof google.protobuf.MethodDescriptorProto * @static * @param {google.protobuf.IMethodDescriptorProto} message MethodDescriptorProto message or plain object to encode @@ -11177,6 +11554,7 @@ $root.google = (function() { /** * Decodes a MethodDescriptorProto message from the specified reader or buffer. + * @function decode * @memberof google.protobuf.MethodDescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -11220,6 +11598,7 @@ $root.google = (function() { /** * Decodes a MethodDescriptorProto message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof google.protobuf.MethodDescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -11235,6 +11614,7 @@ $root.google = (function() { /** * Verifies a MethodDescriptorProto message. + * @function verify * @memberof google.protobuf.MethodDescriptorProto * @static * @param {Object.} message Plain object to verify @@ -11268,6 +11648,7 @@ $root.google = (function() { /** * Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof google.protobuf.MethodDescriptorProto * @static * @param {Object.} object Plain object @@ -11297,6 +11678,7 @@ $root.google = (function() { /** * Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified. + * @function toObject * @memberof google.protobuf.MethodDescriptorProto * @static * @param {google.protobuf.MethodDescriptorProto} message MethodDescriptorProto @@ -11332,6 +11714,7 @@ $root.google = (function() { /** * Converts this MethodDescriptorProto to JSON. + * @function toJSON * @memberof google.protobuf.MethodDescriptorProto * @instance * @returns {Object.} JSON object @@ -11383,126 +11766,127 @@ $root.google = (function() { /** * FileOptions javaPackage. + * @member {string}javaPackage * @memberof google.protobuf.FileOptions * @instance - * @type {string} */ FileOptions.prototype.javaPackage = ""; /** * FileOptions javaOuterClassname. + * @member {string}javaOuterClassname * @memberof google.protobuf.FileOptions * @instance - * @type {string} */ FileOptions.prototype.javaOuterClassname = ""; /** * FileOptions javaMultipleFiles. + * @member {boolean}javaMultipleFiles * @memberof google.protobuf.FileOptions * @instance - * @type {boolean} */ FileOptions.prototype.javaMultipleFiles = false; /** * FileOptions javaGenerateEqualsAndHash. + * @member {boolean}javaGenerateEqualsAndHash * @memberof google.protobuf.FileOptions * @instance - * @type {boolean} */ FileOptions.prototype.javaGenerateEqualsAndHash = false; /** * FileOptions javaStringCheckUtf8. + * @member {boolean}javaStringCheckUtf8 * @memberof google.protobuf.FileOptions * @instance - * @type {boolean} */ FileOptions.prototype.javaStringCheckUtf8 = false; /** * FileOptions optimizeFor. + * @member {google.protobuf.FileOptions.OptimizeMode}optimizeFor * @memberof google.protobuf.FileOptions * @instance - * @type {google.protobuf.FileOptions.OptimizeMode} */ FileOptions.prototype.optimizeFor = 1; /** * FileOptions goPackage. + * @member {string}goPackage * @memberof google.protobuf.FileOptions * @instance - * @type {string} */ FileOptions.prototype.goPackage = ""; /** * FileOptions ccGenericServices. + * @member {boolean}ccGenericServices * @memberof google.protobuf.FileOptions * @instance - * @type {boolean} */ FileOptions.prototype.ccGenericServices = false; /** * FileOptions javaGenericServices. + * @member {boolean}javaGenericServices * @memberof google.protobuf.FileOptions * @instance - * @type {boolean} */ FileOptions.prototype.javaGenericServices = false; /** * FileOptions pyGenericServices. + * @member {boolean}pyGenericServices * @memberof google.protobuf.FileOptions * @instance - * @type {boolean} */ FileOptions.prototype.pyGenericServices = false; /** * FileOptions deprecated. + * @member {boolean}deprecated * @memberof google.protobuf.FileOptions * @instance - * @type {boolean} */ FileOptions.prototype.deprecated = false; /** * FileOptions ccEnableArenas. + * @member {boolean}ccEnableArenas * @memberof google.protobuf.FileOptions * @instance - * @type {boolean} */ FileOptions.prototype.ccEnableArenas = false; /** * FileOptions objcClassPrefix. + * @member {string}objcClassPrefix * @memberof google.protobuf.FileOptions * @instance - * @type {string} */ FileOptions.prototype.objcClassPrefix = ""; /** * FileOptions csharpNamespace. + * @member {string}csharpNamespace * @memberof google.protobuf.FileOptions * @instance - * @type {string} */ FileOptions.prototype.csharpNamespace = ""; /** * FileOptions uninterpretedOption. + * @member {Array.}uninterpretedOption * @memberof google.protobuf.FileOptions * @instance - * @type {Array.} */ FileOptions.prototype.uninterpretedOption = $util.emptyArray; /** * Creates a new FileOptions instance using the specified properties. + * @function create * @memberof google.protobuf.FileOptions * @static * @param {google.protobuf.IFileOptions=} [properties] Properties to set @@ -11514,6 +11898,7 @@ $root.google = (function() { /** * Encodes the specified FileOptions message. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages. + * @function encode * @memberof google.protobuf.FileOptions * @static * @param {google.protobuf.IFileOptions} message FileOptions message or plain object to encode @@ -11559,6 +11944,7 @@ $root.google = (function() { /** * Encodes the specified FileOptions message, length delimited. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages. + * @function encodeDelimited * @memberof google.protobuf.FileOptions * @static * @param {google.protobuf.IFileOptions} message FileOptions message or plain object to encode @@ -11571,6 +11957,7 @@ $root.google = (function() { /** * Decodes a FileOptions message from the specified reader or buffer. + * @function decode * @memberof google.protobuf.FileOptions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -11643,6 +12030,7 @@ $root.google = (function() { /** * Decodes a FileOptions message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof google.protobuf.FileOptions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -11658,6 +12046,7 @@ $root.google = (function() { /** * Verifies a FileOptions message. + * @function verify * @memberof google.protobuf.FileOptions * @static * @param {Object.} message Plain object to verify @@ -11728,6 +12117,7 @@ $root.google = (function() { /** * Creates a FileOptions message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof google.protobuf.FileOptions * @static * @param {Object.} object Plain object @@ -11792,6 +12182,7 @@ $root.google = (function() { /** * Creates a plain object from a FileOptions message. Also converts values to other types if specified. + * @function toObject * @memberof google.protobuf.FileOptions * @static * @param {google.protobuf.FileOptions} message FileOptions @@ -11858,6 +12249,7 @@ $root.google = (function() { /** * Converts this FileOptions to JSON. + * @function toJSON * @memberof google.protobuf.FileOptions * @instance * @returns {Object.} JSON object @@ -11914,46 +12306,47 @@ $root.google = (function() { /** * MessageOptions messageSetWireFormat. + * @member {boolean}messageSetWireFormat * @memberof google.protobuf.MessageOptions * @instance - * @type {boolean} */ MessageOptions.prototype.messageSetWireFormat = false; /** * MessageOptions noStandardDescriptorAccessor. + * @member {boolean}noStandardDescriptorAccessor * @memberof google.protobuf.MessageOptions * @instance - * @type {boolean} */ MessageOptions.prototype.noStandardDescriptorAccessor = false; /** * MessageOptions deprecated. + * @member {boolean}deprecated * @memberof google.protobuf.MessageOptions * @instance - * @type {boolean} */ MessageOptions.prototype.deprecated = false; /** * MessageOptions mapEntry. + * @member {boolean}mapEntry * @memberof google.protobuf.MessageOptions * @instance - * @type {boolean} */ MessageOptions.prototype.mapEntry = false; /** * MessageOptions uninterpretedOption. + * @member {Array.}uninterpretedOption * @memberof google.protobuf.MessageOptions * @instance - * @type {Array.} */ MessageOptions.prototype.uninterpretedOption = $util.emptyArray; /** * Creates a new MessageOptions instance using the specified properties. + * @function create * @memberof google.protobuf.MessageOptions * @static * @param {google.protobuf.IMessageOptions=} [properties] Properties to set @@ -11965,6 +12358,7 @@ $root.google = (function() { /** * Encodes the specified MessageOptions message. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages. + * @function encode * @memberof google.protobuf.MessageOptions * @static * @param {google.protobuf.IMessageOptions} message MessageOptions message or plain object to encode @@ -11990,6 +12384,7 @@ $root.google = (function() { /** * Encodes the specified MessageOptions message, length delimited. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages. + * @function encodeDelimited * @memberof google.protobuf.MessageOptions * @static * @param {google.protobuf.IMessageOptions} message MessageOptions message or plain object to encode @@ -12002,6 +12397,7 @@ $root.google = (function() { /** * Decodes a MessageOptions message from the specified reader or buffer. + * @function decode * @memberof google.protobuf.MessageOptions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -12044,6 +12440,7 @@ $root.google = (function() { /** * Decodes a MessageOptions message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof google.protobuf.MessageOptions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -12059,6 +12456,7 @@ $root.google = (function() { /** * Verifies a MessageOptions message. + * @function verify * @memberof google.protobuf.MessageOptions * @static * @param {Object.} message Plain object to verify @@ -12093,6 +12491,7 @@ $root.google = (function() { /** * Creates a MessageOptions message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof google.protobuf.MessageOptions * @static * @param {Object.} object Plain object @@ -12125,6 +12524,7 @@ $root.google = (function() { /** * Creates a plain object from a MessageOptions message. Also converts values to other types if specified. + * @function toObject * @memberof google.protobuf.MessageOptions * @static * @param {google.protobuf.MessageOptions} message MessageOptions @@ -12161,6 +12561,7 @@ $root.google = (function() { /** * Converts this MessageOptions to JSON. + * @function toJSON * @memberof google.protobuf.MessageOptions * @instance * @returns {Object.} JSON object @@ -12204,62 +12605,63 @@ $root.google = (function() { /** * FieldOptions ctype. + * @member {google.protobuf.FieldOptions.CType}ctype * @memberof google.protobuf.FieldOptions * @instance - * @type {google.protobuf.FieldOptions.CType} */ FieldOptions.prototype.ctype = 0; /** * FieldOptions packed. + * @member {boolean}packed * @memberof google.protobuf.FieldOptions * @instance - * @type {boolean} */ FieldOptions.prototype.packed = false; /** * FieldOptions jstype. + * @member {google.protobuf.FieldOptions.JSType}jstype * @memberof google.protobuf.FieldOptions * @instance - * @type {google.protobuf.FieldOptions.JSType} */ FieldOptions.prototype.jstype = 0; /** * FieldOptions lazy. + * @member {boolean}lazy * @memberof google.protobuf.FieldOptions * @instance - * @type {boolean} */ FieldOptions.prototype.lazy = false; /** * FieldOptions deprecated. + * @member {boolean}deprecated * @memberof google.protobuf.FieldOptions * @instance - * @type {boolean} */ FieldOptions.prototype.deprecated = false; /** * FieldOptions weak. + * @member {boolean}weak * @memberof google.protobuf.FieldOptions * @instance - * @type {boolean} */ FieldOptions.prototype.weak = false; /** * FieldOptions uninterpretedOption. + * @member {Array.}uninterpretedOption * @memberof google.protobuf.FieldOptions * @instance - * @type {Array.} */ FieldOptions.prototype.uninterpretedOption = $util.emptyArray; /** * Creates a new FieldOptions instance using the specified properties. + * @function create * @memberof google.protobuf.FieldOptions * @static * @param {google.protobuf.IFieldOptions=} [properties] Properties to set @@ -12271,6 +12673,7 @@ $root.google = (function() { /** * Encodes the specified FieldOptions message. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages. + * @function encode * @memberof google.protobuf.FieldOptions * @static * @param {google.protobuf.IFieldOptions} message FieldOptions message or plain object to encode @@ -12300,6 +12703,7 @@ $root.google = (function() { /** * Encodes the specified FieldOptions message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages. + * @function encodeDelimited * @memberof google.protobuf.FieldOptions * @static * @param {google.protobuf.IFieldOptions} message FieldOptions message or plain object to encode @@ -12312,6 +12716,7 @@ $root.google = (function() { /** * Decodes a FieldOptions message from the specified reader or buffer. + * @function decode * @memberof google.protobuf.FieldOptions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -12360,6 +12765,7 @@ $root.google = (function() { /** * Decodes a FieldOptions message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof google.protobuf.FieldOptions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -12375,6 +12781,7 @@ $root.google = (function() { /** * Verifies a FieldOptions message. + * @function verify * @memberof google.protobuf.FieldOptions * @static * @param {Object.} message Plain object to verify @@ -12427,6 +12834,7 @@ $root.google = (function() { /** * Creates a FieldOptions message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof google.protobuf.FieldOptions * @static * @param {Object.} object Plain object @@ -12487,6 +12895,7 @@ $root.google = (function() { /** * Creates a plain object from a FieldOptions message. Also converts values to other types if specified. + * @function toObject * @memberof google.protobuf.FieldOptions * @static * @param {google.protobuf.FieldOptions} message FieldOptions @@ -12529,6 +12938,7 @@ $root.google = (function() { /** * Converts this FieldOptions to JSON. + * @function toJSON * @memberof google.protobuf.FieldOptions * @instance * @returns {Object.} JSON object @@ -12596,14 +13006,15 @@ $root.google = (function() { /** * OneofOptions uninterpretedOption. + * @member {Array.}uninterpretedOption * @memberof google.protobuf.OneofOptions * @instance - * @type {Array.} */ OneofOptions.prototype.uninterpretedOption = $util.emptyArray; /** * Creates a new OneofOptions instance using the specified properties. + * @function create * @memberof google.protobuf.OneofOptions * @static * @param {google.protobuf.IOneofOptions=} [properties] Properties to set @@ -12615,6 +13026,7 @@ $root.google = (function() { /** * Encodes the specified OneofOptions message. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages. + * @function encode * @memberof google.protobuf.OneofOptions * @static * @param {google.protobuf.IOneofOptions} message OneofOptions message or plain object to encode @@ -12632,6 +13044,7 @@ $root.google = (function() { /** * Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages. + * @function encodeDelimited * @memberof google.protobuf.OneofOptions * @static * @param {google.protobuf.IOneofOptions} message OneofOptions message or plain object to encode @@ -12644,6 +13057,7 @@ $root.google = (function() { /** * Decodes an OneofOptions message from the specified reader or buffer. + * @function decode * @memberof google.protobuf.OneofOptions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -12674,6 +13088,7 @@ $root.google = (function() { /** * Decodes an OneofOptions message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof google.protobuf.OneofOptions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -12689,6 +13104,7 @@ $root.google = (function() { /** * Verifies an OneofOptions message. + * @function verify * @memberof google.protobuf.OneofOptions * @static * @param {Object.} message Plain object to verify @@ -12711,6 +13127,7 @@ $root.google = (function() { /** * Creates an OneofOptions message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof google.protobuf.OneofOptions * @static * @param {Object.} object Plain object @@ -12735,6 +13152,7 @@ $root.google = (function() { /** * Creates a plain object from an OneofOptions message. Also converts values to other types if specified. + * @function toObject * @memberof google.protobuf.OneofOptions * @static * @param {google.protobuf.OneofOptions} message OneofOptions @@ -12757,6 +13175,7 @@ $root.google = (function() { /** * Converts this OneofOptions to JSON. + * @function toJSON * @memberof google.protobuf.OneofOptions * @instance * @returns {Object.} JSON object @@ -12797,38 +13216,39 @@ $root.google = (function() { /** * EnumOptions allowAlias. + * @member {boolean}allowAlias * @memberof google.protobuf.EnumOptions * @instance - * @type {boolean} */ EnumOptions.prototype.allowAlias = false; /** * EnumOptions deprecated. + * @member {boolean}deprecated * @memberof google.protobuf.EnumOptions * @instance - * @type {boolean} */ EnumOptions.prototype.deprecated = false; /** * EnumOptions uninterpretedOption. + * @member {Array.}uninterpretedOption * @memberof google.protobuf.EnumOptions * @instance - * @type {Array.} */ EnumOptions.prototype.uninterpretedOption = $util.emptyArray; /** * EnumOptions .jspb.test.IsExtension.simpleOption. + * @member {string}.jspb.test.IsExtension.simpleOption * @memberof google.protobuf.EnumOptions * @instance - * @type {string} */ EnumOptions.prototype[".jspb.test.IsExtension.simpleOption"] = ""; /** * Creates a new EnumOptions instance using the specified properties. + * @function create * @memberof google.protobuf.EnumOptions * @static * @param {google.protobuf.IEnumOptions=} [properties] Properties to set @@ -12840,6 +13260,7 @@ $root.google = (function() { /** * Encodes the specified EnumOptions message. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages. + * @function encode * @memberof google.protobuf.EnumOptions * @static * @param {google.protobuf.IEnumOptions} message EnumOptions message or plain object to encode @@ -12863,6 +13284,7 @@ $root.google = (function() { /** * Encodes the specified EnumOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages. + * @function encodeDelimited * @memberof google.protobuf.EnumOptions * @static * @param {google.protobuf.IEnumOptions} message EnumOptions message or plain object to encode @@ -12875,6 +13297,7 @@ $root.google = (function() { /** * Decodes an EnumOptions message from the specified reader or buffer. + * @function decode * @memberof google.protobuf.EnumOptions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -12914,6 +13337,7 @@ $root.google = (function() { /** * Decodes an EnumOptions message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof google.protobuf.EnumOptions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -12929,6 +13353,7 @@ $root.google = (function() { /** * Verifies an EnumOptions message. + * @function verify * @memberof google.protobuf.EnumOptions * @static * @param {Object.} message Plain object to verify @@ -12960,6 +13385,7 @@ $root.google = (function() { /** * Creates an EnumOptions message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof google.protobuf.EnumOptions * @static * @param {Object.} object Plain object @@ -12990,6 +13416,7 @@ $root.google = (function() { /** * Creates a plain object from an EnumOptions message. Also converts values to other types if specified. + * @function toObject * @memberof google.protobuf.EnumOptions * @static * @param {google.protobuf.EnumOptions} message EnumOptions @@ -13023,6 +13450,7 @@ $root.google = (function() { /** * Converts this EnumOptions to JSON. + * @function toJSON * @memberof google.protobuf.EnumOptions * @instance * @returns {Object.} JSON object @@ -13061,22 +13489,23 @@ $root.google = (function() { /** * EnumValueOptions deprecated. + * @member {boolean}deprecated * @memberof google.protobuf.EnumValueOptions * @instance - * @type {boolean} */ EnumValueOptions.prototype.deprecated = false; /** * EnumValueOptions uninterpretedOption. + * @member {Array.}uninterpretedOption * @memberof google.protobuf.EnumValueOptions * @instance - * @type {Array.} */ EnumValueOptions.prototype.uninterpretedOption = $util.emptyArray; /** * Creates a new EnumValueOptions instance using the specified properties. + * @function create * @memberof google.protobuf.EnumValueOptions * @static * @param {google.protobuf.IEnumValueOptions=} [properties] Properties to set @@ -13088,6 +13517,7 @@ $root.google = (function() { /** * Encodes the specified EnumValueOptions message. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages. + * @function encode * @memberof google.protobuf.EnumValueOptions * @static * @param {google.protobuf.IEnumValueOptions} message EnumValueOptions message or plain object to encode @@ -13107,6 +13537,7 @@ $root.google = (function() { /** * Encodes the specified EnumValueOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages. + * @function encodeDelimited * @memberof google.protobuf.EnumValueOptions * @static * @param {google.protobuf.IEnumValueOptions} message EnumValueOptions message or plain object to encode @@ -13119,6 +13550,7 @@ $root.google = (function() { /** * Decodes an EnumValueOptions message from the specified reader or buffer. + * @function decode * @memberof google.protobuf.EnumValueOptions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -13152,6 +13584,7 @@ $root.google = (function() { /** * Decodes an EnumValueOptions message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof google.protobuf.EnumValueOptions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -13167,6 +13600,7 @@ $root.google = (function() { /** * Verifies an EnumValueOptions message. + * @function verify * @memberof google.protobuf.EnumValueOptions * @static * @param {Object.} message Plain object to verify @@ -13192,6 +13626,7 @@ $root.google = (function() { /** * Creates an EnumValueOptions message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof google.protobuf.EnumValueOptions * @static * @param {Object.} object Plain object @@ -13218,6 +13653,7 @@ $root.google = (function() { /** * Creates a plain object from an EnumValueOptions message. Also converts values to other types if specified. + * @function toObject * @memberof google.protobuf.EnumValueOptions * @static * @param {google.protobuf.EnumValueOptions} message EnumValueOptions @@ -13244,6 +13680,7 @@ $root.google = (function() { /** * Converts this EnumValueOptions to JSON. + * @function toJSON * @memberof google.protobuf.EnumValueOptions * @instance * @returns {Object.} JSON object @@ -13282,22 +13719,23 @@ $root.google = (function() { /** * ServiceOptions deprecated. + * @member {boolean}deprecated * @memberof google.protobuf.ServiceOptions * @instance - * @type {boolean} */ ServiceOptions.prototype.deprecated = false; /** * ServiceOptions uninterpretedOption. + * @member {Array.}uninterpretedOption * @memberof google.protobuf.ServiceOptions * @instance - * @type {Array.} */ ServiceOptions.prototype.uninterpretedOption = $util.emptyArray; /** * Creates a new ServiceOptions instance using the specified properties. + * @function create * @memberof google.protobuf.ServiceOptions * @static * @param {google.protobuf.IServiceOptions=} [properties] Properties to set @@ -13309,6 +13747,7 @@ $root.google = (function() { /** * Encodes the specified ServiceOptions message. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages. + * @function encode * @memberof google.protobuf.ServiceOptions * @static * @param {google.protobuf.IServiceOptions} message ServiceOptions message or plain object to encode @@ -13328,6 +13767,7 @@ $root.google = (function() { /** * Encodes the specified ServiceOptions message, length delimited. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages. + * @function encodeDelimited * @memberof google.protobuf.ServiceOptions * @static * @param {google.protobuf.IServiceOptions} message ServiceOptions message or plain object to encode @@ -13340,6 +13780,7 @@ $root.google = (function() { /** * Decodes a ServiceOptions message from the specified reader or buffer. + * @function decode * @memberof google.protobuf.ServiceOptions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -13373,6 +13814,7 @@ $root.google = (function() { /** * Decodes a ServiceOptions message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof google.protobuf.ServiceOptions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -13388,6 +13830,7 @@ $root.google = (function() { /** * Verifies a ServiceOptions message. + * @function verify * @memberof google.protobuf.ServiceOptions * @static * @param {Object.} message Plain object to verify @@ -13413,6 +13856,7 @@ $root.google = (function() { /** * Creates a ServiceOptions message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof google.protobuf.ServiceOptions * @static * @param {Object.} object Plain object @@ -13439,6 +13883,7 @@ $root.google = (function() { /** * Creates a plain object from a ServiceOptions message. Also converts values to other types if specified. + * @function toObject * @memberof google.protobuf.ServiceOptions * @static * @param {google.protobuf.ServiceOptions} message ServiceOptions @@ -13465,6 +13910,7 @@ $root.google = (function() { /** * Converts this ServiceOptions to JSON. + * @function toJSON * @memberof google.protobuf.ServiceOptions * @instance * @returns {Object.} JSON object @@ -13504,30 +13950,31 @@ $root.google = (function() { /** * MethodOptions deprecated. + * @member {boolean}deprecated * @memberof google.protobuf.MethodOptions * @instance - * @type {boolean} */ MethodOptions.prototype.deprecated = false; /** * MethodOptions idempotencyLevel. + * @member {google.protobuf.MethodOptions.IdempotencyLevel}idempotencyLevel * @memberof google.protobuf.MethodOptions * @instance - * @type {google.protobuf.MethodOptions.IdempotencyLevel} */ MethodOptions.prototype.idempotencyLevel = 0; /** * MethodOptions uninterpretedOption. + * @member {Array.}uninterpretedOption * @memberof google.protobuf.MethodOptions * @instance - * @type {Array.} */ MethodOptions.prototype.uninterpretedOption = $util.emptyArray; /** * Creates a new MethodOptions instance using the specified properties. + * @function create * @memberof google.protobuf.MethodOptions * @static * @param {google.protobuf.IMethodOptions=} [properties] Properties to set @@ -13539,6 +13986,7 @@ $root.google = (function() { /** * Encodes the specified MethodOptions message. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages. + * @function encode * @memberof google.protobuf.MethodOptions * @static * @param {google.protobuf.IMethodOptions} message MethodOptions message or plain object to encode @@ -13560,6 +14008,7 @@ $root.google = (function() { /** * Encodes the specified MethodOptions message, length delimited. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages. + * @function encodeDelimited * @memberof google.protobuf.MethodOptions * @static * @param {google.protobuf.IMethodOptions} message MethodOptions message or plain object to encode @@ -13572,6 +14021,7 @@ $root.google = (function() { /** * Decodes a MethodOptions message from the specified reader or buffer. + * @function decode * @memberof google.protobuf.MethodOptions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -13608,6 +14058,7 @@ $root.google = (function() { /** * Decodes a MethodOptions message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof google.protobuf.MethodOptions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -13623,6 +14074,7 @@ $root.google = (function() { /** * Verifies a MethodOptions message. + * @function verify * @memberof google.protobuf.MethodOptions * @static * @param {Object.} message Plain object to verify @@ -13657,6 +14109,7 @@ $root.google = (function() { /** * Creates a MethodOptions message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof google.protobuf.MethodOptions * @static * @param {Object.} object Plain object @@ -13697,6 +14150,7 @@ $root.google = (function() { /** * Creates a plain object from a MethodOptions message. Also converts values to other types if specified. + * @function toObject * @memberof google.protobuf.MethodOptions * @static * @param {google.protobuf.MethodOptions} message MethodOptions @@ -13727,6 +14181,7 @@ $root.google = (function() { /** * Converts this MethodOptions to JSON. + * @function toJSON * @memberof google.protobuf.MethodOptions * @instance * @returns {Object.} JSON object @@ -13785,62 +14240,63 @@ $root.google = (function() { /** * UninterpretedOption name. + * @member {Array.}name * @memberof google.protobuf.UninterpretedOption * @instance - * @type {Array.} */ UninterpretedOption.prototype.name = $util.emptyArray; /** * UninterpretedOption identifierValue. + * @member {string}identifierValue * @memberof google.protobuf.UninterpretedOption * @instance - * @type {string} */ UninterpretedOption.prototype.identifierValue = ""; /** * UninterpretedOption positiveIntValue. + * @member {number|Long}positiveIntValue * @memberof google.protobuf.UninterpretedOption * @instance - * @type {number|Long} */ UninterpretedOption.prototype.positiveIntValue = $util.Long ? $util.Long.fromBits(0,0,true) : 0; /** * UninterpretedOption negativeIntValue. + * @member {number|Long}negativeIntValue * @memberof google.protobuf.UninterpretedOption * @instance - * @type {number|Long} */ UninterpretedOption.prototype.negativeIntValue = $util.Long ? $util.Long.fromBits(0,0,false) : 0; /** * UninterpretedOption doubleValue. + * @member {number}doubleValue * @memberof google.protobuf.UninterpretedOption * @instance - * @type {number} */ UninterpretedOption.prototype.doubleValue = 0; /** * UninterpretedOption stringValue. + * @member {Uint8Array}stringValue * @memberof google.protobuf.UninterpretedOption * @instance - * @type {Uint8Array} */ UninterpretedOption.prototype.stringValue = $util.newBuffer([]); /** * UninterpretedOption aggregateValue. + * @member {string}aggregateValue * @memberof google.protobuf.UninterpretedOption * @instance - * @type {string} */ UninterpretedOption.prototype.aggregateValue = ""; /** * Creates a new UninterpretedOption instance using the specified properties. + * @function create * @memberof google.protobuf.UninterpretedOption * @static * @param {google.protobuf.IUninterpretedOption=} [properties] Properties to set @@ -13852,6 +14308,7 @@ $root.google = (function() { /** * Encodes the specified UninterpretedOption message. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages. + * @function encode * @memberof google.protobuf.UninterpretedOption * @static * @param {google.protobuf.IUninterpretedOption} message UninterpretedOption message or plain object to encode @@ -13881,6 +14338,7 @@ $root.google = (function() { /** * Encodes the specified UninterpretedOption message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages. + * @function encodeDelimited * @memberof google.protobuf.UninterpretedOption * @static * @param {google.protobuf.IUninterpretedOption} message UninterpretedOption message or plain object to encode @@ -13893,6 +14351,7 @@ $root.google = (function() { /** * Decodes an UninterpretedOption message from the specified reader or buffer. + * @function decode * @memberof google.protobuf.UninterpretedOption * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -13941,6 +14400,7 @@ $root.google = (function() { /** * Decodes an UninterpretedOption message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof google.protobuf.UninterpretedOption * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -13956,6 +14416,7 @@ $root.google = (function() { /** * Verifies an UninterpretedOption message. + * @function verify * @memberof google.protobuf.UninterpretedOption * @static * @param {Object.} message Plain object to verify @@ -13996,6 +14457,7 @@ $root.google = (function() { /** * Creates an UninterpretedOption message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof google.protobuf.UninterpretedOption * @static * @param {Object.} object Plain object @@ -14049,6 +14511,7 @@ $root.google = (function() { /** * Creates a plain object from an UninterpretedOption message. Also converts values to other types if specified. + * @function toObject * @memberof google.protobuf.UninterpretedOption * @static * @param {google.protobuf.UninterpretedOption} message UninterpretedOption @@ -14105,6 +14568,7 @@ $root.google = (function() { /** * Converts this UninterpretedOption to JSON. + * @function toJSON * @memberof google.protobuf.UninterpretedOption * @instance * @returns {Object.} JSON object @@ -14139,22 +14603,23 @@ $root.google = (function() { /** * NamePart namePart. + * @member {string}namePart * @memberof google.protobuf.UninterpretedOption.NamePart * @instance - * @type {string} */ NamePart.prototype.namePart = ""; /** * NamePart isExtension. + * @member {boolean}isExtension * @memberof google.protobuf.UninterpretedOption.NamePart * @instance - * @type {boolean} */ NamePart.prototype.isExtension = false; /** * Creates a new NamePart instance using the specified properties. + * @function create * @memberof google.protobuf.UninterpretedOption.NamePart * @static * @param {google.protobuf.UninterpretedOption.INamePart=} [properties] Properties to set @@ -14166,6 +14631,7 @@ $root.google = (function() { /** * Encodes the specified NamePart message. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages. + * @function encode * @memberof google.protobuf.UninterpretedOption.NamePart * @static * @param {google.protobuf.UninterpretedOption.INamePart} message NamePart message or plain object to encode @@ -14182,6 +14648,7 @@ $root.google = (function() { /** * Encodes the specified NamePart message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages. + * @function encodeDelimited * @memberof google.protobuf.UninterpretedOption.NamePart * @static * @param {google.protobuf.UninterpretedOption.INamePart} message NamePart message or plain object to encode @@ -14194,6 +14661,7 @@ $root.google = (function() { /** * Decodes a NamePart message from the specified reader or buffer. + * @function decode * @memberof google.protobuf.UninterpretedOption.NamePart * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -14229,6 +14697,7 @@ $root.google = (function() { /** * Decodes a NamePart message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof google.protobuf.UninterpretedOption.NamePart * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -14244,6 +14713,7 @@ $root.google = (function() { /** * Verifies a NamePart message. + * @function verify * @memberof google.protobuf.UninterpretedOption.NamePart * @static * @param {Object.} message Plain object to verify @@ -14261,6 +14731,7 @@ $root.google = (function() { /** * Creates a NamePart message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof google.protobuf.UninterpretedOption.NamePart * @static * @param {Object.} object Plain object @@ -14279,6 +14750,7 @@ $root.google = (function() { /** * Creates a plain object from a NamePart message. Also converts values to other types if specified. + * @function toObject * @memberof google.protobuf.UninterpretedOption.NamePart * @static * @param {google.protobuf.UninterpretedOption.NamePart} message NamePart @@ -14302,6 +14774,7 @@ $root.google = (function() { /** * Converts this NamePart to JSON. + * @function toJSON * @memberof google.protobuf.UninterpretedOption.NamePart * @instance * @returns {Object.} JSON object @@ -14342,14 +14815,15 @@ $root.google = (function() { /** * SourceCodeInfo location. + * @member {Array.}location * @memberof google.protobuf.SourceCodeInfo * @instance - * @type {Array.} */ SourceCodeInfo.prototype.location = $util.emptyArray; /** * Creates a new SourceCodeInfo instance using the specified properties. + * @function create * @memberof google.protobuf.SourceCodeInfo * @static * @param {google.protobuf.ISourceCodeInfo=} [properties] Properties to set @@ -14361,6 +14835,7 @@ $root.google = (function() { /** * Encodes the specified SourceCodeInfo message. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages. + * @function encode * @memberof google.protobuf.SourceCodeInfo * @static * @param {google.protobuf.ISourceCodeInfo} message SourceCodeInfo message or plain object to encode @@ -14378,6 +14853,7 @@ $root.google = (function() { /** * Encodes the specified SourceCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages. + * @function encodeDelimited * @memberof google.protobuf.SourceCodeInfo * @static * @param {google.protobuf.ISourceCodeInfo} message SourceCodeInfo message or plain object to encode @@ -14390,6 +14866,7 @@ $root.google = (function() { /** * Decodes a SourceCodeInfo message from the specified reader or buffer. + * @function decode * @memberof google.protobuf.SourceCodeInfo * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -14420,6 +14897,7 @@ $root.google = (function() { /** * Decodes a SourceCodeInfo message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof google.protobuf.SourceCodeInfo * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -14435,6 +14913,7 @@ $root.google = (function() { /** * Verifies a SourceCodeInfo message. + * @function verify * @memberof google.protobuf.SourceCodeInfo * @static * @param {Object.} message Plain object to verify @@ -14457,6 +14936,7 @@ $root.google = (function() { /** * Creates a SourceCodeInfo message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof google.protobuf.SourceCodeInfo * @static * @param {Object.} object Plain object @@ -14481,6 +14961,7 @@ $root.google = (function() { /** * Creates a plain object from a SourceCodeInfo message. Also converts values to other types if specified. + * @function toObject * @memberof google.protobuf.SourceCodeInfo * @static * @param {google.protobuf.SourceCodeInfo} message SourceCodeInfo @@ -14503,6 +14984,7 @@ $root.google = (function() { /** * Converts this SourceCodeInfo to JSON. + * @function toJSON * @memberof google.protobuf.SourceCodeInfo * @instance * @returns {Object.} JSON object @@ -14543,46 +15025,47 @@ $root.google = (function() { /** * Location path. + * @member {Array.}path * @memberof google.protobuf.SourceCodeInfo.Location * @instance - * @type {Array.} */ Location.prototype.path = $util.emptyArray; /** * Location span. + * @member {Array.}span * @memberof google.protobuf.SourceCodeInfo.Location * @instance - * @type {Array.} */ Location.prototype.span = $util.emptyArray; /** * Location leadingComments. + * @member {string}leadingComments * @memberof google.protobuf.SourceCodeInfo.Location * @instance - * @type {string} */ Location.prototype.leadingComments = ""; /** * Location trailingComments. + * @member {string}trailingComments * @memberof google.protobuf.SourceCodeInfo.Location * @instance - * @type {string} */ Location.prototype.trailingComments = ""; /** * Location leadingDetachedComments. + * @member {Array.}leadingDetachedComments * @memberof google.protobuf.SourceCodeInfo.Location * @instance - * @type {Array.} */ Location.prototype.leadingDetachedComments = $util.emptyArray; /** * Creates a new Location instance using the specified properties. + * @function create * @memberof google.protobuf.SourceCodeInfo.Location * @static * @param {google.protobuf.SourceCodeInfo.ILocation=} [properties] Properties to set @@ -14594,6 +15077,7 @@ $root.google = (function() { /** * Encodes the specified Location message. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages. + * @function encode * @memberof google.protobuf.SourceCodeInfo.Location * @static * @param {google.protobuf.SourceCodeInfo.ILocation} message Location message or plain object to encode @@ -14627,6 +15111,7 @@ $root.google = (function() { /** * Encodes the specified Location message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages. + * @function encodeDelimited * @memberof google.protobuf.SourceCodeInfo.Location * @static * @param {google.protobuf.SourceCodeInfo.ILocation} message Location message or plain object to encode @@ -14639,6 +15124,7 @@ $root.google = (function() { /** * Decodes a Location message from the specified reader or buffer. + * @function decode * @memberof google.protobuf.SourceCodeInfo.Location * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -14695,6 +15181,7 @@ $root.google = (function() { /** * Decodes a Location message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof google.protobuf.SourceCodeInfo.Location * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -14710,6 +15197,7 @@ $root.google = (function() { /** * Verifies a Location message. + * @function verify * @memberof google.protobuf.SourceCodeInfo.Location * @static * @param {Object.} message Plain object to verify @@ -14750,6 +15238,7 @@ $root.google = (function() { /** * Creates a Location message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof google.protobuf.SourceCodeInfo.Location * @static * @param {Object.} object Plain object @@ -14789,6 +15278,7 @@ $root.google = (function() { /** * Creates a plain object from a Location message. Also converts values to other types if specified. + * @function toObject * @memberof google.protobuf.SourceCodeInfo.Location * @static * @param {google.protobuf.SourceCodeInfo.Location} message Location @@ -14832,6 +15322,7 @@ $root.google = (function() { /** * Converts this Location to JSON. + * @function toJSON * @memberof google.protobuf.SourceCodeInfo.Location * @instance * @returns {Object.} JSON object @@ -14872,14 +15363,15 @@ $root.google = (function() { /** * GeneratedCodeInfo annotation. + * @member {Array.}annotation * @memberof google.protobuf.GeneratedCodeInfo * @instance - * @type {Array.} */ GeneratedCodeInfo.prototype.annotation = $util.emptyArray; /** * Creates a new GeneratedCodeInfo instance using the specified properties. + * @function create * @memberof google.protobuf.GeneratedCodeInfo * @static * @param {google.protobuf.IGeneratedCodeInfo=} [properties] Properties to set @@ -14891,6 +15383,7 @@ $root.google = (function() { /** * Encodes the specified GeneratedCodeInfo message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages. + * @function encode * @memberof google.protobuf.GeneratedCodeInfo * @static * @param {google.protobuf.IGeneratedCodeInfo} message GeneratedCodeInfo message or plain object to encode @@ -14908,6 +15401,7 @@ $root.google = (function() { /** * Encodes the specified GeneratedCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages. + * @function encodeDelimited * @memberof google.protobuf.GeneratedCodeInfo * @static * @param {google.protobuf.IGeneratedCodeInfo} message GeneratedCodeInfo message or plain object to encode @@ -14920,6 +15414,7 @@ $root.google = (function() { /** * Decodes a GeneratedCodeInfo message from the specified reader or buffer. + * @function decode * @memberof google.protobuf.GeneratedCodeInfo * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -14950,6 +15445,7 @@ $root.google = (function() { /** * Decodes a GeneratedCodeInfo message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof google.protobuf.GeneratedCodeInfo * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -14965,6 +15461,7 @@ $root.google = (function() { /** * Verifies a GeneratedCodeInfo message. + * @function verify * @memberof google.protobuf.GeneratedCodeInfo * @static * @param {Object.} message Plain object to verify @@ -14987,6 +15484,7 @@ $root.google = (function() { /** * Creates a GeneratedCodeInfo message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof google.protobuf.GeneratedCodeInfo * @static * @param {Object.} object Plain object @@ -15011,6 +15509,7 @@ $root.google = (function() { /** * Creates a plain object from a GeneratedCodeInfo message. Also converts values to other types if specified. + * @function toObject * @memberof google.protobuf.GeneratedCodeInfo * @static * @param {google.protobuf.GeneratedCodeInfo} message GeneratedCodeInfo @@ -15033,6 +15532,7 @@ $root.google = (function() { /** * Converts this GeneratedCodeInfo to JSON. + * @function toJSON * @memberof google.protobuf.GeneratedCodeInfo * @instance * @returns {Object.} JSON object @@ -15070,38 +15570,39 @@ $root.google = (function() { /** * Annotation path. + * @member {Array.}path * @memberof google.protobuf.GeneratedCodeInfo.Annotation * @instance - * @type {Array.} */ Annotation.prototype.path = $util.emptyArray; /** * Annotation sourceFile. + * @member {string}sourceFile * @memberof google.protobuf.GeneratedCodeInfo.Annotation * @instance - * @type {string} */ Annotation.prototype.sourceFile = ""; /** * Annotation begin. + * @member {number}begin * @memberof google.protobuf.GeneratedCodeInfo.Annotation * @instance - * @type {number} */ Annotation.prototype.begin = 0; /** * Annotation end. + * @member {number}end * @memberof google.protobuf.GeneratedCodeInfo.Annotation * @instance - * @type {number} */ Annotation.prototype.end = 0; /** * Creates a new Annotation instance using the specified properties. + * @function create * @memberof google.protobuf.GeneratedCodeInfo.Annotation * @static * @param {google.protobuf.GeneratedCodeInfo.IAnnotation=} [properties] Properties to set @@ -15113,6 +15614,7 @@ $root.google = (function() { /** * Encodes the specified Annotation message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages. + * @function encode * @memberof google.protobuf.GeneratedCodeInfo.Annotation * @static * @param {google.protobuf.GeneratedCodeInfo.IAnnotation} message Annotation message or plain object to encode @@ -15139,6 +15641,7 @@ $root.google = (function() { /** * Encodes the specified Annotation message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages. + * @function encodeDelimited * @memberof google.protobuf.GeneratedCodeInfo.Annotation * @static * @param {google.protobuf.GeneratedCodeInfo.IAnnotation} message Annotation message or plain object to encode @@ -15151,6 +15654,7 @@ $root.google = (function() { /** * Decodes an Annotation message from the specified reader or buffer. + * @function decode * @memberof google.protobuf.GeneratedCodeInfo.Annotation * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -15195,6 +15699,7 @@ $root.google = (function() { /** * Decodes an Annotation message from the specified reader or buffer, length delimited. + * @function decodeDelimited * @memberof google.protobuf.GeneratedCodeInfo.Annotation * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from @@ -15210,6 +15715,7 @@ $root.google = (function() { /** * Verifies an Annotation message. + * @function verify * @memberof google.protobuf.GeneratedCodeInfo.Annotation * @static * @param {Object.} message Plain object to verify @@ -15239,6 +15745,7 @@ $root.google = (function() { /** * Creates an Annotation message from a plain object. Also converts values to their respective internal types. + * @function fromObject * @memberof google.protobuf.GeneratedCodeInfo.Annotation * @static * @param {Object.} object Plain object @@ -15266,6 +15773,7 @@ $root.google = (function() { /** * Creates a plain object from an Annotation message. Also converts values to other types if specified. + * @function toObject * @memberof google.protobuf.GeneratedCodeInfo.Annotation * @static * @param {google.protobuf.GeneratedCodeInfo.Annotation} message Annotation @@ -15299,6 +15807,7 @@ $root.google = (function() { /** * Converts this Annotation to JSON. + * @function toJSON * @memberof google.protobuf.GeneratedCodeInfo.Annotation * @instance * @returns {Object.} JSON object